Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of file src/config.c at check-in 61d3e64e6fb1a93d
2025-03-12
| ||
20:14 | EOL-whitespace cleanups, minor internal doc additions, and rename an internal-use-only function to match current conventions. No functional changes. file: [b199b3b36d] check-in: [3b62ac66fc] user: stephan branch: trunk, size: 38459 | |
2024-09-13
| ||
13:56 | Add f-ls --checkouts flag to show open checkouts to the given repository, with the caveat that checkouts opened via different names for the repo (e.g. via dir symlinks) are not resolved. file: [f06a5bf05f] check-in: [dec80338e1] user: stephan branch: trunk, size: 38496 | |
2023-04-19
| ||
02:26 | Apply a set of missing f(void) and assigned-but-unused vars from Mark J. file: [9f026e86b1] check-in: [b96f5840ea] user: stephan branch: no-common-ancestor, size: 38497 | |
2022-08-12
| ||
15:44 | Compile fix for compilers which default enums to unsigned (gcc 11.2, apparently). file: [bd0eadb464] check-in: [26a60721cd] user: stephan branch: trunk, size: 38493 | |
2022-07-31
| ||
22:15 | Generic internal cleanups. file: [7c3acc7499] check-in: [1dffe8bdb0] user: stephan branch: buffer-errcode, size: 38491 | |
2021-12-21
| ||
20:21 | Removed the fossil- name prefix from include/fossil-scm/*.h. file: [ac115a089d] check-in: [43a9bea8d5] user: stephan branch: trunk, size: 38392 | |
2021-11-10
| ||
06:00 | Added fsl_configs_XYZ() APIs, which provided features similar to fsl_config_XYZ() but enable checking multiple config sources in an order specified by the caller. file: [731548e91d] check-in: [8d7b8f50c4] user: stephan branch: trunk, size: 38406 | |
04:21 | Constness tweaks. file: [592729ca99] check-in: [230fa9f678] user: stephan branch: trunk, size: 33088 | |
2021-11-09
| ||
11:48 | When detaching a db role, finalize any cached statements which are known (or believed) to be mapped to that role to avoid that detaching fails due to a lock held by opened statements. file: [5ceec9d892] check-in: [d00587179e] user: stephan branch: trunk, size: 32946 | |
2021-11-08
| ||
10:20 | fsl_config_open() is now a no-op if passed a NULL/empty file name and a global config is already opened. Reordered some internals calls to hit expected if/else cases earlier. file: [d52b1b86f7] check-in: [4e81e07c57] user: stephan branch: trunk, size: 32391 | |
2021-11-02
| ||
23:52 | Mass renaming of many internal APIs from fsl_X to fsl__X (two underscores) and several adjacent const cleanups. file: [ece7f5b762] check-in: [83917b7b45] user: stephan branch: trunk, size: 32391 | |
2021-03-15
| ||
04:25 | Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [916bd65b83] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 32384 | |
2021-03-14
| ||
21:23 | Moved some config-settings-related stuff out of the public API for the time being. file: [c0313957ec] check-in: [2c6c7eda48] user: stephan branch: trunk, size: 32408 | |
16:00 | Minor doc touchups. file: [6dc4277de8] check-in: [954e16e804] user: stephan branch: trunk, size: 29930 | |
15:50 | Considerable hammering on the config db APIs to make handling of versionable settings work like the other modes. Eliminated the versionable-specific config get/set APIs. file: [ffd3f69d29] check-in: [a2cd19f640] user: stephan branch: trunk, size: 29932 | |
2021-03-13
| ||
08:16 | Brought fsl_vfile_scan_changes() up to date wrt fossil, improving its accuracy as well as speeding it up. Improved reporting via fsl_checkout_changes_visit() (i.e. f-status) results. Removed about 200 lines of dead vfile code. file: [ac0fb5ad4d] check-in: [c77e85e259] user: stephan branch: trunk, size: 29739 | |
01:09 | Swapped out f-s2sh's shell.c with shell2.c (s2sh2 instead of s2sh classic). file: [990f96d218] check-in: [e20cc9720f] user: stephan branch: trunk, size: 29791 | |
2021-03-12
| ||
19:31 | The hashing routines were responsible for the unexpected buffer resizing, as they were explicitly resizing their output buffers to fit. file: [64355dcdfb] check-in: [06f5974d60] user: stephan branch: cx-scratchpad-rework, size: 29850 | |
17:26 | Completely reworked how fsl_cx manages scratch buffers but it's leading, rather inexplicably, to double the number of allocs and memory use in f-sanity. Checking in due to paranoia of losing this work. file: [0008bc9a5a] check-in: [01c1cff578] user: stephan branch: cx-scratchpad-rework, size: 29927 | |
13:48 | Minor API renaming, for consistency. file: [d317024664] check-in: [f2fc1f3efd] user: stephan branch: trunk, size: 29878 | |
2021-03-08
| ||
11:14 | Initial go at a new interactive confirmation API (not yet connected to checkout op). Removed a functionally-duplicated API. Added __func__() to some cached SQL statements in order to simplify tracking their origin (though this keeps those statements from being reused across multiple functions). file: [9ea75bf538] check-in: [9a6bb6834f] user: stephan branch: trunk, size: 29452 | |
2021-03-07
| ||
11:40 | Removed dangling bits left over from the previous commit. file: [a7ef10c80d] check-in: [23a5dfe46a] user: stephan branch: trunk, size: 29379 | |
2021-03-03
| ||
08:38 | Lots of bending and hammering related to smoothing out f-open. There's still an issue when opening an empty checkout (it's seen as not a checkout by other apps), but that's on the to-fix list. file: [228f2cb00d] check-in: [2a04a6818c] user: stephan branch: trunk, size: 29617 | |
2021-03-02
| ||
12:39 | Setting config vars in repo.config now sets the mtime to now(). file: [0ad6da8970] check-in: [ac329b2eed] user: stephan branch: open-ckout-wip, size: 29300 | |
2021-03-01
| ||
16:21 | Arguably a typo fix in the new header. Thank goodness for stream editors. file: [e328736317] check-in: [386316db07] user: stephan branch: trunk, size: 29249 | |
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: [7434b77e82] check-in: [fa5fb24496] user: stephan branch: trunk, size: 29241 | |
2021-02-18
| ||
05:11 | Replaced the extraneous fsl_double_t typedef with double. file: [caacc1907e] check-in: [b359548620] user: stephan branch: trunk, size: 29491 | |
2021-02-15
| ||
03:24 | Renamed src/fsl_config.c → src/config.c. Renamed src/fsl_XYZ.c to src/XYZ.c. f-checkin vfile dump now includes renames. file: [3ba807f301] check-in: [ed3183170a] user: stephan branch: trunk, size: 29551 | |
00:21 | Reimplemented fsl_config_file_reset() to account for schema prefixes. fsl_file_size() now returns type fsl_int_t instead of fsl_size_t, to simplify the -1-on-error return checking. Added fsl_config_global_preferred_name(), which performs the global config file lookup algo used by fossil, and changed fsl_config_open() to use that. file: [3ba807f301] check-in: [8837671e83] user: stephan branch: trunk, size: 29551 | |
2021-02-12
| ||
22:09 | libfossil is now C99, rather than C89, per discussion at [https://fossil.wanderinghorse.net/r/libfossil-forum/forumpost/e02ff0e8d0]. fsl_int{16,32,64}_t have been replaced by the standard uint{16,32,64}_t, FSL_xxx_T_PFMT/SFMT replaced with PRIx32 and friends, and auto.def now checks for -std=c99 capability (but that check could probably be done differently/improved). fsl_int_t and fsl_uint_t are retained, as they're more about documentation/intent than fixed sizes. file: [cdcbb321be] check-in: [ee070353b9] user: stephan branch: trunk, size: 29539 | |
07:41 | Header file reorgs. file: [ac8f070a37] check-in: [c1681af460] user: stephan branch: trunk, size: 29619 | |
2021-02-11
| ||
18:38 | Moved around and tinkered with some of the hash policy code. Added f-new --hash option to set the policy when creating a new repo. file: [3ca3630611] check-in: [dec0670fb2] user: stephan branch: trunk, size: 29582 | |
2021-02-09
| ||
04:23 | Versioned file access no longer follows symlinks. file: [7ce383c4a9] check-in: [d8a6788d85] user: stephan branch: trunk, size: 29584 | |
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: [dbd5b09dbd] check-in: [631fb3f69a] user: stephan branch: trunk, size: 29584 | |
2021-02-07
| ||
14:31 | Globally replaced http://... URLs with https://.... Most of them probably still work, too. file: [4343b70a8e] check-in: [6af7b3b7c8] user: stephan branch: trunk, size: 29543 | |
2014-10-22
| ||
21:48 | first attempt at wiring in virtual tables for settings metadata and versioned setting support. Also, added an aliased column 'value' to 'default_value' for the settings metadata, to allow existing query scheme to work consistently with that table as well. file: [d7cc002a61] check-in: [ddb939fd3f] user: dave branch: feech-versionedsettingsupport, size: 29542 | |
2014-05-01
| ||
12:42 | More work on the path porting. Related refactoring to make some more bits visible. file: [4baa0d022e] check-in: [35cef04dcd] user: stephan branch: trunk, size: 29304 | |
2014-04-03
| ||
19:57 | "code notes" commented-out (squelches compiler warnings) file: [e20d0a2ef4] check-in: [ef664b30c8] user: bch branch: trunk, size: 29303 | |
2014-03-30
| ||
10:37 | Added caching of versionable config results but then removed it because it introduces inconsistencies in string ownership vis-a-vis non-versioned config. Various little cleanups and additions along the way. file: [e767331808] check-in: [48eec586a9] user: stephan branch: trunk, size: 29274 | |
2014-03-28
| ||
15:27 | Added infrastructure for the various xxx-glob config options. fsl_cx now caches them when a repo/checkout is opened and provides APIs for querying them. file: [669a97702e] check-in: [aa8f7bd1be] user: stephan branch: trunk, size: 28058 | |
2014-03-27
| ||
20:24 | added a couple reminder notes. file: [d06a193b57] check-in: [8b118cc522] user: stephan branch: trunk, size: 26995 | |
20:10 | Added basic infrastructure for reading versionable settings. file: [b3635d202a] check-in: [5f501363c4] user: stephan branch: trunk, size: 26747 | |
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: [de5a182905] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 24148 | |
2014-02-01
| ||
12:42 | Added fsl_config_transaction_{begin,end}() as an optimization for apps which make lots of config changes. file: [c33e4ea81c] check-in: [8d41887764] user: stephan branch: trunk, size: 24148 | |
12:15 | Refactored fsl_config_xxx() impls for cached statements. Added unit tests for the config get/set APIs. file: [d3c2e1ca6e] check-in: [43d76d6664] user: stephan branch: trunk, size: 23614 | |
10:46 | Added 'set' and 'unset' features to f-config. file: [bd47d0b871] check-in: [731e2f05d9] user: stephan branch: trunk, size: 23670 | |
2014-01-31
| ||
23:57 | Ported in a public domain strftime() impl, for potential use with the checkout-related functionality. Fixed a clang warning. file: [91e9b5fdea] check-in: [615b6d29bc] user: stephan branch: trunk, size: 23357 | |
2014-01-26
| ||
13:18 | More tinkering with the config bits. fsl_config_open() can now initialize an empty db. Started adding basic f-config app. file: [b4b944de62] check-in: [9e72b41cdc] user: stephan branch: trunk, size: 21452 | |
11:31 | More refactoring/consolidation of the disparate config-db APIs. file: [7973b3a0ce] check-in: [3551ebfb6b] user: stephan branch: trunk, size: 21661 | |
10:33 | refactoring and code consolidation. file: [93318854d5] check-in: [e6654f2651] user: stephan branch: trunk, size: 24421 | |
2013-09-03
| ||
15:40 | More ticket bits. Minor API tweaks. file: [754e0d7444] check-in: [5a47293811] user: stephan branch: trunk, size: 18750 | |
2013-08-28
| ||
19:36 | minor text and dead code changes only. file: [e1d8f714a6] check-in: [ce02fcfbeb] user: stephan branch: trunk, size: 17774 | |
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. file: [174d768f9f] check-in: [7766f5bc6d] user: stephan branch: trunk, size: 17787 | |
2013-08-22
| ||
13:44 | fsl_internal.h ==> fossil-internal.h file: [b1c8a6d0a5] check-in: [2cae867331] user: stephan branch: trunk, size: 8935 | |
2013-08-20
| ||
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. file: [47941c8c88] check-in: [dcb096c78b] user: stephan branch: trunk, size: 8932 | |
2013-08-18
| ||
14:35 | Added: Split the code into some new files. Shortened fsl_cx_repo_xxx() and fsl_cx_checkout_xxx(), removing the _repo/_checkout part. file: [f6facca421] check-in: [2acbc2f85e] user: stephan branch: trunk, size: 9739 | |