drh
af5f040589
Fix the open file counter on windows. (CVS 4382)
...
FossilOrigin-Name: 40cf0c177635c087b7695a8c4c3b37da57f74425
2007-09-03 17:09:03 +00:00
drh
dec6fae9d9
Get the io.test tests working on windows. (CVS 4381)
...
FossilOrigin-Name: 1be70015e24f715a4276f253d2e0c0eec44650ee
2007-09-03 17:02:50 +00:00
drh
d1a793126a
Improvements to the xRandomness() method on the default windows VFS.
...
Ticket #2615 . (CVS 4374)
FossilOrigin-Name: 91b50f31e35652a40d51f5d9bf22efce36d515e4
2007-09-03 13:06:11 +00:00
drh
f869347555
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)
FossilOrigin-Name: ca6c1e3f44d8b9d9b76a0efe53ea6a6ad5e14d57
2007-09-01 02:13:10 +00:00
drh
9e33c2c108
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)
FossilOrigin-Name: 306586c412b87c6d12bac796641517afa3f9eb6a
2007-08-31 18:34:59 +00:00
drh
cc6bb3eaeb
Initial implementation of the sqlite3_file_control() interface.
...
Compiles and passes all historical tests but the new method is itself
untested. (CVS 4353)
FossilOrigin-Name: d3ab3e3911f10b17d0859a34f4f007c790a0cd82
2007-08-31 16:11:35 +00:00
drh
e1843aff8c
Fix a memory leak in the win32 OS driver. Ticket #2602 . (CVS 4345)
...
FossilOrigin-Name: 1f80cf5e759af68b854d4de2e97badf546a465ca
2007-08-30 16:46:04 +00:00
drh
50d3f9064b
Added the 34to35.html document describing the changes between 3.4.2 and
...
3.5.0. Minor interface cleanups. (CVS 4302)
FossilOrigin-Name: 0791f917bb18d7305b805b9cbcb308bdd7b3a1f5
2007-08-27 21:10:36 +00:00
drh
b11caac316
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)
FossilOrigin-Name: 75aad316981690d7a93ea6ac1c187f7d98f6d715
2007-08-24 17:52:21 +00:00
drh
1cc8c448b5
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)
FossilOrigin-Name: b8451da378179d43f25d9a014480c0f13dd1dc37
2007-08-24 16:08:29 +00:00
drh
153c62c461
The win32 driver compiles but does not yet work well. Many bugs
...
fixed. (CVS 4282)
FossilOrigin-Name: 3a68fcddfa9184e4b310ce0a21312c54b9462ec8
2007-08-24 03:51:33 +00:00
drh
29278e3dbb
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)
...
FossilOrigin-Name: fbbd5bda544ffec4e1b43407b12e546235dc7873
2007-08-21 10:44:15 +00:00
drh
8fea1285f0
In the windows driver, reacquire the shared lock if an exclusive lock
...
fails. Ticket #2354 . (CVS 3992)
FossilOrigin-Name: fc489b53829aa25bc10cc47d679c81d95c746abf
2007-05-14 12:12:11 +00:00
drh
59df4cda00
Fix a sprintf() problem introduced by (3916). (CVS 3927)
...
FossilOrigin-Name: 54a1d275aa0154a88d433a3c4df538d52c2c3ecb
2007-05-05 12:06:24 +00:00
drh
5bb3eb9b9a
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)
FossilOrigin-Name: ba4845b32bdf38e623c4f7246e6e327715bbba4b
2007-05-04 13:15:55 +00:00
drh
694b19d86e
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)
FossilOrigin-Name: ca56c3e2250eda0b312ab6f801b0fd95fb136bfa
2007-04-11 17:54:03 +00:00
drh
61fc595fdd
Fix some warnings about unused and uninitialized variables. (CVS 3788)
...
FossilOrigin-Name: 18aec1ddfb08b74f0ef9cf1215eac7af71449db3
2007-04-01 23:49:51 +00:00
drh
a16313e505
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)
FossilOrigin-Name: 23653f7aab6609f69948a7366bef9ebd0fd4d0b1
2007-03-30 11:29:32 +00:00
drh
3ceeb75680
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)
FossilOrigin-Name: 0fb9af1d6e20bf25511c6d2097937cc11137776e
2007-03-29 18:19:52 +00:00
danielk1977
979f38e5ee
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)
...
FossilOrigin-Name: b24a6e7b024c8b9a0b6fd15bd8f247e458781ca2
2007-03-27 16:19:51 +00:00
drh
4f0c587819
Modify sources to that they can be combined into a single sqlite3.c source
...
file. Eliminate all type-pruned pointer warnings. (CVS 3722)
FossilOrigin-Name: 0b832e218ec12b0eb559e407d80aba6709e2ea85
2007-03-26 22:05:01 +00:00
danielk1977
a3d4c887e0
Add a comment to the OsSectorSize() function. (CVS 3710)
...
FossilOrigin-Name: 0fd9983a98d8d61654f252f1708a4d7232a96b53
2007-03-23 10:08:38 +00:00
danielk1977
b472117c11
Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700)
...
FossilOrigin-Name: 5752d84d374205e011d49b0221d6237967fe0743
2007-03-19 05:54:48 +00:00
drh
d2832bf1f0
Make the AreFileApisANSI() call a macro with a value of 1 on wince.
...
Ticket #2163 . (CVS 3590)
FossilOrigin-Name: a72c950cdbb7ad14572ccdf9b94ceac8ea0a2588
2007-01-10 18:56:15 +00:00
drh
9cce710942
Fix the windows OS layer so that it returns detailed IOERR error codes. (CVS 3583)
...
FossilOrigin-Name: 4b36de46c42e2e42d611b38ff18949bea55c803b
2007-01-09 17:18:19 +00:00
drh
fb02d26400
Work around win2k problems so that single-character filenames can be
...
used. Ticket #2151 . (CVS 3582)
FossilOrigin-Name: c4eb2100c39356e1816cc6514d65155e47ea1a1d
2007-01-09 15:32:17 +00:00
drh
aedd892e0c
Suppress compiler warnings. Fix a bug in IO error detection on windows. (CVS 3564)
...
FossilOrigin-Name: daed2bab00ea3952d2d4e5182ca07653b9d80ac2
2007-01-05 14:38:54 +00:00
drh
bafda0962e
Additional changes in the pager and os interface layers to fix problems that
...
might be contributing to recently observed database corruption. (CVS 3549)
FossilOrigin-Name: a593d5743eab12c0f93a7bc436f0d69dfab0c387
2007-01-03 23:36:22 +00:00
drh
584c094ba4
More fixes to the microsoft code-page nightmare... (CVS 3544)
...
FossilOrigin-Name: 0b47d88060069781e7e184806d6ecaeff9b9e5d1
2006-12-21 03:20:40 +00:00
drh
2a4d54b2cd
Use GetProcAddressA() on wince. Ticket #2123 (CVS 3543)
...
FossilOrigin-Name: e3dddd1cef5877c009852fd7f484973843e26e00
2006-12-21 02:21:56 +00:00
drh
c96d49892c
Reduce the number of utf8->unicode conversions required in wince. Ticket #2122 (CVS 3542)
...
FossilOrigin-Name: 6d2ff0962dff0477fe2af0323032dc16337f42ab
2006-12-21 01:37:39 +00:00
drh
761df87ea5
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)
FossilOrigin-Name: a1bcc6de578992b28924c1cf974ea58251454e2d
2006-12-21 01:29:22 +00:00
drh
ec4d88fab5
Change a parameter type from "int" to "DWORD" in the windows interface.
...
Ticket #2122 . (CVS 3540)
FossilOrigin-Name: cca1eb3dfaa67d64ced3e49e7ddbd8db27a5526a
2006-12-21 00:46:42 +00:00
drh
f4fa85826f
Fix a typo in os_win.c. Ticket #2055 . (CVS 3504)
...
FossilOrigin-Name: d309680ec7a806d181b601e0105aebf1e33bfb81
2006-11-07 15:02:07 +00:00
drh
551b77365e
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)
FossilOrigin-Name: 6324ea811eec1200cee89e6f377368eaf2fcda77
2006-11-06 21:20:25 +00:00
drh
371de5ad8b
Changes to support non-ASCII characters in win95 filenames.
...
Ticket #2047 . (CVS 3495)
FossilOrigin-Name: 9fa3ae584ae4936696fd2f23a64697f0409ef313
2006-10-30 13:37:22 +00:00
drh
6f68a5cf11
Fix to the previous check-in. (CVS 3446)
...
FossilOrigin-Name: 944d5f812004e2dc0065fce267accf8907235a50
2006-09-26 00:37:11 +00:00
drh
50c2b35ea7
Performance improvement and bug fix in sqlite3WinDelete(). (CVS 3445)
...
FossilOrigin-Name: 46ac1ac2d10cf2f1ebfb8dd4bb9a2ccffd85e816
2006-09-26 00:34:17 +00:00
drh
5968593b51
Enhanced I/O error simulation. (CVS 3418)
...
FossilOrigin-Name: 86931854fc5a63571719639d9a23b1d6614a6153
2006-09-14 13:47:11 +00:00
drh
59e63a6b30
Add comments to the changes of check-in (3200). (CVS 3202)
...
FossilOrigin-Name: 697498d4e86a42d7063417a9549ad04aaf4db31c
2006-06-04 23:31:48 +00:00
drh
eb4fa52a45
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)
FossilOrigin-Name: f32dbe47ffd1e7e5695f02bf4263d80bea177ffb
2006-06-04 23:02:20 +00:00
drh
94d57e3924
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)
FossilOrigin-Name: 4bf03c3bbc1303ed9b4059917e8d6a613b1510f3
2006-06-02 12:40:08 +00:00
drh
e3dd8bb5be
Reduce the size of a memory allocation in the windows driver to the
...
minimum needed. Ticket #1690 . (CVS 3115)
FossilOrigin-Name: 1fe9ca078b77b79ac738a095d8d4c82ae0926286
2006-02-27 23:44:35 +00:00
drh
0850b5374c
Fix some pointless warnings from overly-pedantic compilers. (CVS 3048)
...
FossilOrigin-Name: b922c8e45f9a7799583d8b42875b27032fd71422
2006-01-31 19:31:43 +00:00
danielk1977
f011300000
Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024)
...
FossilOrigin-Name: d86f18a4277ebffb644ba2e574e0b697c8bbf8e4
2006-01-24 12:09:17 +00:00
drh
36a5005946
Bug fix in the WinCE bindings. (CVS 3015)
...
FossilOrigin-Name: c57922838a31b45f69ba14ae13df8a612884cb4b
2006-01-23 22:15:07 +00:00
drh
be1f84c021
Get I/O error tests working on windows. (CVS 3007)
...
FossilOrigin-Name: 2ef8b85db7607eb0989c5ecf49cc554fa13d894f
2006-01-23 16:25:22 +00:00
drh
72aead8102
Cut over the patches to support WinCE. Ticket #1600 . (CVS 3003)
...
FossilOrigin-Name: 436287c2bfe38cf6c39e4c52b1da12f8c0d673ce
2006-01-23 15:54:25 +00:00
drh
757b04ed36
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)
FossilOrigin-Name: e1ad9df1cf46287f2a7789275e98d28e05880e17
2006-01-18 17:25:45 +00:00
danielk1977
9e12800dec
Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972)
...
FossilOrigin-Name: ac090f2ab3b5a792c2fdf897e10060f263e0d408
2006-01-18 16:51:35 +00:00