Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
utf.c
a58208a
Fix a harmless comment typo
by drh
· 9 weeks ago
fda6e50
Remove an incorrect ALWAYS() macro. [forum:/forumpost/23875495059357a2|Forum post 2025-04-08T19:16:42Z].
by drh
· 3 months ago
a357a90
Consolidate two different UTF8 encoders into a single subroutine.
by drh
· 5 months ago
4924847
Avoid the possibility of buffer overrun in the READ_UTF8 macro by using
by drh
· 9 months ago
f8305e4
Improved rebustness to malformed UTF-16 inputs to sqlite3_prepare16_v2().
by drh
· 10 months ago
001d1e7
Improvements to UTF8 handling, and especially the handling of invalid UTF8,
by drh
· 1 year, 7 months ago
21b473d
Work around a bug in clang-11.0.0.
by drh
· 5 years ago
4f1315a
Back out the change from [7fab1393c2b22b1f] that tries to convert invalid
by drh
· 5 years ago
0184a25
Convert invalid surrogates to 0xfffd when translating UTF.
by drh
· 5 years ago
5ca0632
Rewrite the (debugging use only) sqlite3VdbeMemPrettyPrint() function to use
by drh
· 6 years ago
d4de9f7
Fix an obsolete comment and other minor issues from code inspection.
by drh
· 6 years ago
f0f44b7
Compile cleanly with SQLITE_OMIT_UTF16.
by drh
· 8 years ago
fad3039
Enhance ability to debug out-of-memory errors.
by mistachkin
· 9 years ago
5b6c8e4
A different way to clear the subtype on VDBE registers when the value of the register is overwritten with new content. To fix [[f45ac567eaa9f93].
by dan
· 9 years ago
clear-subtype-flag
e1462a7
Avoid a harmless compiler warning on systems where the byteorder cannot
by drh
· 10 years ago
17bcb10
Add the Mem.szMalloc element to the Mem object and use it to keep track of
by drh
· 11 years ago
6b478bc
Continuing cleanup of memory register memory allocation handling.
by drh
· 11 years ago
4274dae
The sqlite3VdbeChangeEncoding() routine goes about 3x faster if the
by drh
· 11 years ago
6c34e58
Fix a comment on the sqlite3Utf8Read() routine. No changes to code.
by drh
· 11 years ago
c91b2fd
Change the MEM_Dyn flag so that it means that Mem.xDel exists and must be
by drh
· 11 years ago
enhanced-mem-check
4bfd4ad
Remove the unused sqlite3Utf8to16() utility function.
by drh
· 12 years ago
f52bb8d
Begin adding experimental sqlite_stat4 table. This commit is buggy.
by dan
· 12 years ago
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
· 14 years ago
dba2cc4
Minor change to sqlite3Utf8Read() to make consistent with READ_UTF8() usage and avoid implementation defined usages of <<.
by shaneh
· 14 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
· 15 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
· 16 years ago
769e97e
Remove dead code from the UTF conversion routines. Fix a bug in
by drh
· 16 years ago
b08a67a
Fix compiler warnings from gcc and MSVC; Correct typo in select.c; (CVS 6417)
by shane
· 16 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
· 17 years ago
a7a8e14
Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783)
by danielk1977
· 17 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
· 18 years ago
9218232
Remove the SKIP_UTF16 macros (they are no longer in use). (CVS 4018)
by danielk1977
· 18 years ago
a9c16b0
Fix handling of utf-16 encoding of code point 0xE000. (CVS 4017)
by danielk1977
· 18 years ago
f076504
Remove the alternative UTF-16 implementation of SUBSTR(). It does not
by drh
· 18 years ago
4a91911
A new approach for UTF-8 translation. (CVS 4004)
by drh
· 18 years ago
53c1402
Add some UTF-8 test infrastructure. Treat NaN as NULL. The printf routines
by drh
· 18 years ago
ee85813
Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958)
by drh
· 18 years ago
38def05
Increase test coverage by statically defining SQLITE_BIGENDIAN and related
by drh
· 18 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
· 19 years ago
7416170
Remove unused parameters on internal APIs. Suppress warnings from
by drh
· 19 years ago
161fb79
General test coverage improvements. (CVS 3022)
by danielk1977
· 19 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
· 20 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
· 21 years ago
d7e6964
Add a comment to the output buffer allocation in sqlite3VdbeMemTranslate() (CVS 1673)
by danielk1977
· 21 years ago
1b743be
Be careful to initialize the Mem.xDel field to zero for static Mems. (CVS 1671)
by drh
· 21 years ago
38f8271
Changes to allow libsqlite3.a and libsqlite.a to be both linked into the
by drh
· 21 years ago
bfd6cce
Optimisation for unicode encoding conversion routines. (CVS 1614)
by danielk1977
· 21 years ago
3f6b087
Use the faster LIKE function from sqlite v2. Add special user functions to
by danielk1977
· 21 years ago
dc8453f
Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572)
by danielk1977
· 21 years ago
ad7dd42
Performance improvements for LIKE. It is still too slow though. (CVS 1535)
by danielk1977
· 21 years ago
d02eb1f
Enhance user function API to support association of meta-data with constant
by danielk1977
· 21 years ago
193c72f
Fix a bug with UTF-16 byte-order-marks on big-endian hosts. (CVS 1522)
by danielk1977
· 21 years ago
9c05483
Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)
by drh
· 21 years ago
e7d00f5
Avoid arithmetic on void pointers. (CVS 1489)
by danielk1977
· 21 years ago
51846b5
Factor common code for generating index keys into a procedure. Other
by drh
· 21 years ago
c572ef7
Various bugfixes. 68 Test cases still fail. (CVS 1471)
by danielk1977
· 21 years ago
eb2e176
More MEM changes in the vdbe.c. Still will not compile. (CVS 1469)
by drh
· 21 years ago
51ad0ec
Non-aggregate SQL functions use sqlite_value* instead of const char * for
by danielk1977
· 21 years ago
93d4675
Begin changing the vdbe so all stack values use the database encoding. (CVS 1444)
by danielk1977
· 21 years ago
bbd42a6
Split up os.c into separate files, one for each platform. (CVS 1441)
by drh
· 21 years ago
Next »