aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/spellfix.c
Commit message (Collapse)AuthorAge
* Fix the series.c and spellfix.c extensions to use SQLITE_VTAB_INNOCUOUSdrh2020-01-21
| | | | | | correctly. Fix the documentation on sqlite3_vtab_config() to take into account SQLITE_VTAB_INNOCUOUS and SQLITE_VTAB_DIRECTONLY. FossilOrigin-Name: 9265cb7f026c0e959bd034d4cd94fe597744e0dd455d0a20736ee5f5bee880c8
* Create the "trusted_schema" pragma. Add sqlite3_vtab_config() calls to setdrh2020-01-07
| | | | | the risk rank for many virtual tables. FossilOrigin-Name: 4c21373c21c9b17b222ae65297a039a035e6ec6b505c00c33704e3c03f94f834
* Tweak spellfix.c so that if SQLITE_SPELLFIX_5BYTE_MAPPINGS is defined atdan2018-09-26
| | | | | | compile time the Transliteration structure has space for 5 byte (instead of 4 byte) mappings. FossilOrigin-Name: cbaf5b6c1b07b29b2c83fa01618de856d81cc1174769cb9770cb5c894cc87ace
* Fix a bug in the spellfix extension causing it to compute suboptimal answers.drh2018-03-30
| | | | | The problem was introduced by check-in [afd6fbc01052ccfc9]. FossilOrigin-Name: 3bf28fd9a70ebefc464dceda124d6ed342dd83f71eeeb0568f79e34e731a073e
* Fix an off-by-one error in the dist3 algorithm of the spellfix extension.drh2018-03-30
| | | FossilOrigin-Name: 5c34af7b975598bbe20751dfdd346f43031cb2bcb6b78f1bbdb2b51b398de182
* Improve performance of editdist3() by keeping the costs in sorted order.drh2018-02-15
| | | | | Also add a new regression test to editdist3(). FossilOrigin-Name: dc734c5b61464dfd6bfa7963f2ecce32e405a0c2ba1ef6f453ec9389da080256
* Reduce the number of calls to strncmp() required to run editDist3Core().drh2018-02-15
| | | FossilOrigin-Name: afd6fbc01052ccfc9bd29fb8f934b291b8f56af44fcae870da7e1355fe95c29a
* Performance optimizations to the editdist3() function in the spellfixdrh2018-02-14
| | | | | extension. FossilOrigin-Name: 70d304dcbac4c3fd5e3b96108bffea2ce6c0db19c847397d5c5e268bb90a981d
* Disable assert() in the spellfix extension if not compiled with SQLITE_DEBUG.drh2018-02-14
| | | FossilOrigin-Name: 3c53ee0fdea4cbf2590e2b289b021b0ef8b7ead2945db1bdfc767432d9447acb
* Try to optimize spellfix1 by storing a NULL in the k1 column of %_vocabdrh2018-02-14
| | | | | if it would otherwise have the same value as the word column. FossilOrigin-Name: b76ec7cb5841f9ad02b342271e91c5f5a598006f69df7953a6213c706e01f7a2
* Reorganize spellfix.c to make it easier to edit automatically (e.g. using a dan2018-01-24
| | | | | script). No changes to functionality. FossilOrigin-Name: 090a64faaac579c6ed1cddb02d14e7089468a4aeaeec11e78d461790bcb6eb0a
* The extensions functions in spellfix are all deterministic.drh2017-11-03
| | | FossilOrigin-Name: 29ec855e13e0dcd675dcf12948b42f9e669d0a31c5d9efb95857888aba0beeee
* Work in progress on setting a calling convention for all callback functions.mistachkin2016-07-28
| | | FossilOrigin-Name: 02b8040e1add02734d2dbc6c59737ab74ff8fb18
* More harmless compiler warning fixes.mistachkin2016-04-12
| | | FossilOrigin-Name: ab69527c1608da0b668f3b49e967661dd99cc3d4
* Update spellfix1_scriptcode() to output 215 (latin) for pure numeric text.drh2016-03-11
| | | FossilOrigin-Name: df44308b862e932ff0ad25b6328d13be22047b96
* Increase the default upper bound on scope to 30.drh2016-03-03
| | | FossilOrigin-Name: b1258814f6100f594210775e9e3007b5b0c65025
* Use sqlite3_malloc64() instead of sqlite3_malloc() in the spellfix extension.drh2016-02-04
| | | FossilOrigin-Name: 634d008c34bd237fc9cfb88dc291394fc5d31efa
* Add the SQLITE_SPELLFIX_STACKALLOC_SZ compile-time option to control how muchdrh2016-01-23
| | | | | | stack space is available for use as the Wagner matrix in editDest3 of the spellfix extension. FossilOrigin-Name: dd0100dd87e2c7c70fabb2d3188f0906e605583d
* Changes to spellfix to try to get it to use stack space instead of heap spacedrh2016-01-23
| | | | | in cases where that makes sense. FossilOrigin-Name: dfcebc7393a3a780ee9c4f257723c303bb633064
* Fix the spellfix1_scriptcode() function to ignore whitespace and punctuation,drh2015-12-17
| | | | | and to recognize hebrew and arabic scripts. FossilOrigin-Name: 7adfa4a5794e47f97491c08abeaaac90e826b331
* Fix uses of ctype functions (ex: isspace()) on signed characters in testdrh2015-10-29
| | | | | programs and in some obscure extensions. No changes to the core. FossilOrigin-Name: 34eb6911afee09e779318b79baf953f616200128
* Update the spellfix virtual table extension so that an explicit "top = ?" ↵dan2015-08-05
| | | | | constraint works even if there is also a "distance < ?" or "distance <= ?" constraint. FossilOrigin-Name: 0888838371608558f31d5bcb5fed1c8861aa52c1
* Add "ON CONFLICT" handling to the spellfix module.dan2015-06-24
| | | FossilOrigin-Name: 1d04def785b6031de68b7f199d400cbb5c76caea
* Silence some harmless uninitialized local variable warnings.mistachkin2015-01-12
| | | FossilOrigin-Name: 44375a34e59d1b0f0d765a99dcc7e6f30a4be7f7
* Enhance the spellfix extension with the ability to specify a rowid whendrh2014-08-22
| | | | | inserting new rows. FossilOrigin-Name: 369c480cda6fa66394b995346bbf51f3298446e1
* Fix the index name for the shadow tables in the spellfix1 extension so thatdrh2014-07-22
| | | | | | multiple instances of the spellfix1 virtual table can each have their own index. FossilOrigin-Name: 438c348a40383796a710499e4e1b7a6b08f75778
* Always include the ctype.h header in the spellfix.c extension.drh2014-03-05
| | | FossilOrigin-Name: bfd75f471a607b442d8cd8a7070491a158e8fb1a
* Change the spellfix1 virtual table to deterministically names its shadowdrh2014-02-06
| | | | | tables. FossilOrigin-Name: 5219cdfc56ec3e1cd645ae6443ba72ce0df0339a
* Update the spellfix virtual table to optimize queries of the form "SELECT ↵dan2014-01-22
| | | | | ... FROM tbl WHERE rowid=?". FossilOrigin-Name: a0ba55ff0596c5f15e9cdb254c68ef50df2dfaad
* Fix an error message in the spellfix extension so that it conforms to the drh2013-11-12
| | | | | style of error messages in the core. FossilOrigin-Name: b896ae3d2787c370be3ff5d09da7d631a16d3a2a
* Adjust the costs in the xBestIndex function of the spellfix1 virtual tabledrh2013-07-09
| | | | | to force the use of the MATCH term if it is available. FossilOrigin-Name: f003bea9fe1b79e2b4d18fbef86c1d8f0f60e4b6
* Fixes to allow testfixture to be compiled with SQLITE_OMIT_VIRTUAL_TABLE ↵dan2013-05-15
| | | | | defined. FossilOrigin-Name: 00231fb0127960d700de3549e34e82f8ec1b5819
* Remove spellfix virtual table documentation from the source tree.drh2013-04-27
| | | | | Reference the separate documentation on the website instead. FossilOrigin-Name: adcf78909ff9064b6e3c4dd15ccd3245c8cf270b
* Added the nextchar.c extension. Minor changes to the spellfix.c extensiondrh2013-04-25
| | | | | | so that it can be appended to an amalgamation and compiled without duplicating symbols. FossilOrigin-Name: 56b9a417f5451631f11c5206d625f11472ee65f9
* Move the test_spellfix.c module to ext/misc/spellfix.c.drh2013-04-25
FossilOrigin-Name: de556add10150140981a2e34b3712e96a7c262e3