Login
Timeline
Login

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

282 check-ins using file src/fsl_schema.c version 611a90fac5

2014-02-14
08:53
minor doc update check-in: c717d7a2e4 user: stephan tags: trunk
2014-02-13
20:43
make sure that f-apps/Makefile is not committed by accident check-in: 6b2dd4a9a1 user: jan.nijtmans tags: trunk
16:23
started on a gzip stream, but it turns out the code i took from fossil for this only works if whole inputs are gzipped at once, so am puting this aside for now. Closed-Leaf check-in: a4fc7ee1df user: stephan tags: gzip-stream
16:22
minor error edge case cleanup. check-in: 5ce74c1f61 user: stephan tags: trunk
14:19
tinkering with the file ancestry query. check-in: 9286d9b5ce user: stephan tags: trunk
11:56
doc additions. check-in: 8179c0661a user: stephan tags: trunk
11:46
added a filename history query. check-in: b3008cd60a user: stephan tags: trunk
11:45
accommodated fcli API additions. check-in: b018e152fb user: stephan tags: trunk
11:45
f-ls now treats first non-flag arg as the version to list if -v VERSION is not specified. check-in: a4a5ce76cf user: stephan tags: trunk
11:30
Added --no-transaction option to f-query. check-in: d616c78a54 user: stephan tags: trunk
11:30
added a test case for // pattern in in-zip dir names. check-in: 2e6ff11002 user: stephan tags: trunk
11:29
added fcli_end_of_main(). check-in: 1da01cd5c0 user: stephan tags: trunk
11:28
fixed two bugs in the handling of dir names in the zip generation code. check-in: 09d5f53095 user: stephan tags: trunk
2014-02-12
21:51
Added a progress callback to the repo-zip-version bits, since zipping can take a while. check-in: d610686d1d user: stephan tags: trunk
21:33
minor API renamings and tweaks to the ZIP bits. check-in: b0d01fe206 user: stephan tags: trunk
20:50
minor doc touchups. check-in: 40362c4536 user: stephan tags: trunk
20:42
Moved ZIP-creation code into the public API. Expanded and fixed it considerably. Added f-zip tool. check-in: 54a3117046 user: stephan tags: trunk
18:33
tinkering with the unit tests and th1ish/fsl bindings. check-in: fa34e6cd5b user: stephan tags: trunk
17:05
was not supposed to be in the repo - this is a local placeholder script. check-in: abe7644f3d user: stephan tags: trunk
12:14
Minor build hack to accommodate in-tree sqlite3.h. check-in: 6971febae9 user: stephan tags: trunk
2014-02-11
21:53
Pulled in many of the core upstream th1ish unit tests. Fixed quiet/loud build option to work for the subdir builds. Pulled in latest th1ish amalgamation for a fix. check-in: 5f440c651a user: stephan tags: trunk
17:46
Introducing fsl_checkout_changes_scan() and FSL_VFILE_CKSIG_CLEAR_VFILE. check-in: 6e40329da3 user: stephan tags: trunk
15:57
Moved the overlooked test.c and moved much of its code into f-sanity.c. Minor tweak to fsl_cx_err_reset() to avoid a potential error propagation corner case. check-in: 2d81857ed2 user: stephan tags: trunk
14:31
Build cleanups. Moved f-* apps to f-apps/ subdir. Now builds a shared (instead of static) lib by default because that now (since the file move) simplifies the linking of the f-apps (and th1ish). Adapted f-sanity.c tests to the new directory structure. check-in: e85b45eda2 user: stephan tags: trunk
14:03
Now only creates TAGS file from root of build tree. check-in: 0cb9bb0477 user: stephan tags: trunk
13:30
Seems i edited a generated Makefile. Fixed build to make the generated th1ish/Makefile read-only after creation to help me remember. check-in: 1609bf7b20 user: stephan tags: trunk
11:12
Removed f-tag's --no-timeline flag and added a warning to the related part of the API docs (feature is to be removed). check-in: b183a5e134 user: stephan tags: trunk
10:05
pulled in sqlite3 3.8.3.1 from fossil trunk. check-in: 19ea35490f user: stephan tags: trunk
2014-02-10
22:48
more tinkering with the script test code. well past bed time. check-in: ff317f1d07 user: stephan tags: trunk
22:07
Some minor reworking of how fsl_cx::fsScratch is used/abused (a minor malloc() optimization). check-in: ae189b3dba user: stephan tags: trunk
22:05
removing: was refactored into unit-common.th1ish. check-in: fbb742d2d3 user: stephan tags: trunk
20:43
f-status now shows both old and new names of renamed files. check-in: 6b63d403db user: stephan tags: trunk
20:43
started cleaning up the th1ish bits for use as a unit test ground. check-in: 22b96b0329 user: stephan tags: trunk
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