Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
142 check-ins using file src/fsl_delta.c version 4dff53dcb8
2013-09-03
| ||
11:03 | minor config tweak (should be a no-op) check-in: 129f575a56 user: stephan tags: trunk | |
09:43 | More fcli refactoring via perl. Fixed a broken assertion in f-sanity. check-in: 0333cc9077 user: stephan tags: trunk | |
09:42 | pulled in latest upstream th1ish. minor tweaks and test additions to the th1ish bindings. check-in: 4e195b8f25 user: stephan tags: trunk | |
2013-09-02
| ||
22:11 | fcli now treats a first non-flag argument of "help" as help for all apps, not just dispatched-by-name commands. check-in: ea8eb63bb7 user: stephan tags: trunk | |
21:59 | minor help text fix for f-wiki. check-in: 1237734efd user: stephan tags: trunk | |
21:43 | Started porting in vfile bits. Added fsl_needs_checkout(). fsl_XXX_close() now explicitly closes all other dbs if XXX is the current main db. check-in: 7bb0a64e7e user: stephan tags: trunk | |
21:27 | minor doc tweaks. check-in: f113b11913 user: stephan tags: trunk | |
21:26 | cosmetic func signature change. check-in: d1924d6fe1 user: stephan tags: trunk | |
20:48 | ported in f(1)'s test_delta() to f-sanity.c check-in: fc35d8ef97 user: stephan tags: trunk | |
18:02 | doc/formatting tweaks. check-in: a8261357fa user: stephan tags: trunk | |
18:01 | fsl_cx::dirChkout now includes the trailing slash because v1's g.zLocalRoot does it that way (very possibly for a good reason) and this simplifies porting. check-in: 1127674cc0 user: stephan tags: trunk | |
17:59 | Minor corner case error reporting touchup in fsl_rid_to_uuid(). check-in: 58813a75ff user: stephan tags: trunk | |
17:57 | th1ish build kludge for my netbook (disable hwtime bits). Accommodated API changes. check-in: 16996e8d4d user: stephan tags: trunk | |
16:21 | Added f-sanity app, a place for making basic sanity-check tests. check-in: 43073faf5c user: stephan tags: trunk | |
2013-09-01
| ||
20:01 | fsl_uuid_to_rid() now checks for ambiguous results. check-in: 26d5a55c01 user: stephan tags: trunk | |
16:06 | another round of trivial cleanups and docs. check-in: 9ed0b7a089 user: stephan tags: trunk | |
15:41 | Added a doxygen filter to remove '**' during processing b/c they confuse the @code blocks. check-in: 1a236186c7 user: stephan tags: trunk | |
15:19 | Re-did the create/overwrite semantics for fsl_wiki_save() to something a bit more sane. check-in: 6107bdda5d user: stephan tags: trunk | |
14:40 | Found a reasonable heuristic for "the empty P-card problem" - output an empty P only for Manifests (and hope that rid 1 is the only Manifest without a P-card). check-in: a8be8735eb user: stephan tags: trunk | |
14:04 | Lots of API name shortenings. Added fsl_content_get_by_sym(). check-in: 80945ffca3 user: stephan tags: trunk | |
13:28 | Fixed f-tag --help broken by recent refactoring. Minor improvements to the fcli error reporting. check-in: 4d8b91a4ae user: stephan tags: trunk | |
12:54 | s/fcli_cli_/fcli_/g. Minor error text change. check-in: 945fea799c user: stephan tags: trunk | |
12:51 | Replaced --mq build option with --loud, defaulting to quite build mode. check-in: 484b0b7698 user: stephan tags: trunk | |
12:51 | Fixed an error check broken by recent refactoring :(. Fixed a related error reporting problem found (via assert()) by that breakage :). check-in: 6ab281ea95 user: stephan tags: trunk | |
12:29 | minor cleanups/fixes in crosslink callback handling. check-in: 510aecf972 user: stephan tags: trunk | |
11:48 | switched line number column from 6 back to 5 digits. Minor test code and doc tweaks. check-in: 1ea8b6c48a user: stephan tags: trunk | |
11:37 | doc updates. fixed an off-by-one in sbs display in inverted mode (caused by a formatting change i made earlier, not a bug in the original code). Added 'fsl-' prefix to all CSS class names. check-in: 1a45779c91 user: stephan tags: trunk | |
11:15 | FSL_DIFF_SIDEBYSIDE is now implicit if the sbsWidth argument is not 0. check-in: c044f55804 user: stephan tags: trunk | |
10:50 | removed dangling debug output. check-in: 91c7f44a58 user: stephan tags: trunk | |
10:48 | Ported in sbs diffs. check-in: b9651d78bf user: stephan tags: trunk | |
09:22 | consolidated duplicate htmlize code. Re-added htmlize to diffs. check-in: 2e4b4226b9 user: stephan tags: trunk | |
08:37 | Refactored diff generator to send its output to a fsl_output_f() instead of a buffer. check-in: f156d46b10 user: stephan tags: trunk | |
2013-08-31
| ||
16:08 | memleak fix in test code while testing for a leak in lib code. check-in: c0d1362cd6 user: stephan tags: trunk | |
15:58 | Introducing fsl_diff_text(). check-in: 881eabc5ba user: stephan tags: trunk | |
14:21 | Started porting in the diff generation bits. Still much to do. check-in: 71111bb670 user: stephan tags: trunk | |
13:13 | minor doc tweak. check-in: 26dfafd2fc user: stephan tags: trunk | |
13:02 | Doc additions, minor error reporting cleanups. check-in: 8f05724070 user: stephan tags: trunk | |
11:32 | Re-did how fcli hooks into app-local help, to avoid an unresolved symbol in the main lib. check-in: 6f54534d74 user: stephan tags: trunk | |
11:02 | Build tweaks for quiet mode. Added --mq configure option (--quiet is an autosetup builtin). check-in: 320b6f1af9 user: stephan tags: trunk | |
10:49 | Renamed the FossilApp API to fcli. Moved its header into the public space. check-in: 5d3767f8f0 user: stephan tags: trunk | |
10:25 | deps fixes. Added/fixed optional quiet build mode. check-in: d25e11b1c9 user: stephan tags: trunk | |
10:02 | Lots of FossilApp tinkering. check-in: 5e77c8742d user: stephan tags: trunk | |
09:12 | Ported in some control artifact touchups from Jan. Fixed a linking-related problem with FossilApp_local_help(). Accommodated API changes in th1ish binding. check-in: 1e923bce86 user: stephan tags: trunk | |
2013-08-30
| ||
18:26 | consistency: s|fsl_cx_init_param|fsl_cx_init_opt|g check-in: d155bafd28 user: stephan tags: trunk | |
18:22 | Moved config.h to fossil-config.h. Updated Doxyfile.in file from trunk doxygen. check-in: 1d0f674e13 user: stephan tags: trunk | |
18:05 | insignificant cleanups and docs/text touchups. check-in: efaeb72011 user: stephan tags: trunk | |
2013-08-29
| ||
17:19 | Moved SQL tracing from stderr back to stdout, so that redirection and flushing get the SQL output lined up with the app output. Renamed FSL_ATYPE_G to FSL_ATYPE_TAG. Aligned the FSL_ATYPE_xxx values with their FSL_CATYPE_xxx partners. Fixed a fsl_atype_t/fsl_catype_t mixup in f-ls (thanks, clang). check-in: 98b8da1754 user: stephan tags: trunk | |
16:40 | s/fsl_init_param/fsl_cx_init_param/ check-in: c611b4e1a1 user: stephan tags: trunk | |
16:34 | Split the 300kb+ of headers/docs into multiple files because my old netbook is starting to choke on syntax-highlighting them (and on the large resulting doxygen pages). check-in: 93ec815614 user: stephan tags: trunk | |
15:24 | minor API renaming/shortening, doc additions, removed some dead code. check-in: 135fb8b36c user: stephan tags: trunk | |
2013-08-28
| ||
21:13 | Minor doc and error reporting improvements. check-in: 32f3595fa2 user: stephan tags: trunk | |
20:16 | more docs. check-in: 001275b88b user: stephan tags: trunk | |
19:37 | doxygen typo fix. check-in: 4061a8cd7a user: stephan tags: trunk | |
19:36 | minor text and dead code changes only. check-in: ce02fcfbeb user: stephan tags: trunk | |
19:29 | Ported in parts of the configuration subsystem. fsl_repo_create() now copies all the same stuff fossil(1) does when given a repo to copy the config from. check-in: 7766f5bc6d user: stephan tags: trunk | |
19:12 | re-added the RID to the verbose ls output. check-in: 2bc75f59aa user: stephan tags: trunk | |
17:21 | Added -utc flag. check-in: f6f5992a54 user: stephan tags: trunk | |
17:21 | minor cosmetic cleanups. check-in: 6ec6b3812f user: stephan tags: trunk | |
16:45 | Creation of new repos is more or less finished. fossil(1) seems to be happy with them. check-in: 859846313d user: stephan tags: trunk | |
2013-08-27
| ||
21:53 | minor tinkering before bed. nothing functional. check-in: 41966a046d user: stephan tags: trunk | |
21:00 | Created an empty repo, including initial manifest, and fossil(1) can read it :). Discovered that i am still seeing the va_list/sizeof-related corruption on this 32-bit system if i am not way too careful with format specifiers. Need to look into that again, but too tired now (cannot explain why i have never seen this in other trees using this same code). check-in: 96cbb2d6ad user: stephan tags: trunk | |
19:55 | Started work on creating a new repo. Several related minor cleanups and additions. Simplified a couple APIs. check-in: 184bdcf4a4 user: stephan tags: trunk | |
16:15 | Got the compiled-in schemas working (==readable, but not yet used/aplied). check-in: 11f605e0b4 user: stephan tags: trunk | |
2013-08-26
| ||
22:24 | Integrated build of SQL schema code. check-in: 0eb0ac480a user: stephan tags: trunk | |
21:02 | minor error reporting cleanups. check-in: 7d9a27739a user: stephan tags: trunk | |
17:34 | minor cleanups/reformatting. fixed a potential endless loop in some untested code. check-in: 9cac575a31 user: stephan tags: trunk | |
2013-08-25
| ||
18:01 | added a name to the xlink callbacks, so that we have a mechanism we cau use to swap out specific ones. check-in: e1a9699a62 user: stephan tags: trunk | |
14:30 | minor cleanups in the xlink callback code. fixed an error propagation case. check-in: 966209515b user: stephan tags: trunk | |
14:15 | First draft of artifact crosslink callbacks, to allow us to farm out the crosslinking work. check-in: fb18a52241 user: stephan tags: trunk | |
13:24 | off-by-one fix in timeline text for sym-xxx tags. Added --new option to f-wiki. check-in: 6dd9438f46 user: stephan tags: trunk | |
13:00 | Fixed fsl_deck_unshuffle() to not fail if the deck _cannot_ have an R-card. s/fsl_deck_calculate_R/fsl_deck_R_calc/, for consistency. check-in: bc88a06866 user: stephan tags: trunk | |
12:53 | more minor API cleanups and renaming. check-in: bc4da7e12f user: stephan tags: trunk | |
12:22 | doxygen tweaks. removed generated file. check-in: 76513a1bcb user: stephan tags: trunk | |
11:39 | More API renamings. Moved some card-related code from internal to public APIs. Added foreach iterator for F-cards. Added basic f-ls app. check-in: e0963e92ca user: stephan tags: trunk | |
09:12 | API renamings (shortenings) and minor API simplifications. Doc updates, some work on making the R-card optional. check-in: c0752c60c2 user: stephan tags: trunk | |
2013-08-24
| ||
23:21 | Added new file for Event APIs. Minor refactoring and code consolidation. Fixed a crosslinking bug which used a wrong (old/changed) format specifier for event-XXX tags. check-in: b5b5a52965 user: stephan tags: trunk | |
15:54 | more wiki work check-in: 7df0b1de78 user: stephan tags: trunk | |
14:12 | Tinkering with the wiki bits. Added generic 'help' command support to FossilApp command dispatcher. Time for a pinball break. check-in: ff8abd761f user: stephan tags: trunk | |
13:42 | Renamed fsl_deck_VERB_CARD() to fsl_deck_CARD_VERB(), for consistency. Added initial wiki-save support, but the public API needs a bit of tweaking. check-in: 31dda112b9 user: stephan tags: trunk | |
11:35 | Added fsl_wiki_load_latest(). Added f-wiki 'export' command. Added more options to f-wiki 'list' command. check-in: 9989e90728 user: stephan tags: trunk | |
10:36 | doc updates check-in: 70765dc471 user: stephan tags: trunk | |
10:34 | Expanded FossilApp to use a fail-on-OOM allocator and support basic named-command-style command dispatching. check-in: bf5dbb798e user: stephan tags: trunk | |
10:33 | fixed a memleak in fsl_foreach_wiki_page(). Documented (non-)lifetime of deck parameter to the for-each callback. check-in: 868860b530 user: stephan tags: trunk | |
09:50 | Minor cleanups. Got rid of snprintf() (not c89) now that the fsl_snprintf() mystery has been solved. check-in: a85df229af user: stephan tags: trunk | |
09:48 | Fixed the (dumb) sprintf sizeof/va-list bug. i was passing a va_list to a ... func. check-in: 0895a27816 user: stephan tags: trunk | |
08:57 | Pulled in fixed broke-r-card branch. f-mfparse now reads from stdin by default if no -f or filename is provided and it is not on a terminal. check-in: 6d746e7d25 user: stephan tags: trunk | |
08:54 | Partial revert of the last commit (problem was the va_list/sizeof/snprintf() weirdness again). More experimentation with that particular problem - not sure why it's specific to sprintf(). Closed-Leaf check-in: 6df1e4338a user: stephan tags: broke-r-card | |
07:44 | minor cleanups. fixed f-mfparse to know the difference between an imported/artifical artifact and a known own, and skips the sha1 check on imported ones. fsl_deck_parse() no longer asserts if it cannot find a matching RID. check-in: f26b454fa1 user: stephan tags: broke-r-card | |
2013-08-23
| ||
21:31 | Events have W-cards too, so this needs to be checked first. check-in: aeee30c289 user: jan.nijtmans tags: trunk | |
18:45 | prettied up the output a bit. check-in: 56237933d2 user: stephan tags: trunk | |
17:38 | Started working on basic wiki APIs. check-in: a0b5b4e7de user: stephan tags: trunk | |
16:35 | amal smoketest now compiles with both -std=c89 and -std=c99 when building with gcc. check-in: f1a9b89e6e user: stephan tags: trunk | |
16:23 | Cygwin patches from Jan. check-in: 2ce2ff78ea user: stephan tags: trunk | |
16:07 | Improved fsl_mf_guess_type() ordering from Jan. check-in: d0fcf5fbb7 user: stephan tags: trunk | |
2013-08-22
| ||
22:28 | minor bugfixes, more manifest parsing validation, and more docs. check-in: 0d5225a61b user: stephan tags: trunk | |
18:26 | Ported in the "verify before commit" code, which ensures that all new content can be extracted from the db before it commits the transaction doing the adding. Fixed a memlink in fsl_repo_tag_symbol(). Added fsl_deck_save() and refactored fsl_repo_tag_rid() to use it. check-in: 57107f6bd2 user: stephan tags: trunk | |
15:34 | Moved the Doxygen 'page' docs from fossil.h to fossil-pages.h. check-in: bbc3856f58 user: stephan tags: trunk | |
15:33 | amal smoketest now tries to compile using all compilers it can find. check-in: 0a890e1da4 user: stephan tags: trunk | |
14:58 | Minor doc additions. Renamed lib/URLs to libfossil, as per ML discussions. check-in: 4ccaeb603d user: stephan tags: trunk | |
14:57 | The undocumented uuid-to-rid conversion of RID-looking strings now requires an 'rid:' prefix (analog to a recent fossil(1) patch) and now only resolves to existing records (returns FSL_RC_NOT_FOUND for an unknown RID). check-in: 2649904bd2 user: stephan tags: trunk | |
13:44 | fsl_internal.h ==> fossil-internal.h check-in: 2cae867331 user: stephan tags: trunk | |
2013-08-21
| ||
21:50 | oops. signed==>unsigned. check-in: a64cf10a48 user: stephan tags: trunk | |
21:44 | more docs... check-in: 480a709173 user: stephan tags: trunk | |
20:04 | Tracked down, characterized, and documented a va_list-related gotcha in fsl_appendfv() (and all derived functionality) for certain combinations of sizeof()s and format specifiers. check-in: 764a17787a user: stephan tags: trunk | |
16:38 | Fixed unitialized vars caught by clang (not gcc). Minor compile workaround for tcc (it leaks a 'unix' macro). Now builds cleanly in c89 mode with gcc, clang, and tcc. check-in: 27751fd85d user: stephan tags: trunk | |
16:23 | experimentally changed fsl_id_t back to fsl_int32_t b/c it _seems_ the bug i saw _might_ have been a side-effect of a unclean rebuild after a sizeof(fsl_id_t) change. check-in: 2d09489368 user: stephan tags: trunk | |
16:23 | Switched to project-local typedefs in the etRADIX bits. "Should" be no side-effects for sane builds. check-in: 6cb491da2a user: stephan tags: trunk | |
2013-08-20
| ||
22:26 | minor tinkering and fixes before bed. check-in: b1e93f23f1 user: stephan tags: trunk | |
21:29 | Removed an invalid "else" (caused a code skip). Minor buffer termination tweak in corner case. check-in: 8dd4a5d428 user: stephan tags: trunk | |
21:25 | Accommodated API change. check-in: b1a524d3d2 user: stephan tags: trunk | |
21:23 | Holy cow - switched back to 64-bit fsl_id_t because 32-bit causes weird corruption in va_list handling in the integer (etRADIX) bits of fsl_appendf(). To investigate as time allows. It can be reproduced with a 32-bit fsl_id_t using the hand-rolled variant of FSL_ID_TYPE_PFMT. check-in: 13884cf8e5 user: stephan tags: trunk | |
20:02 | More work on crosslinking, minor refactoring/code movement. Added f-event test app. check-in: 06179ab0e6 user: stephan tags: trunk | |
17:12 | code consolidation in the fsl_DB_g_TYPE() routines, fixed silliness in the return of fsl_DB_g_bool(), where it returned a result code (==true unless !(code%128)) for errors. check-in: dcb096c78b user: stephan tags: trunk | |
15:14 | some minor improvements to manifest parsing. Corrected semantics of the "target" parameter to A-cards. check-in: 07384b266d user: stephan tags: trunk | |
2013-08-19
| ||
21:39 | just one more error check... check-in: f6ca1a7106 user: stephan tags: trunk | |
21:35 | Ported in the MANIFEST-type crosslinking bits but they must remain untested until tomorrow. check-in: b890029387 user: stephan tags: trunk | |
20:40 | Minor cleanups. Replaced fsl_db_unix_to_iso8601() with fsl_unix_to_iso8601() (didn't know strftime() was C89). check-in: fb9ef509fe user: stephan tags: trunk | |
19:29 | Added EVENT crosslinking. Can now losslessly round-trip EVENT manifests. Minor changes to support seconds-precision (not msec-precision) on E-cards b/c that is how fossil(1) does it. Fixed bugs in the E-card card-is-legal validation. check-in: ec268be7f0 user: stephan tags: trunk | |
2013-08-18
| ||
22:02 | Fixed a wrong int type (signed vs unsigned). check-in: 9bb338c980 user: stephan tags: trunk | |
21:44 | Build tweak: if it finds sqlite3.{c,h} in the top dir then it uses those, else it links to whatever -lsqlite3 finds. check-in: 1543d17d3b user: stephan tags: trunk | |
20:59 | deps fixes - they were broken when the obj files were moved from src/ to obj/, leading to only partial rebuilds and much grief as struct sizes changed. check-in: 2c46a68d59 user: stephan tags: trunk | |
20:45 | minor API renamings (consistency). check-in: 5a37f7d1f0 user: stephan tags: trunk | |
20:08 | Ported in the rest of add_link(). Compiles but is untested (next step: MANIFEST-type crosslinking). check-in: 2ecba8ed85 user: stephan tags: trunk | |
20:07 | minor renaming (consistency) check-in: e45323a4b5 user: stephan tags: trunk | |
19:52 | Minor cleanups of demo code. check-in: a90000e27a user: stephan tags: trunk | |
18:47 | Started adding fsl_repo_mlink_add(), but there is much left to do there. check-in: 56ef8127b6 user: stephan tags: trunk | |
17:14 | more steps on the road to porting add_mlink() and its dependents friends. check-in: 4bf94ef630 user: stephan tags: trunk | |
17:13 | added f-sizeof app. check-in: aed82342e8 user: stephan tags: trunk | |
14:35 | Split the code into some new files. Shortened fsl_cx_repo_xxx() and fsl_cx_checkout_xxx(), removing the _repo/_checkout part. check-in: 2acbc2f85e user: stephan tags: trunk | |
14:03 | minor generic cleanups in the deck code. check-in: 5fa697bee8 user: stephan tags: trunk | |
12:45 | Extended fsl_fopen() to support '-' as an alias for stdin/stdout, added fsl_fclose(), changed all fsl_fopen() calls to use fsl_fclose() instead of fclose(). check-in: 2cc00a131c user: stephan tags: trunk | |
12:10 | it turns out commit supports a --delta option and i need a delta manifest for testing, so here's a comment-only patch for delta testing. check-in: 11f79a13dc user: stephan tags: trunk | |
04:31 | minor assertion tweaks to allow parsing of out-of-repo manifests for testing purposes. check-in: 20b54357eb user: stephan tags: trunk | |
04:04 | Minor improvements in FossilApp error reporting. check-in: 88e367e90c user: stephan tags: trunk | |
03:53 | minor tweak to the rid==1 R card kludge to only output the default R card when rid==1. check-in: 084ba71226 user: stephan tags: trunk | |
03:50 | Renamed test-mf to f-mfparse, for consistency. check-in: b9424e1890 user: stephan tags: trunk | |
03:36 | egg check-in: 9db900393b user: stephan tags: trunk | |
03:32 | Fixed a bug in T-card parsing of the '*' special UUID. Added a couple workarounds for manifest #1, which violates the R- and P-card conventions laid out in the docs. Fixed a broken error check in fsl_repo_sym_to_uuid() which caused a statement to be left unfinalized (and a wrong result). check-in: 106aaf6898 user: stephan tags: trunk | |
03:30 | Added fsl_list_sort(). check-in: 5db83df0be user: stephan tags: trunk | |
03:28 | Added f-acat test app. Changed definition of VERBOSE in FossilApp. check-in: 47683d3589 user: stephan tags: trunk | |
03:03 | Changed fsl_buffer_fill_from_filename() to pre-allocate the buffer to prevent arbitrarily many reallocations while filling. check-in: f23b2c4934 user: stephan tags: trunk | |
01:31 | Added deck baseline file iteration and reworked R-card calc to use it. Works for baselines but i am seeing a delta-application bug in a specific tcl commit, but it is not yet clear where my bug is there (the repo passes all integrity tests, so the bug is on my end). Added error-reporting forms of delta application routines. Started porting in some of the filename table funcs. check-in: f94ea8a168 user: stephan tags: trunk | |