Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
os.h
e8346d0
For the unix VFS, rewrite the xFullPathname method so that it automatically
by drh
· 3 years, 2 months ago
cf14504
Avoid bugs in some implementations of dlopen() by avoiding calls to
by drh
· 4 years, 1 month ago
2ed5737
Fix compiler warnings that come up with SQLITE_OMIT_WAL.
by drh
· 8 years ago
8f2ce91
Since the return value of sqlite3OsClose() is always ignored, we might as
by drh
· 9 years ago
1b9f214
Experimental implementation of the sqlite3_system_errno() interface.
by drh
· 9 years ago
60ec914
Fix typos in comments. No code changes.
by peter.d.reid
· 11 years ago
f74b9e0
Further work on Windows header file reform.
by mistachkin
· 12 years ago
8bc5262
Initial work on isolating usage of the Windows header file.
by mistachkin
· 12 years ago
50287f5
Remove the unused SQLITE_CURDIR macro.
by drh
· 12 years ago
df737fe
Change the signature of the xUnfetch method to "int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p)".
by dan
· 12 years ago
f23da96
Replace the sqlite3_io_methods.xMremap interface with sqlite3_io_methods.xFetch and xUnfetch.
by dan
· 12 years ago
eb97b29
When possible, use memory mapping when appending new pages to a database file.
by dan
· 12 years ago
5d8a137
Add the sqlite3_io_methods.xMremap() method to the VFS interface. Also "PRAGMA mmap_size".
by dan
· 12 years ago
a36421a
Correct comment about WinRT compiler define. No changes to code.
by mistachkin
· 13 years ago
83905c9
Remove support for OS/2 from the source tree.
by drh
· 13 years ago
c548465
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.
by mistachkin
· 13 years ago
cf3d7a4
Add recognition of the SQLITE_OS_WINRT compile-time option.
by drh
· 13 years ago
11de933
Add back in some #includes that were removed incorrectly by the
by drh
· 13 years ago
815aac8
Remove unused #defines from os.h.
by drh
· 13 years ago
d794e8b
Do not rely on the _WIN32_WINNT macro as vs2005 does not define it by default.
by drh
· 13 years ago
c02372c
Refactor sqlite3OsFileControlNoFail() into sqlite3FileControlHint().
by drh
· 14 years ago
6f2f19a
Add function sqlite3OsFileControlNoFail(), which is the same as sqlite3OsFileControl() except that it does not simulate OOM errors. This saves adding calls to the BenignMalloc() functions around each of the invocations of sqliteOsFileControl() that ignore the return code.
by dan
· 14 years ago
8942d41
Remove the code that attempts to find the sector size from the OS and
by drh
· 14 years ago
254582f
The Windows OS flavor #ifdefs must be performed after the 'windows.h' file has been included.
by mistachkin
· 14 years ago
c4eef45
Follow the previously established pattern for detecting preprocessor defines for specific flavors of Windows (for NT in this case).
by mistachkin
· 14 years ago
e11fedc
Change the name of the xShmClose VFS method to xShmUnmap, everywhere.
by drh
· 15 years ago
da9fe0c
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.
by dan
· 15 years ago
1880191
Remove xShmGet/Size/Release from the sqlite3_vfs structure. Change the name of xShmPage to xShmMap. Remove some code that is now unused from os_unix.c and some of the test VFS implementations.
by dan
· 15 years ago
13a3cb8
Experimental change to the xShmXXX parts of the VFS interface.
by dan
· 15 years ago
f83dc1e
Remove global variables when compiled with SQLITE_OMIT_WSD
by drh
· 15 years ago
73b64e4
Initial code for incremental checkpoint in WAL mode. This check-in compiles
by drh
· 15 years ago
286a288
Add a new xShmBarrier method to the VFS - a shared-memory fence operation.
by drh
· 15 years ago
5939f44
Mark the shared-memory in the WAL implementation as volatile.
by drh
· 15 years ago
d9e5c4f
Refactoring the VFS-SHM methods used by WAL. This version compiles and
by drh
· 15 years ago
b7e8ea2
Use VFS method xCurrentTimeInt64 instead of xCurrentTime when it is available.
by drh
· 15 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
· 16 years ago
3d6e060
Move error simulation code from the sqlite3_os_init() functions into a wrapper.
by dan
· 16 years ago
c7a3bb9
Make the pending byte adjustable via sqlite3_test_control() on all builds,
by drh
· 16 years ago
8f941bc
Add asserts to detect if a transaction commits without first incrementing
by drh
· 17 years ago
1875f7a
The amalgamation now compiles cleanly on GCC with options
by drh
· 17 years ago
29bafea
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)
by danielk1977
· 17 years ago
c0fa4c5
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)
by danielk1977
· 17 years ago
673299b
Initial attempt at defining the sqlite3_initialize() and sqlite3_shutdown()
by drh
· 17 years ago
861f745
Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188)
by danielk1977
· 17 years ago
712d6f9
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)
by shane
· 17 years ago
75998ab
sqlite3OsDl*() APIs can be omitted if SQLITE_OMIT_LOAD_EXTENSION defined. (CVS 5171)
by shane
· 17 years ago
822a516
Add more version tags to files that lack them. Ticket #3120. (CVS 5137)
by danielk1977
· 17 years ago
d190be8
Support UTF-8 filenames on OS/2 by converting them to and from the local codepage. Ticket 3052. (CVS 5014)
by pweilbacher
· 17 years ago
7e2e6dc
Work around problems with compilers that do not allow C preprocessor
by drh
· 17 years ago
275ac34
Do not require os_other.h if compiling with -DOS_OTHER=1. (CVS 4588)
by drh
· 18 years ago
0663dd2
We need an extra define to activate OS/2 semaphores for compiling/linking. (CVS 4501)
by pweilbacher
· 18 years ago
adfb9b0
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)
by danielk1977
· 18 years ago
76ee37f
Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432)
by danielk1977
· 18 years ago
9e33c2c
Remove the xLockState method for sqlite3_io_methods. Replace it with
by drh
· 18 years ago
cc6bb3e
Initial implementation of the sqlite3_file_control() interface.
by drh
· 18 years ago
153c62c
The win32 driver compiles but does not yet work well. Many bugs
by drh
· 18 years ago
29278e3
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)
by drh
· 18 years ago
967a4a1
Changes to crash-test io backend (test6.c) so that it works with the sqlite3_vfs interface. (CVS 4247)
by danielk1977
· 18 years ago
fee2d25
Further progress on migration to sqlite3_vfs. (CVS 4242)
by danielk1977
· 18 years ago
90949c2
Remove some old OsFile and IoMethod related code. Add the sqlite3OsLockState function. (CVS 4241)
by danielk1977
· 18 years ago
b4b4741
Begin migration to using sqlite3_vfs interface. (CVS 4240)
by danielk1977
· 18 years ago
6207906
Modify the crash-recovery test code in test6.c for 3.5. Also change some other code to use the new sqlite3_io_methods interface. Lots of things are broken now. (CVS 4228)
by danielk1977
· 18 years ago
3f61bc7
old emx/gcc sets __EMX__ (with double underscores) as builtin #define (CVS 4147)
by pweilbacher
· 18 years ago
53b4bd3
fix linking failure on OS/2 that happens with the amalgamation and the high memory option enabled (CVS 4110)
by pweilbacher
· 18 years ago
691902e
fix compilation failure on OS/2 with the amalgamation (CVS 4109)
by pweilbacher
· 18 years ago
87cc3b3
Remove compiler warnings in the amalgamation. (CVS 3960)
by drh
· 18 years ago
bd08af4
Fix the amalgamation so that it works with -DSQLITE_ENABLE_REDEF_IO. Change
by drh
· 18 years ago
ee2ce18
If preprocessor macro OS_OTHER is defined, then ignore OS_UNIX, OS_WIN, and
by drh
· 18 years ago
3ceeb75
Change the name of PAGER_SECTOR_SIZE to SQLITE_DEFAULT_SECTOR_SIZE. Make
by drh
· 18 years ago
b472117
Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700)
by danielk1977
· 18 years ago
761df87
Move the shared-library loading routines into the OS portability layer,
by drh
· 19 years ago
fd288f3
Change the default temp file prefix to be "sqlite" spelled backwards.
by drh
· 19 years ago
79de864
Change the default prefix for temporary files so that it no longer
by drh
· 19 years ago
04bd0c1
(OS/2) Armor OS/2 against accidental deletion of files, too (patch by Daniel Kruse, verified by me) (CVS 3293)
by pweilbacher
· 19 years ago
cdb36b7
Patches to get things working better for OS2. Ticket #1836. (CVS 3217)
by drh
· 19 years ago
60a1e4b
Added support for OS/2. Ticket #1817 (CVS 3198)
by drh
· 19 years ago
bcdb661
Fix a bug in os.h. How did this slip by before now? (CVS 2986)
by drh
· 20 years ago
757b04e
Modify the sqlite3OsInMutex os-layer interface to take a single parameter
by drh
· 20 years ago
6f7adc8
Automatically deallocate thread-specific data when it is no longer
by drh
· 20 years ago
3f45902
Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883)
by drh
· 20 years ago
66560ad
Change the OS interface layer to use traditional direct function call
by drh
· 20 years ago
824d7c1
Back out the addition of the new header file - bad idea. (CVS 2868)
by drh
· 20 years ago
e19d594
Enable async testing. Modify the OS layer interface. Add the sqlite3_aux.h include file. Add tests for boolean value representation in file format 4. (CVS 2866)
by drh
· 20 years ago
88f474a
Add the xInMutex method to the os-layer switch for testing whether or not
by drh
· 20 years ago
c529f52
Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819)
by danielk1977
· 20 years ago
13a68c3
Add the sqlite3_os_routine_set()/get() functions. (CVS 2818)
by danielk1977
· 20 years ago
bf8aa2a
Add a test to verify that binding text with embedded '\000' works. Also
by drh
· 20 years ago
054889e
Restructure the OS interface yet again. This time make the OsFile object
by drh
· 20 years ago
a2eebaa
Make the build work on windows again. Ticket #1544. (CVS 2793)
by drh
· 20 years ago
9cbe635
Make the OsFile structure opaque with its internal structure known only to
by drh
· 20 years ago
d86959f
Remove some vestiges of the old OS_TEST driver. (CVS 2787)
by drh
· 20 years ago
1883921
Add an OS method for making copies of file descriptors. This fixes the
by drh
· 20 years ago
9c06c95
Modify the OS layer so that I/O routines are called through a virtual function
by drh
· 20 years ago
4928570
Changes to make corruption errors easier to track down. (CVS 2709)
by drh
· 20 years ago
fd5f5b6
Fix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl
by danielk1977
· 20 years ago
eb796a7
While doing a transaction comment, use fdatasync() instead of fsync() in
by drh
· 20 years ago
0ccebe7
Changes to support linking without a parser and without a disk I/O interface. (CVS 2504)
by drh
· 20 years ago
2e66f0b
Enhancements to allow for extensions. (CVS 2448)
by drh
· 20 years ago
b851b2c
Disable F_FULLSYNC if the sychronous pragma is not set to FULL. (CVS 2372)
by drh
· 20 years ago
0d47743
Drop support for MAC OS9. SQLite 3 has never worked for that OS because
by drh
· 21 years ago
Next »