Login
Timeline
Login

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

90 check-ins using file f-apps/f-query.c version 4cece193b0

2021-09-15
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-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
2021-04-17
10:06
Added missing ticket schema when creating a new repo. check-in: 419990a788 user: stephan tags: trunk
05:58
f-ci now runs in non-dry-mode by default (no longer needs the -y flag). check-in: a038536522 user: stephan tags: trunk
2021-04-16
16:24
Added a negative test for the repo/checkout fingerprint check. check-in: 27433d3e1c user: stephan tags: trunk
16:17
Implemented repo/checkout fingerprint check and added a check for it in f-status, f-timeline, and f-ci (failing fatally on a mismatch, instead of just warning like fossil does). We now update the fingerprint in the ckout db whenever we update the ckout version. We do not yet have an automatic recovery mechanism analog to fossil's vfile.c:vfile_rid_renumbering_event(). check-in: 8c9cf48702 user: stephan tags: trunk
14:32
Inject a dummy rcvfrom entry when creating a new repo db in order to squelch the fingerprint-has-changed warning when fossil opens the db. check-in: 835d5a059b user: stephan tags: trunk
13:47
Added a potential TODO to fcli's CLI processing. check-in: d549476263 user: stephan tags: trunk
2021-04-14
04:10
Renamed fsl_cx_forbids_delta_manifests() to fsl_repo_forbids_delta_manifests() because it's really a repo-level setting. check-in: 755c059371 user: stephan tags: trunk
03:59
Updated C++ and s2 bindings for recent API changes. check-in: b490766728 user: stephan tags: trunk
03:53
Renamed fsl_cx_forbid_delta_manifests() to fsl_cx_forbids_delta_manifests() so that it doesn't sound like a setter function. check-in: 7501bb92f9 user: stephan tags: trunk
03:38
fsl_deck_save() now honors the forbid-delta-manifests policy, rejecting any delta manifests. fsl_deck_derive() now converts any delta manifest to a baseline in order to avoid certain corner cases. Added some f-sanity tests for these new cases. check-in: ea6074b8ad user: stephan tags: trunk
2021-04-13
16:04
Added option to toggle R-card generation for f-test-ciwoco. Added extra/unhandled args check to f-timeline.c. check-in: 2b05c5915f user: stephan tags: trunk
15:18
Added fsl_deck_branch_set() and f-test-ciwoco now uses it. Fixed a _potential_ error-catching bug in the %j fsl_appendf() handler (which is still pending a port to fsl_output_f() return semantics). check-in: e9aed30c66 user: stephan tags: trunk
14:58
f-test-ciwoco now sets a branch name when creating an initial commit with files, else we can't resolve the entries using a branch name. check-in: 1a1154ca84 user: stephan tags: trunk
14:47
Added further commit to f-test-ciwoco to demonstrate that new file versions cause prior versions to get delta-compressed. check-in: ee83ef5f2d user: stephan tags: trunk
14:26
Corrected a memory mis-read of an MD5 hash using a SHA1/SHA3 length. Minor cleanups up f-test-ciwoco. check-in: 88ed2e9e9d user: stephan tags: trunk
14:17
Integrated deck-reworking branch. check-in: 366ce326e6 user: stephan tags: trunk
14:15
fsl_repo_create() now unlinks a failed repo and unlinks it before starting instead of using fopen() to truncate it. f-ciwoco is working. Closed-Leaf check-in: 63d85115a9 user: stephan tags: deck-reworking
13:20
Fixed a broken assert() in fsl_ckout_manage() when current rid==0. Fixed duplicate mlink entries for an initial commit with no parent. Finally realized that the dbs cannot be detached when a transaction is pending and adjusted the fsl_cx db-close interfaces to be able to report that. Started work on a demo app which creates and populates a repo without using a checkout, but it's incomplete - got sidetracked chasing down those bugs. check-in: fcdeddd18a user: stephan tags: deck-reworking
07:33
More work on the fsl_deck_derive()-related bits. Internal API modernization in fsl_content_put_ex(). check-in: 64b07ff5a8 user: stephan tags: deck-reworking
05:28
Removed fsl_deck::error, relying on fsl_deck::f::error instead. Added fsl_deck_F_set() in prep for APIs to simplify creating new checkins without requiring a checkout. Fixed a U-card validation bug in fsl_deck_output(). check-in: f839ab3edd user: stephan tags: deck-reworking
2021-04-12
15:48
Fixed, i believe, the checkin process not properly tagging the new leaf, caused by swapped handling of the is-it-a-leaf result. Need to make a commit to actually test it, though. Edit: worked :). check-in: 2791e665cc user: stephan tags: trunk
2021-04-10
11:14
API doc cleanups, removed some extraneous is-NULL checks on function arguments, and added a couple assert()s to f-sanity.c. check-in: e314f2f9df user: stephan tags: trunk
2021-04-09
11:07
fsl_deck_F_foreach() signature changed to remove the option which caused looping to behave differently for delta manifests, as that difference is an internal detail. Fixed the FSL_RC_BREAK return case of fsl_deck_F_foreach(). check-in: 176d9af72a user: stephan tags: trunk
2021-04-05
10:23
Minor generic cleanups in fcli and related app-side code. check-in: c62ffa1046 user: stephan tags: trunk
2021-04-04
05:07
f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. check-in: 1d3192c82b user: stephan tags: trunk