Login
All files named "f-apps/f-vdiff.c"
Login

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

History for f-apps/f-vdiff.c

2022-06-09
00:23
Added missing handling of (--format debug) in f-vdiff. Added a reference to ticket [746ebbe86c20b5c0f96] regarding the issue of adjacent diff chunks getting a superfluous separator. file: [ad242d836f] check-in: [9cee12cf17] user: stephan branch: trunk, size: 23358
2022-04-02
08:59
Expanded an assert() in f-vdiff which revealed what might be a bug in/via f-rename. file: [d6d54755c4] check-in: [daa08e411b] user: stephan branch: trunk, size: 23075
2022-01-30
13:50
Documented a bug/shortcoming in f-vdiff. file: [f602eb0195] check-in: [725861fdf6] user: stephan branch: trunk, size: 22975
2022-01-24
07:17
Corrected f-vdiff's file-mtime checks of local-checkout files to canonicalize the filename so that it works when called from a subdir of the checkout. file: [d540cfd153] check-in: [4da4e6a3f4] user: stephan branch: trunk, size: 22633
2022-01-23
13:47
Fixed a segfault introduced two checkins back in [5e12e2134b76]. file: [24d732656d] check-in: [a8853a173b] user: stephan branch: trunk, size: 21962
13:43
Minor cleanup to the previous checkin. Fixed TK-format output to be syntactically correct for a no-diff run. file: [8dc6ce2a67] check-in: [354f81fd5c] user: stephan branch: trunk, size: 21934
13:19
f-vdiff can now catch and report renames when the rename is part of the local checkout's state. Code-adjacent constness tweaks. Edit: FIXME: discovered later that this fails when the diff is run from anywhere but the top checkout dir. file: [e3c15cbb43] check-in: [5e12e2134b] user: stephan branch: trunk, size: 21942
2022-01-22
14:27
Removed the disabled, and fundamentally flawed, attempt at catching renames in f-vdiff. file: [542420860b] check-in: [4866db6ef5] user: stephan branch: trunk, size: 20705
2022-01-20
17:47
Workaround for the Excessively Massive Diff bug (in f-vdiff, not the library) by reporting renames as an add/remove pair. Make the default split-mode diff content column widths wide enough for f-vdiff's current handling of how adds/removes are reported. file: [54e4ce1390] check-in: [1960fea37a] user: stephan branch: trunk, size: 21277
2022-01-16
06:44
f-vdiff now actively checks whether it's being asked to diff ostensibly binary content and refuses to do so. file: [02b60d290d] check-in: [47413486d0] user: stephan branch: trunk, size: 21001
2022-01-07
10:47
difftk.tcl: increased default width of line number columns. Inexplicably, using this exact same code from fossil expands the columns dynamically but this implementation is not doing so. Disabled {} around f-vdiff TCL output except in tk mode, for compatibility with fossil's (diff -tcl) output. file: [1619776d41] check-in: [37b6d8e11f] user: stephan branch: trunk, size: 20666
2022-01-03
22:27
Moved ncurses screen init/shutdown out of f-vdiff and into the the ncurses diff builder's start()/finally() methods. Cleaned up the ncurses-related public API, making most of it private. file: [5a630cd998] check-in: [1c19687346] user: stephan branch: trunk, size: 20662
21:16
Renamed fsl_diff_opt to fsl_dibu_opt. Moved dibu-type-specific flags out of the FSL_DIFF2_ flags and into the new FSL_DIBU_ flags. Added fsl_dibu::pimplFlags, which are implementation-private flags distinct from fsl_dibu::implFlags, the latter now being the place to apply FSL_DIBU_ flags. file: [5bbe81d3f3] check-in: [be968bbac7] user: stephan branch: trunk, size: 21540
19:42
Improved, but not perfected, f-vdiff's ability to report add/remove/rename in a dibu-friendly way (instead of via f_out(), which is incompatible with the ncurses and tcl dibus). file: [6b039e6815] check-in: [096b759623] user: stephan branch: trunk, size: 21479
17:21
Ported in fossil's diff -tk script bits and implemented (f-vdiff --format tk) but the output currently goes to stdout instead of launching tclsh. The TCL dibu can optionally include the TK bits or not, depending on its flags. file: [9f732fc4aa] check-in: [82bf08414f] user: stephan branch: trunk, size: 20372
2021-12-29
03:08
f-viff --save-format now also saves/restores the --line-numbers flag, if set. file: [1761d29cb5] check-in: [fbbbdfe556] user: stephan branch: trunk, size: 18576
2021-12-27
22:34
Added line number support to the ncurses unified-ish diff view. file: [ff29bc2e51] check-in: [962200c936] user: stephan branch: trunk, size: 18210
2021-12-25
16:07
Help text typo and removed unnecessary header. file: [406f94d98f] check-in: [43601bc8ab] user: stephan branch: trunk, size: 18210
2021-12-24
12:47
Refactoring and layout/navigation improvements in the unified-ish ncurses diff view. file: [46f96c2338] check-in: [e76a139a12] user: stephan branch: trunk, size: 18232
2021-12-23
07:46
Added a missing result code check in fsl_cidiff(). Added --save-format flag to f-vdiff to tell it to persist the current diff format as its future default. file: [df888790e7] check-in: [d80e895807] user: stephan branch: trunk, size: 18777
07:01
Added fsl_cidiff() API and f-test-cidiff test app. file: [55183b6b81] check-in: [1c6aeaf5ce] user: stephan branch: trunk, size: 17832
03:57
Renamed fsl_diff_builder to fsl_dibu. Sounds nicer and the older name is annoyingly long when used as a namespace/prefix. file: [0967a68f2f] check-in: [e9ec078844] user: stephan branch: trunk, size: 17618
2021-12-22
13:41
Integrated the ncurses unified-ish build into f-vdiff. file: [85125a71e8] check-in: [644d551cb4] user: stephan branch: trunk, size: 17722
10:14
Added optional fsl_diff_builder::finally() method and apply it in the ncurses diff builder to add an end-of-diffs marker at the bottom of the final file. file: [b5ce9f4009] check-in: [5ec5077ca0] user: stephan branch: trunk, size: 15709
2021-12-21
08:28
Moved fossil-scm/fossil.h to ../libfossil.h so that client code can build from both the canonical tree and amalgamation using the same include name. file: [babc3d5cab] check-in: [76d6359435] user: stephan branch: trunk, size: 15598
2021-12-15
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: [55e1fc5920] check-in: [0a5c3514c8] user: stephan branch: trunk, size: 15642
2021-10-10
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: [4f6bd2817c] check-in: [ee5ff59085] user: stephan branch: trunk, size: 15438
2021-10-09
23:18
Moved the common ANSI color init code from f-adiff and f-vdiff into fcli_diff_colors(). file: [d4d634a150] check-in: [1e50499a37] user: stephan branch: trunk, size: 15209
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. file: [ef9973ad76] check-in: [ea1ab5264d] user: stephan branch: trunk, size: 15337
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: [047e0cf915] check-in: [f0d31fddf1] user: stephan branch: trunk, size: 15067
09:18
f-vdiff now treats a combo from/to version of (. .) as (current .). Unrelated insignificant cleanups. file: [1e45878c30] check-in: [273f215234] user: stephan branch: trunk, size: 14760
08:39
f-vdiff: if passed only one version argument in the form '.' then treat it as if ('current' '.') had been passed in. file: [241e1522b2] check-in: [7e1765a845] user: stephan branch: trunk, size: 14528
07:54
Minor diff API renaming. f-vdiff now accepts filename arguments as well as globs. Added fsl_cx_has_ckout(). file: [29b7b20fc4] check-in: [78e6f53d8a] user: stephan branch: trunk, size: 14411
05:57
Added some docs and minor cleanups in f-vdiff. file: [3613bee860] check-in: [a725befe58] user: stephan branch: trunk, size: 13712
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: [8bab4129cf] check-in: [b462692d92] user: stephan branch: trunk, size: 12563
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: [1d958861ad] check-in: [ea96c7c987] user: stephan branch: trunk, size: 12165
2021-10-08
21:51
Moved from code from f-vdiff into the public API. Several fixes in f-vdiff. file: [b296930daf] check-in: [39180d2fe8] user: stephan branch: trunk, size: 12624
2021-04-04
05:07
f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. file: [2d55123106] check-in: [1d3192c82b] user: stephan branch: trunk, size: 15203
2021-03-15
04:25
Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [5a269a2ca3] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 15254
2021-03-10
08:06
New F-card list model is working but the savings for it are underwhelming to say the least. At most, 10-15% alloc count savings on f-parseparty runs, with a slightly higher RAM total. Disabled delta checksum self-test, as it's a big time hit and fossil also disables that by default. (Edit: but this changes cuts the time needed for f-parseparty to process the core fossil repo by a bit more than half. It's still dog slow compared to a fossil rebuild, though.) file: [2277bab3a1] check-in: [2440c84b01] user: stephan branch: f-card-array, size: 15302
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. file: [dac5a65019] check-in: [386316db07] user: stephan branch: trunk, size: 15296
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: [f7d43c6152] check-in: [fa5fb24496] user: stephan branch: trunk, size: 15288
2021-02-28
04:57
fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. file: [7eaef790f5] check-in: [d0edf4583f] user: stephan branch: trunk, size: 15610
2021-02-27
14:29
Finished porting the f-apps to the new CLI handling bits. Replaced fcli::appHelp with what was formerly fcli::appHelp2. file: [2f48191f2d] check-in: [ca464b5b74] user: stephan branch: trunk, size: 15607
2021-02-26
14:04
Reworking how fcli flag handling is done. file: [f597b84cbb] check-in: [dad2f76f30] user: stephan branch: fcli-flag-rework, size: 15666
2021-02-21
15:10
Renamed FSL_CATYPE... (CA=Control Artifact) to FSL_SATYPE... (SA=Structural Artifact) so that they correspond to the terms as set out by the fossil file format docs. file: [754285ff54] check-in: [8728796601] user: stephan branch: trunk, size: 15660
2021-02-11
19:13
Completely reimplemented ownership semantics of fcli argument/flag memory, greatly simplifying app-side management of those. Now fcli sticks all of them in fcli_fax() so that their lifetime is predictable and managed, so clients no longer have to free them. file: [2fc7cbdb92] check-in: [4307886eab] user: stephan branch: trunk, size: 15660
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: [4ad1a605b6] check-in: [631fb3f69a] user: stephan branch: trunk, size: 15756
2014-11-03
18:55
Added --line-numbers|-l option to f-vdiff. file: [1bf4d00da5] check-in: [2b7867d2ec] user: stephan branch: trunk, size: 15714
2014-04-06
18:49
more accommodation of 0 as a valid RID for an empty repo. file: [6c0aa72ddd] check-in: [d1a3c65cf6] user: stephan branch: trunk, size: 15558
18:28
Made f-vdiff's output more like fossil(1)'s (indistinguishable when called with no arguments and there are local diffs). file: [217983f720] check-in: [03ed2906fa] user: stephan branch: trunk, size: 15058
2014-04-03
17:31
f-vdiff no longer uses @internal APIs. file: [c3dce3f096] check-in: [21d14c7d69] user: stephan branch: trunk, size: 14149
17:27
Added diff vs local checkout to f-vdiff. file: [ead27bcb40] check-in: [08c4882dc7] user: stephan branch: trunk, size: 14024
2014-04-01
19:14
a minor modernization. file: [75699d4c40] check-in: [701c3c1b7e] user: stephan branch: trunk, size: 7206
17:49
Added the --brief|-b flag to f-vdiff. Changed when/where glob checking is done. file: [ad2bccbfcf] check-in: [be47664f18] user: stephan branch: trunk, size: 7240
17:22
Minor cleanups. Found a use case for the untested-until-now fsl_card_F_content(). file: [6cb8ec7938] check-in: [40901ae254] user: stephan branch: trunk, size: 7025
17:16
Added --invert|-i flag to f-vdiff. file: [ff0961119b] check-in: [ac02ab49fd] user: stephan branch: trunk, size: 6888
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: [3ed78c3d06] check-in: [ab6bf194c2] user: stephan branch: trunk, size: 6670
2014-02-14
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: [06ec7bc2ea] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 2508
2014-02-11
14:31
Renamed f-vdiff.c → f-apps/f-vdiff.c. 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. file: [659799e1ad] check-in: [e85b45eda2] user: stephan branch: trunk, size: 2508