/ File History
Login

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

History of src/random.c

2017-09-09
08:03
Use a mutex-free PRNG for the random() and randomblob() SQL functions and for the randomness used during checkpoint operations. file: [f27af409] check-in: [e63d1a7c] user: drh branch: mutex-free-randomness, size: 4591
2016-12-07
15:49
Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. file: [80f5d666] check-in: [f3608187] user: drh branch: trunk, size: 3908
2014-10-27
20:14
Remove a small amount of unnecessary #ifdeffery from random.c. file: [ba2679f8] check-in: [2b9340c8] user: drh branch: trunk, size: 3922
19:58
Fix compilation issue with MSVC due to a misplaced variable declaration. file: [f88232b9] check-in: [9588b345] user: mistachkin branch: trunk, size: 3951
2014-10-24
12:37
Fix two problems. Tests now passing. file: [b8a05813] check-in: [1c220b80] user: drh branch: api-armor, size: 3883
00:35
Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. file: [689c95a5] check-in: [c297a84b] user: drh branch: api-armor, size: 3817
2014-01-01
14:00
Enhance sqlite3_randomness(N,P) such that it resets the internal PRNG if N is less than 1. Subsequent calls to sqlite3_randomness() will reinitialize the internal PRNG by calling the xRandomness() method of the default VFS. file: [d10c1f85] check-in: [a221aa82] user: drh branch: trunk, size: 3798
2013-08-21
22:09
Refactor the sqlite3_randomness() implementation for improved performance. file: [0b2dbc37] check-in: [4144dffb] user: drh branch: trunk, size: 3785
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [cd4a67b3] check-in: [f6c045f6] user: drh branch: trunk, size: 4673
2008-12-10
19:26
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) file: [676b9d7a] check-in: [c872d554] user: drh branch: trunk, size: 4730
2008-12-08
18:19
The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) file: [67bf41b2] check-in: [73c7302c] user: drh branch: trunk, size: 4727
2008-10-07
15:25
Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0 option always removes all mutex code. For application-defined mutexes only, use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1. Ticket #3421. (CVS 5779) file: [a87afbd5] check-in: [02a12eb1] user: drh branch: trunk, size: 4745
2008-09-02
00:52
Continuing work on adding full support for the SQLITE_OMIT_WSD compile-time option. (CVS 5658) file: [11bbdf7d] check-in: [ef26ea5c] user: drh branch: trunk, size: 4749
2008-06-19
01:03
Bug fixes: Plug a memory leak introduced by the previous check-in. Get the amalgamation to the point where it will compile. (CVS 5241) file: [5c754319] check-in: [005f8eae] user: drh branch: trunk, size: 4003
2008-06-18
17:09
Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) file: [362b62e2] check-in: [5059644c] user: danielk1977 branch: trunk, size: 3978
2008-03-21
16:45
Add a completely new testing system for the Bitvec object. The new testing system uses sqlite3_test_control() instead of unpublished APIs. Now provides 100% condition/decision coverage. Obscure bugs in Bitvec found and fixed as a result of the enhanced coverage. (CVS 4902) file: [2b2db2de] check-in: [2498d3ea] user: drh branch: trunk, size: 4016
2008-03-19
14:15
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) file: [8b6ab541] check-in: [15110ea0] user: drh branch: trunk, size: 4010
2008-01-16
17:46
Get all tests running without memory leaks. (CVS 4714) file: [02ef38b4] check-in: [5807921f] user: drh branch: trunk, size: 3903
2007-08-21
13:51
Remove the obsolete static mutexes. Use only the lastest static mutex code. (CVS 4259) file: [4a227465] check-in: [6225cd46] user: drh branch: trunk, size: 3218
10:44
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) file: [89b2c5a9] check-in: [fbbd5bda] user: drh branch: trunk, size: 3168
2007-08-20
22:48
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) file: [af7264b4] check-in: [1315bd8e] user: drh branch: trunk, size: 3184
2007-08-17
15:53
Begin migration to using sqlite3_vfs interface. (CVS 4240) file: [00b30565] check-in: [af3e3c7a] user: danielk1977 branch: trunk, size: 3192
2007-01-05
14:38
Suppress compiler warnings. Fix a bug in IO error detection on windows. (CVS 3564) file: [6119474a] check-in: [daed2bab] user: drh branch: trunk, size: 3082
2006-01-06
14:32
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) file: [d40f8d35] check-in: [2529c2e1] user: drh branch: trunk, size: 3078
2005-11-30
03:20
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) file: [ff5e9a8c] check-in: [bd8740d1] user: drh branch: trunk, size: 3084
2005-06-12
21:35
Update older opcode names to be more meaningful in light of the latest code design. (CVS 2506) file: [90adff4e] check-in: [36f2da1f] user: drh branch: trunk, size: 3078
2004-05-08
08:23
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) file: [eff68e3f] check-in: [8af6474c] user: danielk1977 branch: trunk, size: 2945
2004-02-11
09:46
Refactor the interface to the randomness generator. (CVS 1224) file: [775913e0] check-in: [f2bdccf4] user: drh branch: trunk, size: 2930
2002-02-19
13:39
Change the name of the sanity_check PRAGMA to "integrity_check" and make it available on all compiles. (CVS 381) file: [19e8e00f] check-in: [c6e9048e] user: drh branch: trunk, size: 3241
2002-01-16
21:00
Added the last_insert_rowid API function. Improved documentation of the random ROWID algorithm. (CVS 349) file: [f6b36bec] check-in: [f74d61aa] user: drh branch: trunk, size: 3243
2001-10-09
04:19
Fix the locking protocol. (CVS 280) file: [2a9cc2c9] check-in: [484b82d8] user: drh branch: trunk, size: 2704
2001-09-23
19:46
Additional test cases with locking fixes. Also, make the code thread-safe. (CVS 262) file: [708a23f6] check-in: [bd7d6a64] user: drh branch: trunk, size: 2314
2001-09-19
13:22
Trying to get the OS abstraction layer to work. (CVS 256) file: [b6a57e85] check-in: [abff526d] user: drh branch: trunk, size: 3631
2001-09-16
00:13
Disclaimed copyright. Preparing for release 2.0. (CVS 250) file: [707529bc] check-in: [4e926efe] user: drh branch: trunk, size: 3611
2001-09-14
03:24
All tests now pass. But there are still issues. For example, inserts are way too slow. And additional tests are needed for new features. (CVS 243) file: [b626726c] check-in: [e7b65e37] user: drh branch: trunk, size: 4160
2001-09-13
21:53
Many problems fixed. Many problems yet to go. (CVS 242) file: [55775802] check-in: [62c7bd11] user: drh branch: trunk, size: 3927
2001-01-31
13:28
Working better with Win95. Continued work on the new db.c backend. (CVS 1714) file: [b36c3f57] check-in: [df0ff304] user: drh branch: trunk, size: 3913
2001-01-13
14:34
Changes to the DBBE. Moving toward having many more backend driver choices. (CVS 176) file: [3dc42fb3] check-in: [c0730217] user: drh branch: trunk, size: 3896 Added