aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/sqlite3_stdio.c
Commit message (Collapse)AuthorAge
* Apparently I got the logic of [abfe488ed67e2e35] confused, even backwards.drh2025-01-28
| | | | | | | | | Change it so that the SQLITE_USE_W32_FOR_CONSOLE_IO macro causes Win32 APIs to be used for console I/O and for stdio to be used otherwise. This is reported to be necessary for builds that use a C-language runtime other than the one provided by Microsoft. This changes if for Windows only. It is a bug fix, though we don't have a test case that will demonstrate a malfunction. FossilOrigin-Name: 925e97e6f4238f02259a0c95b1fc668ae32a95329242f8eeae236ef207aca112
* Fix a potential one-byte buffer overrun when reading from the Windowsdrh2025-01-17
| | | | | console in the CLI. [forum:/forumpost/95e17b8f5c|Forum post 95e17b8f5c]. FossilOrigin-Name: 4d96759694c91301410f53a3f737a049c33e8b259b0954ff659714aff8b21ae8
* Use Win32 APIs to read/write the console in Windows unless thedrh2024-11-11
| | | | | | SQLITE_USE_STDIO_FOR_CONSOLE option is defined. This is an attempt to get the build working on MinGW. FossilOrigin-Name: abfe488ed67e2e3510c230e656ecf203afa549ebd1d1872442f1fadc97d0817e
* sqlite3_stdio.c now uses sqlite3_malloc()/sqlite3_free() instead of ↵stephan2024-11-05
| | | | | malloc()/free(). Reported in [forum:6b6cb3ddc8a89b55|forum post 6b6cb3dd]. FossilOrigin-Name: 1982471da14648594d616233be947e343611e7e3d6be7ae6b20d739e544675ea
* Fix two mismatched uses of malloc() and sqlite3_free() in sqlite3_stdio.c, ↵stephan2024-11-04
| | | | | as reported in [forum:7dd7c70038 | forum post 7dd7c70038]. FossilOrigin-Name: af0a345b3b287f82b54249cfa574ef3ce52305a6452058aac98cd473c361919e
* Be consistent about using "CRLF" instead of "CRNL".drh2024-10-14
| | | FossilOrigin-Name: ec4f4cfd5f8ca83fad4f08cf6566251d9c63e50a3a4284baca299bd94b047951
* Additional clarification in the comments to sqlite3_stdio.c. No changesdrh2024-10-11
| | | | | to code. FossilOrigin-Name: 2db24c5364808008fa503f37ca8ccf5d135e8f6bfac2efb29e509e26f7190470
* Update comments in ext/misc/sqlite3_stdio.c to reflect the latest enhancements.drh2024-10-11
| | | | | No changes to code. FossilOrigin-Name: 9621c3b527702b47799538e028f96945b5697752dbb56078aa7f114c72fd4e1a
* Avoid undesirable NL to CRLF translation when doing binary output to thedrh2024-10-11
| | | | | Windows console. FossilOrigin-Name: d25bdce36abed95524ad058a277aba7bb17270e7ff1476474713dbc29742c762
* Provide SQLITE_U8TEXT_ONLY and SQLITE_U8TEXT_STDIO compile-time optionsdrh2024-09-26
| | | | | to the sqlite3_stdio.c module. FossilOrigin-Name: f31588520e3f45b50dcaa9eecab17f52ebb56bb53d0f9bdb88cc596d1a156353
* Port sqlite3_analyzer.exe to use sqlite3_stdio.drh2024-09-24
| | | FossilOrigin-Name: 7c1c1226d803dbaf8e75085b1cc2aad88aef4c3168288e587c8c736633d09054
* Port sqldiff over to use sqlite3_stdio.drh2024-09-24
| | | FossilOrigin-Name: 18f784c47d4252bc3696a7e084a1afb9f51f006cf2021292f2103531b8235226
* Add the sqlite3_stdio.h library for Windows console I/O.drh2024-09-24
FossilOrigin-Name: fcd0ecffc9889f8c855ea340f075ec42cdca482df82d6e67dc9c32613e8d5846