danielk1977
0ba87cb85d
Refactor the space-analysis script for readability. (CVS 2081)
...
FossilOrigin-Name: 63f2ee22e20ed7e520fd9230acc5c6db43b69d13
2004-11-09 07:42:11 +00:00
danielk1977
16254450f4
Update the space-analyzer tool to support auto-vacuum databases. (CVS 2080)
...
FossilOrigin-Name: 1cb8086612c7dec170da0910cf0cbe4e48c417f8
2004-11-08 16:15:09 +00:00
drh
6bf895708c
Update tests to work even if some features of the library are disabled. (CVS 2050)
...
FossilOrigin-Name: b11fc9b3f3a2711f98e7e45724aa1d30081197f3
2004-11-03 16:27:01 +00:00
drh
52fb6d71f5
The makefile now runs mkkeywordhash.c. Keywords that are unused are
...
omitted from the keyword hash table. (CVS 2045)
FossilOrigin-Name: 007aec11333432e08d1091b728773011e9078bc3
2004-11-03 03:59:57 +00:00
drh
40f20f7d2a
Tighter encoding of the keyword hash table in the tokenizer. (CVS 2028)
...
FossilOrigin-Name: 7b9886f8d4db366bc7dbf25495f0d3b907d25689
2004-10-23 05:10:18 +00:00
drh
2090a0ed48
Optimizations to the tokenizer. (CVS 2011)
...
FossilOrigin-Name: e5540ce047e0215904005bc9df4ff0d1d0a3c1d1
2004-10-07 19:03:01 +00:00
drh
5719628afb
Convert many constants to have type "const". (CVS 2006)
...
FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
2004-10-06 15:41:16 +00:00
drh
2aa6ca45c1
In lemon, allows open() using the "b" option to avoid \r problems on windows.
...
Ticket #897 . (CVS 1956)
FossilOrigin-Name: b5b2e3db09831fe808f9f2692a836eef716df1c5
2004-09-10 00:14:04 +00:00
drh
9db55dfb98
Fix lemon so that inserted code always ends in a newline. Ticket #895 . (CVS 1955)
...
FossilOrigin-Name: 13fba17e3f75c08142db6acc8884a78ac0bcdfd6
2004-09-09 14:01:21 +00:00
drh
af805ca035
Lemon escapes backslashes in filenames in #line directives it generates.
...
Ticket #892 . (CVS 1943)
FossilOrigin-Name: d53047cbbc4e618c7bb5161b6f82876bb113db25
2004-09-07 11:28:25 +00:00
drh
7f4680c92e
Remove the \001 character that lemon inserts automatically in its
...
output file. The need for this character has expired and it creates
confusion for users. Ticket #877 (CVS 1920)
FossilOrigin-Name: acfc59186ac7452c0a74dc4ef8df9a1c94fc4f46
2004-08-30 14:22:31 +00:00
drh
7ac25c7510
Enhance lemon so that a @X instead of just X in the code expands to the
...
major token value rather than the minor token value. Use this to make
the parser a few hundred bytes smaller. (CVS 1895)
FossilOrigin-Name: 28215096e0748b5b02776ddb4c964e0161bc0f16
2004-08-19 15:12:26 +00:00
drh
3e27c02625
First cut at a analysis tool for version 3.0 databases. (CVS 1862)
...
FossilOrigin-Name: 7c7f698b2eda7b1b34f5ca7fe104145d8bbd8f56
2004-07-23 00:01:38 +00:00
drh
0bb132bedc
Lemon collapses common destructors and reduce actions into a single case. (CVS 1837)
...
FossilOrigin-Name: 3c5aa850eeec5c75c5200a3707852cc5fc9e780b
2004-07-20 14:06:51 +00:00
drh
6d08b4d647
Add the '%ifdef' capability to lemon. Other minor changes. (CVS 1836)
...
FossilOrigin-Name: 522ff721ccc33c4b89072fed4e451f0df82e8140
2004-07-20 12:45:22 +00:00
danielk1977
eac7a362f6
Fix two more memory leaks. (CVS 1603)
...
FossilOrigin-Name: 98b48704a1ce983677cdb269c24f7bca4ed606f7
2004-06-16 07:45:24 +00:00
drh
218dc69436
Synchronize lemon.c to the version on the 2.8 branch. (CVS 1513)
...
FossilOrigin-Name: 6ab3af8847a7b0f1508824c9d8e0ec9685219371
2004-05-31 23:13:45 +00:00
drh
cc83b6e071
Add an extra assert() to lemon.c to make debugging easier. Ticket #692 . (CVS 1305)
...
FossilOrigin-Name: 818bdba5dc25cda56716fdda1781a3d4ecb3a111
2004-04-23 23:38:42 +00:00
drh
60d316542f
Do not sort terminal symbols by name. The terminals remain in the same order
...
that they are encountered in the grammar file. This results in parse tables
that are 25% smaller. (CVS 1261)
FossilOrigin-Name: f36b122d9767fa9e6dc5bcce04b5606d67cad3d9
2004-02-22 00:08:04 +00:00
drh
784d86f716
Fix a bug in the parser table compression algorithm of lemon. (CVS 1249)
...
FossilOrigin-Name: 8d3e924975681a871e0eeac3b6a62cffdb947ac7
2004-02-19 18:41:53 +00:00
drh
240c5795d5
Preliminary fix for ticket #599 . More testing and analysis needed. (CVS 1208)
...
FossilOrigin-Name: dc5be2c82b591a385adf02863d89e113272e2ebd
2004-02-08 00:40:52 +00:00
drh
6810ce677d
Rework internal data structures to make the VDBE about 15% smaller. (CVS 1203)
...
FossilOrigin-Name: 8273c74bd09d1a044cb5154498b0a39939f6e3ed
2004-01-31 19:22:56 +00:00
drh
3ddfdf7ac6
Optimizations to the LEMON parser template. (CVS 1143)
...
FossilOrigin-Name: 06db29df8f0c1cd29e696537e622f0c5456056f5
2003-12-22 14:53:19 +00:00
drh
8548a059ff
Comment changes to the lemon parser template. Change some sqliteMalloc() calls
...
to sqliteMallocRaw() for speed. Update the website template. (CVS 1114)
FossilOrigin-Name: c637caf13f579959ecdb6b134d0114e8efbcac60
2003-10-22 22:15:27 +00:00
drh
fdbf928b08
Fix bugs in lemon associated with the change to a perfect hash table. (CVS 1113)
...
FossilOrigin-Name: c0d1b26966aeb445fea5792e5a9e93632e758c2a
2003-10-21 16:34:41 +00:00
drh
8b582012de
Convert lemon to use a single perfect hash table for storing the actions.
...
This should make the resulting parser both smaller and faster. (CVS 1112)
FossilOrigin-Name: 4f955c00076b16166ff837749efb84201eab3c3a
2003-10-21 13:16:03 +00:00
drh
dc339ee29c
The prior fix of ticket #360 was incorrect and caused a memory leak. This
...
check-in plugs the memory leak and correctly fixes ticket #360 . (CVS 1040)
FossilOrigin-Name: fc490f677b89e623b41f9e7f5f3bade9b981562c
2003-06-29 20:25:08 +00:00
drh
3b2129cf77
A change to lemon related to ticket #313 . (CVS 972)
...
FossilOrigin-Name: b59d9033d5556015543ac5ca23110ccbeb4391f0
2003-05-13 00:34:21 +00:00
drh
b5a20d3ceb
Remove the begin_hook and commit_hook APIs. They were a bad idea. Add a
...
"trace" method to the TCL interface. (CVS 929)
FossilOrigin-Name: 6289b863590ecc5de3d1efaaa60aa6f3f64fefb3
2003-04-23 12:25:23 +00:00
drh
f9a2e7bb8d
Change lemon to use <stdarg.h> instead of <varargs.h> because GCC no longer
...
supports varargs.h. Tickets #288 and #280 . Ironically, lemon originally
used varargs.h because stdarg.h was not supported by the compiler I was
using in 1989 (which was gcc if I recall correctly.) (CVS 905)
FossilOrigin-Name: 7902e4778ec86e25ad949ae7a6d55b63ac0e85f3
2003-04-15 01:49:48 +00:00
drh
86bc1c8273
Add the "space_used.tcl" script to the tools directory. This script is used
...
to measure how much disk space is used by each table and index of a database. (CVS 789)
FossilOrigin-Name: 83b2c27a568cd67cd5162d513766b23ff9fc2227
2002-11-24 14:52:27 +00:00
drh
8f619ccd3c
Modify the build process so that the VDBE opcode numbers and the table
...
that contains the opcode names are both automatically generated. This makes
it much easier to create new VDBE opcodes. (CVS 746)
FossilOrigin-Name: eb54d455b0325d3be96daf6c220c4ee3e0da1a85
2002-09-08 00:04:50 +00:00
drh
d94a669894
Fix the memory leak introduced by check-in (725). (CVS 726)
...
FossilOrigin-Name: b957dafc26383af514795df18bc7b8f367c9bd21
2002-08-25 18:29:11 +00:00
drh
b27b83a941
Fix for ticket #134 : Change the lemon.c sources to work around a problem with
...
the AIX C compiler. (CVS 715)
FossilOrigin-Name: 07f6020bb56d6d1bffdd936017f61cfae5bd134b
2002-08-14 23:18:57 +00:00
drh
0de8c11292
Prepare for the 2.5.5 release. (CVS 661)
...
FossilOrigin-Name: 00f83c2576f4a9689720d344788f66219c1f6827
2002-07-06 16:32:14 +00:00
drh
0bd1f4ea5a
Added the %fallback directive to the lemon parser generator and used this
...
in the parser to make the parse tables much smaller. This reduced the size
of the library by 15K. (CVS 605)
FossilOrigin-Name: 7ac5bd293cbb2bf252f31f1571f7efac7e77280a
2002-06-06 18:54:39 +00:00
drh
4d908a3b43
Update the misuse.test script so that it will work under Windows. Changes
...
to the speed testing script to support version 2.4.12. (CVS 560)
FossilOrigin-Name: 232b7ef2c8207eb6d2564a641446267d3dec97af
2002-05-10 14:37:30 +00:00
drh
0ac6589202
Fix for ticket #1 : Implement the GLOB and LIKE operators as functions that
...
can be overridden. This way, a developer can change the LIKE operator to
be case sensitive, for example. (CVS 537)
FossilOrigin-Name: 51572bf71774d7631c7083be90b806e621bc9bee
2002-04-20 14:24:41 +00:00
drh
1f245e488a
Change the way that lemon handles %extra_argument. (CVS 427)
...
FossilOrigin-Name: ffc387a48a9864b7f323314fbf8295b5bb2a3bd1
2002-03-11 13:55:50 +00:00
drh
7218ac7098
Bug fix: updates within a transaction would fail if there was existed
...
a temporary table. (CVS 425)
FossilOrigin-Name: 02cc2d60b2a5ee50efdbd90df90810ba559a453f
2002-03-10 21:21:00 +00:00
drh
cd61c2816f
Added the default_cache_size and default_synchronous pragmas. Added additional
...
tests for pragmas. Added a new speedtest script. (CVS 421)
FossilOrigin-Name: 161c0c5f5db66815e4345c9b5f7a600c03a67475
2002-03-06 22:01:34 +00:00
drh
e684090012
Optimizations to the processing of integer comparisons. (CVS 420)
...
FossilOrigin-Name: b7a7dae919be0e4c35b1fe8cb24fa7359a4b1200
2002-03-06 03:08:25 +00:00
drh
4b845d7ef4
Change the pager locking mechanism so that we don't have to write page 1
...
to the journal and to the database unless it actually changes. (CVS 419)
FossilOrigin-Name: 480eef1a3a4f049bc0d0cbee32dc8a8d138597c6
2002-03-05 12:41:19 +00:00
drh
603240cf5d
Add the ability to turn of calls to fsync() using the "synchronous" pragma.
...
Increased the default cache size from 100 to 2000 and made the "cache_size"
pragma persistent. (CVS 418)
FossilOrigin-Name: 414da4af1f4aebc3936ca339fbc7932add081912
2002-03-05 01:11:12 +00:00
drh
1b2e032999
Bug fixes and additional tests for the subquery flattener. (CVS 411)
...
FossilOrigin-Name: 2c05389eda391e38894fc6969e29766df82a8fec
2002-03-03 02:49:51 +00:00
drh
b29b0a5227
Modify lemon to use much less memory for its parser tables. This reduces
...
the size of the library by 50K, which is important for an embedded library. (CVS 389)
FossilOrigin-Name: 67a135a051e7c96ddbfe85976539b4b8372c7026
2002-02-23 19:39:46 +00:00
drh
b59499c73b
Bug fix in lemon: 3-way conflicts (SHIFT/REDUCE/REDUCE) were not detected or
...
resolved. This is now fixed. Also, table compression works a little better. (CVS 388)
FossilOrigin-Name: 8da0ac9a8bb859377613dd18f4f423eb49c7338b
2002-02-23 18:45:13 +00:00
drh
ba99af57ac
Make lemon 64-bit clean (CVS 294)
...
FossilOrigin-Name: 475e2fedda2256cc1cfdffa1b12745bc401e552d
2001-10-25 20:37:16 +00:00
drh
6d4abfbee5
More changes for 2.0.7. (CVS 293)
...
FossilOrigin-Name: f8328a5f11801c5124f9a8dace22df3c1cfb2191
2001-10-22 02:58:08 +00:00
drh
b19a2bc603
Disclaimed copyright. Preparing for release 2.0. (CVS 250)
...
FossilOrigin-Name: 4e926efe2b59adfec4086eb1d2ba830238facb4c
2001-09-16 00:13:26 +00:00