Login
All files named ”include/fossil-scm/fossil-util.h”
Login

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

History for include/fossil-scm/fossil-util.h

2021-12-21
20:21
Renamed to include/fossil-scm/util.h. Removed the fossil- name prefix from include/fossil-scm/*.h. check-in: [43a9bea8d5] user: stephan branch: trunk, size: 0
19:43
Minor doc touchups. file: [6ae395cc4b] check-in: [344f51c014] user: stephan branch: trunk, size: 210752
15:18
Resolved a couple of semantics collisions between fsl_diff_flag_e and fsl_diff2_flag_e entries. file: [9e414abad7] check-in: [956162a6b1] user: stephan branch: trunk, size: 210694
14:54
Added fsl_ckout_dbnames() and fsl_is_top_of_ckout(), prompted by recent fossil forum traffic. file: [f860a7dc78] check-in: [7a9a409695] user: stephan branch: trunk, size: 210101
2021-12-15
14:22
Added missing fsl_looks_like_binary() impl and fixed a doc bug for that function. file: [4b871854f9] check-in: [d76673a1a1] user: stephan branch: trunk, size: 209780
06:38
Internal tinkering with the debug diff builder for the sake of investigating what we'd need to do a rendered-to-ncurses diff builder. file: [4aaa85e03c] check-in: [0a5c3514c8] user: stephan branch: trunk, size: 209779
04:57
Moved a couple fsl_diff_builder internal APIs into the public interface in prep for potential use with an ncurses-based builder for use with fnc. file: [c708b768f2] check-in: [c11e50d137] user: stephan branch: trunk, size: 209700
00:42
More work on the merge API. Time for work. file: [923590b3f0] check-in: [8fa60bfe38] user: stephan branch: trunk, size: 208687
2021-12-14
15:52
More work on the merge port and adjacent code. file: [d34f3fcdb3] check-in: [b9c2a05cfe] user: stephan branch: trunk, size: 208587
11:19
Added fsl_file_copy(), fsl_symlink_read(), and fsl_file_isexec() as part of the merge op effort. Expanded fsl_file_tempname() to be able to accept a NULL list of directories in order to return just the name without a directory prefix. file: [ed95bb4e12] check-in: [6dca54dfde] user: stephan branch: trunk, size: 207198
08:55
Ported in a variant of the temp-filename generation bits from fossil because it's needed for the next merge steps. file: [6da6598677] check-in: [dd3acff665] user: stephan branch: trunk, size: 205191
2021-12-10
12:11
As a special case, fsl_file_simplify_name() now always resolves to '/' if its input resolves to that, regardless of whether or not it is told to retain a trailing slash. The alternative would be to resolve to an empty string if it were told to strip the trailing slash for that case. file: [cd6bf86ca1] check-in: [3ad71dbc66] user: stephan branch: trunk, size: 201402
2021-12-03
04:03
Removed an unused var from fsl_delta_create2(), reported by clang 13 via Mark. Worked around what appears to be a clang 13 bug in (mis)detecting another var as unused. file: [f7b37b59e3] check-in: [351cd03fa3] user: stephan branch: trunk, size: 201102
2021-11-22
05:31
Added f-extract tool, per suggestion in [https://fossil-scm.org/forum/forumpost/fcca51d3eb2757f7|fossil forum post fcca51d3eb2757f7]. file: [78a3e343b9] check-in: [f7fdf3db10] user: stephan branch: trunk, size: 201059
2021-11-21
14:23
Added initial versino of the f-ciwoco app. Several minor API tweaks, including changing semantics of NULL args to fsl_deck_save() and the return semantics of fcli_fax(). file: [da432f344b] check-in: [618d1b864a] user: stephan branch: trunk, size: 201033
2021-11-20
15:02
Cut number of rebuild allocations by another 15k via refactoring of fsl_buffer_uncompress() to be smarter about reusing the output buffer's memory, plus much more modest gains via addition of a cached buffer for building and applying deltas. file: [466f86584a] check-in: [88757e5411] user: stephan branch: trunk, size: 200915
13:27
Doc additions. Testing out minor optimizations in fsl_buffer_uncompress(). file: [0a465da2f3] check-in: [643a270839] user: stephan branch: trunk, size: 200645
10:16
Added semantics for safely directing fsl_buffer instances to use "external" memory (owned elsewhere, possibly const), using copy-on-write if any API would modify such buffers. This mimics a feature of fossil(1)'s Blob class but implements it differently. Applied this feature to low-hanging fruit in fsl_repo_rebuild(), reducing the number of allocations for rebuilding the libfossil repo by 10048 (not coincidentally exactly the same as the number of deltas in the repo). file: [b70452cb68] check-in: [d6ace632d7] user: stephan branch: trunk, size: 200484
2021-11-19
08:10
Diverse generic internal and doc cleanups. file: [662bcda0ee] check-in: [06f92b7689] user: stephan branch: trunk, size: 195326
05:50
Moved fsl_repo_rebuild() into the public API and added some new state to fsl_rebuild_step and new metrics to f-rebuild. Rebuild adds a few more entries in the event table than fossil does (investigation is TODO) but otherwise seems to behave. file: [54bfacdcf9] check-in: [c389ae9908] user: stephan branch: trunk, size: 195266
2021-11-18
14:08
Doc tweaks. file: [8ea324b626] check-in: [c332af042a] user: stephan branch: trunk, size: 195238
13:56
Swapped order of fsl_buffer_copy() args to be more conventional (target first). file: [8ce659256e] check-in: [dee39f687e] user: stephan branch: trunk, size: 195102
2021-11-02
23:52
Mass renaming of many internal APIs from fsl_X to fsl__X (two underscores) and several adjacent const cleanups. file: [e834fe1f67] check-in: [83917b7b45] user: stephan branch: trunk, size: 195059
04:11
Corrected decls for fsl_strlXXX() (only did the impls last time but the compiler didn't catch it because the data types were the same). file: [b0bcaee800] check-in: [95019d819c] user: stephan branch: trunk, size: 194738
00:21
More work on rebuild and adjacent code. Removed 'restrict' keyword from fsl_strlcpy() and fsl_strlcat() because they break in C++ compilation mode. Renamed fsl_guess_user_name() to fsl_user_name_guess() (consistency) and added fsl_cx_user_guess(). file: [0b8ad0dff9] check-in: [3bcb631b4f] user: stephan branch: trunk, size: 194730
2021-11-01
21:44
Updated fsl_cx_uplift_db_error2() docs to match its semantics. Removed some superfluous is-NULL-arg checks. file: [847bb417ba] check-in: [b4d072b53b] user: stephan branch: trunk, size: 194759
15:58
Add fsl_strlcpy() and fsl_strlcat() BSD-variants to the lib. Less error prone routines to begin replacing strcpy() and strcat() calls. file: [867cb60892] check-in: [f390a48d56] user: mark branch: trunk, size: 194770
2021-10-22
03:14
API doc update, fixed a potential range problem in the appendf SQL string formatting options. file: [550a1cd417] check-in: [543bea7b3e] user: stephan branch: trunk, size: 194137
02:48
Refactored appendf %q/%Q/%B to use a static buffer instead of dynamic allocation. This saves counting the output length in advance and allocation of that output buffer but requires one call to the callback per 512-ish bytes of the string. file: [05865bb773] check-in: [5739c3cbd3] user: stephan branch: trunk, size: 194345
2021-10-21
16:28
Added a timer-based limit option to the annotate operation, much like fossil's, allowing the user to limit it to X milliseconds (CPU time) of work. Added f-annotate --ms flag to make use of this. file: [c41d5dec59] check-in: [35b8297bc3] user: stephan branch: trunk, size: 194098
2021-10-19
10:03
Doc updates and minor internal code reorgs. file: [e8b34fec34] check-in: [9542202a90] user: stephan branch: trunk, size: 194073
09:05
Added the FSL_GLOB() SQL UDF and infrastructure to support it, to enable operations which make use of the configurable glob lists to access those via SQL. file: [87e90a9de0] check-in: [496acd50a1] user: stephan branch: trunk, size: 194074
04:06
More doc and constness tweaks. file: [af627b612a] check-in: [b0a40b1b49] user: stephan branch: trunk, size: 194062
04:00
Worked around doxygen warning quirks. file: [aff584f1bd] check-in: [38af521ffd] user: stephan branch: trunk, size: 193858
03:54
Doc and constness updates. Removed the old code related to the long-obsolete open-or-attach mode of fsl_cx db handle management, now using only the attach mode. file: [c2f74ec795] check-in: [386039e135] user: stephan branch: trunk, size: 193857
2021-10-18
14:19
Doc tweaks, constness updates, and removed some extraneous checks for NULL arguments. file: [020f023fdc] check-in: [a1d926f055] user: stephan branch: trunk, size: 193861
14:03
Numerous minor doc and constness tweaks. Starting to use markdown formatting for API docs, now that it's been discovered that Doxygen can do that. file: [97c0f66cb0] check-in: [77e8ee40f8] user: stephan branch: trunk, size: 193325
10:02
Random doc updates and moved an enum from fossil-util.h to fossil-db.h. file: [f9f1110514] check-in: [f069532a71] user: stephan branch: port-merge, size: 193007
2021-10-16
16:24
Minor code reorgs and reminders to self for the continued merge porting later on. file: [64d743fc9e] check-in: [81e6402728] user: stephan branch: port-merge, size: 194056
2021-10-15
09:33
While prepping for the merge port, moved the dry-run flag OUT of fcli and into the specific apps which implement it. Added skeleton f-test-merge app for use in the merge development. file: [1cd5aa1113] check-in: [c9fb1f972f] user: stephan branch: trunk, size: 194055
06:55
Minor API doc fix. file: [ee5f311225] check-in: [d4a1ac1c89] user: stephan branch: trunk, size: 194012
2021-10-13
09:42
Simplified fsl_outputer by removing one level of indirection, replacing its state member (of type fsl_state) with a simple void pointer. The older level of indirection has never proven to be useful. file: [0398fa50f6] check-in: [4bc926851e] user: stephan branch: trunk, size: 194011
09:35
Initial implementation of a new callback interface for fsl_annotate() which moves the burnden of formatting to the caller (with an implementation provided which formats like fossil does). file: [e765d93b9c] check-in: [24bc694bf8] user: stephan branch: trunk, size: 194532
2021-10-11
07:15
Escaped a doc sequence doxygen complains about. file: [ccb641350b] check-in: [503ec75ff3] user: stephan branch: trunk, size: 194397
07:05
Ported over the UTF-8 parts of fossil's "looks like" APIs. Whether or not we really need the UTF-16 counterparts remains to be seen. file: [cedf727bdb] check-in: [496de4c153] user: stephan branch: trunk, size: 194396
01:55
Minor constness cleanups. file: [f7503c907c] check-in: [33165c3eb1] user: stephan branch: trunk, size: 189298
2021-10-10
13:09
Added '#' format modifier for fsl_appendf() %s, which causes it to count width and precision in UTF8 characters instead of bytes. This allows the split-mode diff renderer to measure its columns in characters instead of bytes and avoid truncating multibyte characters. file: [97757b218f] check-in: [4432b1f97a] user: stephan branch: trunk, size: 189241
07:53
Added fsl_strlen_utf8(). Minor internal split diff refactoring. Added -w/--ignore-all-space flags to f-adiff/f-vdiff and renamed the former -w flag to -W. file: [94977fa4d5] check-in: [ee5ff59085] user: stephan branch: trunk, size: 188690
2021-10-09
22:52
Removed some dead code. Minor doc tweaks. file: [d4de3c38d0] check-in: [bbf5a75a76] user: stephan branch: trunk, size: 188224
22:47
Added a two-pass option to fsl_diff_builder and reimplemented split-mode diff to use it so that it can measure widths on pass 1 and do the work in pass 2 without having to buffer all the of the output. An f-vdiff of this change costs approx 3200 allocations and 9MB total RAM less than doing the same with the previous version. file: [78e2c7aa46] check-in: [e1dcd0294b] user: stephan branch: trunk, size: 188145
21:00
Split-mode text diff now colorizes whole lines instead of just the line numbers and modification markers. file: [4cb4124aea] check-in: [ff791a0936] user: stephan branch: trunk, size: 187419
20:14
Updated f-adiff to use the v2 diff API. Taught the split-view diff to respect (more or less) the fsl_diff_opt::columnWidth hint and updated f-vdiff and f-adiff with a flag to set that. file: [d960b1bbad] check-in: [f0d31fddf1] user: stephan branch: trunk, size: 186753
08:26
Moving-around of header-side code and minor typo/layout fixes. file: [1be158dd1a] check-in: [8b04829588] user: stephan branch: trunk, size: 186408
07:54
Minor diff API renaming. f-vdiff now accepts filename arguments as well as globs. Added fsl_cx_has_ckout(). file: [aa2e47ea4d] check-in: [78e6f53d8a] user: stephan branch: trunk, size: 186379
06:41
Removed the superfluous final argument from fsl_diff_builder::skip(). It doesn't serve any real purpose in this port of the API because our addition of the fsl_diff_builder::finish() method can be used to handle any end-of-diff stuff. file: [b9046be344] check-in: [939205a0f6] user: stephan branch: trunk, size: 186209
05:35
Experimentally added provisions for color coding using ANSI escape sequences to the fsl_diff_opt interface and applied it to the v2 unified and split diff views. The interface for this is subject to change. file: [85862e25fc] check-in: [b462692d92] user: stephan branch: trunk, size: 186307
03:57
Minor diff builder API renaming. Switched f-vdiff to use the diff builder API. Deprecated the fsl_diff_text() (v1) diff API, but have no short-term plans to remove it. file: [4dddf12462] check-in: [ea96c7c987] user: stephan branch: trunk, size: 184385
02:57
More diff builder-related docs. Added diff-skip lines to the split-diff output and made that diff builder always emit line numbers. file: [c28e8e8dbd] check-in: [32c14ba175] user: stephan branch: trunk, size: 183787
2021-10-08
23:30
Initial impl of text-mode split (side-by-side) diff. file: [12a8c9ffe3] check-in: [6e55183b23] user: stephan branch: trunk, size: 182757
19:46
Fixed a NULL deref in the diff code when one version of a file being diffed does not exist (e.g. when diffing a new file against a non-existent prior version). This fixes a segfault when fnc is asked to diff a checkin which contains a new file. file: [6b6f468568] check-in: [6aac145a22] user: stephan branch: trunk, size: 182620
2021-10-07
03:27
Resolved the mind-numbing diff problem, caused by having used an (unsigned int) where a uint64_t was needed for the fsl_dline::h member (hash value overflow led to mismatches between this impl and fossil's). Annotate, at least in its basic form, now works (testing with ignoring whitespace and such is pending). file: [b7b8e9b8e0] check-in: [e456c5ab39] user: stephan branch: port-annotate, size: 182475
2021-10-02
18:12
More work on the annotate interface, plus far too many nearby-yet-unrelated tweaks such as costness changes. file: [a87ec124a4] check-in: [b601f20cff] user: stephan branch: trunk, size: 182479
14:06
Some diff API renaming. Fixed a bit of memory corruption (overwriting of part of a struct) in the tcl-format diff builder. file: [a13297214e] check-in: [3fc18938fd] user: stephan branch: trunk, size: 180965
2021-10-01
18:00
Minor tinkering with the new diff API. file: [b4d8615e2a] check-in: [a8ac65d267] user: stephan branch: trunk, size: 180161
2021-09-28
03:07
Added line number support to the unified diff builder. Adjacent tinkering. file: [a643179230] check-in: [eddb657374] user: stephan branch: trunk, size: 179895
2021-09-27
19:39
Minor tcl diff output cleanups. file: [6fbc1ca170] check-in: [0cce2e5e25] user: stephan branch: trunk, size: 179746
19:19
Implemented the tcl-generating diff builder, but just the actual diff output. Adding the fossil-side diff.tcl wrapper for it is TODO. file: [7f353aa958] check-in: [ec81b8c45b] user: stephan branch: trunk, size: 179747
17:50
diff builder: some API renaming. Unified diff now elides the Index line until it's toggled on with a flag. Doc improvements. file: [ab08119214] check-in: [16d03d5f00] user: stephan branch: trunk, size: 178944
14:58
Found a seemingly agreeable workaround for the unified diff format chunk header disagreement with the diff builder driver algo. Doc improvements. Renamed several diff builder methods. file: [53523ee90a] check-in: [cb7851a865] user: stephan branch: trunk, size: 175628
2021-09-26
22:56
Seem to have gotten unified text diff _mostly_ working with the diff builder interface, though it required extending that interface a bit. We're still outputing more context than fossil does, for as-yet-unknown reasons, but the suspected off-by-one mentioned in the last commit was solved (it was not an off-by-one, but misuse of comparison routine results in fsl__diff_optimize()). file: [ff06e31551] check-in: [103399cdf7] user: stephan branch: trunk, size: 174599
19:15
Started work on a text-mode unified diff fsl_diff_builder, but it seems that the interface cannot support that one (as distinct from an HTML-mode unified diff). It turns out that fossil(1) uses the older-mode diff code for that case, duplicating much of the function which drives the fsl_diff_builder. These bits are #if'd out for now, but related adjacent changes are also in this checkin. file: [f565c03cde] check-in: [930e2b9c78] user: stephan branch: trunk, size: 173567
16:32
Ported over, but have only lightly tested, fossil's JSON-format diff builder. file: [7215a632e2] check-in: [14267d8d3a] user: stephan branch: trunk, size: 172927
14:33
More work on the 2021-09 diff rendering bits. Fixed a couple deeply-internal diff bits which leave me wondering how diffs _ever_ worked here. file: [7c20180a7c] check-in: [af4d016879] user: stephan branch: trunk, size: 171697
2021-09-18
17:39
More work on the 2021 diff backend port. Still much to do. file: [df63015fa4] check-in: [ed33831c3f] user: stephan branch: trunk, size: 170032
14:36
Initial work on porting in the 2021-era diff generation APIs. file: [9bcf16549f] check-in: [e0d00097e0] user: stephan branch: trunk, size: 168598
10:39
Changed semantics of fsl_appendf() to 0 on success, non-0 on error. Removed fsl_appendf_f() and replaced its uses with fsl_output_f(). Be on the lookout for subtle bugs, but the old printf()-style return semantics have never been relied upon so this should be side-effect-free. file: [e9cd686013] check-in: [b2e283edbf] user: stephan branch: trunk, size: 159283
2021-08-30
12:15
Minor doc, constness, and char-as-bool tweaks. file: [f602fe8a7c] check-in: [3ada2fce76] user: stephan branch: trunk, size: 162604
2021-05-31
02:08
f-ci can now determine when it is passed names not known to the repo, as distinct from being passed names which refer to unchanged files, and fails with an error in that case. file: [c0fa280fc5] check-in: [b53ba022ec] user: stephan branch: trunk, size: 162614
2021-03-31
12:17
Renamed fsl_vfile_load_from_rid() to fsl_vfile_load(). Added fsl_vfile_unload() and fsl_vfile_unload_except(). f-revert can now revert files to specific checkin versions while retaining the current checkout version. file: [342070f5ed] check-in: [40fcc816f0] user: stephan branch: trunk, size: 162390
09:47
Added fsl_ckout_vfile_ids() variant of fsl_filename_to_vfile_ids() in prep for an upcoming experiment. Fixed a cleanup order in fcli_shutdown(). file: [692095efc9] check-in: [889d2e32bb] user: stephan branch: trunk, size: 162110
2021-03-29
09:27
Removed a stale typedef left over in the previous commit. file: [bee1c67476] check-in: [521f5df2a3] user: stephan branch: trunk, size: 161994
09:26
Corrected a misunderstanding about fsl_id_bag traversal consuming its contents (which is not the case) and adjusted API signatures to make that clearer. file: [be34604962] check-in: [0660107d5b] user: stephan branch: trunk, size: 162050
02:39
Internal tweak in the fsl_db API to take advantage of SQLITE_PREPARE_PERSISTENT. Doc fix in fsl_buffer_stream_lines(). file: [f650cb9674] check-in: [230e3ff6f6] user: stephan branch: trunk, size: 161961
2021-03-28
15:15
fsl_ckout_revert() now optionally accepts a fsl_id_bag instead of a filename. Exposed fsl_filename_to_vfile_id(s)() to the public API. Added fcli_args_to_vfile_ids() and refactored f-revert to use that functionality. file: [dc4b757df1] check-in: [a527cc940a] user: stephan branch: trunk, size: 162004
2021-03-27
14:54
Renamed and refactored fsl_checkin_enqueue() and fsl_checkin_dequeue() to use an options object and altert the user about exactly which files are enqueued/dequeued via a callback. file: [d1fbf76707] check-in: [8abd63ab1c] user: stephan branch: trunk, size: 161992
12:02
Minor API cleanups. file: [37429aa6b8] check-in: [259329f627] user: stephan branch: trunk, size: 161589
2021-03-24
05:00
Cleaned up fsl_is_locally_modified() is-changed reporting. Added fsl_file_rename(). The revert op now renames files when reverting a rename op. fsl_vfile_to_ckout() now, like fossil, writes to vfile.pathname instead of to vfile.origname, and revert accounts for that. file: [83c75982e9] check-in: [4f342af54f] user: stephan branch: trunk, size: 161455
2021-03-22
13:45
Added f-revert, analog to (fossil revert). Fixed f-rm to handle the filename '.' sensibly. Numerous tweaks in adjacent code along the way. file: [4f70edfe4c] check-in: [8cc33e4e8a] user: stephan branch: trunk, size: 161051
2021-03-20
09:05
Barring one missing piece of to-port infrastructure and a boatload of testing, the update mechanism is in place and seems to be doing its thing. file: [f3af221b0c] check-in: [9b9b989b2c] user: stephan branch: trunk, size: 160704
00:35
More work on the update op. file: [de0fdd0a79] check-in: [34f0c94b79] user: stephan branch: trunk, size: 160703
2021-03-19
00:30
More work on the 'update' infrastructure. Turns out we're still missing an important low-level bit or three. file: [eb2eaa363c] check-in: [c6dc2f9770] user: stephan branch: trunk, size: 160472
2021-03-18
13:35
Minor doc modernization. file: [a010ca15be] check-in: [e55d4623ca] user: stephan branch: trunk, size: 160212
2021-03-15
12:12
Swapped order of 2 parameters to fsl_confirm_callback_f - just seems more consistent that way. file: [0451765726] check-in: [26191854cd] user: stephan branch: trunk, size: 160218
11:14
Extended the fsl_confirmer API to be able to ask, and get responses to, simple multiple-choice questions. This will be needed, e.g., for performing an update operation when multiple versions are equally viable candidates. file: [8c034488c7] check-in: [ccc0fef970] user: stephan branch: trunk, size: 160218
04:25
Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [751c54931d] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 156085
2021-03-13
09:46
Renamed an enum. Minor doc and formatting tweaks. file: [a98f89f463] check-in: [efd3f4d510] user: stephan branch: trunk, size: 156085
08:16
Brought fsl_vfile_scan_changes() up to date wrt fossil, improving its accuracy as well as speeding it up. Improved reporting via fsl_checkout_changes_visit() (i.e. f-status) results. Removed about 200 lines of dead vfile code. file: [94cb394645] check-in: [c77e85e259] user: stephan branch: trunk, size: 155786
2021-03-12
17:26
Completely reworked how fsl_cx manages scratch buffers but it's leading, rather inexplicably, to double the number of allocs and memory use in f-sanity. Checking in due to paranoia of losing this work. file: [028ce1fa1a] check-in: [01c1cff578] user: stephan branch: cx-scratchpad-rework, size: 155786
2021-03-11
03:58
Minor doc touchups and char-to-bool conversions. file: [3385de522c] check-in: [8a393e5255] user: stephan branch: trunk, size: 155809
2021-03-10
16:41
Refactored fsl_dircrawl_f() to take a fsl_dircrawl_state struct as an argument and added current recursion depth to the passed-on state. file: [297de4378b] check-in: [4a70a0dd17] user: stephan branch: trunk, size: 155810
15:47
Added fsl_dircrawl() for recursively crawling directories and added recursive dir and ignore-glob support to f-add. fsl_buffer_reuse() now returns its argument. file: [834d68d142] check-in: [c1199e807f] user: stephan branch: trunk, size: 155180
2021-03-09
06:01
Minor confirmer cleanups and docs. file: [cf0f30d3db] check-in: [d58d30707f] user: stephan branch: confirmer-co, size: 152381
05:17
It seems we just about have the confirmer bits working for f-co. Had to change the semantics of --keep, but the older semantics feel really weird. Needs a bit more testing. file: [631ee066b2] check-in: [ed0fa2b56a] user: stephan branch: confirmer-co, size: 151154
00:13
Minor tweaks of the confirmer bits. file: [f625c210d6] check-in: [13fb58bfdd] user: stephan branch: confirmer-co, size: 150745
2021-03-08
23:42
Optimizations in fsl_repo_checkout() to reduce fsl_content_get() calls, only writing files which vfile says have changed. Cuts alloc counts by approx. 3-4x and memory cost by 5-8x in basic tests. f-co now has a blank status square for files which were not modified, to make it easier to spot the real changes. file: [d572b690f4] check-in: [735e9e32ab] user: stephan branch: confirmer-co, size: 150210
13:23
Renamed FSL_CANSWER_xxx to FSL_CRESPONSE_xxx. Changed some queries from cached to non-cached. Added /*__func__()*/ to the end of many queries to make them easy to track down via sqlite trace output. file: [9bc62053ec] check-in: [c8b25fe30f] user: stephan branch: trunk, size: 149744
11:14
Initial go at a new interactive confirmation API (not yet connected to checkout op). Removed a functionally-duplicated API. Added __func__() to some cached SQL statements in order to simplify tracking their origin (though this keeps those statements from being reused across multiple functions). file: [6ea819e704] check-in: [9a6bb6834f] user: stephan branch: trunk, size: 149730
2021-03-06
17:35
fsl_checkout_changes_visit() now treats a callback return of FSL_RC_BREAK like most iteration API do. Doc touchups. file: [1162ef6b14] check-in: [0bdf51b375] user: stephan branch: trunk, size: 150909
16:27
Improved handling of deleted-by-checkin files via fsl_repo_checkout() and their reporting via f-co. file: [3d68867dd0] check-in: [038cd076ae] user: stephan branch: trunk, size: 150883
11:06
fsl_repo_checkout(), when removing leftover files, now tries to prune empty dirs. It does not catch dirs which themselves contain no files (contain only other dirs), as vfile has no entry for such dirs. Solving that requires more dir name slicing-up. file: [4f2e9b38ae] check-in: [682c42c3a9] user: stephan branch: trunk, size: 150839
2021-03-04
21:07
Started factoring the extract-to-checkout code from f-open into lib-level fsl_repo_checkout(). This loses a feature or two which will have to be reworked into the lib API but it seems to work. file: [5685cd105d] check-in: [5fd71c1b87] user: stephan branch: trunk, size: 150332
18:19
Refactored fsl_repo_extract() to take a struct and added an option to specify whether or not the file content should be extracted. Fixed fsl_mkdir_for_file() for 1-letter filenames. file: [93025a38c5] check-in: [0e31c5674e] user: stephan branch: trunk, size: 150332
16:54
Added fsl_file_exec_set() and changed f-open to use it for setting the +x bit. file: [d59d23612c] check-in: [e57eeac51e] user: stephan branch: trunk, size: 150303
12:28
Numerous cleanups and fixes in/around the infrastructure used by f-open. file: [77ff5f575d] check-in: [b67129bbb9] user: stephan branch: trunk, size: 149928
2021-03-03
11:42
Renamed fsl_buffer_reset() to fsl_buffer_reuse() to try to reduce the confusion between its semantics contrasted with fsl_buffer_clear(). file: [393a926869] check-in: [0584c1b6e2] user: stephan branch: trunk, size: 149929
08:38
Lots of bending and hammering related to smoothing out f-open. There's still an issue when opening an empty checkout (it's seen as not a checkout by other apps), but that's on the to-fix list. file: [d89a3c567e] check-in: [2a04a6818c] user: stephan branch: trunk, size: 149929
2021-03-02
08:49
Implement f-open and f-checkout roughly ported from db.c::cmd_open() and checkout.c::checkout_cmd() in Fossil using a draft implementation of the fsl_repo_open_checkout API designed by Stephan. This is a work in progress and is missing a few critical pieces but will open and checkout a given repository. Only tested on OpenBSD and macOS and may not work on Windows yet. file: [cc7f0adb44] check-in: [4897fa7285] user: mark branch: open-ckout-wip, size: 149902
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. file: [342c294d83] check-in: [386316db07] user: stephan branch: trunk, size: 149639
15:46
Replaced the overwhelming majority of license headers with the new project-standard one. Left a few as they were for files which were imported essentially unchanged from Fossil or, in the case of SHA1/SHA3/MD5 bits, other 3rd-party sources. file: [bf02070d7c] check-in: [fa5fb24496] user: stephan branch: trunk, size: 149631
12:31
Improved the checkin-to-closed-leaf check to allow checkin if the branch would change. Ported in the reserved filename checks, so that 'add' ops will fail if the user adds a filename which is illegal. file: [1ee82280cc] check-in: [2d90220116] user: stephan branch: trunk, size: 149872
07:57
Corrected the sameLine() merge-internal algo, so merge collisions are now detected. Minor internal merge/merge-adjacent cleanups. file: [d33600cd8c] check-in: [ecfc36587c] user: stephan branch: trunk, size: 148784
04:59
Ported in 3-way-merge algo and first test runs :-D. Time for a break. file: [35fcd0958f] check-in: [64c2d4a752] user: stephan branch: trunk, size: 148658
2021-02-28
17:10
Started porting in fossil's merge algorithm. It looks like the support algos are all in place, just the main merge is missing. First some sleep, though. file: [3ffed4d7f7] check-in: [2cfc9d6ae9] user: stephan branch: trunk, size: 148690
04:15
Generic cleanups, char-to-bool conversions. Moved fsl_acache bits into their own file. Shrunk a couple of struct sizes. file: [d902de1dbd] check-in: [7c8b025221] user: stephan branch: trunk, size: 146347
2021-02-26
19:49
Found the source of the stale merge state in a large comment block. file: [4e78242256] check-in: [74eabd1b76] user: stephan branch: fcli-flag-rework, size: 146266
06:03
Some doc touchups, enum renaming, and removed some dead code. file: [7abcc7f7bd] check-in: [473fd8718c] user: stephan branch: trunk, size: 146266
2021-02-24
19:34
fsl_appendf() %j now emits "null" (always without quotes) when passed a NULL pointer. file: [259978124f] check-in: [b1e8da4fa7] user: stephan branch: trunk, size: 145811
09:28
Removed some dead code. Added %j (JSON string) encoding to fsl_appendf() using a streaming approach (no allocation). file: [7a24d3122e] check-in: [a008179c2d] user: stephan branch: trunk, size: 145613
05:42
Renamed enum fsl_file_perm_t to fsl_fileperm_e and fsl_rc_t to fsl_rc_e. file: [0ae6fd879c] check-in: [eb5c621f98] user: stephan branch: trunk, size: 144967
2021-02-23
19:45
Hardened deck validation for certain special cases, in particular at output-time. file: [d76bad2a6e] check-in: [a392b75868] user: stephan branch: trunk, size: 144968
2021-02-18
05:11
Replaced the extraneous fsl_double_t typedef with double. file: [6ca24651df] check-in: [b359548620] user: stephan branch: trunk, size: 144964
2021-02-15
00:21
Reimplemented fsl_config_file_reset() to account for schema prefixes. fsl_file_size() now returns type fsl_int_t instead of fsl_size_t, to simplify the -1-on-error return checking. Added fsl_config_global_preferred_name(), which performs the global config file lookup algo used by fossil, and changed fsl_config_open() to use that. file: [de65d04b3a] check-in: [8837671e83] user: stephan branch: trunk, size: 145000
2021-02-14
12:36
Started replacing some of the char-as-bool with C99 bool. file: [b60769e6ba] check-in: [4da3578966] user: stephan branch: trunk, size: 144802
2021-02-12
22:09
libfossil is now C99, rather than C89, per discussion at [https://fossil.wanderinghorse.net/r/libfossil-forum/forumpost/e02ff0e8d0]. fsl_int{16,32,64}_t have been replaced by the standard uint{16,32,64}_t, FSL_xxx_T_PFMT/SFMT replaced with PRIx32 and friends, and auto.def now checks for -std=c99 capability (but that check could probably be done differently/improved). fsl_int_t and fsl_uint_t are retained, as they're more about documentation/intent than fixed sizes. file: [ac09384710] check-in: [ee070353b9] user: stephan branch: trunk, size: 144781
2021-02-11
00:16
Added f-parseparty, which parses all of the artifacts in a repo, and uncovered a serious manifest parsing bug in fossil(1) as a side effect. Fixed a memory ownership bug when manifest parsing fails, which led to a double-free. Related adjacent touchups. file: [c8ade16cb7] check-in: [0163960ce0] user: stephan branch: trunk, size: 144809
2021-02-09
00:18
Updated license text in almost all C/H to claim copyright while attributing all of the files as heavily derived from DRH's work. file: [a05fabea6b] check-in: [631fb3f69a] user: stephan branch: trunk, size: 144831
2021-02-08
23:47
Renamed the hash length constants. file: [3a53eca7d3] check-in: [0c9a6d3644] user: stephan branch: trunk, size: 144857
18:23
f-apps compile and f-sanity runs. MILESTONE. Still need to test the other f-apps, though. file: [c248bf43e7] check-in: [76c290eb05] user: stephan branch: sha3-port, size: 144875
16:03
Baby steps towards dual sha1/sha3 support. This does not yet compile but i'm nervous about losing work done so far. It's been painless but tedious, which is not bad, all things considered. file: [ec58b693b8] check-in: [240701a6ec] user: stephan branch: sha3-port, size: 144753
2021-02-07
14:31
Globally replaced http://... URLs with https://.... Most of them probably still work, too. file: [f2836eb3dc] check-in: [6af7b3b7c8] user: stephan branch: trunk, size: 144222
2016-03-07
15:57
added FSL_OPEN_F_TRACE_SQL for use with fsl_db_open(), which tells fsl_db_open() to enable SQL tracing. Previously this feature was restricted to Fossil-open()'d db handles. file: [3813f65f23] check-in: [a43aece996] user: stephan branch: trunk, size: 144216
2014-12-04
15:43
Latest s2, fixed ticket [dee8469f4b] by removing the (unused) chroot() feature from fsl_chdir(), accommodated an older libf API change in the th1ish bindings. file: [77029b9d6a] check-in: [09fb223f65] user: stephan branch: trunk, size: 143980
2014-11-08
10:46
minor doc tweaks. file: [a78caa51d5] check-in: [e4205c60cc] user: stephan branch: trunk, size: 144131
2014-11-01
16:17
Documentation bugfix. file: [41c7ee5798] check-in: [7aaa85974f] user: stephan branch: trunk, size: 144035
2014-10-25
12:50
The docs, not the impl, were wrong. file: [7991b78dc3] check-in: [516ff0e751] user: stephan branch: trunk, size: 143975
2014-10-01
07:20
marked as FSL_EXPORT all other symbols in public api (pretty much everything). I stopped short of doing things in fossil-internal.h, because I think that is a private header. There are a couple things in there that are exported, because the test apps required them, but I'm going to leave that header alone for now. Changes in this change set reflect methods that are not referenced by any of the test apps, and maybe need some test cases generated. file: [b945c5408f] check-in: [bd0a181022] user: dave branch: feech-dave-msvcsupport001, size: 143948
06:15
marked as FSL_EXPORT various symbols; this change set is limited to the ones that are needed by the various f-apps, but this is not complete for general use of the library. I am doing this change in two phases simply because it gives me a way to see what methods have been exercised (by f-apps) and which have not. file: [02da473fbe] check-in: [7b651689f3] user: dave branch: feech-dave-msvcsupport001, size: 142762
2014-07-24
17:05
Reformatted, now that i have finally taught emacs to stop indenting for the C++-mode extern "C" block. file: [d541572549] check-in: [dd07d92271] user: stephan branch: trunk, size: 141733
2014-05-29
16:56
Portability fixes (broken char signedness assumptions) for Raspberry Pi. file: [4ca07f84d8] check-in: [9fb7bcf2a9] user: stephan branch: trunk, size: 150633
08:51
Portability fixes: changed char to int in places which use 3-value logic. file: [63b4828d79] check-in: [fbf99d6e80] user: stephan branch: trunk, size: 150635
2014-05-01
12:42
More work on the path porting. Related refactoring to make some more bits visible. file: [af1025f507] check-in: [35cef04dcd] user: stephan branch: trunk, size: 150638
2014-04-22
20:19
minor doc addition. file: [0b765f7960] check-in: [e086db5750] user: stephan branch: trunk, size: 147452
20:16
doc clarifications. file: [8c5bcfb87e] check-in: [5f79eb5bcf] user: stephan branch: trunk, size: 147246
20:09
added fsl_str_is_date2() in prep for 5-digit year support (a challenge from drh ;). file: [9135100b47] check-in: [674b3d07d3] user: stephan branch: trunk, size: 147226
2014-04-08
19:40
minor doc tweaks. file: [7249406a8b] check-in: [5f8e46aa48] user: stephan branch: trunk, size: 146711
2014-04-06
12:31
doc additions. file: [0bf56b3809] check-in: [8225d79ca0] user: stephan branch: trunk, size: 146607
2014-04-03
17:02
Renamed fsl_glob_list_clean() to fsl_glob_list_clear() for consistency with similar APIs. file: [adb0e46ed8] check-in: [1075d15a5f] user: stephan branch: trunk, size: 145538
2014-04-01
17:04
Minor milestone: f-vdiff basically works. Just need to add diff-vs-checkout support. Added fsl_isatty() b/c it is needed by a couple of apps (could alternately go in fcli). file: [36160801b5] check-in: [ab6bf194c2] user: stephan branch: trunk, size: 145538
2014-03-30
12:18
minor doc updates. file: [5bde607e37] check-in: [e0c522728b] user: stephan branch: trunk, size: 144807
10:37
Added caching of versionable config results but then removed it because it introduces inconsistencies in string ownership vis-a-vis non-versioned config. Various little cleanups and additions along the way. file: [d02ffbdb37] check-in: [48eec586a9] user: stephan branch: trunk, size: 144733
2014-03-29
10:09
Introducing the highly arguable fsl_simplify_sql() utility routine. file: [7e253f697a] check-in: [7b0022b9a5] user: stephan branch: trunk, size: 143955
2014-03-28
15:27
Added infrastructure for the various xxx-glob config options. fsl_cx now caches them when a repo/checkout is opened and provides APIs for querying them. file: [1231de8c32] check-in: [aa8f7bd1be] user: stephan branch: trunk, size: 142737
2014-03-26
15:48
Fluff: started adding basic ANSI color support to text-mode diffs. Only context diffs for the time being. file: [d8576946d9] check-in: [41e6280df7] user: stephan branch: trunk, size: 142411
2014-03-25
18:16
A big round of renaming and touchups. More tinkering with the F-card generation. Seems to work how i want it now. This commit is partially a test of said functionality... seems we are not quite at a delta/baseline rollover point. file: [a2e3fb7f83] check-in: [7a0759a0a4] user: stephan branch: trunk, size: 141867
2014-03-23
18:25
Weekend hacking session is now over. file: [c98e463d05] check-in: [fae79b28a4] user: stephan branch: trunk, size: 141735
2014-03-19
16:39
fixed a constness bug. file: [47c1f694e3] check-in: [28f65e12ce] user: stephan branch: trunk, size: 139477
2014-03-18
22:35
Discovered a descrepancy between fossil(1) and libfossil's %T custom format specifier. So far we never use that one, so a change will not be painful. Discovered/ported in fossil(1)'s %S (UUID-short-string) format specifier. file: [1b4217f0bd] check-in: [3cc5216eb1] user: stephan branch: trunk, size: 139477
2014-03-17
21:12
Ported in fsl_gradient_color(). Added fsl_rgb_encode/decode(). Minor comment changes in f-tag. file: [e3b67ad43c] check-in: [a508afba51] user: stephan branch: trunk, size: 139030
14:40
Port [http://fossil-scm.org/index.html/info/597d1101b4|597d1101b4] bugfix. file: [538a9dda3b] check-in: [e4bf163a5f] user: jan.nijtmans branch: trunk, size: 137173
2014-03-15
17:36
s/FSL_FS_PERM/FSL_FILE_PERM/gi. Minor tinkering with the vfile scanning process. file: [93c8516c06] check-in: [c8c97fd8fe] user: stephan branch: trunk, size: 137248
2014-03-13
20:04
squelched some doxygen warnings. file: [15bb0a4d5f] check-in: [e3241eae55] user: stephan branch: trunk, size: 137244
2014-03-11
21:00
pulled in upstream diff-generation changes: http://www.fossil-scm.org/index.html/info/ac3fcebb19 file: [e61310d8d3] check-in: [d84b24de1e] user: stephan branch: trunk, size: 137208
2014-03-10
22:40
Fixed/re-added fail-on-no-changes. Added fsl_list_swap(). file: [be73b4095d] check-in: [d5c871ff0f] user: stephan branch: trunk, size: 137117
2014-03-08
11:50
Started work on some internals needed for doing a checkin. file: [25961be385] check-in: [c77b3cb7fb] user: stephan branch: trunk, size: 136843
2014-02-23
10:42
minor doc updates. file: [a1a9cec427] check-in: [52ff99826b] user: stephan branch: trunk, size: 135759
2014-02-22
10:33
Ported in fossil's system timer APIs. file: [0bf88a19f3] check-in: [91471dde81] user: stephan branch: trunk, size: 135400
2014-02-20
19:18
Pulled in latest upstream cwal. Added th1ish/fsl_zip_writer bindings. Expanded the fsl_zip API a bit. file: [6b3c8659c6] check-in: [9c23d7550d] user: stephan branch: trunk, size: 133963
2014-02-17
22:23
minor logic fix file: [5834a9c25f] check-in: [164997a93c] user: stephan branch: trunk, size: 132013
2014-02-15
18:52
clarified some trailing-backslash behaviours. file: [7f69a379c4] check-in: [943223d35f] user: stephan branch: trunk, size: 131958
2014-02-14
18:21
Fixed a typo. Changed fsl_dir_check() to not do any normalization of the name, since it is (so far) always used where names are already normalized. file: [2f21772ea2] check-in: [51ca80369b] user: stephan branch: trunk, size: 131656
13:46
fixes in example code. repo-zip now errors out, instead of doing something silly, when encountering a symlink. file: [c813593320] check-in: [31f6a8c68e] user: stephan branch: trunk, size: 131548
12:05
Refactored fsl_repo_extract() to provide more info to the callback. Added fsl_strftime_unix(). file: [1a8d94cbf0] check-in: [38d3dd2086] user: stephan branch: trunk, size: 131458
09:05
Globally changes the API docs from fossil/sqlite-style '**' to Doxygen-friendly format because the extra stars hinder writability/changability and require an extra filter at the doxygen-processing level. file: [c4432dcd82] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 130854
08:53
minor doc update file: [0fab7afef8] check-in: [c717d7a2e4] user: stephan branch: trunk, size: 132935
2014-02-13
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. file: [fe2251b425] check-in: [a4fc7ee1df] user: stephan branch: gzip-stream, size: 135571
2014-02-12
21:33
minor API renamings and tweaks to the ZIP bits. file: [6bc63aaa26] check-in: [b0d01fe206] user: stephan branch: trunk, size: 132856
20:50
minor doc touchups. file: [b5d625eddb] check-in: [40362c4536] user: stephan branch: trunk, size: 131481
20:42
Moved ZIP-creation code into the public API. Expanded and fixed it considerably. Added f-zip tool. file: [d1d2762af4] check-in: [54a3117046] user: stephan branch: trunk, size: 131143
2014-02-10
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. file: [2c448b74ec] check-in: [5bf66bef9e] user: stephan branch: trunk, size: 123501
2014-02-09
16:47
swapped some args to simplify up-coming porting from fossil(1). file: [55bf12661a] check-in: [e750db6e90] user: stephan branch: trunk, size: 123485
2014-02-08
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. file: [a3791cb6d2] check-in: [21f1db7f80] user: stephan branch: trunk, size: 123604
11:20
Added fsl_stream_compare() and fsl_buffer_compare_file() to support up-coming features. file: [48681459f6] check-in: [b8d7c66f22] user: stephan branch: trunk, size: 123620
2014-02-07
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. file: [56425fc6c2] check-in: [5230586d98] user: stephan branch: trunk, size: 122013
18:06
minor doc updates. file: [4ecdb9ca80] check-in: [152d6de319] user: stephan branch: trunk, size: 122013
17:23
minor API renaming. Added multiple-glob and invert-glob support to f-ls. Doc touch-ups. file: [72dfbde586] check-in: [9cf3c16ca6] user: stephan branch: trunk, size: 122007
16:37
Minor cleanups and doc improvements. file: [cadc632513] check-in: [1666351687] user: stephan branch: trunk, size: 122004
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. file: [18fafb4b08] check-in: [95e3925c25] user: stephan branch: trunk, size: 121497
14:21
We now differentiate between NULL and empty-string root path in fsl_file_canonical_name2(). file: [21772df1d3] check-in: [7c75d1be08] user: stephan branch: trunk, size: 118434
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. file: [424058eaa3] check-in: [19845c101c] user: stephan branch: trunk, size: 118327
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. file: [5ef7f504fd] check-in: [ebda4a36e3] user: stephan branch: trunk, size: 116978
2014-02-05
20:49
Replaced a couple gratuitous structs with (char *). Other minor tinkering. file: [824c3129e6] check-in: [a94b263ba1] user: stephan branch: trunk, size: 113746
2014-02-04
18:01
Added fsl_julian_to_unix(). file: [8b12d05ddf] check-in: [eacd634263] user: stephan branch: trunk, size: 113174
2014-02-02
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. file: [8c38e05dee] check-in: [7aa94e7ce8] user: stephan branch: trunk, size: 112844
12:25
Implemented fsl_rid_is_a_checkin() and fsl_buffer_copy_lines(), infrastructure needed by other up-coming bits. file: [7b8fe8cbd8] check-in: [5fbf9715f8] user: stephan branch: trunk, size: 112097
2014-02-01
14:19
minor round of tinkering and refactoring. Moved fsl_config_xxx() decls into fossil-confdb.h. file: [e788260ac3] check-in: [ad2a0cb933] user: stephan branch: trunk, size: 110883
2014-01-31
23:57
Ported in a public domain strftime() impl, for potential use with the checkout-related functionality. Fixed a clang warning. file: [06c1cc2552] check-in: [615b6d29bc] user: stephan branch: trunk, size: 110653
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(). file: [c947401867] check-in: [b991749bca] user: stephan branch: trunk, size: 108797
2014-01-30
21:43
fsl_stat() now accepts a NULL stat buffer. Internal refactoring of fsl_checkout_open_dir(). file: [03a6916f9f] check-in: [f082da6718] user: stephan branch: trunk, size: 108467
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 '.../'. file: [2955f7fee9] check-in: [6b581c89f9] user: stephan branch: trunk, size: 108092
2014-01-26
17:04
Started adding support for 'selected' files. file: [f71a890898] check-in: [a50c5953d1] user: stephan branch: trunk, size: 107801
14:38
ported in fsl_chdir(). file: [04ca975bee] check-in: [d0a5106f00] user: stephan branch: trunk, size: 107717
2014-01-24
20:49
more doc tweaks. file: [d708846c0f] check-in: [0be0e644f8] user: stephan branch: trunk, size: 107240
19:45
doc patches to accound for the doxygen filtering kludge needed for @code blocks. file: [a50e3a0bbe] check-in: [95be6cf5b2] user: stephan branch: trunk, size: 106432
2013-09-18
17:39
minor doc/text changes. file: [dcfb7b8c64] check-in: [4fa939b62a] user: stephan branch: trunk, size: 106439
17:17
changed semantics of contextLines diff argument when==0. file: [0bcd4da73f] check-in: [85d6717c6c] user: stephan branch: trunk, size: 105938
16:18
minor doc tweak. file: [17a452f346] check-in: [f44fc5165d] user: stephan branch: trunk, size: 105885
2013-09-17
19:51
Added fsl_file_dirpart(). file: [69f8577f18] check-in: [d8147e45d9] user: stephan branch: trunk, size: 105878
18:24
minor doc updates. file: [7587271c2b] check-in: [097002174d] user: stephan branch: trunk, size: 104834
18:15
Ported in fsl_pathfinder utility API from th1ish. file: [a324ba2f75] check-in: [db1a141463] user: stephan branch: trunk, size: 104308
2013-09-11
19:58
Playing with __attribute__. file: [1b99e81e6b] check-in: [039b1b7f4d] user: stephan branch: trunk, size: 98691
15:57
comments and minor typedef changes. Nothing functional. file: [ddfdb6bc68] check-in: [b8ab152db0] user: stephan branch: trunk, size: 98494
2013-09-09
22:27
added missing return semantics docs. file: [b15b728da9] check-in: [5f2c940ccd] user: stephan branch: trunk, size: 98432
22:22
added docs for fsl_julian_to_iso8601() and a flag to control whether or not the fractional seconds part is output. file: [e8626421ab] check-in: [6479f10c6a] user: stephan branch: trunk, size: 98169
22:14
Added fsl_julian_to_iso8601(). Seems to work but needs more testing and docs. Too tired. file: [8f0cc22c6b] check-in: [9377585097] user: stephan branch: trunk, size: 97813
18:32
Added fsl_iso8601_to_julian(). Minor doc updates. file: [906abc2d51] check-in: [479a7c897f] user: stephan branch: trunk, size: 97718
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. file: [abd398995f] check-in: [f9e0b1801f] user: stephan branch: trunk, size: 96550
15:39
Lots of minor additions and tweaks, mainly in support of app-level code. file: [dcfbe38fff] check-in: [7bfbc3dba6] user: stephan branch: trunk, size: 95994
10:21
moved fsl_malloc/free/realloc() to fossil-util.h. Minor cleanups in fsl_appendf() and f-ls. file: [e09e8bdaa7] check-in: [f50c561594] user: stephan branch: trunk, size: 95173
09:12
minor doc and f-ls cosmetic tweaks. file: [8344ae9c3c] check-in: [5144ccab98] user: stephan branch: trunk, size: 94259
2013-09-07
12:23
more renaming and doc tweaks. file: [526c479743] check-in: [3f79146785] user: stephan branch: trunk, size: 93342
11:00
Another round of API renaming/shortening. Added fsl_cx_stat(). file: [f9b82fbe98] check-in: [4bd2202448] user: stephan branch: trunk, size: 93315
10:24
minor return type and test code tweaks. file: [65c8b4cc6d] check-in: [c87ddaf458] user: stephan branch: trunk, size: 93239
10:09
more sanity tests for fsl_mkdir2(). file: [3b5184381f] check-in: [26bbfd3f4f] user: stephan branch: trunk, size: 93237
09:41
cleanups to the mkdir code/docs. file: [da7d066a10] check-in: [81b2a1818f] user: stephan branch: trunk, size: 93107
09:17
ported in recursive mkdir support to fsl_mkdir2(). file: [0cb1ef0adc] check-in: [644116decf] user: stephan branch: trunk, size: 92351
2013-09-05
18:47
Added %#F (fossilize, alternate form) after stumbling across it in fossil(1). file: [88efbcb710] check-in: [4ff4b82340] user: stephan branch: trunk, size: 90485
2013-09-03
15:40
More ticket bits. Minor API tweaks. file: [2552cac425] check-in: [5a47293811] user: stephan branch: trunk, size: 89438
14:12
Started porting in some of the ticket-handling bits. Added lots more (truly unnecessary) card validation on deck output. Minor fixes. file: [42391754fa] check-in: [8e88708563] user: stephan branch: trunk, size: 89438
11:23
Completed a mid-sentence doc interruption and made the code behave like the docs. file: [1370d320cd] check-in: [67f6534d9f] user: stephan branch: trunk, size: 89365
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(). file: [bb1fd7fc37] check-in: [e082703301] user: stephan branch: trunk, size: 89356
2013-09-01
16:06
another round of trivial cleanups and docs. file: [a0344e2b91] check-in: [9ed0b7a089] user: stephan branch: trunk, size: 88355
12:29
minor cleanups/fixes in crosslink callback handling. file: [193889b76f] check-in: [510aecf972] user: stephan branch: trunk, size: 88343
11:48
switched line number column from 6 back to 5 digits. Minor test code and doc tweaks. file: [ab728beee2] check-in: [1ea8b6c48a] user: stephan branch: trunk, size: 88349
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. file: [148b77b458] check-in: [1a45779c91] user: stephan branch: trunk, size: 88343
11:15
FSL_DIFF_SIDEBYSIDE is now implicit if the sbsWidth argument is not 0. file: [77a70474b5] check-in: [c044f55804] user: stephan branch: trunk, size: 88001
10:48
Ported in sbs diffs. file: [b8dae54d72] check-in: [b9651d78bf] user: stephan branch: trunk, size: 87837
09:22
consolidated duplicate htmlize code. Re-added htmlize to diffs. file: [e48c95550b] check-in: [2e4b4226b9] user: stephan branch: trunk, size: 84912
2013-08-31
14:21
Started porting in the diff generation bits. Still much to do. file: [2eca2db99a] check-in: [71111bb670] user: stephan branch: trunk, size: 83987
2013-08-30
18:22
Moved config.h to fossil-config.h. Updated Doxyfile.in file from trunk doxygen. file: [5f4b8f7ff6] check-in: [1d0f674e13] user: stephan branch: trunk, size: 83104
2013-08-29
16:34
Added: 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). file: [294c25d25b] check-in: [93ec815614] user: stephan branch: trunk, size: 83097