Login
All files named "f-apps/f-add.c"
Login

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

History for f-apps/f-add.c

2024-04-10
22:03
Port in [fossil:f1f7e27e0cdb8943|upstream f1f7e27e0cdb8943], a routine which ensures that a given filename matches the case it is stored in in the filesystem. Use that in f-add.c, where it's applied even for case-sensitive filesystems (primarily as a test for that routine). file: [0b61ddcf56] check-in: [0e50f798e6] user: stephan branch: trunk, size: 4212
2021-12-30
05:37
Replaced f-apps fcli_setup() calls with fcli_setup_v2(). file: [01803ef27e] check-in: [313b59841e] user: stephan branch: trunk, size: 3709
2021-12-21
13:10
Expanded the fsl_ckout_manage() callback interface analog to the new fsl_ckout_unmanage() changes. file: [6ba5e51a07] check-in: [c00159a925] user: stephan branch: trunk, size: 3741
08:28
Moved fossil-scm/fossil.h to ../libfossil.h so that client code can build from both the canonical tree and amalgamation using the same include name. file: [524c5e1203] check-in: [76d6359435] user: stephan branch: trunk, size: 3774
2021-10-15
09:33
While prepping for the merge port, moved the dry-run flag OUT of fcli and into the specific apps which implement it. Added skeleton f-test-merge app for use in the merge development. file: [73e0e000be] check-in: [c9fb1f972f] user: stephan branch: trunk, size: 3858
2021-04-04
05:07
f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. file: [00f7b09507] check-in: [1d3192c82b] user: stephan branch: trunk, size: 3805
04:58
f-apps: use fcli_cx() instead of accessing fcli.f directly. file: [c218ae1dc3] check-in: [9c7cf37828] user: stephan branch: trunk, size: 3856
02:09
Fixed a var init order which broke f-add. file: [44314f10d9] check-in: [764f2b5396] user: stephan branch: trunk, size: 3853
2021-03-31
05:41
Minor f-apps updates. Reverted f-revert to using the filename variant of fsl_ckout_revert(), instead of the fsl_filename_to_vfile_ids() variant, because the former allows the user to revert renames using the old or new names, whereas the latter only sees the new names. Fixed a range error in fsl_stmt_bind_fmtv() when binding a string as blob, and that function's blob/string bindings no longer copy their arguments' memory. Changed fsl_stmt_bind_step() return semantics to enable fetching data. file: [7018bbf2b8] check-in: [43d1902823] user: stephan branch: trunk, size: 3849
2021-03-23
00:49
Refactored the rm op to use a callback to report removals, similar to add and revert. Renamed fsl_ckout_file_add/rm... to fsl_ckout_manage/unmanage... Sidebar: used f-revert and the stash to recover from a fatal perl-regex refactoring mishap while working on this. file: [6a1bef5465] check-in: [09300fddd6] user: stephan branch: trunk, size: 3850
2021-03-22
17:54
Added fsl_ckout_manifest_setting(). fsl_reserved_fn_check() now honors the various manifest files as being forbidden for addition into the repo (but will allow them if they're already in the vfile table). Swapped 2 params in fsl_ckout_file_add_f() signature. file: [8e1b180458] check-in: [2c4a018200] user: stephan branch: trunk, size: 3864
2021-03-20
21:36
Minor restructuring of the fcli struct. file: [67cd07aa94] check-in: [436ae2c47f] user: stephan branch: trunk, size: 3832
2021-03-15
04:25
Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [8ed0c44659] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 3810
2021-03-11
18:15
Ported f-add's dir-recursion and ignore-glob capabilities into fsl_checkout_file_add() and expanded that function's feature/option set considerably. file: [6ca3223266] check-in: [61d3e64e6f] user: stephan branch: trunk, size: 3837
2021-03-10
17:00
Minor doc/help text cleanups. file: [06e3094e43] check-in: [801690e98c] user: stephan branch: trunk, size: 4365
16:41
Refactored fsl_dircrawl_f() to take a fsl_dircrawl_state struct as an argument and added current recursion depth to the passed-on state. file: [2beb4419a1] check-in: [4a70a0dd17] user: stephan branch: trunk, size: 4487
15:47
Added fsl_dircrawl() for recursively crawling directories and added recursive dir and ignore-glob support to f-add. fsl_buffer_reuse() now returns its argument. file: [f056c825c2] check-in: [c1199e807f] user: stephan branch: trunk, size: 4726
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. file: [9af52d7756] check-in: [386316db07] user: stephan branch: trunk, size: 2028
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: [b58d1dce53] check-in: [fa5fb24496] user: stephan branch: trunk, size: 2020
2021-02-28
04:57
fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. file: [08dfbcfd9c] check-in: [d0edf4583f] user: stephan branch: trunk, size: 1956
2021-02-27
14:29
Finished porting the f-apps to the new CLI handling bits. Replaced fcli::appHelp with what was formerly fcli::appHelp2. file: [e13d9f6009] check-in: [ca464b5b74] user: stephan branch: trunk, size: 1953
2021-02-26
18:54
More porting to the newer fcli flags handling. file: [5e1317e82f] check-in: [f46b535eaa] user: stephan branch: fcli-flag-rework, size: 1954
14:04
Reworking how fcli flag handling is done. file: [c6b622a1fd] check-in: [dad2f76f30] user: stephan branch: fcli-flag-rework, size: 2441
2021-02-11
19:13
Completely reimplemented ownership semantics of fcli argument/flag memory, greatly simplifying app-side management of those. Now fcli sticks all of them in fcli_fax() so that their lifetime is predictable and managed, so clients no longer have to free them. file: [5910eda6e1] check-in: [4307886eab] user: stephan branch: trunk, size: 2435
2021-02-09
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: [2942f40e3f] check-in: [631fb3f69a] user: stephan branch: trunk, size: 2450
2014-03-12
19:44
Swaped fsl_checkout_version_info() arg order, for consistency. More work on the checkin bits. file: [b103e2aab4] check-in: [ccb9a1e941] user: stephan branch: trunk, size: 2409
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: [7712ccd520] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 2409
2014-02-11
14:31
Renamed f-add.c → f-apps/f-add.c. Build cleanups. Moved f-* apps to f-apps/ subdir. Now builds a shared (instead of static) lib by default because that now (since the file move) simplifies the linking of the f-apps (and th1ish). Adapted f-sanity.c tests to the new directory structure. file: [98258b0fe1] check-in: [e85b45eda2] user: stephan branch: trunk, size: 2409