Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
103 check-ins using file src/db.c version c3385004d4
2021-10-02
| ||
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 | |
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. check-in: 930e2b9c78 user: stephan tags: trunk | |
16:32 | Ported over, but have only lightly tested, fossil's JSON-format diff builder. check-in: 14267d8d3a user: stephan tags: trunk | |
15:58 | fsl_appendf() %j (JSON string) now supports the .* modifier to limit how much of the string is output, with the caveat that it is not multibyte-aware so will happily truncate a multibyte character. This was necessary for JSON-ifying partial lines of diffs when porting in fossil's 2021-09 JSON diff builder. check-in: 2936a80e9f user: stephan tags: trunk | |
15:52 | Facepalm fix for [ee32b99f4765]. check-in: c7a1d658fd user: stephan tags: trunk | |
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. check-in: af4d016879 user: stephan tags: trunk | |
14:29 | Build kludge to get libfossil.{c,h} out of the TAGS file. check-in: ee32b99f47 user: stephan tags: trunk | |
2021-09-18
| ||
17:39 | More work on the 2021 diff backend port. Still much to do. check-in: ed33831c3f user: stephan tags: trunk | |
16:14 | license: added a note about having DRH's consent to re-assign copyright on code ported from fossil into libfossil. check-in: c779392286 user: stephan tags: trunk | |
14:36 | Initial work on porting in the 2021-era diff generation APIs. check-in: e0d00097e0 user: stephan tags: trunk | |
10:48 | Tiny internal optimization in diff output. check-in: 5a1f0835b9 user: stephan tags: trunk | |
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. check-in: b2e283edbf user: stephan tags: trunk | |
2021-09-17
| ||
05:24 | Added the logic for handling the --no-fnc configure option (disables ncurses check and client/fnc build). check-in: 06d485c07c user: stephan tags: trunk | |
05:17 | Added (un)install rules for libfossil.*, non-test f-apps, and f-s2sh. check-in: 2fbfca2368 user: stephan tags: trunk | |
2021-09-15
| ||
13:37 | Merged inadvertent fork. check-in: 9c7743c825 user: stephan tags: trunk | |
12:54 | Fixed a buffer overwrite by 1 byte which corrupted a fsl_deck object and triggered assertion. check-in: a1ef6254e5 user: stephan tags: trunk | |
2021-09-13
| ||
23:11 | Latest upstream fnc. check-in: 7efa956d12 user: stephan tags: trunk | |
2021-09-07
| ||
20:03 | Build: more autosetup code moved from auto.def to wh-common.tcl and Makefile added to distclean rules where appropriate. check-in: 5114263392 user: stephan tags: trunk | |
2021-09-06
| ||
23:09 | More autosetup-related cleanups. check-in: 523dbf8d93 user: stephan tags: trunk | |
20:28 | Minor autosetup cleanups. check-in: 34622de2e5 user: stephan tags: trunk | |
18:49 | wh-common.tcl: wh-bin-define now caches based on the combination of its arguments, not just the first argument. check-in: 29ee621588 user: stephan tags: trunk | |
2021-09-05
| ||
18:57 | Minor cosmetic build touchups. check-in: 6c9b609833 user: stephan tags: trunk | |
17:17 | Correct f-aparse's timeline text prefix (was using old name of f-mfparse). check-in: 7549ef1764 user: stephan tags: trunk | |
16:42 | Added fsl_repo_manifest_write(). fsl_repo_zip_sym_to_filename() now writes (manifest, manifest.uuid, manifest.tags) to the zip unconditionally. It should probably only do so if no file matching those names is actually part of the repo content, but we'll fix that if it ever becomes a problem. check-in: 395518ff88 user: stephan tags: trunk | |
16:33 | Build: make sure that the amalgamation build does not end up in the etags file. Look for etags binary at configure-time instead of build-time. check-in: 2013bb6303 user: stephan tags: trunk | |
14:41 | Simplified previous checkin. check-in: f42cf853ab user: stephan tags: trunk | |
14:32 | Fixed -h/--no-header flag to f-query - was previously a no-op. check-in: 701619e142 user: stephan tags: trunk | |
2021-09-02
| ||
18:43 | Adapted amalgamation.html generator to be able to get the file size on both linux and bsd (their /usr/bin/stat's work entirely differently). check-in: 3c58318a6b user: stephan tags: trunk | |
18:02 | Latest upstream changes from fnc. Includes a screen-rendering bug fix, and improved error handling/reporting in the multibyte to wide-char conversion. check-in: ce9e0fcfd0 user: mark tags: trunk | |
02:54 | Latest upstream fnc, including install rules. check-in: 4dcc4638df user: stephan tags: trunk | |
2021-09-01
| ||
14:31 | Initial port of severely overengineered (un)install rules from an older project. Hopefully this doesn't break much. check-in: 906b382ec6 user: stephan tags: trunk | |
12:35 | Code consolidation in wh-common.tcl. Moved libf's module loader check into wh-common.tcl. check-in: a90130eadb user: stephan tags: trunk | |
11:41 | Factored some of auto.def into reusable autosetup/wh-common.tcl for reuse in this tree, fnc, and cwal. check-in: d5be981fc0 user: stephan tags: trunk | |
10:45 | Updated to latest upstream autosetup (0.7.0+). check-in: cb4a63f07c user: stephan tags: trunk | |
04:08 | Brought client/fnc/Makefile.in up to date with regards to fnc. This might fix the debian build. check-in: 7673fd7c59 user: stephan tags: trunk | |
03:56 | auto.def now checks for bash and sets its full path in config.make. check-in: d3b61304ba user: stephan tags: trunk | |
03:48 | config.make: changed SHELL:=/usr/bin/bash to /bin/bash (seems to be more portable). check-in: 43da785954 user: stephan tags: trunk | |
03:33 | Latest upstream fnc.c. check-in: 69427e2bd9 user: stephan tags: trunk | |
2021-08-31
| ||
16:42 | Latest upstream fnc.c. check-in: f1236f3110 user: stephan tags: trunk | |
2021-08-30
| ||
12:15 | Minor doc, constness, and char-as-bool tweaks. check-in: 3ada2fce76 user: stephan tags: trunk | |
12:15 | Fixed subdir build not diving into dir client/fnc. check-in: c4eb22996f user: stephan tags: trunk | |
03:16 | Minor doc correction. check-in: 27e6e35f3d user: stephan tags: trunk | |
2021-08-29
| ||
13:30 | Added missing first half of an extern "C" block in C++ compilation mode. check-in: 4daa314918 user: stephan tags: trunk | |
12:31 | Added build bits to create and push builds of the amalgamation as /uv content. check-in: fbd839f03a user: stephan tags: trunk | |
12:31 | Fixed a null pointer deref in a f-ci misuse case. check-in: 93f9b07776 user: stephan tags: trunk | |
2021-08-25
| ||
13:59 | Pulled in upstream fnc auto.def patch to disable pkg-config ncurses check on macOS due to lib path incompatibilities between base OS, brew, and/or macports. check-in: 7644dfda4f user: stephan tags: trunk | |
12:27 | Ported in ncurses detection/build improvements from main fnc tree. check-in: 62de1836b6 user: stephan tags: trunk | |
2021-08-24
| ||
18:57 | Latest upstream fnc.c. check-in: 5d4335a934 user: stephan tags: trunk | |
18:55 | Removed a senseless result code check. check-in: 5209050f47 user: stephan tags: trunk | |
18:33 | Fixed a buffer-reset bug in the previous commit. check-in: 93f0b5c202 user: stephan tags: trunk | |
18:31 | Per /chat discussion, refactored [043c2667c95e] to internally fall back to the v0 fingerprint check, instead of exposing that as part of the API. Resolved libfossil.{c,h} build deps bug. check-in: 15c135de66 user: stephan tags: trunk | |
17:12 | Enhance repo fingerprint check to cover old repositories. This commit adds an extra check to match repository fingerprints using the original algorithm that some old repositories in the wild may need. check-in: 043c2667c9 user: mark tags: trunk | |
13:31 | Build fix for the amalgamation build on macOS. The new amalgamation build requires lib iconv on macOS. check-in: ee5b0675a1 user: mark tags: trunk | |
2021-08-23
| ||
15:36 | Build-related cleanups. check-in: 5d405b727b user: stephan tags: trunk | |
14:40 | Added HAVE_CONFIG_H check to libfossil.h so a local config.h can be used to set libf-specific defines before libfossil-config.h defaults any to conservative values. check-in: 5f528e01b4 user: stephan tags: trunk | |
14:10 | Added missing (or at least seemingly missed) sqlite3ext.h, needed for building with the libfossil amalgamation. check-in: e8e02907ee user: stephan tags: trunk | |
13:21 | libfossil.o is now built using the configured compiler instead of trying with both gcc and clang because... fnc is now built against the amalgamation. This leads to a much larger binary but will simplify the upstream source tree considerably once this change is ported over to there. check-in: c2bb259b7c user: stephan tags: trunk | |
09:52 | Error handling cleanup improvements in f-adiff.c. check-in: d9c0884771 user: stephan tags: trunk | |
2021-08-22
| ||
22:56 | Pulled in [https://cvs.bsdbox.org/fnc/info/8804f1b9fb573a2ce444 | upstream fnc checkin 8804f1b9fb573a2ce444]. check-in: d9d98ad8f9 user: stephan tags: trunk | |
2021-08-19
| ||
19:18 | Pulled in upstream fnc checkin [https://cvs.bsdbox.org/fnc/info/b9024c7b708465ed1cfa | b9024c7b708465ed1cfa], which line-wraps long checkin comments in the diff view. check-in: 57d36d8668 user: stephan tags: trunk | |
2021-08-18
| ||
20:25 | Initial go at getting fnc integrated into the tree. The configure part is as yet untested on BSD, though. check-in: 9c613222b2 user: stephan tags: trunk | |
2021-08-14
| ||
19:58 | Initial go at detecting curses from auto.def for use in importing fnc into this tree. Still untested on BSD. check-in: 5809d65395 user: stephan tags: trunk | |
2021-08-09
| ||
20:07 | Added fcli_progname() as a portable substitute(?) for BSD's getprogname(). check-in: 3d0057a245 user: stephan tags: trunk | |
2021-08-05
| ||
15:44 | Another build-fix to account for a recently-removed file. check-in: 23a5d44c08 user: stephan tags: trunk | |
15:40 | Build fix for the amalgation. check-in: 074f06e1a9 user: stephan tags: trunk | |
2021-07-29
| ||
09:10 | Removed references to a now-unused file. check-in: 7acda68f55 user: stephan tags: trunk | |
2021-07-24
| ||
11:05 | Latest upstream s2 for what might be the 'final' changes needed to integrate the CWAL_OBASE_ISA_HASH option. check-in: 9403882395 user: stephan tags: trunk | |
2021-07-23
| ||
11:06 | Latest upstream s2 for new pragma(build-opt IDENTIFIER), which gives us a way to query build-time options from scripts. check-in: d6b2323055 user: stephan tags: trunk | |
05:07 | Latest upstream s2 which resolves the last known open issue with the CWAL_OBASE_ISA_HASH toggle. check-in: 487bc7d38e user: stephan tags: trunk | |
2021-07-12
| ||
14:59 | Merged inadverted fork from the BSD box. check-in: c8fefc3d17 user: stephan tags: trunk | |
14:24 | Latest upstream s2 with some minor build-time, doc, and unit test tweaks. check-in: a08eb62a66 user: stephan tags: trunk | |
03:08 | Latest upstream s2, configured to use hashtables for property storage. check-in: ea62cfc2ec user: stephan tags: trunk | |
01:05 | Initialized some vars to squelch compiler warnings. check-in: 855c60d0ee user: stephan tags: trunk | |
2021-07-11
| ||
09:16 | Latest upstream s2, for testing purposes. check-in: 9e2a6e3934 user: stephan tags: trunk | |
2021-07-07
| ||
03:28 | Added tools/schema-info-views.sql, gleaned from the sqlite forums. check-in: f5bf8a80c9 user: stephan tags: trunk | |
03:08 | Fixed a broken empty-title check in forum post crosslinking. check-in: 8d757883d2 user: stephan tags: trunk | |
2021-06-26
| ||
09:32 | Another upstream s2, to eliminate s2_rc_cstr(). check-in: aed85cfd53 user: stephan tags: trunk | |
08:19 | Pulled in latest upstream s2. check-in: f97531baac user: stephan tags: trunk | |
2021-06-25
| ||
06:42 | Minor cleanup to [1d193a7055ad13fb]. Corrected an is-in-a-transaction check in f-ci to handle a pending rollback. check-in: 5b5d1f2030 user: stephan tags: trunk | |
05:29 | Merged an inadvertent fork. fsl_checkin_enqueue() can now accept its files as vfile.id values, eliminating a duplicate vfile check. check-in: 1d193a7055 user: stephan tags: trunk | |
04:26 | Removed an unnecessary #include. check-in: 681c930f1d user: stephan tags: trunk | |
2021-06-06
| ||
12:41 | Internal doc and spacing tweaks. check-in: 8015c8a698 user: stephan tags: trunk | |
07:30 | Removed some dead code. Minor internal doc touchups. check-in: 1fff00e7c7 user: stephan tags: trunk | |
2021-06-04
| ||
11:12 | f-tag now rejects tags starting with (sym-, wiki-, tkt-, event-), as those are used internally by fossil. check-in: 82b4bb88ac user: stephan tags: trunk | |
2021-06-01
| ||
03:45 | Minor var init order tweak to ease my mind about its handling in a particular error case. check-in: 7b792bd557 user: stephan tags: trunk | |
03:27 | Minor doc and char-to-bool touchups. check-in: b199e29d41 user: stephan tags: trunk | |
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. check-in: b53ba022ec user: stephan tags: trunk | |
2021-05-30
| ||
23:00 | Tiny internal cleanups. check-in: 20b912e015 user: stephan tags: trunk | |
03:23 | Added a harmlessly missing #undef. check-in: 36893a35c0 user: stephan tags: trunk | |
2021-05-29
| ||
22:39 | Ported in [https://fossil-scm.org/home/info/31113cd2b992cde3], which enables propagation of tags in wiki, technote, and forum posts. This change is not yet known to be 100% compatible with existing algos which may expect the plink table to only contain checkins. check-in: 0e159c2f67 user: stephan tags: trunk | |
2021-04-18
| ||
13:37 | When creating initial checkin for a repo, use ms precision for the D-card, instead of seconds precision. Do the same in f-test-ciwoco to avoid a slight time warp in the timeline caused by repo creation and the first checkin having the same timestamp. check-in: cc34c60a45 user: stephan tags: trunk | |