Login
Timeline
Login

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

155 check-ins using file autosetup/lib/cc-lib.tcl or autosetup/cc-lib.tcl version 3c6bbfcb75

2013-08-17
19:48
another round of API renamings for consistency purposes. check-in: f0ceea7dd2 user: stephan tags: trunk
18:33
Can now load and clean up baseline manifests, but finding one is a neat trick - the core fossil repo does not contain a single B card. Luckily the tcl repo them. check-in: 2d13c82663 user: stephan tags: trunk
14:46
Ported some queries (back) to cached statements. Doc additions. Fixed a few bugs. check-in: dbabe48f7d user: stephan tags: trunk
13:11
Renamed some functions, started moving the fsl_cx-specific code into fsl_cx.c. Added fsl_fatal(). check-in: cd522883eb user: stephan tags: trunk
12:29
build tinkering check-in: ee9a2f98ce user: stephan tags: trunk
12:29
fixed a signed/unsigned comparison broken by recent refactoring (thank you, clang). check-in: 82aa53e714 user: stephan tags: trunk
11:11
a round of minor cleanups, doc additions, and build tweaks. Build/config modified to allow more variants of c99/long long, to simplify testing of portability-related problems. i expect the xxx_PFMT changes to possibly break on 32-bit platforms. (Edit: didn't break :) check-in: f739758c74 user: stephan tags: trunk
2013-08-16
20:04
Added fsl_deck_unshuffle() to sort any lists which need it and to calculate the R-card (that card works now). Fixed a memleak in fsl_acache_clear. A bit of API renaming and refactoring. check-in: 6dc5c4ab76 user: stephan tags: trunk
11:17
Removed fsl_mf class, consolidated it with fsl_deck. check-in: 8bbef4153d user: stephan tags: trunk
10:20
Fixed the round-trip time imprecision when round-tripping manifests. Caused by using printf-style formatting instead of bind() for the double value. Round-tripping tests are now 100% lossless :). check-in: 308f32e4f9 user: stephan tags: trunk
10:00
s/fsl_str_is_uuid()/fsl_is_uuid()/. check-in: 4325c020b0 user: stephan tags: trunk
09:58
Added J-cards to the manifest parse, making manifest parsing more or less complete (all cards implemented and basic sanity tests passing). The parser now figures out what artifact type it is and what contents are legal on the fly, obviating much of the to-be-ported validation checking. API renamings for consistency: fsl_mf_tag==fsl_mf_tcard, fsl_mf_file==fsl_mf_fcard, fsl_mf_cherrypick==fsl_mf_qcard. check-in: 8735de8159 user: stephan tags: trunk
06:47
Added/ported in fsl_db_table_has_column(). check-in: 9c9a8e8835 user: stephan tags: trunk
06:46
no, seriously this time. way too tired :/. check-in: e8aafed5cb user: stephan tags: trunk
06:14
Added a missing arg NULL check to fsl_deck_add_Q(). check-in: b3b6f9faf9 user: stephan tags: trunk
06:14
i am obviously way to tired to be doing this right now. Time to go walk Baako. check-in: 75b667cf16 user: stephan tags: trunk
06:12
Changed the default resizing policy for fsl_list_append(). check-in: 46e1e4bf1f user: stephan tags: trunk
06:09
Fixed some backwards math which would have broken fsl_repo_content_deltify() were we far enough along to test that routine. check-in: 58b7c76e31 user: stephan tags: trunk
05:48
Can now round-trip manifests with cherrypick (Q) cards, with the caveat about the D card sub-second precision. Moved some of the more obscure bits out of the public API. check-in: 26beddc0a9 user: stephan tags: trunk
03:44
Lots of tinkering with the repo/checkout config getter routines. check-in: 0674a892d6 user: stephan tags: trunk
03:01
Several minor infrastructure-level additions. Added fsl_stream(). Ported in fsl_is_simple_pathname(). Enabled fsl_mkdir() and fsl_unlink() (were accidentally disabled due to an unfortunate #if 0 block). check-in: be4b62818e user: stephan tags: trunk
01:42
Ported in wiki manifest crosslinking. Untested - lacking some bits needed to test it. check-in: 1221ecaa56 user: stephan tags: trunk
2013-08-15
23:09
can now round-trip parse/output wiki manifests, with the caveat of subsecond times not necessarily surviving round-trip conversion. check-in: d3253d4000 user: stephan tags: trunk
22:14
Fixed: F cards do not require the UUID parameter when removing the file. check-in: 3cbd6674f5 user: stephan tags: trunk
17:21
removed some duplicated code, minor typo fix. check-in: 22d54f6bc8 user: stephan tags: trunk
17:20
accomodated API changed, deps bug kept it from being rebuilt/detected earlier. check-in: 9e3e4cac12 user: stephan tags: trunk
17:09
Added FossilApp_has_unused_flags(). check-in: 94e252e412 user: stephan tags: trunk
17:04
moved fsl_mf::rid to fsl_deck::rid. check-in: 8922b28ba7 user: stephan tags: trunk
15:11
Added missing support for the special "*" UUID in T cards. check-in: c1e1311565 user: stephan tags: trunk
15:07
removed some duplicated output. check-in: fe0399ebcc user: stephan tags: trunk
14:35
Added f-resolve tool to resolve symbolic names and uuids. Minor signature change to fsl_repo_sym_to_uuid(). check-in: b170fb24fe user: stephan tags: trunk
13:42
And this time saved before committing. Minor code dupe consolidation in the fs bits. check-in: 1ec904fa6a user: stephan tags: trunk
13:22
ported in more of the fs function. Very minor cleanups in the mf code. check-in: e229b7b03d user: stephan tags: trunk
05:14
can now losslessly round-trip clusters through the manifest parser/generator (they have no D card to muck up the hash). check-in: 8914dd2d3b user: stephan tags: trunk
04:45
Reworked the fsl_mf_file class to be slimmer (no buffers, and perms as an integer). Can now losslessly round-trip F cards from/to manifests (with one caveat involving sub-second precision in conversion of D card values). check-in: ea1c6d0b32 user: stephan tags: trunk
03:39
merged in [build] branch and fixed always-rebuild deps problem (dep on directory, which is of course always updated). check-in: 54e5c91754 user: stephan tags: trunk
02:21
Updated autosetup. Added guess-manifest-type-based-on-cards logic to the parser. check-in: 4c418820b6 user: stephan tags: trunk
2013-08-14
23:49
Minor cleanups to the last round of refactoring. Cleaned up help subsystem for FossilApp a bit. check-in: 3cc2cd8a5a user: stephan tags: trunk
23:15
Added fsl_sha1_cx_empty, for consistency/completeness. Minor cleanups to the last round of refactoring. check-in: 9307625bb7 user: stephan tags: trunk
22:54
More work on the deck/manifest API. Moved manifest test code into test-mf.c. check-in: ac713788f4 user: stephan tags: trunk
21:53
lots of minor reworking of fsl_deck, more to come. check-in: fab82a66a0 user: stephan tags: trunk
19:17
reimplemented/extended some of the fsl_deck_set_CARD() impls to do better validation and report errors in more detail. check-in: 721538f630 user: stephan tags: trunk
18:57
More work on manifest parsing. check-in: 1130259d32 user: stephan tags: trunk
00:49
doxygen config tweak check-in: 1a38227344 user: stephan tags: trunk
2013-08-13
20:29
help text tweaks. check-in: f15fbfec21 user: stephan tags: trunk
20:04
Timeline now shows tag values (if available) for +/-closed tags. Help text improvement. check-in: 5726a64134 user: stephan tags: trunk
19:32
Added ability to add/cancel/propagate tags by applying +/-/* prefix to f-tag. Refactored dry-run mode to use a transaction/rollback, for more realism. Refactored the public tag API a bit. Fixed a va_list handling error in fsl_db_g_text(). check-in: caeb8eb815 user: stephan tags: trunk
18:35
Successfully round-trip parsed/output a basic manifest (T, U, D cards). check-in: 005bc0786e user: stephan tags: trunk
16:41
added missing Doxyfile.in check-in: e6e7c7bb0d user: stephan tags: trunk
15:32
manifest parser now validates Z cards. check-in: be7a6ff9cb user: stephan tags: trunk
15:17
added missing/removed FSL.OBJ def. Closed-Leaf check-in: 64fe4e398f user: stephan tags: build
15:02
build now compiles library .o files to obj/ instead of src/. Edit: moved to new branch - this is causing a rebuild of all .o files each time. Don't know why. check-in: 1b7f163c07 user: stephan tags: build
15:02
doc additions. check-in: 17899dd3c5 user: stephan tags: trunk
14:15
doc lie correction. check-in: 5fc8458a63 user: stephan tags: trunk
14:15
changed semantics of fsl_buffer_append() when (n==0), so that it ensures a NUL terminator even in that case. check-in: 7664ad456b user: stephan tags: trunk
13:43
added dot support to doxygen output if configure finds dot binary. check-in: cbe176f926 user: stephan tags: trunk
13:17
Renamed header files from fossil/*.h to fossil-scm/*.h, to avoid any potential confusion with the fossil FS or other fossils out there. check-in: 99a4a0ff23 user: stephan tags: trunk
13:12
More work on manifest parsing. Removed tag-test code from test.c b/c it is effectively done in f-tag.c. check-in: 00782f790c user: stephan tags: trunk
11:47
moved c_lists-supermacro.h check-in: 9ddedf2eac user: stephan tags: trunk
11:11
build now always uses local jimsh0, for consistency. check-in: a26e4e7130 user: stephan tags: trunk
10:55
Added fsl_cx::flags, APIs to set/get them, and a flag to disable the generation of timeline event entries when crosslinking control manifests. check-in: a62817438b user: stephan tags: trunk
10:52
improvded an error check in the repo-open op. check-in: a45519e9e7 user: stephan tags: trunk
10:51
fixed a case where flags -n and -nXXXX were being seen as equivalent. check-in: 73089a605f user: stephan tags: trunk
2013-08-12
16:57
Fixed a bad ptr-to-int conversion error which did not show up on x64. check-in: b84a7ad549 user: stephan tags: trunk
16:48
tweaking with the internals of checkout/repo/config db closing. check-in: dadf0a657d user: stephan tags: trunk
16:48
Fixed a potential memory misuse when scripts held independent references to closed checkout/repo dbs and tried to use them. check-in: ffc2b3ce48 user: stephan tags: trunk
15:58
Added another higher-level transaction scope around the tag-add op. check-in: 9f7fe7fee8 user: stephan tags: trunk
15:49
accommodated API change check-in: 0a56bf368e user: stephan tags: trunk
15:44
Cleanups and fixes in the db bits. s/FSL_TAG_xxx/FSL_TAGTYPE_xxx/g. Fixed a memleak in the handling of the fsl_db::filename entries for the special dbs. fsl_cx_checkout_close() now always closes its accompanying repo first because the repo is attached and we end up in a weird state if we do not. check-in: ba9abe6330 user: stephan tags: trunk
14:09
Fixed an incorrectly propagated error code. check-in: 2a84ad397a user: stephan tags: trunk
14:01
Fixed wrong tag names output in crosslink-generated messages, caused by copy-paste porting of code with different semantics :/. Other minor cleanups. Added --dry-run to f-tag. check-in: 6f131086fc user: stephan tags: trunk
12:20
Refactoring of the FossilApp layer into header/impl files. Minor fixes and cleanups. check-in: a78f5aada4 user: stephan tags: trunk
12:07
removed a stray debug line. check-in: d570a577a6 user: stephan tags: trunk
11:42
minor autodef tinkering check-in: 224d4303a5 user: stephan tags: trunk
05:25
Started down the load road to manifest parsing, but it's time for sleep. check-in: 7ee2496195 user: stephan tags: trunk
05:24
Corrected integer type passed to fsl_md5sum_cstr(). check-in: 06fe4570c8 user: stephan tags: trunk
04:30
Changed how config header is generated to give me more control over the content. check-in: 503857bab7 user: stephan tags: trunk
03:44
cleanups and fixes in FossilApp and f-*.c. check-in: a3aa3426c0 user: stephan tags: trunk
03:44
Added -fPIC to build options for --shared support. check-in: 2bddbc822f user: stephan tags: trunk
03:11
Fixed swapped args in fsl_stmt_each() which broke each() callbacks. Changed fsl_stmt_each_f() signature. Added f-timeline.c basic timeline mini-app. check-in: f3b0243385 user: stephan tags: trunk
01:57
Fixed would-have-been memleak in fsl_acache_expire_oldest(). Ported fsl_repo_content_new() (back) to cached queries. That routine is still untested, though. Doc fixed. check-in: 0646f85f40 user: stephan tags: trunk
01:33
converted another statement to a cached one, analog to fossil(1). check-in: 6a1a173c20 user: stephan tags: trunk
01:11
Experimenting with cached vs uncached queries. Fixed numeric type in fsl_stmt_get_blob(). Ported in fsl_repo_content_make_public(). check-in: 7a8d48b273 user: stephan tags: trunk
00:11
more build tweaks for the amalgamation. check-in: 3e156cdef4 user: stephan tags: trunk
2013-08-11
23:52
added auto.def code to extract the aux-schema value from the local checkout if it can. Reordered tests to put required ones first. check-in: 81ee863504 user: stephan tags: trunk
23:03
fixed makefile rights on reconfigure. Ignore errors if chmod fails (non-unix). check-in: 77d1beccd8 user: stephan tags: trunk
23:00
configure now makes the generated Makefile read only so i will stop manually changing it (and losing the changes). check-in: 3505651ab0 user: stephan tags: trunk
22:53
tweaked amalgamation to use a 3rd file (config header generated with conservative settings). check-in: d40a0ba29a user: stephan tags: trunk
22:22
deps fixes check-in: 1e387ab91c user: stephan tags: trunk
22:18
Improved error reporting in sym-to-rid lookup. Added f-tag rules to the proper (not generated/overwritten) copy of the makefile this time. check-in: 25e310704a user: stephan tags: trunk
22:09
Refactored beforeBegin triggers to compile earlier and store the Statement handles. This provides better error handling/reporting options but disallows multi-statement triggers, so i am sidelining this for now but checking it in for later reference. Closed-Leaf check-in: 9d9375ac2d user: stephan tags: beforeCommit-statements
21:42
prettied up the test app bit check-in: 0b2c079cc4 user: stephan tags: trunk
21:38
finished(?) the crosslinking of CONTROL artifacts (tag changes). :-D check-in: 15958dd832 user: stephan tags: trunk
20:54
Added an app for testing tagging. Tag saving is working but the entries do not show up in the timeline until a sync or rebuild (missing some postprocessing step or other). check-in: 2caba4c84a user: stephan tags: trunk
20:53
Changed fsl_guess_user_name() to require fsl_free(), not fsl_filename_free(), for cleanup. check-in: 07e7c43fb8 user: stephan tags: trunk
19:35
Fixed fsl_pq_insert() to INCREASE the use count, not DECREASE it. Tag saving seems to be more or less complete, including crosslinking for the basic (tag-related) bits. check-in: d4ec89c216 user: stephan tags: trunk
18:15
Lots of work on manifest crosslinking. IN THEORY tag changes are now feature-complete, but i want to commit this and back it up BEFORE testing this write operation... check-in: 52ec7915e3 user: stephan tags: trunk
15:42
More skeleton work on manifest crosslinking. check-in: a95132ac5c user: stephan tags: trunk
14:33
Fixed sorting of T card output when multiple cards are played. fsl_card_is_legal() now distinguishes between optional and required cards. check-in: 216f1abe17 user: stephan tags: trunk
13:17
Ported in fsl_repo_content_undelta() and fsl_repo_shun_artifacts(). Added a public API and tests for the fsl_db::beforeCommit triggers. A number of minor additions, cleanups, and fixes. check-in: ab3f72ce6c user: stephan tags: trunk
11:16
fixed the script bindings of the repo/ckout db names (they now point to their corresponding db file instead of the main db). check-in: a0348f25c1 user: stephan tags: trunk
11:15
doc additions. check-in: 82d15a9126 user: stephan tags: trunk
11:10
minor code simplification. check-in: 54282c84ee user: stephan tags: trunk
10:35
Ported in content_new() as fsl_repo_content_new(). Added a prepared statement caching mechanism similar to db_static_prepare() (but without the statics). check-in: 0c18f5b486 user: stephan tags: trunk
2013-08-10
23:34
fixed doxygen upload to remove files which no longer exist. check-in: d2b6c924c4 user: stephan tags: trunk
23:29
more API renaming, expanded the FSL_xxx_T_PFMT collection. check-in: 69dd500a28 user: stephan tags: trunk
22:37
more tinkering with the manifest bits. check-in: fbd57c5781 user: stephan tags: trunk
22:19
Fixed output formatting of W cards. check-in: 576c3b5eec user: stephan tags: trunk
22:19
fsl_id_bag_insert() now returns 0 instead of FSL_RC_ALREADY_EXISTS on a collision (simplifies usage greatly). check-in: f8a7348514 user: stephan tags: trunk
21:20
Started work on manifest crosslinking, but only skeleton code is in place. Time for the dog walk... check-in: 5b89c04e9b user: stephan tags: trunk
19:51
Got content_get() ported in as fsl_repo_content_get(). That was an adventure. check-in: 7790ed0962 user: stephan tags: trunk
15:56
moved a debugging line. Minor doc corrections. check-in: 35db65a671 user: stephan tags: trunk
15:13
Minor milestone: saving of a tag is working and the tag appears on the appropriate artifact, but manifest crosslinking of the saved content is missing. i am not sure what side effects that might lead to. check-in: b565897af8 user: stephan tags: trunk
14:45
Ported in content_mark_available() as fsl_cx_content_mark_available(). One more small piece of the larger Manifest puzzle. check-in: ec67d2b8b9 user: stephan tags: trunk
14:30
more work on the leaf bits. check-in: f578832130 user: stephan tags: trunk
14:24
Fixed FossilApp_open() to prefer -R over -c. Fixed missing reporting of repo-not-found error for -R. check-in: cca68e07d7 user: stephan tags: trunk
13:11
Started porting in the leaf.c bits. Doxygen fixes. check-in: 08747b39cb user: stephan tags: trunk
12:44
added/fixed license headers. check-in: f65b6ba973 user: stephan tags: trunk
12:42
cleanups and fixes to the previous commit. s/fsl_stmt_prepare/fsl_db_prepare/g. check-in: 9f47dbd75d user: stephan tags: trunk
11:52
egg check-in: d77e8af672 user: stephan tags: trunk
11:47
More db infrastructure for the content-save process. Started work on fsl_cx_content_put(), but it's a beast and is missing parts. check-in: ed6df55bda user: stephan tags: trunk
09:55
removed some dead code, doxygen tweaks, changed a couple func signatures. check-in: 348f93deb0 user: stephan tags: trunk
09:41
added missing license headers. check-in: 9a383b82a7 user: stephan tags: trunk
09:38
Ported in the priority queue class. Minor doc fixes. check-in: a600c5f461 user: stephan tags: trunk
2013-08-09
22:29
Added fsl_(sha1|md5)sum_(stream|filename)(). s/fsl_input_FILE/fsl_input_f_FILE/g, for consistency. check-in: 1c3b2f9249 user: stephan tags: trunk
22:04
Cleaned up some hard-coded magic numbers and fixed a couple mis-sized md5 strings (sized as sha1 strings due to copy/paste). Removed some dead code. check-in: fc6285dba7 user: stephan tags: trunk
21:48
minor doc corrections. check-in: 5af7566477 user: stephan tags: trunk
21:42
pedantry in comments check-in: 6b8f6026fd user: bch tags: trunk
21:20
doc updates check-in: 423842eb26 user: stephan tags: trunk
20:29
Changed return semantics of fsl_list_reserve(), for consistency (old semantics were copy/pasted). Ran some code through reformatter. check-in: 78bf9244bd user: stephan tags: trunk
20:17
buh-bye commented-out code. We've got version control here... check-in: f4e5795f9e user: bch tags: trunk
19:35
merged in [bch_hack], removed hard assignment to bash shell (apparently no longer needed). check-in: d2f9cf3a2a user: stephan tags: trunk
19:30
"char used as index for array" error Closed-Leaf check-in: 97c2165235 user: bch tags: bch_hack
19:29
convert Linux-ism NetBSD-ism check-in: 240deb757b user: bch tags: bch_hack
18:59
Doc additions, minor API renamings. check-in: d011e3345f user: stephan tags: trunk
18:38
Ported in the low-level content cache bits. Fixed CANCEL tag cards to not output their value. check-in: 76c3b5a830 user: stephan tags: trunk
2013-08-08
22:28
Fixed the th1ish db bindings, except that db.name now points to the wrong/misleaning db for repos opened as a side-effect of opening a checkout because the repo is (since the last round of refactoring) ATTACHed instead of OPENed, and the script API does not yet have access to the real filename. check-in: 913cb3e679 user: stephan tags: trunk
22:27
minor error case cleanup. check-in: faebf1985c user: stephan tags: trunk
22:04
started working on fixes for the th1ish binding breakage caused by API changes, but it's bed time. check-in: 71a281dd9d user: stephan tags: trunk
20:53
Refactored fsl_cx::dbXXX back into separate db handles, and fsl_cx::dbMain is now a pointer refering to one of db(Config,Ckout,Repo). Requires notably more code/complexity but i am leary of using a :memory: db as the main db (e.g. TEMP tables can only be created in the main db). This breaks part of the th1ish bindings, but will fix that later/tomorrow. check-in: 3273fcaae5 user: stephan tags: trunk
19:44
minor cleanups. No longer errors out if auto-search of a checkout finds no checkout. check-in: 875530f36e user: stephan tags: trunk
19:40
restructured the test app, started a mini-framework for basic apps. check-in: b517c54f29 user: stephan tags: trunk
19:31
Added missing cleanup of fsl_db::name. check-in: 5a9f744eb7 user: stephan tags: trunk
18:46
merged in [autosetup] branch to trunk. check-in: 4ca8a51cd7 user: stephan tags: trunk
18:41
re-added the amalgamation build. Added a couple test assertions. Closed-Leaf check-in: 2a09c72c43 user: stephan tags: autosetup
17:55
another round of build bits. just about finished, i think. check-in: 59da705702 user: stephan tags: autosetup
17:19
another round of build-related tweaks. check-in: a59f3a0082 user: stephan tags: autosetup
16:32
moved main sources into src/. moved fsl_internal.h to include/fossil. check-in: dd9401360d user: stephan tags: autosetup
08:17
pulled in latest th1ish_amalgamation (compile warning fixes). check-in: 91cf3937f3 user: stephan tags: autosetup
2013-08-07
22:21
more autosetup-related build refactoring/experimentation. check-in: a231f998a9 user: stephan tags: autosetup
22:20
latest th1ish_amalgamation (compile warning fixes). check-in: a8f65f89c0 user: stephan tags: autosetup
21:59
added missing subdir-inc.make. check-in: a046bc7696 user: stephan tags: autosetup
21:23
More work on the autosetup bits. Not quite happy with the rules/config separation yet, but it is a work in progress. check-in: 30447f2ce3 user: stephan tags: autosetup
21:23
Fixed a type mismatch in fsl_cx_content_size(). check-in: b3d940ae5d user: stephan tags: autosetup
19:55
started porting config process to autosetup. check-in: 1aa35e2a77 user: stephan tags: autosetup