/ History for src/random.c
Login

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

History for src/random.c

2020-07-31
20:56
[c984d842] part of check-in [eb7a9c04] Improved non-locking PRNG. (check-in: [eb7a9c04] user: drh branch: begin-concurrent, size: 4839)
2017-09-09
08:03
[f27af409] part of check-in [e63d1a7c] Use a mutex-free PRNG for the random() and randomblob() SQL functions and for the randomness used during checkpoint operations. (check-in: [e63d1a7c] user: drh branch: mutex-free-randomness, size: 4591)
2016-12-07
15:49
[80f5d666] part of check-in [f3608187] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (check-in: [f3608187] user: drh branch: trunk, size: 3908)
2014-10-27
20:14
[ba2679f8] part of check-in [2b9340c8] Remove a small amount of unnecessary #ifdeffery from random.c. (check-in: [2b9340c8] user: drh branch: trunk, size: 3922)
19:58
[f88232b9] part of check-in [9588b345] Fix compilation issue with MSVC due to a misplaced variable declaration. (check-in: [9588b345] user: mistachkin branch: trunk, size: 3951)
2014-10-24
12:37
[b8a05813] part of check-in [1c220b80] Fix two problems. Tests now passing. (check-in: [1c220b80] user: drh branch: api-armor, size: 3883)
00:35
[689c95a5] part of check-in [c297a84b] Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. (check-in: [c297a84b] user: drh branch: api-armor, size: 3817)
2014-01-01
14:00
[d10c1f85] part of check-in [a221aa82] 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. (check-in: [a221aa82] user: drh branch: trunk, size: 3798)
2013-08-21
22:09
[0b2dbc37] part of check-in [4144dffb] Refactor the sqlite3_randomness() implementation for improved performance. (check-in: [4144dffb] user: drh branch: trunk, size: 3785)
2009-11-10
01:30
[cd4a67b3] part of check-in [f6c045f6] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f6] user: drh branch: trunk, size: 4673)
2008-12-10
19:26
[676b9d7a] part of check-in [c872d554] Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) (check-in: [c872d554] user: drh branch: trunk, size: 4730)
2008-12-08
18:19
[67bf41b2] part of check-in [73c7302c] The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) (check-in: [73c7302c] user: drh branch: trunk, size: 4727)
2008-10-07
15:25
[a87afbd5] part of check-in [02a12eb1] 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) (check-in: [02a12eb1] user: drh branch: trunk, size: 4745)
2008-09-02
00:52
[11bbdf7d] part of check-in [ef26ea5c] Continuing work on adding full support for the SQLITE_OMIT_WSD compile-time option. (CVS 5658) (check-in: [ef26ea5c] user: drh branch: trunk, size: 4749)
2008-06-19
01:03
[5c754319] part of check-in [005f8eae] Bug fixes: Plug a memory leak introduced by the previous check-in. Get the amalgamation to the point where it will compile. (CVS 5241) (check-in: [005f8eae] user: drh branch: trunk, size: 4003)
2008-06-18
17:09
[362b62e2] part of check-in [5059644c] Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) (check-in: [5059644c] user: danielk1977 branch: trunk, size: 3978)
2008-03-21
16:45
[2b2db2de] part of check-in [2498d3ea] 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) (check-in: [2498d3ea] user: drh branch: trunk, size: 4016)
2008-03-19
14:15
[8b6ab541] part of check-in [15110ea0] Add a new api sqlite3_randomness() for providing access to SQLite's internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) (check-in: [15110ea0] user: drh branch: trunk, size: 4010)
2008-01-16
17:46
[02ef38b4] part of check-in [5807921f] Get all tests running without memory leaks. (CVS 4714) (check-in: [5807921f] user: drh branch: trunk, size: 3903)
2007-08-21
13:51
[4a227465] part of check-in [6225cd46] Remove the obsolete static mutexes. Use only the lastest static mutex code. (CVS 4259) (check-in: [6225cd46] user: drh branch: trunk, size: 3218)
10:44
[89b2c5a9] part of check-in [fbbd5bda] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (check-in: [fbbd5bda] user: drh branch: trunk, size: 3168)
2007-08-20
22:48
[af7264b4] part of check-in [1315bd8e] Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) (check-in: [1315bd8e] user: drh branch: trunk, size: 3184)
2007-08-17
15:53
[00b30565] part of check-in [af3e3c7a] Begin migration to using sqlite3_vfs interface. (CVS 4240) (check-in: [af3e3c7a] user: danielk1977 branch: trunk, size: 3192)
2007-01-05
14:38
[6119474a] part of check-in [daed2bab] Suppress compiler warnings. Fix a bug in IO error detection on windows. (CVS 3564) (check-in: [daed2bab] user: drh branch: trunk, size: 3082)
2006-01-06
14:32
[d40f8d35] part of check-in [2529c2e1] Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) (check-in: [2529c2e1] user: drh branch: trunk, size: 3078)
2005-11-30
03:20
[ff5e9a8c] part of check-in [bd8740d1] Restructure the OS interface yet again. This time make the OsFile object a virtual base class which is subclassed for unix, windows, and the crash test simulator. Add the new file "os.c" for common os layer code. Move all OS-specific routines into the sqlite3Os structure. (CVS 2795) (check-in: [bd8740d1] user: drh branch: trunk, size: 3084)
2005-06-12
21:35
[90adff4e] part of check-in [36f2da1f] Update older opcode names to be more meaningful in light of the latest code design. (CVS 2506) (check-in: [36f2da1f] user: drh branch: trunk, size: 3078)
2004-05-08
08:23
[eff68e3f] part of check-in [8af6474c] 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) (check-in: [8af6474c] user: danielk1977 branch: trunk, size: 2945)
2004-02-11
09:46
[775913e0] part of check-in [f2bdccf4] Refactor the interface to the randomness generator. (CVS 1224) (check-in: [f2bdccf4] user: drh branch: trunk, size: 2930)
2002-02-19
13:39
[19e8e00f] part of check-in [c6e9048e] Change the name of the sanity_check PRAGMA to "integrity_check" and make it available on all compiles. (CVS 381) (check-in: [c6e9048e] user: drh branch: trunk, size: 3241)
2002-01-16
21:00
[f6b36bec] part of check-in [f74d61aa] Added the last_insert_rowid API function. Improved documentation of the random ROWID algorithm. (CVS 349) (check-in: [f74d61aa] user: drh branch: trunk, size: 3243)
2001-10-09
04:19
[2a9cc2c9] part of check-in [484b82d8] Fix the locking protocol. (CVS 280) (check-in: [484b82d8] user: drh branch: trunk, size: 2704)
2001-09-23
19:46
[708a23f6] part of check-in [bd7d6a64] Additional test cases with locking fixes. Also, make the code thread-safe. (CVS 262) (check-in: [bd7d6a64] user: drh branch: trunk, size: 2314)
2001-09-19
13:22
[b6a57e85] part of check-in [abff526d] Trying to get the OS abstraction layer to work. (CVS 256) (check-in: [abff526d] user: drh branch: trunk, size: 3631)
2001-09-16
00:13
[707529bc] part of check-in [4e926efe] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (check-in: [4e926efe] user: drh branch: trunk, size: 3611)
2001-09-14
03:24
[b626726c] part of check-in [e7b65e37] 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) (check-in: [e7b65e37] user: drh branch: trunk, size: 4160)
2001-09-13
21:53
[55775802] part of check-in [62c7bd11] Many problems fixed. Many problems yet to go. (CVS 242) (check-in: [62c7bd11] user: drh branch: trunk, size: 3927)
2001-01-31
13:28
[b36c3f57] part of check-in [df0ff304] Working better with Win95. Continued work on the new db.c backend. (CVS 1714) (check-in: [df0ff304] user: drh branch: trunk, size: 3913)
2001-01-13
14:34
[3dc42fb3] part of check-in [c0730217] Changes to the DBBE. Moving toward having many more backend driver choices. (CVS 176) (check-in: [c0730217] user: drh branch: trunk, size: 3896) Added