SQLite

All files named "src/os_win.c"
Login

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

History for src/os_win.c

2024-01-23
16:09
[6ff43bac] part of check-in [2684feac] In os_unix.c and os_win.c, do not allow xFetch() to return a pointer to a page buffer that is right at the end of the mapped region - if the database is corrupted in a specific way such a page buffer might be overread by several bytes. (check-in: [2684feac] user: dan branch: trunk, size: 201452)
2023-08-16
15:10
[4a50a154] part of check-in [775a36ee] Mix the current process ID into the randomness used for generating temporary filenames on Windows. (check-in: [775a36ee] user: drh branch: trunk, size: 201139)
2023-06-16
14:39
[7038223a] part of check-in [365caf2f] Address various harmless compiler warnings from forum post d526da8ee4. (check-in: [365caf2f] user: drh branch: trunk, size: 201051)
2023-06-07
08:40
[79ff2345] part of check-in [26c1bb4b] Add a C-source spell-checking facility. make misspell (on Nix) (check-in: [26c1bb4b] user: larrybr branch: spell-check, size: 201051)
2023-04-27
21:31
[2b241127] part of check-in [1eb4573e] Adjust OSTRACE usage so that it works with the changes in the previous check-in. (check-in: [1eb4573e] user: mistachkin branch: trunk, size: 201047)
13:55
[20c2f020] part of check-in [c22a39a6] Fix a problem on windows sometimes causing SQLITE_NOMEM to be returned if an error occurred while opening a temp file. (check-in: [c22a39a6] user: dan branch: trunk, size: 200930)
2022-11-07
15:01
[295fe45f] part of check-in [c3b94d7d] Fix typo in comment. (check-in: [c3b94d7d] user: drh branch: trunk, size: 200851)
2022-09-09
17:50
[8d129ae3] part of check-in [73c4c68d] Fix harmless compiler warning seen with MSVC. (check-in: [73c4c68d] user: mistachkin branch: trunk, size: 200832)
2022-09-05
18:17
[e9454cb1] part of check-in [f74a5ea8] Fix the windows build so that it works with -DSQLITE_OMIT_AUTOINIT. (check-in: [f74a5ea8] user: drh branch: trunk, size: 200792)
2022-09-02
11:12
[d55025ae] part of check-in [ebbe9634] Improved mutex protection of the sqlite3_temp_directory and sqlite3_data_directory global variables. (check-in: [ebbe9634] user: drh branch: tempdir-mutex, size: 200786)
00:36
[d9ebd8bf] part of check-in [5ee3515f] Experimental changes to put sqlite3_temp_directory behind a mutex. (check-in: [5ee3515f] user: drh branch: tempdir-mutex, size: 200705)
2022-03-22
19:41
[a8ea8003] part of check-in [67d8b434] Harden the xShmLock method of both the unix and Windows VFSes so that they are robust against being invoked when the SHM file is not open. (check-in: [67d8b434] user: drh branch: trunk, size: 199528)
2021-07-20
21:02
[03017ffb] part of check-in [b67c157f] Add in-process blocking locks to os_win.c using a similar technique. (check-in: [b67c157f] user: dan branch: unix-timed-wait-exp, size: 206687)
2021-07-19
03:37
[f1727066] part of check-in [3249a6a3] Minor enhancements to new OSTRACE messages. (check-in: [3249a6a3] user: mistachkin branch: win-blocking-locks, size: 205068)
2021-07-15
23:12
[15c4dce3] part of check-in [584c2425] Initial work on blocking locks for the Win32 VFS. Various other small enhancements. (check-in: [584c2425] user: mistachkin branch: win-blocking-locks, size: 205040)
2021-07-14
19:35
[dc54e0a4] part of check-in [954b5d61] Enhance the Windows VFS to recognize SQLITE_FCNTL_LOCK_TIMEOUT and make the value set there available to the winLockFile() function. (check-in: [954b5d61] user: drh branch: win-blocking-locks, size: 199886)
2020-10-15
14:37
[77d39873] part of check-in [05b573fd] The windows VFS accepts query parameter "exclusive=true" to cause it to take a mandatory file lock, preventing other applications from even reading the file. See forum thread 11b5560864189b5d. (check-in: [05b573fd] user: drh branch: trunk, size: 199417)
2020-07-29
16:18
[a77f66ab] 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: 199329)
2020-07-24
09:17
[a2149ff0] part of check-in [270ac1a0] Fix other potentiall pointer aliasing problems associated with subclassing of the sqlite3_file object for various VFS implementations. (check-in: [270ac1a0] user: drh branch: trunk, size: 199326)
2020-06-19
15:24
[81890779] part of check-in [7a876209] Extend the refactoring into extensions. Clean up stray newlines. (check-in: [7a876209] user: drh branch: trunk, size: 199328)
11:34
[92f7ed3d] part of check-in [7bb08b1b] Refactoring various names. No changes in the resulting machine code. (check-in: [7bb08b1b] user: drh branch: trunk, size: 199327)
2020-05-19
15:40
[e832e21e] part of check-in [cb0a18e6] In os_win.c, avoid calling sqlite3_uri_boolean() on anything other than a main-db filename. (check-in: [cb0a18e6] user: dan branch: trunk, size: 199332)
15:29
[55e4197a] part of check-in [87ecd1ec] In os_win.c, avoid calling sqlite3_uri_boolean() on other than a main-db file-name. (check-in: [87ecd1ec] user: dan branch: mistake, size: 199329)
2020-05-15
01:18
[317718e8] part of check-in [0119d96d] Enhancements to long-path support in the Win32 VFS. (check-in: [0119d96d] user: mistachkin branch: trunk, size: 199293)
2019-12-19
00:59
[7736ab8e] part of check-in [ed66ffce] Minor enhancement to Win32 locking semantics. (check-in: [ed66ffce] user: mistachkin branch: win32LockFlags, size: 199038)
2019-11-18
23:48
[87a38901] part of check-in [175c1500] Add support for the SQLITE_ACCESS_SYMLINK flag in the Win32 VFS. (check-in: [175c1500] user: mistachkin branch: trunk, size: 199303)
17:46
[48513ab1] part of check-in [cb79c828] Add support for SQLITE_OPEN_NOFOLLOW. (check-in: [cb79c828] user: drh branch: trunk, size: 199018)
2019-09-16
12:02
[b393ae23] part of check-in [a95191de] Merge the latest changes from trunk into the apple-osx branch. (check-in: [a95191de] user: drh branch: apple-osx, size: 199159)
2019-07-16
18:27
[035a813c] part of check-in [22a7c15b] Add assert()s in os_win.c in an effort to silence false-positives from static analyzers. (check-in: [22a7c15b] user: drh branch: trunk, size: 198929)
2019-02-08
20:55
[1dcd863d] part of check-in [df66fec9] Use a fast compiler-provided memory barrier exclusively, if such a memory barrier is available. (check-in: [df66fec9] user: drh branch: faster-memory-barrier, size: 198918)
2018-11-26
23:35
[340cb590] part of check-in [e8c20a88] Merge recent enhancements from trunk. (check-in: [e8c20a88] user: drh branch: apple-osx, size: 199100)
2018-11-24
17:46
[85d9e532] part of check-in [ffce4aac] Make the winTruncate() method of the windows VFS be a no-op if there are outstanding references to the memory-mapped pages. Otherwise, memory might be deleted out from under those references when the file is remapped during the truncate operation. (check-in: [ffce4aac] user: drh branch: trunk, size: 198870)
16:07
[fd94dd9c] part of check-in [0e7aa622] Remove the unused mmapSizeActual field from the Windows sqlite3_file implementation. (check-in: [0e7aa622] user: drh branch: trunk, size: 197812)
2018-11-23
13:21
[30ab9c91] part of check-in [8576ccb4] Make the winTruncate() method of the windows VFS be a no-op if there are outstanding references to the memory-mapped pages. Otherwise, memory might be deleted out from under those references when the file is remapped during the truncate operation. (check-in: [8576ccb4] user: drh branch: branch-3.25, size: 198067)
2018-10-09
22:50
[2fcddc80] part of check-in [ddf6a54e] Merge changes for the 3.25.0 release. (check-in: [ddf6a54e] user: drh branch: apple-osx, size: 198252)
2018-07-22
06:25
[070cdbb4] part of check-in [21510a66] In the Win32 VFS, when truncating a file, unmap it first. (check-in: [21510a66] user: mistachkin branch: trunk, size: 198022)
2018-05-04
19:33
[9f0d1f91] part of check-in [e17bca2c] Merge recent enhancements from trunk. (check-in: [e17bca2c] user: drh branch: apple-osx, size: 198185)
2018-05-02
03:01
[ac29c25c] part of check-in [22089ea2] Add sqlite3_win32_set_directory8() and sqlite3_win32_set_directory16() functions. (check-in: [22089ea2] user: mistachkin branch: trunk, size: 197955)
2018-04-27
22:42
[a8f39484] part of check-in [cbce7180] Document and expose sqlite3_win32_set_directory() function for use on Win32. (check-in: [cbce7180] user: mistachkin branch: win32dir, size: 197118)
2018-03-14
17:17
[606bb196] part of check-in [a658f80c] Merge the latest enhancements from trunk. (check-in: [a658f80c] user: drh branch: apple-osx, size: 197620)
2018-02-05
21:02
[eb03c6d5] part of check-in [36c2e67e] Adjust the previous check-in, which modified the Win32 VFS, so that it works with SQLITE_OMIT_WAL. (check-in: [36c2e67e] user: mistachkin branch: trunk, size: 197390)
20:42
[ca6b6a55] part of check-in [535ed0ac] Allocation the mutex used by the Win32 VFS only once at initialization, instead of every time it is needed. (check-in: [535ed0ac] user: mistachkin branch: trunk, size: 197325)
2018-01-22
19:04
[51206d5f] part of check-in [27e20d69] Merge all version-3.22.0 changes. (check-in: [27e20d69] user: drh branch: apple-osx, size: 197538)
2018-01-17
01:40
[501dde1e] part of check-in [3e04999d] Simplifications to winOpenSharedMemory in the Win32 VFS. (check-in: [3e04999d] user: mistachkin branch: trunk, size: 197308)
01:26
[196b2b38] part of check-in [56819222] Corrections to error code handling in os_win.c, pursuant to walfault.test. (check-in: [56819222] user: mistachkin branch: trunk, size: 197578)
2018-01-15
21:59
[167aa9bf] part of check-in [c9d2ec51] Merge the enhancements associated with the first 3.22.0 beta. (check-in: [c9d2ec51] user: drh branch: apple-osx, size: 197527)
2017-12-13
10:11
[0a4afa35] part of check-in [9cede8a8] Minor enhancement to two assert() statements in the default VFSes. (check-in: [9cede8a8] user: drh branch: trunk, size: 197297)
2017-11-14
20:36
[f626b26c] part of check-in [8c2a769c] Merge the patch that enables reading a read-only WAL-mode database, without any special query parameters, as long as the -shm and -wal files are on disk. (check-in: [8c2a769c] user: drh branch: apple-osx, size: 197527)
2017-11-09
23:24
[7f361204] part of check-in [5a384be6] Avoid superfluous SHM unlock call in the Win32 VFS. (check-in: [5a384be6] user: mistachkin branch: readonly-wal-recovery, size: 197297)
22:25
[670d296c] part of check-in [a2908e2c] Cleanup superfluous whitespace changes. (check-in: [a2908e2c] user: mistachkin branch: readonly-wal-recovery, size: 197266)
22:23
[b40d4f98] part of check-in [d0997b0f] Revise and vastly simplify the Win32 SHM file locking semantics, allowing all new tests to pass. (check-in: [d0997b0f] user: mistachkin branch: readonly-wal-recovery, size: 197212)
20:37
[64bc6182] part of check-in [22e58330] Add an assert() in the Win32 VFS. (check-in: [22e58330] user: mistachkin branch: readonly-wal-recovery, size: 201411)
20:02
[cf409995] part of check-in [abef0535] Get read-only SHM file tests passing on Win32. (check-in: [abef0535] user: mistachkin branch: readonly-wal-recovery, size: 201382)
18:53
[f55a1ae6] part of check-in [43c31170] Further corrections to read-only SHM file handling on Win32. (check-in: [43c31170] user: mistachkin branch: readonly-wal-recovery, size: 201063)
18:21
[eac2f143] part of check-in [3a91be97] Corrections to Win32 lock detection for SHM files. (check-in: [3a91be97] user: mistachkin branch: readonly-wal-recovery, size: 200790)
17:29
[ce0b1da0] part of check-in [0b26a5a2] Corrections to the Win32 porting changes on this branch. (check-in: [0b26a5a2] user: mistachkin branch: readonly-wal-recovery, size: 200659)
16:30
[47687775] part of check-in [3738bfd0] Initial work on porting the changes on this branch to Win32. (check-in: [3738bfd0] user: mistachkin branch: readonly-wal-recovery, size: 200715)
2017-10-24
19:12
[1473a2ca] part of check-in [13be3a44] Merge all enhancements and fixes from the 3.21.0 release. (check-in: [13be3a44] user: drh branch: apple-osx, size: 196031)
2017-09-22
16:23
[6892c3ff] part of check-in [2c03d8b8] Use the updated Win32 VFS semantics for winOpen from check-in [5d03c738e9] for WinRT, et al, as well. (check-in: [2c03d8b8] user: mistachkin branch: trunk, size: 195801)
2017-09-21
20:43
[5c802f05] part of check-in [5d03c738] In the Windows VFS, when trying to open a database file read/write, if it fails check to see if the file exists and is read-only and immediately fall back to a read-only open attempt, rather than running the AV retry loop. (check-in: [5d03c738] user: drh branch: trunk, size: 195579)
20:03
[4c05a058] part of check-in [fa3f5bcc] In the Windows VFS, do not emit an SQLITE_CANTOPEN error log message when falling back from SQLITE_OPEN_READWRITE to SQLITE_OPEN_READONLY. Wait until the open fails completely. (check-in: [fa3f5bcc] user: drh branch: trunk, size: 195195)
2017-09-12
23:58
[225432ab] part of check-in [3a2793aa] Remove use of the rand_s() function (added by [139081bef9f63c3e]) as it appears to cause issues with some third-party DLLs. (check-in: [3a2793aa] user: mistachkin branch: trunk, size: 195191)
2017-09-09
06:10
[a49fbd95] part of check-in [6a0b9d9d] Merge trunk enhancements (check-in: [6a0b9d9d] user: drh branch: apple-osx, size: 195604)
2017-08-07
19:06
[964165b6] part of check-in [f08d63b4] On Windows, avoid casting a value larger than 2^31 to a (SIZE_T) on systems where it is a 32-bit type. (check-in: [f08d63b4] user: mistachkin branch: mmap-size-limit, size: 195374)
2017-03-06
20:00
[85b19486] part of check-in [1650c3f4] Merge all pending 3.18 enhancements from trunk. (check-in: [1650c3f4] user: drh branch: apple-osx, size: 195319)
2017-02-20
23:32
[2a6c73ee] part of check-in [1589db01] Correct a harmless typo in the previous check-in. (check-in: [1589db01] user: mistachkin branch: trunk, size: 195089)
19:13
[c97c79fe] part of check-in [96b6a98e] Avoid unsigned integer overflows for SQLITE_WIN32_HEAP_INIT_SIZE when the Win32 heap subsystem is used with very large values of SQLITE_DEFAULT_CACHE_SIZE and/or SQLITE_DEFAULT_PAGE_SIZE. (check-in: [96b6a98e] user: mistachkin branch: trunk, size: 195090)
2017-01-23
21:12
[a55b09ae] part of check-in [64131724] Experimental changes to permit a VFS to directly override the initial page size. (check-in: [64131724] user: mistachkin branch: pagePerSector, size: 194198)
2017-01-18
23:12
[54fd6ea6] part of check-in [47beb55c] For Windows 8.x and higher, require the SQLITE_WIN32_WIN8_SECTOR_SIZE compile-time option in order to enable sector size determination. (check-in: [47beb55c] user: mistachkin branch: winSectorSize, size: 202131)
19:36
[2bd4caed] part of check-in [2dc16d34] Improve and update comments. (check-in: [2dc16d34] user: mistachkin branch: winSectorSize, size: 202041)
19:06
[2f6dd3ee] part of check-in [8d429a59] Minimize the requested permissions when opening the volume on Windows 7 and Vista. (check-in: [8d429a59] user: mistachkin branch: winSectorSize, size: 200986)
01:11
[05f014e9] part of check-in [cb9d1ab3] Add runtime version checking for winSectorSize. (check-in: [cb9d1ab3] user: mistachkin branch: winSectorSize, size: 201033)
00:27
[3f683f19] part of check-in [de699ead] When determining sector sizes on Windows 7 and Vista, make sure the target file is on the same volume as corresponding root directory. (check-in: [de699ead] user: mistachkin branch: winSectorSize, size: 198991)
2017-01-12
23:37
[9fbb3876] part of check-in [6e388423] Attempt to detect physical sector sizes on Windows Vista and higher. (check-in: [6e388423] user: mistachkin branch: winSectorSize, size: 196890)
2017-01-11
16:52
[036b12e5] part of check-in [381fd34b] Attempt to detect physical sector sizes on Windows 8 and higher. (check-in: [381fd34b] user: mistachkin branch: winSectorSize, size: 194567)
2016-11-04
19:09
[4224bff1] part of check-in [0e5ffd91] Merge recent trunk changes, including all the fixes that appeared in version 3.15.1. (check-in: [0e5ffd91] user: drh branch: apple-osx, size: 194013)
2016-10-14
21:27
[cf90abd4] part of check-in [16039be3] Add the SQLITE_FCNTL_WIN32_GET_HANDLE file control. (check-in: [16039be3] user: mistachkin branch: trunk, size: 193783)
2016-07-25
17:31
[8ba3403e] part of check-in [e98cefb1] Merge 3.14 alpha changes from trunk. (check-in: [e98cefb1] user: drh branch: apple-osx, size: 193815)
2016-07-09
16:14
[520f2347] part of check-in [5471aca0] Fix various internal #defines to conform to new C-language naming restrictions, specifically that private-use macros names must not begin with "_". (check-in: [5471aca0] user: drh branch: trunk, size: 193585)
2016-07-08
21:14
[716af571] part of check-in [549abe3f] Initial work on a Win32 VFS with NOP locking. (check-in: [549abe3f] user: mistachkin branch: win32nolock, size: 193553)
2016-06-15
10:21
[c5651f7c] part of check-in [0f707d15] Merge changes from trunk. (check-in: [0f707d15] user: drh branch: apple-osx, size: 187873)
2016-06-06
20:36
[d4b8faf8] part of check-in [e404ad70] In winFullPathname, translate '/X:' to 'X:' before doing anything else. (check-in: [e404ad70] user: mistachkin branch: trunk, size: 187643)
20:27
[59ccd6a2] part of check-in [f8470ffc] Translate filenames of the form "/c:/*" into just "c:/*" on WinRT and Cygwin. (SQLite has long done this for Win32/WinNT.) (check-in: [f8470ffc] user: drh branch: trunk, size: 188020)
2016-05-03
19:36
[75edd38c] part of check-in [b6ddabe1] Add the experimental SQLITE_FCNTL_WIN32_GET_HANDLE file control. (check-in: [b6ddabe1] user: mistachkin branch: win32GetHandle, size: 187770)
2016-04-29
15:52
[b717a28c] part of check-in [81b76901] Merge enhancements from trunk, and in particular the TEMP file deferred I/O enhancements. (check-in: [81b76901] user: drh branch: apple-osx, size: 187802)
2016-04-26
18:58
[852fc2ff] part of check-in [12418b10] The pcache and the built-in VFSes should not use mutexes when SQLITE_CONFIG_SINGLETHREAD is set. (check-in: [12418b10] user: drh branch: trunk, size: 187572)
2016-04-21
15:35
[8aeedf6a] part of check-in [a15c49ae] Merge all recent enhancements from trunk. (check-in: [a15c49ae] user: drh branch: apple-osx, size: 187748)
2016-04-20
18:31
[1997a873] part of check-in [38a4e9d9] Fix a locking race condition in Windows 10 that can occur when two or more processes attempt to recover the same hot journal at the same time. (check-in: [38a4e9d9] user: drh branch: trunk, size: 187518)
2016-04-12
16:11
[b169437d] part of check-in [541c6da2] Add and adjust comments. (check-in: [541c6da2] user: mistachkin branch: winCeLocalTime, size: 187540)
2016-04-11
22:45
[9c84a48d] part of check-in [b35bb928] Further refinements. (check-in: [b35bb928] user: mistachkin branch: winCeLocalTime, size: 187415)
22:10
[1245c1c1] part of check-in [016481b3] Fix some compilation issues. (check-in: [016481b3] user: mistachkin branch: winCeLocalTime, size: 187629)
2016-04-05
17:59
[be21cb97] part of check-in [00990020] Merge updates from trunk. (check-in: [00990020] user: mistachkin branch: winCeLocalTime, size: 187476)
2016-04-04
02:05
[b3ba9573] part of check-in [02ccb444] More refactoring and cleanup work on the Win32 string conversion and utility routines. (check-in: [02ccb444] user: mistachkin branch: altShellFix, size: 187347)
2016-04-03
22:44
[01ae5894] part of check-in [345860c9] Revise and enhance the Win32 string conversion routines. (check-in: [345860c9] user: mistachkin branch: altShellFix, size: 186816)
2016-03-29
10:30
[5c780f4c] part of check-in [eef55744] Merge 3.12.0 changes. (check-in: [eef55744] user: drh branch: apple-osx, size: 185501)
2016-03-25
17:19
[ff870d89] part of check-in [183350fa] In the Win32 VFS, avoid trying to use rand_s() on Windows CE. (check-in: [183350fa] user: mistachkin branch: trunk, size: 185271)
2016-03-24
20:36
[7c071f7f] part of check-in [e0737f52] Prevent negative values of SQLITE_DEFAULT_CACHE_SIZE from making SQLITE_WIN32_HEAP_INIT_SIZE negative. (check-in: [e0737f52] user: mistachkin branch: trunk, size: 185251)
2016-03-22
15:26
[17493f12] part of check-in [142cd359] Fix harmless compiler warning for MSVC. (check-in: [142cd359] user: mistachkin branch: trunk, size: 184902)
2016-03-21
14:52
[745cbd3e] part of check-in [063f1b37] Merge the sqlite3_system_errno() change from trunk. (check-in: [063f1b37] user: drh branch: apple-osx, size: 185123)
2016-03-17
19:28
[551d973a] part of check-in [1602f6b5] Change the xGetLastError() method on the windows VFS so that it continues to format an error message (if requested) but returns the system error code, rather than an SQLite status code. (check-in: [1602f6b5] user: drh branch: sqlite_system_errno, size: 184893)
2016-03-16
01:09
[57a720eb] part of check-in [161d91e4] Merge the SQLITE_OMIT_CODEC_FROM_TCL compile-time option from trunk. (check-in: [161d91e4] user: drh branch: apple-osx, size: 185090)
2016-03-15
19:10
[cbf8c442] part of check-in [9463762c] In the Win32 VFS, use SQLITE_FCNTL_LAST_ERRNO instead of (the older) SQLITE_LAST_ERRNO. (check-in: [9463762c] user: mistachkin branch: trunk, size: 184860)
2016-02-18
01:36
[390534ca] part of check-in [b7fa0fb3] Merge recent performance enhancements and the enhanced API_ARMOR from trunk. (check-in: [b7fa0fb3] user: drh branch: apple-osx, size: 185084)
2016-02-15
22:37
[f0d7aa60] part of check-in [1640f814] Readability improvements for winRandomness. (check-in: [1640f814] user: mistachkin branch: trunk, size: 184854)
22:28
[1a781c23] part of check-in [2e1f2eff] Fix comment. No changes to code. (check-in: [2e1f2eff] user: mistachkin branch: trunk, size: 184627)
22:01
[d085a0b0] part of check-in [287f508d] Revise compiler checks for the rand_s() function. (check-in: [287f508d] user: mistachkin branch: trunk, size: 184626)
21:31
[382fd1b5] part of check-in [139081be] On windows systems when rand_s() is available, use it to obtain additional seed material in winRandomness(). (check-in: [139081be] user: drh branch: trunk, size: 184603)
20:41
[ae1f287a] part of check-in [fea3705e] Improved entropy gathering for the implementation of winRandomness(). (check-in: [fea3705e] user: drh branch: trunk, size: 184514)
2016-02-13
23:43
[6cce4c3a] part of check-in [6a9c4a3e] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 183989)
2016-02-02
02:30
[dc10ba37] part of check-in [e6a4a163] Merge recent enhancements from trunk. (check-in: [e6a4a163] user: drh branch: apple-osx, size: 184079)
2016-01-27
07:28
[ccf29ddd] part of check-in [4bf89891] Support building for Windows 10 desktop using 'MinCore.lib'. (check-in: [4bf89891] user: mistachkin branch: trunk, size: 183849)
2016-01-23
01:54
[3cd1dbb6] part of check-in [39759a55] Cleanup localtime() support for Windows CE. (check-in: [39759a55] user: mistachkin branch: winCeLocalTime, size: 183487)
2015-12-02
20:22
[d5f32f01] part of check-in [e1fb33c7] Merge all recent trunk enhancements, especially the unix VFS changes. (check-in: [e1fb33c7] user: drh branch: apple-osx, size: 183588)
2015-11-21
17:27
[386fba30] part of check-in [198d191b] Fix over-length source code lines. No logic changes. (check-in: [198d191b] user: drh branch: trunk, size: 183358)
2015-11-19
19:48
[210580a9] part of check-in [2c9e5436] Merge the latest enhancements from trunk. (check-in: [2c9e5436] user: drh branch: apple-osx, size: 183591)
2015-11-17
21:42
[2d77dab5] part of check-in [4f521b5b] When using mmap mode on Win32, use a read-only mapping by default. Write to the database file using WriteFile(). Unless SQLITE_MMAP_READWRITE is defined, in which case use a read/write mapping and write into the file using memcpy(). (check-in: [4f521b5b] user: mistachkin branch: trunk, size: 183361)
2015-09-24
14:43
[1666013b] part of check-in [4dd06d8b] Merge recent trunk enhancements into the apple-osx branch. (check-in: [4dd06d8b] user: drh branch: apple-osx, size: 183521)
12:40
[1716291e] part of check-in [c6ab807b] Strengthen the implementations of xShmMemoryBarrier on both the unix and windows VFSes, so that they likely work even if SQLITE_THREADSAFE=0 is used. (check-in: [c6ab807b] user: drh branch: trunk, size: 183291)
2015-08-28
02:12
[8a586f1f] part of check-in [da864658] Merge trunk enhancements into the apple-osx branch. Most tests works, but there are yet a few issues to be resolved. (check-in: [da864658] user: drh branch: apple-osx, size: 183481)
2015-07-03
21:38
[40b3af7a] part of check-in [b202e2a1] Add static mutexes for use by the built-in / third-party VFSs and use the built-in VFS mutex where appropriate. (check-in: [b202e2a1] user: mistachkin branch: trunk, size: 183251)
2015-05-28
00:54
[27cc135e] part of check-in [a47ff0cd] Do not attempt to take any write lock on a read-only database on Windows. (check-in: [a47ff0cd] user: drh branch: trunk, size: 183257)
2015-05-12
19:53
[97f7828a] part of check-in [b33f1bac] Fix typo in Win32 VFS code enabled when the SQLITE_WIN32_USE_UUID compile-time option is used. (check-in: [b33f1bac] user: mistachkin branch: trunk, size: 183077)
2015-04-30
12:31
[2da99cf0] part of check-in [93ce2bca] Fix signed/unsigned comparison compiler warnings. Add the SQLITE_OMIT_RANDOMNESS compile-time option to cause the PRNG to be seeded identically on every run, for testing purposes. (check-in: [93ce2bca] user: drh branch: trunk, size: 183069)
2015-04-29
16:50
[59972cd5] part of check-in [48f553b0] Use sqlite3_malloc64() in place of sqlite3_malloc() internally. (check-in: [48f553b0] user: drh branch: trunk, size: 182973)
2015-04-16
03:24
[c2f0b0b3] part of check-in [cd154266] Merge updates from trunk. Make OSTRACE changes work on Linux. (check-in: [cd154266] user: mistachkin branch: winTest, size: 182971)
2015-04-01
16:13
[93f86628] part of check-in [71b6f507] Merge all recent trunk fixes and enhancements into the apple-osx branch. (check-in: [71b6f507] user: drh branch: apple-osx, size: 183102)
01:26
[eeb317cd] part of check-in [5c965a71] The build is still broken. Multiple definitions of sqlite3OSTrace when compiled using separate source files. (check-in: [5c965a71] user: drh branch: winTest, size: 183210)
2015-03-31
19:40
[03d27be3] part of check-in [a828e73d] On windows, flush the mapping view when syncing content to disk. (check-in: [a828e73d] user: drh branch: trunk, size: 182872)
19:17
[87ae49ff] part of check-in [fa7916b6] Set the winShm.id member when it is going to be traced. (check-in: [fa7916b6] user: mistachkin branch: winTest, size: 182223)
19:06
[6c4752b5] part of check-in [f79c236f] Build fixes for OSTRACE enhancements. (check-in: [f79c236f] user: mistachkin branch: winTest, size: 182135)
17:32
[23c2d1fa] part of check-in [5d533eee] Change the sqlite3_log() message generated on a retry after delay in os_win to be an SQLITE_NOTICE instead of SQLITE_IOERR. (check-in: [5d533eee] user: drh branch: trunk, size: 181885)
2015-03-30
23:52
[c93a12ed] part of check-in [4d42bf5e] Merge the latest trunk enhancements, and especially the fix for the infinite loop on a DROP TABLE in a corrupt database, into the apple-osx branch. (check-in: [4d42bf5e] user: drh branch: apple-osx, size: 182114)
2015-03-27
18:22
[1e39f146] part of check-in [45acf6a8] Merge updates from trunk. (check-in: [45acf6a8] user: mistachkin branch: winViewFlush, size: 182871)
18:20
[865ba158] part of check-in [ab580029] Enhancements to OSTRACE usage in the Win32 VFS. (check-in: [ab580029] user: mistachkin branch: trunk, size: 181884)
2015-03-26
23:36
[af359cc1] part of check-in [df204049] When syncing a memory mapped file on Windows, flush the mapped view as well. (check-in: [df204049] user: mistachkin branch: winViewFlush, size: 181926)
15:27
[f65255fd] part of check-in [b5da0d93] Provide source code line numbers for errors in the Windows VFS generated by the winLogIoerr() routine. (check-in: [b5da0d93] user: drh branch: trunk, size: 180687)
2015-02-06
16:03
[1d1ef630] part of check-in [44711921] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [44711921] user: drh branch: apple-osx, size: 180836)
2015-01-21
00:48
[8223e7db] part of check-in [26190b3c] Enhancements to entropy generation for the Win32 VFS. (check-in: [26190b3c] user: mistachkin branch: trunk, size: 180606)
2015-01-16
19:35
[a5ac9e24] part of check-in [cab46fb7] Fix harmless compiler warning. (check-in: [cab46fb7] user: mistachkin branch: msvcWarn, size: 179581)
2015-01-02
19:17
[659d2ea5] part of check-in [df3cdf9f] Merge the latest changes from trunk into the apple-osx branch. (check-in: [df3cdf9f] user: drh branch: apple-osx, size: 179799)
2014-12-20
22:21
[91d3d08e] part of check-in [b9330b88] Support manually disabling overlapped file I/O for Windows sub-platforms other than Windows CE. (check-in: [b9330b88] user: mistachkin branch: trunk, size: 179569)
2014-12-16
00:29
[76068f9d] part of check-in [2c1d8dda] Merge latest fixes and enhancements from trunk into apple-osx. (check-in: [2c1d8dda] user: drh branch: apple-osx, size: 179522)
2014-12-10
17:34
[ecb04a0d] part of check-in [eacb3b7b] Revise mutex handling by the sqlite3_win32_reset_heap() function. (check-in: [eacb3b7b] user: mistachkin branch: trunk, size: 179292)
2014-11-18
21:27
[1a38ad12] part of check-in [ccb601f6] Merge recent trunk enhancements. (check-in: [ccb601f6] user: drh branch: apple-osx, size: 179518)
2014-11-04
19:37
[a9e500dd] part of check-in [1fc7e2f3] For the Win32 VFS, allow memory mapped files to work when compiled without WAL support. (check-in: [1fc7e2f3] user: mistachkin branch: winMmapNoWal, size: 179288)
2014-10-17
12:11
[752a65dc] part of check-in [aa7bbed1] Merge the 3.8.7 changes into the apple-osx branch. (check-in: [aa7bbed1] user: drh branch: apple-osx, size: 179141)
2014-10-16
18:34
[a019caaa] part of check-in [1418c006] Changes to work around Win32 and MSVCRT APIs that are not present on Windows CE 200x. (check-in: [1418c006] user: mistachkin branch: trunk, size: 178911)
2014-09-21
23:08
[1f331fe6] part of check-in [3967ebe8] Merge in all recent changes from trunk. (check-in: [3967ebe8] user: drh branch: apple-osx, size: 179007)
2014-09-06
16:39
[0a4042ef] part of check-in [e62aab5e] Fix typos in comments. No code changes. (check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 178777)
2014-09-05
05:58
[3c9f7df7] part of check-in [73311906] Fix harmless compiler warning. (check-in: [73311906] user: mistachkin branch: trunk, size: 178783)
2014-09-02
15:57
[07c93644] part of check-in [696dc935] Merge the latest trunk changes into the apple-osx branch. (check-in: [696dc935] user: drh branch: apple-osx, size: 178931)
2014-09-01
19:29
[2aa8aa77] part of check-in [be0a0372] For sqlite3_win32_is_nt(), assume WinRT is NT-based and revise #ifdef ordering to prefer the ANSI version of GetVersionEx, when available. (check-in: [be0a0372] user: mistachkin branch: trunk, size: 178701)
2014-08-26
02:02
[85795ec8] part of check-in [5c273111] Merge recent performance enhancements and the CAST operator enhancements into the apple-osx branch. (check-in: [5c273111] user: drh branch: apple-osx, size: 178637)
2014-08-25
13:27
[08ce5616] part of check-in [dfdc900f] Merge the recent performance enhancements implemented on trunk into the threads branch. (check-in: [dfdc900f] user: drh branch: threads, size: 178500)
2014-08-22
19:12
[b979aabc] part of check-in [9fe0f075] Revise #ifdef ordering to prefer the ANSI version of GetVersionEx, when available. (check-in: [9fe0f075] user: mistachkin branch: winrt, size: 178608)
2014-08-21
19:11
[81700566] part of check-in [2f59e71f] For sqlite3_win32_is_nt(), assume WinRT is NT-based. (check-in: [2f59e71f] user: mistachkin branch: winrt, size: 178608)
2014-08-14
18:31
[d067fce5] part of check-in [cc910b8e] Fix compiler warnings on WinCE. (check-in: [cc910b8e] user: mistachkin branch: winCeWarn, size: 178407)
14:02
[058cefbe] part of check-in [a608fd1d] Merge the pre-3.8.6 changes into the threads branch. (check-in: [a608fd1d] user: drh branch: threads, size: 178461)
13:39
[90d3fb97] part of check-in [08058df3] Merge the pre-3.8.6 changes from trunk into the apple-osx branch. (check-in: [08058df3] user: drh branch: apple-osx, size: 178598)
2014-08-12
16:13
[1c936c7b] part of check-in [67159912] Fix compilation issue in the Win32 VFS when manually defining SQLITE_WIN32_NO_ANSI. (check-in: [67159912] user: mistachkin branch: trunk, size: 178368)
13:32
[71e08fd8] part of check-in [169fc47e] Remove support for Win9x. (check-in: [169fc47e] user: drh branch: drop-win9x-support, size: 163212)
2014-08-11
17:51
[e0260a7b] part of check-in [fd222176] Modify GetVersionEx Win32 VFS fix for use with the test suite. (check-in: [fd222176] user: mistachkin branch: trunk, size: 178250)
17:41
[80e4b93c] part of check-in [87ef9e2f] Further clarification and typo fixes for the previous comment change. (check-in: [87ef9e2f] user: drh branch: trunk, size: 178166)
17:40
[f8affe82] part of check-in [69714287] Clarify the comment explaining the meaning of the SQLITE_WIN32_GETVERSIONEX macro in the Windows VFS. (check-in: [69714287] user: drh branch: trunk, size: 178169)
17:38
[d37c3e70] part of check-in [1a0d466d] Fix for #ifdef issue with GetVersionEx in the Win32 VFS. (check-in: [1a0d466d] user: mistachkin branch: trunk, size: 178338)
2014-08-06
11:57
[3fca1bfd] part of check-in [ab1a751e] On the windows VFS, do not try to make InterlockedCompareExchange an overloadable function, since sometimes it is a macro. (check-in: [ab1a751e] user: drh branch: trunk, size: 177789)
03:06
[dddffe56] part of check-in [7be244ce] In the Win32 VFS, work around InterlockedCompareExchange() being a macro on some platforms (e.g. x64). (check-in: [7be244ce] user: mistachkin branch: trunk, size: 178006)
02:03
[9a7fda78] part of check-in [a353a851] Merge all recent changes from trunk. (check-in: [a353a851] user: drh branch: threads, size: 177884)
01:51
[6df6b557] part of check-in [b2e01080] Merge 3.8.6 beta changes in from trunk. (check-in: [b2e01080] user: drh branch: apple-osx, size: 178021)
2014-08-02
20:44
[e5f0fc44] part of check-in [ba782654] Remove (newly) incorrect preprocessor check to fix build on WinRT. (check-in: [ba782654] user: mistachkin branch: trunk, size: 177791)
2014-07-31
18:54
[c67bec43] part of check-in [1e5489fa] Optimizations to the OS sub-type checking in the Win32 VFS. (check-in: [1e5489fa] user: mistachkin branch: trunk, size: 177904)
2014-07-30
14:44
[c4d89c7e] part of check-in [5b50a838] Merge recent trunk changes, and especially the fix for the CREATE UNIQUE INDEX problem of ticket [9a6daf340df99ba9]. (check-in: [5b50a838] user: drh branch: threads, size: 177651)
11:49
[1414edca] part of check-in [654c6c65] Merge all recent trunk changes, and especially the R-Tree IN operator fix of ticket [d2889096e7bdeac]. (check-in: [654c6c65] user: drh branch: apple-osx, size: 177788)
2014-07-29
05:49
[c29e3a80] part of check-in [18984c32] Enhancements and updates to the Win32 mutex subsystem. (check-in: [18984c32] user: mistachkin branch: winMutex, size: 177558)
00:23
[047e9031] part of check-in [2773a5f9] Fix the build on windows. (check-in: [2773a5f9] user: drh branch: threads, size: 177313)
2014-06-17
18:43
[20a15a88] part of check-in [d22c8142] Experimental changes to use GetFileInformationByHandle instead of GetFileSize in the Win32 VFS. (check-in: [d22c8142] user: mistachkin branch: filesize-debug, size: 97934)
2014-06-05
13:22
[5f8c5568] part of check-in [e4b01676] Bring the threads branch up-to-date with the 3.8.5 release. (check-in: [e4b01676] user: drh branch: threads, size: 177509)
12:53
[43b07515] part of check-in [2dbdfa51] Merge in the 3.8.5 release changes and the FTS integrity-check fix. (check-in: [2dbdfa51] user: drh branch: apple-osx, size: 177646)
2014-05-30
16:42
[8dbf6c11] part of check-in [ed5a9eb4] Add tests for the invalid file handle detection logic in the winLock() function. (check-in: [ed5a9eb4] user: mistachkin branch: winLockHandle, size: 177416)
2014-05-29
20:36
[26d49ff4] part of check-in [b9fad449] Merge trunk changes into the apple-osx branch. (check-in: [b9fad449] user: drh branch: apple-osx, size: 177033)
20:24
[cf4f35cd] part of check-in [416cb091] Merge changes from the trunk into the threads branch. (check-in: [416cb091] user: drh branch: threads, size: 176896)
2014-05-28
03:27
[a5b9ed90] part of check-in [d43e2e59] Revise locking retry semantics in Win32 VFS to abort early if the file handle is reported as invalid. (check-in: [d43e2e59] user: mistachkin branch: winLockHandle, size: 177092)
03:23
[648f8428] part of check-in [c405f971] Revise how OSTRACE reports logically boolean results in the Win32 VFS. (check-in: [c405f971] user: mistachkin branch: trunk, size: 176803)
2014-05-19
15:16
[fe93fe89] part of check-in [17349a49] Changes to help ensure that a multiplication does not overflow when computing the number of bytes needed for a memory allocation, and cause a malfunction. No problems existing problems were discovered. However, these changes should help to ensure that no problems arise in the future. (check-in: [17349a49] user: drh branch: safer-malloc, size: 176847)
2014-05-09
15:00
[b8c28aba] part of check-in [9ac8f1e7] Merge the latest trunk changes into the threads branch. (check-in: [9ac8f1e7] user: dan branch: threads, size: 176915)
00:36
[5024065c] part of check-in [360c0fd1] Fix several harmless compiler warnings. (check-in: [360c0fd1] user: mistachkin branch: winPreCache, size: 178993)
2014-05-08
23:01
[31f80c90] part of check-in [9411d7dc] Initial attempt to merge in all trunk changes over the previous 1.5 years. This check-in compiles but there are compiler warnings and "make test" segfaults after only running a few test modules. (check-in: [9411d7dc] user: drh branch: apple-osx, size: 177052)
22:15
[b9c5bcee] part of check-in [dc7f84df] Fix typos in logging code. (check-in: [dc7f84df] user: mistachkin branch: winPreCache, size: 178727)
22:08
[c9a60c0c] part of check-in [37e60d21] Fix a memory leak of the temporary read buffer. (check-in: [37e60d21] user: mistachkin branch: winPreCache, size: 178727)
22:05
[59befa19] part of check-in [a60c545f] Update comments and only include the thread routine when required. (check-in: [a60c545f] user: mistachkin branch: winPreCache, size: 178653)
22:01
[70e5fd4b] part of check-in [38cbcedb] Experimental changes to pre-cache a database file prior to it being fully opened. (check-in: [38cbcedb] user: mistachkin branch: winPreCache, size: 178632)
2014-05-05
17:45
[485d06a9] part of check-in [a3cfd813] Merge updates from trunk. (check-in: [a3cfd813] user: mistachkin branch: winHdr, size: 176822)
2014-05-02
21:42
[63321657] part of check-in [598a3875] Merge updates from trunk. (check-in: [598a3875] user: mistachkin branch: winIoRetry, size: 176842)
21:38
[089fcb45] part of check-in [c4d1d8a0] Merge updates from trunk. (check-in: [c4d1d8a0] user: mistachkin branch: winHdr, size: 175273)
19:12
[187fad4d] part of check-in [d7ed529f] Fix typo in Windows makefile. Make sure the WaitForSingleObjectEx system call is always available. (check-in: [d7ed529f] user: mistachkin branch: threads, size: 175386)
2014-04-22
19:42
[1662c40d] part of check-in [ffceacf6] Change from using the win32-none VFS to just a query parameter. (check-in: [ffceacf6] user: drh branch: win32-none, size: 175848)
19:34
[8c74fd4c] part of check-in [be292d55] Add some OSTRACE calls for consistency. (check-in: [be292d55] user: mistachkin branch: win32-none, size: 176844)
19:30
[a49ee67a] part of check-in [03e3c5a8] Add the win32-none VFS which omits rollback-journal locking. (check-in: [03e3c5a8] user: drh branch: win32-none, size: 176652)
2014-03-13
15:41
[8245fe91] part of check-in [d17231b6] Merge latest trunk changes into this branch. (check-in: [d17231b6] user: dan branch: threads, size: 175489)
2014-03-06
00:30
[e71678ac] part of check-in [29b0a4f1] Better loadable extension handling in the Win32 VFS when compiled for Cygwin. (check-in: [29b0a4f1] user: mistachkin branch: trunk, size: 175293)
2014-02-27
05:47
[fe239cec] part of check-in [ed0bfcfa] Merge updates from trunk. (check-in: [ed0bfcfa] user: mistachkin branch: winIoRetry, size: 176350)
2014-02-24
21:42
[c47f107f] part of check-in [2477b3a2] Fix several small style/consistency issues with the previous check-in. (check-in: [2477b3a2] user: mistachkin branch: trunk, size: 174801)
21:23
[9ce04372] part of check-in [854d410a] Merge updates from trunk. (check-in: [854d410a] user: mistachkin branch: cygDlOpen, size: 175294)
21:20
[166d2f19] part of check-in [53081e72] Enhance testing support for the Win32 VFS dynamic extension loading facilities. (check-in: [53081e72] user: mistachkin branch: trunk, size: 174802)
2014-02-21
10:48
[8099d606] part of check-in [09cf240a] Merge updates from trunk. (check-in: [09cf240a] user: mistachkin branch: winHdr, size: 174601)
05:44
[23bd567f] part of check-in [6676475c] Better loadable extension handling in the Win32 VFS when compiled for Cygwin. (check-in: [6676475c] user: mistachkin branch: cygDlOpen, size: 174979)
2014-02-18
05:18
[5c0f315a] part of check-in [adba783c] Enhance the Win32 VFS I/O retry logic. (check-in: [adba783c] user: mistachkin branch: winIoRetry, size: 176170)
2014-02-05
11:05
[d4284f00] part of check-in [4a4dd371] In the Win32 VFS, the winSysInfo variable should be static. (check-in: [4a4dd371] user: mistachkin branch: trunk, size: 174621)
2014-01-14
10:17
[1b21af72] part of check-in [1e131094] For the Win32 VFS, defining winShmMutexHeld should be controlled by NDEBUG, not SQLITE_DEBUG. (check-in: [1e131094] user: mistachkin branch: trunk, size: 174614)
2013-12-09
21:48
[16eac096] part of check-in [c43b59da] Correct the VFS name as reported by the file control when explicitly using the 'win32-longpath' VFS. (check-in: [c43b59da] user: mistachkin branch: trunk, size: 174619)
2013-12-06
15:37
[f149798a] part of check-in [8759a8e4] Add code to detect if the database file is moved or deleted out from under SQLite and return an SQLITE_IOERR_NODB. (check-in: [8759a8e4] user: drh branch: detect-moved-db, size: 174646)
2013-11-27
03:01
[4323dd0b] part of check-in [0ea9e472] Avoid using the GetVersionEx functions if they are considered deprecated. (check-in: [0ea9e472] user: mistachkin branch: vs2013, size: 174602)
2013-11-26
00:33
[99a5668c] part of check-in [c5ab4378] Merge updates from trunk. (check-in: [c5ab4378] user: mistachkin branch: winHdr, size: 173559)
00:28
[cb3f2620] part of check-in [9954327c] Better support for UTF-8 paths on Cygwin. (check-in: [9954327c] user: mistachkin branch: trunk, size: 173579)
2013-11-25
09:36
[423d8f81] part of check-in [0d42c6b8] Initial work on isolating usage of the Windows header file. (check-in: [0d42c6b8] user: mistachkin branch: winHdr, size: 172820)
2013-11-24
23:18
[1f7cc110] part of check-in [484162b6] Better support for UTF-8 paths on Cygwin. (check-in: [484162b6] user: mistachkin branch: cygUtf8, size: 173388)
2013-11-23
00:27
[39e9fc08] part of check-in [f09f11e9] Add experimental sqlite3_config option to control the native Win32 heap size. (check-in: [f09f11e9] user: mistachkin branch: winHeapSize, size: 173031)
2013-11-11
02:46
[ef091b34] part of check-in [e6ff492f] Fix several harmless compiler warnings. (check-in: [e6ff492f] user: mistachkin branch: trunk, size: 172840)
01:42
[77c84dde] part of check-in [aaed7d1d] Modify a HeapValidate assert in the Win32 native allocator. (check-in: [aaed7d1d] user: mistachkin branch: trunk, size: 172828)
2013-11-10
00:03
[2027d0a4] part of check-in [023233f1] Fix typo in comment and remove superfluous blank line. No changes to code. (check-in: [023233f1] user: mistachkin branch: trunk, size: 172831)
2013-11-09
23:55
[41bf0e50] part of check-in [a5805976] Fix compilation errors with some compilers that do not reference recent Windows SDK header files. (check-in: [a5805976] user: mistachkin branch: trunk, size: 172832)
21:11
[846def34] part of check-in [3fefe4dd] Use the UNICODE_STRING_MAX_CHARS constant from WinNT.h. (check-in: [3fefe4dd] user: mistachkin branch: win32heap, size: 172514)
21:10
[4b18ebe9] part of check-in [674de36b] Furhter cleanup of the winGetTempname function. (check-in: [674de36b] user: mistachkin branch: win32heap, size: 172457)
2013-11-08
20:10
[0b867bef] part of check-in [fbf8c382] Add more assert() statements and fix compilation issues when the Win32 native heap is not enabled. (check-in: [fbf8c382] user: mistachkin branch: win32heap, size: 171607)
19:51
[1426ee90] part of check-in [e9694b87] Disable use of HeapCompact on Windows CE as it is not available on all versions. (check-in: [e9694b87] user: mistachkin branch: win32heap, size: 171120)
18:52
[c008edfb] part of check-in [37853665] Adjust the winMemInit return code handling used when resetting the Win32 native heap. (check-in: [37853665] user: mistachkin branch: win32heap, size: 171080)
18:37
[2a08242b] part of check-in [71347d02] Minor corrections to logging for sqlite3_win32_compact_heap(). (check-in: [71347d02] user: mistachkin branch: win32heap, size: 171095)
18:13
[265cd68f] part of check-in [c54dc967] Enhancements to the Win32 native heap integration. (check-in: [c54dc967] user: mistachkin branch: win32heap, size: 171001)
2013-11-07
22:11
[cf9fde55] part of check-in [9d870d5f] Fix temporary directory separator handling for Cygwin. (check-in: [9d870d5f] user: mistachkin branch: cygDirSep, size: 167511)
2013-10-16
11:31
[b159b524] part of check-in [9905cea9] Fix memory and resource leaks for WinCE and Cygwin, and a compiler warning on windows with SQLITE_THREADSAFE=0. (check-in: [9905cea9] user: drh branch: trunk, size: 167234)
09:49
[c812a3c3] part of check-in [2470d1bb] Fix memory/resource leaks for WinCE and Cygwin. (check-in: [2470d1bb] user: mistachkin branch: wince-fixes, size: 167231)
2013-10-11
05:51
[0fea05bc] part of check-in [7a2006ca] Fix compilation issue for WinRT. (check-in: [7a2006ca] user: mistachkin branch: trunk, size: 167166)
2013-09-13
23:27
[b8f54f42] part of check-in [d5fc3f1d] Fix Windows SDK compiler warning. (check-in: [d5fc3f1d] user: mistachkin branch: trunk, size: 167146)
2013-09-12
02:09
[0e73f891] part of check-in [75a8a8c1] For error log messages generated by the Win32 native allocator, make sure the correct format specifier is used for the value returned by GetLastError(). (check-in: [75a8a8c1] user: mistachkin branch: trunk, size: 166603)
01:47
[d18f670e] part of check-in [59708674] Fix a couple more harmless compiler warnings. (check-in: [59708674] user: mistachkin branch: trunk, size: 166596)
00:54
[af9db764] part of check-in [2b510614] Fix harmless compiler warning. (check-in: [2b510614] user: mistachkin branch: trunk, size: 166187)
2013-08-31
18:06
[bb592dfb] part of check-in [aa482846] Revise the amalgamation tool to allow 'duplicate' include files to be retained manually while still preserving the existing line numbers. (check-in: [aa482846] user: mistachkin branch: cygwinTempPath, size: 166174)
17:01
[896581ee] part of check-in [b1811baa] Enhancements to the Win32 API definition macros. (check-in: [b1811baa] user: mistachkin branch: cygwinTempPath, size: 166138)
02:48
[27ab5a22] part of check-in [c6f174a0] Improve the consistency of the diagnostic messages on Windows. (check-in: [c6f174a0] user: mistachkin branch: cygwinTempPath, size: 165790)
2013-08-30
21:52
[8e87c271] part of check-in [a411df72] Add support for Cygwin when handling temporary file names. Improve error codes and diagnostic messages for temporary file name handling on Windows. Rename winConvertUtf8Filename to winConvertFromUtf8Filename. Improve placement and comments for forward function declarations. (check-in: [a411df72] user: mistachkin branch: cygwinTempPath, size: 165734)
2013-08-28
05:49
[26d75273] part of check-in [37e85e44] Support database file names longer than 260 characters using the new 'win32-longpath' VFS variant. (check-in: [37e85e44] user: mistachkin branch: mmapDisabled, size: 161593)
02:37
[0b9ab09d] part of check-in [c3b82c5b] Make names of private functions in the Win32 VFS consistent. Fix comment typo in Win32 mutex implementation. (check-in: [c3b82c5b] user: mistachkin branch: mmapDisabled, size: 159629)
02:26
[7f8cabe0] part of check-in [fc98092f] Remove hard-coding of the directory separator in the Win32 VFS. Fixes to OSTRACE macros. (check-in: [fc98092f] user: mistachkin branch: mmapDisabled, size: 159456)
2013-08-26
23:18
[52bbfe7f] part of check-in [ec99224b] Preparation for further Windows path name handling changes. (check-in: [ec99224b] user: mistachkin branch: mmapDisabled, size: 158825)
20:45
[c05cd62a] part of check-in [0a497083] Change MAX_PATH related defines to use character lengths where WCHARs are used. (check-in: [0a497083] user: mistachkin branch: mmapDisabled, size: 158376)
2013-08-24
23:55
[339cdb88] part of check-in [bda4c47d] Several modifications to the use of the MAX_PATH macro on Windows to improve consistency. (check-in: [bda4c47d] user: mistachkin branch: mmapDisabled, size: 158226)
2013-07-31
23:28
[1d84f207] part of check-in [136fc293] Limit the number of memset() calls used when determining a temporary file name on Windows. Also, fix a harmless compiler warning. (check-in: [136fc293] user: mistachkin branch: trunk, size: 157882)
22:39
[3a74943b] part of check-in [33ba1f4c] Slight modifications to path name translation handling for Cygwin. (check-in: [33ba1f4c] user: mistachkin branch: trunk, size: 157499)
22:27
[aead0182] part of check-in [c93d891b] Use a new error code to represent a failure to get the configured temporary directory on Windows. (check-in: [c93d891b] user: mistachkin branch: trunk, size: 157199)
19:55
[d0e9774f] part of check-in [bb06e157] The MAX_PATH constant in windows is measured in characters, so multiple by 3 to get the number of bytes assuming worst-case UTF8 pathnames. (check-in: [bb06e157] user: drh branch: trunk, size: 156963)
2013-06-13
15:16
[074cb2b9] part of check-in [3a72af2a] Make the MIN() and MAX() macros available in sqliteInt.h. Add TUNING comments to the NGQP and adjust costs slightly. (check-in: [3a72af2a] user: drh branch: nextgen-query-plan-exp, size: 156486)
2013-05-23
01:40
[5f018dbd] part of check-in [76117792] Cause the mmap_size PRAGMA to immediately change the mmap space if the database connection is already active. In particular, reducing mmap_size will immediately free up process address space. (check-in: [76117792] user: drh branch: trunk, size: 156600)
2013-05-17
12:10
[32b8adca] part of check-in [1def4ea3] In os_unix.c and os_win.c, initialize the default mmap-limit of a new file descriptor to the current global default mmap-limit, not the current global maximum allowable mmap-limit. (check-in: [1def4ea3] user: dan branch: trunk, size: 156312)
2013-05-16
12:41
[2076d4d1] part of check-in [6d45a79f] Fix compilation with SQLITE_OMIT_WAL on Win32. (check-in: [6d45a79f] user: mistachkin branch: trunk, size: 156312)
2013-05-09
18:12
[4e2bf076] part of check-in [cf5c3642] Add assert()s to the implementation of xRead() in the built-in VFSes to verify that the offset parameter is always non-negative. (check-in: [cf5c3642] user: drh branch: trunk, size: 156312)
2013-04-29
03:09
[bf297963] part of check-in [05ba5e23] More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. (check-in: [05ba5e23] user: mistachkin branch: winOsTrace, size: 156289)
2013-04-28
01:44
[79bf8963] part of check-in [b347b5d1] Initial work on reforming usage of OSTRACE by the Windows VFS. (check-in: [b347b5d1] user: mistachkin branch: winOsTrace, size: 156208)
2013-04-15
20:08
[673b3e3d] part of check-in [f4b8faab] Expand scope of the SQLITE_MAX_MMAP_SIZE define for the Win32 VFS. (check-in: [f4b8faab] user: mistachkin branch: trunk, size: 150075)
17:03
[873bbc5d] part of check-in [ea1404a1] Refactoring the mmap interface. The controlling pragma is now "mmap_size" instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and SQLITE_FCNTL_MMAP_SIZE, respecctively. The default mmap_size is now always 0, meaning that memory mapped I/O is off by default. There is a new compile-time option SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size. Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic and causes it to be omitted from the build. An extra argument is added to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we know that it does not work, meaning that it cannot be turned on by mistake on those platforms. (check-in: [ea1404a1] user: drh branch: trunk, size: 149871)
2013-04-11
22:52
[190be0e6] part of check-in [daa168f3] Expand scope of the SQLITE_DISABLE_MMAP define for the Win32 VFS. (check-in: [daa168f3] user: mistachkin branch: winDisableMmap, size: 150000)
19:04
[c9699093] part of check-in [86f26f91] Increase the version number to 3.7.16.2 and cherrypick the fix for ticket [7ff3120e4fa54abb55]. This check-in is a release candidate. (check-in: [86f26f91] user: drh branch: branch-3.7.16, size: 140924)
18:28
[42656347] part of check-in [dd3510bb] Fix the xCheckReservedLock() method on the windows VFS so that it cannot return a false positive when two or more processes use it at the same time on the same file. Ticket [7ff3120e4fa54abb55] (check-in: [dd3510bb] user: drh branch: trunk, size: 149795)
2013-04-09
16:19
[3aec291c] part of check-in [c1e2523c] Add extra #ifndef statements in os_unix.c and os_win.c to make sure the memory mapped I/O really is disabled when SQLITE_DISABLE_MMAP is set. (check-in: [c1e2523c] user: drh branch: trunk, size: 149794)
2013-04-04
00:40
[3265df8c] part of check-in [fff2be60] Try to use mmap() to speed access to the database file on windows, linux, and mac. (check-in: [fff2be60] user: drh branch: trunk, size: 149512)
2013-04-03
13:09
[1d0ccc18] part of check-in [2d9f1327] Change the mmap_limit pragma to report the new limit, or to report the existing limit if called with no arguments. Report the default mmap_limit as part of PRAGMA compile_options. Set the default mmmap_limit to 0 for all systems other than linux, mac, windows, and solaris. (check-in: [2d9f1327] user: drh branch: experimental-mmap, size: 149508)
10:50
[6718b053] part of check-in [24bab759] Initialize the mmap_limit of temporary files to the configured mmap_limit. (check-in: [24bab759] user: drh branch: experimental-mmap, size: 149425)
2013-04-02
20:13
[6a7a1017] part of check-in [4eeea583] Add assert to the Windows VFS pertaining to the size of the SIZE_T type. (check-in: [4eeea583] user: mistachkin branch: experimental-mmap, size: 149424)
14:37
[6822b2cd] part of check-in [fd6ee549] Fix a faulty assert() in the os_win.c VFS. (check-in: [fd6ee549] user: drh branch: experimental-mmap, size: 149351)
2013-04-01
18:25
[a2f41c9d] part of check-in [e3c63c31] Add a comment to xUnfetch on windows to say that the call to winUnmapfile() might be unnecessary. (check-in: [e3c63c31] user: drh branch: experimental-mmap, size: 149354)
18:15
[4cb9b262] part of check-in [0e44ed1b] In windows, round down the size of the memory mapped region to the next smaller multiple of the page size. (check-in: [0e44ed1b] user: drh branch: experimental-mmap, size: 149116)
17:56
[390653f5] part of check-in [ee4d188e] Bug fix in the winMapfile() subroutine: Be sure to record the map object handle in the sqlite3_file object. (check-in: [ee4d188e] user: drh branch: experimental-mmap, size: 149061)
17:22
[f705e7ce] part of check-in [a1653a25] Add xFetch and xUnfetch methods to the os_win.c VFS. (check-in: [a1653a25] user: drh branch: experimental-mmap, size: 149080)
2013-03-25
19:57
[e4f17ddf] part of check-in [a607d63f] Merge all recent trunk changes into the experimental-mmap branch. (check-in: [a607d63f] user: drh branch: experimental-mmap, size: 147174)
2013-03-23
12:15
[386f8c03] part of check-in [8870c4cc] In the winMremap VFS function, unmap the region prior to attempting to truncate the file. (check-in: [8870c4cc] user: mistachkin branch: experimental-mmap, size: 147171)
10:09
[8f7de004] part of check-in [f57a9c91] Do not unmap the mapped file region in winTruncate as there may be outstanding pointers to it. (check-in: [f57a9c91] user: mistachkin branch: experimental-mmap, size: 147056)
09:56
[46d2bbad] part of check-in [75a85a1c] Preliminary changes to support the xMremap VFS method on Windows. (check-in: [75a85a1c] user: mistachkin branch: experimental-mmap, size: 147111)
2013-03-21
21:20
[9fe5356f] part of check-in [6f6e2d50] Many spelling fixes in comments. No changes to code. (check-in: [6f6e2d50] user: mistachkin branch: trunk, size: 140923)
2013-03-01
23:24
[f7da4dc0] part of check-in [6b283833] Update the cygwin interface to use the newer 1.7 APIs instead of the 1.5 APIs. Also shorten over-length source code lines in os_win.c. (check-in: [6b283833] user: drh branch: trunk, size: 140920)
2013-02-15
04:21
[eabd00b8] part of check-in [843e1c54] Check for a NULL handle prior to manually calling winClose. (check-in: [843e1c54] user: mistachkin branch: trunk, size: 140963)
2013-02-13
22:54
[e27fafe8] part of check-in [ec13544c] On WinCE, fill in the winFile structure after winceCreateLock has succeeded. (check-in: [ec13544c] user: mistachkin branch: trunk, size: 140945)
2013-02-12
09:46
[e988c2de] part of check-in [09dfc0c9] Improve memory allocation error handling on WinCE. (check-in: [09dfc0c9] user: mistachkin branch: wince, size: 140956)
2013-02-07
05:12
[d19aae35] part of check-in [e1640876] Add the ability to skip defining the localtime() function when being compiled for WinCE. (check-in: [e1640876] user: mistachkin branch: trunk, size: 140586)
2012-12-06
19:01
[ce1f5db8] part of check-in [1a63b1d5] Add the SQLITE_FCNTL_TEMPFILENAME file control that asks the underlying VFS to return a new temporary filename. Per request from NSS team at Mozilla. (check-in: [1a63b1d5] user: drh branch: trunk, size: 140494)
2012-11-21
02:10
[6e55b48f] part of check-in [692ad3c0] In winDelete, determine that a file does not exist by checking for a last error of ERROR_FILE_NOT_FOUND or ERROR_PATH_NOT_FOUND. (check-in: [692ad3c0] user: mistachkin branch: winNotFound, size: 140175)
2012-11-20
15:06
[1003f13a] part of check-in [d4c36d49] Have the windows implementation of xDelete return SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist. The unix implementation was previously modified to behave this way. The current changes simply brings the two implementations into alignment. (check-in: [d4c36d49] user: drh branch: trunk, size: 139631)
2012-10-18
09:39
[43ec1285] part of check-in [018e09c7] Fix harmless compiler warnings. (check-in: [018e09c7] user: mistachkin branch: warnings, size: 139566)
2012-10-08
14:36
[28bd0277] part of check-in [1c2c0a28] Manually define the Win32 file-mapping APIs for WAL if SQLITE_WIN32_FILEMAPPING_API is defined. (check-in: [1c2c0a28] user: mistachkin branch: trunk, size: 139494)
2012-10-07
00:52
[8a549824] part of check-in [585e2070] Manually define the Win32 file-mapping APIs for WAL if SQLITE_WIN32_FILEMAPPING_API is defined. (check-in: [585e2070] user: mistachkin branch: winFileMapping, size: 139428)
2012-10-06
03:48
[44f39059] part of check-in [4b0facc1] Changes for WinRT compatibility. Also, allow version resource compilation and embedding to be disabled at compile-time. (check-in: [4b0facc1] user: mistachkin branch: trunk, size: 137998)
2012-09-28
10:57
[1e6b79be] part of check-in [6a5c59dd] Merge the latest trunk changes (PRAGMA busy_timeout and the ORDER BY query planner enhancements) into the apple-osx branch. (check-in: [6a5c59dd] user: drh branch: apple-osx, size: 137850)
2012-09-13
15:24
[90c7a1fe] part of check-in [eb0f1c29] Improved reporting of filename translation errors in the Windows VFS. (check-in: [eb0f1c29] user: mistachkin branch: trunk, size: 137620)
01:51
[d5f19e44] part of check-in [c1a85570] Allow SQLite to work on Win32 with SQLITE_OS_WINNT=0 as long as WAL is disabled. (check-in: [c1a85570] user: mistachkin branch: trunk, size: 136779)
2012-08-31
14:10
[4ee163ba] part of check-in [bc9b9cd0] Merge in latest trunk changes. (check-in: [bc9b9cd0] user: dan branch: apple-osx, size: 136123)
12:31
[5dec8fe8] part of check-in [527340ab] Changes for ERROR_PATH_NOT_FOUND in addition to ERROR_FILE_NOT_FOUND in winAccess(). (check-in: [527340ab] user: drh branch: trunk, size: 135893)
2012-08-28
04:20
[3a18cdb2] part of check-in [9ee39102] Issue a log message if the temporary directory has not been set when running on WinRT. (check-in: [9ee39102] user: mistachkin branch: trunk, size: 135858)
2012-08-25
10:01
[421cfe2f] part of check-in [9b19b847] Fix all known instances of 'repeated the' style typos in comments. No changes to code. (check-in: [9b19b847] user: mistachkin branch: trunk, size: 135695)
01:38
[6897cd39] part of check-in [6723add4] Merge all the latest trunk changes into the apple-osx branch. (check-in: [6723add4] user: drh branch: apple-osx, size: 135929)
2012-08-22
00:18
[88f8cc4f] part of check-in [1246f15b] Add assert to check that the memory block for the previous directory value was allocated via sqlite3_malloc or related function. (check-in: [1246f15b] user: mistachkin branch: win32SetDir, size: 135699)
2012-08-21
23:33
[c177b87e] part of check-in [600de08d] Added sqlite3_win32_set_directory API to assist in portability to WinRT. (check-in: [600de08d] user: mistachkin branch: win32SetDir, size: 135619)
17:36
[a7878531] part of check-in [c92b0fe1] Cherry-pick [555fc07]: Changes to the thread routines to disable them when threading is turned off using sqlite3_config(). Also merge all recent trunk changes. (check-in: [c92b0fe1] user: drh branch: threads, size: 134249)
2012-08-17
11:47
[b8fc6599] part of check-in [61b1ae12] Skip defining some WAL specific things in the Win32 VFS code when compiling without WAL support. Also, fix an example command line in the MSVC makefile. (check-in: [61b1ae12] user: mistachkin branch: trunk, size: 134053)
2012-08-16
11:24
[904f8515] part of check-in [f4125771] Update the threads branch to include all the latest trunk changes. (check-in: [f4125771] user: drh branch: threads, size: 134125)
2012-08-14
01:45
[370c6f33] part of check-in [1de2237d] Refer to the file mapping Win32 API functions only when absolutely necessary. (check-in: [1de2237d] user: mistachkin branch: trunk, size: 133929)
2012-08-13
22:05
[5de2e293] part of check-in [9888ce92] Refer to the WaitForSingleObjectEx and SetFilePointerEx Win32 functions only for platforms where they are going to be used. (check-in: [9888ce92] user: mistachkin branch: trunk, size: 133629)
2012-07-23
02:00
[f9f2a456] part of check-in [049b0411] Enhance implementation of the Win32 thread wait function. (check-in: [049b0411] user: mistachkin branch: threads, size: 133827)
2012-07-21
22:49
[89978301] part of check-in [793195d3] Add Win32 support to the internal threads interface. Also, add several asserts and fix a few typos. (check-in: [793195d3] user: mistachkin branch: threads, size: 133733)
2012-06-08
01:13
[85f7d60e] part of check-in [9d1b8515] Merge trunk changes into the apple-osx branch. (check-in: [9d1b8515] user: drh branch: apple-osx, size: 133861)
2012-06-04
05:18
[e3d3d3e2] part of check-in [eb29e2d9] When not compiling for WinRT, skip using a couple Win32 APIs unavailable when compiling with MinGW. (check-in: [eb29e2d9] user: mistachkin branch: winrt, size: 133631)
2012-05-31
22:12
[ce6b415a] part of check-in [54de739f] Update several APIs to enable compilation with newer revisions of WinRT. (check-in: [54de739f] user: mistachkin branch: winrt, size: 133633)
2012-05-17
21:04
[37e1b92f] part of check-in [224c65e4] Merge updates from trunk. (check-in: [224c65e4] user: mistachkin branch: winrt, size: 133161)
2012-05-10
12:09
[24b57b4a] part of check-in [e8770283] Merge in the legacy table constraint parsing fixes from trunk. (check-in: [e8770283] user: drh branch: apple-osx, size: 118114)
2012-05-07
20:28
[ce348d15] part of check-in [7a7466f4] Merge Windows directory checking changes from trunk. (check-in: [7a7466f4] user: mistachkin branch: winrt, size: 133163)
17:16
[412d6434] part of check-in [b08530e1] Simplify directory checking for winOpen and add checking to winDelete. (check-in: [b08530e1] user: mistachkin branch: win-check-dir, size: 117884)
13:15
[52455150] part of check-in [03875633] Do not do the AV retry loop on open if the file that is attempting to be opened is really a directory. (check-in: [03875633] user: drh branch: win-check-dir, size: 116870)
2012-04-18
05:57
[c3487c9c] part of check-in [ad5cd15f] Import all the latest trunk changes into the WinRT branch. Refactor and/or remove WinCE-specific macros and functions used for file locking to improve clarity of presentation. (check-in: [ad5cd15f] user: mistachkin branch: winrt, size: 131337)
2012-03-31
02:46
[12e76b4a] part of check-in [18ec60ca] Merge all the latest trunk changes into the apple-osx branch. (check-in: [18ec60ca] user: drh branch: apple-osx, size: 116663)
2012-03-30
16:44
[5e9e933a] part of check-in [196ca3a8] Avoid using the OVERLAPPED struct on WinCE. (check-in: [196ca3a8] user: mistachkin branch: trunk, size: 116433)
15:57
[c7b26b78] part of check-in [b3449186] Simplify the winRead and winWrite VFS functions to reduce the number of system calls. (check-in: [b3449186] user: drh branch: trunk, size: 115992)
12:27
[6f8080e7] part of check-in [10ce8467] Simplify the winRead and winWrite VFS functions to reduce the number of system calls. (check-in: [10ce8467] user: mistachkin branch: winrt, size: 131277)
2012-03-19
23:28
[d9654717] part of check-in [9598c2a3] Fix typo, use the syscall table for osOutputDebugStringA. (check-in: [9598c2a3] user: mistachkin branch: winrt, size: 130630)
2012-03-18
03:22
[aeb0aee1] part of check-in [32b5c20e] On Windows, when no temporary path is available, skip prepending the directory separator. (check-in: [32b5c20e] user: mistachkin branch: winrt, size: 130626)
2012-03-15
03:40
[9bbe851c] part of check-in [8693fb65] Add SQLITE_WIN32_HEAP_CREATE compiler define to control whether or not the Win32 native allocator will create an isolated heap for all allocated data. (check-in: [8693fb65] user: mistachkin branch: winrt, size: 130533)
2012-03-14
23:08
[a2e9d481] part of check-in [d3d07159] Fix macro issues for osGetProcessHeap and sqlite3_win32_write_debug. (check-in: [d3d07159] user: mistachkin branch: winrt, size: 129550)
20:20
[817bce5d] part of check-in [845aa46f] Fix typos, use #if instead of #ifdef when checking for the Win32 native heap validation define. (check-in: [845aa46f] user: mistachkin branch: winrt, size: 129540)
20:17
[7f5f9d8e] part of check-in [46c412a8] Avoid redefining macros. Enable use of the Win32 native heap on WinRT. Use the syscall table to call OutputDebugStringW and fix type casting warnings. (check-in: [46c412a8] user: mistachkin branch: winrt, size: 129504)
00:44
[ed4f4f5c] part of check-in [7354ae8f] Add experimental support for resolving relative database file paths using a fixed user-defined directory. (check-in: [7354ae8f] user: mistachkin branch: winrt, size: 128778)
2012-03-13
03:38
[c47a86a8] part of check-in [8083f616] Add assert to verify the number of characters to write in sqlite3_win32_write_debug. (check-in: [8083f616] user: mistachkin branch: winrt, size: 125565)
03:35
[30a479f3] part of check-in [7af88ad3] Defer creation of the sleep event object until it is needed. Added sqlite3_win32_write_debug and sqlite3_win32_sleep APIs to assist in portability to WinRT. (check-in: [7af88ad3] user: mistachkin branch: winrt, size: 125498)
01:30
[8e0c3142] part of check-in [fb7d8bf6] Cleanup the Windows syscall table, removing the unused CreateFileMapping entry. (check-in: [fb7d8bf6] user: mistachkin branch: winrt, size: 123506)
01:16
[3dc4b1a7] part of check-in [6b997d9c] More changes required to compile for WinRT using VS 11 beta. Also, replace more APIs with their WinRT alternatives. (check-in: [6b997d9c] user: mistachkin branch: winrt, size: 123599)
2012-03-07
20:11
[ca9ff634] part of check-in [27d6942c] When compiled for WinRT, use the CreateFile2 and LoadPackagedLibrary functions instead of CreateFile and LoadLibrary. (check-in: [27d6942c] user: mistachkin branch: winrt, size: 122087)
2012-03-05
22:52
[75d5de49] part of check-in [86c049a1] Add compile-time define to indicate if the VFS supports the concept of a current directory (as WinCE and WinRT do not). Avoid using the GetTempPath and GetFullPathName APIs on WinRT. Some tests still need adjustments. (check-in: [86c049a1] user: mistachkin branch: winrt, size: 120210)
2012-03-04
02:56
[a6f5e7b3] part of check-in [ed603d75] When creating the event used to sleep on WinRT, request the minimum access rights required for the desired operations on it (i.e. SYNCHRONIZE). (check-in: [ed603d75] user: mistachkin branch: winrt, size: 120063)
2012-03-03
13:15
[26867d8b] part of check-in [38df8fc1] When compiled for WinRT, avoid using MapViewOfFile and GetFileAttributes. Also, reset the private 'sleep' event handle when the VFS is cleaned up. (check-in: [38df8fc1] user: mistachkin branch: winrt, size: 120073)
2012-03-02
23:53
[bde6f186] part of check-in [9eb331be] When compiled for WinRT, avoid using the FORMAT_MESSAGE_ALLOCATE_BUFFER flag to FormatMessage (i.e. because LocalFree is unavailable). (check-in: [9eb331be] user: mistachkin branch: winrt, size: 119456)
22:38
[f6b9fa7a] part of check-in [3e7ba3dd] When running on Windows with an NT-based kernel, always use the LockFileEx/UnlockFileEx functions (with the correct flags). (check-in: [3e7ba3dd] user: mistachkin branch: winrt, size: 118993)
13:47
[7378d50e] part of check-in [a782d2dc] Add new Win32 APIs used to the system call table. Add error handling code for SetFilePointerEx. Make sure the last error number is saved from the call to GetFileInformationByHandleEx. (check-in: [a782d2dc] user: mistachkin branch: winrt, size: 117151)
00:00
[5593c84a] part of check-in [cbf23b46] Omit all ANSI APIs for winRT. (check-in: [cbf23b46] user: drh branch: winrt, size: 115450)
2012-03-01
22:44
[c7fc501c] part of check-in [119f251d] Use GetInformationByHandleEx() instead of GetFileSize() on winRT. (check-in: [119f251d] user: drh branch: winrt, size: 117003)
22:06
[f5d551ef] part of check-in [36efafc6] Use SetFilePointerEx() instead of SetFilePointer() on winRT. (check-in: [36efafc6] user: drh branch: winrt, size: 116494)
21:19
[b9c36459] part of check-in [bf897be0] Use WaitForSingleObjectEx() as a substitute for Sleep on winRT. (check-in: [bf897be0] user: drh branch: winrt, size: 116066)
2012-01-30
16:13
[f954207e] part of check-in [4f0997c7] Do not rely on the _WIN32_WINNT macro as vs2005 does not define it by default. Instead, always assume winNT unless the makefile explicitly sets SQLITE_OS_WINNT=0. (check-in: [4f0997c7] user: drh branch: nx-devkit, size: 115912)
2012-01-14
14:13
[30dce5f0] part of check-in [2cc414cd] Merge the latest trunk changes into the apple-osx branch. (check-in: [2cc414cd] user: drh branch: apple-osx, size: 115575)
2012-01-11
01:01
[5ac061ae] part of check-in [93a65776] Prevent winOpenSharedMemory from masking the real return code from its call to winOpen. Also, add asserts to check the double-zero termination of database file names. (check-in: [93a65776] user: mistachkin branch: trunk, size: 115345)
2012-01-10
00:24
[e344ccb7] part of check-in [38bc4236] Remove the BenignMalloc() from around the call to FCNTL_OVERWRITE. Add new ones around sqlite3OsDelete(). Fix an assert that causes problems for the nx-devkit. (check-in: [38bc4236] user: drh branch: trunk, size: 115076)
2012-01-08
12:32
[5f24afbc] part of check-in [429380f9] Make sure the shared-memory filename sythesized by os_win.c is double-zero terminated, so that it can be used with sqlite3_uri_parameter(). (check-in: [429380f9] user: drh branch: trunk, size: 115006)
2012-01-05
11:43
[88b35c8f] part of check-in [7cf568a1] Remove the SQLITE_FCNTL_SYNC_OMITTED cases from the unix and windows VFSes as they are no longer needed because of check-in [fd3822f1f2]. (check-in: [7cf568a1] user: drh branch: trunk, size: 114993)
2012-01-03
21:54
[d4eb8561] part of check-in [8a048423] Pull all the latest trunk changes over into the apple-osx branch. (check-in: [8a048423] user: drh branch: apple-osx, size: 115291)
14:50
[f1057db6] part of check-in [d73e93cf] Make sure filenames passed into sqlite3OsOpen() always have the extra zero-terminators needed by sqlite3_uri_parameter(). (check-in: [d73e93cf] user: drh branch: trunk, size: 115061)
2012-01-02
18:20
[0d3522dd] part of check-in [03d8362c] Remove the code that attempts to find the sector size from the OS and hardcode the xSectorSize methods of the unix and windows VFSes to return SQLITE_DEFAULT_SECTOR_SIZE, which is now set to 4096 unless overridden. (check-in: [03d8362c] user: drh branch: trunk, size: 115061)
2011-12-23
01:04
[569fe744] part of check-in [6191c5e4] Change the name ZERO_DAMAGE to the more descriptive POWERSAFE_OVERWRITE. The query parameter used to control this device characteristic is now "psow". (check-in: [6191c5e4] user: drh branch: statvfs, size: 117340)
00:25
[f45f03e4] part of check-in [d5e36327] Merge the latest trunk changes into the statvfs branch. (check-in: [d5e36327] user: drh branch: statvfs, size: 117327)
2011-12-21
14:42
[4fc4aa8a] part of check-in [c83627b7] Add the ability to enable or disable SQLITE_IOCAP_ZERO_DAMAGE using a URI parameter for both unix and windows. Add a file-control to query or disable the ZERO_DAMAGE setting. Add the -uri option to the "sqlite3" TCL command in tclsqlite3.c. Allow the sqlite3_uri_parameter() interface to accept a NULL pointer for its first parameter. (check-in: [c83627b7] user: drh branch: statvfs, size: 117457)
2011-12-17
19:49
[3cf34661] part of check-in [a0be6ea4] Add SQLITE_IOCAP_ZERO_DAMAGE and enable it for both unix and windows. Use this device characteristic to reduce the required work in journaling. A side effect is that this changes the default page exists back to 1024 even with the use of statvfs(). (check-in: [a0be6ea4] user: drh branch: statvfs, size: 116502)
2011-12-14
18:33
[197d23ce] part of check-in [da118e02] Merge the nx-devkit changes into trunk. This includes the new SQLITE_FCNTL_VFSNAME file-control. (check-in: [da118e02] user: drh branch: trunk, size: 116466)
17:53
[823f5585] part of check-in [cdbfb553] Add a file-control that will discover the name of the bottom-level VFS and all the shims in between. (check-in: [cdbfb553] user: drh branch: vfsname-filectrl, size: 115918)
00:37
[745cfae0] part of check-in [c65e5a36] Treat a zero return value from the Win32 APIs MultiByteToWideChar and WideCharToMultiByte as an error condition. (check-in: [c65e5a36] user: mistachkin branch: trunk, size: 116355)
2011-12-08
21:08
[4c546bde] part of check-in [59e0d4f3] Merge the latest trunk changes into the apple-osx branch. (check-in: [59e0d4f3] user: drh branch: apple-osx, size: 116437)
03:51
[8af100f7] part of check-in [a0d92193] Follow the previously established pattern for detecting preprocessor defines for specific flavors of Windows (for NT in this case). (check-in: [a0d92193] user: mistachkin branch: trunk, size: 116207)
2011-11-21
00:54
[6efe66a3] part of check-in [7e657bbb] Cleanup the semantics surrounding use of the GetLastError function on Windows. (check-in: [7e657bbb] user: mistachkin branch: winGetLastError, size: 116213)
2011-11-12
03:17
[a22b88d2] part of check-in [76dec8aa] Make sure to flag benign malloc failures in the Windows VFS as such. Expand use of the DO_OS_MALLOC_TEST to cover the VFS functions that can now return an out of memory error. Support an experimental --match option to the test suite that will run only those tests matching the specified pattern. (check-in: [76dec8aa] user: mistachkin branch: winSyscall, size: 115807)
2011-11-11
23:31
[ee8ba084] part of check-in [8966ec17] Remove use of malloc and free from the Windows VFS. Also, prevent sqlite3BtreeOpen from assuming that sqlite3OsFullPathname cannot fail. (check-in: [8966ec17] user: mistachkin branch: winSyscall, size: 115547)
22:08
[1d8fe13d] part of check-in [ed88fb00] Work in progress to implement the 'syscall' functionality for Windows. (check-in: [ed88fb00] user: mistachkin branch: winSyscall, size: 116367)
2011-11-10
21:45
[d6cf7186] part of check-in [8f287979] Expand passing of a last error argument to the getLastErrorMsg function. Also, remove unused SQLITE_W32_THREADS define. (check-in: [8f287979] user: mistachkin branch: trunk, size: 98815)
20:21
[a9190cb7] part of check-in [32ab3657] In winAccess, save the Win32 last error value prior to invoking user logging callback. Also, explicitly pass the Win32 last error value to winLogError in order to keep it accurate. Fixes a problem reported on the mailing list. (check-in: [32ab3657] user: mistachkin branch: trunk, size: 98804)
2011-11-09
18:07
[6749a95c] part of check-in [0c951a97] Omit an unnecessary Sleep() call in windows pending-lock retry logic. Enhance the comment on that logic to discourage people from copying it into other VFSes. (check-in: [0c951a97] user: drh branch: trunk, size: 98193)
2011-10-21
17:18
[4e61b811] part of check-in [be62ef05] Merge the latest trunk changes into the apple-osx branch. (check-in: [be62ef05] user: drh branch: apple-osx, size: 98265)
2011-10-13
14:05
[49d41891] part of check-in [17e4fde5] Make sure all non-API functions in os_win.c have file scope. Ticket [35c54c874987] (check-in: [17e4fde5] user: drh branch: trunk, size: 98035)
2011-10-12
23:13
[58c1cef8] part of check-in [c96651dd] The date/time functions return NULL if the xCurrentTime or xCurrentTimeInt64 VFS methods fail. Ticket [0b803bff856c644c] (check-in: [c96651dd] user: drh branch: trunk, size: 98014)
2011-10-11
14:19
[2d6f0e6f] part of check-in [7e2c4898] Merge the latest trunk changes into the apple-osx branch. (check-in: [7e2c4898] user: drh branch: apple-osx, size: 98202)
2011-10-10
23:53
[3fc8f4bb] part of check-in [6cb43f6c] Forward port the Apple-specific changes from [db5b7b778c] in the apple-osx-377 branch. Fix this up so that it will compile and run on Linux. (check-in: [6cb43f6c] user: drh branch: apple-osx, size: 98186)
22:11
[daa67fe0] part of check-in [db5b7b77] Merging in cherry picked diffs for persist wal, alloc padding, wal-safe vacuum and sqlite3_file_control based lockstate checking (check-in: [db5b7b77] user: adam branch: apple-osx-377, size: 88545)
2011-09-25
17:47
[fbe47c7f] part of check-in [4a153f01] If an open as read/write fails, do not try to reopen as read-only if in exclusive access mode. (check-in: [4a153f01] user: drh branch: stat3-trunk, size: 97972)
2011-09-16
20:43
[0fc0f46c] part of check-in [2e66e414] Fix #if's in winSync to avoid compiler warnings about unused local variables. Also, update version numbers in the MSVC makefile. (check-in: [2e66e414] user: mistachkin branch: trunk, size: 97956)
2011-09-02
15:08
[33b7b7b4] part of check-in [61bda876] Remove unused local variable. (check-in: [61bda876] user: mistachkin branch: trunk, size: 97726)
2011-08-30
01:23
[45de13c6] part of check-in [88b763e8] Make sure SQLITE_FCNTL_SIZE_HINT a no-op if the chunk size is not greater than zero. (check-in: [88b763e8] user: mistachkin branch: trunk, size: 97765)
2011-08-26
01:45
[86bcb5bd] part of check-in [50edc2f9] Disable checking the winMemData structure signature when compiled with NDEBUG. (check-in: [50edc2f9] user: mistachkin branch: winNativeHeap, size: 97677)
01:32
[dc2e61b0] part of check-in [1c2ecec8] Allow the Win32 native heap flags to be overridden at compile-time. (check-in: [1c2ecec8] user: mistachkin branch: winNativeHeap, size: 97550)
2011-08-25
01:58
[19fa0904] part of check-in [67ff8d27] Cherrypick the [d4f6437f8d] change so that SQLITE_FCNTL_SIZE_HINT is always honored and never undone by memory pressure on windows. (check-in: [67ff8d27] user: drh branch: trunk, size: 90802)
01:16
[7d27ec1e] part of check-in [d4f6437f] Make sure that SQLITE_FCNTL_SIZE_HINT on Windows does not shrink the file. (check-in: [d4f6437f] user: mistachkin branch: winNativeHeap, size: 97014)
2011-08-24
17:42
[f9958ef7] part of check-in [7fca5a28] Add error logging to native Win32 heap support. (check-in: [7fca5a28] user: mistachkin branch: winNativeHeap, size: 96820)
16:13
[a9950bf0] part of check-in [bf3d0ab5] Experimental work to allow SQLite to use the native Win32 heap API. (check-in: [bf3d0ab5] user: mistachkin branch: winNativeHeap, size: 95869)
2011-08-02
00:57
[4eb6fa00] part of check-in [9007586f] Add retry logic for AV defense to winOpen. Also, refactor test suite to allow the key Tcl file operations (e.g. copy and delete) to be retried. (check-in: [9007586f] user: mistachkin branch: winopen-retry-logic, size: 90608)
2011-07-28
20:48
[60af92b1] part of check-in [1b56677b] Merge changes for the new sqlite3_file_control() that will cause the -wal and -shm files to persist after the last database connection closes. (check-in: [1b56677b] user: mistachkin branch: trunk, size: 90225)
19:16
[f79cb7c3] part of check-in [93079a92] Remove redundant sub-expression from retry loop invariant in winAccess. Also, make check for SQLITE_ACCESS_READWRITE formally correct. (check-in: [93079a92] user: mistachkin branch: trunk, size: 89931)
07:34
[2d96ae3e] part of check-in [8a145863] Fix conditional for retry logic in winAccess and add missing call to logIoerr. (check-in: [8a145863] user: mistachkin branch: trunk, size: 89894)
2011-07-26
16:23
[7dd45f72] part of check-in [a9d8794a] Test cases added. Fix the query mode. (check-in: [a9d8794a] user: drh branch: persistent-wal-patch, size: 90166)
16:03
[313f48b6] part of check-in [e34c553b] Prototype change for a new sqlite3_file_control() that will cause the -wal and -shm files to persist after the last database connection closes. (check-in: [e34c553b] user: drh branch: persistent-wal-patch, size: 90163)
2011-07-22
21:25
[8449cb4c] part of check-in [a6b85c73] Add retry logic for AV defense to winAccess(). Also allow OS tracing to be enabled by a compile-time option. (check-in: [a6b85c73] user: drh branch: av-defense, size: 89872)
2011-07-13
16:03
[c5eadb2c] part of check-in [7aaf0a6a] Added the SQLITE_FCNTL_WIN32_AV_RETRY file control for configuring the retry counts and delays in the windows VFS. (check-in: [7aaf0a6a] user: drh branch: trunk, size: 89801)
2011-07-12
14:02
[57778b70] part of check-in [36f11acc] Revise logic in winDelete to check the file prior to attempting to delete it. (check-in: [36f11acc] user: mistachkin branch: av-defense, size: 89392)
13:51
[07050df9] part of check-in [ff0ff75c] Improvements to the logging that occurs on an antivirus I/O retry. (check-in: [ff0ff75c] user: drh branch: av-defense, size: 89110)
11:04
[4cea89f0] part of check-in [89f1848d] Update the anti-virus retry logic for DeleteFile(). Invoke sqlite3_log() for each anti-virus retry. Make the retry delay configurable at compile-time. (check-in: [89f1848d] user: drh branch: av-defense, size: 88954)
2011-07-11
18:17
[6ba8a531] part of check-in [c20aca06] Change the windows backend to retry read and write requests if the encounter ERROR_LOCK_VIOLATION and ERROR_SHARING_VIOLATION errors - which we think sometimes happens due to aggressive anti-virus software. (check-in: [c20aca06] user: drh branch: trunk, size: 89139)
2011-06-20
20:48
[eafcd6b9] part of check-in [3ee5d1a5] Add additional error check for disk full on Windows. (check-in: [3ee5d1a5] user: shaneh branch: trunk, size: 88251)
2011-05-17
20:36
[218b8994] part of check-in [96d60985] Add the ability to limit filenames to 8+3 using the SQLITE_ENABLE_8_3_NAMES compile-time option together with a URI parameter of "8_3_names=1". (check-in: [96d60985] user: drh branch: trunk, size: 88198)
2011-05-05
18:53
[ff0e1461] part of check-in [fe57a8f6] Have the xFullpath method in os_win.c discard the initial "/" if a filename begins with "/X:", where X is any alphabetic character. Also fix some test issues in uri.test. (check-in: [fe57a8f6] user: dan branch: uri, size: 88144)
2011-04-27
19:54
[4271f0bf] part of check-in [f55156c5] In windows, ignore ERROR_NOT_LOCKED when calling the read-lock removal routine. (check-in: [f55156c5] user: drh branch: trunk, size: 87908)
16:05
[0d2fb750] part of check-in [7b479b9b] Expose the UTF8 to MBCS conversion routine in os_win.c to external applications. (check-in: [7b479b9b] user: drh branch: trunk, size: 87874)
2011-04-15
20:18
[d149b9a7] part of check-in [8f99c5bf] Updates to test code in os_win to bring winSync inline with unixSync (test code only). Updated a few test scripts to account for dirsync counting issues on Windows. (check-in: [8f99c5bf] user: shaneh branch: trunk, size: 87849)
13:29
[96ab57a5] part of check-in [1cca9a49] Add retry logic to GetFileAttributesEx() on windows. (check-in: [1cca9a49] user: drh branch: experimental, size: 88023)
2011-04-13
23:42
[177a14a0] part of check-in [8332949c] Remove extra CR and NL characters from FormatMessage() generated error messages in the windows VFS. (check-in: [8332949c] user: drh branch: trunk, size: 87833)
20:26
[bcd4fbe3] part of check-in [fe603217] Add new extended error codes for I/O errors on seek and shared-memory map. Add sqlite3_log() calls in the windows backend to record details of errors. (check-in: [fe603217] user: drh branch: trunk, size: 87704)
2011-03-02
19:06
[24d72407] part of check-in [38558363] Add additional VFS methods to retrieve system call pointers and to get a list of all changeable system calls. (check-in: [38558363] user: drh branch: syscall-override, size: 85346)
15:09
[c2df806a] part of check-in [92b5a76a] Proof-of-concept prototype for the proposed xSetSystemCall extension method on the VFS. (check-in: [92b5a76a] user: drh branch: syscall-override, size: 85253)
2011-01-26
19:46
[9abdcdd9] part of check-in [6f2c72a0] Update all built-in VFSes to return SQLITE_OK for the SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the xFileControl methods to return SQLITE_NOTFOUND for unrecognized operation codes. (check-in: [6f2c72a0] user: drh branch: trunk, size: 85207)
2010-09-03
04:29
[2f90f7bd] part of check-in [f213e133] Reduce the amount of memory taken up by WAL mmaped regions under Windows. (check-in: [f213e133] user: shaneh branch: trunk, size: 85136)
2010-09-01
02:38
[6fb3447f] part of check-in [afdc82a9] Fix some compiler warnings under MSVC. (check-in: [afdc82a9] user: shaneh branch: trunk, size: 83758)
2010-08-24
20:46
[718a48ca] part of check-in [40526d83] Replicate asserts on unixOpen() to winOpen() in os_win.c. (check-in: [40526d83] user: shaneh branch: trunk, size: 83667)
2010-08-07
11:46
[ed741817] part of check-in [f88c6367] Merge in all changes up to the 3.7.0.1 release. (check-in: [f88c6367] user: drh branch: apple-osx, size: 80725)
2010-07-28
14:26
[51cb62f7] part of check-in [a038688c] Support FCNTL_CHUNK_SIZE on windows too. (check-in: [a038688c] user: dan branch: experimental, size: 81866)
2010-07-20
20:23
[1f8b0a1a] part of check-in [13ed106c] Added fix to os_win.c for race conditions from os_unix.c; added saving of errno in two places. (check-in: [13ed106c] user: shaneh branch: trunk, size: 80585)
2010-07-14
00:14
[61734aad] part of check-in [c2d27cf5] Change the name of the xShmClose VFS method to xShmUnmap, everywhere. (check-in: [c2d27cf5] user: drh branch: experimental, size: 80002)
2010-07-13
18:44
[3bb7e081] part of check-in [f4780bde] Changes so that the xShmOpen VFS method is no longer required. Its job can be done by the first call to xShmMap. Rename xShmClose to xShmUnmap. (check-in: [f4780bde] user: dan branch: experimental, size: 80002)
2010-07-12
20:46
[04c8828e] part of check-in [b73fe275] Updates to comments and code organization to reflect changes in os_unix.c; Updated winShmLock() with logic changes from unixShmLock(); Modified IO error returns in winShmMap() to match those in unixShmMap(); (check-in: [b73fe275] user: shaneh branch: trunk, size: 80022)
2010-07-08
03:13
[b39c2c26] part of check-in [0d53da94] Changes to os_win.c to have it simulate IO errors like os_unix.c. (check-in: [0d53da94] user: shaneh branch: trunk, size: 78100)
2010-07-07
14:45
[f0a56db5] part of check-in [8eefc287] Fixed a new error introduced by last check-in of os_win.c. Updated xAccess() to support SimulateIOError(). (check-in: [8eefc287] user: shaneh branch: trunk, size: 76400)
13:58
[c4b78554] part of check-in [4bfd46f1] Fix minor issue in xAccess() method for Windows. (check-in: [4bfd46f1] user: shaneh branch: trunk, size: 76189)
2010-07-06
20:33
[f0c97512] part of check-in [ca4b7ffb] Modified the xWrite() method on Windows to differentiate between IO and disk full error returns. (check-in: [ca4b7ffb] user: shaneh branch: trunk, size: 76073)
2010-07-05
21:00
[bdc05819] part of check-in [ec35f254] Modify the VFS xAccess() method on winNT so that it returns false for an exists test of a zero-length file. This makes the windows VFS work the same as the unix VFS. (check-in: [ec35f254] user: drh branch: trunk, size: 75865)
2010-07-03
17:13
[883caa09] part of check-in [51ec0e54] Remove the unused xRename() method from the sqlite3_vfs object. Add better documentation on the xCurrentTimeInt64() method. (check-in: [51ec0e54] user: drh branch: trunk, size: 75415)
2010-07-02
19:49
[dd4c6f23] part of check-in [33b6f069] Changes to os_win.c to have it return same error code as os_unix.c. (check-in: [33b6f069] user: shaneh branch: mistake, size: 75454)
17:05
[e82ed9e1] part of check-in [70833877] Fix some warnings when compiling under MSVC. (check-in: [70833877] user: shaneh branch: mistake, size: 75384)
2010-06-25
12:52
[48f67798] part of check-in [5995cb15] Change the name of the shared-memory file on windows from *-wal-index to *-shm, for consistency with unix. (check-in: [5995cb15] user: drh branch: trunk, size: 75360)
2010-06-23
17:58
[00385a83] part of check-in [a6dc0df3] Adjust the shared-memory locking range to account for the new version number values in the wal-index header. (check-in: [a6dc0df3] user: drh branch: trunk, size: 75366)
15:18
[e5b62352] part of check-in [51ef43b9] Fix the xCurrentTimeInt64 interface on windows. It was off by a factor of 10. (check-in: [51ef43b9] user: drh branch: trunk, size: 75366)
2010-06-19
18:12
[73608839] part of check-in [5a5ff4e3] Change the name of IOCAP_SAFE_DELETE to IOCAP_UNDELETABLE_WHEN_OPEN. Have the xDeviceCharacteristics() method of the win32 VFS return this flag. (check-in: [5a5ff4e3] user: dan branch: experimental, size: 75365)
2010-06-14
18:01
[dfde7d33] part of check-in [58dfd83d] Move the xShmMap method to in between xShmLock and xShmBarrier, since it seems to fit in there logically. (check-in: [58dfd83d] user: drh branch: trunk, size: 75332)
16:16
[3d761e33] part of check-in [13e7a824] Add the new xShmMap (formerly xShmPage) to os_win.c. (check-in: [13e7a824] user: dan branch: experimental, size: 75382)
2010-06-03
18:02
[0cf1f571] part of check-in [ed7774de] Performance fix for winShmClose(). (check-in: [ed7774de] user: drh branch: trunk, size: 77817)
2010-05-31
16:10
[f815403c] part of check-in [149a7082] Get the new xShmLock interface design working on os_win.c. (check-in: [149a7082] user: drh branch: wal-incr-ckpt, size: 77774)
2010-05-26
15:06
[81dd8f54] part of check-in [72de0073] Change the semantics of xShmGet() such that it will never increase the size of shared memory. xShmSize() must be used to grow the size of shared memory. A shared memory segment size cannot be shrunk (except by dropping it). (check-in: [72de0073] user: drh branch: trunk, size: 89341)
2010-05-25
13:40
[e300c8f8] part of check-in [40030c07] Update header comments in wal.c to correctly describe the WAL file format. Update the locking region offsets in os_unix.c and os_win.c and add assert() statement to verify that the locking region offsets are correct. (check-in: [40030c07] user: drh branch: trunk, size: 89489)
2010-05-20
23:51
[1e44ee84] part of check-in [1bd011c9] Add a new xShmBarrier method to the VFS - a shared-memory fence operation. Implement the same in both unix and win32. Use it to make the WAL subsystem more robust. (check-in: [1bd011c9] user: drh branch: trunk, size: 89489)
2010-05-19
23:41
[3c8cafd2] part of check-in [43377663] Merge WIN32 WAL support into trunk. Still some issues with locking to resolve. (check-in: [43377663] user: shaneh branch: trunk, size: 89017)
22:09
[bc65553f] part of check-in [776679af] Cherry-pick the SQLITE_FCNTL_SIZE_HINT patch (check-in [2b7e3b4a30d6a7c4a8] and bump the version number to 3.6.23.2. (check-in: [776679af] user: drh branch: branch-3.6.23, size: 56433)
19:39
[c067d641] part of check-in [9894118d] Add the SQLITE_FCNTL_SIZE_HINT to the os_win.c VFS. (check-in: [9894118d] user: drh branch: trunk, size: 56448)
2010-05-14
16:34
[e0a74dd6] part of check-in [4b69f2cd] Pull in all the latest changes from the trunk. Update the win32 SHM methods to work with the new interface design. (check-in: [4b69f2cd] user: drh branch: wal-win32, size: 88877)
11:30
[70c4a332] part of check-in [5fe529f2] Change the OSTRACEn() macro to OSTRACE(()). Also rename some internal fields and variables in os_unix.c to be more meaningful and searchable. (check-in: [5fe529f2] user: drh branch: trunk, size: 56308)
2010-05-12
17:14
[858e3834] part of check-in [76504726] Updates to WAL support in os_win.c: pulled in latest changes from src/os_unix.c; updated tracing; misc. improvements. (check-in: [76504726] user: shaneh branch: wal-win32, size: 87647)
2010-05-11
02:49
[0bd69843] part of check-in [111ad59f] Initial port of WAL VFS support from os_unix.c to os_win.c. (check-in: [111ad59f] user: shaneh branch: wal-win32, size: 87489)
2010-04-27
11:49
[a8fc01d8] part of check-in [ed715b47] Add the xShmRelease() method to the VFS. The os_unix.c implementation of the shared memory logic is still non-functional. (check-in: [ed715b47] user: drh branch: wal, size: 56293)
2010-04-26
00:04
[607b40e4] part of check-in [f5e615c2] Begin moving WAL-specific I/O into the VFS. This checkin contains VFS infrastructure but it is untested and is not yet hooked up to the WAL. The version number is bumped to 3.7.0 because of the VFS extension. (check-in: [f5e615c2] user: drh branch: wal, size: 56646)
2010-02-23
17:36
[1c7453c2] part of check-in [7c4cca6d] Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. (check-in: [7c4cca6d] user: drh branch: trunk, size: 56293)
2009-11-03
19:42
[5ffab202] part of check-in [01c4b5b8] Fix compiler warnings on MSVC build. (check-in: [01c4b5b8] user: shane branch: trunk, size: 56283)
2009-10-21
02:00
[d0290884] part of check-in [761396f8] For Windows VFS, modified xGetLastError() to call FormatMessage() with the FORMAT_MESSAGE_IGNORE_INSERTS option. Additionally updated to ensure strings are returned as UTF8. Ticket [39c85e8a4e]. (check-in: [761396f8] user: shane branch: trunk, size: 56279)
2009-09-10
20:23
[49a360be] part of check-in [f42ec993] Fixed some warnings and an assert in the WINCE code when compiling under MSVC. (check-in: [f42ec993] user: shane branch: trunk, size: 54999)
2009-08-17
15:52
[58bb163f] part of check-in [67ad21ab] Move error simulation code from the sqlite3_os_init() functions into a wrapper. (check-in: [67ad21ab] user: dan branch: trunk, size: 54894)
15:16
[a3e93d1b] part of check-in [904a371c] Add tests to check that sqlite recovers from an error in sqlite3_initialize() correctly. (check-in: [904a371c] user: dan branch: trunk, size: 55162)
2009-08-12
15:34
[6de69d8f] part of check-in [1f0a93e1] Fixed some compiler warnings in WINCE only sections when using the MSVC compiler. (check-in: [1f0a93e1] user: shane branch: trunk, size: 54953)
2009-08-05
04:08
[79bb3c59] part of check-in [a1c184cd] Simplified conditional for read-only lock in winceLockFile() function. Ticket #3991. (CVS 6958) (check-in: [a1c184cd] user: shane branch: trunk, size: 54487)
2009-04-23
19:08
[725c38a5] part of check-in [18fef3fc] os_win.c, winOpen(), changed to handle the SQLITE_OPEN_EXCLUSIVE flag and sharing modes in the same manner as os_unix.c. Ticket #3821. (CVS 6542) (check-in: [18fef3fc] user: shane branch: trunk, size: 54549)
2009-04-15
14:36
[c3d0354b] part of check-in [e203ad40] Fix access violation on WinCE platforms. Ticket #3804. (CVS 6509) (check-in: [e203ad40] user: shane branch: trunk, size: 54078)
2009-04-09
14:27
[25092e59] part of check-in [5350a658] Provide dummy DWORD arguments to output parameters of GetDiskFreeSpace(A|W), NULL causes access violations on Windows NT 4.0 (CVS 6477) (check-in: [5350a658] user: chw branch: trunk, size: 54170)
2009-03-31
03:41
[524fe4c3] part of check-in [76851417] Fix compiler warnings from gcc and MSVC; Correct typo in select.c; (CVS 6417) (check-in: [76851417] user: shane branch: trunk, size: 54139)
2009-03-30
13:04
[e655b2a6] part of check-in [18b44f0d] Make sure recursive calls to winOpen() preserve the pVfs pointer. Fault found while testing a mingw build in VMWare. (CVS 6410) (check-in: [18b44f0d] user: drh branch: trunk, size: 53931)
12:42
[07f7c803] part of check-in [7ef36935] Avoid all use of the "LL" suffix for long-long integer literals. Ticket #3759. (CVS 6408) (check-in: [7ef36935] user: drh branch: trunk, size: 53928)
2009-03-05
05:54
[40636702] part of check-in [68abcb27] Implemented winSectorSize(); Other changes for consistency. os_win.c. Ticket #2931. (CVS 6339) (check-in: [68abcb27] user: shane branch: trunk, size: 54269)
04:20
[4a91fbbe] part of check-in [6404afa0] Corrected typos and misspellings. Ticket #3702. (CVS 6336) (check-in: [6404afa0] user: shane branch: trunk, size: 52146)
2009-02-05
03:16
[45cb4308] part of check-in [82e03f1b] Fixed error detection in winTrucate() in os_win.c. Windows version only. Ticket #3640. (CVS 6262) (check-in: [82e03f1b] user: shane branch: trunk, size: 52145)
2009-02-04
03:59
[b83b57c2] part of check-in [5cef4000] Changes to completely remove all floating point ops if SQLITE_OMIT_FLOATING_POINT defined. Note that w/o fp, date/time, round, nan, etc. are all gone or limited in functionality. Updated some of the test scripts to support missing fp and 64-bit functionality. Ticket #3029. (CVS 6250) (check-in: [5cef4000] user: shane branch: trunk, size: 52041)
2009-01-30
05:59
[ec133f2a] part of check-in [9ea871f3] Implemented the SQLITE_LAST_ERRNO op in the xFileControl() method of os_win.c. Ticket #3615. (CVS 6217) (check-in: [9ea871f3] user: shane branch: trunk, size: 50841)
2008-12-11
02:58
[496e3ceb] part of check-in [72fd92bd] Removed a few more harmless warnings from MSVC. (CVS 6018) (check-in: [72fd92bd] user: shane branch: trunk, size: 49755)
2008-12-10
22:30
[d42d591b] part of check-in [715dcd52] Work to remove harmless MSVC compiler warnings. (CVS 6013) (check-in: [715dcd52] user: shane branch: trunk, size: 49721)
21:19
[d7a12403] part of check-in [ea01d437] Additional work at eliminating silly compiler warnings. (CVS 6010) (check-in: [ea01d437] user: drh branch: trunk, size: 49422)
19:26
[af9459fc] part of check-in [c872d554] Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) (check-in: [c872d554] user: drh branch: trunk, size: 49173)
2008-12-08
18:19
[79e55bbe] part of check-in [73c7302c] The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) (check-in: [73c7302c] user: drh branch: trunk, size: 49143)
2008-11-19
21:35
[3dff4167] part of check-in [00b68a1e] In os_win.c, if SQLITE_TEST defined, winRandomness() should return all zeroes like os_unix.c. (CVS 5932) (check-in: [00b68a1e] user: shane branch: trunk, size: 49107)
2008-11-18
19:18
[08d0b059] part of check-in [f4411f0c] Expose the MBCS->UTF8 convert routine in the Win32 backend. (CVS 5917) (check-in: [f4411f0c] user: drh branch: trunk, size: 49004)
2008-11-13
18:20
[b1cd0792] part of check-in [26493379] Added support for -DSQLITE_NO_SYNC to os_win.c. (CVS 5904) (check-in: [26493379] user: shane branch: trunk, size: 48965)
2008-11-07
00:06
[e208cbbc] part of check-in [fb311d6f] Add documentation to make it clear that short reads from xRead in the VFS must be zero-filled. (CVS 5867) (check-in: [fb311d6f] user: drh branch: trunk, size: 48822)
2008-10-22
16:55
[a26292f3] part of check-in [5276e31d] Removed some more dead code and fixed some unresolved externals for WINCE. Ticket #3420. (CVS 5837) (check-in: [5276e31d] user: shane branch: trunk, size: 48767)
2008-10-12
02:27
[13bed718] part of check-in [500c5056] Check for failures in winTruncate. Ticket #3415. (CVS 5811) (check-in: [500c5056] user: shane branch: trunk, size: 47060)
2008-09-30
04:20
[04033a86] part of check-in [15dd0169] Misc clean up. Wrapped a CE only variable in if-defs. Changed to only provide cache hint for CE builds (as this prevents CE from compressing the file.) Performance testing on XP and Vista showed caching hint had little effect when the DB size was much smaller than the O/S disk cache size, and provided only marginal benefit when the DB size was much larger than the cache. On Vista, overall system performance was hurt for very large DBs. Ticket #3387. (CVS 5753) (check-in: [15dd0169] user: shane branch: trunk, size: 46895)
2008-09-01
22:15
[3209dc0e] part of check-in [e0461f87] Add define for INVALID_FILE_ATTRIBUTES if it is not already defined, as some older Windows compilers do not define it. (CVS 5657) (check-in: [e0461f87] user: shane branch: trunk, size: 46849)
2008-07-31
01:34
[aefe9ee2] part of check-in [03a79734] Improved retry logic for winDelete() when in "pending delete" state. (CVS 5505) (check-in: [03a79734] user: shane branch: trunk, size: 46707)
2008-07-22
05:32
[50ec7834] part of check-in [c0a5cf38] winGetLastError support added. Consolidated getLastErrorMsg() support. Removed some more WINCE dead code similar to instance in ticket #3232. Added error return on SystemTimeToFileTime() failure. (CVS 5450) (check-in: [c0a5cf38] user: shane branch: trunk, size: 46413)
2008-07-18
23:47
[08f8678d] part of check-in [5c5c1f72] Remove dead code from os_win.c. Ticket #3232. (CVS 5441) (check-in: [5c5c1f72] user: drh branch: trunk, size: 44677)
2008-06-26
10:41
[2bf2f8cd] part of check-in [cdd4cf4c] Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311) (check-in: [cdd4cf4c] user: danielk1977 branch: trunk, size: 44732)
2008-06-25
17:19
[77cae913] part of check-in [8fa33b79] Remove internal function sqlite3OsDefaultVfs(). The built-in VFS layers now register their VFS implementations by calling sqlite3_vfs_register() from within sqlite3_os_init(). (CVS 5307) (check-in: [8fa33b79] user: danielk1977 branch: trunk, size: 44585)
2008-06-13
18:24
[0b90d9a1] part of check-in [a03c5af1] Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) (check-in: [a03c5af1] user: drh branch: trunk, size: 44885)
2008-06-06
15:49
[0d975b13] part of check-in [b8f1da52] Add the xGetLastError() member function to the sqlite3_vfs structure. It is neither called nor implemented at this point. (CVS 5192) (check-in: [b8f1da52] user: danielk1977 branch: trunk, size: 44668)
11:11
[07df9a6f] part of check-in [5173b3e8] Remove the xGetTempname() method from the vfs structure. Temp files are now opened by passing a NULL pointer as the filename to xOpen(). (CVS 5190) (check-in: [5173b3e8] user: danielk1977 branch: trunk, size: 44545)
2008-06-05
11:39
[9ac4e4e9] part of check-in [4226ac54] Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) (check-in: [4226ac54] user: danielk1977 branch: trunk, size: 44092)
2008-05-29
03:54
[812f9ba8] part of check-in [ad6a782e] Moved check and define for OS_WINCE from os_win.c to os.h (with the other OS_* defines). This allows OS_WINCE to be available for mutex_w32.c which is included earlier than os_win.c in the almagamation. (CVS 5176) (check-in: [ad6a782e] user: shane branch: trunk, size: 43977)
2008-05-16
04:51
[3b0a31c5] part of check-in [81a8c70e] Add more version tags to files that lack them. Ticket #3120. (CVS 5137) (check-in: [81a8c70e] user: danielk1977 branch: trunk, size: 44031)
2008-03-19
14:15
[3a60bddd] part of check-in [15110ea0] Add a new api sqlite3_randomness() for providing access to SQLite's internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) (check-in: [15110ea0] user: drh branch: trunk, size: 43965)
2008-02-20
00:00
[aa3f4bbe] part of check-in [5bc8e564] Make multiple attempts to delete files marked DELETE_ON_CLOSE under WinCE. Ticket #2950. (CVS 4802) (check-in: [5bc8e564] user: drh branch: trunk, size: 43963)
2007-12-13
21:54
[c832d528] part of check-in [4e91a267] Change all instances of "it's" in comments to either "its" or "it is", as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) (check-in: [4e91a267] user: drh branch: trunk, size: 43710)
2007-12-10
21:11
[737fe685] part of check-in [19db91fd] Make sure the windows driver responds correctly to the SQLITE_OPEN_DELETEONCLOSE flag. Ticket #2829. (CVS 4607) (check-in: [19db91fd] user: drh branch: trunk, size: 43711)
2007-12-06
13:26
[a92769a7] part of check-in [f015a387] Use the specified buffer length, not the maximum buffer length in unixFullPathname() and related functions. (CVS 4595) (check-in: [f015a387] user: drh branch: trunk, size: 43779)
2007-11-12
21:09
[1fb40eb6] part of check-in [8ad0ab8c] Various changes to enable compilation of SQLite library and command line shell with the Windows CE cross compiler from cegcc.sourceforge.net (CVS 4541) (check-in: [8ad0ab8c] user: chw branch: trunk, size: 43791)
2007-11-07
01:19
[81690a85] part of check-in [08a685ab] In the windows VFS, make sure we do not return an error if attempting to delete a file that does not exist. (CVS 4532) (check-in: [08a685ab] user: drh branch: trunk, size: 43579)
2007-10-09
15:36
[fe8f2d8f] part of check-in [b2bdb476] Still more tweaks to the wince interface. Ticket #2711. (CVS 4482) (check-in: [b2bdb476] user: drh branch: trunk, size: 43586)
15:20
[13b80c00] part of check-in [beb91af7] Fix a typo in the wince driver. Ticket #2710. See also ticket #2702. (CVS 4481) (check-in: [beb91af7] user: drh branch: trunk, size: 43783)
2007-10-08
15:06
[3ea65d67] part of check-in [ccd709e1] More untested changes for wince contributed by users. Ticket #2702. (CVS 4479) (check-in: [ccd709e1] user: drh branch: trunk, size: 43783)
12:29
[3bc308a9] part of check-in [27346fa5] Reverting check-in (3836) at the request of winCE users. We no ability to test this change. Presumably this is a fix for tickets #2698, #2533, and #2598. It is unclear if this causes #2294 to be reopened or not. (CVS 4478) (check-in: [27346fa5] user: drh branch: trunk, size: 43687)
12:22
[0fd00bbf] part of check-in [a36fca4c] Fix a bug in code for winCE. Ticket #2700. (CVS 4477) (check-in: [a36fca4c] user: drh branch: trunk, size: 43729)
12:21
[713bb346] part of check-in [5cdbc097] In windows, always open files using FILE_FLAG_RANDOM_ACCESS. Ticket #2699. (CVS 4476) (check-in: [5cdbc097] user: drh branch: trunk, size: 43733)
2007-10-05
14:49
[b2b6aa5f] part of check-in [38674fd2] Use FormatMessageA() instead of FormatMessage() in the w32 VFS. Ticket #2687. (CVS 4468) (check-in: [38674fd2] user: drh branch: trunk, size: 43535)
2007-09-20
14:39
[99960c7b] part of check-in [138d3fcc] Replace "i64" with "sqlite3_int64" in the w32 VFS. (CVS 4441) (check-in: [138d3fcc] user: drh branch: trunk, size: 43534)
2007-09-17
07:02
[e6383004] part of check-in [8b29f5fb] Add a parameter to specify the size of the output buffer passed to xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433) (check-in: [8b29f5fb] user: danielk1977 branch: trunk, size: 43514)
06:06
[697dd7ad] part of check-in [ad3687b1] Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432) (check-in: [ad3687b1] user: danielk1977 branch: trunk, size: 43326)
2007-09-14
20:32
[24acb158] part of check-in [8cc51e0a] Corrections to the winCE code. Untested. (CVS 4431) (check-in: [8cc51e0a] user: drh branch: trunk, size: 43326)
2007-09-12
14:09
[b3ae109c] part of check-in [c6ee5929] Add a missing semi-colon to os_win.c. Ticket #2642. (CVS 4421) (check-in: [c6ee5929] user: danielk1977 branch: trunk, size: 43321)
2007-09-05
17:06
[b663c171] part of check-in [ea1d76e3] Fix a harmless typo in the PRNG initialization on win32. Ticket #2617. (CVS 4405) (check-in: [ea1d76e3] user: drh branch: trunk, size: 43320)
2007-09-03
17:09
[d8909c19] part of check-in [40cf0c17] Fix the open file counter on windows. (CVS 4382) (check-in: [40cf0c17] user: drh branch: trunk, size: 43322)
17:02
[c077b821] part of check-in [1be70015] Get the io.test tests working on windows. (CVS 4381) (check-in: [1be70015] user: drh branch: trunk, size: 43303)
13:06
[57f9b96e] part of check-in [91b50f31] Improvements to the xRandomness() method on the default windows VFS. Ticket #2615. (CVS 4374) (check-in: [91b50f31] user: drh branch: trunk, size: 42958)
2007-09-01
02:13
[ce778c06] part of check-in [ca6c1e3f] Change the windows tempfile name generator so that it uses 119 bits of randomness and does not bother to check to see if the file already exists. Ticket #2608. (Unable to test from this machine, but the changes are simple and isolated. Hope it works.) (CVS 4357) (check-in: [ca6c1e3f] user: drh branch: trunk, size: 42507)
2007-08-31
18:34
[60ab7361] part of check-in [306586c4] Remove the xLockState method for sqlite3_io_methods. Replace it with a defined call to xFileControl(). This simplifies the interface and also gives us coverage testing of sqlite3_file_control(). (CVS 4355) (check-in: [306586c4] user: drh branch: trunk, size: 42606)
16:11
[d8f9a643] part of check-in [d3ab3e39] Initial implementation of the sqlite3_file_control() interface. Compiles and passes all historical tests but the new method is itself untested. (CVS 4353) (check-in: [d3ab3e39] user: drh branch: trunk, size: 42717)
2007-08-30
16:46
[85e5661c] part of check-in [1f80cf5e] Fix a memory leak in the win32 OS driver. Ticket #2602. (CVS 4345) (check-in: [1f80cf5e] user: drh branch: trunk, size: 42683)
2007-08-27
21:10
[3ffd3aac] part of check-in [0791f917] Added the 34to35.html document describing the changes between 3.4.2 and 3.5.0. Minor interface cleanups. (CVS 4302) (check-in: [0791f917] user: drh branch: trunk, size: 42685)
2007-08-24
17:52
[4f840e97] part of check-in [75aad316] Rework the win32 OS driver to use malloc()/free() directly rather than going through the SQLite memory allocation layer. With this change, the complete quick.test script now runs on windows. There are a few errors, but no segfaults. Progress. (CVS 4289) (check-in: [75aad316] user: drh branch: trunk, size: 42774)
16:08
[e2598a18] part of check-in [b8451da3] Remove nRef and vfsMutex from the sqlite3_vfs structure. Omit the sqlite3_vfs_release() interface. Less memory allocated for a pager in the common case where the size of the pathname is less than MAX_PATH. (CVS 4287) (check-in: [b8451da3] user: drh branch: trunk, size: 41669)
03:51
[1cb94dd3] part of check-in [3a68fcdd] The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) (check-in: [3a68fcdd] user: drh branch: trunk, size: 41741)
2007-08-21
10:44
[29c0e19c] part of check-in [fbbd5bda] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (check-in: [fbbd5bda] user: drh branch: trunk, size: 48321)
2007-05-14
12:12
[d868d5f9] part of check-in [fc489b53] In the windows driver, reacquire the shared lock if an exclusive lock fails. Ticket #2354. (CVS 3992) (check-in: [fc489b53] user: drh branch: trunk, size: 48337)
2007-05-05
12:06
[3b616903] part of check-in [54a1d275] Fix a sprintf() problem introduced by (3916). (CVS 3927) (check-in: [54a1d275] user: drh branch: trunk, size: 48311)
2007-05-04
13:15
[5e9e3d2a] part of check-in [ba4845b3] Eliminate all uses of sprintf() and strcpy(). These were not being misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) (check-in: [ba4845b3] user: drh branch: trunk, size: 48282)
2007-04-11
17:54
[e94903c7] part of check-in [ca56c3e2] Blind check-in of changes to fix #2294 - I have no ability to test. Gentle wince users: please test this change and if it works leave a remark on the #2294 ticket. Tnx. (CVS 3836) (check-in: [ca56c3e2] user: drh branch: trunk, size: 48259)
2007-04-01
23:49
[c9a99524] part of check-in [18aec1dd] Fix some warnings about unused and uninitialized variables. (CVS 3788) (check-in: [18aec1dd] user: drh branch: trunk, size: 48225)
2007-03-30
11:29
[c3a8403e] part of check-in [23653f7a] Move the sqlite3_temp_directory global variable out of the OS porting layer and into main.c so that it is more accessible to non-standard OS porting layers. (CVS 3759) (check-in: [23653f7a] user: drh branch: trunk, size: 48250)
2007-03-29
18:19
[d6cb3628] part of check-in [0fb9af1d] Change the name of PAGER_SECTOR_SIZE to SQLITE_DEFAULT_SECTOR_SIZE. Make the new OS-layer interface routine for finding sector size optional. (CVS 3750) (check-in: [0fb9af1d] user: drh branch: trunk, size: 48445)
2007-03-27
16:19
[84c02837] part of check-in [b24a6e7b] Test handling of IO errors that occur in OsDelete() or OsTruncate() operations. Also use an anonymous file for temporary storage during a VACUUM. (CVS 3729) (check-in: [b24a6e7b] user: danielk1977 branch: trunk, size: 48436)
2007-03-26
22:05
[13708a58] part of check-in [0b832e21] Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) (check-in: [0b832e21] user: drh branch: trunk, size: 48389)
2007-03-23
10:08
[1d1d0989] part of check-in [0fd9983a] Add a comment to the OsSectorSize() function. (CVS 3710) (check-in: [0fd9983a] user: danielk1977 branch: trunk, size: 48351)
2007-03-19
05:54
[f3ca3e08] part of check-in [5752d84d] Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700) (check-in: [5752d84d] user: danielk1977 branch: trunk, size: 47887)
2007-01-10
18:56
[8736cf3a] part of check-in [a72c950c] Make the AreFileApisANSI() call a macro with a value of 1 on wince. Ticket #2163. (CVS 3590) (check-in: [a72c950c] user: drh branch: trunk, size: 47864)
2007-01-09
17:18
[8999403b] part of check-in [4b36de46] Fix the windows OS layer so that it returns detailed IOERR error codes. (CVS 3583) (check-in: [4b36de46] user: drh branch: trunk, size: 47835)
15:32
[788ae0fa] part of check-in [c4eb2100] Work around win2k problems so that single-character filenames can be used. Ticket #2151. (CVS 3582) (check-in: [c4eb2100] user: drh branch: trunk, size: 47798)
2007-01-05
14:38
[30070930] part of check-in [daed2bab] Suppress compiler warnings. Fix a bug in IO error detection on windows. (CVS 3564) (check-in: [daed2bab] user: drh branch: trunk, size: 47855)
2007-01-03
23:36
[92df146e] part of check-in [a593d574] Additional changes in the pager and os interface layers to fix problems that might be contributing to recently observed database corruption. (CVS 3549) (check-in: [a593d574] user: drh branch: trunk, size: 47890)
2006-12-21
03:20
[ca46001d] part of check-in [0b47d880] More fixes to the microsoft code-page nightmare... (CVS 3544) (check-in: [0b47d880] user: drh branch: trunk, size: 47845)
02:21
[d7cf0fc2] part of check-in [e3dddd1c] Use GetProcAddressA() on wince. Ticket #2123 (CVS 3543) (check-in: [e3dddd1c] user: drh branch: trunk, size: 47655)
01:37
[96c7cf82] part of check-in [6d2ff096] Reduce the number of utf8->unicode conversions required in wince. Ticket #2122 (CVS 3542) (check-in: [6d2ff096] user: drh branch: trunk, size: 47399)
01:29
[359dd74a] part of check-in [a1bcc6de] Move the shared-library loading routines into the OS portability layer, thus enabling the os_win.c code to handle the character encoding confusion of win95/nt/ce. Ticket #2023. (CVS 3541) (check-in: [a1bcc6de] user: drh branch: trunk, size: 47357)
00:46
[eb6642f7] part of check-in [cca1eb3d] Change a parameter type from "int" to "DWORD" in the windows interface. Ticket #2122. (CVS 3540) (check-in: [cca1eb3d] user: drh branch: trunk, size: 46599)
2006-11-07
15:02
[cac5f9b6] part of check-in [d309680e] Fix a typo in os_win.c. Ticket #2055. (CVS 3504) (check-in: [d309680e] user: drh branch: trunk, size: 46597)
2006-11-06
21:20
[06e11389] part of check-in [6324ea81] Use the difference between the SQLITE_IOERR_SHORT_READ and SQLITE_IOERR_READ returns from sqlite3OsRead() to make decisions about what to do with the error. (CVS 3503) (check-in: [6324ea81] user: drh branch: trunk, size: 46597)
2006-10-30
13:37
[1be3a56e] part of check-in [9fa3ae58] Changes to support non-ASCII characters in win95 filenames. Ticket #2047. (CVS 3495) (check-in: [9fa3ae58] user: drh branch: trunk, size: 46534)
2006-09-26
00:37
[30e51641] part of check-in [944d5f81] Fix to the previous check-in. (CVS 3446) (check-in: [944d5f81] user: drh branch: trunk, size: 42918)
00:34
[6c9da4c7] part of check-in [46ac1ac2] Performance improvement and bug fix in sqlite3WinDelete(). (CVS 3445) (check-in: [46ac1ac2] user: drh branch: trunk, size: 42906)
2006-09-14
13:47
[a6676309] part of check-in [86931854] Enhanced I/O error simulation. (CVS 3418) (check-in: [86931854] user: drh branch: trunk, size: 42807)
2006-06-04
23:31
[c6976ae5] part of check-in [697498d4] Add comments to the changes of check-in (3200). (CVS 3202) (check-in: [697498d4] user: drh branch: trunk, size: 42731)
23:02
[e64e6bdf] part of check-in [f32dbe47] Changes to help SQLite cope with virus scanners and other programs that open journal files for reading and thus prevent SQLite from deleting them in order to commit a transaction. (CVS 3200) (check-in: [f32dbe47] user: drh branch: trunk, size: 41386)
2006-06-02
12:40
[f48550e1] part of check-in [4bf03c3b] The windows driver always allows other processes to write the database file even if it only has read permission on the file. This is an experimental checkin - we still have not determined that this change is safe. Ticket #1803. (CVS 3196) (check-in: [4bf03c3b] user: drh branch: trunk, size: 40861)
2006-02-27
23:44
[8ced9ac8] part of check-in [1fe9ca07] Reduce the size of a memory allocation in the windows driver to the minimum needed. Ticket #1690. (CVS 3115) (check-in: [1fe9ca07] user: drh branch: trunk, size: 40823)
2006-01-31
19:31
[c67a2c46] part of check-in [b922c8e4] Fix some pointless warnings from overly-pedantic compilers. (CVS 3048) (check-in: [b922c8e4] user: drh branch: trunk, size: 40837)
2006-01-24
12:09
[566bf7b4] part of check-in [d86f18a4] Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024) (check-in: [d86f18a4] user: danielk1977 branch: trunk, size: 40831)
2006-01-23
22:15
[63718af5] part of check-in [c5792283] Bug fix in the WinCE bindings. (CVS 3015) (check-in: [c5792283] user: drh branch: trunk, size: 40817)
16:25
[2600438d] part of check-in [2ef8b85d] Get I/O error tests working on windows. (CVS 3007) (check-in: [2ef8b85d] user: drh branch: trunk, size: 40824)
15:54
[438e6587] part of check-in [436287c2] Cut over the patches to support WinCE. Ticket #1600. (CVS 3003) (check-in: [436287c2] user: drh branch: trunk, size: 40880)
2006-01-18
17:25
[98e4e38d] part of check-in [e1ad9df1] Modify the sqlite3OsInMutex os-layer interface to take a single parameter to distinguish between mutexes held by the current thread and mutexes held by any thread. Part of the fix for ticket #1630. (CVS 2973) (check-in: [e1ad9df1] user: drh branch: trunk, size: 32675)
16:51
[a1584b15] part of check-in [ac090f2a] Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) (check-in: [ac090f2a] user: danielk1977 branch: trunk, size: 32298)
14:20
[e1c06001] part of check-in [dd3e07ca] Recursive mutexes in os_win.c. (CVS 2969) (check-in: [dd3e07ca] user: drh branch: trunk, size: 32294)
2006-01-17
16:10
[b9cb6254] part of check-in [9e2e4084] Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623. (CVS 2965) (check-in: [9e2e4084] user: danielk1977 branch: trunk, size: 32166)
2006-01-13
06:33
[cd4ca275] part of check-in [dd705955] Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) (check-in: [dd705955] user: danielk1977 branch: trunk, size: 32168)
2006-01-12
01:25
[4ebb7e11] part of check-in [a8c74feb] Improve performance by about 10% by avoiding excess calls to get the thread-specific data. (CVS 2921) (check-in: [a8c74feb] user: drh branch: trunk, size: 32169)
2006-01-11
23:40
[e372f99c] part of check-in [fb518b0c] Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup() API is documented. This should close ticket #1601. (CVS 2920) (check-in: [fb518b0c] user: drh branch: trunk, size: 31957)
21:41
[b67dd34b] part of check-in [5d9c6aa9] Automatically deallocate thread-specific data when it is no longer being used. Ticket #1601. Also implemented the suggestion of ticket #1603. Memory management is now off by default at compile-time. The sqlite3_enable_memory_management() API has been removed. (CVS 2919) (check-in: [5d9c6aa9] user: drh branch: trunk, size: 31466)
2006-01-09
23:40
[8ef250a0] part of check-in [ec332d88] Added database server example code (untested). Fixed serveral bugs including the autovacuum compile problem described by ticket #1593. (CVS 2897) (check-in: [ec332d88] user: drh branch: trunk, size: 31153)
2006-01-07
18:14
[9cedcb13] part of check-in [15fda14e] Continued progress toward a working wince backend. (CVS 2885) (check-in: [15fda14e] user: drh branch: trunk, size: 31318)
2006-01-06
21:09
[88f372bf] part of check-in [b10343d9] Additional changes for wince. (CVS 2877) (check-in: [b10343d9] user: drh branch: trunk, size: 31230)
20:40
[acd7a7a6] part of check-in [f3cbd995] More changes to support wince. (CVS 2876) (check-in: [f3cbd995] user: drh branch: trunk, size: 31237)
20:22
[8ed8a36d] part of check-in [b45c076f] Additional efforts to get it to build on WinCE. (CVS 2875) (check-in: [b45c076f] user: drh branch: trunk, size: 31169)
16:17
[60da6aa3] part of check-in [43440567] A first attempt at adding native support for WinCE. (CVS 2874) (check-in: [43440567] user: drh branch: trunk, size: 31017)
14:32
[3239b124] part of check-in [2529c2e1] Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) (check-in: [2529c2e1] user: drh branch: trunk, size: 28729)
00:36
[c774f888] part of check-in [3aa8befe] Windows implementation of the thread-specific data interface. (CVS 2864) (check-in: [3aa8befe] user: drh branch: trunk, size: 29496)
2006-01-02
20:00
[7e2d09f8] part of check-in [a582b159] Add the xInMutex method to the os-layer switch for testing whether or not mutexes are used correctly. (CVS 2851) (check-in: [a582b159] user: drh branch: trunk, size: 28929)
2005-12-15
10:50
[9feb97f4] part of check-in [81a41f66] Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819) (check-in: [81a41f66] user: danielk1977 branch: trunk, size: 28627)
10:11
[2da77ddc] part of check-in [c1ed79f5] Add the sqlite3_os_routine_set()/get() functions. (CVS 2818) (check-in: [c1ed79f5] user: danielk1977 branch: trunk, size: 28552)
2005-11-30
03:20
[d962ac2d] part of check-in [bd8740d1] Restructure the OS interface yet again. This time make the OsFile object a virtual base class which is subclassed for unix, windows, and the crash test simulator. Add the new file "os.c" for common os layer code. Move all OS-specific routines into the sqlite3Os structure. (CVS 2795) (check-in: [bd8740d1] user: drh branch: trunk, size: 28239)
2005-11-29
19:50
[2095cae6] part of check-in [59bdca25] Make the build work on windows again. Ticket #1544. (CVS 2793) (check-in: [59bdca25] user: drh branch: trunk, size: 27338)
03:13
[f18626e4] part of check-in [058f3175] Make the OsFile structure opaque with its internal structure known only to the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h include files. The crash tests are broken by this patch. (CVS 2791) (check-in: [058f3175] user: drh branch: trunk, size: 27359)
2005-11-26
03:43
[a3762efc] part of check-in [57a674fc] Add an OS method for making copies of file descriptors. This fixes the crash tests. (CVS 2786) (check-in: [57a674fc] user: drh branch: trunk, size: 25951)
00:25
[5d282b4f] part of check-in [1f69aec2] Modify the OS layer so that I/O routines are called through a virtual function table. The os_test.c module has been replaced by test6.c. The crash tests are busted now and need to be fixed. (CVS 2785) (check-in: [1f69aec2] user: drh branch: trunk, size: 25814)
2005-09-19
12:53
[fbccc85e] part of check-in [b2d1803c] Work around limitations of MSVC++ 6. Tickets #1429, #1437, and #1440. (CVS 2720) (check-in: [b2d1803c] user: drh branch: trunk, size: 25368)
2005-09-09
10:17
[ed03a35b] part of check-in [bc8c33f9] Detect errors returned by SetFilePointer on windows. (CVS 2681) (check-in: [bc8c33f9] user: drh branch: trunk, size: 25225)
01:32
[5771f4b7] part of check-in [461e3a0a] Defend against disk I/O errors that happen during an sqlite3OsSeek(). (CVS 2679) (check-in: [461e3a0a] user: drh branch: trunk, size: 25131)
2005-09-08
12:38
[6a80f686] part of check-in [3c555a87] While doing a transaction comment, use fdatasync() instead of fsync() in cases there the file size is unchanged. (CVS 2673) (check-in: [3c555a87] user: drh branch: trunk, size: 25068)
2005-09-05
20:06
[4aad6cd4] part of check-in [7b56763a] Fix bugs introduced by checkin (2656) and do some modest code enhancements. (CVS 2657) (check-in: [7b56763a] user: drh branch: trunk, size: 25054)
19:08
[8b80f418] part of check-in [3ec58c67] Use the unicode API to win32 where available. Tickets #1407, #1396, #1331, #1243, #1206 (CVS 2656) (check-in: [3ec58c67] user: drh branch: trunk, size: 25028)
2005-06-07
22:22
[fe7b99cf] part of check-in [62a7353d] Changes to support linking without a parser and without a disk I/O interface. (CVS 2504) (check-in: [62a7353d] user: drh branch: trunk, size: 21003)
2005-03-21
00:36
[2bbbe6fb] part of check-in [fcb5cee4] Improved support for cygwin. Ticket #1165. (CVS 2407) (check-in: [fcb5cee4] user: drh branch: trunk, size: 21169)
2005-02-03
00:29
[bddeae1c] part of check-in [4b399ae7] Make sure the rc variable in OsWrite of os_win.c is always initialized. Also assert that the amt parameter is always greater than zero. Ticket #1094. (CVS 2309) (check-in: [4b399ae7] user: drh branch: trunk, size: 20913)
2005-01-08
15:44
[3c0b0a3b] part of check-in [0a90eaf3] Fixes to the temp_store_directory pragma. (CVS 2185) (check-in: [0a90eaf3] user: drh branch: trunk, size: 20890)
2004-12-20
19:01
[39525c41] part of check-in [772e22cb] Add PRAGMA 'temp_store_directory'. Added os_*.c function sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into invalidateTempStorage(). (CVS 2171) (check-in: [772e22cb] user: tpoindex branch: trunk, size: 20809)
2004-10-02
20:38
[9482dfc9] part of check-in [c4697503] Fixes to the OsUnlock() interface. Correctly leave a SHARED lock behind when requested. Honor the error code that OsUnlock() returns. Ticket #913 and #938. (CVS 1997) (check-in: [c4697503] user: drh branch: trunk, size: 20430)
2004-10-01
18:21
[2b4b103d] part of check-in [4493e287] make diskfull test work on Windows; see check-in (1994) (CVS 1996) (check-in: [4493e287] user: dougcurrie branch: trunk, size: 20324)
02:00
[0ab81ce1] part of check-in [8972c004] Use type i64 instead of off_t for file offsets since off_t is giving portability problems. Ticket #924. (CVS 1992) (check-in: [8972c004] user: drh branch: trunk, size: 20299)
2004-08-29
23:42
[9e288782] part of check-in [431f7436] Change the name of the global variable to sqlite3_temp_directory to avoid a naming conflict with version 2.8. (CVS 1918) (check-in: [431f7436] user: drh branch: trunk, size: 20365)
2004-08-28
01:12
[feba3716] part of check-in [f5b0e5b0] Add sqlite_temp_directory to the windows driver. (CVS 1905) (check-in: [f5b0e5b0] user: drh branch: trunk, size: 20362)
2004-06-30
14:29
[54181eb7] part of check-in [48b31540] Specify ASCII versions of Win32 API functions. (CVS 1785) (check-in: [48b31540] user: drh branch: trunk, size: 20000)
2004-06-21
18:14
[84549f6c] part of check-in [afc398c2] Fix an uninitialized variable. The variable was harmless, but pedantic error checking in MSVC raised an exception on it. (CVS 1651) (check-in: [afc398c2] user: drh branch: trunk, size: 19991)
2004-06-15
11:40
[337e973e] part of check-in [e21a1813] Minor bugfixes and test case adjustments for version 2 test cases to work with version 3. (CVS 1598) (check-in: [e21a1813] user: danielk1977 branch: trunk, size: 19586)
00:29
[a60f9ebf] part of check-in [186c6f93] Add the sqlite3OsFileModTime() interface. But it is still unused. The change counter in page 1 is always incremented. (CVS 1594) (check-in: [186c6f93] user: drh branch: trunk, size: 19553)
2004-06-14
09:35
[44b9291d] part of check-in [cb3cbe00] Ensure master journal file is deleted when a transaction is committed. (CVS 1586) (check-in: [cb3cbe00] user: danielk1977 branch: trunk, size: 18860)
2004-06-12
02:17
[d4009586] part of check-in [dcad244f] Bug fix in the unix locking code. (CVS 1574) (check-in: [dcad244f] user: drh branch: trunk, size: 18692)
2004-06-09
17:37
[6b8f9fcc] part of check-in [dc076345] Fixes to the file locking. 109 tests are now failing. (CVS 1548) (check-in: [dc076345] user: drh branch: trunk, size: 18662)
2004-06-08
00:47
[a13b85a0] part of check-in [4dfdea73] Do not require a RESERVED lock when transitioning from SHARED to EXCLUSIVE. (CVS 1542) (check-in: [4dfdea73] user: drh branch: trunk, size: 18526)
2004-06-07
16:27
[5c46f81f] part of check-in [0c2d169c] More work on windows locking. Fix some problems with unix locking. There is still an assertion failure on windows locking in attach2.test. (CVS 1539) (check-in: [0c2d169c] user: drh branch: trunk, size: 17705)
01:52
[3c21eddf] part of check-in [4f7c0961] Progress towards getting locking to work on windows. (CVS 1536) (check-in: [4f7c0961] user: drh branch: trunk, size: 19620)
2004-06-06
00:42
[a5ab6da0] part of check-in [9e6cd9ec] Added sqlite3OsLock for win32. Assertion fault in attach.test. (CVS 1533) (check-in: [9e6cd9ec] user: drh branch: trunk, size: 18422)
2004-06-05
08:04
[0f895f04] part of check-in [e82eb722] Ensure blob values survive the ".dump" command of the shell. (CVS 1531) (check-in: [e82eb722] user: danielk1977 branch: trunk, size: 17199)
2004-05-22
17:41
Added: [92b51a38] part of check-in [5c61be1c] Split up os.c into separate files, one for each platform. (CVS 1441) (check-in: [5c61be1c] user: drh branch: trunk, size: 17075)