Fossil

File History
Login

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

History of src/add.c

2019-08-04
20:23
Improvements to the Security-Audit page - mostly in providing additional information about the files in the CGI extension folder. file: [5653eb36] check-in: [a3bc6552] user: drh branch: trunk, size: 31339
2019-03-19
14:09
Replace most calls to db_begin_transaction() with db_begin_write() to avoid having a reader locking during a COMMIT. file: [a85fc107] check-in: [6cc53548] user: andybradford branch: db-begin-txn-updates, size: 31295
2019-01-20
21:29
Automatically update the VFILE and VMERGE tables when the fingerprinting detects that a repository has been replaced by clone. file: [f0f7b8fc] check-in: [b0365238] user: drh branch: rid-renumbering, size: 31319
2018-07-15
19:56
Clarify the difference between fossil_fatal() and fossil_panic(). The fossil_panic() interface puts a message on the error log when generating webpages. Otherwise the two routines are identical. Convert some fossil_fatal() calls into fossil_panic() where appropriate. The goal here is to limit messages on the error log to things that require attention from the system administrator, or represent bugs. file: [e9ab1e9d] check-in: [3f5ab717] user: drh branch: trunk, size: 31308
2018-06-26
11:21
Make the mv-rm-files available without special compile-time options. file: [a19c2ac5] check-in: [27e5e5ce] user: drh branch: trunk, size: 29936
2018-06-14
19:33
Fix typos in documentation text. file: [f454dc59] check-in: [862d630f] user: drh branch: trunk, size: 31299
2018-05-29
14:23
Fix the "mv" command so that it will move directories. Patch from Dingyuan Wang. file: [19bd4216] check-in: [0a34967b] user: drh branch: trunk, size: 31298
2017-12-02
13:00
Update a comment due to changes in the purpose of Fossil 2.x. No changes to code. file: [bb2fc0bd] check-in: [244b84b8] user: drh branch: symlink-refactor, size: 30845
2017-11-30
17:58
Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. file: [11297525] check-in: [e7767de2] user: drh branch: symlink-refactor, size: 30849
2017-09-29
00:53
Add support for the "l" flag to the "manifest" setting to enable creation of a file "manifest.symlinks" which lists the names of all symlinks file: [ce13df9e] check-in: [8d6bdd1e] user: andygoth branch: enhanced-symlink, size: 30877
2017-08-30
13:07
Merge cleanX file: [667bfbd1] check-in: [92976100] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29915
12:02
Remove the --no-dir-symlinks option. This is a back-out of check-in [2375d6cbce933267] together with other cleanup changes. file: [4a0c8875] check-in: [b7272185] user: drh branch: trunk, size: 30817
2017-04-11
21:37
Added verbiage to --ignore options of add and addremove to state that they apply to unmanaged files only. file: [a9a6f333] check-in: [4d2c34b0] user: sdr branch: trunk, size: 31098
2017-02-14
19:23
Merge cleanX file: [9dd4dfc6] check-in: [d73dcdd0] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30176
2017-02-01
04:40
Rename and repurpose '--no-symlinks' into '--no-dir-symlinks', to prevent traversing into symlinked directories. Make the '--verily' option to 'clean' imply '--no-dir-symlinks'. file: [f23144d5] check-in: [66406ae9] user: mistachkin branch: noSymlinks, size: 31078
02:16
Add the --no-symlinks global command line option. file: [f31c8251] check-in: [85277aa3] user: mistachkin branch: noSymlinks, size: 31315
2016-11-06
06:39
Rename sfile x column to pathname to match vfile and to make room for new columns I plan to add file: [e5243a0a] check-in: [ec9480fc] user: andygoth branch: andygoth-changes, size: 30797
2016-09-23
02:27
Merge updates from trunk. file: [094edd58] check-in: [09343661] user: mistachkin branch: jan-manifest-tags, size: 30748
2016-08-19
00:13
Use the new SQLITE_DBCONFIG_MAINDBNAME feature of SQLite to eliminate the need for the db_name() hack. file: [3b1b44a8] check-in: [d858f3da] user: drh branch: omit-db_name, size: 30376
2016-08-03
01:18
Merge with trunk; resolved tar and zip generation to handle include/exclude globs. file: [cb5bdd71] check-in: [de9e7651] user: jan branch: jan-manifest-tags, size: 30790
2016-05-21
23:58
merge cleanX file: [6e576bcd] check-in: [70f77a1b] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29516
2016-03-11
23:38
Fix compilation issues cause by the trunk merge. file: [f192f326] check-in: [12453740] user: mistachkin branch: mvHardDirFix, size: 30418
2016-03-06
06:26
Merge updates from trunk. file: [dd554131] check-in: [abd131b8] user: mistachkin branch: mvHardDirFix, size: 30330
2016-01-04
00:36
Code normalization; tabs->spaces. file: [7a15ac5e] check-in: [de30eec2] user: jan branch: jan-manifest-tags, size: 30528
2016-01-03
22:54
Add manifest.tags to the list of potentially reserved names and decouple manifest and manifest.uuid from each other. file: [0394bc45] check-in: [142cb7aa] user: jan branch: jan-manifest-tags, size: 30524
2015-12-14
23:13
Fix the "add" command so that it prints "SKIP" instead of "ADDED" for files that are already under management. Code to do this was already in place, but it did not work correctly due to a logic error. file: [026bd9da] check-in: [d252cfd6] user: drh branch: trunk, size: 30156
2015-11-03
05:47
merge cleanX file: [9640f606] check-in: [346d62a4] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29224
2015-10-19
14:52
On systems with case-insensitive filenames, allow "fossil rename OLD NEW" where OLD and NEW differ only in case. file: [7c06f8c8] check-in: [fd2dbf43] user: drh branch: trunk, size: 30126
2015-07-29
18:44
Candidate fix for directory renaming issue with the --hard option as reported via the mailing list. file: [bd54d5b2] check-in: [b86127e1] user: mistachkin branch: mvHardDirFix, size: 30053
2015-07-14
19:55
merge trunk file: [822f05e4] check-in: [cac5cbae] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28977
2015-06-16
13:28
remove unnecessary end-of-line spacing file: [f9e7a15f] check-in: [33c44fab] user: jan.nijtmans branch: trunk, size: 29879
2015-05-27
05:39
Avoid superfluous error messages about missing temporary tables when there are no valid files to move or remove with the --hard option. file: [2d4ac5d4] check-in: [d272a35d] user: mistachkin branch: mvRmHardFix, size: 29880
2015-05-26
21:46
Enhance file_tree_name() to be capable of producing absolute paths within the local tree. Fix --hard option to mv/rm to enable it to work properly with relative paths. file: [b0b93aab] check-in: [c2df31da] user: mistachkin branch: mvRmHardFix, size: 29716
20:07
Fix SQLITE_ERROR as reported by Taylor Venable: https://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg20645.html file: [673a9e0f] check-in: [89212c5a] user: jan.nijtmans branch: mvRmHardFix, size: 29673
2015-05-15
02:25
Remove access check from [fossil add] to make it match [fossil addremove] which waits until [fossil commit] to check for readability. This makes it possible to use [fossil add] to add symlinks to nonexistent/unreadable files and (not like this is useful) to add zero-length files for which the user does not have read permission. [fossil addremove] has always had these capabilities, but it has the drawback of adding and removing everything it can, not allowing the user to limit its scope. file: [f3da742e] check-in: [46675ed2] user: andygoth branch: trunk, size: 29701
2015-05-12
10:42
Make addremove command to fail if unprocessed arguments (other than options) are specified. To avoid mis-use where a user could think he can specify a list of directory like with many other commands. file: [8bdf9aab] check-in: [975600dd] user: mgagnon branch: trunk, size: 29788
2015-05-04
22:10
Merge cleanX file: [7caf962c] check-in: [72baedfb] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28609
2015-04-10
00:27
Restore the --soft/--hard option processing for mv/rm, which was removed by mistake. file: [cb683c31] check-in: [86212ece] user: mistachkin branch: trunk, size: 29511
00:18
Use one setting instead of two. Using one default fallback constant instead of two. Remove the '--metadata-only' option entirely. file: [6ceed03b] check-in: [d981fe2c] user: mistachkin branch: mvAndRmFiles, size: 29107
00:02
Add comments and simplify use of temporary tables. file: [447cdcef] check-in: [90ee7bcb] user: mistachkin branch: mvAndRmFiles, size: 30860
2015-04-09
23:21
Style and comment fixes. file: [2de622f3] check-in: [99c57b3e] user: mistachkin branch: mvAndRmFiles, size: 29500
2015-04-05
20:08
Fix some inaccurate comments. file: [98e02063] check-in: [af501140] user: mistachkin branch: mvAndRmFiles, size: 29456
2015-03-23
01:50
Update and improve command help for 'mv', 'rm', et al. file: [bcb20a8b] check-in: [27702f3c] user: mistachkin branch: mvAndRmFiles, size: 29462
01:29
Merge updates from trunk. file: [aca8ea5e] check-in: [78829b70] user: mistachkin branch: mvAndRmFiles, size: 28693
2015-03-17
08:23
Added a dotfiles setting to the repository settings. This complements the --dotfiles command line argument used by add, addremove, extras, and clean commands. Useful in a project that always needs to process dotfiles so that the --dotfiles option does not need to be specified each and every time. file: [e0798cb7] check-in: [b088c53f] user: sdr branch: dotfiles-setting, size: 22172
2015-03-15
03:49
Update command help for mv/rm to better reflect the new functionality. file: [d3b40183] check-in: [7b54a4e8] user: mistachkin branch: mvAndRmFiles, size: 28571
2015-03-09
14:45
Merge trunk. Make sure that "fossil forget" and "fossil rename" are unaffected by any setting. (I'm not sure this is the way to go .....) file: [a1b27c6c] check-in: [0701c1a3] user: jan.nijtmans branch: mvAndRmFiles, size: 28166
09:09
Add "fossil forget" as alias to "fossil rm|delete". This opens up the "fossil rm" command for behavior modification, as suggested on ML. file: [ec438f73] check-in: [8cf976d2] user: jan.nijtmans branch: trunk, size: 22050
2015-03-04
02:17
Properly document all the new options. file: [9fc8d448] check-in: [17eb0bdc] user: mistachkin branch: mvAndRmFiles, size: 28074
02:03
Revise the --soft/--hard option processing a bit. file: [005bf878] check-in: [2d1f5abf] user: mistachkin branch: mvAndRmFiles, size: 27534
02:00
Recognize the '--soft' and '--hard' options as well for the mv/rm commands. file: [3cd5c130] check-in: [2ed14f79] user: mistachkin branch: mvAndRmFiles, size: 27522
01:27
Add '--metadata-only' option to the 'mv' and 'rm' commands. file: [a09577bd] check-in: [65d5f275] user: mistachkin branch: mvAndRmFiles, size: 27358
2015-03-03
23:25
Only define and use the new 'move-files' and 'remove-files' settings when compiled with the FOSSIL_ENABLE_LEGACY_MV_RM option. file: [06b7f32f] check-in: [c227e14f] user: mistachkin branch: mvAndRmFiles, size: 26682
22:52
Merge updates from trunk. file: [e8a5eb24] check-in: [0a0be9e1] user: mistachkin branch: mvAndRmFiles, size: 25046
2015-02-28
10:11
replaced 'checkin' with 'check-in' in code-comment, inline command help-text, SQL-statement comment, fatal error messages and some non-functional webpage-content file: [c6ebfe43] check-in: [7c30266a] user: michai branch: ml-jb-doc-typos, size: 22060
2015-02-25
01:21
Correct two typos in comments. file: [649592b2] check-in: [b4d1c30c] user: mistachkin branch: mvAndRmFiles, size: 25045
2015-02-24
04:40
Merge cleanX file: [10735816] check-in: [c4750a1e] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 21157
02:42
Remove stray blank line. file: [55d2e214] check-in: [89f85429] user: mistachkin branch: mvAndRmFiles, size: 25053
02:40
Minor tweaks to coding style and comments. No functional changes. file: [018ef19e] check-in: [a97404ef] user: mistachkin branch: trunk, size: 22059
2015-02-16
03:27
Improve the new diagnostic messages. file: [86aaf333] check-in: [7451975d] user: mistachkin branch: mvAndRmFiles, size: 25054
03:21
Merge updates from trunk. file: [e4023d28] check-in: [df36d6b8] user: mistachkin branch: mvAndRmFiles, size: 25057
2015-02-10
08:24
Speedup handling of checked-out files: When multiple information about a file is requested (size, mtime, permission flags) only call stat() once. file: [81baa38e] check-in: [dd94e596] user: jan.nijtmans branch: trunk, size: 22027
2015-02-05
04:35
Emit diagnostic messages after the file operations have been done, not before. file: [cd0b9972] check-in: [1dad8aca] user: mistachkin branch: mvAndRmFiles, size: 25042
03:55
Minor adjustment to some SQL. file: [77400787] check-in: [dfc3dfa5] user: mistachkin branch: mvAndRmFiles, size: 25042
03:46
Enhance the comments associated with the common command line options. file: [58d764e1] check-in: [5a2e8453] user: mistachkin branch: mvAndRmFiles, size: 25075
03:39
Add 'move-files' and 'remove-files' settings to enable moving or removing files when the mv or rm commands are used, respectively. file: [51c947a7] check-in: [21e08f09] user: mistachkin branch: mvAndRmFiles, size: 24909
2014-12-01
17:25
merge cleanX file: [f5bc9124] check-in: [5b40b55b] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 21110
2014-09-15
02:36
Consolidate all use of the capture_case_sensitive_option() function. file: [a6654862] check-in: [96dc8407] user: mistachkin branch: captureCaseSensitiveOption, size: 22012
01:54
Restore special handling of the database name from [17885b90c8] in filenames_are_case_sensitive() as it may be needed in some cases. file: [62de4c86] check-in: [42b97c22] user: mistachkin branch: dbRecordRepoFix, size: 22153
2014-08-07
10:02
"char const" -> "const char" and various other coding style improvements. No functional change. file: [00dd110c] check-in: [4e18dba6] user: jan.nijtmans branch: trunk, size: 22121
2014-07-30
15:40
Call verify_all_options() on most of fossil CLI commands.    - Skip all the test-* commands for now (may be unnecessary)    - Skip sha1sum, md5sum and artifact because they can take "-" as argument and verify_all_options() would call fatal. Need to handle those differently...    - Command with subcommands that have their options are remaining: branch, bisect, cache, configuration, json, sql, stash, tag, ticket, user, wiki. (not sure how to handle those yet..) file: [19de0a28] check-in: [a426154b] user: mgagnon branch: verify-all-options, size: 22147
2014-04-24
09:59
merge cleanX file: [83a54d67] check-in: [f7fd7d0a] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 20902
2014-03-28
02:28
Fix inconsistent naming between the 'fossil extras' and 'fossil all extra' commands. Add the --showfile option to the 'fossil all' command. file: [48725204] check-in: [7afbb703] user: mistachkin branch: trunk, size: 21804
2014-03-23
17:15
merge cleanX file: [55c43b8a] check-in: [1d54c024] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 20900
2014-03-12
04:08
Make stash_apply handle new files and put them in an ADDED state. file: [226e7061] check-in: [c2d748ae] user: andybradford branch: stash_add, size: 21802
2014-02-21
15:02
merge cleanX file: [9f816e63] check-in: [8b97e37e] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 20726
2014-02-20
09:42
Unnecessary blob_zero() calls: the following prompt_user() call already does a blob_zero() call internally. file: [f68c3c7d] check-in: [14768c24] user: jan.nijtmans branch: trunk, size: 21628
08:51
When doing "fossil add foo.*" but the user forgets there is a foo.o besides the foo.c and foo.h, and "ignore-glob" contains the "*.o" pattern, fossil will properly warn for this situation and ask what to do. (for Fossil itself this is no issue, as the *.o files are kept in a separate directory, but not all projects do that). Example:    /Localdata/workspace/tcl8.6/unix $ touch foo.c foo.h foo.o    /Localdata/workspace/tcl8.6/unix $ fossil add foo.* file "foo.o" matches "ignore-glob". Add it (a=all/y/N)? n ADDED foo.c ADDED foo.h file: [3976cb00] check-in: [6ec21b58] user: jan.nijtmans branch: trunk, size: 21653
2014-02-09
17:14
merge trunk file: [4e57cebb] check-in: [78862afd] user: jan.nijtmans branch: prevent-adding-ignored-files, size: 21730
2014-01-09
13:17
Add comments to better explain what it happening for the out-of-tree check in the "add" command. file: [ce515f3c] check-in: [d83fc58d] user: drh branch: pending-review, size: 20802
05:56
Attempts to add files outside the open checkout tree result in fatal error. file: [33953960] check-in: [f0de41fd] user: andybradford branch: pending-review, size: 20705
2013-12-04
09:36
Styling: translate some tabs to spaces file: [6b031721] check-in: [b3e32c8e] user: jan.nijtmans branch: trunk, size: 20633
2013-11-20
13:48
Make "fossil open" and "fossil rm" work on a repository which doesn't have any check-in. (the latter only undoes the effect of a previous "fossil add" then). file: [c37f2e07] check-in: [aef638b6] user: jan.nijtmans branch: trunk, size: 20619
2013-10-30
10:53
merge cleanX branch changes (which all come from trunk) file: [567576fe] check-in: [6934dd3c] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 19832
09:11
Make "fossil add", "fossil addremove", "fossil update" and "fossil co --latest" work when the repository doesn't contain any commit yet. This is not a fatal situation at all. file: [fb0476ff] check-in: [b725c1cf] user: jan.nijtmans branch: trunk, size: 20734
2013-10-04
02:50
Consolidate all the Cygwin-specific preprocessor directives into one file and include it where necessary. file: [2bf1d1a5] check-in: [816e893d] user: mistachkin branch: trunk, size: 20860
2013-09-04
19:17
merge trunk file: [606cabb4] check-in: [79bae863] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 20177
2013-08-30
03:06
Change most uses of fossil_panic() to fossil_fatal(). Modify fossil_panic() to avoid allocating heap memory and to close the database connection before doing anything else. file: [a6a7f085] check-in: [320f1436] user: drh branch: trunk, size: 21079
2013-06-20
11:44
Factor out common parts of "fossil extra" and "fossil clean" into a subroutine. Combine vfile_scan2() into vfile_scan(). file: [58a552c8] check-in: [69327d27] user: drh branch: ticket-967cedbf20, size: 21079
2013-06-19
07:06
rebase file: [36669786] check-in: [f836a1cd] user: jan.nijtmans branch: prevent-adding-ignored-files, size: 22009
2013-06-06
12:16
merge trunk file: [78e31405] check-in: [cf3d716e] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 20177
2013-06-05
08:12
make "fossil rm FOO" work as expected on case-insensitive file systems, where committed files "foo/*" exist. file: [1bbaef28] check-in: [fa6311a5] user: jan.nijtmans branch: trunk, size: 21081
2013-06-04
14:07
remove unused variable file: [1dabfd11] check-in: [3da761fc] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 20061
2013-06-03
07:53
Rebase. Remove --clean option and "clean-glob" setting. Implement new "allow-clean-x" setting. file: [db2532b0] check-in: [b3201c91] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 20123
2013-05-31
12:50
Make "fossil mv src/FOO.c src/bar.c" work as expected on case-insensitive filesystems. Add --case-sensitive option to "fossil mv". file: [48454a04] check-in: [93f370a8] user: jan.nijtmans branch: trunk, size: 20965
07:57
rebase file: [831f2c7a] check-in: [203195d7] user: jan.nijtmans branch: prevent-adding-ignored-files, size: 21696
07:12
Add option --case-sensitive to "fossil delete". On case-insensitive filesystems now you can "fossil delete src/FOO.c", which results in src/foo.c being prepared from removal. This doesn't work yet for directories. file: [cbe14c23] check-in: [7ae19e56] user: jan.nijtmans branch: trunk, size: 20768
2013-05-14
14:58
When trying to "fossil add" files which are expected to be ignored, ask for confirmation first. Add option -f|--force to override that. file: [4fe98497] check-in: [24effbc3] user: jan.nijtmans branch: prevent-adding-ignored-files, size: 21437
11:36
doc fixes. file: [26bd7335] check-in: [a38fa0b8] user: jan.nijtmans branch: trunk, size: 20509
2013-05-07
23:00
Modify the add and addremove commands to honor the clean-glob setting with the ability to override it via the --clean option. Adjust versionable setting files accordingly. file: [0bf65e06] check-in: [155acff4] user: mistachkin branch: trunk, size: 20503
2013-04-28
20:19
All ui pages (and their JSON equivalent) should handle filenames case-sensitive because they don't access the file system file: [05b6b1d6] check-in: [4c5c96c9] user: jan.nijtmans branch: trunk, size: 19600
16:02
Do not attempt to access the check-out database from the server. file: [17885b90] check-in: [30da8e8b] user: drh branch: trunk, size: 19633
2013-04-22
03:50
Fix error on "/dir" page: "SQLITE_ERROR: no such table: main.vfile" file: [1948ab28] check-in: [d38f204d] user: joel branch: trunk, size: 19650
2013-04-21
21:59
Add -n|--dry-run options to commands which already have --test or --nochange. file: [bacecabc] check-in: [0b866397] user: jan.nijtmans branch: trunk, size: 19586
2013-04-19
07:55
Rename "--limit" to "--count" and "--test" to "--nochange" in some fossil commands file: [584b0e1d] check-in: [e72af505] user: jan.nijtmans branch: count-nochange, size: 19615
2013-04-18
08:46
Use the function filename_collation() everywhere in stead of passing caseSensitive as parameter. file: [90ebd9e4] check-in: [3c781f4f] user: jan.nijtmans branch: trunk, size: 19486
2013-04-17
10:15
Only create index when "case-sensitive" is off. file: [4e0cdee3] check-in: [87ac9af8] user: jan.nijtmans branch: trunk, size: 20324
09:30
Fix [85017e9273]: Under Windows, renamed file keeps getting "ADDED". file: [d15ef475] check-in: [e8e444ec] user: jan.nijtmans branch: trunk, size: 20323
09:19
Cygwin: the default value of the "case-sensitive" setting now depends on the case-sensitive setting of the windows kernel. See: http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive. Alphabetize some command documentation. file: [9ebbcb2e] check-in: [9359b41f] user: jan.nijtmans branch: trunk, size: 20293
2013-04-16
09:59
Suggested fix for [85017e9273] file: [eb86f158] check-in: [d0764530] user: jan.nijtmans branch: ticket-85017e9273, size: 19460
2013-03-22
10:36
typo, mention Cygwin as well. file: [59f2454b] check-in: [68f8aafb] user: jan.nijtmans branch: trunk, size: 19445
09:36
Allow win32 forbidden characters to be used in filenames, using the Cygwin workaround: http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars. The files test/00*.x should NOT be merged to trunk, otherwise trunk cannot be checked out with older win32 fossil versions any more! file: [b5b0451d] check-in: [c68afe0f] user: jan.nijtmans branch: win32-please-evaluate, size: 19445
2013-02-27
08:49
A few more places where Cygwin should do the same as win32. file: [5c49a47a] check-in: [8cc71be0] user: jan.nijtmans branch: trunk, size: 19429
2013-02-26
09:27
Cygwin has same filesystem as Windows, so should be case-insensitive and do '/' <-> '\' conversion the same as win32. fossil_utf8_to_filename should do '/' -> '\' conversion on win32, as not all win32 API functions handle '/' correctly. file: [57ef7a60] check-in: [d4b3e1d8] user: jan.nijtmans branch: trunk, size: 19406
2012-12-12
22:52
Do not enforce the requirement that filenames in manifests be strict UTF8 because some bug or another in a legacy version of Fossil allowed in some Latin-1 Suppliment characters encoded as a single byte (ex: 0xf3) instead of the correct two-byte encoding (ex: 0xc3 0xb3) and so if we start enforcing strict UTF8, some check-ins from those legacy versions of Fossil will be inaccessible. file: [5a42fac8] check-in: [d48399bd] user: drh branch: trunk, size: 19382
2012-11-28
23:05
Serious bug fix: Avoid deleting the respository if the repository is in the checkout and you do a "fossil close". file: [4f9777f5] check-in: [fcdeaa29] user: drh branch: trunk, size: 19379
2012-11-23
10:35
Disallow invalid unicode characters file: [1560b7c4] check-in: [9242c09f] user: jan.nijtmans branch: invalid-unicode, size: 19211
2012-11-10
00:26
Enhance the fossil_reserved_name() function to include the repository filename and its journals and auxiliary files. Ticket [7d790e7e5e0f701e01]. file: [c877f19e] check-in: [8b06be70] user: drh branch: trunk, size: 19195
2012-11-07
11:28
Show an error message when trying to rename one file on top of another, rather than throwing a uniqueness constraint. Ticket [1e43138b8b8e90f] file: [36b98362] check-in: [14fdae7e] user: drh branch: trunk, size: 18375
2012-11-04
12:59
Fix typos. file: [e3d77818] check-in: [45065c5c] user: dmitry branch: spelling, size: 17954
2012-10-15
05:28
unused variable includeDotFiles struct utimbuf -> struct _utimbuf (compiler warning with mingw-w64) a few "const" additions file: [89514003] check-in: [d2e1469d] user: jan.nijtmans branch: use-utf8-in-win-external-editor, size: 17953
2012-10-13
14:19
Add the --temp option to the "fossil extra" and "fossil clean" commands. file: [50c72bbc] check-in: [3206b648] user: drh branch: trunk, size: 18096
2012-09-05
12:55
const-qualification file: [4416756e] check-in: [645f3483] user: jan.nijtmans branch: eclipse-project, size: 18022
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [9504afe9] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 18003
2012-08-22
20:19
Make use of %q instead of %s to avoid SQL injections. file: [8cf1adde] check-in: [e766df0a] user: drh branch: trunk, size: 18004
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [89261b9a] check-in: [0328d681] user: drh branch: sqlite4, size: 18009
2012-06-11
17:33
merge trunk again... (previous merge was not from latest trunk from fossil-scm.org) file: [e25ca4a3] check-in: [7a57ab64] user: mgagnon branch: mgagnon_fix, size: 18046
2012-06-10
22:29
If files named on the "fossil add" command are not present, make that a warning rather than a fatal error. file: [0a869f4d] check-in: [810976a7] user: drh branch: trunk, size: 18004
2012-04-19
14:34
Catch up w/ trunk & document --case-sensitive option in the add and addremove commands. file: [8397df79] check-in: [626a317e] user: martin.weber branch: msw-docco, size: 18002
2012-04-13
22:42
Fix the /dir webpages to that it treats folders whos names differ only in case as the same folder when case-sensitive is off. file: [bffcf051] check-in: [4290a801] user: drh branch: trunk, size: 17531
2012-03-29
14:54
Add vim modline everywhere file: [7e0fdc9b] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 17235
2012-03-19
05:24
Modify file_simplify_name to accept a parameter used to determine if the trailing slash, if any, should be retained. Make use of this when converting the local root to its canonical form. file: [81db0a93] check-in: [e94c7cc4] user: mistachkin branch: winFiles, size: 17193
2012-02-10
18:02
climb up the trunk. From up here, clarify wording of the "building and installing" wiki page: you don't need to log in to get the source code for released versions of fossil, the download page will have a shiny source package for you to fetch. file: [087531f7] check-in: [587dd57f] user: martin.weber branch: msw-docco, size: 17190
2012-02-04
14:44
Change the alternative name of the _FOSSIL_ checkout database to ".fslckout" since the prior alternative name is offensive in some locales. The prior name is still supported for backwards compatibility, but is now deprecated and undocumented and will eventually disappear completely. file: [18bae95c] check-in: [f9a200f0] user: drh branch: trunk, size: 17253
2011-12-22
13:57
Fix the "add" command so that it will undo a prior "rm". Ticket [34707fabfd8a5d] file: [ea14bc3e] check-in: [feed6232] user: drh branch: trunk, size: 16971
2011-12-06
00:09
The finfo command and the file browsing pages of the web UI now honor the case-sensitive option and merge filenames that differ only in case as requested. file: [8e963770] check-in: [9c90b0f0] user: drh branch: trunk, size: 17050
2011-11-03
17:31
Break up the command-line commands into commonly-use and auxiliary commands and only show the commonly-used ones with "fossil help". Add a new command "fossil commands" to show auxiliary and test commands. file: [bef92e56] check-in: [841772c8] user: drh branch: trunk, size: 16660
2011-09-29
11:05
Cache "manifest" setting in fossil_reserved_name() instead of reading it from the database on every call. This speeds up adding many files. file: [bbb10b49] check-in: [a369dc77] user: dmitry branch: trunk, size: 16658
2011-09-27
19:15
Change a few instances of file_isdir() to file_wd_isdir(). file: [623b2b21] check-in: [f1329470] user: dmitry branch: trunk, size: 16517
2011-09-15
00:54
Further progress towards jerusalem on yet another holy docco crusade! Checkin #3/n file: [6821b262] check-in: [17f21f24] user: martin.weber branch: msw-docco, size: 16448
2011-09-14
00:32
Begin streamline the online documentation to: • always include a short overview of the options supported by a given command, alphabetically sorted • reference similar/related commands with a final See also: section • Use ?x? for optional arguments • collapse supported options into ?OPTIONS? This is commit #1/n. file: [be93e471] check-in: [3fbf8caa] user: martin.weber branch: msw-docco, size: 16511
2011-09-08
11:59
Introduce new file_wd_* functions that use stat() or lstat() depending on 'allow-symlinks' setting, and use them when dealing with files inside the working directory. Make file_* functions always use stat() as before merging symlink support.    Fix renaming of symlinks when merging (via new function symlink_copy()).    Rename create_symlink() to symlink_create(). file: [708fe383] check-in: [8a0c5469] user: dmitry branch: symlinks, size: 16248
2011-08-23
17:44
Fill islink field in vfile table when adding files. Support symlinks in export. Make manifest_file_perm() return 2 for symlinks. Add file_perm() function, and use it instead of file_isexe() when we need both isexe and islink properties. file: [865597ff] check-in: [4619361d] user: dmitry branch: symlinks, size: 16239
2011-08-22
22:20
Merge trunk. file: [402e3aba] check-in: [c57830be] user: dmitry branch: symlinks, size: 16205
2011-08-14
07:21
Merge trunk into ben-testing, adjusting for versionable settings. file: [237efaf5] check-in: [246ac307] user: ben branch: ben-testing, size: 16257
2011-08-05
19:14
Remove redundant assignment of the xCmp local variable in the add_files_in_sfile function. file: [8304adf5] check-in: [cad1b4a4] user: mistachkin branch: trunk, size: 16197
2011-08-04
17:13
Add experimental changes to support the case-sensitive setting and the --case-sensitive command-line option for "add", "addremove", and "merge". file: [76e96209] check-in: [4fee0ce2] user: drh branch: filename-case, size: 16254
2011-05-21
16:18
Slightly hacky way of putting versioned properties in .fossil-settings dir. Version ignore-glob, binary-glob, crnl-glob and manifest. Glob splitting allows line breaks as well as spaces and commas. file: [a40109e2] check-in: [56b75c76] user: ben branch: bens-expr, size: 14543
2011-05-04
11:13
Add a wrapper around all calls to access() that translates UTF8 to MBCS. file: [1f832588] check-in: [850d3df4] user: drh branch: windows-i18n, size: 14483
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. file: [3eb48da8] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 14478
2011-04-18
12:01
Fix an invalid call to free() that occurs when "fossil add ." is run. Ticket [157ef3e5a7a06b]. file: [7a54c5bd] check-in: [ed5c19cd] user: drh branch: trunk, size: 14448
2011-04-15
00:59
Completely forget about files that were added then removed without ever been committed. file: [18755570] check-in: [97e5ff20] user: drh branch: experimental, size: 14438
2011-04-14
22:41
Refactoring the "add", "del", and "addremove" commands. file: [4ef0b1f5] check-in: [2b951025] user: drh branch: experimental, size: 14388
18:09
Refactoring the directory scanning code used by recursive add, extra, and clean. Seems to work but needs more testing prior to folding into trunk. file: [7926167f] check-in: [f60f5602] user: drh branch: experimental, size: 15598
2011-04-13
11:47
Online help for the first few commands edited - to help with very long explanations, the command is summarised at the end for those who just want to check the precise options file: [36deb7a8] check-in: [a3ecba52] user: Arjen Markus branch: arjen-doc-updates, size: 16338
10:23
Online help for the first few commands edited - to help with very long explanations, the command is summarised at the end for those who just want to check the precise options file: [f1bbb299] check-in: [1f851f84] user: Arjen Markus branch: arjen-doc-updates, size: 16326
2011-03-24
02:08
Remove redundancy from the "fossil rm" command, as pointed out by Carles Pagès. file: [9c20c37a] check-in: [7fca0075] user: drh branch: trunk, size: 15670
2011-03-19
18:14
Enhancements to "fossil add" and "fossil rm" so that they work recursively on directories and ignore trailing / characters. Patches from Carles Pagès. file: [a6685641] check-in: [04ddad7a] user: drh branch: trunk, size: 16002
2011-02-28
03:26
Try to get the "stash" command using execute permission bits correctly. Continuing work on the "revert" command - but it is still not working quite right. Ticket [baf9b6b11e08c1d0b]. file: [732cf6a6] check-in: [ae3409bf] user: drh branch: exe-permission-fix, size: 15872
2011-02-16
19:19
Always close opendir() objects if and only if successfully opened. Ticket [d7169e51ebb3400f6] file: [5759e1b3] check-in: [f73ed21d] user: drh branch: trunk, size: 15837
2011-01-28
19:04
Add symlink support for Unix. New settings flag "allow-symlinks" controls this (off by default). file: [8e81199f] check-in: [ed2ef7e9] user: dmitry branch: symlinks, size: 15857
2011-01-13
19:55
Fix the "addremove" command so that it honors the "ignore-glob" setting. Ticket [9bd235c69af99b3a6a] file: [38d70ffa] check-in: [356e877c] user: drh branch: trunk, size: 15833
2011-01-05
18:41
Add the --ignore option to the "add" command and have "add" honor the "ignore-glob" setting. Ticket [f270321c0f74b354f05] file: [6ebb7d84] check-in: [be3d2154] user: drh branch: trunk, size: 15833
2010-12-23
02:22
Add new function fossil_strcmp() that works like strcmp() except that it handles NULL arguments correctly. Use fossil_strcmp() in place of strcmp() in many places in the code. file: [3c587dbc] check-in: [31c52c7b] user: drh branch: trunk, size: 14384
2010-12-10
22:02
Create a single subroutine that determines whether a file is a "reserved" file used by Fossil itself, or is potentially a valid repository file. This processing used to be duplicated at each place where it was needed. file: [1c6b98b7] check-in: [56d69dbd] user: drh branch: trunk, size: 14377
2010-11-12
16:37
Incorporate the "addremove" command (with edits) from the StvPrivateHook2 branch. file: [b725a02e] check-in: [ceab5371] user: drh branch: trunk, size: 13255
2010-10-14
18:41
rename import to addremove file: [380b789b] check-in: [7e65c703] user: wolfgang branch: wolfgangHelpCmd, size: 12933
2010-10-13
19:40
added experimental IMPORT command (ticket [e0352240ad]) file: [8d5bd940] check-in: [b37d5f25] user: wolfgang branch: wolfgangHelpCmd, size: 12927
2010-10-08
15:05
fine tuning the layout of the command line help strings file: [bec9424f] check-in: [c6d18790] user: wolfgang branch: wolfgangHelpCmd, size: 10091
12:02
added cross reference links to command line help in the gui file: [a1c15d50] check-in: [b76a547f] user: wolfgang branch: wolfgangHelpCmd, size: 10091
2010-09-29
13:18
Back out changes in [9978d2aba603d94]. Instead, simply modify checkout so that it never overwrites "manifest" and "manifest.uuid" if those files are explicitly checked in. Ticket [22a59e9a3455d8e]. file: [b32ce1f5] check-in: [4208b3b4] user: drh branch: wolfgangFormat2CSS_2, size: 10084
2010-09-27
18:12
added setting to change name of the manifest files in the checkout Ticket [22a59e9a3455d8ecb] file: [23a3ba5e] check-in: [9978d2ab] user: wolfgang branch: wolfgangFormat2CSS_2, size: 10172
2010-09-22
03:03
typo file: [ed34a985] check-in: [cb14ab18] user: bharder branch: nop, size: 11413
02:58
start of "nop" no-operation command file: [14f0509b] check-in: [46ea0373] user: bharder branch: nop, size: 11414
2010-09-17
06:13
Add "dismiss" cmd to pair w/ new "DISMISSED" reporting file: [66fb1060] check-in: [a50ea974] user: bharder branch: lang, size: 10217
06:02
less threatening desc. for removing an artifact from repo file: [92a9faf0] check-in: [6938d5fe] user: bharder branch: lang, size: 10163
2010-08-28
06:59
This is the first check-in on the windowscompilers branch and it adds the Digital Mars C compiler    The user should have dmc installed in c:\DM with zlib in c:\DM\extra\lib and c:\DM\extra\include.    typing c:\DM\bin\make -f win\Makefile.dmc builds fossil.exe in dmcobj    The following files were edited or added: Checks if one of the windows compilers is used. If so we define _WIN32. Defining _WIN32 is normally done by#include <windows.h> However most of the time we don't use windows.h. Adding an other windows compiler is done by adding "|| defined(__COMPILER_IDENTIFIER__)" and maybe some special things in the files below. Like These have all __MINGW32__ replaced by _WIN32. And in some places special processing for either MINGW32 or DMC In popen2 the _open_osfHandle call first parameter is cast to a long. DMC refused to compile without the cast. DMC complained that it didn't knew of time_t in rss.h. time.h came after rss.h. Switching the two solved it! added tcl code to generate Makefile.dmc. tclsh src/makemake.tcl dmc prints to stdout the makefile. As a convienience to the end-user I added the win/Makefile.dmc to the repository. There are few changeable variables in there for adjusting path, CFLAGS LIBS etc. These are needed because DMC and MSVC doesn't provided them. dirent.h is copied verbatim from the net. unistd.h I found on the net too, but added some defines. The problem with windows it doesn't have AWK standard installed. version.c creates VERSION.h. It is a very simple C-program and doesn't do a lot of checking. file: [eddef3fa] check-in: [f66f414f] user: renez branch: windowscompilers, size: 10159
2010-07-29
19:01
“delete” command, still can use “del” which is shorter and non ambiguous – ignore -wal and -shm files in repository root for adding, computing extras and closing repository, just in case file: [fe303ecf] check-in: [2a4ab3b1] user: benoit branch: benoit, size: 10157
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [1b517567] check-in: [c06edd23] user: drh branch: clear-title, size: 10000
11:18
Pull the latest trunk changes into clear-title. file: [a377c59b] check-in: [96722b6d] user: drh branch: clear-title, size: 10275
2010-05-09
16:49
Prevent adding special files _FOSSIL_-journal, .fos, and .fos-journal to the repository. Ticket [97d8f830b7e5e2] file: [7af46067] check-in: [c193d2c2] user: drh branch: trunk, size: 10279
2010-03-05
00:10
Pull over from the trunk all recent changes for which we have clear title. file: [7858902e] check-in: [b9d3b428] user: drh branch: clear-title, size: 10162
2010-03-02
18:20
On windows, use COLLATE NOCASE instead of LIKE to do case insensitive comparisons - to avoid issues with wildcards. Ticket [80d3ba8b0ff]. file: [3384ceaf] check-in: [d97a4cdf] user: drh branch: trunk, size: 10166
2010-02-25
14:06
Pull over the latest clear-title changes from trunk. file: [deefa315] check-in: [16e703be] user: drh branch: clear-title, size: 10112
2010-02-13
12:30
Fixed bug [2245a1e3d0]. rm command now properly checks return value. file: [91e56909] check-in: [02f638a1] user: jeremy_c branch: trunk, size: 10102
2010-02-08
18:47
fossil rm can now remove entire directories. file: [05fb2297] check-in: [6dbd362d] user: jeremy_c branch: trunk, size: 10097
18:16
Merge recent changes into the dual-license branch. file: [4cfd5054] check-in: [14c19fbc] user: drh branch: clear-title, size: 8867
16:10
Alternative implementation to the improved "remove directory" error message. file: [10283fbb] check-in: [8c9f949a] user: drh branch: trunk, size: 8871
14:20
Added better error message when trying to remove a directory. file: [c5981285] check-in: [1761fee0] user: jeremy_c branch: dead-end, size: 8876
2010-01-21
22:06
Updated to include all the latest changes (for which we hold clear title) from the trunk. file: [f2d24a3a] check-in: [390b4146] user: drh branch: clear-title, size: 8727
2010-01-20
18:35
On windows, do not allow the "add" command to add files that differ from existing files only in case. Only works for ASCII. Ticket [36cb6b45fd9d]. file: [4b40de92] check-in: [4b9455bf] user: drh branch: trunk, size: 8731
2010-01-19
18:11
Start a new branch that strives to contain only code for which we hold clear title. file: [ab9ec8bb] check-in: [ab0a0d76] user: drh branch: clear-title, size: 8388
2009-12-09
15:34
Added a DELETED abc.xyz message when using fossil rm. This is the same as fossil add's ADDED abc.xyz message. Also, the word DELETED was choosen over REMOVED because fossil status reports the file as DELETED. file: [d5685d9f] check-in: [49ed1961] user: jeremy_c branch: trunk, size: 8392
2009-08-14
16:19
Add the --dotfiles option to the "add" command to cause fossil to include files whose name begins with "." which recursively adding files. Ticket [2e924cf9b74e]. file: [c094792c] check-in: [5bc5e88c] user: drh branch: trunk, size: 8354
2008-12-07
18:11
Enhance the "fossil add" command so that when a directory is named, all contents of that directory are added recursively. Ticket [e02ffabcdaaaf606099ac09227833ba282fdaace] file: [c6fe5d6e] check-in: [8c4e72e2] user: drh branch: trunk, size: 7821
2008-11-12
04:09
Changed URLs for embedded docs, changed comment in add.c:mv_cmd to read "does not rename" instead of "does rename" file: [b8ff9cb3] check-in: [67f44bb3] user: kejoki branch: trunk, size: 6446
2008-11-09
22:43
Bug fix in the "mv" command. Add filename change tracking to the check-in information screens. You must run rebuild on existing respositories when upgrading to this version of fossil. file: [6a50b3b7] check-in: [9fd80090] user: drh branch: trunk, size: 6442
19:22
Add the "mv" and "rename" commands (aliases for the same thing). file: [90532122] check-in: [e146d800] user: drh branch: trunk, size: 6336
2008-11-03
09:55
Update for making mycfg.exe. WARNING: This is an incompatible change. Do not use this branch of development to build a copy of fossil that needs to interoperate with official releases. file: [c9891105] check-in: [b54de50a] user: urmil branch: trunk, size: 3548
2008-07-23
17:36
Do not allow the current repository to be added to the set of files for a repository. Ticket [8e9136e8]. file: [8c54ff6c] check-in: [141c3179] user: drh branch: trunk, size: 3549
13:01
The "extra" and "clean" commands ignore the repository file if the repository happens to be within the check-out. Ticket [c7b35be88]. file: [ca6c08e1] check-in: [2ecc407d] user: drh branch: trunk, size: 3414
2008-05-13
13:20
Make attempts to add _FOSSIL_, manifest, and manifest.uuid warnings, not fatal errors. This allows users to say things like "fossil add *" when initially populating a new project repository. file: [e817fb01] check-in: [844718ab] user: drh branch: trunk, size: 3408
2008-05-10
18:01
Help message cleanup. Automatically delete cloned database files if the clone fails. file: [5acaff69] check-in: [6b85fd17] user: drh branch: trunk, size: 3324
2007-10-15
20:45
Fix the "add" command is that it does not allow users to accidently add files that contain shell wildcard characters. file: [ce8cf091] check-in: [da9d38e2] user: drh branch: trunk, size: 3358
2007-09-22
06:47
Win32 port now functional except network operations. This commit was done on windows :-). See win32.txt for status of all commands. No networking commands are functional yet. All path operations are now functioning. file: [7e200015] check-in: [c7278fd0] user: jnc branch: trunk, size: 3238
2007-08-18
02:45
Add the "help" command and the "clean" command. More work is needed on the text for various help messages. file: [771768ca] check-in: [c9fdb846] user: drh branch: trunk, size: 3238
2007-08-08
15:22
Make sure a user does not attempt to "fossil add" the manifest or the _FOSSIL_ files. file: [f62f7b3c] check-in: [20bcbcf2] user: drh branch: trunk, size: 3145
2007-07-21
14:10
Initial check-in of m1 sources. file: [1a5dfcdb] check-in: [dbda8d6c] user: drh branch: trunk, size: 3029 Added