๐ AIๆ็ดข & ไปฃ็
๐
ไธป้กต
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
refs/heads/instr
/
src
/
utf.c
4261096
Remove an unnecessary parameter from sqlite3Utf8Read() resulting in a slight
by drh
ยท 13 years ago
faacf17
Begin a branch that experimentally replaces sqlite_stat2 with a new table
by drh
ยท 14 years ago
0a32fa6
Use only unsigned values in the implementatin of LIKE and GLOB so that
by drh
ยท 15 years ago
dba2cc4
Minor change to sqlite3Utf8Read() to make consistent with READ_UTF8() usage and avoid implementation defined usages of <<.
by shaneh
ยท 15 years ago
b7dca7d
Modify the vdbe so that the comparison operator opcodes do not modify the data type of operands. Fix for [aa92c76cd4].
by dan
ยท 16 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
ยท 16 years ago
1faca75
Another attempt at getting the pTail pointer computations correct for
by drh
ยท 16 years ago
6d116ca
Check-in [19064d7cea] broke the pTail return on sqlite3_prepare16() when
by drh
ยท 16 years ago
7c95b0f
Make sure that UTF16 to UTF8 conversions to not read past the end of the
by drh
ยท 16 years ago
cea72b2
Warning cleanup from the MSVC compile.
by shane
ยท 16 years ago
69188d9
Add the SQLITE_ENABLE_STAT2 macro. If this is not defined at build-time, the stat2 table is not created, populated, or used.
by dan
ยท 16 years ago
02fa469
First version of sqlite_stat2 (schema forces exactly 10 samples).
by dan
ยท 16 years ago
aed382f
Fix a bug in the sqlite3Utf16ByteLen() function so that it computes the
by drh
ยท 17 years ago
769e97e
Remove dead code from the UTF conversion routines. Fix a bug in
by drh
ยท 17 years ago
b08a67a
Fix compiler warnings from gcc and MSVC; Correct typo in select.c; (CVS 6417)
by shane
ยท 17 years ago
18e526c
Work to remove harmless MSVC compiler warnings. (CVS 6013)
by shane
ยท 17 years ago
ea67883
Never use strlen(). Use our own internal sqlite3Strlen30() which is
by drh
ยท 17 years ago
aa78bec
Get rid of more silly compiler warnings. (CVS 5996)
by drh
ยท 17 years ago
b3190c1
Some minor name refactoring in where.c. Avoid declaring variables before
by drh
ยท 17 years ago
bbf695d
Prevent buffer overruns when converting malformed UTF16 to UTF8. Ticket #3482. (CVS 5869)
by drh
ยท 17 years ago
44a376f
Fix further warnings/compilation errors in test code. (CVS 5558)
by danielk1977
ยท 17 years ago
6e89162
Fix warnings and a compilation error in test code. (CVS 5556)
by danielk1977
ยท 17 years ago
ad76a81e
Use a macro to make sure that the calls to sqlite3Utf8Read() from MemTranslate() are inlined. This speeds up converting from utf8 to utf16. (CVS 5492)
by danielk1977
ยท 17 years ago
7ffb2b5
Changed copy-paste error in comment. Fixes #3193. (CVS 5323)
by mihailim
ยท 17 years ago
5f09613
Changes to the Mem structure to reduce the frequency of freeing and reallocating the dynamic buffer. (CVS 4928)
by danielk1977
ยท 18 years ago
a7a8e14
Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783)
by danielk1977
ยท 18 years ago
ae72d98
Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454)
by danielk1977
ยท 18 years ago
4152e67
Fixes for compilation/testing when the various OMIT macros are defined. (CVS 4423)
by danielk1977
ยท 18 years ago
28c6630
Test sqlite3_bind_zeroblob(). Only include sqlite3Utf8To8 in builds if SQLITE_DEBUG is defined. (CVS 4363)
by danielk1977
ยท 18 years ago
b21c8cd
The sqlite3_value object now carries an sqlite3* pointer to use for
by drh
ยท 18 years ago
1e53695
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233)
by danielk1977
ยท 18 years ago
1743575
Half-way through a major refactoring of the memory allocation.
by drh
ยท 18 years ago
0a0e131
Revise the amalgamation so that all symbols have file scope except those
by drh
ยท 18 years ago
6615095
Rework the UTF8 reader logic in order to avoid the use of malloc().
by drh
ยท 18 years ago
7677c0c
Add some code to MemTranslate() to prevent the READ_UTF8() macro from overreading a buffer. (CVS 4033)
by danielk1977
ยท 19 years ago
9218232
Remove the SKIP_UTF16 macros (they are no longer in use). (CVS 4018)
by danielk1977
ยท 19 years ago
a9c16b0
Fix handling of utf-16 encoding of code point 0xE000. (CVS 4017)
by danielk1977
ยท 19 years ago
f076504
Remove the alternative UTF-16 implementation of SUBSTR(). It does not
by drh
ยท 19 years ago
4a91911
A new approach for UTF-8 translation. (CVS 4004)
by drh
ยท 19 years ago
53c1402
Add some UTF-8 test infrastructure. Treat NaN as NULL. The printf routines
by drh
ยท 19 years ago
ee85813
Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958)
by drh
ยท 19 years ago
38def05
Increase test coverage by statically defining SQLITE_BIGENDIAN and related
by drh
ยท 19 years ago
b3fa0e0
When converting UTF8 or UTF16 strings, change overlong strings and other
by drh
ยท 19 years ago
bb2abb2
Fix another UTF conversion problem on x64. Ticket #2008. (CVS 3466)
by drh
ยท 19 years ago
a39f4c5
Fix UTF conversions for -O2 on gcc 4.1.1. Ticket #2008. (CVS 3464)
by drh
ยท 19 years ago
66f4a06
Fix an overzealous assert() in the UTF-16 to UTF-8 converter. (CVS 3338)
by drh
ยท 19 years ago
a49b861
Allocate enough memory for the worst-case UTF-16 to UTF-8 conversion.
by drh
ยท 20 years ago
7416170
Remove unused parameters on internal APIs. Suppress warnings from
by drh
ยท 20 years ago
161fb79
General test coverage improvements. (CVS 3022)
by danielk1977
ยท 20 years ago
e725929
Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936)
by danielk1977
ยท 20 years ago
fbfb60b
Fix the utf8 to utf16 conversion routine for short strings. Bug
by drh
ยท 20 years ago
af9a7c2
Fix memory allocation problems on the utf-16 versions of collating function
by drh
ยท 20 years ago
2646da7
Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810)
by drh
ยท 20 years ago
b659e9b
Make sure the #include of "sqliteInt.h" always comes first in C source files. (CVS 2284)
by drh
ยท 21 years ago
b5402fb
Tests to improve coverage of vdbemem.c. (CVS 2200)
by danielk1977
ยท 21 years ago
6c62608
The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100)
by drh
ยท 21 years ago
b8dd315
Save a few bytes in utf.c. (CVS 1981)
by drh
ยท 21 years ago
4e5ffc5
Combine the implementation of LIKE and GLOB into a single parameterized
by drh
ยท 21 years ago
71c697e
Fix problems in the handling of malloc failures. (CVS 1882)
by drh
ยท 21 years ago
f461889
More coverage testing. (CVS 1754)
by danielk1977
ยท 21 years ago
1ba1b55
Improve test coverage of utf.c. (CVS 1678)
by danielk1977
ยท 22 years ago
d7e6964
Add a comment to the output buffer allocation in sqlite3VdbeMemTranslate() (CVS 1673)
by danielk1977
ยท 22 years ago
1b743be
Be careful to initialize the Mem.xDel field to zero for static Mems. (CVS 1671)
by drh
ยท 22 years ago
38f8271
Changes to allow libsqlite3.a and libsqlite.a to be both linked into the
by drh
ยท 22 years ago
bfd6cce
Optimisation for unicode encoding conversion routines. (CVS 1614)
by danielk1977
ยท 22 years ago
3f6b087
Use the faster LIKE function from sqlite v2. Add special user functions to
by danielk1977
ยท 22 years ago
dc8453f
Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572)
by danielk1977
ยท 22 years ago
ad7dd42
Performance improvements for LIKE. It is still too slow though. (CVS 1535)
by danielk1977
ยท 22 years ago
d02eb1f
Enhance user function API to support association of meta-data with constant
by danielk1977
ยท 22 years ago
193c72f
Fix a bug with UTF-16 byte-order-marks on big-endian hosts. (CVS 1522)
by danielk1977
ยท 22 years ago
9c05483
Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)
by drh
ยท 22 years ago
e7d00f5
Avoid arithmetic on void pointers. (CVS 1489)
by danielk1977
ยท 22 years ago
51846b5
Factor common code for generating index keys into a procedure. Other
by drh
ยท 22 years ago
c572ef7
Various bugfixes. 68 Test cases still fail. (CVS 1471)
by danielk1977
ยท 22 years ago
eb2e176
More MEM changes in the vdbe.c. Still will not compile. (CVS 1469)
by drh
ยท 22 years ago
51ad0ec
Non-aggregate SQL functions use sqlite_value* instead of const char * for
by danielk1977
ยท 22 years ago
93d4675
Begin changing the vdbe so all stack values use the database encoding. (CVS 1444)
by danielk1977
ยท 22 years ago
bbd42a6
Split up os.c into separate files, one for each platform. (CVS 1441)
by drh
ยท 22 years ago
b1bc953
Steps towards UTF-16 databases. Some tests are failing because of this
by danielk1977
ยท 22 years ago
6622cce
Add some more elements of the new API. (CVS 1416)
by danielk1977
ยท 22 years ago
51e3d8e
Add support for the new sqlite3_bind_*() APIs. (CVS 1410)
by danielk1977
ยท 22 years ago
295ba55
Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1400)
by danielk1977
ยท 22 years ago
4adee20
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the
by danielk1977
ยท 22 years ago
998b56c
Add code to convert between the various supported unicode encoding schemes.
by danielk1977
ยท 22 years ago
a5d14fe
Added template for the utf.c file containing conversion routines. (CVS 1313)
by drh
ยท 22 years ago