Login
Timeline
Login

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

96 check-ins using file test.c version 273c7543c9

2014-02-10
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