SQLite

All files named "ext/misc/spellfix.c"
Login

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

History for ext/misc/spellfix.c

2023-10-06
12:51
[c0aa7b80] part of check-in [f3b3d712] Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings. (check-in: [f3b3d712] user: drh branch: trunk, size: 103530)
2020-07-29
16:18
[13b9c5ea] part of check-in [a80ae2c9] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c9] user: drh branch: typos, size: 103310)
2020-01-21
12:29
[94df9bbf] part of check-in [9265cb7f] Fix the series.c and spellfix.c extensions to use SQLITE_VTAB_INNOCUOUS correctly. Fix the documentation on sqlite3_vtab_config() to take into account SQLITE_VTAB_INNOCUOUS and SQLITE_VTAB_DIRECTONLY. (check-in: [9265cb7f] user: drh branch: trunk, size: 103310)
2020-01-07
19:45
[5cb7e187] part of check-in [4c21373c] Create the "trusted_schema" pragma. Add sqlite3_vtab_config() calls to set the risk rank for many virtual tables. (check-in: [4c21373c] user: drh branch: new-security-options, size: 103305)
2018-09-26
16:05
[f88ecb2c] part of check-in [cbaf5b6c] Tweak spellfix.c so that if SQLITE_SPELLFIX_5BYTE_MAPPINGS is defined at compile time the Transliteration structure has space for 5 byte (instead of 4 byte) mappings. (check-in: [cbaf5b6c] user: dan branch: trunk, size: 103256)
2018-03-30
16:34
[54d650f4] part of check-in [3bf28fd9] Fix a bug in the spellfix extension causing it to compute suboptimal answers. The problem was introduced by check-in [afd6fbc01052ccfc9]. (check-in: [3bf28fd9] user: drh branch: trunk, size: 102903)
15:59
[28faad8b] part of check-in [5c34af7b] Fix an off-by-one error in the dist3 algorithm of the spellfix extension. (check-in: [5c34af7b] user: drh branch: trunk, size: 102842)
2018-02-15
03:56
[b3a64428] part of check-in [dc734c5b] Improve performance of editdist3() by keeping the costs in sorted order. Also add a new regression test to editdist3(). (check-in: [dc734c5b] user: drh branch: trunk, size: 102842)
03:05
[ad435d8d] part of check-in [afd6fbc0] Reduce the number of calls to strncmp() required to run editDist3Core(). (check-in: [afd6fbc0] user: drh branch: trunk, size: 101163)
2018-02-14
20:58
[fcf23b07] part of check-in [70d304dc] Performance optimizations to the editdist3() function in the spellfix extension. (check-in: [70d304dc] user: drh branch: trunk, size: 101055)
20:25
[bb73be37] part of check-in [3c53ee0f] Disable assert() in the spellfix extension if not compiled with SQLITE_DEBUG. (check-in: [3c53ee0f] user: drh branch: trunk, size: 101079)
14:13
[efe188bd] part of check-in [b76ec7cb] Try to optimize spellfix1 by storing a NULL in the k1 column of %_vocab if it would otherwise have the same value as the word column. (check-in: [b76ec7cb] user: drh branch: trunk, size: 100934)
2018-01-24
18:28
[705ce1ed] part of check-in [090a64fa] Reorganize spellfix.c to make it easier to edit automatically (e.g. using a script). No changes to functionality. (check-in: [090a64fa] user: dan branch: trunk, size: 100865)
2017-11-03
08:46
[41cf26c6] part of check-in [29ec855e] The extensions functions in spellfix are all deterministic. (check-in: [29ec855e] user: drh branch: trunk, size: 95867)
2016-07-28
04:14
[a4723b6a] part of check-in [02b8040e] Work in progress on setting a calling convention for all callback functions. (check-in: [02b8040e] user: mistachkin branch: callbackConv, size: 95561)
2016-04-12
20:05
[bf1b922c] part of check-in [ab69527c] More harmless compiler warning fixes. (check-in: [ab69527c] user: mistachkin branch: warnings, size: 95548)
2016-03-11
14:30
[598bbc45] part of check-in [df44308b] Update spellfix1_scriptcode() to output 215 (latin) for pure numeric text. (check-in: [df44308b] user: drh branch: trunk, size: 95484)
2016-03-03
15:16
[194b5fc3] part of check-in [b1258814] Increase the default upper bound on scope to 30. (check-in: [b1258814] user: drh branch: branch-3.11, size: 95324)
2016-02-04
11:15
[52519048] part of check-in [634d008c] Use sqlite3_malloc64() instead of sqlite3_malloc() in the spellfix extension. (check-in: [634d008c] user: drh branch: trunk, size: 95323)
2016-01-23
22:55
[db4cc4b7] part of check-in [dd0100dd] Add the SQLITE_SPELLFIX_STACKALLOC_SZ compile-time option to control how much stack space is available for use as the Wagner matrix in editDest3 of the spellfix extension. (check-in: [dd0100dd] user: drh branch: trunk, size: 95293)
18:24
[5850a0e0] part of check-in [dfcebc73] Changes to spellfix to try to get it to use stack space instead of heap space in cases where that makes sense. (check-in: [dfcebc73] user: drh branch: trunk, size: 94865)
2015-12-17
14:18
[df6efb90] part of check-in [7adfa4a5] Fix the spellfix1_scriptcode() function to ignore whitespace and punctuation, and to recognize hebrew and arabic scripts. (check-in: [7adfa4a5] user: drh branch: trunk, size: 94658)
2015-10-29
13:48
[b9065af7] part of check-in [34eb6911] Fix uses of ctype functions (ex: isspace()) on signed characters in test programs and in some obscure extensions. No changes to the core. (check-in: [34eb6911] user: drh branch: trunk, size: 94302)
2015-08-05
15:29
[86998fb7] part of check-in [08888383] Update the spellfix virtual table extension so that an explicit "top = ?" constraint works even if there is also a "distance < ?" or "distance <= ?" constraint. (check-in: [08888383] user: dan branch: trunk, size: 94287)
2015-06-24
17:21
[de9181ec] part of check-in [1d04def7] Add "ON CONFLICT" handling to the spellfix module. (check-in: [1d04def7] user: dan branch: spellfix-constraints, size: 93057)
2015-01-12
19:59
[25810dda] part of check-in [44375a34] Silence some harmless uninitialized local variable warnings. (check-in: [44375a34] user: mistachkin branch: msvcW4, size: 92164)
2014-08-22
11:11
[56739fab] part of check-in [369c480c] Enhance the spellfix extension with the ability to specify a rowid when inserting new rows. (check-in: [369c480c] user: drh branch: trunk, size: 92164)
2014-07-22
16:00
[cb016c2d] part of check-in [438c348a] Fix the index name for the shadow tables in the spellfix1 extension so that multiple instances of the spellfix1 virtual table can each have their own index. (check-in: [438c348a] user: drh branch: trunk, size: 91764)
2014-03-05
19:36
[93f39610] part of check-in [bfd75f47] Always include the ctype.h header in the spellfix.c extension. (check-in: [bfd75f47] user: drh branch: trunk, size: 91743)
2014-02-06
13:18
[3548c433] part of check-in [5219cdfc] Change the spellfix1 virtual table to deterministically names its shadow tables. (check-in: [5219cdfc] user: drh branch: trunk, size: 91744)
2014-01-22
17:43
[adfc569f] part of check-in [a0ba55ff] Update the spellfix virtual table to optimize queries of the form "SELECT ... FROM tbl WHERE rowid=?". (check-in: [a0ba55ff] user: dan branch: trunk, size: 91801)
2013-11-12
01:11
[76578f2c] part of check-in [b896ae3d] Fix an error message in the spellfix extension so that it conforms to the style of error messages in the core. (check-in: [b896ae3d] user: drh branch: trunk, size: 91066)
2013-07-09
15:56
[5e1d547e] part of check-in [f003bea9] Adjust the costs in the xBestIndex function of the spellfix1 virtual table to force the use of the MATCH term if it is available. (check-in: [f003bea9] user: drh branch: trunk, size: 91054)
2013-05-15
18:34
[6d7ce610] part of check-in [00231fb0] Fixes to allow testfixture to be compiled with SQLITE_OMIT_VIRTUAL_TABLE defined. (check-in: [00231fb0] user: dan branch: trunk, size: 91076)
2013-04-27
18:06
[f9d24a2b] part of check-in [adcf7890] Remove spellfix virtual table documentation from the source tree. Reference the separate documentation on the website instead. (check-in: [adcf7890] user: drh branch: trunk, size: 90943)
2013-04-25
19:31
[e323eebb] part of check-in [56b9a417] Added the nextchar.c extension. Minor changes to the spellfix.c extension so that it can be appended to an amalgamation and compiled without duplicating symbols. (check-in: [56b9a417] user: drh branch: trunk, size: 90946)
14:59
Renamed src/test_spellfix.c → ext/misc/spellfix.c. [8bb69911] part of check-in [de556add] Move the test_spellfix.c module to ext/misc/spellfix.c. (check-in: [de556add] user: drh branch: std-ext, size: 90900)