Fossil

History for src/linenoise.c
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for src/linenoise.c

2018-01-07
23:45
[ab8f5fa3] part of check-in [24c2b99d] Remove varargs C-preprocessor macros from linenoise.c, since some older C compilers (ex: gcc on a circa-2000 iBook) are unable to deal with them. (check-in: [24c2b99d] user: drh branch: trunk, size: 39251)
2017-12-21
03:12
[40dc9882] part of check-in [6cf508f6] Update the built-in copy of linenoise to the latest from the GitHub repository (https://github.com/antirez/linenoise) (check-in: [6cf508f6] user: drh branch: trunk, size: 39203)
2016-11-04
17:35
[29ba1458] part of check-in [30d96141] int/size_t pedantry (check-in: [30d96141] user: andygoth branch: trunk, size: 36775)
17:25
[9e999787] part of check-in [8133501e] Modify linenoise.c so that it can build with -std=c89. Baseline linenoise.c relied on snprintf(), strdup(), and strcasecmp() which are technically not in C89. Since linenoise.c's only purpose (at present) is to implement the SQLite shell, make use of the SQLite compatibility functions. Following this change, "fossil clean -f && CFLAGS='-std=c89 -Wall' ./configure && make" builds without warnings or errors on gcc 4.4.7 20120313 (Red Hat 4.4.7-3) on CentOS release 6.4 (Final). Unrelated note: discovered during testing that "CFLAGS=-Werror ./configure" fails to add -lm to link step due to conflicting types for built-in function "sin" being regarded as an error. (check-in: [8133501e] user: andygoth branch: trunk, size: 36767)
2015-09-16
09:18
[9c1a8a9a] part of check-in [a6fd491d] Add some "const" keywords in appropriate places. No change in functionality. Eliminates some compiler warnings. (check-in: [a6fd491d] user: jan.nijtmans branch: trunk, size: 35865)
2015-07-25
14:53
[3b1f6691] part of check-in [acab077c] Adjust the "lndebug()" macro in linenoise so that it works on older compilers that do not support varargs macros. (check-in: [acab077c] user: drh branch: trunk, size: 35854)
2015-06-30
15:17
[eb43a181] part of check-in [52e1f54b] Patch to linenoise.c to get it to compile on SunOS. (check-in: [52e1f54b] user: drh branch: trunk, size: 35837)
2015-06-19
14:40
[b8a7c4b7] part of check-in [7bc11da2] Remove ugly and zero-information comment text from linenoise.c. (check-in: [7bc11da2] user: drh branch: trunk, size: 35808)
2015-06-11
15:20
[67ca136a] part of check-in [2d79355f] Build-in Antirez's linenoise library for command-line editing on the "fossil sql" command on unix. (check-in: [2d79355f] user: drh branch: linenoise, size: 35826) Added