Login
Timeline
Login

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

157 check-ins using file cpp/Context.cpp version 20dc825774

2021-02-11
12:25
Moved f-tools wiki page to f-apps/index.md. check-in: 827f5c8bc3 user: stephan tags: trunk
11:29
Manifest parsing: moved the guess-card-type logic to the end, after the cards have had a chance to apply the type themselves. Ported in some undocumented(?) but code-implemented corner-case constraints, such as not allowing tag names which look like hex hashes. check-in: 4b7e3d1ac6 user: stephan tags: trunk
06:38
fsl_deck_parse(): when we know that the current card can only possibly belong to a certain deck type, assign the deck type immediately, rather than delaying it to the "guess" phase (which may actually have already deduced the type, anyway). This provides the same results as before but should be a bit more robust. Removed some dead code. check-in: 92a5e7fee4 user: stephan tags: trunk
06:14
Improved fsl_mf_parse() artifact type guessing to eliminate an over-zealous type classification. Implemented the technote swapped P/N-cards bug workaround from the main fossil tree. f-parseparty now includes UUIDs of failed parses and can now parse the whole core fossil (and forum) artifact collection without any errors. check-in: 88060bfb9b user: stephan tags: trunk
04:42
Added f-parseparty --types=... flag to select types of artifacts to test. check-in: c0a6cc5b55 user: stephan tags: trunk
04:41
Moved some at-exit cleanup code. check-in: d6afb451a0 user: stephan tags: trunk
03:26
Merged in make-compdb branch and added test for that feature in auto.def. check-in: 2b7680dd90 user: stephan tags: trunk
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. check-in: 0163960ce0 user: stephan tags: trunk
2021-02-10
19:37
Changed fossil-scm.org/fossil to fossil-scm.org/home, per recent change on that end. check-in: a54f70e148 user: stephan tags: trunk
18:23
Stephan's discussion document on the Fossil data model check-in: 8876efccd3 user: dan tags: trunk
15:46
Minor doc updates and improved a case of error propagation. check-in: 88f850cd66 user: stephan tags: trunk
15:45
Added fcli_fax() (free-at-exit). check-in: e8b7fd94e6 user: stephan tags: trunk
13:51
Amend make config files to generate compilation database. Add MAKE_COMPILATION_DB variable to enable the '-MJ' flag on supported compilers to generate a compile_commands.json compilation database. Closed-Leaf check-in: b9be211162 user: mark tags: make-compdb
2021-02-09
19:42
Typo fix. check-in: 7c8f09ac3d user: stephan tags: trunk
18:21
Re-added autosetup-test-tclsh. Is the +x bit retained now? check-in: b242c6bef3 user: stephan tags: trunk
18:20
Temporarily removing autosetup-test-tclsh to try to work around the ability to +x it. check-in: c6d06e4728 user: stephan tags: trunk
18:18
Wha??? Added +x bit again - apparently libf's checkin process does not catch attribute-only changes properly? Edit: this checkin was made with fossil(1), but same thing. check-in: dab3ac63d1 user: stephan tags: trunk
18:17
Added +x bit again - apparently libf's checkin process does not catch attribute-only changes properly? check-in: cb3d4e371d user: stephan tags: trunk
18:15
Added +x bit (wasn't this already done?). check-in: 7dab52fd0e user: stephan tags: trunk
18:08
Merged inadvertent fork. check-in: dbfab53142 user: stephan tags: trunk
18:06
Fixed creation of new repository (fsl_repo_new() and f-new.c). Added checkin message mimetype to repo creation options. check-in: 162d4ba4c8 user: stephan tags: trunk
11:40
Added some protections against generating empty checkin. Removed some stale docs. check-in: 9bff657291 user: stephan tags: trunk
11:35
finalise licenses dir / check-in: 6347de6f38 user: dan tags: trunk
11:22
add license directory for files to point to check-in: 2aa8c19588 user: dan tags: trunk
11:10
Added +x bit. check-in: 27e1f8ee2b user: stephan tags: trunk
09:52
Removed some stale docs. Add new checkins to the UNSENT table (though whether or not they're in there appears to make no difference?). check-in: a52c8a0690 user: stephan tags: trunk
09:49
Added a fsl_cx flag to silently skip, instead of error out, when crosslinking encounters a type it cannot yet handle (currently forum posts and tickets). check-in: a2c0c7820d user: stephan tags: trunk
08:54
Re-added sqlite3ext.h (needed by the vtable bits). Added if-not-defined guards around the generated config header vars. Minor touchups to the amalgamation build. check-in: 62099c7d53 user: stephan tags: trunk
08:53
Fixed a null pointer deref in a routine i thought never got passed NULLs. check-in: d826ff335f user: stephan tags: trunk
05:07
Explicitly insert vfile.mhash with a NULL value. check-in: ac52d23368 user: stephan tags: trunk
05:06
Implemented FSL_HPOLICY_SHUN_SHA1. check-in: 9418c5e60f user: stephan tags: trunk
05:03
Removed an unnecessary var-guard. check-in: 1d9b5aa3c0 user: stephan tags: trunk
04:25
Minor doc updates. check-in: 0d0a30f979 user: stephan tags: trunk
04:23
Versioned file access no longer follows symlinks. check-in: d8a6788d85 user: stephan tags: trunk
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. check-in: 631fb3f69a user: stephan tags: trunk
2021-02-08
23:48
Added forum type to f-timeline. check-in: c2d78cbb4b user: stephan tags: trunk
23:47
Renamed the hash length constants. check-in: 0c9a6d3644 user: stephan tags: trunk
23:42
Updated s2 bindings for new forum-deck cards. check-in: 05542c5251 user: stephan tags: trunk
23:35
Merged in [sha3-port] branch. There's certainly still bits to test, but it now more or less supports both SHA1 and SHA3-256 hashes. check-in: ff13fc9b52 user: stephan tags: trunk
23:32
Added deck support for forum posts, except that crosslinking them is currently unimplemented (requires more infrastructure). Closed-Leaf check-in: b0ac77411e user: stephan tags: sha3-port
20:45
MILESTONE: f-ls just read a file listing from the main fossil repo (v2 hashes). Set f-mfparse back to hard-coded sha1 for the time being, as i'm not sure i can automatically figure out one or the other hash (need to add a flag to specify which to use). check-in: 8367e0ce6e user: stephan tags: sha3-port
20:35
Ported in more of the fossil(1) hashing-related infrastructure. check-in: 033d78f03f user: stephan tags: sha3-port
18:23
f-apps compile and f-sanity runs. MILESTONE. Still need to test the other f-apps, though. check-in: 76c290eb05 user: stephan tags: sha3-port
16:49
Reverted autosetup to 0.6.9 to [https://github.com/msteveb/autosetup/issues/59]. check-in: 9538db33d6 user: stephan tags: sha3-port
16:42
th1 was removed by stephan check-in: cc0bac7250 user: dan tags: trunk
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. check-in: 240701a6ec user: stephan tags: sha3-port
13:34
Apply the sqlite3.c CPPFLAGS currently used by fossil(1). check-in: f16a3dd322 user: stephan tags: trunk
07:44
Brought core SQL schemas up to date wrt fossil(1). check-in: 490dadcad9 user: stephan tags: trunk
07:43
Updated autosetup. check-in: 48120a033a user: stephan tags: trunk
06:53
Resolved the s2 unit test breakage: config.h settings led to it not stat'ing a dir entry the same way the core s2 tree was, which revealed a slight bug in s2.import's is-a-dir check (namely, not recognizing a dir as a dir). check-in: 17ac91740c user: stephan tags: trunk
06:15
Updated s2 and brought old fossil bindings up to date wrt cwal/s2 changes made since then. Core s2 unit tests are inexplicably failing with a bogus(?) OOM report with this shell build, but they work in the core s2 tree and libf unit tests are passing. check-in: f063fd4f0f user: stephan tags: trunk
06:11
Fixed a swapped value check in fsl_cx_db_name_for_role(). check-in: a6a15065e1 user: stephan tags: trunk
04:49
Removed long-since-obsoleted th1ish. check-in: 36e2410ca1 user: stephan tags: trunk
04:48
Undefined all sha1-hardened-related defines at the end of that code, for the sake of an eventual amalgamation build. check-in: 6ce8ec4fef user: stephan tags: trunk
04:31
Ported in hardened SHA1 hash and set default build config to use that one instead of standard SHA1. check-in: 0f3f1d2bf2 user: stephan tags: trunk
2021-02-07
14:39
Back-ported diff numeric overflow fix from [https://fossil-scm.org/fossil/info/e2b7dca948da84b7]. check-in: f11bfb3bcf user: stephan tags: trunk
14:31
Globally replaced http://... URLs with https://.... Most of them probably still work, too. check-in: 6af7b3b7c8 user: stephan tags: trunk
14:27
Updated Doxygen.in and remote doc path. check-in: b78d59d054 user: stephan tags: trunk
13:39
Updated sqlite3 for C99-ism fix. Removed sqlite3ext.h. check-in: 601041d827 user: stephan tags: trunk
10:45
Ported in core SHA3 hash routines from fossil(1). check-in: edf64345bb user: stephan tags: trunk
10:32
Updated build for newer gcc and sqlite3.c, in prep for a potential upcoming effort of getting the hashing bits updated for fossil v2. check-in: 451d0b8a9b user: stephan tags: trunk
2018-12-01
15:59
i know this isn't maintained anymore, but found a broken assert() while porting the db wrapper into another tree. check-in: 5c9c84f81d user: stephan tags: trunk
2016-08-26
15:15
latest s2 for ARM platform fixes. check-in: e961eb1201 user: stephan tags: trunk
2016-08-20
12:37
fixed a mis-think in the previous commit which caused unnecessary extra allocations. check-in: 679e38294a user: stephan tags: trunk
12:13
fixed: when parsing F-cards, defossilize their names (in-place) before insertion into the deck. Was broken with space-containing filenames. check-in: 9f317f8fa8 user: stephan tags: trunk
11:41
s2 update. check-in: b7da6be617 user: stephan tags: trunk
2016-03-14
17:21
minor s2 update. check-in: e9556c1886 user: stephan tags: trunk
17:08
latest s2 for proc() using(...) {...}. check-in: daa02e9344 user: stephan tags: trunk
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. check-in: a43aece996 user: stephan tags: trunk
2016-03-06
10:52
latest s2. check-in: 633707c54a user: stephan tags: trunk
2016-03-05
21:42
Internal cleanups in the Fossil.Db.open() binding. And this time passed the -v flag to f-tag. check-in: f15fa6ba7c user: stephan tags: trunk
13:55
fixed broken return vals from fsl_db_existsv(). check-in: f6f9628a30 user: stephan tags: trunk
2016-02-29
17:41
Rewrote the "can call dlopen() without -ldl" auto.def test so that it will fail on Linux (thereby continuing on to the next clause, which handles the Linux case) while still doing the right thing on FreeBSD. check-in: 94468be8ca user: tangent tags: trunk
14:04
removed cgimod bits (moved them to the s2 module repo). Some CGI-related scripts kept around for later tinkering. check-in: d4b02ee824 user: stephan tags: trunk
13:16
more -ldl flag tweaking - this is likely to break s2 on BSD again (where -ldl is not needed), but the current test for "dlopen is built-in" incorrect reports success on my linuxes then does not work at link-time. check-in: 008a3a3208 user: stephan tags: trunk
13:01
fixed a syntax error not reported on my odroid box b/c that block was not hit. check-in: c90823b297 user: stephan tags: trunk
12:43
straightened out the module loading flags. fixed breakage in f-s2sh.s2 caused by s2 making "import" a reserved word. Removed th1ish leftovers from cleanup rules. check-in: 2e4dd625ab user: stephan tags: trunk
11:58
latest s2, including %d patch from Warren. Disabled loadable modules temporarily due to a local system hiccup. check-in: efd0f500fe user: stephan tags: trunk
11:41
merged in os-x-fixes branch from Warren. One of those changes will be overwritten by a pending s2 update, though. check-in: 61d8fbeee2 user: stephan tags: trunk
11:29
merged in freebsd-10-fixes bundle from Warren. check-in: a6b8958efc user: stephan tags: trunk
2016-02-28
19:34
Added s2_amalgamation.o to the link step for cgimod.so, without which you get a bunch of undefined symbols, at least on OS X. Closed-Leaf check-in: 781346a2e4 user: tangent tags: os-x-fixes
19:30
Removed GCC-specific -export-dynamic flag in f-s2sh's Makefile, per mailing list discussion. check-in: df42433396 user: tangent tags: os-x-fixes
19:29
Squished printf() format specifier warning in s2 amalgamation, per mailing list discussion. (It really needs to be fixed in s2, but I need it fixed in *this* tree in order to continue work, so...) check-in: 4d5d7ace65 user: tangent tags: os-x-fixes
19:24
autoconfigure now checks for iconv(3) in libc and libiconv; this is needed on OS X at least, and may also be needed on older SUS type Unixes. (libiconv comes to SUS via XPG4, and thence from HP/UX.) We check for it in libc first because it's built into the standard C library in glibc and FreeBSD's libc, at least. Also, added $(LDLIBS) to the link flags in shakenmake, without which the above fix has no effect. check-in: cd6b27805b user: tangent tags: os-x-fixes
17:39
Removed -static-libgcc flag from shakenmake.make, since that's GCC-specific, breaking the build under Clang, and presumably other C compilers. It only allows fully-static binary builds, which is not a generally-useful thing anyway. (Consider the recent glibc DNS bug. (CVE-2015-7547) Do you really want to rebuild every binary on the system to fix it, or just upgrade glibc?) check-in: 00f219f225 user: tangent tags: os-x-fixes
17:15
Fixed a fossil_strdup() -> fsl_strdup() hiding in an ifdef that's true on OS X only. check-in: a571a60261 user: tangent tags: os-x-fixes
2016-02-23
19:58
Added -fPIC to CPPFLAGS in s2/Makefile, without which it won't link on FreeBSD Closed-Leaf check-in: 164d5552e8 user: tangent tags: freebsd-10-fixes
19:47
Swapped the two dlfcn.h detection cases in auto.def. Previously, if it found that header it would then go blindly chasing after libdl. But on FreeBSD, the header exists and libdl does not because those functions are built into libc. The second case checked for this, but because dlfcn.h was found, it was never even tried. The new way tries to build against the dl functions without libraries *first* and only then if that fails does it go chasing after libdl. check-in: 870a29ea5d user: tangent tags: freebsd-10-fixes
19:15
Updated _XOPEN_SOURCE definition from 500 to 600, as that's needed to allow lstat(2) to be visible under FreeBSD 10. check-in: 2755eb8768 user: tangent tags: freebsd-10-fixes
2016-02-18
16:00
latest s2, fixed an error handling case in Fossil.Context.loadManifest() (caught by an assertion). check-in: a4b5749230 user: stephan tags: trunk
11:24
fixed an assertion, improved an error message (just now triggered by files with spaces in their names :/). check-in: a5d8233f6d user: stephan tags: trunk
2016-02-17
21:27
Latest s2 and a Happy 8th Birthday to Baako. check-in: 56901c5b0a user: stephan tags: trunk
2016-02-12
15:38
more tinkering with q-ancestry.sql. check-in: c5dc22c1d2 user: stephan tags: trunk
10:32
typo fix. check-in: 59fe7b70ce user: stephan tags: trunk
2016-02-10
16:33
Removed extended s2.Buffer unit test script because this feature is now supplied by the s2 core and its unit tests. (Make sure to rm s2/UNIT*.s2 or 'make unit' may still try to import it.) check-in: 10da5cf074 user: stephan tags: trunk
16:30
Updated s2 and related build bits, removed the libfossil-injected s2.Buffer.compress() and friends because those have been ported over to the s2 core. check-in: a25251e6b0 user: stephan tags: trunk
2016-01-31
17:54
latest s2, re-enabled test combinations disabled when string interning was recently turned off. check-in: 6085b8689d user: stephan tags: trunk
2016-01-28
12:40
minor script updates. check-in: 1cffc35efe user: stephan tags: trunk
12:29
sqlite3 version 3.10.0. check-in: 99efd91396 user: stephan tags: trunk
2016-01-27
09:31
s2 update to disable string interning because how s2 manages values is (occassionally) incompatible with interning, leading to cwal-level memory misuse and assertions getting triggered. check-in: f9eba44f38 user: stephan tags: trunk
2016-01-24
18:43
okay, last s2 for a while. check-in: eb54d84520 user: stephan tags: trunk
02:05
latest s2, lots of minor tweaks. check-in: 8a4665bffa user: stephan tags: trunk
02:04
an admittedly untested changed to etPATH handling ('%/' specifier) tweak in fsl_appendf(), to avoid allocating for 0-length strings. check-in: 965a326ce2 user: stephan tags: trunk
2016-01-22
15:31
added a missing return on error. check-in: c95de406e5 user: stephan tags: trunk
2016-01-13
16:32
minor doc correction. check-in: 754f74c4b9 user: stephan tags: trunk
2016-01-09
18:17
MOAR latest s2. check-in: efb9c69d75 user: stephan tags: trunk
2016-01-08
17:10
latest s2, accommodated API change. check-in: 2827317748 user: stephan tags: trunk
2016-01-07
21:11
replaced impl_fsl_buffer_swap with fsl_buffer_swap. check-in: 51bafea46e user: stephan tags: trunk
20:57
merged in dave's old branch. The related strangely failing tests seem to work now :). Also the latest s2. check-in: feb9f32d06 user: stephan tags: trunk
19:25
back-ported in http://www.fossil-scm.org/index.html/info/ecedaf93991c66a4 (zip fix for 0-byte files). check-in: 0043352e45 user: stephan tags: trunk
19:23
adding empty file to help test some 0-size corner cases. check-in: 5c449173a5 user: stephan tags: trunk
07:14
straightening out an accidental fork, possibly caused by a libfossil bug when testing the previous few commits. check-in: 01a238f837 user: stephan tags: trunk
07:08
comments related to https://www.fossil-scm.org/index.html/info/18607775fe2e3aa3 check-in: 5fbcdd6b4b user: stephan tags: trunk
2016-01-06
17:15
latest s2. check-in: 4b42506fe4 user: stephan tags: trunk
17:15
workaround for recent gcc adding __func__ warnings in -pedantic mode. check-in: adf79c4a82 user: stephan tags: trunk
2015-12-28
22:04
disable some kludgy code, added some todos. check-in: 11fac6a958 user: stephan tags: trunk
21:47
fixed broken (swapped) logic in fsl_rid_is_leaf(). check-in: 2273183275 user: stephan tags: trunk
21:44
another test of the leaf-check fix check-in: f0930aedad user: stephan tags: trunk
21:41
another test of the leaf-check fix check-in: 12acd9c844 user: stephan tags: trunk
21:33
another test of the leaf-check fix check-in: 7eb42e237a user: stephan tags: trunk
21:24
another test of the leaf-check fix (not included in this commit). Found 2 bugs compared to fossil(1). check-in: 7a117a135a user: stephan tags: trunk
21:00
ancient CGI tinkering - need a commit to test a fix. check-in: 17216ed8c6 user: stephan tags: trunk
19:20
potential fix for the missing leaf update when crosslinking. Fixes a mismatch with fossil(1), in any case. Edit: nope, didn't fix that particular problem, but was nonetheless a bug. check-in: c9010b6036 user: stephan tags: trunk
19:08
backported in delta generation tweaks from http://www.fossil-scm.org/index.html/vdiff?from=063779a14cb7c4a7&to=dbbe320297e55cb4 check-in: ff9e4cea5c user: stephan tags: trunk
2015-12-13
15:46
back-ported in http://www.fossil-scm.org/index.html/info/8e44cf6f4df4f9f0. check-in: ee2a7f7c06 user: stephan tags: trunk
2015-08-17
10:38
minor internal text fix. check-in: 6a88a2d589 user: stephan tags: trunk
10:36
minor API text tweak. check-in: 08e1ce7fd4 user: stephan tags: trunk
10:35
removed confusing bit of help text, corrected other help text. check-in: 9e2f749e6d user: stephan tags: trunk
2015-07-30
07:49
latest s2. check-in: 54bdadaf14 user: stephan tags: trunk
2015-07-25
07:59
confusing doc fix. check-in: c0abb85213 user: stephan tags: trunk
2015-07-23
18:02
ported in relatively recent mlink/plink changes - requires newer fossil aux schema. check-in: ee03f7343f user: stephan tags: trunk
14:51
back-port in some precision/width overflow fixes from https://www.sqlite.org/src/info/aeca95ac77f6f320 check-in: ac6f25aaba user: stephan tags: trunk
2015-07-21
17:15
minor test tweak check-in: 1cfe75477d user: stephan tags: trunk
16:34
minor test code improvements. check-in: cb3828bc16 user: stephan tags: trunk
2015-07-16
15:31
latest s2 and related bits. unit tests still work. check-in: 493e8904d9 user: stephan tags: trunk
2015-05-13
21:16
update sqlite 3.8.10.1 check-in: 050fc789ce user: bch tags: trunk
2014-12-16
20:17
accomodated s2 API change. check-in: 59661de01b user: stephan tags: trunk
19:25
latest s2 for memory cap support, typeinfo keyword, other improvements. check-in: 3d382469bd user: stephan tags: trunk
12:45
f-timeline: added -c|--comment=TEXT to filter on a comment glob. check-in: 01c49aaa16 user: stephan tags: trunk
2014-12-07
15:17
a _potential_ workaround for ticket [ae43e36ebdcee2dd7a74]. check-in: 52cd3b7088 user: stephan tags: trunk
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. check-in: 09fb223f65 user: stephan tags: trunk
2014-11-30
14:25
latest s2, further memory cuts via more aggressive recycling. check-in: 2ddef8bf84 user: stephan tags: trunk
2014-11-21
14:00
next round of s2: resizable hashtables, Number.toString(format), 1000 prime numbers, and literal arrays as property keys (for symmetry with objects, which already supported that by happy accident). check-in: a15d2a6200 user: stephan tags: trunk
13:52
disabled s2 vtable transaction tests for a while due to inexplicable weirdness. check-in: 90cf7de0ec user: stephan tags: trunk
2014-11-20
18:39
lots of little s2 stuff, incl. refactoring of hashtables to make them more recycleable and (upcoming) resizable. check-in: f7fbfd8cfb user: stephan tags: trunk
2014-11-16
18:34
more minor s2 addition before the weekend is out. check-in: c170e296ca user: stephan tags: trunk
15:03
Latest s2: bugfix in the .. operator, added: exception keyword, s2.getResultCodeHash(), s2.json.stringify() binding. check-in: beafa69a16 user: stephan tags: trunk
2014-11-15
10:53
yet more cleanups in the vtable test code, removed extraneous catches (let propagation handle them). check-in: ad35549258 user: stephan tags: trunk
10:43
cleanups and additions in the vtable unit tests. check-in: af1b0ff74b user: stephan tags: trunk
2014-11-14
16:41
test code cleanups. check-in: 017e07ca53 user: stephan tags: trunk
13:59
s2: added s2.isDereffable(), "exception" is now a reserved keyword. check-in: 5f1f3b28d8 user: stephan tags: trunk
12:14
More s2: types deriving from arrays can now be used a bit more like arrays, e.g. x[]=y works and integer property access is treated as an array index. check-in: d62048d5e6 user: stephan tags: trunk
11:47
Added some transactions tests for the vsettings. check-in: 86b6ca307f user: stephan tags: trunk
11:45
fixed a printf-style misuse triggered in an error case. check-in: c2ad24c2e0 user: stephan tags: trunk
10:40
latest s2. check-in: b4c7ebaad7 user: stephan tags: trunk
2014-11-09
18:43
s2: more init code refactoring. check-in: 9d10eab193 user: stephan tags: trunk
2014-11-08
10:47
removed an old/invalid comment, made a minor error propagation optimization. check-in: db3452e54d user: stephan tags: trunk