Login
Timeline
Login

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

100 check-ins using file config.make.in version e9eb0eafbd

2021-10-19
10:03
Doc updates and minor internal code reorgs. check-in: 9542202a90 user: stephan tags: trunk
09:18
merge in trunk for latest bits. check-in: df8635e89d user: stephan tags: port-merge
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. check-in: 496acd50a1 user: stephan tags: trunk
07:51
f-ci can now tell the difference between being passed an unmanaged dir name or a managed dir name which contains no changes and correctly queues only modified files when passed a dir name. That triggered an as-yet-undiscovered fsl_id_bag_reset() bug, now fixed, which triggered an assert() but somehow has not asserted before. check-in: 97887399f1 user: stephan tags: trunk
04:06
More doc and constness tweaks. check-in: b0a40b1b49 user: stephan tags: trunk
04:00
Worked around doxygen warning quirks. check-in: 38af521ffd user: stephan tags: trunk
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. check-in: 386039e135 user: stephan tags: trunk
2021-10-18
14:19
Doc tweaks, constness updates, and removed some extraneous checks for NULL arguments. check-in: a1d926f055 user: stephan tags: trunk
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. check-in: 77e8ee40f8 user: stephan tags: trunk
13:35
Added an optional flag to wh-make-from-dot-in to force it to touch its generated files, to work around an issue where make-template does not modify a file because it is the same as its original but we really need the timestamp updated. check-in: 0dbd4b588c user: stephan tags: trunk
12:07
Changed signature of fsl_db_close() to return void. Removed some dead code. check-in: 0c32e3185e user: stephan tags: trunk
10:18
Added some debug output to f-test-merge.c. Discovered a f-revert bug in the process (it does not deal with pending vmerge state). check-in: 199e2cbcad user: stephan tags: port-merge
10:09
Merged in port-merge branch for many non-merge-specific tweaks made there. Merge feature is still in development. check-in: 4672dd694e user: stephan tags: trunk
10:02
Random doc updates and moved an enum from fossil-util.h to fossil-db.h. check-in: f069532a71 user: stephan tags: port-merge
2021-10-17
10:39
More slow progress on the merge port. check-in: 2c0ca8f720 user: stephan tags: port-merge
10:38
Added variants of fsl_cx_exec() (fsl_db_exec() proxy) and changed error propagation semantics of fsl_cx_prepare() to be more useful. check-in: 9abdf965ac user: stephan tags: port-merge
2021-10-16
19:01
This checkin was actually caused by a "CLI misinteraction," but that gives us an excellent opportunity to move it to its own branch for use with merge testing. Closed-Leaf check-in: 3faa7222a6 user: stephan tags: mistake
18:48
f-test-merge: fixed an incorrect if/else branch of porting which included a path we don't want (automatic selection of a fork to merge in). Fixed a NULL dereference when --help was invoked. Added some debug output. check-in: ae59f86383 user: stephan tags: port-merge
16:24
Minor code reorgs and reminders to self for the continued merge porting later on. check-in: 81e6402728 user: stephan tags: port-merge
15:50
Another few hundred lines of merge infrastructure and lots of unrelated constness tweaks. Moving to a branch because we can't test some of the new features without one. check-in: 3ff20f1d01 user: stephan tags: port-merge
13:28
More work on porting over merge infrastructure. check-in: bc66e6a73a user: stephan tags: trunk
12:09
More work on the merge operation infrastructure. check-in: a6b6f083cb user: stephan tags: trunk
10:14
Minor doc tweaks. check-in: f06262030d user: stephan tags: trunk
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. check-in: c9fb1f972f user: stephan tags: trunk
07:54
Insignificant cleanups found while scouting out what's needed to port over merge. check-in: 65b379e3e0 user: stephan tags: trunk
06:55
Minor API doc fix. check-in: d4a1ac1c89 user: stephan tags: trunk
2021-10-14
07:06
Replaced fsl_annotate_step::ymd (string) with fsl_annotate_step::mtime (Julian Day) and moved its formatting into the client-specified callback. This saves one allocation per version in an annotation and frees the user to use whatever time precision they care to. check-in: 8e98360ec3 user: stephan tags: trunk
02:17
Extended fsl_annotate_step interface with a stepType member to tell the callee what type of annotation step is happening. Changed semantics of fsl_annotate_step::stepNumber. Added more annotation docs. check-in: be38221c82 user: stephan tags: trunk
2021-10-13
16:03
Remove some CRLF line ending that was introduced by commit [ee5ff590851fc020]. check-in: 0bb22fba21 user: mgagnon tags: trunk
09:58
Renamed fsl_annotate_step_f_output_f() to fsl_annotate_step_f_fossilesque(). check-in: 7e9f766bc5 user: stephan tags: trunk
09:54
Removed an unused var. check-in: e887d10734 user: stephan tags: trunk
09:51
Changed return semantics of fsl_cx_flag_set(). Seems more useful this way. check-in: d509da4728 user: stephan tags: trunk
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. check-in: 4bc926851e user: stephan tags: trunk
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). check-in: 24bc694bf8 user: stephan tags: trunk
2021-10-11
10:46
Minor internal doc correction. check-in: cf92163fc2 user: stephan tags: trunk
07:15
Escaped a doc sequence doxygen complains about. check-in: 503ec75ff3 user: stephan tags: trunk
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. check-in: 496de4c153 user: stephan tags: trunk
02:53
Minor internal doc and test updates. check-in: 7933b213f4 user: stephan tags: trunk
02:07
Hardening of the new %#W.Ps handling against non-UTF8 input and character lead bytes which invalidly set at the end of a string. check-in: 3036e117df user: stephan tags: trunk
01:55
Minor constness cleanups. check-in: 33165c3eb1 user: stephan tags: trunk
2021-10-10
13:24
Minor cleanups in the new f-sanity.c %#-related tests. check-in: b380db5e3f user: stephan tags: trunk
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. check-in: 4432b1f97a user: stephan tags: trunk
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. check-in: ee5ff59085 user: stephan tags: trunk
06:56
Minor split diff line number columns formatting tweak. check-in: a095d05a98 user: stephan tags: trunk
2021-10-09
23:18
Moved the common ANSI color init code from f-adiff and f-vdiff into fcli_diff_colors(). check-in: 1e50499a37 user: stephan tags: trunk
22:58
Added --color flag to f-adiff and f-vdiff to force ANSI color codes (on diff builders which use them) even if stdout is not a terminal. check-in: ea1ab5264d user: stephan tags: trunk
22:52
Removed some dead code. Minor doc tweaks. check-in: bbf5a75a76 user: stephan tags: trunk
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. check-in: e1dcd0294b user: stephan tags: trunk
21:00
Split-mode text diff now colorizes whole lines instead of just the line numbers and modification markers. check-in: ff791a0936 user: stephan tags: trunk
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. check-in: f0d31fddf1 user: stephan tags: trunk
09:18
f-vdiff now treats a combo from/to version of (. .) as (current .). Unrelated insignificant cleanups. check-in: 273f215234 user: stephan tags: trunk
08:39
f-vdiff: if passed only one version argument in the form '.' then treat it as if ('current' '.') had been passed in. check-in: 7e1765a845 user: stephan tags: trunk
08:33
Doc typos. check-in: 43671b7113 user: stephan tags: trunk
08:26
Moving-around of header-side code and minor typo/layout fixes. check-in: 8b04829588 user: stephan tags: trunk
07:54
Minor diff API renaming. f-vdiff now accepts filename arguments as well as globs. Added fsl_cx_has_ckout(). check-in: 78e6f53d8a user: stephan tags: trunk
06:56
Added --lib-version global fcli flag and upped the library version, rather arbitrarily, to 0.5-ish. check-in: ed0599af21 user: stephan tags: trunk
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. check-in: 939205a0f6 user: stephan tags: trunk
06:30
Unified diff builder: when running in line-number mode, use ~~~~ separators instead of conventional diff chunk markers. check-in: dc690136e8 user: stephan tags: trunk
05:57
Added some docs and minor cleanups in f-vdiff. check-in: a725befe58 user: stephan tags: trunk
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. check-in: b462692d92 user: stephan tags: trunk
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. check-in: ea96c7c987 user: stephan tags: trunk
03:04
Latest upstream fnc.c, adapted for changes made to the library earlier tonight. check-in: 072d639651 user: stephan tags: trunk
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. check-in: 32c14ba175 user: stephan tags: trunk
2021-10-08
23:30
Initial impl of text-mode split (side-by-side) diff. check-in: 6e55183b23 user: stephan tags: trunk
21:51
Moved from code from f-vdiff into the public API. Several fixes in f-vdiff. check-in: 39180d2fe8 user: stephan tags: trunk
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. check-in: 6aac145a22 user: stephan tags: trunk
18:20
Added more makefile-style patterns to editorconfig. check-in: 92022044d9 user: stephan tags: trunk
18:15
Added .editorconfig. check-in: cf791eca0b user: stephan tags: trunk
03:56
Added f-annotate to the list of installed f-apps. check-in: 3633f30572 user: stephan tags: trunk
03:55
Latest upstream fnc.c. check-in: 4df3ad2d82 user: stephan tags: trunk
03:15
Added an #if to protect a var made unused by the previous checkin. check-in: acbd39275f user: stephan tags: trunk
02:58
Build: delay build of libfossil.c/h/o until needed. Disabled inclusion of the as-yet-unused regexp sqlite3 module because of mysterious link errors triggered by the build reordering. check-in: a5fa64f558 user: stephan tags: trunk
2021-10-07
04:14
Updated f-apps/index.md for f-annotate. check-in: 975dccb1ce user: stephan tags: trunk
03:34
Merged in annotate feature branch and fixed horrible diff calculation bug. check-in: e3d91a7fed user: stephan tags: trunk
03:28
Remove all but -R and -V short form global options. To avoid collisions with app code, restrict global options to long-form, with the exception of the abovementioned two common options as discussed in /chat. check-in: 6d2c463307 user: mark tags: trunk
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). Closed-Leaf check-in: e456c5ab39 user: stephan tags: port-annotate
02:02
Eliminated some extraneous diff-internal code. check-in: 32ba71065d user: stephan tags: trunk
01:55
Merged inadvertent fork. check-in: 81a7b3af8a user: stephan tags: trunk
2021-10-06
23:21
Have narrowed down the source of the annotation difference (as it were) to the lower-level diff code, but _why_ libf is getting different results from fossil there (unless we force _both_ to do optimal matching on all diffs) is still a complete mystery. check-in: 0e55962dc9 user: stephan tags: port-annotate
21:23
Initial port of annotate/praise op is working but final results differ considerably from fossil's, so leaving it in a branch for now. The selected range of versions match, but the end results do not. check-in: 150bb5b77c user: stephan tags: port-annotate
16:18
fsl_ckout_fingerprint_check() now returns 0 if no checkout is opened. check-in: 1fb9a31f45 user: stephan tags: trunk
16:07
Add a few errno error codes to fsl_errno_to_rc(). check-in: 12ce7c1243 user: mark tags: trunk
14:53
Latest upstream sqlite3 amalgamation. check-in: dfcc431208 user: stephan tags: trunk
2021-10-03
09:04
Fixed a segfault in f-zip when trying to zip an unnamed project. Fixed fsl_repo_manifest_write() to not require an opened checkout so long as it is given an RID to work with. check-in: b7282cdbdc user: stephan tags: trunk
2021-10-02
18:39
Expanded fsl_vpath_shortest_store_in_ancestor()'s interface a bit. check-in: 8ad0b44715 user: stephan tags: trunk
18:21
Minor simplification of a bit of the previous checkin. check-in: d3d618d140 user: stephan tags: trunk
18:12
More work on the annotate interface, plus far too many nearby-yet-unrelated tweaks such as costness changes. check-in: b601f20cff user: stephan tags: trunk
14:11
Started work on the annotate/praise/blame interfaces but they're not yet even remotely implemented. check-in: 434ede2046 user: stephan tags: trunk
14:06
Some diff API renaming. Fixed a bit of memory corruption (overwriting of part of a struct) in the tcl-format diff builder. check-in: 3fc18938fd user: stephan tags: trunk
04:04
Corrected install path for man pages: PREFIX/share/man instead of PREFIX/man. check-in: 1b1d755e76 user: stephan tags: trunk
2021-10-01
18:00
Minor tinkering with the new diff API. check-in: a8ac65d267 user: stephan tags: trunk
16:31
Minor fixes to address gcc-11 errors discussed in chat. Check a set but unused variable in the new diff implementation, and fix arguments with mismatched bound in the md5 code. check-in: a161c58256 user: mark tags: trunk
2021-09-28
03:07
Added line number support to the unified diff builder. Adjacent tinkering. check-in: eddb657374 user: stephan tags: trunk
2021-09-27
19:39
Minor tcl diff output cleanups. check-in: 0cce2e5e25 user: stephan tags: trunk
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. check-in: ec81b8c45b user: stephan tags: trunk
17:50
diff builder: some API renaming. Unified diff now elides the Index line until it's toggled on with a flag. Doc improvements. check-in: 16d03d5f00 user: stephan tags: trunk
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. check-in: cb7851a865 user: stephan tags: trunk
02:11
diff-builder-based unified diff now mimics fossil's non-diff-builder-based unified diff except that this one adds an Index line (feature or bug?), but to do this we had to bypass what _appears_ to be purely cosmetic feature of the diff-builder approach which merged blocks which have a gap equal to or smaller than the diff context size. How best to resolve that is as yet unclear. check-in: a192f3e814 user: stephan tags: trunk
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()). check-in: 103399cdf7 user: stephan tags: trunk
22:43
Sigh. A facepalmy fix for the facepalmy fix at [c7a1d658fd]. check-in: 6f09ed4a26 user: stephan tags: trunk