Login
Timeline
Login

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

50 descendants and 50 ancestors of b887183ec899740f

2013-08-02
18:43
more work on the manifest API. check-in: 4c71d5b52d user: stephan tags: trunk
17:08
More work on the manifest API. check-in: 121538cf3c user: stephan tags: trunk
15:24
Started work on the Manifest API. check-in: 9c9a968c6b user: stephan tags: trunk
2013-08-01
22:27
Now uses C99 stdint/inttypes if the C99 standard macros are set, else it falls back to some (very possibly non-32/64-bit portable) guesses for its fixed integers. This needs some tweaking/improvement for various platforms. Builds cleanly with -std=c89 now with the help of -Wno-long-long (required for sqlite3.h) check-in: 678517cdb5 user: stephan tags: trunk
21:49
changed the timeline timestamps to local time. check-in: 589a2b0e60 user: stephan tags: trunk
21:10
prettied up the timeline output a bit. check-in: 84fa56b3be user: stephan tags: trunk
20:50
fixed the corruptOffset "broken" by the addition of comments. check-in: 33238c45aa user: stephan tags: trunk
20:35
more test code cleanups. check-in: 02fdcb712e user: stephan tags: trunk
20:02
tinkering with test scripts. Added central flag to enable SQL tracing. Documented CLI flags accepted by the base script test code framework. check-in: d12a31b95b user: stephan tags: trunk
19:57
rolled back that last change - it already had the correct behaviour in place and the new one introduced a bug. check-in: cedf64171c user: stephan tags: trunk
19:54
Fossil.Db.each(object{bind:undefined,...}) and friends now treat bind===undefined as a no-op, instead of binding to NULL, to simplify script usage. Doh... that opens up a new bug i'll need to fix. check-in: fb51741754 user: stephan tags: trunk
19:35
Added a fixme. check-in: ce7bcbd424 user: stephan tags: trunk
19:30
minor test code prettification. check-in: a3fa198c9a user: stephan tags: trunk
18:38
Added script bindings for FSL_RC_xxx. Expanded delta test to mangle a multi-byte UTF8 char. Interesting (fossil diff) seems to be mangling those bytes - let's see what the diff looks like in the www UI... (PS: it looks fine in the www diff view.) check-in: cc44058158 user: stephan tags: trunk
18:11
Fixed a return value (CWAL vs FSL) in Fossil.deltaApply(). Added a test confirming that a delta corrupted by 1 bytes cannot be applied. check-in: 468fd416d4 user: stephan tags: trunk
18:05
Added th1ish bindings for delta creation/application. Fixed a return bug in fsl_delta_apply() (was returning using old semantics). check-in: 0aff7b640f user: stephan tags: trunk
16:52
minor cleanups to the delta docs and fixed a missing fsl_malloc() failure check. check-in: 73e23c83e6 user: stephan tags: trunk
16:36
Refactored the delta API to use unsigned char instead of char, and publically use fsl_size_t for lengths (internally it still uses fsl_int_t, to avoid breaking any of the existing math). There is one place internally (fsl_delta_hash::z) where the math behaviour might have side effects, but DRH does not expect any breakage from this change. check-in: 4c37dda07f user: stephan tags: trunk
15:36
Ported in the delta generation/application code. Made minor (untested) changes to librify the API. check-in: 22c10bf00f user: stephan tags: trunk
2013-07-31
22:04
documented a new minor bug. check-in: d33b842dc3 user: stephan tags: trunk
22:03
minor tweaking before bed. removed some dead code. check-in: 279222067f user: stephan tags: trunk
21:46
doc tweaks check-in: 931f97ea8f user: stephan tags: trunk
20:46
Fleshed out the fsl_roles_t enum, renamed it to fsl_user_role_t. Reworked fsl_rc_cstr() so that gcc will warn if i forget to add new enum entries to it. check-in: 4221a82fa4 user: stephan tags: trunk
20:11
more minor doc tweaks. check-in: 599d8928a9 user: stephan tags: trunk
20:04
minor doc tweaks check-in: 5fa4aaa698 user: stephan tags: trunk
19:55
s/libfossil2/libfossil/. again check-in: 6aab7a3638 user: stephan tags: trunk
19:54
s/libfossil2/libfossil/ check-in: 83de1a8496 user: stephan tags: trunk
19:52
minor consistency tweaks for the sha1/md5 APIs, ran sha1 code through a reformatter. check-in: 2718586074 user: stephan tags: trunk
19:48
ran Doxyfile through "doxygen -u". check-in: 31accb3c7c user: stephan tags: trunk
19:23
Undefined internal md5 macros for the sake of the amalgamation. check-in: 77644d9d46 user: stephan tags: trunk
19:06
Moved some config data around to please the amalgamation build. check-in: 9783e98e66 user: stephan tags: trunk
18:55
Ported in the md5 API. Renamed the amalgamation output files (misnamed by a global replace operation a few commits back). check-in: 5b67f62902 user: stephan tags: trunk
18:28
Added fsl_db_transaction_XXX() funcs. Minor cleanups in th1ish binding. check-in: 7331fda705 user: stephan tags: trunk
18:16
Moved some of the 'internal' functions into the public API. Added fsl_fstat abstraction for fsl_stat() calls, refactored fsl_stat() to use the new abstraction and moved it into the public API. check-in: 090d7dd510 user: stephan tags: trunk
16:44
Renamed fossil2.c to fsl.c. Seems to be the last references to 'v2' except maybe some docs. Renaming libf2.{a,so} to libfossil. check-in: 2c40e2033b user: stephan tags: trunk
16:40
minor renamings for consistency. Changed fsl_db_role_t to a bitmask (as an experiment). check-in: 6d5a908310 user: stephan tags: trunk
14:39
s/fossil2.h/fossil.h/g check-in: 9c20ce5c00 user: stephan tags: trunk
2013-07-30
15:54
more test code cleanups. check-in: 4f91a46866 user: stephan tags: trunk
15:51
test code cleanups. check-in: 83f00c7e07 user: stephan tags: trunk
15:38
merged in [attach-dbs] branch. check-in: 3f69c014c9 user: stephan tags: trunk
15:33
Minor touchups and test code. Closed-Leaf check-in: 2634b9a151 user: stephan tags: attach-dbs
14:49
a lot more refactoring than i set out to do. Lots of work on how the context manages its db instances. Config db is not yet finished. check-in: dd6c2b4256 user: stephan tags: attach-dbs
13:57
changed print() to not output a space between elements. will be lost on the next th1ish import. check-in: 7596e94016 user: stephan tags: attach-dbs
11:08
Started refactoring the per-fsl_cx db model: one implicit main db (:memory:) with all others attached. This simpifies connection logic quite a bit but might have side-effects i have not yet considered/encountered. This breaks th1ish's understanding of the db arrangment. check-in: 3251aaf6d8 user: stephan tags: attach-dbs
09:50
Refactored how we keep track of f->dbMain. It is now a pointer/alias for one of (dbCkout, dbConfig, dbRepo). Then forgot to check in before porting in %b/%B format specifiers for fsl_appendf(). check-in: 3fb14b6900 user: stephan tags: trunk
08:23
minor doc touchups. fixed an invalid var-arg count to cwal_exception_setf(). check-in: 7a498f6d0f user: stephan tags: trunk
2013-07-29
21:50
refactored the config db bits, but it is still untested. Time for bed. check-in: 8baf437215 user: stephan tags: trunk
20:32
Started work on fsl_cx_config_open(), but there is still more to do and test there. check-in: b5d31833b5 user: stephan tags: trunk
18:15
Added fsl_db_get_TYPE() family of functions (all untested, i might add). Fixed the empty-string copy case for fsl_strdup() (now creates a length-0 copy). A number of minor cleanups in the DB API. check-in: 56df1f6446 user: stephan tags: trunk
17:11
doc and error string tweaks. check-in: 568a70b089 user: stephan tags: trunk
16:43
Added a couple missing fsl_db_bind()ings. Improved the th1ish binding for bind() a bit. Switched build to use -std=c99 because it will not build as is on my 32-bit box without that b/c of a couple uses of PRIu64. check-in: b887183ec8 user: stephan tags: trunk
16:27
disabled script binding of sqlite3Hwtime() func b/c i have a weird link error on my 32-bit box. check-in: 1db0ec6f61 user: stephan tags: trunk
16:03
added missing makefile. check-in: 542707795f user: stephan tags: trunk
2013-07-28
19:43
minor doc tweak. check-in: 65dac57ae2 user: stephan tags: trunk
19:13
insignificant touchups. pinball time. check-in: dfec2ae127 user: stephan tags: trunk
17:53
reformatted some imported code. Added more API docs. check-in: 076d315904 user: stephan tags: trunk
17:44
lots of tinkering and minor additions, minor doxygen format changes to please both emacs and doxygen. check-in: 9744556a7e user: stephan tags: trunk
15:04
More API renaming. Added script binding for the checkout-open operation. check-in: 4abe63eb90 user: stephan tags: trunk
14:44
Improved fsl_cx_checkout_open(), renamed fsl_repo_checkout_open() (or whatever it was called) to that. Other minor cleanups. check-in: 17c1b674d5 user: stephan tags: trunk
14:08
fsl_repo_open_checkout() is more or less working. A couple details left port. check-in: ae7a82a9d5 user: stephan tags: trunk
11:20
Added exclamation points to comment blocks because doxygen does not understand the fossil comment dialect without it. check-in: ec2bf53d6e user: stephan tags: trunk
11:06
s/sha1_ctx/sha1_cx/g for consistency. check-in: 4fc8ce9a30 user: stephan tags: trunk
11:04
s/fsl_ctx/fsl_cx/g (easier to type). Added doc subdir (doxygen). check-in: 63bd510e80 user: stephan tags: trunk
10:59
Reworked the g.zMainDbType bits to a fsl_db_role enum. Still untested. check-in: 106d92471d user: stephan tags: trunk
2013-07-27
20:40
ported in sha1 code. check-in: 1651d4e9ec user: stephan tags: trunk
18:41
ported in lots of fs/ctype-related utilities, required for up-coming db-opening bits. check-in: 14c73fb9f7 user: stephan tags: trunk
18:40
Ported in %/ (path) handling from v1's printf() impl. check-in: 3f047bc25e user: stephan tags: trunk
17:14
More refactoring of the fsl_db API. Still not quite happy with the monolith that is fsl_db_open(). check-in: 5267fe629b user: stephan tags: trunk
15:15
Ported in some valgrind sanity tests from the th1ish tree. Shame that zlib triggers valgrind errors :/. check-in: 5cdf65601c user: stephan tags: trunk
15:05
Fixed use of an uninitialized var (thanks again, valgrind!). check-in: 70fe94564d user: stephan tags: trunk
14:53
Added "run" target to makefile (runs th1ish test scripts). check-in: 6fe8780658 user: stephan tags: trunk
14:47
Moved test script, added another one. check-in: 6a1161092c user: stephan tags: trunk
13:36
Doc and other minor touchups. Pulled in latest cwal/th1ish for Buffer.writeToFile(). check-in: ad5e46d9bd user: stephan tags: trunk
12:48
lots of fixes and touchups, mostly in the db layer. check-in: afbfb58da5 user: stephan tags: trunk
10:37
Extended th1ish api.Buffer with compress()/decompress() methods. check-in: 5c227bec96 user: stephan tags: trunk
10:13
Ported in the db.each(...) features from cpdoish. check-in: 6b1beec8a9 user: stephan tags: trunk
09:38
Got the Stmt.get() bindings running. Added Stmt.stepArray/stepObject(). check-in: 4e7536be77 user: stephan tags: trunk
08:44
more work on the db layer and their script bindings. check-in: a1e6a120d6 user: stephan tags: trunk
07:47
Some refactoring of fsl_error usage to consolidate some code. check-in: 2eedf3f4d1 user: stephan tags: trunk
07:14
More work on the db layer. check-in: dc3cbf0f20 user: stephan tags: trunk
04:56
Tweaks to the DB API, starting binding it to th1ish. check-in: bad0b996f8 user: stephan tags: trunk
02:54
ported in some of the stat()-related utilities, added th1ish bindings for them. check-in: 1e02eb9264 user: stephan tags: trunk
01:57
accommodated API changes. check-in: 89da51b2c3 user: stephan tags: trunk
01:51
Another big round of minor cleanups and preparation for up-coming bits. check-in: 9fa5fb1f96 user: stephan tags: trunk
00:29
s/prop_get_sub2/prop_get/ check-in: 9c8aa25e1d user: stephan tags: trunk
00:27
All kinds of tinkering. check-in: 71060e72f1 user: stephan tags: trunk
2013-07-26
23:40
minor tinkering with the th1ish binding. check-in: 431d06c9be user: stephan tags: trunk
23:29
Added initial th1ish script binding for library. It can open and close a repo db, but not much else. check-in: ad11ed5853 user: stephan tags: trunk
23:28
minor tinkering. check-in: c23174b3d7 user: stephan tags: trunk
21:52
Doc style corrections. check-in: 3c92f9d799 user: stephan tags: trunk
21:42
more additions and minor fixes. check-in: 56b3bd7640 user: stephan tags: trunk
21:01
fixed a braindead counter bug in fsl_strlen(). check-in: 9e241089cc user: stephan tags: trunk
20:43
Improved an error message, minor header tweaks. check-in: 97af42c7d2 user: stephan tags: trunk
20:41
Added config.h (should have been in previous commit). check-in: c5c80acbfb user: stephan tags: trunk
20:35
Implemented basic check of is-a-repo/is-up-to-date when repo db is opened. check-in: d6a2953847 user: stephan tags: trunk
19:40
ported in several of the SQL function bindings. check-in: b7228fb419 user: stephan tags: trunk
19:03
fixed a broken function name and added a cast for C++ compatibility. check-in: 0b18f0330d user: stephan tags: trunk
2013-07-25
08:37
fixed a use of free(), now that fsl_free() can be used without a context ptr. check-in: db0a915e61 user: stephan tags: trunk
08:10
Fixed a duplicate include guard name. Ported in more utility code from v1. check-in: 310a190152 user: stephan tags: trunk
07:06
Ported in the filename-handling-related UTF8 bits. check-in: 8018c25a35 user: stephan tags: trunk
06:42
removed the fsl_ctx arg from routines where it was only used for the allocator. check-in: 52fd2ce85c user: stephan tags: trunk