Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
600 check-ins using file th1ish/test-003.th1ish version f7d3a2e155
2014-02-10
| ||
20:12 | fsl_checkout_changes_visit() now works around (origpath=pathname) problem revealed by (fossil mv) misbehaviour. Added renamed-from original filename parameter to visitor callback. check-in: 8c66a0a745 user: stephan tags: trunk | |
18:40 | Doc additions. check-in: e44c5ce78c user: stephan tags: trunk | |
18:29 | Consolidated FSL_ATYPE_xxx and FSL_CATYPE_xxx into FSL_CATYPE_xxx, replaced fsl_atype_t with fsl_catype_t. check-in: c0ca757a66 user: stephan tags: trunk | |
18:14 | minor function rename. check-in: dff73c6f9b user: stephan tags: trunk | |
18:09 | Some reworking of how trailing slashes are handled in fsl_checkout_filename_check(), fsl_cx_stat(), and friends. As a general rule, trailing slashes are kept if present because this vastly simplifies handling of input from the CLI, but is up for debate (or a flag parameter) because it will probably lead to workarounds later on. check-in: 5bf66bef9e user: stephan tags: trunk | |
16:25 | doc tinkering. check-in: 2fcbab2ef3 user: stephan tags: trunk | |
16:24 | turned on all sorting options. Still does not sort 100% sanely, but is better than before. check-in: 688ff82f09 user: stephan tags: trunk | |
16:24 | updated lib version number. check-in: 13dbfe9402 user: stephan tags: trunk | |
16:24 | ifdef'd out one test which likely cannot work on Windows. check-in: 2e29c6ce12 user: stephan tags: trunk | |
16:23 | Fixed a couple minor inconsistencies in the no-row-found handling for fsl_db_get_(text|blob)(). check-in: 7fcdf4f35a user: stephan tags: trunk | |
15:13 | fixed a couple fsl_stmts which were not being cleaned up if copying of their data failed due to OOM. check-in: c7e103672e user: stephan tags: trunk | |
09:30 | minor sql tinkering. check-in: b006fab836 user: stephan tags: trunk | |
2014-02-09
| ||
17:47 | minor doc tweak. check-in: 8992d8f084 user: stephan tags: trunk | |
17:25 | Minor API renamings. Started sketching out what a checkin/commit function might look like, but it's a long way from working. check-in: 60b268ff0a user: stephan tags: trunk | |
17:24 | doc additions. check-in: 834064953f user: stephan tags: trunk | |
16:51 | another deps fix/tweak. check-in: 61c9a27bc4 user: stephan tags: trunk | |
16:47 | swapped some args to simplify up-coming porting from fossil(1). check-in: e750db6e90 user: stephan tags: trunk | |
14:47 | Ported in fossil's popen(), but have not yet exposed it via the public API because we are a long way from needing it. check-in: 0d13a3242c user: stephan tags: trunk | |
14:41 | minor doc fix check-in: 75b2b2e406 user: stephan tags: trunk | |
13:44 | Enabled branch creation test in f-sanity. check-in: 6af341da45 user: stephan tags: trunk | |
13:10 | Got initial create-branch code working. check-in: 1c87e1134f user: stephan tags: trunk | |
13:09 | f-timeline now marks the current checkout in the timeline list. check-in: 4e73dcd47f user: stephan tags: trunk | |
13:03 | Created branch [lib-generated-branch]. Closed-Leaf check-in: 202d32385c user: stephan tags: lib-generated-branch | |
12:41 | Some minor tinkering with internals to avoid re-calculating an R-card if a client explicitly sets it (needed by the branch operation). check-in: a7e50f7ba8 user: stephan tags: trunk | |
12:02 | Minor code simplification. check-in: 436c6ce8b3 user: stephan tags: trunk | |
12:02 | Only validate the R-card if the manifest actually has an R-card. check-in: 8b4ae29b02 user: stephan tags: trunk | |
12:00 | Created branch [lib-generated-branch]. Closed-Leaf check-in: 4f7adc44d9 user: stephan tags: lib-generated-branch | |
2014-02-08
| ||
21:59 | Added another unit test to ease my aching mind. Fixed a leaked error report after catching an expected error. check-in: 948e58ab1b user: stephan tags: trunk | |
21:18 | more tinkering with queries. check-in: 6e21debf80 user: stephan tags: trunk | |
20:34 | Tinkering and fixes in the add/remove bits. check-in: 1fbda8eeb6 user: stephan tags: trunk | |
18:53 | fixed mis-propagation of an sqlite3 error code in fsl_db_exec_multi(). check-in: 4afa958fda user: stephan tags: trunk | |
18:29 | Added fsl_checkout_file_rm(). Seems to work. Added f-rm app. check-in: ffec7de377 user: stephan tags: trunk | |
15:26 | fsl_cx_stat() now accepts a NULL fsl_fstat, analog to fsl_stat(). Minor doc fixes. check-in: fb87e8ed7e user: stephan tags: trunk | |
15:23 | removed some dead code and added what hopes to be a deps fix. check-in: a1483a54de user: stephan tags: trunk | |
14:34 | Re-did some of the APIs to allow (require!) the caller to specify whether to use the checkout dir or the current working dir as the root for filename canonicalization. Was needed to bring sanity to the file-add bits. check-in: 1a0796075f user: stephan tags: trunk | |
13:52 | Initial implementation of the add-file op is working, but it has revealed a hole in the API vis-a-vis distinguishing cwd from ckout root in some contexts. PS: the file f-add.c was added using this API. check-in: 21f1db7f80 user: stephan tags: trunk | |
13:35 | thank you, valgrind. check-in: 4067b6e65e user: stephan tags: trunk | |
11:20 | Added fsl_stream_compare() and fsl_buffer_compare_file() to support up-coming features. check-in: b8d7c66f22 user: stephan tags: trunk | |
2014-02-07
| ||
23:49 | minor renaming and help text cleanups. bed time. check-in: 24f58009d6 user: stephan tags: trunk | |
23:47 | changed how the fossil(1) vfile multi-version compat workaround is applied by f-status. check-in: 11b07f3d35 user: stephan tags: trunk | |
23:36 | Removed some dead code. Minor formatting tweaks. check-in: 68c2ec9aad user: stephan tags: trunk | |
23:33 | a number of cleanups/fixes/additions to the checkout change-reporting code. check-in: e2ec5d675f user: stephan tags: trunk | |
21:20 | Mostly implemented fsl_vfile_check_sig(), and f-status can now update/show the change status of files in the current checkout. Other minor cleanups. check-in: 5230586d98 user: stephan tags: trunk | |
18:06 | minor doc updates. check-in: 152d6de319 user: stephan tags: trunk | |
17:23 | minor API renaming. Added multiple-glob and invert-glob support to f-ls. Doc touch-ups. check-in: 9cf3c16ca6 user: stephan tags: trunk | |
16:37 | Minor cleanups and doc improvements. check-in: 1666351687 user: stephan tags: trunk | |
16:04 | Added the fsl_glob_list_xxx() family of functions, analog to fossil(1) Glob class except that they use fsl_list instead of a new class. check-in: 95e3925c25 user: stephan tags: trunk | |
14:21 | We now differentiate between NULL and empty-string root path in fsl_file_canonical_name2(). check-in: 7c75d1be08 user: stephan tags: trunk | |
2014-02-06
| ||
22:09 | Reworked fsl_file_canonical_name() to able to apply any arbitrary root prefix. Moved some code around, some of which, in hindsight, could not be moved. fsl_checkout_filename_check() now canonicalizes relative to the checkout root, not the cwd. Added fsl_deck_load_name(). Removed some __func__ references (portability concerns, possibly overblown). Added skeleton f-diff app. check-in: 19845c101c user: stephan tags: trunk | |
17:56 | changes fsl_cx::ckout::dir from a fsl_buffer to a (char*). check-in: 4873ba360f user: stephan tags: trunk | |
17:26 | Added fsl_confirm() family of functions for up-coming features. Fixed overwrite-repo in fsl_repo_create() (it previous didn't do anything useful). Changed how fsl_cx stores its default user name, and it now takes the default user name from a repo when opening it (where user.id==1). Other minor cleanups and tweaks. check-in: ebda4a36e3 user: stephan tags: trunk | |
10:26 | egg check-in: 4274e3e738 user: stephan tags: trunk | |
2014-02-05
| ||
21:04 | minor build tweaks. check-in: 812351e4fa user: stephan tags: trunk | |
20:49 | Replaced a couple gratuitous structs with (char *). Other minor tinkering. check-in: a94b263ba1 user: stephan tags: trunk | |
19:19 | insignificant tweaks. check-in: 508e3992c5 user: stephan tags: trunk | |
19:10 | egg check-in: 1dd8e06524 user: stephan tags: trunk | |
2014-02-04
| ||
20:54 | minor formatting tweaks. check-in: eb178149fc user: stephan tags: trunk | |
19:31 | minor cleanups, removed some dead code. check-in: e10e24e323 user: stephan tags: trunk | |
19:09 | egg check-in: d8b6cf9fa2 user: stephan tags: trunk | |
18:02 | Added FSL_J2U() UDF. check-in: f5535d9325 user: stephan tags: trunk | |
18:01 | Added fsl_julian_to_unix(). check-in: eacd634263 user: stephan tags: trunk | |
18:00 | added clean-bins rule. check-in: e5dc72c378 user: stephan tags: trunk | |
2014-02-03
| ||
21:36 | pulled in sqlite3.{c,h} from trunk b60cc11ef775. check-in: 8f89acc0f0 user: stephan tags: trunk | |
19:38 | another round of minor internal tweaks. check-in: 5a477d1471 user: stephan tags: trunk | |
19:18 | disabled auto-updating of ckout:/path in the repo db, largely because it notably slows down read-only apps. check-in: 084c05abe2 user: stephan tags: trunk | |
17:34 | x64/i32 compatibility kludge in a unit test assertion. check-in: 782894e9a8 user: stephan tags: trunk | |
13:01 | Removed check for system-level sqlite because we currently need a newer one than any system has installed. check-in: 4e9d0872fd user: stephan tags: trunk | |
10:33 | minor build/portability fixes check-in: 249ad02691 user: stephan tags: trunk | |
2014-02-02
| ||
18:15 | minor doc update. check-in: 3c03462252 user: stephan tags: trunk | |
18:10 | Added unit test for FSL_CI_MTIME() UDF. check-in: 36605235ae user: stephan tags: trunk | |
18:09 | Added missing argument docs. check-in: 57ea68c7b8 user: stephan tags: trunk | |
17:57 | Implemented fsl_db_checkin_mtime_udf() as SQL-side FSL_CI_MTIME(). check-in: 21bef16324 user: stephan tags: trunk | |
17:38 | minor code pretty-up. check-in: 4ea8cdd758 user: stephan tags: trunk | |
17:37 | Fixed a potential leaked cached query in an error case. Fixed a major logic bug in fsl_repo_filename_to_fnid() which caused it to not add new filenames. check-in: 888a95657e user: stephan tags: trunk | |
17:34 | Minor code consolidation. check-in: 36241e7150 user: stephan tags: trunk | |
16:31 | More buffer-to-string refactoring to save some memory. check-in: 72128a925d user: stephan tags: trunk | |
14:53 | Started refactoring some of the superfluous fsl_buffer data to (char*) to save on the sizeof()s. check-in: e0aa094e11 user: stephan tags: trunk | |
14:20 | Another round of minor cleanups and doc fixes. Added fsl_input_f_buffer(), based on new fsl_buffer::cursor member (needed for other reasons), so buffers can now be input streams. check-in: 7aa94e7ce8 user: stephan tags: trunk | |
12:25 | Implemented fsl_rid_is_a_checkin() and fsl_buffer_copy_lines(), infrastructure needed by other up-coming bits. check-in: 5fbf9715f8 user: stephan tags: trunk | |
00:53 | another minor pedantic layout tweak. check-in: 3de0fe43a7 user: stephan tags: trunk | |
00:51 | Minor output formatting tweaks. check-in: 080ee755f7 user: stephan tags: trunk | |
00:16 | Added sqlite3.{c,h} to the tree b/c the library now needs 3.8.3+. check-in: 438eb34f5a user: stephan tags: trunk | |
00:10 | Implemented fsl_mtime_of_manifest_file(), another piece in the checkout-file puzzle. However, libfossil now requires sqlite 3.8.3+. check-in: 706f8bfe62 user: stephan tags: trunk | |
2014-02-01
| ||
23:47 | Fixed: fsl_repo_open_for_checkout() was failing for checkouts where 'repository' is stored as an absolute path. It now makes relative paths relative to the ckout root and uses absolute paths as-is. check-in: ba68a0b797 user: stephan tags: trunk | |
23:24 | minor (yet unsightly) portability cast. check-in: a0e95de6e9 user: stephan tags: trunk | |
23:24 | Added --show-files/-f to f-timeline. check-in: df0a54355a user: stephan tags: trunk | |
14:19 | minor round of tinkering and refactoring. Moved fsl_config_xxx() decls into fossil-confdb.h. check-in: ad2a0cb933 user: stephan tags: trunk | |
13:37 | FSL_SYM2RID() UDF now resets the fsl_cx error state if sym-to-rid lookup sets it, and (as before) propagates the error via the db layer. It was previously poluting down-stream error reporting. Minor improvments to OOM error reporting for some of the UDFs. check-in: 3bd8da8827 user: stephan tags: trunk | |
13:05 | minor unit test improvement. check-in: adcb38a7b2 user: stephan tags: trunk | |
12:59 | minor unit test fix. check-in: 16a8771ee7 user: stephan tags: trunk | |
12:42 | Added fsl_config_transaction_{begin,end}() as an optimization for apps which make lots of config changes. check-in: 8d41887764 user: stephan tags: trunk | |
12:15 | Refactored fsl_config_xxx() impls for cached statements. Added unit tests for the config get/set APIs. check-in: 43d76d6664 user: stephan tags: trunk | |
10:46 | Added 'set' and 'unset' features to f-config. check-in: 731e2f05d9 user: stephan tags: trunk | |
2014-01-31
| ||
23:57 | Ported in a public domain strftime() impl, for potential use with the checkout-related functionality. Fixed a clang warning. check-in: 615b6d29bc user: stephan tags: trunk | |
22:34 | fsl_cx_stat() now accepts non-simple paths and runs them through fsl_checkout_filename_check(), which still has its unfortunate name. Added fsl_file_set_mtime(). check-in: b991749bca user: stephan tags: trunk | |
16:15 | tip: RIDs are specific to a given clone, so do not use them in unit tests. check-in: 323de94684 user: stephan tags: trunk | |
12:02 | minor doc tweak. check-in: c1d7a2737d user: stephan tags: trunk | |
2014-01-30
| ||
21:43 | fsl_stat() now accepts a NULL stat buffer. Internal refactoring of fsl_checkout_open_dir(). check-in: f082da6718 user: stephan tags: trunk | |
20:36 | Re-thought/implemented fsl_repo_dir_names() to return all dir names when given an RID, use the checkout if rid==0, and all versions if rid is negative. Other minor refactoring/renaming. Fixed fsl_cx_filename_collation() to return the right string. check-in: 22ce993a61 user: stephan tags: trunk | |
17:36 | Confusing/wrong text fix. check-in: a7001dc03e user: stephan tags: trunk | |
2014-01-29
| ||
20:38 | Minor API renamings and tinkering in fsl_content_put_ex(). check-in: 8e0b7eeb54 user: stephan tags: trunk | |
20:22 | Switched from a static to dynamic buffer in an ill-fated corner wiki crosslinking. check-in: e49cf382cd user: stephan tags: trunk | |
20:07 | added a no-op crosslink listener for debugging purposes. check-in: 26a04e7b10 user: stephan tags: trunk | |
18:49 | fixed: f-new now shows its own local help. check-in: 3845f023fe user: stephan tags: trunk | |
18:44 | minor doc tweaks. check-in: d3896508b0 user: stephan tags: trunk | |
18:22 | yeah, and this time it compiles, too. check-in: a4a761b0f8 user: stephan tags: trunk | |
18:17 | minor code consistency hack. check-in: 04a28a3fe5 user: stephan tags: trunk | |
18:16 | Prettied up the call semantics of fsl_wiki_save() a bit. check-in: 5a218715c8 user: stephan tags: trunk | |
17:47 | f-query's -e SCRIPT flag now accepts a filename or SQL code. check-in: d508a2e7ab user: stephan tags: trunk | |
17:11 | Back into the trunk with you... check-in: 468e9e16d4 user: stephan tags: trunk | |
17:10 | A number of minor tweaks (e.g. more cached statements), refactoring of fsl_cx internals. Closed-Leaf check-in: 1d59e4291a user: stephan tags: untested-tinkering | |
17:09 | Deps fix: f-* apps were not rebuilding on lib-level changes. check-in: 0756f00469 user: stephan tags: untested-tinkering | |
2014-01-28
| ||
22:43 | some untested tinkering i need to back up. check-in: 26374bba60 user: stephan tags: untested-tinkering | |
2014-01-27
| ||
21:56 | Implemented fsl_ckout_name_check(), though i am entirely unthrilled with its name (it is file_tree_name() in fossil(1)). Fixed a corner case in fsl_is_simple_filename(): it now catches '/...' as invalid, but not yet '.../'. check-in: 6b581c89f9 user: stephan tags: trunk | |
2014-01-26
| ||
17:04 | Started adding support for 'selected' files. check-in: a50c5953d1 user: stephan tags: trunk | |
17:03 | Minor memory optimization experiments. check-in: 3c4e090c0f user: stephan tags: trunk | |
17:02 | Minor internal cleanups. Filled out (untested) part of fsl_content_put_ex() which fills out phantom blobs. check-in: 937ff93e3f user: stephan tags: trunk | |
17:00 | minor doc additions. check-in: 8e5c613ad4 user: stephan tags: trunk | |
14:38 | ported in fsl_chdir(). check-in: d0a5106f00 user: stephan tags: trunk | |
14:13 | added a todo. check-in: e73a05b7d5 user: stephan tags: trunk | |
14:12 | Added -g|-glob option to, plus other minor cleanups in, f-config. check-in: 7546b3db9d user: stephan tags: trunk | |
14:11 | Enable julian conversion debug output only on verbosity level 2 or higher. check-in: 426b3226ba user: stephan tags: trunk | |
14:10 | Added -glob STRING option to f-ls. check-in: 1a1afecd62 user: stephan tags: trunk | |
13:18 | More tinkering with the config bits. fsl_config_open() can now initialize an empty db. Started adding basic f-config app. check-in: 9e72b41cdc user: stephan tags: trunk | |
11:47 | minor cleanups, removed some dead code, doc improvements. check-in: bd3fb333e3 user: stephan tags: trunk | |
11:31 | More refactoring/consolidation of the disparate config-db APIs. check-in: 3551ebfb6b user: stephan tags: trunk | |
10:33 | refactoring and code consolidation. check-in: e6654f2651 user: stephan tags: trunk | |
2014-01-25
| ||
15:01 | minor internal restructuring in fcli. check-in: bbe93aa209 user: stephan tags: trunk | |
14:46 | Started work on the analog of the (fossil status) command. check-in: 46a069acbc user: stephan tags: trunk | |
14:46 | f-acat now fails with non-0, instead of 0, when no artifact ID is supplied. check-in: 442e1f459e user: stephan tags: trunk | |
13:30 | implemented fsl_repo_record_filename(). Seems to work but is untested in conjunction with global config. check-in: 857a9fe889 user: stephan tags: trunk | |
2014-01-24
| ||
20:49 | more doc tweaks. check-in: 0be0e644f8 user: stephan tags: trunk | |
19:45 | doc patches to accound for the doxygen filtering kludge needed for @code blocks. check-in: 95be6cf5b2 user: stephan tags: trunk | |
2014-01-23
| ||
20:16 | squirreling away some SQL snippets which are not part of the sources. check-in: 4a07292f08 user: stephan tags: trunk | |
2014-01-22
| ||
20:57 | doc fixes/tweaks. i _think_ i finally got the doxygen INPUT_FILTER doing the right thing wrt to the fossil(1)-style comment blocks in conjunction with @code/@endcode. check-in: 89554a5d7f user: stephan tags: trunk | |
20:06 | Added a minor maintenance reminder. check-in: 2303065b50 user: stephan tags: trunk | |
2014-01-12
| ||
11:26 | fixed f-wiki export to behave like the docs say it does. check-in: 5fe41b17fd user: stephan tags: trunk | |
2013-10-01
| ||
08:22 | fixed the incomplete changes to the last commit (apparently got distracted in the middle somewhere). check-in: f2e6bc9235 user: stephan tags: trunk | |
2013-09-24
| ||
20:15 | minor cleanups in as-yet-unusued closed. check-in: 28d48303f7 user: stephan tags: trunk | |
15:30 | doc and error reporting tweaks. check-in: 81b1ef6e09 user: stephan tags: trunk | |
15:27 | fixed an uninitialized counter var. Thanks, clang! check-in: f19b6aaae5 user: stephan tags: trunk | |
2013-09-19
| ||
20:57 | minor doc tweak check-in: ae837ae1a3 user: stephan tags: trunk | |
20:46 | fsl_content_put_ex() now adds all saved content to the UNSENT table. Once we have sync/import support that will need to be togglable. check-in: 01159e5323 user: stephan tags: trunk | |
20:45 | minor doc additions. check-in: c784489aad user: stephan tags: trunk | |
19:09 | more docs check-in: f93b6e2160 user: stephan tags: trunk | |
19:02 | doc tweaks check-in: 47bb628414 user: stephan tags: trunk | |
18:55 | more docs. check-in: c76f2a87da user: stephan tags: trunk | |
17:02 | minor doc rewording. check-in: 4449223605 user: stephan tags: trunk | |
16:49 | Added a transaction to f-query. check-in: 46964e30c8 user: stephan tags: trunk | |
16:28 | Added f-query app to run queries which can use the libfossil-added SQL UDFs. check-in: 1d4a6c8222 user: stephan tags: trunk | |
16:27 | added fsl_repo_dir_names() test. check-in: d1860e95d5 user: stephan tags: trunk | |
16:26 | Added fsl_repo_dir_names(). check-in: 8b35258f0d user: stephan tags: trunk | |
16:25 | fsl_dirpart() UDF now treats empty result as NULL (do not think this makes a difference). check-in: c6bacd7607 user: stephan tags: trunk | |
16:03 | minor docs and comments. check-in: 35cd9d6c6c user: stephan tags: trunk | |
16:03 | Added FSL_DIRPART() SQL func. Fixed behaviour of fsl_db_prepare() when input SQL evaluates to NULL (it now fails instead of succeeding with a NULL stmt handle). check-in: 8dc89b848b user: stephan tags: trunk | |
2013-09-18
| ||
17:39 | minor doc/text changes. check-in: 4fa939b62a user: stephan tags: trunk | |
17:21 | minor code tweaks in as-yet-untested/untestable code. check-in: e0d628e9db user: stephan tags: trunk | |
17:20 | minor doc tweaks. check-in: e9e3583937 user: stephan tags: trunk | |
17:19 | Extended fcli to allow client to specify the output channel used by f_out() and friends (so it can now be used with a GUI app). check-in: 9c8f77e838 user: stephan tags: trunk | |
17:17 | Minor error reporting cleanup. check-in: f0bdc0ff5a user: stephan tags: trunk | |
17:17 | changed semantics of contextLines diff argument when==0. check-in: 85d6717c6c user: stephan tags: trunk | |
17:14 | if SHA1 mismatches and output did not come from stdin, then it now shows a diff of the mismatch. check-in: 19733a82dc user: stephan tags: trunk | |
16:18 | minor doc tweak. check-in: f44fc5165d user: stephan tags: trunk | |
16:18 | test event generator now uses current time, not a fix time. check-in: 29c9001a95 user: stephan tags: trunk | |
2013-09-17
| ||
19:51 | Added fsl_file_dirpart(). check-in: d8147e45d9 user: stephan tags: trunk | |
18:42 | ooops - reenabled the other sanity tests. check-in: 60683c296e user: stephan tags: trunk | |
18:42 | more tinkering with the sizeof-vs-va_list mismatch tests. check-in: 5672d4e132 user: stephan tags: trunk | |
18:24 | minor doc updates. check-in: 097002174d user: stephan tags: trunk | |
18:15 | Ported in fsl_pathfinder utility API from th1ish. check-in: db1a141463 user: stephan tags: trunk | |
11:58 | bogus no-op change to remove +x bit. check-in: 9803754065 user: stephan tags: trunk | |
05:27 | naive (un-researched) fixes to compile fails. (see [ef8ff36cf0feb811a0f1e66c0fa420c80d629998]) check-in: b5210cd21c user: bch tags: trunk | |
2013-09-16
| ||
18:58 | Added a really horrible, but also mathematically justified, ugly kludge to the julian==>iso8601 conversion which flips SS.999 up to the next second (if it will not wrap a day boundary). This is EVIL but the math of unexpected .999 fractions (0.27% in fossil(1) repo) vs the cases this actually breaks (so far none) argues for it. check-in: ea6d329863 user: stephan tags: trunk | |
17:36 | minor doc updates and internal cleanups. check-in: 4c2a2319dc user: stephan tags: trunk | |
16:25 | second half of previous commit, plus some copy/paste comment corrections. check-in: e0996075b9 user: stephan tags: trunk | |
16:21 | removed use of FSL_CX_F_LOCALTIME_GMT - will likely get rid of that flag. check-in: 3e38a9d41e user: stephan tags: trunk | |
15:53 | Simplified some of the math a small bit in fsl_julian_to_iso8601(). check-in: 2f44409167 user: stephan tags: trunk | |
2013-09-14
| ||
15:58 | minor comment change. check-in: 408e2fbac1 user: stephan tags: trunk | |
2013-09-11
| ||
22:08 | Added some assertions, reminders, docs. One minor optimization. check-in: 580bb9c789 user: stephan tags: trunk | |
20:10 | fixed minor math error in debug output percentage calculations. check-in: 402f50a25f user: stephan tags: trunk | |
19:58 | removed old/unmaintained build file. check-in: 38ecec1de2 user: stephan tags: trunk | |
19:58 | Playing with __attribute__. check-in: 039b1b7f4d user: stephan tags: trunk | |
19:12 | added a couple missing member initializations. check-in: ad29f06121 user: stephan tags: trunk | |
19:07 | minor doc correction check-in: 09d07607db user: stephan tags: trunk | |
18:43 | Added more "proactive superfluous casts" to protect 32-bit environments from the 64-bit int/va_list weirdness. Minor doc additions. check-in: a6ca6422d5 user: stephan tags: trunk | |
18:41 | minor doc fix check-in: 9582862acc user: stephan tags: trunk | |
17:01 | More tweaks to the julian/iso tests. It now does not warn (but reports statistics) for those which it determines only differ by 1ms unless their count exceed some (low) threshold (in percentage of total records). check-in: 026ca6eea6 user: stephan tags: trunk | |
15:57 | comments and minor typedef changes. Nothing functional. check-in: b8ab152db0 user: stephan tags: trunk | |
15:43 | Removed some dead code. Refactored fsl_julian_to_iso8601() to use direct bytestream output (no fsl_snprintf() needed). check-in: a1e145b15b user: stephan tags: trunk | |
15:18 | more julian/iso8601 test cleanups. check-in: 3c7fdef2d0 user: stephan tags: trunk | |
11:35 | Extended julian/iso conversion tests to pull the values from event.mtime for testing purposes, so we have an ever-growing test data pool. check-in: 9747784815 user: stephan tags: trunk | |
11:35 | Fixed a long-standing bug which could cause fsl_snprintf() to return the wrong thing when matching substrings. check-in: 0b5ebbdae0 user: stephan tags: trunk | |
2013-09-10
| ||
22:29 | Found a usable workaround for the S.000 ==> (S-1).999 conversion problem. All julian/iso conversion tests pass now. check-in: 6ee5a74681 user: stephan tags: trunk | |
22:12 | Several fixes for the iso8601/julian conversions. check-in: 057d313723 user: stephan tags: trunk | |
20:38 | changed a potential confusing hex output to make it clear that it is a ptr addr instead of a partial uuid. check-in: 50830bf6ac user: stephan tags: trunk | |
20:36 | Simplified fsl_deck_parse() signature. Reimplemented fsl_julian_to_iso8601() using a different algorigthm - the previous one has an off-by-one-day bug in some cases. check-in: 63333ab345 user: stephan tags: trunk | |
17:35 | fsl_deck_parse() now theoretically needs no fsl_cx, but it is untested in that configuration. check-in: 0cd2dffff4 user: stephan tags: trunk | |
15:20 | Added some test assertions. A pair of minor memory allocation optimizations. check-in: 9eb64a8a1d user: stephan tags: trunk | |
14:23 | Resolved task [ef8cd96ec9]: refactored fsl_deck_output() to not need a fsl_cx/db handle. check-in: 8af01f757e user: stephan tags: trunk | |
12:04 | minor error handling/propagating cleanup. check-in: 96e7d5d0c8 user: stephan tags: trunk | |
2013-09-09
| ||
23:15 | fixed the hour part again. Expanded the tests a bit. check-in: 1a3c359ad6 user: stephan tags: trunk | |
22:47 | fixed times for noon and earlier. Julian starts the day at noon. check-in: 99ed49b24c user: stephan tags: trunk | |
22:38 | removed now-unused macro. check-in: c17d8fdfed user: stephan tags: trunk | |
22:27 | added missing return semantics docs. check-in: 5f2c940ccd user: stephan tags: trunk | |
22:22 | added docs for fsl_julian_to_iso8601() and a flag to control whether or not the fractional seconds part is output. check-in: 6479f10c6a user: stephan tags: trunk | |
22:14 | Added fsl_julian_to_iso8601(). Seems to work but needs more testing and docs. Too tired. check-in: 9377585097 user: stephan tags: trunk | |
18:37 | removed a duplicate null check. check-in: 63941300fd user: stephan tags: trunk | |
18:32 | Added fsl_iso8601_to_julian(). Minor doc updates. check-in: 479a7c897f user: stephan tags: trunk | |
15:31 | accommadate API changes. check-in: 723c38cffe user: stephan tags: trunk | |
2013-09-08
| ||
17:40 | Added SQL functions: FSL_USER(), FSL_CONTENT(), FSL_SYM2RID(). Undid part of the previous fsl_buffer_compress() optimization because it cannot help us much for the real use cases and complicates the code. More proactive int casting for va_list bits. check-in: f9e0b1801f user: stephan tags: trunk | |
15:39 | Lots of minor additions and tweaks, mainly in support of app-level code. check-in: 7bfbc3dba6 user: stephan tags: trunk | |
14:54 | Minor error reporting cleanup. check-in: a037bbce03 user: stephan tags: trunk | |
13:21 | Added some preemtive casts for the sake of 32-bit safety. check-in: aa1bdee81e user: stephan tags: trunk | |
12:25 | Added --raw, --output, and --artifact flags to f-acat. check-in: 7111b4d781 user: stephan tags: trunk | |
12:01 | Moved fsl_memory_allocator into (new) fsl_lib_configurable struct. fsl_repo_create() now accepts a NULL fsl_cx parameter, in which case it uses a temporary local context. check-in: f34aaca9f5 user: stephan tags: trunk | |
10:49 | minor code cleanups in f-ls. check-in: 04923c4435 user: stephan tags: trunk | |
10:21 | moved fsl_malloc/free/realloc() to fossil-util.h. Minor cleanups in fsl_appendf() and f-ls. check-in: f50c561594 user: stephan tags: trunk | |
09:41 | malloc() optimization for space padding in fsl_appendf(). No longer allocates in C89 mode (no var-arrays) unless the padding is abnormally large (todo: use a loop in that case). check-in: 13b634d6b4 user: stephan tags: trunk | |
09:12 | minor doc and f-ls cosmetic tweaks. check-in: 5144ccab98 user: stephan tags: trunk | |
2013-09-07
| ||
12:23 | more renaming and doc tweaks. check-in: 3f79146785 user: stephan tags: trunk | |
12:22 | Added SQL schema to generated docs. check-in: ae4501c0cf user: stephan tags: trunk | |
11:58 | another round of API renaming. check-in: 200d1cd898 user: stephan tags: trunk | |
11:00 | Another round of API renaming/shortening. Added fsl_cx_stat(). check-in: 4bd2202448 user: stephan tags: trunk | |
10:24 | minor return type and test code tweaks. check-in: c87ddaf458 user: stephan tags: trunk | |
10:09 | more sanity tests for fsl_mkdir2(). check-in: 26bbfd3f4f user: stephan tags: trunk | |
09:44 | minor doc and error handling cleanups. check-in: 2227357f89 user: stephan tags: trunk | |
09:41 | cleanups to the mkdir code/docs. check-in: 81b2a1818f user: stephan tags: trunk | |
09:17 | ported in recursive mkdir support to fsl_mkdir2(). check-in: 644116decf user: stephan tags: trunk | |
2013-09-05
| ||
19:10 | started adding fs sanity tests. Fixed a totally broken fsl_dir_check(). check-in: c098e8ac46 user: stephan tags: trunk | |
18:47 | Added %#F (fossilize, alternate form) after stumbling across it in fossil(1). check-in: 4ff4b82340 user: stephan tags: trunk | |
18:46 | fixed a corner case (empty) fossilize result. check-in: 18ec9c4c77 user: stephan tags: trunk | |
08:18 | .EXE -> .exe and .DLL -> dll, that works better on Cygwin when case-sensitivity is switched on. See: [http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive]. This should not have any effect on platforms other than Win95/98/ME. check-in: 6437e87b50 user: jan.nijtmans tags: trunk | |
2013-09-04
| ||
22:16 | added --apply option to f-delta to apply a delta to a file. check-in: 47ea20e7dc user: stephan tags: trunk | |
22:15 | Added a missing error report. Fixed an rc. check-in: 2a581b60af user: stephan tags: trunk | |
22:15 | fixed an error reporting corner case. check-in: 4090a9b542 user: stephan tags: trunk | |
21:09 | fixed a missing extern for fcli, which caused an ODR violation with tcc. Added -O0 to debug compile flags. check-in: 34f559dc49 user: stephan tags: trunk | |
18:51 | Add all produced executables to "ignore-glob", so they are kept when doing a "fossil clean" check-in: a3b172def9 user: jan.nijtmans tags: trunk | |
18:49 | more docs check-in: 9a344d2655 user: stephan tags: trunk | |
17:29 | minor test code and doc tweaks. check-in: 69af33d1e9 user: stephan tags: trunk | |
17:18 | added project URL to eclipse project file. check-in: fad0010a34 user: stephan tags: trunk | |
17:17 | more docs. check-in: 8518e14e68 user: stephan tags: trunk | |
17:17 | thank you, clang. check-in: 5aa2b97d0c user: stephan tags: trunk | |
14:58 | Some handy settings when checking out libfossil as an Eclipse project. check-in: 68ade8e232 user: jan.nijtmans tags: trunk | |
14:53 | On cygwin, don't use -fPIC check-in: 5206ca7ec5 user: jan.nijtmans tags: trunk | |
2013-09-03
| ||
21:10 | Added f-delta, a basic raw delta generation (to stdout) app. check-in: 3c0c35e366 user: stephan tags: trunk | |
20:57 | Another build/deps ordering fix for the SQL-to-C bits. check-in: b7e478037c user: stephan tags: trunk | |
20:35 | Build fix - deps order kept OBJ.DIR from being created in time for some builds. check-in: ca8b721c66 user: stephan tags: trunk | |
18:54 | minor internal API renaming. check-in: 21ddebdd05 user: stephan tags: trunk | |
16:24 | more work on the tickets bits (loading field list). check-in: 0e80952975 user: stephan tags: trunk | |
15:40 | More ticket bits. Minor API tweaks. check-in: 5a47293811 user: stephan tags: trunk | |
14:12 | Started porting in some of the ticket-handling bits. Added lots more (truly unnecessary) card validation on deck output. Minor fixes. check-in: 8e88708563 user: stephan tags: trunk | |
13:21 | renamed f-tag xlink listener. check-in: e65468c369 user: stephan tags: trunk | |
11:52 | Added some 'truly unnecessary' casts to work around va_list/sizeof() mismatches which appear in some cases when passing through multiple levels of va_list proxy function, despite strong typing of the arguments. Not yet sure what else can be done here. check-in: bd36f7182d user: stephan tags: trunk | |
11:49 | fixed a c99ism. check-in: 0f3a3134cd user: stephan tags: trunk | |
11:23 | Completed a mid-sentence doc interruption and made the code behave like the docs. check-in: 67f6534d9f user: stephan tags: trunk | |
11:23 | local-only th1ish patch to remove the hwtime bits. check-in: cd4760d484 user: stephan tags: trunk | |
11:15 | Ported in the felta fork of the delta generator as fsl_delta_create2(), which outputs via callback instead of directly to a buffer. Reimplemented fsl_delta_create() in terms of fsl_delta_create2(). check-in: e082703301 user: stephan tags: trunk | |
11:03 | minor config tweak (should be a no-op) check-in: 129f575a56 user: stephan tags: trunk | |
09:43 | More fcli refactoring via perl. Fixed a broken assertion in f-sanity. check-in: 0333cc9077 user: stephan tags: trunk | |
09:42 | pulled in latest upstream th1ish. minor tweaks and test additions to the th1ish bindings. check-in: 4e195b8f25 user: stephan tags: trunk | |
2013-09-02
| ||
22:11 | fcli now treats a first non-flag argument of "help" as help for all apps, not just dispatched-by-name commands. check-in: ea8eb63bb7 user: stephan tags: trunk | |
21:59 | minor help text fix for f-wiki. check-in: 1237734efd user: stephan tags: trunk | |
21:43 | Started porting in vfile bits. Added fsl_needs_checkout(). fsl_XXX_close() now explicitly closes all other dbs if XXX is the current main db. check-in: 7bb0a64e7e user: stephan tags: trunk | |
21:27 | minor doc tweaks. check-in: f113b11913 user: stephan tags: trunk | |
21:26 | cosmetic func signature change. check-in: d1924d6fe1 user: stephan tags: trunk | |
20:48 | ported in f(1)'s test_delta() to f-sanity.c check-in: fc35d8ef97 user: stephan tags: trunk | |
18:02 | doc/formatting tweaks. check-in: a8261357fa user: stephan tags: trunk | |
18:01 | fsl_cx::dirChkout now includes the trailing slash because v1's g.zLocalRoot does it that way (very possibly for a good reason) and this simplifies porting. check-in: 1127674cc0 user: stephan tags: trunk | |
17:59 | Minor corner case error reporting touchup in fsl_rid_to_uuid(). check-in: 58813a75ff user: stephan tags: trunk | |
17:57 | th1ish build kludge for my netbook (disable hwtime bits). Accommodated API changes. check-in: 16996e8d4d user: stephan tags: trunk | |
16:21 | Added f-sanity app, a place for making basic sanity-check tests. check-in: 43073faf5c user: stephan tags: trunk | |
2013-09-01
| ||
20:01 | fsl_uuid_to_rid() now checks for ambiguous results. check-in: 26d5a55c01 user: stephan tags: trunk | |
16:06 | another round of trivial cleanups and docs. check-in: 9ed0b7a089 user: stephan tags: trunk | |
15:41 | Added a doxygen filter to remove '**' during processing b/c they confuse the @code blocks. check-in: 1a236186c7 user: stephan tags: trunk | |
15:19 | Re-did the create/overwrite semantics for fsl_wiki_save() to something a bit more sane. check-in: 6107bdda5d user: stephan tags: trunk | |
14:40 | Found a reasonable heuristic for "the empty P-card problem" - output an empty P only for Manifests (and hope that rid 1 is the only Manifest without a P-card). check-in: a8be8735eb user: stephan tags: trunk | |
14:04 | Lots of API name shortenings. Added fsl_content_get_by_sym(). check-in: 80945ffca3 user: stephan tags: trunk | |
13:28 | Fixed f-tag --help broken by recent refactoring. Minor improvements to the fcli error reporting. check-in: 4d8b91a4ae user: stephan tags: trunk | |
12:54 | s/fcli_cli_/fcli_/g. Minor error text change. check-in: 945fea799c user: stephan tags: trunk | |
12:51 | Replaced --mq build option with --loud, defaulting to quite build mode. check-in: 484b0b7698 user: stephan tags: trunk | |
12:51 | Fixed an error check broken by recent refactoring :(. Fixed a related error reporting problem found (via assert()) by that breakage :). check-in: 6ab281ea95 user: stephan tags: trunk | |
12:29 | minor cleanups/fixes in crosslink callback handling. check-in: 510aecf972 user: stephan tags: trunk | |
11:48 | switched line number column from 6 back to 5 digits. Minor test code and doc tweaks. check-in: 1ea8b6c48a user: stephan tags: trunk | |
11:37 | doc updates. fixed an off-by-one in sbs display in inverted mode (caused by a formatting change i made earlier, not a bug in the original code). Added 'fsl-' prefix to all CSS class names. check-in: 1a45779c91 user: stephan tags: trunk | |
11:15 | FSL_DIFF_SIDEBYSIDE is now implicit if the sbsWidth argument is not 0. check-in: c044f55804 user: stephan tags: trunk | |
10:50 | removed dangling debug output. check-in: 91c7f44a58 user: stephan tags: trunk | |
10:48 | Ported in sbs diffs. check-in: b9651d78bf user: stephan tags: trunk | |
09:22 | consolidated duplicate htmlize code. Re-added htmlize to diffs. check-in: 2e4b4226b9 user: stephan tags: trunk | |
08:37 | Refactored diff generator to send its output to a fsl_output_f() instead of a buffer. check-in: f156d46b10 user: stephan tags: trunk | |
2013-08-31
| ||
16:08 | memleak fix in test code while testing for a leak in lib code. check-in: c0d1362cd6 user: stephan tags: trunk | |
15:58 | Introducing fsl_diff_text(). check-in: 881eabc5ba user: stephan tags: trunk | |
14:21 | Started porting in the diff generation bits. Still much to do. check-in: 71111bb670 user: stephan tags: trunk | |
13:13 | minor doc tweak. check-in: 26dfafd2fc user: stephan tags: trunk | |
13:02 | Doc additions, minor error reporting cleanups. check-in: 8f05724070 user: stephan tags: trunk | |
11:32 | Re-did how fcli hooks into app-local help, to avoid an unresolved symbol in the main lib. check-in: 6f54534d74 user: stephan tags: trunk | |
11:02 | Build tweaks for quiet mode. Added --mq configure option (--quiet is an autosetup builtin). check-in: 320b6f1af9 user: stephan tags: trunk | |
10:49 | Renamed the FossilApp API to fcli. Moved its header into the public space. check-in: 5d3767f8f0 user: stephan tags: trunk | |
10:25 | deps fixes. Added/fixed optional quiet build mode. check-in: d25e11b1c9 user: stephan tags: trunk | |
10:02 | Lots of FossilApp tinkering. check-in: 5e77c8742d user: stephan tags: trunk | |
09:12 | Ported in some control artifact touchups from Jan. Fixed a linking-related problem with FossilApp_local_help(). Accommodated API changes in th1ish binding. check-in: 1e923bce86 user: stephan tags: trunk | |
2013-08-30
| ||
18:26 | consistency: s|fsl_cx_init_param|fsl_cx_init_opt|g check-in: d155bafd28 user: stephan tags: trunk | |
18:22 | Moved config.h to fossil-config.h. Updated Doxyfile.in file from trunk doxygen. check-in: 1d0f674e13 user: stephan tags: trunk | |
18:05 | insignificant cleanups and docs/text touchups. check-in: efaeb72011 user: stephan tags: trunk | |
2013-08-29
| ||
17:19 | Moved SQL tracing from stderr back to stdout, so that redirection and flushing get the SQL output lined up with the app output. Renamed FSL_ATYPE_G to FSL_ATYPE_TAG. Aligned the FSL_ATYPE_xxx values with their FSL_CATYPE_xxx partners. Fixed a fsl_atype_t/fsl_catype_t mixup in f-ls (thanks, clang). check-in: 98b8da1754 user: stephan tags: trunk | |
16:40 | s/fsl_init_param/fsl_cx_init_param/ check-in: c611b4e1a1 user: stephan tags: trunk | |
16:34 | Split the 300kb+ of headers/docs into multiple files because my old netbook is starting to choke on syntax-highlighting them (and on the large resulting doxygen pages). check-in: 93ec815614 user: stephan tags: trunk | |
15:24 | minor API renaming/shortening, doc additions, removed some dead code. check-in: 135fb8b36c user: stephan tags: trunk | |
2013-08-28
| ||
21:13 | Minor doc and error reporting improvements. check-in: 32f3595fa2 user: stephan tags: trunk | |
20:16 | more docs. check-in: 001275b88b user: stephan tags: trunk | |
19:37 | doxygen typo fix. check-in: 4061a8cd7a user: stephan tags: trunk | |
19:36 | minor text and dead code changes only. check-in: ce02fcfbeb user: stephan tags: trunk | |
19:29 | Ported in parts of the configuration subsystem. fsl_repo_create() now copies all the same stuff fossil(1) does when given a repo to copy the config from. check-in: 7766f5bc6d user: stephan tags: trunk | |
19:12 | re-added the RID to the verbose ls output. check-in: 2bc75f59aa user: stephan tags: trunk | |
17:21 | Added -utc flag. check-in: f6f5992a54 user: stephan tags: trunk | |
17:21 | minor cosmetic cleanups. check-in: 6ec6b3812f user: stephan tags: trunk | |
16:45 | Creation of new repos is more or less finished. fossil(1) seems to be happy with them. check-in: 859846313d user: stephan tags: trunk | |
2013-08-27
| ||
21:53 | minor tinkering before bed. nothing functional. check-in: 41966a046d user: stephan tags: trunk | |
21:00 | Created an empty repo, including initial manifest, and fossil(1) can read it :). Discovered that i am still seeing the va_list/sizeof-related corruption on this 32-bit system if i am not way too careful with format specifiers. Need to look into that again, but too tired now (cannot explain why i have never seen this in other trees using this same code). check-in: 96cbb2d6ad user: stephan tags: trunk | |
19:55 | Started work on creating a new repo. Several related minor cleanups and additions. Simplified a couple APIs. check-in: 184bdcf4a4 user: stephan tags: trunk | |
16:15 | Got the compiled-in schemas working (==readable, but not yet used/aplied). check-in: 11f605e0b4 user: stephan tags: trunk | |
2013-08-26
| ||
22:24 | Integrated build of SQL schema code. check-in: 0eb0ac480a user: stephan tags: trunk | |
21:02 | minor error reporting cleanups. check-in: 7d9a27739a user: stephan tags: trunk | |
17:34 | minor cleanups/reformatting. fixed a potential endless loop in some untested code. check-in: 9cac575a31 user: stephan tags: trunk | |
2013-08-25
| ||
18:01 | added a name to the xlink callbacks, so that we have a mechanism we cau use to swap out specific ones. check-in: e1a9699a62 user: stephan tags: trunk | |
14:30 | minor cleanups in the xlink callback code. fixed an error propagation case. check-in: 966209515b user: stephan tags: trunk | |
14:15 | First draft of artifact crosslink callbacks, to allow us to farm out the crosslinking work. check-in: fb18a52241 user: stephan tags: trunk | |
13:24 | off-by-one fix in timeline text for sym-xxx tags. Added --new option to f-wiki. check-in: 6dd9438f46 user: stephan tags: trunk | |
13:00 | Fixed fsl_deck_unshuffle() to not fail if the deck _cannot_ have an R-card. s/fsl_deck_calculate_R/fsl_deck_R_calc/, for consistency. check-in: bc88a06866 user: stephan tags: trunk | |
12:53 | more minor API cleanups and renaming. check-in: bc4da7e12f user: stephan tags: trunk | |
12:22 | doxygen tweaks. removed generated file. check-in: 76513a1bcb user: stephan tags: trunk | |
11:39 | More API renamings. Moved some card-related code from internal to public APIs. Added foreach iterator for F-cards. Added basic f-ls app. check-in: e0963e92ca user: stephan tags: trunk | |
09:12 | API renamings (shortenings) and minor API simplifications. Doc updates, some work on making the R-card optional. check-in: c0752c60c2 user: stephan tags: trunk | |
2013-08-24
| ||
23:21 | Added new file for Event APIs. Minor refactoring and code consolidation. Fixed a crosslinking bug which used a wrong (old/changed) format specifier for event-XXX tags. check-in: b5b5a52965 user: stephan tags: trunk | |
15:54 | more wiki work check-in: 7df0b1de78 user: stephan tags: trunk | |
14:12 | Tinkering with the wiki bits. Added generic 'help' command support to FossilApp command dispatcher. Time for a pinball break. check-in: ff8abd761f user: stephan tags: trunk | |
13:42 | Renamed fsl_deck_VERB_CARD() to fsl_deck_CARD_VERB(), for consistency. Added initial wiki-save support, but the public API needs a bit of tweaking. check-in: 31dda112b9 user: stephan tags: trunk | |
11:35 | Added fsl_wiki_load_latest(). Added f-wiki 'export' command. Added more options to f-wiki 'list' command. check-in: 9989e90728 user: stephan tags: trunk | |
10:36 | doc updates check-in: 70765dc471 user: stephan tags: trunk | |
10:34 | Expanded FossilApp to use a fail-on-OOM allocator and support basic named-command-style command dispatching. check-in: bf5dbb798e user: stephan tags: trunk | |
10:33 | fixed a memleak in fsl_foreach_wiki_page(). Documented (non-)lifetime of deck parameter to the for-each callback. check-in: 868860b530 user: stephan tags: trunk | |
09:50 | Minor cleanups. Got rid of snprintf() (not c89) now that the fsl_snprintf() mystery has been solved. check-in: a85df229af user: stephan tags: trunk | |
09:48 | Fixed the (dumb) sprintf sizeof/va-list bug. i was passing a va_list to a ... func. check-in: 0895a27816 user: stephan tags: trunk | |
08:57 | Pulled in fixed broke-r-card branch. f-mfparse now reads from stdin by default if no -f or filename is provided and it is not on a terminal. check-in: 6d746e7d25 user: stephan tags: trunk | |
08:54 | Partial revert of the last commit (problem was the va_list/sizeof/snprintf() weirdness again). More experimentation with that particular problem - not sure why it's specific to sprintf(). Closed-Leaf check-in: 6df1e4338a user: stephan tags: broke-r-card | |
07:44 | minor cleanups. fixed f-mfparse to know the difference between an imported/artifical artifact and a known own, and skips the sha1 check on imported ones. fsl_deck_parse() no longer asserts if it cannot find a matching RID. check-in: f26b454fa1 user: stephan tags: broke-r-card | |
2013-08-23
| ||
21:31 | Events have W-cards too, so this needs to be checked first. check-in: aeee30c289 user: jan.nijtmans tags: trunk | |
18:45 | prettied up the output a bit. check-in: 56237933d2 user: stephan tags: trunk | |
17:38 | Started working on basic wiki APIs. check-in: a0b5b4e7de user: stephan tags: trunk | |
16:35 | amal smoketest now compiles with both -std=c89 and -std=c99 when building with gcc. check-in: f1a9b89e6e user: stephan tags: trunk | |
16:23 | Cygwin patches from Jan. check-in: 2ce2ff78ea user: stephan tags: trunk | |
16:07 | Improved fsl_mf_guess_type() ordering from Jan. check-in: d0fcf5fbb7 user: stephan tags: trunk | |
2013-08-22
| ||
22:28 | minor bugfixes, more manifest parsing validation, and more docs. check-in: 0d5225a61b user: stephan tags: trunk | |
18:26 | Ported in the "verify before commit" code, which ensures that all new content can be extracted from the db before it commits the transaction doing the adding. Fixed a memlink in fsl_repo_tag_symbol(). Added fsl_deck_save() and refactored fsl_repo_tag_rid() to use it. check-in: 57107f6bd2 user: stephan tags: trunk | |
15:34 | Moved the Doxygen 'page' docs from fossil.h to fossil-pages.h. check-in: bbc3856f58 user: stephan tags: trunk | |
15:33 | amal smoketest now tries to compile using all compilers it can find. check-in: 0a890e1da4 user: stephan tags: trunk | |
14:58 | Minor doc additions. Renamed lib/URLs to libfossil, as per ML discussions. check-in: 4ccaeb603d user: stephan tags: trunk | |
14:57 | The undocumented uuid-to-rid conversion of RID-looking strings now requires an 'rid:' prefix (analog to a recent fossil(1) patch) and now only resolves to existing records (returns FSL_RC_NOT_FOUND for an unknown RID). check-in: 2649904bd2 user: stephan tags: trunk | |
13:44 | fsl_internal.h ==> fossil-internal.h check-in: 2cae867331 user: stephan tags: trunk | |
2013-08-21
| ||
21:50 | oops. signed==>unsigned. check-in: a64cf10a48 user: stephan tags: trunk | |
21:44 | more docs... check-in: 480a709173 user: stephan tags: trunk | |
20:04 | Tracked down, characterized, and documented a va_list-related gotcha in fsl_appendfv() (and all derived functionality) for certain combinations of sizeof()s and format specifiers. check-in: 764a17787a user: stephan tags: trunk | |
16:38 | Fixed unitialized vars caught by clang (not gcc). Minor compile workaround for tcc (it leaks a 'unix' macro). Now builds cleanly in c89 mode with gcc, clang, and tcc. check-in: 27751fd85d user: stephan tags: trunk | |
16:23 | experimentally changed fsl_id_t back to fsl_int32_t b/c it _seems_ the bug i saw _might_ have been a side-effect of a unclean rebuild after a sizeof(fsl_id_t) change. check-in: 2d09489368 user: stephan tags: trunk | |
16:23 | Switched to project-local typedefs in the etRADIX bits. "Should" be no side-effects for sane builds. check-in: 6cb491da2a user: stephan tags: trunk | |
2013-08-20
| ||
22:26 | minor tinkering and fixes before bed. check-in: b1e93f23f1 user: stephan tags: trunk | |
21:29 | Removed an invalid "else" (caused a code skip). Minor buffer termination tweak in corner case. check-in: 8dd4a5d428 user: stephan tags: trunk | |
21:25 | Accommodated API change. check-in: b1a524d3d2 user: stephan tags: trunk | |
21:23 | Holy cow - switched back to 64-bit fsl_id_t because 32-bit causes weird corruption in va_list handling in the integer (etRADIX) bits of fsl_appendf(). To investigate as time allows. It can be reproduced with a 32-bit fsl_id_t using the hand-rolled variant of FSL_ID_TYPE_PFMT. check-in: 13884cf8e5 user: stephan tags: trunk | |
20:02 | More work on crosslinking, minor refactoring/code movement. Added f-event test app. check-in: 06179ab0e6 user: stephan tags: trunk | |
17:12 | code consolidation in the fsl_DB_g_TYPE() routines, fixed silliness in the return of fsl_DB_g_bool(), where it returned a result code (==true unless !(code%128)) for errors. check-in: dcb096c78b user: stephan tags: trunk | |
15:14 | some minor improvements to manifest parsing. Corrected semantics of the "target" parameter to A-cards. check-in: 07384b266d user: stephan tags: trunk | |
2013-08-19
| ||
21:39 | just one more error check... check-in: f6ca1a7106 user: stephan tags: trunk | |
21:35 | Ported in the MANIFEST-type crosslinking bits but they must remain untested until tomorrow. check-in: b890029387 user: stephan tags: trunk | |
20:40 | Minor cleanups. Replaced fsl_db_unix_to_iso8601() with fsl_unix_to_iso8601() (didn't know strftime() was C89). check-in: fb9ef509fe user: stephan tags: trunk | |
19:29 | Added EVENT crosslinking. Can now losslessly round-trip EVENT manifests. Minor changes to support seconds-precision (not msec-precision) on E-cards b/c that is how fossil(1) does it. Fixed bugs in the E-card card-is-legal validation. check-in: ec268be7f0 user: stephan tags: trunk | |
2013-08-18
| ||
22:02 | Fixed a wrong int type (signed vs unsigned). check-in: 9bb338c980 user: stephan tags: trunk | |
21:44 | Build tweak: if it finds sqlite3.{c,h} in the top dir then it uses those, else it links to whatever -lsqlite3 finds. check-in: 1543d17d3b user: stephan tags: trunk | |
20:59 | deps fixes - they were broken when the obj files were moved from src/ to obj/, leading to only partial rebuilds and much grief as struct sizes changed. check-in: 2c46a68d59 user: stephan tags: trunk | |
20:45 | minor API renamings (consistency). check-in: 5a37f7d1f0 user: stephan tags: trunk | |
20:08 | Ported in the rest of add_link(). Compiles but is untested (next step: MANIFEST-type crosslinking). check-in: 2ecba8ed85 user: stephan tags: trunk | |
20:07 | minor renaming (consistency) check-in: e45323a4b5 user: stephan tags: trunk | |
19:52 | Minor cleanups of demo code. check-in: a90000e27a user: stephan tags: trunk | |
18:47 | Started adding fsl_repo_mlink_add(), but there is much left to do there. check-in: 56ef8127b6 user: stephan tags: trunk | |
17:14 | more steps on the road to porting add_mlink() and its dependents friends. check-in: 4bf94ef630 user: stephan tags: trunk | |
17:13 | added f-sizeof app. check-in: aed82342e8 user: stephan tags: trunk | |
14:35 | Split the code into some new files. Shortened fsl_cx_repo_xxx() and fsl_cx_checkout_xxx(), removing the _repo/_checkout part. check-in: 2acbc2f85e user: stephan tags: trunk | |
14:03 | minor generic cleanups in the deck code. check-in: 5fa697bee8 user: stephan tags: trunk | |
12:45 | Extended fsl_fopen() to support '-' as an alias for stdin/stdout, added fsl_fclose(), changed all fsl_fopen() calls to use fsl_fclose() instead of fclose(). check-in: 2cc00a131c user: stephan tags: trunk | |
12:10 | it turns out commit supports a --delta option and i need a delta manifest for testing, so here's a comment-only patch for delta testing. check-in: 11f79a13dc user: stephan tags: trunk | |
04:31 | minor assertion tweaks to allow parsing of out-of-repo manifests for testing purposes. check-in: 20b54357eb user: stephan tags: trunk | |
04:04 | Minor improvements in FossilApp error reporting. check-in: 88e367e90c user: stephan tags: trunk | |
03:53 | minor tweak to the rid==1 R card kludge to only output the default R card when rid==1. check-in: 084ba71226 user: stephan tags: trunk | |
03:50 | Renamed test-mf to f-mfparse, for consistency. check-in: b9424e1890 user: stephan tags: trunk | |
03:36 | egg check-in: 9db900393b user: stephan tags: trunk | |
03:32 | Fixed a bug in T-card parsing of the '*' special UUID. Added a couple workarounds for manifest #1, which violates the R- and P-card conventions laid out in the docs. Fixed a broken error check in fsl_repo_sym_to_uuid() which caused a statement to be left unfinalized (and a wrong result). check-in: 106aaf6898 user: stephan tags: trunk | |
03:30 | Added fsl_list_sort(). check-in: 5db83df0be user: stephan tags: trunk | |
03:28 | Added f-acat test app. Changed definition of VERBOSE in FossilApp. check-in: 47683d3589 user: stephan tags: trunk | |
03:03 | Changed fsl_buffer_fill_from_filename() to pre-allocate the buffer to prevent arbitrarily many reallocations while filling. check-in: f23b2c4934 user: stephan tags: trunk | |
01:31 | Added deck baseline file iteration and reworked R-card calc to use it. Works for baselines but i am seeing a delta-application bug in a specific tcl commit, but it is not yet clear where my bug is there (the repo passes all integrity tests, so the bug is on my end). Added error-reporting forms of delta application routines. Started porting in some of the filename table funcs. check-in: f94ea8a168 user: stephan tags: trunk | |
00:21 | obsoleted by copies under autosetup/lib/. check-in: dfec2841b1 user: stephan tags: trunk | |
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:25 | cherrypicked [a8f65f89c0]. check-in: beabf372b5 user: stephan tags: trunk | |
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:57 | cherrypicked [b3d940ae5d]. check-in: c438cd75fa user: stephan tags: trunk | |
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 | |
19:54 | int type fix for a few internal fsl_appendf_f() impls. check-in: 159a96613a user: stephan tags: trunk | |
2013-08-06
| ||
22:25 | more docs... check-in: 67c82ce576 user: stephan tags: trunk | |
22:19 | pulled in lates th1ish amalgamation. very minor patch. check-in: 389f758deb user: stephan tags: trunk | |
21:38 | minor doc additions. check-in: 5a5bc5de5a user: stephan tags: trunk | |
20:28 | more doxygen and minor api additions. check-in: 4c42387a6b user: stephan tags: trunk | |
19:18 | more doxygen. check-in: 711b919b6d user: stephan tags: trunk | |
19:04 | Doxygen tweaks. Added build rule to upload doxygen docs. check-in: c5cc96fdbd user: stephan tags: trunk | |
18:59 | minor doc tweak check-in: b265c5b3f2 user: stephan tags: trunk | |
18:53 | Started porting in the content.c/bag.c bits because they are needed before i can continue with manifest crosslinking. Added some missing documentation for the config.h bits. check-in: 425b5509f1 user: stephan tags: trunk | |
18:53 | Accommodated API changes. check-in: 76d5f72147 user: stephan tags: trunk | |
17:14 | more baby steps towards committing a tag change. check-in: 380a6483e5 user: stephan tags: trunk | |
2013-08-05
| ||
21:52 | expanded a couple queries to use db-qualified table names. check-in: 20093cedc3 user: stephan tags: trunk | |
21:16 | Minor tinkering, doc additions, s/FSL_UUID_SIZE/FSL_UUID_STRLEN/, added FSL_MD5_STRLEN. check-in: 0c9cd6f262 user: stephan tags: trunk | |
19:35 | Documented new fsl_stmt_bind_xxx_name() functions. check-in: 4b9863494d user: stephan tags: trunk | |
19:16 | more small steps towards writing a tag to the db. check-in: 1c3e40ed15 user: stephan tags: trunk | |
10:05 | egg check-in: bb544b7f83 user: stephan tags: trunk | |
2013-08-04
| ||
17:30 | minor doxygen fixes. check-in: 57d3e74397 user: stephan tags: trunk | |
11:42 | doc additions. check-in: f861aec9cc user: stephan tags: trunk | |
11:42 | Modified th1ish_interp init to use the fsl_realloc() allocator so that it is safe to move string/buffer memory between the cwal/fsl worlds for de/re/allocation purposes. check-in: 376aefacc8 user: stephan tags: trunk | |
11:17 | Added Fossil.Context.resolveUuid() binding for fsl_cx_sym_to_uuid(). check-in: 52e50c041d user: stephan tags: trunk | |
10:47 | Ported in the symbol-to-rid/uuid resolver bits. check-in: 24a991ef4e user: stephan tags: trunk | |
08:51 | Added fsl_db_g_xxx() family of convenience functions (analog to v1's db_get_xxx()). check-in: 9d8c610ad6 user: stephan tags: trunk | |
08:23 | Added fsl_db_julian_now(), added missing fsl_tag.c. check-in: 749b8ca980 user: stephan tags: trunk | |
08:08 | removed a duplicate fsl_strlen() call. check-in: c691643cf2 user: stephan tags: trunk | |
08:07 | s/strlen/fsl_strlen/. check-in: a1322aee95 user: stephan tags: trunk | |
08:04 | fixes to some of the windows/mac code in fsl_utf8.c which was using older API names. Minor doc additions. check-in: 7c25bb5bd4 user: stephan tags: trunk | |
2013-08-03
| ||
20:43 | Ported in %F (Fossilize) to fsl_appendfv(). check-in: c2f8cff8a3 user: stephan tags: trunk | |
20:13 | Lots of cleanups and docs for the deck APIs. Added F Cards, but they are untested so far. check-in: a1bfbda5e6 user: stephan tags: trunk | |
15:51 | Minor cleanups to the previous commit. check-in: 9e1d71914c user: stephan tags: trunk | |
15:45 | Added per-control-artifact-type constraints on what types of cards can be added/set in it. Added fsl_deck::error in order to propagate constraint violations up the call chain. check-in: 3569c25d3b user: stephan tags: trunk | |
14:42 | guess what - more refactoring of the manifest internals. check-in: 562206c1c5 user: stephan tags: trunk | |
13:08 | More manifest work. Added T card support. Renamed some APIs. check-in: 84e5b5d499 user: stephan tags: trunk | |
11:16 | work on the julian/unix time bits. check-in: ec86edef51 user: stephan tags: trunk | |
11:16 | minor timeline layout tweaks. check-in: 82a2a3cfab user: stephan tags: trunk | |
10:17 | more work on the manifest/cards API. check-in: 3ba9045142 user: stephan tags: trunk | |
2013-08-02
| ||
21:49 | more tinkering with the mf api. check-in: e68ea6b141 user: stephan tags: trunk | |
19:46 | minor manifest work, doc additions. check-in: 3792a49219 user: stephan tags: trunk | |
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 | |