SQLite
File History
Not logged in

History of files named src/os_win.c

2014-09-21
23:08
[1f331fe64c] part of check-in [3967ebe83e] Merge in all recent changes from trunk. (user: drh branch: apple-osx)
2014-09-06
16:39
[0a4042ef35] part of check-in [e62aab5e92] Fix typos in comments. No code changes. (user: peter.d.reid branch: trunk)
2014-09-05
05:58
[3c9f7df710] part of check-in [733119067757814609a] Fix harmless compiler warning. (user: mistachkin branch: trunk)
2014-09-02
15:57
[07c9364472] part of check-in [696dc935f7] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2014-09-01
19:29
[2aa8aa7780] part of check-in [be0a037244] For sqlite3_win32_is_nt(), assume WinRT is NT-based and revise #ifdef ordering to prefer the ANSI version of GetVersionEx, when available. (user: mistachkin branch: trunk)
17:36
[08ce5616a5] part of check-in [b1c0f0bc1b] Add support for using separate worker threads to speed large sorts. The SQLITE_MAX_WORKER_THREADS and SQLITE_DEFAULT_WORKER_THREADS compile-time options and the SQLITE_LIMIT_WORKER_THREADS argument to sqlite3_limit() and the "PRAGMA threads=N" pragma are added. (user: drh branch: trunk)
2014-08-26
02:02
[85795ec876] part of check-in [5c27311105] Merge recent performance enhancements and the CAST operator enhancements into the apple-osx branch. (user: drh branch: apple-osx)
2014-08-22
19:12
[b979aabc18] part of check-in [9fe0f0754c] Revise #ifdef ordering to prefer the ANSI version of GetVersionEx, when available. (user: mistachkin branch: winrt)
2014-08-21
19:11
[817005660016d] part of check-in [2f59e71fbf] For sqlite3_win32_is_nt(), assume WinRT is NT-based. (user: mistachkin branch: winrt)
2014-08-15
16:13
[d067fce558] part of check-in [28a379fcd4] Fix compiler warnings on WinCE. (user: drh branch: trunk)
2014-08-14
14:02
[058cefbeb0] part of check-in [a608fd1d52] Merge the pre-3.8.6 changes into the threads branch. (user: drh branch: threads)
13:39
[90d3fb97df] part of check-in [08058df3af] Merge the pre-3.8.6 changes from trunk into the apple-osx branch. (user: drh branch: apple-osx)
2014-08-12
16:13
[1c936c7b06] part of check-in [6715991296886c] Fix compilation issue in the Win32 VFS when manually defining SQLITE_WIN32_NO_ANSI. (user: mistachkin branch: trunk)
13:32
[71e08fd8c2] part of check-in [169fc47e16] Remove support for Win9x. (user: drh branch: drop-win9x-support)
2014-08-11
17:51
[e0260a7ba7] part of check-in [fd2221768b] Modify GetVersionEx Win32 VFS fix for use with the test suite. (user: mistachkin branch: trunk)
17:41
[80e4b93cd4] part of check-in [87ef9e2f29] Further clarification and typo fixes for the previous comment change. (user: drh branch: trunk)
17:40
[f8affe82a8] part of check-in [69714287db] Clarify the comment explaining the meaning of the SQLITE_WIN32_GETVERSIONEX macro in the Windows VFS. (user: drh branch: trunk)
17:38
[d37c3e70e8] part of check-in [1a0d466dd4] Fix for #ifdef issue with GetVersionEx in the Win32 VFS. (user: mistachkin branch: trunk)
2014-08-06
11:57
[3fca1bfdf7] part of check-in [ab1a751e13] On the windows VFS, do not try to make InterlockedCompareExchange an overloadable function, since sometimes it is a macro. (user: drh branch: trunk)
03:06
[dddffe56dd] part of check-in [7be244ce12] In the Win32 VFS, work around InterlockedCompareExchange() being a macro on some platforms (e.g. x64). (user: mistachkin branch: trunk)
02:03
[9a7fda7883] part of check-in [a353a8515f] Merge all recent changes from trunk. (user: drh branch: threads)
01:51
[6df6b5577c] part of check-in [b2e01080cc] Merge 3.8.6 beta changes in from trunk. (user: drh branch: apple-osx)
2014-08-02
20:44
[e5f0fc446a] part of check-in [ba78265429] Remove (newly) incorrect preprocessor check to fix build on WinRT. (user: mistachkin branch: trunk)
2014-07-31
18:54
[c67bec43e5] part of check-in [1e5489faff] Optimizations to the OS sub-type checking in the Win32 VFS. (user: mistachkin branch: trunk)
2014-07-30
14:44
[c4d89c7e38] part of check-in [5b50a8380b] Merge recent trunk changes, and especially the fix for the CREATE UNIQUE INDEX problem of ticket [9a6daf340df99ba9]. (user: drh branch: threads)
11:49
[1414edcad5] part of check-in [654c6c658b] Merge all recent trunk changes, and especially the R-Tree IN operator fix of ticket [d2889096e7bdeac]. (user: drh branch: apple-osx)
2014-07-29
19:54
[c29e3a80b4] part of check-in [ca9868cdae] Enhancements and updates to the Win32 mutex subsystem. (user: mistachkin branch: trunk)
00:23
[047e903174] part of check-in [2773a5f987] Fix the build on windows. (user: drh branch: threads)
2014-06-17
18:43
[20a15a885f] part of check-in [d22c814297] Experimental changes to use GetFileInformationByHandle instead of GetFileSize in the Win32 VFS. (user: mistachkin branch: filesize-debug)
2014-06-05
13:22
[5f8c5568cc] part of check-in [e4b01676d7] Bring the threads branch up-to-date with the 3.8.5 release. (user: drh branch: threads)
12:53
[43b075157e] part of check-in [2dbdfa5170] Merge in the 3.8.5 release changes and the FTS integrity-check fix. (user: drh branch: apple-osx)
2014-05-30
21:01
[8dbf6c1178] part of check-in [a4df4a5b34] Revise locking retry semantics in Win32 VFS to abort early if the file handle is reported as invalid. (user: mistachkin branch: trunk)
2014-05-29
20:36
[26d49ff484] part of check-in [b9fad4490c] Merge trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
20:24
[cf4f35cd6c] part of check-in [416cb09126] Merge changes from the trunk into the threads branch. (user: drh branch: threads)
2014-05-28
03:27
[a5b9ed90ee] part of check-in [d43e2e59b5] Revise locking retry semantics in Win32 VFS to abort early if the file handle is reported as invalid. (user: mistachkin branch: winLockHandle)
03:23
[648f842876] part of check-in [c405f971cf] Revise how OSTRACE reports logically boolean results in the Win32 VFS. (user: mistachkin branch: trunk)
2014-05-19
15:16
[fe93fe891b] part of check-in [17349a49d2] 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. (user: drh branch: safer-malloc)
2014-05-09
15:00
[b8c28abae3] part of check-in [9ac8f1e711] Merge the latest trunk changes into the threads branch. (user: dan branch: threads)
00:36
[5024065c68] part of check-in [360c0fd1cf] Fix several harmless compiler warnings. (user: mistachkin branch: winPreCache)
2014-05-08
23:01
[31f80c9059] part of check-in [9411d7dc6f] 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. (user: drh branch: apple-osx)
22:15
[b9c5bcee7c] part of check-in [dc7f84dfcc] Fix typos in logging code. (user: mistachkin branch: winPreCache)
22:08
[c9a60c0c17] part of check-in [37e60d211f] Fix a memory leak of the temporary read buffer. (user: mistachkin branch: winPreCache)
22:05
[59befa19fb] part of check-in [a60c545f25] Update comments and only include the thread routine when required. (user: mistachkin branch: winPreCache)
22:01
[70e5fd4b93] part of check-in [38cbcedbb6] Experimental changes to pre-cache a database file prior to it being fully opened. (user: mistachkin branch: winPreCache)
2014-05-05
20:32
[485d06a939] part of check-in [bd92e0f80c] Create new header file "os_setup.h" used to detect the operating system at compile-time, and "os_win.h" that contains windows-specific header in formation. (user: drh branch: trunk)
2014-05-02
22:39
[6332165795c] part of check-in [4760504396b] Enhance the Win32 VFS I/O retry logic. (user: mistachkin branch: trunk)
21:38
[089fcb45da] part of check-in [c4d1d8a0db] Merge updates from trunk. (user: mistachkin branch: winHdr)
19:12
[187fad4d38] part of check-in [d7ed529fa2] Fix typo in Windows makefile. Make sure the WaitForSingleObjectEx system call is always available. (user: mistachkin branch: threads)
2014-04-22
19:42
[1662c40d22] part of check-in [ffceacf619] Change from using the win32-none VFS to just a query parameter. (user: drh branch: win32-none)
19:34
[8c74fd4c2a] part of check-in [be292d5597] Add some OSTRACE calls for consistency. (user: mistachkin branch: win32-none)
19:30
[a49ee67a07] part of check-in [03e3c5a8b1] Add the win32-none VFS which omits rollback-journal locking. (user: drh branch: win32-none)
2014-03-13
15:41
[8245fe9184] part of check-in [d17231b63d] Merge latest trunk changes into this branch. (user: dan branch: threads)
2014-03-06
00:30
[e71678ac92] part of check-in [29b0a4f158] Better loadable extension handling in the Win32 VFS when compiled for Cygwin. (user: mistachkin branch: trunk)
2014-02-27
05:47
[fe239cec21] part of check-in [ed0bfcfadc] Merge updates from trunk. (user: mistachkin branch: winIoRetry)
2014-02-24
21:42
[c47f107fc5] part of check-in [2477b3a294] Fix several small style/consistency issues with the previous check-in. (user: mistachkin branch: trunk)
21:23
[9ce043722f] part of check-in [854d410ad3] Merge updates from trunk. (user: mistachkin branch: cygDlOpen)
21:20
[166d2f195e] part of check-in [53081e7202] Enhance testing support for the Win32 VFS dynamic extension loading facilities. (user: mistachkin branch: trunk)
2014-02-21
10:48
[8099d606b4] part of check-in [09cf240a7f] Merge updates from trunk. (user: mistachkin branch: winHdr)
05:44
[23bd567f89] part of check-in [6676475c47] Better loadable extension handling in the Win32 VFS when compiled for Cygwin. (user: mistachkin branch: cygDlOpen)
2014-02-18
05:18
[5c0f315a7c] part of check-in [adba783c70] Enhance the Win32 VFS I/O retry logic. (user: mistachkin branch: winIoRetry)
2014-02-05
11:05
[d4284f0034] part of check-in [4a4dd371a7] In the Win32 VFS, the winSysInfo variable should be static. (user: mistachkin branch: trunk)
2014-01-14
10:17
[1b21af72c5] part of check-in [1e131094b5] For the Win32 VFS, defining winShmMutexHeld should be controlled by NDEBUG, not SQLITE_DEBUG. (user: mistachkin branch: trunk)
2013-12-09
21:48
[16eac09616] part of check-in [c43b59dac1] Correct the VFS name as reported by the file control when explicitly using the 'win32-longpath' VFS. (user: mistachkin branch: trunk)
2013-12-06
15:37
[f149798adb] part of check-in [8759a8e4d8] Add code to detect if the database file is moved or deleted out from under SQLite and return an SQLITE_IOERR_NODB. (user: drh branch: detect-moved-db)
2013-11-27
04:00
[4323dd0bac] part of check-in [afdca29966] Avoid using the GetVersionEx functions if they are considered deprecated. (user: mistachkin branch: trunk)
2013-11-26
00:33
[99a5668c20] part of check-in [c5ab437875] Merge updates from trunk. (user: mistachkin branch: winHdr)
00:28
[cb3f26205e] part of check-in [9954327c0f] Better support for UTF-8 paths on Cygwin. (user: mistachkin branch: trunk)
2013-11-25
23:42
[39e9fc083f] part of check-in [914e6c9d88] Add SQLITE_CONFIG_WIN32_HEAPSIZE option to configure the maximum isolated heap size on Windows. (user: mistachkin branch: trunk)
09:36
[423d8f8150] part of check-in [0d42c6b830] Initial work on isolating usage of the Windows header file. (user: mistachkin branch: winHdr)
2013-11-24
23:18
[1f7cc11055] part of check-in [484162b6e5] Better support for UTF-8 paths on Cygwin. (user: mistachkin branch: cygUtf8)
2013-11-11
02:46
[ef091b347d] part of check-in [e6ff492f0d] Fix several harmless compiler warnings. (user: mistachkin branch: trunk)
01:42
[77c84ddeb5] part of check-in [aaed7d1d3b] Modify a HeapValidate assert in the Win32 native allocator. (user: mistachkin branch: trunk)
2013-11-10
00:03
[2027d0a4df] part of check-in [023233f16e] Fix typo in comment and remove superfluous blank line. No changes to code. (user: mistachkin branch: trunk)
2013-11-09
23:55
[41bf0e5022] part of check-in [a5805976f0] Fix compilation errors with some compilers that do not reference recent Windows SDK header files. (user: mistachkin branch: trunk)
22:08
[846def34c7] part of check-in [d06d9fdb6e] Add the sqlite3_win32_compact_heap() function for cleaning up memory allocations on Win32 system. Also cleanup the winGetTempname() function. Changes to the Win32 VFS only. (user: drh branch: trunk)
21:10
[4b18ebe9b8] part of check-in [674de36bca] Furhter cleanup of the winGetTempname function. (user: mistachkin branch: win32heap)
2013-11-08
20:10
[0b867befe5] part of check-in [fbf8c38283] Add more assert() statements and fix compilation issues when the Win32 native heap is not enabled. (user: mistachkin branch: win32heap)
19:51
[1426ee90b5] part of check-in [e9694b8771] Disable use of HeapCompact on Windows CE as it is not available on all versions. (user: mistachkin branch: win32heap)
18:52
[c008edfbab] part of check-in [37853665e7] Adjust the winMemInit return code handling used when resetting the Win32 native heap. (user: mistachkin branch: win32heap)
18:37
[2a08242b7e] part of check-in [71347d021b] Minor corrections to logging for sqlite3_win32_compact_heap(). (user: mistachkin branch: win32heap)
18:13
[265cd68f8d] part of check-in [c54dc9672b] Enhancements to the Win32 native heap integration. (user: mistachkin branch: win32heap)
17:03
[cf9fde556e] part of check-in [830629d31d] Merge the Cygwin directory separator fix. Also fix a C++-ism in the multiplexor code so that it will compile on MSVC. (user: drh branch: trunk)
2013-10-16
11:31
[b159b5249d] part of check-in [9905cea9d4] Fix memory and resource leaks for WinCE and Cygwin, and a compiler warning on windows with SQLITE_THREADSAFE=0. (user: drh branch: trunk)
09:49
[c812a3c37e] part of check-in [2470d1bb08] Fix memory/resource leaks for WinCE and Cygwin. (user: mistachkin branch: wince-fixes)
2013-10-11
05:51
[0fea05bc7b] part of check-in [7a2006ca94] Fix compilation issue for WinRT. (user: mistachkin branch: trunk)
2013-09-13
23:27
[b8f54f42d9] part of check-in [d5fc3f1dab] Fix Windows SDK compiler warning. (user: mistachkin branch: trunk)
2013-09-12
02:09
[0e73f891dd] part of check-in [75a8a8c1b3] For error log messages generated by the Win32 native allocator, make sure the correct format specifier is used for the value returned by GetLastError(). (user: mistachkin branch: trunk)
01:47
[d18f670eec] part of check-in [59708674f6] Fix a couple more harmless compiler warnings. (user: mistachkin branch: trunk)
00:54
[af9db76467] part of check-in [2b510614dc] Fix harmless compiler warning. (user: mistachkin branch: trunk)
2013-08-31
18:36
[bb592dfb85] part of check-in [c94933f132] Cleanup of the windows VFS, including added support for Cygwin, fixes for compiler warnings under unusual configurations, and improved diagnostic error messages. (user: drh branch: trunk)
17:01
[896581ee5a] part of check-in [b1811baab6] Enhancements to the Win32 API definition macros. (user: mistachkin branch: cygwinTempPath)
02:48
[27ab5a2236] part of check-in [c6f174a0cb] Improve the consistency of the diagnostic messages on Windows. (user: mistachkin branch: cygwinTempPath)
2013-08-30
21:52
[8e87c27189] part of check-in [a411df7251] 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. (user: mistachkin branch: cygwinTempPath)
2013-08-28
18:18
[26d752736d] part of check-in [12d0a8859d] Add the win32-longpath VFS allowing windows filenames up to 32K characters in length. Remove unused code when -DSQLITE_MAX_MMAP_SIZE=0. Fix some compiler warnings on windows. (user: drh branch: trunk)
02:37
[0b9ab09dd3] part of check-in [c3b82c5bf9] Make names of private functions in the Win32 VFS consistent. Fix comment typo in Win32 mutex implementation. (user: mistachkin branch: mmapDisabled)
02:26
[7f8cabe0ae] part of check-in [fc98092f4b] Remove hard-coding of the directory separator in the Win32 VFS. Fixes to OSTRACE macros. (user: mistachkin branch: mmapDisabled)
2013-08-26
23:18
[52bbfe7f96] part of check-in [ec99224b0c] Preparation for further Windows path name handling changes. (user: mistachkin branch: mmapDisabled)
20:45
[c05cd62a7a] part of check-in [0a497083e9] Change MAX_PATH related defines to use character lengths where WCHARs are used. (user: mistachkin branch: mmapDisabled)
2013-08-24
23:55
[339cdb8876] part of check-in [bda4c47df8] Several modifications to the use of the MAX_PATH macro on Windows to improve consistency. (user: mistachkin branch: mmapDisabled)
2013-07-31
23:28
[1d84f2079d] part of check-in [136fc2931b] Limit the number of memset() calls used when determining a temporary file name on Windows. Also, fix a harmless compiler warning. (user: mistachkin branch: trunk)
22:39
[3a74943b28] part of check-in [33ba1f4c5d] Slight modifications to path name translation handling for Cygwin. (user: mistachkin branch: trunk)
22:27
[aead018263] part of check-in [c93d891b03] Use a new error code to represent a failure to get the configured temporary directory on Windows. (user: mistachkin branch: trunk)
19:55
[d0e9774f6d] part of check-in [bb06e15790] 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. (user: drh branch: trunk)
2013-06-26
11:43
[074cb2b9bc] part of check-in [0fe31f60ca] Cut over the next generation query planner. Increase the version number to 3.8.0. (user: drh branch: trunk)
2013-05-23
01:40
[5f018dbd4c] part of check-in [761177927c] 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. (user: drh branch: trunk)
2013-05-17
12:10
[32b8adca3e] part of check-in [1def4ea3a0] 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. (user: dan branch: trunk)
2013-05-16
12:41
[2076d4d1f0] part of check-in [6d45a79fb1] Fix compilation with SQLITE_OMIT_WAL on Win32. (user: mistachkin branch: trunk)
2013-05-09
18:12
[4e2bf07604] part of check-in [cf5c364224] Add assert()s to the implementation of xRead() in the built-in VFSes to verify that the offset parameter is always non-negative. (user: drh branch: trunk)
00:40
[bf297963be] part of check-in [610425f190] Refine and reform all Windows OSTRACE macro usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. (user: mistachkin branch: trunk)
2013-04-28
01:44
[79bf8963cf] part of check-in [b347b5d1a0] Initial work on reforming usage of OSTRACE by the Windows VFS. (user: mistachkin branch: winOsTrace)
2013-04-15
20:08
[673b3e3d1f] part of check-in [f4b8faab45] Expand scope of the SQLITE_MAX_MMAP_SIZE define for the Win32 VFS. (user: mistachkin branch: trunk)
17:03
[873bbc5dff] part of check-in [ea1404a10a] 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. (user: drh branch: trunk)
2013-04-11
22:52
[190be0e689] part of check-in [daa168f3da] Expand scope of the SQLITE_DISABLE_MMAP define for the Win32 VFS. (user: mistachkin branch: winDisableMmap)
19:04
[c96990935e] part of check-in [86f26f9152] Increase the version number to 3.7.16.2 and cherrypick the fix for ticket [7ff3120e4fa54abb55]. This check-in is a release candidate. (user: drh branch: branch-3.7.16)
18:28
[426563476a] part of check-in [dd3510bb20] 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] (user: drh branch: trunk)
2013-04-09
16:19
[3aec291c40] part of check-in [c1e2523c90] 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. (user: drh branch: trunk)
2013-04-04
00:40
[3265df8c76] part of check-in [fff2be6077] Try to use mmap() to speed access to the database file on windows, linux, and mac. (user: drh branch: trunk)
2013-04-03
13:09
[1d0ccc1880] part of check-in [2d9f1327fe] 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. (user: drh branch: experimental-mmap)
10:50
[6718b053fe] part of check-in [24bab7596b] Initialize the mmap_limit of temporary files to the configured mmap_limit. (user: drh branch: experimental-mmap)
2013-04-02
20:13
[6a7a1017fb] part of check-in [4eeea58354] Add assert to the Windows VFS pertaining to the size of the SIZE_T type. (user: mistachkin branch: experimental-mmap)
14:37
[6822b2cda3] part of check-in [fd6ee54969] Fix a faulty assert() in the os_win.c VFS. (user: drh branch: experimental-mmap)
2013-04-01
18:25
[a2f41c9dfb] part of check-in [e3c63c31a2] Add a comment to xUnfetch on windows to say that the call to winUnmapfile() might be unnecessary. (user: drh branch: experimental-mmap)
18:15
[4cb9b2621f] part of check-in [0e44ed1bad] In windows, round down the size of the memory mapped region to the next smaller multiple of the page size. (user: drh branch: experimental-mmap)
17:56
[390653f5c9] part of check-in [ee4d188e20] Bug fix in the winMapfile() subroutine: Be sure to record the map object handle in the sqlite3_file object. (user: drh branch: experimental-mmap)
17:22
[f705e7ce23] part of check-in [a1653a257d] Add xFetch and xUnfetch methods to the os_win.c VFS. (user: drh branch: experimental-mmap)
2013-03-25
19:57
[e4f17ddf79] part of check-in [a607d63f0b] Merge all recent trunk changes into the experimental-mmap branch. (user: drh branch: experimental-mmap)
2013-03-23
12:15
[386f8c034b] part of check-in [8870c4cc6c] In the winMremap VFS function, unmap the region prior to attempting to truncate the file. (user: mistachkin branch: experimental-mmap)
10:09
[8f7de0046d] part of check-in [f57a9c91e9] Do not unmap the mapped file region in winTruncate as there may be outstanding pointers to it. (user: mistachkin branch: experimental-mmap)
09:56
[46d2bbad7a] part of check-in [75a85a1c6a] Preliminary changes to support the xMremap VFS method on Windows. (user: mistachkin branch: experimental-mmap)
2013-03-21
21:20
[9fe5356f94] part of check-in [6f6e2d5094] Many spelling fixes in comments. No changes to code. (user: mistachkin branch: trunk)
2013-03-01
23:24
[f7da4dc0a2] part of check-in [6b2838336a] 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. (user: drh branch: trunk)
2013-02-15
04:21
[eabd00b813] part of check-in [843e1c543a] Check for a NULL handle prior to manually calling winClose. (user: mistachkin branch: trunk)
2013-02-13
22:54
[e27fafe8d0] part of check-in [ec13544ce3] On WinCE, fill in the winFile structure after winceCreateLock has succeeded. (user: mistachkin branch: trunk)
2013-02-12
22:20
[e988c2de42] part of check-in [cdbca259da] Improve memory allocation error handling on WinCE. (user: drh branch: trunk)
2013-02-07
05:12
[d19aae35a7] part of check-in [e1640876df] Add the ability to skip defining the localtime() function when being compiled for WinCE. (user: mistachkin branch: trunk)
2012-12-06
19:01
[ce1f5db8a7] part of check-in [1a63b1d5fa] 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. (user: drh branch: trunk)
2012-11-27
21:12
[6e55b48f79] part of check-in [92e9b5bc05] Improved detection of file-does-not-exist in winDelete. (user: drh branch: trunk)
2012-11-20
15:06
[1003f13a18] part of check-in [d4c36d4991] 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. (user: drh branch: trunk)
2012-10-18
15:01
[43ec128535] part of check-in [5be96788a1] Merge Watcom compiler warning fixes into trunk. (user: drh branch: trunk)
2012-10-08
14:36
[28bd027791] part of check-in [1c2c0a2880] Manually define the Win32 file-mapping APIs for WAL if SQLITE_WIN32_FILEMAPPING_API is defined. (user: mistachkin branch: trunk)
2012-10-07
00:52
[8a549824ca] part of check-in [585e2070ee] Manually define the Win32 file-mapping APIs for WAL if SQLITE_WIN32_FILEMAPPING_API is defined. (user: mistachkin branch: winFileMapping)
2012-10-06
03:48
[44f3905927] part of check-in [4b0facc13b] Changes for WinRT compatibility. Also, allow version resource compilation and embedding to be disabled at compile-time. (user: mistachkin branch: trunk)
2012-09-28
10:57
[1e6b79bea9] part of check-in [6a5c59dd7e] Merge the latest trunk changes (PRAGMA busy_timeout and the ORDER BY query planner enhancements) into the apple-osx branch. (user: drh branch: apple-osx)
2012-09-13
15:24
[90c7a1fe26] part of check-in [eb0f1c292e] Improved reporting of filename translation errors in the Windows VFS. (user: mistachkin branch: trunk)
01:51
[d5f19e444b] part of check-in [c1a8557008] Allow SQLite to work on Win32 with SQLITE_OS_WINNT=0 as long as WAL is disabled. (user: mistachkin branch: trunk)
2012-08-31
14:10
[4ee163bab3] part of check-in [bc9b9cd058] Merge in latest trunk changes. (user: dan branch: apple-osx)
12:31
[5dec8fe85e] part of check-in [527340abff] Changes for ERROR_PATH_NOT_FOUND in addition to ERROR_FILE_NOT_FOUND in winAccess(). (user: drh branch: trunk)
2012-08-28
04:20
[3a18cdb281] part of check-in [9ee3910294] Issue a log message if the temporary directory has not been set when running on WinRT. (user: mistachkin branch: trunk)
2012-08-25
10:01
[421cfe2f2b] part of check-in [9b19b84753] Fix all known instances of 'repeated the' style typos in comments. No changes to code. (user: mistachkin branch: trunk)
01:38
[6897cd3945] part of check-in [6723add4f4] Merge all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2012-08-23
22:45
[88f8cc4ffd] part of check-in [20f184f2d5] Merge changes for the new sqlite3_win32_set_directory API to trunk. (user: mistachkin branch: trunk)
2012-08-21
23:33
[c177b87e25] part of check-in [600de08d40] Added sqlite3_win32_set_directory API to assist in portability to WinRT. (user: mistachkin branch: win32SetDir)
17:36
[a7878531bf] part of check-in [c92b0fe137] 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. (user: drh branch: threads)
2012-08-17
11:47
[b8fc659987] part of check-in [61b1ae1217] 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. (user: mistachkin branch: trunk)
2012-08-16
11:24
[904f85152f] part of check-in [f4125771e2] Update the threads branch to include all the latest trunk changes. (user: drh branch: threads)
2012-08-14
01:45
[370c6f3399] part of check-in [1de2237d00] Refer to the file mapping Win32 API functions only when absolutely necessary. (user: mistachkin branch: trunk)
2012-08-13
22:05
[5de2e293ce] part of check-in [9888ce9294] Refer to the WaitForSingleObjectEx and SetFilePointerEx Win32 functions only for platforms where they are going to be used. (user: mistachkin branch: trunk)
2012-07-23
02:00
[f9f2a4569f] part of check-in [049b041173] Enhance implementation of the Win32 thread wait function. (user: mistachkin branch: threads)
2012-07-21
22:49
[899783012e] part of check-in [793195d371] Add Win32 support to the internal threads interface. Also, add several asserts and fix a few typos. (user: mistachkin branch: threads)
2012-06-08
01:13
[85f7d60e35] part of check-in [9d1b851562] Merge trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2012-06-06
23:23
[e3d3d3e26b] part of check-in [61360ca6ca] Merge the changes need to compile on WinRT into trunk. (user: drh branch: trunk)
2012-05-31
22:12
[ce6b415a2e] part of check-in [54de739f05] Update several APIs to enable compilation with newer revisions of WinRT. (user: mistachkin branch: winrt)
2012-05-17
21:04
[37e1b92f0f] part of check-in [224c65e4a5] Merge updates from trunk. (user: mistachkin branch: winrt)
2012-05-10
12:09
[24b57b4aec] part of check-in [e87702834e] Merge in the legacy table constraint parsing fixes from trunk. (user: drh branch: apple-osx)
2012-05-07
20:28
[ce348d158b] part of check-in [7a7466f400] Merge Windows directory checking changes from trunk. (user: mistachkin branch: winrt)
18:10
[412d643413] part of check-in [a4555a53ea] Merge Windows directory checking changes to trunk. (user: mistachkin branch: trunk)
13:15
[5245515000a] part of check-in [03875633f4] Do not do the AV retry loop on open if the file that is attempting to be opened is really a directory. (user: drh branch: win-check-dir)
2012-04-18
05:57
[c3487c9c50] part of check-in [ad5cd15f49] 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. (user: mistachkin branch: winrt)
2012-03-31
02:46
[12e76b4aa5] part of check-in [18ec60cacd] Merge all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2012-03-30
16:44
[5e9e933a41] part of check-in [196ca3a8b0] Avoid using the OVERLAPPED struct on WinCE. (user: mistachkin branch: trunk)
15:57
[c7b26b78c5] part of check-in [b34491869c] Simplify the winRead and winWrite VFS functions to reduce the number of system calls. (user: drh branch: trunk)
12:27
[6f8080e783] part of check-in [10ce846759] Simplify the winRead and winWrite VFS functions to reduce the number of system calls. (user: mistachkin branch: winrt)
2012-03-19
23:28
[d965471730] part of check-in [9598c2a398] Fix typo, use the syscall table for osOutputDebugStringA. (user: mistachkin branch: winrt)
2012-03-18
03:22
[aeb0aee126] part of check-in [32b5c20e54] On Windows, when no temporary path is available, skip prepending the directory separator. (user: mistachkin branch: winrt)
2012-03-15
03:40
[9bbe851c42] part of check-in [8693fb652e] 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. (user: mistachkin branch: winrt)
2012-03-14
23:08
[a2e9d48184] part of check-in [d3d071598a] Fix macro issues for osGetProcessHeap and sqlite3_win32_write_debug. (user: mistachkin branch: winrt)
20:20
[817bce5df9] part of check-in [845aa46f69] Fix typos, use #if instead of #ifdef when checking for the Win32 native heap validation define. (user: mistachkin branch: winrt)
20:17
[7f5f9d8e21] part of check-in [46c412a8f6] Avoid redefining macros. Enable use of the Win32 native heap on WinRT. Use the syscall table to call OutputDebugStringW and fix type casting warnings. (user: mistachkin branch: winrt)
00:44
[ed4f4f5cad] part of check-in [7354ae8fd3] Add experimental support for resolving relative database file paths using a fixed user-defined directory. (user: mistachkin branch: winrt)
2012-03-13
03:38
[c47a86a8b8] part of check-in [8083f6164f] Add assert to verify the number of characters to write in sqlite3_win32_write_debug. (user: mistachkin branch: winrt)
03:35
[30a479f366] part of check-in [7af88ad306] 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. (user: mistachkin branch: winrt)
01:30
[8e0c3142f0] part of check-in [fb7d8bf6ec] Cleanup the Windows syscall table, removing the unused CreateFileMapping entry. (user: mistachkin branch: winrt)
01:16
[3dc4b1a7ba] part of check-in [6b997d9c32] More changes required to compile for WinRT using VS 11 beta. Also, replace more APIs with their WinRT alternatives. (user: mistachkin branch: winrt)
2012-03-07
20:11
[ca9ff6340c] part of check-in [27d6942ca2] When compiled for WinRT, use the CreateFile2 and LoadPackagedLibrary functions instead of CreateFile and LoadLibrary. (user: mistachkin branch: winrt)
2012-03-05
22:52
[75d5de4906] part of check-in [86c049a171] 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. (user: mistachkin branch: winrt)
2012-03-04
02:56
[a6f5e7b3aa] part of check-in [ed603d7594] When creating the event used to sleep on WinRT, request the minimum access rights required for the desired operations on it (i.e. SYNCHRONIZE). (user: mistachkin branch: winrt)
2012-03-03
13:15
[26867d8baf] part of check-in [38df8fc1b4] When compiled for WinRT, avoid using MapViewOfFile and GetFileAttributes. Also, reset the private 'sleep' event handle when the VFS is cleaned up. (user: mistachkin branch: winrt)
2012-03-02
23:53
[bde6f1867d] part of check-in [9eb331be7e] When compiled for WinRT, avoid using the FORMAT_MESSAGE_ALLOCATE_BUFFER flag to FormatMessage (i.e. because LocalFree is unavailable). (user: mistachkin branch: winrt)
22:38
[f6b9fa7a93] part of check-in [3e7ba3ddb9] When running on Windows with an NT-based kernel, always use the LockFileEx/UnlockFileEx functions (with the correct flags). (user: mistachkin branch: winrt)
13:47
[7378d50e4f] part of check-in [a782d2dc3c] 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. (user: mistachkin branch: winrt)
00:00
[5593c84adc] part of check-in [cbf23b461f] Omit all ANSI APIs for winRT. (user: drh branch: winrt)
2012-03-01
22:44
[c7fc501c60] part of check-in [119f251de7] Use GetInformationByHandleEx() instead of GetFileSize() on winRT. (user: drh branch: winrt)
22:06
[f5d551ef6c] part of check-in [36efafc618] Use SetFilePointerEx() instead of SetFilePointer() on winRT. (user: drh branch: winrt)
21:19
[b9c36459cf] part of check-in [bf897be0da] Use WaitForSingleObjectEx() as a substitute for Sleep on winRT. (user: drh branch: winrt)
2012-01-30
16:13
[f954207e8c] part of check-in [4f0997c7fa] 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. (user: drh branch: nx-devkit)
2012-01-14
14:13
[30dce5f00c] part of check-in [2cc414cd14] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2012-01-11
01:01
[5ac061ae13] part of check-in [93a65776dc] 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. (user: mistachkin branch: trunk)
2012-01-10
00:24
[e344ccb73a] part of check-in [38bc4236d5] 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. (user: drh branch: trunk)
2012-01-08
12:32
[5f24afbcbd] part of check-in [429380f99c] 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(). (user: drh branch: trunk)
2012-01-05
11:43
[88b35c8fe7] part of check-in [7cf568a101] Remove the SQLITE_FCNTL_SYNC_OMITTED cases from the unix and windows VFSes as they are no longer needed because of check-in fd3822f1f2. (user: drh branch: trunk)
2012-01-03
21:54
[d4eb85610e] part of check-in [8a048423f0] Pull all the latest trunk changes over into the apple-osx branch. (user: drh branch: apple-osx)
14:50
[f1057db64d] part of check-in [d73e93cfdc] Make sure filenames passed into sqlite3OsOpen() always have the extra zero-terminators needed by sqlite3_uri_parameter(). (user: drh branch: trunk)
2012-01-02
18:20
[0d3522dd0a] part of check-in [03d8362cd2] 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. (user: drh branch: trunk)
2011-12-23
02:07
[569fe7448e] part of check-in [2370d70eb5] Merge the POWERSAFE_OVERWRITE features and the use of statvfs() from the statvfs branch into trunk. (user: drh branch: trunk)
00:25
[f45f03e458] part of check-in [d5e36327c1] Merge the latest trunk changes into the statvfs branch. (user: drh branch: statvfs)
2011-12-21
14:42
[4fc4aa8aec] part of check-in [c83627b732] 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. (user: drh branch: statvfs)
2011-12-17
19:49
[3cf34661f5] part of check-in [a0be6ea464] 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(). (user: drh branch: statvfs)
2011-12-14
18:33
[197d23ce8a] part of check-in [da118e02c0] Merge the nx-devkit changes into trunk. This includes the new SQLITE_FCNTL_VFSNAME file-control. (user: drh branch: trunk)
17:53
[823f55855c] part of check-in [cdbfb553af] Add a file-control that will discover the name of the bottom-level VFS and all the shims in between. (user: drh branch: vfsname-filectrl)
00:37
[745cfae00e] part of check-in [c65e5a36f1] Treat a zero return value from the Win32 APIs MultiByteToWideChar and WideCharToMultiByte as an error condition. (user: mistachkin branch: trunk)
2011-12-08
21:08
[4c546bde0d] part of check-in [59e0d4f3d9] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
03:51
[8af100f78f] part of check-in [a0d92193dd] Follow the previously established pattern for detecting preprocessor defines for specific flavors of Windows (for NT in this case). (user: mistachkin branch: trunk)
2011-12-06
00:47
[6efe66a382] part of check-in [5b03ba9db0] Merge the winGetLastError fixes into trunk. (user: drh branch: trunk)
2011-11-12
15:41
[a22b88d2c0] part of check-in [c1fab9aca1] Merge the windows xSyscall enhancements into trunk. (user: drh branch: trunk)
2011-11-11
23:31
[ee8ba08462] part of check-in [8966ec1797] Remove use of malloc and free from the Windows VFS. Also, prevent sqlite3BtreeOpen from assuming that sqlite3OsFullPathname cannot fail. (user: mistachkin branch: winSyscall)
22:08
[1d8fe13d45] part of check-in [ed88fb0024] Work in progress to implement the 'syscall' functionality for Windows. (user: mistachkin branch: winSyscall)
2011-11-10
21:45
[d6cf718667] part of check-in [8f28797984] Expand passing of a last error argument to the getLastErrorMsg function. Also, remove unused SQLITE_W32_THREADS define. (user: mistachkin branch: trunk)
20:21
[a9190cb70e] part of check-in [32ab365715] 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. (user: mistachkin branch: trunk)
2011-11-09
18:07
[6749a95cfe] part of check-in [0c951a9704] 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. (user: drh branch: trunk)
2011-10-21
17:18
[4e61b811ab] part of check-in [be62ef058b] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-10-13
14:05
[49d4189164] part of check-in [17e4fde5c5] Make sure all non-API functions in os_win.c have file scope. Ticket [35c54c874987] (user: drh branch: trunk)
2011-10-12
23:13
[58c1cef8a1] part of check-in [c96651dd6c] The date/time functions return NULL if the xCurrentTime or xCurrentTimeInt64 VFS methods fail. Ticket [0b803bff856c644c] (user: drh branch: trunk)
2011-10-11
14:19
[2d6f0e6f7d] part of check-in [7e2c489822] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-10-10
23:53
[3fc8f4bb69] part of check-in [6cb43f6c6e] 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. (user: drh branch: apple-osx)
22:11
[daa67fe04b] part of check-in [db5b7b778c] Merging in cherry picked diffs for persist wal, alloc padding, wal-safe vacuum and sqlite3_file_control based lockstate checking (user: adam branch: apple-osx-377)
2011-09-25
17:49
[fbe47c7fdc] part of check-in [263c5fb280] If an open as read/write fails, do not try to reopen as read-only if in exclusive access mode. (user: drh branch: trunk)
2011-09-16
20:43
[0fc0f46c94] part of check-in [2e66e41457] Fix #if's in winSync to avoid compiler warnings about unused local variables. Also, update version numbers in the MSVC makefile. (user: mistachkin branch: trunk)
2011-09-02
15:08
[33b7b7b489] part of check-in [61bda876af] Remove unused local variable. (user: mistachkin branch: trunk)
2011-08-30
01:23
[45de13c6c3] part of check-in [88b763e8d7] Make sure SQLITE_FCNTL_SIZE_HINT a no-op if the chunk size is not greater than zero. (user: mistachkin branch: trunk)
2011-08-26
11:18
[86bcb5bd03] part of check-in [5238a74987] Merge Win32 native heap support into trunk. (user: mistachkin branch: trunk)
01:32
[dc2e61b072] part of check-in [1c2ecec8e7] Allow the Win32 native heap flags to be overridden at compile-time. (user: mistachkin branch: winNativeHeap)
2011-08-25
01:58
[19fa09046f] part of check-in [67ff8d27f6] Cherrypick the d4f6437f8d change so that SQLITE_FCNTL_SIZE_HINT is always honored and never undone by memory pressure on windows. (user: drh branch: trunk)
01:16
[7d27ec1e65] part of check-in [d4f6437f8d] Make sure that SQLITE_FCNTL_SIZE_HINT on Windows does not shrink the file. (user: mistachkin branch: winNativeHeap)
2011-08-24
17:42
[f9958ef764] part of check-in [7fca5a284c] Add error logging to native Win32 heap support. (user: mistachkin branch: winNativeHeap)
16:13
[a9950bf0f3] part of check-in [bf3d0ab538] Experimental work to allow SQLite to use the native Win32 heap API. (user: mistachkin branch: winNativeHeap)
2011-08-03
22:06
[4eb6fa00ee] part of check-in [b90c28be38] Merge the winopen-retry-logic branch into trunk. The biggest change here is to test scripts, which should now use such as copy_file and delete_file from tester.tcl rather than the raw file commands of TCL. (user: drh branch: trunk)
2011-07-28
20:48
[60af92b1b1] part of check-in [1b56677bdf] Merge changes for the new sqlite3_file_control() that will cause the -wal and -shm files to persist after the last database connection closes. (user: mistachkin branch: trunk)
19:16
[f79cb7c31c] part of check-in [93079a92c4] Remove redundant sub-expression from retry loop invariant in winAccess. Also, make check for SQLITE_ACCESS_READWRITE formally correct. (user: mistachkin branch: trunk)
07:34
[2d96ae3e54] part of check-in [8a145863d1] Fix conditional for retry logic in winAccess and add missing call to logIoerr. (user: mistachkin branch: trunk)
2011-07-26
16:23
[7dd45f72a6] part of check-in [a9d8794ae9] Test cases added. Fix the query mode. (user: drh branch: persistent-wal-patch)
16:03
[313f48b6f9] part of check-in [e34c553bf0] Prototype change for a new sqlite3_file_control() that will cause the -wal and -shm files to persist after the last database connection closes. (user: drh branch: persistent-wal-patch)
2011-07-23
13:54
[8449cb4ce1] part of check-in [08d0e8799e] Merge the winAccess retry logic from the anti-antivirus branch into the trunk. (user: drh branch: trunk)
2011-07-13
16:03
[c5eadb2c0f] part of check-in [7aaf0a6ae1] Added the SQLITE_FCNTL_WIN32_AV_RETRY file control for configuring the retry counts and delays in the windows VFS. (user: drh branch: trunk)
2011-07-12
14:38
[57778b70d2] part of check-in [0207fd9b0c] Merge the improved anti-virus defenses into the trunk. (user: drh branch: trunk)
13:51
[07050df9e4] part of check-in [ff0ff75c35] Improvements to the logging that occurs on an antivirus I/O retry. (user: drh branch: av-defense)
11:04
[4cea89f0a6] part of check-in [89f1848d7f] Update the anti-virus retry logic for DeleteFile(). Invoke sqlite3_log() for each anti-virus retry. Make the retry delay configurable at compile-time. (user: drh branch: av-defense)
2011-07-11
18:17
[6ba8a531bd] part of check-in [c20aca0661] 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. (user: drh branch: trunk)
2011-06-20
20:48
[eafcd6b91c] part of check-in [3ee5d1a51d] Add additional error check for disk full on Windows. (user: shaneh branch: trunk)
2011-05-17
20:36
[218b899469] part of check-in [96d6098560] 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". (user: drh branch: trunk)
2011-05-06
18:55
[ff0e14615a] part of check-in [88df33c45f] Merge the uri branch with the trunk. (user: dan branch: trunk)
2011-04-27
19:54
[4271f0bf73] part of check-in [f55156c519] In windows, ignore ERROR_NOT_LOCKED when calling the read-lock removal routine. (user: drh branch: trunk)
16:05
[0d2fb750f7] part of check-in [7b479b9bee] Expose the UTF8 to MBCS conversion routine in os_win.c to external applications. (user: drh branch: trunk)
2011-04-15
20:18
[d149b9a7df] part of check-in [8f99c5bf63] 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. (user: shaneh branch: trunk)
13:29
[96ab57a50e] part of check-in [1cca9a49f2] Add retry logic to GetFileAttributesEx() on windows. (user: drh branch: experimental)
2011-04-13
23:42
[177a14a069] part of check-in [8332949c28] Remove extra CR and NL characters from FormatMessage() generated error messages in the windows VFS. (user: drh branch: trunk)
20:26
[bcd4fbe3ed] part of check-in [fe603217fc] 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. (user: drh branch: trunk)
2011-03-08
16:39
[24d72407a9] part of check-in [36d79e6f54] Merge the syscall-override changes into trunk. (user: drh branch: trunk)
2011-03-02
15:09
[c2df806a85] part of check-in [92b5a76abc] Proof-of-concept prototype for the proposed xSetSystemCall extension method on the VFS. (user: drh branch: syscall-override)
2011-01-26
19:46
[9abdcdd925] part of check-in [6f2c72a0f6] 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. (user: drh branch: trunk)
2010-09-03
04:29
[2f90f7bdec] part of check-in [f213e133f6] Reduce the amount of memory taken up by WAL mmaped regions under Windows. (user: shaneh branch: trunk)
2010-09-01
02:38
[6fb3447ffe] part of check-in [afdc82a99e] Fix some compiler warnings under MSVC. (user: shaneh branch: trunk)
2010-08-24
20:46
[718a48ca09] part of check-in [40526d8390] Replicate asserts on unixOpen() to winOpen() in os_win.c. (user: shaneh branch: trunk)
2010-08-11
06:04
[51cb62f762] part of check-in [aa092ac928] Merge experimental changes into trunk. (user: dan branch: trunk)
2010-08-07
11:46
[ed741817cf] part of check-in [f88c6367d2] Merge in all changes up to the 3.7.0.1 release. (user: drh branch: apple-osx)
2010-07-20
20:23
[1f8b0a1a5b] part of check-in [13ed106c8c] Added fix to os_win.c for race conditions from os_unix.c; added saving of errno in two places. (user: shaneh branch: trunk)
2010-07-14
00:22
[61734aad7f] part of check-in [2b68e50268] Remove the xShmOpen method from the VFS. Shared-memory is opened automatically by a call to xShmMap. Rename the xShmClose method to xShmUnmap. (user: drh branch: trunk)
2010-07-13
18:44
[3bb7e08104] part of check-in [f4780bde62] 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. (user: dan branch: experimental)
2010-07-12
20:46
[04c8828e4c] part of check-in [b73fe2754b] 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(); (user: shaneh branch: trunk)
2010-07-08
03:13
[b39c2c2634] part of check-in [0d53da9451] Changes to os_win.c to have it simulate IO errors like os_unix.c. (user: shaneh branch: trunk)
2010-07-07
14:45
[f0a56db578] part of check-in [8eefc28726] Fixed a new error introduced by last check-in of os_win.c. Updated xAccess() to support SimulateIOError(). (user: shaneh branch: trunk)
13:58
[c4b785547b] part of check-in [4bfd46f1db] Fix minor issue in xAccess() method for Windows. (user: shaneh branch: trunk)
2010-07-06
20:33
[f0c975122e] part of check-in [ca4b7ffbd4] Modified the xWrite() method on Windows to differentiate between IO and disk full error returns. (user: shaneh branch: trunk)
2010-07-05
21:00
[bdc058198c] part of check-in [ec35f25403] 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. (user: drh branch: trunk)
2010-07-03
17:13
[883caa09d8] part of check-in [51ec0e5432] Remove the unused xRename() method from the sqlite3_vfs object. Add better documentation on the xCurrentTimeInt64() method. (user: drh branch: trunk)
12:31
[dd4c6f238f] part of check-in [48bf309391] Cherry-pick the correct changes out of the recent "mistake" branch while omitting the bugs. (user: drh branch: trunk)
2010-07-02
17:05
[e82ed9e1c1] part of check-in [708338773919f] Fix some warnings when compiling under MSVC. (user: shaneh branch: mistake)
2010-06-25
12:52
[48f6779896] part of check-in [5995cb1508] Change the name of the shared-memory file on windows from *-wal-index to *-shm, for consistency with unix. (user: drh branch: trunk)
2010-06-23
17:58
[00385a839d] part of check-in [a6dc0df304] Adjust the shared-memory locking range to account for the new version number values in the wal-index header. (user: drh branch: trunk)
15:18
[e5b62352d7] part of check-in [51ef43b9f7] Fix the xCurrentTimeInt64 interface on windows. It was off by a factor of 10. (user: drh branch: trunk)
2010-06-21
12:47
[73608839342d] part of check-in [ee0acef1fa] Merge the experimental UNDELETABLE_WHEN_OPEN optimization into the trunk. (user: drh branch: trunk)
2010-06-14
18:01
[dfde7d33c4] part of check-in [58dfd83d8b] Move the xShmMap method to in between xShmLock and xShmBarrier, since it seems to fit in there logically. (user: drh branch: trunk)
17:09
[3d761e3368] part of check-in [f295e7ed5f] Merge the experimental shared-memory mmap-by-chunk changes into the trunk. (user: drh branch: trunk)
2010-06-03
18:02
[0cf1f57154] part of check-in [ed7774de04] Performance fix for winShmClose(). (user: drh branch: trunk)
2010-06-01
15:24
[f815403c51] part of check-in [1d3e569e59] The incremental checkpoint feature is not perfect yet, but it is working well enough to merge it into the trunk. (user: drh branch: trunk)
2010-05-26
15:06
[81dd8f5434] part of check-in [72de007312] 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). (user: drh branch: trunk)
2010-05-25
13:40
[e300c8f85c] part of check-in [40030c0739] 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. (user: drh branch: trunk)
2010-05-20
23:51
[1e44ee8421] part of check-in [1bd011c9fe] 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. (user: drh branch: trunk)
2010-05-19
23:41
[3c8cafd244] part of check-in [43377663fc] Merge WIN32 WAL support into trunk. Still some issues with locking to resolve. (user: shaneh branch: trunk)
22:09
[bc65553f91] part of check-in [776679af58] Cherry-pick the SQLITE_FCNTL_SIZE_HINT patch (check-in 2b7e3b4a30d6a7c4a8 and bump the version number to 3.6.23.2. (user: drh branch: branch-3.6.23)
19:39
[c067d6413e] part of check-in [9894118d20] Add the SQLITE_FCNTL_SIZE_HINT to the os_win.c VFS. (user: drh branch: trunk)
2010-05-14
16:34
[e0a74dd60e] part of check-in [4b69f2cd31] Pull in all the latest changes from the trunk. Update the win32 SHM methods to work with the new interface design. (user: drh branch: wal-win32)
11:30
[70c4a33277] part of check-in [5fe529f239] Change the OSTRACEn() macro to OSTRACE(()). Also rename some internal fields and variables in os_unix.c to be more meaningful and searchable. (user: drh branch: trunk)
2010-05-12
17:14
[858e38344c] part of check-in [76504726a1] Updates to WAL support in os_win.c: pulled in latest changes from src/os_unix.c; updated tracing; misc. improvements. (user: shaneh branch: wal-win32)
2010-05-11
02:49
[0bd6984370] part of check-in [111ad59f21] Initial port of WAL VFS support from os_unix.c to os_win.c. (user: shaneh branch: wal-win32)
2010-05-03
14:08
[a8fc01d848] part of check-in [de9ae443cc] Merge the write-ahead-logging changes into the trunk. (user: drh branch: trunk)
2010-04-26
00:04
[607b40e406] part of check-in [f5e615c28c] 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. (user: drh branch: wal)
2010-02-23
17:36
[1c7453c2df] part of check-in [7c4cca6d1a] Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. (user: drh branch: trunk)
2009-11-03
19:42
[5ffab20249] part of check-in [01c4b5b84e] Fix compiler warnings on MSVC build. (user: shane branch: trunk)
2009-10-21
02:00
[d02908847f] part of check-in [761396f8cb] 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]. (user: shane branch: trunk)
2009-09-10
20:23
[49a360be4f] part of check-in [f42ec993ac] Fixed some warnings and an assert in the WINCE code when compiling under MSVC. (user: shane branch: trunk)
2009-08-17
15:52
[58bb163f32] part of check-in [67ad21abf8] Move error simulation code from the sqlite3_os_init() functions into a wrapper. (user: dan branch: trunk)
15:16
[a3e93d1b44] part of check-in [904a371c6c] Add tests to check that sqlite recovers from an error in sqlite3_initialize() correctly. (user: dan branch: trunk)
2009-08-12
15:34
[6de69d8f51] part of check-in [1f0a93e17d] Fixed some compiler warnings in WINCE only sections when using the MSVC compiler. (user: shane branch: trunk)
2009-08-05
04:08
[79bb3c59d6] part of check-in [a1c184cd2a] Simplified conditional for read-only lock in winceLockFile() function. Ticket #3991. (CVS 6958) (user: shane branch: trunk)
2009-04-23
19:08
[725c38a524] part of check-in [18fef3fcf6] 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) (user: shane branch: trunk)
2009-04-15
14:36
[c3d0354b9a] part of check-in [e203ad400d] Fix access violation on WinCE platforms. Ticket #3804. (CVS 6509) (user: shane branch: trunk)
2009-04-09
14:27
[25092e59f1] part of check-in [5350a6586c] Provide dummy DWORD arguments to output parameters of GetDiskFreeSpace(A|W), NULL causes access violations on Windows NT 4.0 (CVS 6477) (user: chw branch: trunk)
2009-03-31
03:41
[524fe4c31c] part of check-in [768514179a] Fix compiler warnings from gcc and MSVC; Correct typo in select.c; (CVS 6417) (user: shane branch: trunk)
2009-03-30
13:04
[e655b2a640] part of check-in [18b44f0df3] Make sure recursive calls to winOpen() preserve the pVfs pointer. Fault found while testing a mingw build in VMWare. (CVS 6410) (user: drh branch: trunk)
12:42
[07f7c803f5] part of check-in [7ef3693542] Avoid all use of the "LL" suffix for long-long integer literals. Ticket #3759. (CVS 6408) (user: drh branch: trunk)
2009-03-05
05:54
[40636702058e] part of check-in [68abcb278c] Implemented winSectorSize(); Other changes for consistency. os_win.c. Ticket #2931. (CVS 6339) (user: shane branch: trunk)
04:20
[4a91fbbeed] part of check-in [6404afa0c5] Corrected typos and misspellings. Ticket #3702. (CVS 6336) (user: shane branch: trunk)
2009-02-05
03:16
[45cb430884] part of check-in [82e03f1b54] Fixed error detection in winTrucate() in os_win.c. Windows version only. Ticket #3640. (CVS 6262) (user: shane branch: trunk)
2009-02-04
03:59
[b83b57c24e] part of check-in [5cef400023] 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) (user: shane branch: trunk)
2009-01-30
05:59
[ec133f2a3c] part of check-in [9ea871f3e8] Implemented the SQLITE_LAST_ERRNO op in the xFileControl() method of os_win.c. Ticket #3615. (CVS 6217) (user: shane branch: trunk)
2008-12-11
02:58
[496e3ceb49] part of check-in [72fd92bd67] Removed a few more harmless warnings from MSVC. (CVS 6018) (user: shane branch: trunk)
2008-12-10
22:30
[d42d591be8] part of check-in [715dcd52c1] Work to remove harmless MSVC compiler warnings. (CVS 6013) (user: shane branch: trunk)
21:19
[d7a1240302] part of check-in [ea01d43788] Additional work at eliminating silly compiler warnings. (CVS 6010) (user: drh branch: trunk)
19:26
[af9459fcd0] part of check-in [c872d55493] 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) (user: drh branch: trunk)
2008-12-08
18:19
[79e55bbe21] part of check-in [73c7302c5f] The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) (user: drh branch: trunk)
2008-11-19
21:35
[3dff41670f] part of check-in [00b68a1e31] In os_win.c, if SQLITE_TEST defined, winRandomness() should return all zeroes like os_unix.c. (CVS 5932) (user: shane branch: trunk)
2008-11-18
19:18
[08d0b059ac] part of check-in [f4411f0c80] Expose the MBCS->UTF8 convert routine in the Win32 backend. (CVS 5917) (user: drh branch: trunk)
2008-11-13
18:20
[b1cd079217] part of check-in [2649337937077d] Added support for -DSQLITE_NO_SYNC to os_win.c. (CVS 5904) (user: shane branch: trunk)
2008-11-07
00:06
[e208cbbcea] part of check-in [fb311d6f40] Add documentation to make it clear that short reads from xRead in the VFS must be zero-filled. (CVS 5867) (user: drh branch: trunk)
2008-10-22
16:55
[a26292f39a] part of check-in [5276e31d42] Removed some more dead code and fixed some unresolved externals for WINCE. Ticket #3420. (CVS 5837) (user: shane branch: trunk)
2008-10-12
02:27
[13bed718f6] part of check-in [500c50561f] Check for failures in winTruncate. Ticket #3415. (CVS 5811) (user: shane branch: trunk)
2008-09-30
04:20
[04033a86a3] part of check-in [15dd0169a4] 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) (user: shane branch: trunk)
2008-09-01
22:15
[3209dc0ed7] part of check-in [e0461f8755] Add define for INVALID_FILE_ATTRIBUTES if it is not already defined, as some older Windows compilers do not define it. (CVS 5657) (user: shane branch: trunk)
2008-07-31
01:34
[aefe9ee264] part of check-in [03a7973477] Improved retry logic for winDelete() when in "pending delete" state. (CVS 5505) (user: shane branch: trunk)
2008-07-22
05:32
[50ec783403] part of check-in [c0a5cf38ee] 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) (user: shane branch: trunk)
2008-07-18
23:47
[08f8678d2c] part of check-in [5c5c1f7279] Remove dead code from os_win.c. Ticket #3232. (CVS 5441) (user: drh branch: trunk)
2008-06-26
10:41
[2bf2f8cd70] part of check-in [cdd4cf4ce2] 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) (user: danielk1977 branch: trunk)
2008-06-25
17:19
[77cae91338] part of check-in [8fa33b79d7] 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) (user: danielk1977 branch: trunk)
2008-06-13
18:24
[0b90d9a1ce] part of check-in [a03c5af115] Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) (user: drh branch: trunk)
2008-06-06
15:49
[0d975b131b] part of check-in [b8f1da52c3] Add the xGetLastError() member function to the sqlite3_vfs structure. It is neither called nor implemented at this point. (CVS 5192) (user: danielk1977 branch: trunk)
11:11
[07df9a6f40] part of check-in [5173b3e816] 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) (user: danielk1977 branch: trunk)
2008-06-05
11:39
[9ac4e4e9c8] part of check-in [4226ac54be] Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) (user: danielk1977 branch: trunk)
2008-05-29
03:54
[812f9ba8cd] part of check-in [ad6a782e7c] 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) (user: shane branch: trunk)
2008-05-16
04:51
[3b0a31c598] part of check-in [81a8c70ed7] Add more version tags to files that lack them. Ticket #3120. (CVS 5137) (user: danielk1977 branch: trunk)
2008-03-19
14:15
[3a60bddd07] part of check-in [15110ea027] 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) (user: drh branch: trunk)
2008-02-20
00:00
[aa3f4bbee3] part of check-in [5bc8e564e3] Make multiple attempts to delete files marked DELETE_ON_CLOSE under WinCE. Ticket #2950. (CVS 4802) (user: drh branch: trunk)
2007-12-13
21:54
[c832d528ea] part of check-in [4e91a267fe] 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) (user: drh branch: trunk)
2007-12-10
21:11
[737fe68583] part of check-in [19db91fd68] Make sure the windows driver responds correctly to the SQLITE_OPEN_DELETEONCLOSE flag. Ticket #2829. (CVS 4607) (user: drh branch: trunk)
2007-12-06
13:26
[a92769a7ec] part of check-in [f015a38771] Use the specified buffer length, not the maximum buffer length in unixFullPathname() and related functions. (CVS 4595) (user: drh branch: trunk)
2007-11-12
21:09
[1fb40eb62f] part of check-in [8ad0ab8cb3] Various changes to enable compilation of SQLite library and command line shell with the Windows CE cross compiler from cegcc.sourceforge.net (CVS 4541) (user: chw branch: trunk)
2007-11-07
01:19
[81690a858b] part of check-in [08a685abc1] In the windows VFS, make sure we do not return an error if attempting to delete a file that does not exist. (CVS 4532) (user: drh branch: trunk)
2007-10-09
15:36
[fe8f2d8fc3] part of check-in [b2bdb47685] Still more tweaks to the wince interface. Ticket #2711. (CVS 4482) (user: drh branch: trunk)
15:20
[13b80c00ee] part of check-in [beb91af706] Fix a typo in the wince driver. Ticket #2710. See also ticket #2702. (CVS 4481) (user: drh branch: trunk)
2007-10-08
15:06
[3ea65d671b] part of check-in [ccd709e179] More untested changes for wince contributed by users. Ticket #2702. (CVS 4479) (user: drh branch: trunk)
12:29
[3bc308a90f] part of check-in [27346fa55e] 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) (user: drh branch: trunk)
12:22
[0fd00bbfc4] part of check-in [a36fca4cde] Fix a bug in code for winCE. Ticket #2700. (CVS 4477) (user: drh branch: trunk)
12:21
[713bb34665] part of check-in [5cdbc0972f] In windows, always open files using FILE_FLAG_RANDOM_ACCESS. Ticket #2699. (CVS 4476) (user: drh branch: trunk)
2007-10-05
14:49
[b2b6aa5f72] part of check-in [38674fd287] Use FormatMessageA() instead of FormatMessage() in the w32 VFS. Ticket #2687. (CVS 4468) (user: drh branch: trunk)
2007-09-20
14:39
[99960c7b9d] part of check-in [138d3fcc5a] Replace "i64" with "sqlite3_int64" in the w32 VFS. (CVS 4441) (user: drh branch: trunk)
2007-09-17
07:02
[e638300494] part of check-in [8b29f5fbfc] 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) (user: danielk1977 branch: trunk)
06:06
[697dd7ad0f] part of check-in [ad3687b16e] Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432) (user: danielk1977 branch: trunk)
2007-09-14
20:32
[24acb158d0] part of check-in [8cc51e0a81] Corrections to the winCE code. Untested. (CVS 4431) (user: drh branch: trunk)
2007-09-12
14:09
[b3ae109c4e] part of check-in [c6ee5929e7] Add a missing semi-colon to os_win.c. Ticket #2642. (CVS 4421) (user: danielk1977 branch: trunk)
2007-09-05
17:06
[b663c171ab] part of check-in [ea1d76e3fa] Fix a harmless typo in the PRNG initialization on win32. Ticket #2617. (CVS 4405) (user: drh branch: trunk)
2007-09-03
17:09
[d8909c199a] part of check-in [40cf0c1776] Fix the open file counter on windows. (CVS 4382) (user: drh branch: trunk)
17:02
[c077b821e0] part of check-in [1be70015e2] Get the io.test tests working on windows. (CVS 4381) (user: drh branch: trunk)
13:06
[57f9b96e78] part of check-in [91b50f31e3] Improvements to the xRandomness() method on the default windows VFS. Ticket #2615. (CVS 4374) (user: drh branch: trunk)
2007-09-01
02:13
[ce778c06af] part of check-in [ca6c1e3f44] 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) (user: drh branch: trunk)
2007-08-31
18:34
[60ab73611d] part of check-in [306586c412] 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) (user: drh branch: trunk)
16:11
[d8f9a643bb] part of check-in [d3ab3e3911] Initial implementation of the sqlite3_file_control() interface. Compiles and passes all historical tests but the new method is itself untested. (CVS 4353) (user: drh branch: trunk)
2007-08-30
16:46
[85e5661c85] part of check-in [1f80cf5e75] Fix a memory leak in the win32 OS driver. Ticket #2602. (CVS 4345) (user: drh branch: trunk)
2007-08-27
21:10
[3ffd3aacff] part of check-in [0791f917bb] Added the 34to35.html document describing the changes between 3.4.2 and 3.5.0. Minor interface cleanups. (CVS 4302) (user: drh branch: trunk)
2007-08-24
17:52
[4f840e9762] part of check-in [75aad31698] 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) (user: drh branch: trunk)
16:08
[e2598a18db] part of check-in [b8451da378] 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) (user: drh branch: trunk)
03:51
[1cb94dd33d] part of check-in [3a68fcddfa] The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) (user: drh branch: trunk)
2007-08-21
10:44
[29c0e19c10] part of check-in [fbbd5bda54] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (user: drh branch: trunk)
2007-05-14
12:12
[d868d5f9e9] part of check-in [fc489b5382] In the windows driver, reacquire the shared lock if an exclusive lock fails. Ticket #2354. (CVS 3992) (user: drh branch: trunk)
2007-05-05
12:06
[3b61690381] part of check-in [54a1d275aa] Fix a sprintf() problem introduced by (3916). (CVS 3927) (user: drh branch: trunk)
2007-05-04
13:15
[5e9e3d2aee] part of check-in [ba4845b32b] 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) (user: drh branch: trunk)
2007-04-11
17:54
[e94903c7dc] part of check-in [ca56c3e225] 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) (user: drh branch: trunk)
2007-04-01
23:49
[c9a99524d6] part of check-in [18aec1ddfb] Fix some warnings about unused and uninitialized variables. (CVS 3788) (user: drh branch: trunk)
2007-03-30
11:29
[c3a8403ea2] part of check-in [23653f7aab] 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) (user: drh branch: trunk)
2007-03-29
18:19
[d6cb36287a] part of check-in [0fb9af1d6e] 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) (user: drh branch: trunk)
2007-03-27
16:19
[84c02837a6] part of check-in [b24a6e7b02] 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) (user: danielk1977 branch: trunk)
2007-03-26
22:05
[13708a58aa] part of check-in [0b832e218e] Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) (user: drh branch: trunk)
2007-03-23
10:08
[1d1d0989b0] part of check-in [0fd9983a98] Add a comment to the OsSectorSize() function. (CVS 3710) (user: danielk1977 branch: trunk)
2007-03-19
05:54
[f3ca3e0816] part of check-in [5752d84d37] Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700) (user: danielk1977 branch: trunk)
2007-01-10
18:56
[8736cf3a49] part of check-in [a72c950cdb] Make the AreFileApisANSI() call a macro with a value of 1 on wince. Ticket #2163. (CVS 3590) (user: drh branch: trunk)
2007-01-09
17:18
[8999403beb] part of check-in [4b36de46c4] Fix the windows OS layer so that it returns detailed IOERR error codes. (CVS 3583) (user: drh branch: trunk)
15:32
[788ae0fa45] part of check-in [c4eb2100c3] Work around win2k problems so that single-character filenames can be used. Ticket #2151. (CVS 3582) (user: drh branch: trunk)
2007-01-05
14:38
[300709309613e] part of check-in [daed2bab00] Suppress compiler warnings. Fix a bug in IO error detection on windows. (CVS 3564) (user: drh branch: trunk)
2007-01-03
23:36
[92df146ed9] part of check-in [a593d5743e] Additional changes in the pager and os interface layers to fix problems that might be contributing to recently observed database corruption. (CVS 3549) (user: drh branch: trunk)
2006-12-21
03:20
[ca46001d4e] part of check-in [0b47d88060] More fixes to the microsoft code-page nightmare... (CVS 3544) (user: drh branch: trunk)
02:21
[d7cf0fc2ac] part of check-in [e3dddd1cef] Use GetProcAddressA() on wince. Ticket #2123 (CVS 3543) (user: drh branch: trunk)
01:37
[96c7cf8213] part of check-in [6d2ff0962d] Reduce the number of utf8->unicode conversions required in wince. Ticket #2122 (CVS 3542) (user: drh branch: trunk)
01:29
[359dd74a2b] part of check-in [a1bcc6de57] 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) (user: drh branch: trunk)
00:46
[eb6642f708] part of check-in [cca1eb3dfa] Change a parameter type from "int" to "DWORD" in the windows interface. Ticket #2122. (CVS 3540) (user: drh branch: trunk)
2006-11-07
15:02
[cac5f9b60f] part of check-in [d309680ec7] Fix a typo in os_win.c. Ticket #2055. (CVS 3504) (user: drh branch: trunk)
2006-11-06
21:20
[06e11389bd] part of check-in [6324ea811e] 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) (user: drh branch: trunk)
2006-10-30
13:37
[1be3a56e96] part of check-in [9fa3ae584a] Changes to support non-ASCII characters in win95 filenames. Ticket #2047. (CVS 3495) (user: drh branch: trunk)
2006-09-26
00:37
[30e51641b0] part of check-in [944d5f8120] Fix to the previous check-in. (CVS 3446) (user: drh branch: trunk)
00:34
[6c9da4c761] part of check-in [46ac1ac2d1] Performance improvement and bug fix in sqlite3WinDelete(). (CVS 3445) (user: drh branch: trunk)
2006-09-14
13:47
[a66763099e] part of check-in [86931854fc] Enhanced I/O error simulation. (CVS 3418) (user: drh branch: trunk)
2006-06-04
23:31
[c6976ae50b] part of check-in [697498d4e8] Add comments to the changes of check-in (3200). (CVS 3202) (user: drh branch: trunk)
23:02
[e64e6bdfc4] part of check-in [f32dbe47ff] 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) (user: drh branch: trunk)
2006-06-02
12:40
[f48550e191] part of check-in [4bf03c3bbc] 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) (user: drh branch: trunk)
2006-02-27
23:44
[8ced9ac826] part of check-in [1fe9ca078b] Reduce the size of a memory allocation in the windows driver to the minimum needed. Ticket #1690. (CVS 3115) (user: drh branch: trunk)
2006-01-31
19:31
[c67a2c46d9] part of check-in [b922c8e45f] Fix some pointless warnings from overly-pedantic compilers. (CVS 3048) (user: drh branch: trunk)
2006-01-24
12:09
[566bf7b41b] part of check-in [d86f18a427] Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024) (user: danielk1977 branch: trunk)
2006-01-23
22:15
[63718af58c] part of check-in [c57922838a] Bug fix in the WinCE bindings. (CVS 3015) (user: drh branch: trunk)
16:25
[2600438d6c] part of check-in [2ef8b85db7] Get I/O error tests working on windows. (CVS 3007) (user: drh branch: trunk)
15:54
[438e6587e1] part of check-in [436287c2bf] Cut over the patches to support WinCE. Ticket #1600. (CVS 3003) (user: drh branch: trunk)
2006-01-18
17:25
[98e4e38db7] part of check-in [e1ad9df1cf] 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) (user: drh branch: trunk)
16:51
[a1584b1535] part of check-in [ac090f2ab3] Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) (user: danielk1977 branch: trunk)
14:20
[e1c0600129] part of check-in [dd3e07cae4] Recursive mutexes in os_win.c. (CVS 2969) (user: drh branch: trunk)
2006-01-17
16:10
[b9cb625469] part of check-in [9e2e40845d] Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623. (CVS 2965) (user: danielk1977 branch: trunk)
2006-01-13
06:33
[cd4ca2753a] part of check-in [dd70595542] Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) (user: danielk1977 branch: trunk)
2006-01-12
01:25
[4ebb7e116e] part of check-in [a8c74febec] Improve performance by about 10% by avoiding excess calls to get the thread-specific data. (CVS 2921) (user: drh branch: trunk)
2006-01-11
23:40
[e372f99c4a] part of check-in [fb518b0ce4] Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup() API is documented. This should close ticket #1601. (CVS 2920) (user: drh branch: trunk)
21:41
[b67dd34bf1] part of check-in [5d9c6aa964] 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) (user: drh branch: trunk)
2006-01-09
23:40
[8ef250a096] part of check-in [ec332d8822] Added database server example code (untested). Fixed serveral bugs including the autovacuum compile problem described by ticket #1593. (CVS 2897) (user: drh branch: trunk)
2006-01-07
18:14
[9cedcb13d6] part of check-in [15fda14ee0] Continued progress toward a working wince backend. (CVS 2885) (user: drh branch: trunk)
2006-01-06
21:09
[88f372bf09] part of check-in [b10343d916] Additional changes for wince. (CVS 2877) (user: drh branch: trunk)
20:40
[acd7a7a61e] part of check-in [f3cbd995c8] More changes to support wince. (CVS 2876) (user: drh branch: trunk)
20:22
[8ed8a36d24] part of check-in [b45c076f0d] Additional efforts to get it to build on WinCE. (CVS 2875) (user: drh branch: trunk)
16:17
[60da6aa3cf] part of check-in [434405678778e] A first attempt at adding native support for WinCE. (CVS 2874) (user: drh branch: trunk)
14:32
[3239b124d2] part of check-in [2529c2e11f] 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) (user: drh branch: trunk)
00:36
[c774f88808] part of check-in [3aa8befedf] Windows implementation of the thread-specific data interface. (CVS 2864) (user: drh branch: trunk)
2006-01-02
20:00
[7e2d09f81c] part of check-in [a582b15959] Add the xInMutex method to the os-layer switch for testing whether or not mutexes are used correctly. (CVS 2851) (user: drh branch: trunk)
2005-12-15
10:50
[9feb97f49b] part of check-in [81a41f6637] Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819) (user: danielk1977 branch: trunk)
10:11
[2da77ddc03] part of check-in [c1ed79f594] Add the sqlite3_os_routine_set()/get() functions. (CVS 2818) (user: danielk1977 branch: trunk)
2005-11-30
03:20
[d962ac2dd0] part of check-in [bd8740d1ae] 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) (user: drh branch: trunk)
2005-11-29
19:50
[2095cae6b2] part of check-in [59bdca2552] Make the build work on windows again. Ticket #1544. (CVS 2793) (user: drh branch: trunk)
03:13
[f18626e446] part of check-in [058f317538] 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) (user: drh branch: trunk)
2005-11-26
03:43
[a3762efcc6] part of check-in [57a674fc71] Add an OS method for making copies of file descriptors. This fixes the crash tests. (CVS 2786) (user: drh branch: trunk)
00:25
[5d282b4fb2] part of check-in [1f69aec285] 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) (user: drh branch: trunk)
2005-09-19
12:53
[fbccc85e70] part of check-in [b2d1803c25] Work around limitations of MSVC++ 6. Tickets #1429, #1437, and #1440. (CVS 2720) (user: drh branch: trunk)
2005-09-09
10:17
[ed03a35b28] part of check-in [bc8c33f94c] Detect errors returned by SetFilePointer on windows. (CVS 2681) (user: drh branch: trunk)
01:32
[5771f4b7d2] part of check-in [461e3a0a27] Defend against disk I/O errors that happen during an sqlite3OsSeek(). (CVS 2679) (user: drh branch: trunk)
2005-09-08
12:38
[6a80f6864c] part of check-in [3c555a8749] While doing a transaction comment, use fdatasync() instead of fsync() in cases there the file size is unchanged. (CVS 2673) (user: drh branch: trunk)
2005-09-05
20:06
[4aad6cd49a] part of check-in [7b56763a8b] Fix bugs introduced by checkin (2656) and do some modest code enhancements. (CVS 2657) (user: drh branch: trunk)
19:08
[8b80f418ae] part of check-in [3ec58c673a] Use the unicode API to win32 where available. Tickets #1407, #1396, #1331, #1243, #1206 (CVS 2656) (user: drh branch: trunk)
2005-06-07
22:22
[fe7b99cfcf] part of check-in [62a7353d4a] Changes to support linking without a parser and without a disk I/O interface. (CVS 2504) (user: drh branch: trunk)
2005-03-21
00:36
[2bbbe6fbb0] part of check-in [fcb5cee440] Improved support for cygwin. Ticket #1165. (CVS 2407) (user: drh branch: trunk)
2005-02-03
00:29
[bddeae1c32] part of check-in [4b399ae779] 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) (user: drh branch: trunk)
2005-01-08
15:44
[3c0b0a3bc3] part of check-in [0a90eaf398] Fixes to the temp_store_directory pragma. (CVS 2185) (user: drh branch: trunk)
2004-12-20
19:01
[39525c414e] part of check-in [772e22cbd6] Add PRAGMA 'temp_store_directory'. Added os_*.c function sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into invalidateTempStorage(). (CVS 2171) (user: tpoindex branch: trunk)
2004-10-02
20:38
[9482dfc92f] part of check-in [c4697503d0] 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) (user: drh branch: trunk)
2004-10-01
18:21
[2b4b103d97] part of check-in [4493e28780] make diskfull test work on Windows; see check-in (1994) (CVS 1996) (user: dougcurrie branch: trunk)
02:00
[0ab81ce1e4] part of check-in [8972c004dc] Use type i64 instead of off_t for file offsets since off_t is giving portability problems. Ticket #924. (CVS 1992) (user: drh branch: trunk)
2004-08-29
23:42
[9e2887825b] part of check-in [431f7436a6] Change the name of the global variable to sqlite3_temp_directory to avoid a naming conflict with version 2.8. (CVS 1918) (user: drh branch: trunk)
2004-08-28
01:12
[feba371674] part of check-in [f5b0e5b0b2] Add sqlite_temp_directory to the windows driver. (CVS 1905) (user: drh branch: trunk)
2004-06-30
14:29
[54181eb73c] part of check-in [48b31540db] Specify ASCII versions of Win32 API functions. (CVS 1785) (user: drh branch: trunk)
2004-06-21
18:14
[84549f6cc8] part of check-in [afc398c2ca] Fix an uninitialized variable. The variable was harmless, but pedantic error checking in MSVC raised an exception on it. (CVS 1651) (user: drh branch: trunk)
2004-06-15
11:40
[337e973ee7] part of check-in [e21a181376] Minor bugfixes and test case adjustments for version 2 test cases to work with version 3. (CVS 1598) (user: danielk1977 branch: trunk)
00:29
[a60f9ebfb0] part of check-in [186c6f93e1] Add the sqlite3OsFileModTime() interface. But it is still unused. The change counter in page 1 is always incremented. (CVS 1594) (user: drh branch: trunk)
2004-06-14
09:35
[44b9291d5c] part of check-in [cb3cbe00be] Ensure master journal file is deleted when a transaction is committed. (CVS 1586) (user: danielk1977 branch: trunk)
2004-06-12
02:17
[d4009586df] part of check-in [dcad244f58] Bug fix in the unix locking code. (CVS 1574) (user: drh branch: trunk)
2004-06-09
17:37
[6b8f9fcc68] part of check-in [dc0763455b] Fixes to the file locking. 109 tests are now failing. (CVS 1548) (user: drh branch: trunk)
2004-06-08
00:47
[a13b85a0d4] part of check-in [4dfdea7373] Do not require a RESERVED lock when transitioning from SHARED to EXCLUSIVE. (CVS 1542) (user: drh branch: trunk)
2004-06-07
16:27
[5c46f81f76] part of check-in [0c2d169cf3] 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) (user: drh branch: trunk)
01:52
[3c21eddf78] part of check-in [4f7c0961ad] Progress towards getting locking to work on windows. (CVS 1536) (user: drh branch: trunk)
2004-06-06
00:42
[a5ab6da08e] part of check-in [9e6cd9ec75] Added sqlite3OsLock for win32. Assertion fault in attach.test. (CVS 1533) (user: drh branch: trunk)
2004-06-05
08:04
[0f895f0491] part of check-in [e82eb722b0] Ensure blob values survive the ".dump" command of the shell. (CVS 1531) (user: danielk1977 branch: trunk)
2004-05-22
17:41
Added [92b51a3843] part of check-in [5c61be1c47] Split up os.c into separate files, one for each platform. (CVS 1441) (user: drh branch: trunk)