Login
Timeline
Login

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

88 check-ins using file f-apps/f-sanity.c version ac8b8ef783

2014-11-30
14:25
latest s2, further memory cuts via more aggressive recycling. check-in: 2ddef8bf84 user: stephan tags: trunk
2014-11-21
14:57
perverse over-use of comma operator in conditional of while statement boggled valgrind's mind; converted to equivalent steps in body with a break; to please it. It's more understandable this way by humans as well. Closed-Leaf check-in: 3104155e44 user: dave tags: feech-VerSetVtblXtnCbk
14:00
next round of s2: resizable hashtables, Number.toString(format), 1000 prime numbers, and literal arrays as property keys (for symmetry with objects, which already supported that by happy accident). check-in: a15d2a6200 user: stephan tags: trunk
13:52
disabled s2 vtable transaction tests for a while due to inexplicable weirdness. check-in: 90cf7de0ec user: stephan tags: trunk
2014-11-20
18:39
lots of little s2 stuff, incl. refactoring of hashtables to make them more recycleable and (upcoming) resizable. check-in: f7fbfd8cfb user: stephan tags: trunk
15:02
altered 'change notification' printf parameters from %x to %p in hopes of getting some 32/64 bit compatibility for cheap. We'll see if this works and if it's xplat.... check-in: 1660df6669 user: dave tags: feech-VerSetVtblXtnCbk
2014-11-16
18:34
more minor s2 addition before the weekend is out. check-in: c170e296ca user: stephan tags: trunk
15:03
Latest s2: bugfix in the .. operator, added: exception keyword, s2.getResultCodeHash(), s2.json.stringify() binding. check-in: beafa69a16 user: stephan tags: trunk
2014-11-15
10:53
yet more cleanups in the vtable test code, removed extraneous catches (let propagation handle them). check-in: ad35549258 user: stephan tags: trunk
10:43
cleanups and additions in the vtable unit tests. check-in: af1b0ff74b user: stephan tags: trunk
2014-11-14
16:41
test code cleanups. check-in: 017e07ca53 user: stephan tags: trunk
13:59
s2: added s2.isDereffable(), "exception" is now a reserved keyword. check-in: 5f1f3b28d8 user: stephan tags: trunk
12:14
More s2: types deriving from arrays can now be used a bit more like arrays, e.g. x[]=y works and integer property access is treated as an array index. check-in: d62048d5e6 user: stephan tags: trunk
11:47
Added some transactions tests for the vsettings. check-in: 86b6ca307f user: stephan tags: trunk
11:45
fixed a printf-style misuse triggered in an error case. check-in: c2ad24c2e0 user: stephan tags: trunk
10:40
latest s2. check-in: b4c7ebaad7 user: stephan tags: trunk
2014-11-10
19:31
(gcc complaint) check-in: 42a790e72e user: dave tags: feech-VerSetVtblXtnCbk
19:30
fix parsing bug for hex address; change notification order to be after creates/updates, and before deletes. inhibit 'dtor' notification for the time being; it seems to get invoked twice for some unknown reason (like sqlite has two copies of the vtable object, or something). check-in: e80ed55cdf user: dave tags: feech-VerSetVtblXtnCbk
18:58
changed data separator for CHNGCBK to ':', because ',' would interfere with processing. added stub callback implementation in fsl_cx check-in: a022b2905b user: dave tags: feech-VerSetVtblXtnCbk
2014-11-09
18:43
s2: more init code refactoring. check-in: 9d10eab193 user: stephan tags: trunk
2014-11-08
19:02
one more try, sigh, to please gcc... check-in: 860f151edd user: dave tags: feech-VerSetVtblXtnCbk
18:41
...and gcc didn't like it of course, so let's pleasure it check-in: a1fdbeebad user: dave tags: feech-VerSetVtblXtnCbk
18:01
interim checkin; let's see what gcc thinks of all of this... check-in: 9352ddfbad user: dave tags: feech-VerSetVtblXtnCbk
10:47
removed an old/invalid comment, made a minor error propagation optimization. check-in: db3452e54d user: stephan tags: trunk
10:46
minor doc tweaks. check-in: e4205c60cc user: stephan tags: trunk
10:31
accommodated API changes. check-in: 78193237a5 user: stephan tags: trunk
10:30
added a few asserts. check-in: 8f17cf8228 user: stephan tags: trunk
10:15
cleanups in the Fossil require.s2 modules in prep for upcoming test code. check-in: b1c814aa9a user: stephan tags: trunk
10:01
minor error handling improvement. check-in: f837fcb4cc user: stephan tags: trunk
2014-11-07
17:10
Create new branch named "feech-VerSetVtblXtnCbk" check-in: 086c180778 user: dave tags: feech-VerSetVtblXtnCbk
17:08
transaction support of versioned settings passed all tests, so integrating into 'dave'. Will make new feature branch for 'optional change callback' support. Closed-Leaf check-in: 616500affb user: dave tags: dave
16:45
latest s2: minor parsing and error reporting improvements. check-in: 2e728807c5 user: stephan tags: trunk
2014-11-05
00:11
bug in 'rollback' processing; when encountering an unmodified setting, would not skip it, and would infinite loop Closed-Leaf check-in: 35d3266b60 user: dave tags: feech-settingsvirtualtabletransactionsupport
2014-11-04
21:41
more exciting mundane changes for gcc check-in: 6c4afc0b2d user: dave tags: feech-settingsvirtualtabletransactionsupport
21:38
mundane changes for gcc check-in: 57c852f9cb user: dave tags: feech-settingsvirtualtabletransactionsupport
21:29
implementation of transaction support complete; now it's testing time... check-in: 7aecc393a7 user: dave tags: feech-settingsvirtualtabletransactionsupport
19:49
Update to final SQLite 3.8.7.1 (with additional MinGW compile fix [f45641c753], re-applied. check-in: 8f94f69a86 user: jan.nijtmans tags: trunk
18:33
algorithm for commit and rollback should be code complete; now need to modify xUpdate to use it. check-in: fcbede55ed user: dave tags: feech-settingsvirtualtabletransactionsupport
15:00
interim; fleshed out algorithm impl, and made marks where surgery will occur check-in: 2864314d5f user: dave tags: feech-settingsvirtualtabletransactionsupport
14:55
Create new branch named "feech-settingsvirtualtabletransactionsupport" check-in: e257ccc652 user: dave tags: feech-settingsvirtualtabletransactionsupport
2014-11-03
23:53
interim; added members to internal data structures to facilitate transaction support on versioned settings v-table check-in: 120add9960 user: dave tags: dave
23:21
dev studio project updates for moved headers check-in: ef81d5cb7c user: dave tags: dave
23:11
merged trunk prior to doing some transaction support work check-in: 2fdb1d5460 user: dave tags: dave
19:05
removed an unused makefile. check-in: 220da67a06 user: stephan tags: trunk
18:55
Added --line-numbers|-l option to f-vdiff. check-in: 2b7867d2ec user: stephan tags: trunk
18:47
Fixed a documentation lie. check-in: e210358357 user: stephan tags: trunk
18:46
this should teach me to do a _clean_ rebuild when moving headers around. check-in: 4541a51212 user: stephan tags: trunk
17:58
removed a duplicated dependency listing. check-in: c51ca866a8 user: stephan tags: trunk
17:56
As discussed with Dave: moved the vtable/regex headers into src, as they are private impl details. Patched amalgamation build for this change. check-in: cd9d570464 user: stephan tags: trunk
17:53
minor tinking in s2 CGI bits. check-in: 8feee82f4e user: stephan tags: trunk
2014-11-01
16:55
latest s2, added << operator to CGI module. check-in: 749694a76c user: stephan tags: trunk
16:19
minor clang build hack. check-in: e9fff9802e user: stephan tags: trunk
16:18
Added a missing #undef. check-in: 742aab5dae user: stephan tags: trunk
16:17
Documentation bugfix. check-in: 7aaa85974f user: stephan tags: trunk
16:17
minor clang build hack. check-in: 3c18a6d5b2 user: stephan tags: trunk
2014-10-31
09:19
s/malloc/fsl_malloc/, s/free/fsl_free/, added some OOM handling (which makes me miss the concise code one has without it (in C++)). check-in: 76c4d8ecf3 user: stephan tags: trunk
09:02
Replaced a file-local typedef with a macro and #undef'd local macros at the end of the file, both for the sake of the amalgamation. Minor doc tweak. check-in: 4eef41c169 user: stephan tags: trunk
2014-10-29
19:19
latest s2: s2.io.realpath() behaviour change and more unit tess. check-in: bf2e03ad69 user: stephan tags: trunk
16:47
latest s2: minor improvements in ternary-if parsing and ctrl-c checking. check-in: 3d9898bf62 user: stephan tags: trunk
09:43
unit test tweak. check-in: e3ece3ef7f user: stephan tags: trunk
04:43
pickup dave's bugfix for not overriding line endings or separator style when not explicitly asked to, from 'dave' check-in: 3bccdc1d3a user: dave tags: trunk
04:42
merge trunk before promote to trunk check-in: a790208046 user: dave tags: dave
04:36
trivial; // comments check-in: 129affbb36 user: dave tags: dave
04:33
bigfix; do not override file line endings/separator style on an update case of an insert-or-update unless explicitly asked to do so. check-in: 69fbe5c32d user: dave tags: dave
2014-10-28
16:03
latest s2 (minor precedence fix wrt ternary being the RHS of some short-circuiting contexts). check-in: 1f99287a3f user: stephan tags: trunk
14:08
typo fix in an #undef, from Martin Gagnon. check-in: 8b04160e56 user: stephan tags: trunk
13:52
pull in fixed merge to trunk, from trunk. check-in: 5377f3e24e user: dave tags: dave
13:50
recovered a lost change, enter/exit mutex properly, and cope with a sqlite auto-init glitch around the static mutex. check-in: fb5b9d15f9 user: dave tags: trunk
08:48
merged in dave. reminder to selves: the merge initially elides some of the content dave previously merged from trunk, and we are not sure why (required manual merge intervention, despite not having any conflicts). check-in: 61233f6026 user: stephan tags: trunk
03:02
need stdlib.h for the unices check-in: 6e12a39c1a user: dave tags: dave
02:14
merged in stephan's various changes check-in: c2d7402366 user: dave tags: dave
00:24
correct bug in 'match-or-fail' where aux data is bound to wrong column. changed a variable name that was farcically similar to another variable name in the same function (i.e. differed only by case); shame on me. check-in: 81f67b2297 user: dave tags: dave
2014-10-27
20:42
Switched from :memory: to "" (temp) DB for the main db, other minor cleanups. check-in: 6c18a25f11 user: stephan tags: trunk
18:24
Added (-E SQL|FILENAME) to f-query, which uses a multi-exec db call instead of prepare/step, so that we can feed it an arbitrary amount of non-SELECT queries (in -E mode any SELECT results do not get output). check-in: 6c907b2a70 user: stephan tags: trunk
17:46
added atexit() call to sqlite3_reset_auto_extension() to silence valgrind. It is arguable to do this at the library level, but seems safe enough for the time being. check-in: 1ac213d0b6 user: stephan tags: trunk
17:28
fsl_cx now (again) uses a ':memory:' DB as its 'main' and ATTACHes the repo/ckout/config to that one, to avoid locking problems Dave discovered with regards to attaching or opening a single DB file multiple times. Sanity tests work without changes and the s2 bindings required only assertion fixes, but probably needs some re-working of the 'db' property to account for the new, always-there handle. check-in: 898c0acbff user: stephan tags: trunk
16:35
Fixed: fsl_db_open() no longer checks/enforces that the special filename ':memory:' really exists. check-in: 2e58421c33 user: stephan tags: trunk
2014-10-25
19:52
correct silly position of assert(); correct a comment; correct for sqlite3 not auto-initing around mutex code (for reasons unknown to me) check-in: 455133309f user: dave tags: dave
18:46
previous idempotency with atomic inc/dec isn't really enough; the action being protected needs to be guarded as well. plus there were link issues on linux, the resolution of which is machine architecture specific, so I ditched that approach. check-in: 1be04c571a user: dave tags: dave
18:17
add atomic functions around refcounted init of sqlite extensions; unregister extensions when last one is freed check-in: 31a1e741ae user: dave tags: dave
16:28
merge trunk, get stephans various fixes check-in: 84b7b9a10a user: dave tags: dave
13:01
more minor tweaks to the s2 bindings. check-in: 6ac47349c4 user: stephan tags: trunk
12:50
The docs, not the impl, were wrong. check-in: 516ff0e751 user: stephan tags: trunk
12:10
s2: Fossil.file.dirPart() now returns an empty string for an empty result, instead of undefined. check-in: 3667bde1ee user: stephan tags: trunk
11:14
added some basic tests for the new vtables, minor build tweak to allow us to skip the core s2 unit tests while developing fossil unit tests. check-in: 8eb7c26910 user: stephan tags: trunk
10:29
Replaced sqlite3_exec() calls with fsl_db_exec(). check-in: 8f4b2c59c8 user: stephan tags: trunk
10:17
error handling cleanups and doc tweaks. check-in: f50b9815e8 user: stephan tags: trunk
09:51
merged in dave's branch, fixed a merge conflict, made f-sanity not fail a specific test fatally because it rightfully fails on a merge-modified checkout. check-in: 8a439f91d5 user: stephan tags: trunk