Fossil

File History
Login

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

History of src/linenoise.c

2018-01-07
23:45
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. file: [ab8f5fa3] check-in: [24c2b99d] user: drh branch: trunk, size: 39251
2017-12-21
03:12
Update the built-in copy of linenoise to the latest from the GitHub repository (https://github.com/antirez/linenoise) file: [40dc9882] check-in: [6cf508f6] user: drh branch: trunk, size: 39203
2016-11-04
17:35
int/size_t pedantry file: [29ba1458] check-in: [30d96141] user: andygoth branch: trunk, size: 36775
17:25
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. file: [9e999787] check-in: [8133501e] user: andygoth branch: trunk, size: 36767
2015-09-16
09:18
Add some "const" keywords in appropriate places. No change in functionality. Eliminates some compiler warnings. file: [9c1a8a9a] check-in: [a6fd491d] user: jan.nijtmans branch: trunk, size: 35865
2015-07-25
14:53
Adjust the "lndebug()" macro in linenoise so that it works on older compilers that do not support varargs macros. file: [3b1f6691] check-in: [acab077c] user: drh branch: trunk, size: 35854
2015-06-30
15:17
Patch to linenoise.c to get it to compile on SunOS. file: [eb43a181] check-in: [52e1f54b] user: drh branch: trunk, size: 35837
2015-06-19
14:40
Remove ugly and zero-information comment text from linenoise.c. file: [b8a7c4b7] check-in: [7bc11da2] user: drh branch: trunk, size: 35808
2015-06-11
15:20
Build-in Antirez's linenoise library for command-line editing on the "fossil sql" command on unix. file: [67ca136a] check-in: [2d79355f] user: drh branch: linenoise, size: 35826 Added