Fossil

File History
Login

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

History of src/vfile.c

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: [8c891c74] check-in: [e7767de2] user: drh branch: symlink-refactor, size: 31037
2017-10-14
22:19
Correct sense of _WIN32 conditional compilation file: [781c7825] check-in: [1226e3ef] user: andygoth branch: enhanced-symlink, size: 31721
22:03
Additional corrections to Windows symlink permissions logic file: [bedc1e69] check-in: [f29c8a44] user: andygoth branch: enhanced-symlink, size: 31722
21:48
Tweak comment style for consistency within functions file: [90205f43] check-in: [364d0431] user: andygoth branch: enhanced-symlink, size: 31619
21:44
Correct vfile_check_signature() handling of manifest.symlinks not existing or manifest setting not containing the l flag file: [f3d8535d] check-in: [de50c496] user: andygoth branch: enhanced-symlink, size: 31619
21:43
Update Windows version of vfile_check_signature() to get symlink status from manifest.symlinks file: [80bbf328] check-in: [23e67f67] user: andygoth branch: enhanced-symlink, size: 31612
2017-08-30
13:07
Merge cleanX file: [ea154b03] check-in: [92976100] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30798
2017-06-13
04:45
Fix the blob_read_from_file() function so that it works with files larger than 2GiB. file: [1ef8d4ac] check-in: [837333fc] user: drh branch: trunk, size: 31015
2017-04-23
13:08
merge trunk. Use new Win10 flag: SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE. See: https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#Y9sMOye6Y8vVYmDx.97 for why this might make this branch work better. file: [591af9e0] check-in: [2999c7dc] user: jan.nijtmans branch: winsymlink, size: 32018
2017-03-02
12:08
Few (textual) typos. Eliminate unneccary spacing. file: [ed1123e8] check-in: [b098c939] user: jan.nijtmans branch: trunk, size: 31005
2017-03-01
18:21
Remove unused local variables. file: [b7e3d918] check-in: [cb92c69c] user: drh branch: trunk, size: 31006
2017-02-28
20:16
The vfile.c modules uses the display hash to verify whether or not files have changed on disk. file: [64d62453] check-in: [ac279fa0] user: drh branch: fossil-2.0, size: 31035
16:36
Change the --sha1sum options on "fossil commit" and "fossil status" to be --hash, since it is no longer restricted to a single hash algorithm. file: [8486f9b9] check-in: [1f61b2dc] user: drh branch: fossil-2.0, size: 31233
16:25
Refactoring and cleanup of some of the hash name interfaces. file: [e813c4db] check-in: [1c8768b0] user: drh branch: fossil-2.0, size: 31233
00:56
Relax size constraints on artifact hash parsing. file: [bb26a212] check-in: [65c59711] user: drh branch: fossil-2.0, size: 31206
2017-02-14
19:23
Merge cleanX file: [56da8262] check-in: [d73dcdd0] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30994
2016-11-15
23:23
Make changing to a symlink take priority over all other change types. This might also be a solution to the problem fixed by the previous commit, but it also avoids having a file that becomes a symlink (with target string length not equal to former file size) being marked as an ordinary edit. file: [f2ac27cd] check-in: [f10a284a] user: andygoth branch: trunk, size: 31211
2016-11-06
22:55
Split SCAN_META to SCAN_MTIME and SCAN_SIZE. None of these are in use at the moment. file: [070342b0] check-in: [2862f1c2] user: andygoth branch: andygoth-changes, size: 31069
07:57
Begin expanding status_report() to support being the backend for the ls command. The work is not yet complete. First we must debug a mysterious abort in SQLite. Test case: run "./fossil changes -differ" with at least one changed file. file: [431aa928] check-in: [9d5de8d7] user: andygoth branch: andygoth-changes, size: 30889
06:39
Rename sfile x column to pathname to match vfile and to make room for new columns I plan to add file: [8dd23891] check-in: [ec9480fc] user: andygoth branch: andygoth-changes, size: 30532
2016-11-04
22:37
Consistently use the count(X) macro in place of sizeof(X)/sizeof(*X) throughout the Fossil core, excluding things that don't use makeheaders. Also use count(X) instead of ArraySize(X) which has the same definition. file: [ff343698] check-in: [e5b62edb] user: andygoth branch: trunk, size: 30525
2016-10-20
16:48
Remove extra newlines from calls to fossil_fatal() file: [c07d515a] check-in: [2c42b217] user: andygoth branch: trunk, size: 30544
2016-09-30
23:45
Coding style tweaks. No changes to functionality. file: [99f026d0] check-in: [3bb04c90] user: mistachkin branch: trunk, size: 30548
2016-05-31
08:17
merge from trunk with a few tweaks for merge conflicts file: [372a1802] check-in: [598b58a5] user: sdr branch: winsymlink, size: 31573
2016-05-21
23:58
merge cleanX file: [f39b5b10] check-in: [70f77a1b] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30343
2016-04-28
14:32
Fix (harmless) mingw compiler warning src/vfile.c: variables ‘currentPerm’ and ‘origPerm’ set but not used [-Wunused-but-set-variable] file: [9d44ee4a] check-in: [c2000668] user: jan.nijtmans branch: trunk, size: 30560
2015-12-02
20:23
Experimental changes to deal with the reserved 12 characters (e.g. 'FILENAME.EXT') always needed for long directory names on Windows. file: [3b728606] check-in: [6ebef28f] user: mistachkin branch: pending-review, size: 30516
2015-09-04
15:44
Fixed a broken conditional for code which should only be compiled on Windows but was only being compiled for posix. file: [c3f0cccf] check-in: [5bbf1ab3] user: sdr branch: winsymlink, size: 31599
2015-09-03
23:15
Merged from trunk with a few tiny edits to make new functionality work on Windows file: [2d2b4b44] check-in: [8f33e49d] user: sdr branch: winsymlink, size: 31600
2015-07-14
19:55
merge trunk file: [9136effe] check-in: [cac5cbae] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30325
2015-05-15
05:00
Add EXECUTABLE, SYMLINK, UNEXEC, UNLINK reports to [fossil changes] and [fossil status] when a file becomes or ceases to be executable or a symlink yet is otherwise unmodified. This change does not apply to Windows. Update the changelog accordingly. Update vfile_check_signature() comment to also describe "integrate" changes.    BUG: [fossil commit] does not update the "isexe" and "islink" flags. Thus the files continue to show as changed. Fixed by [076c8544]. file: [b8560f48] check-in: [03679b58] user: andygoth branch: andygoth-metadata-changes, size: 30542
2015-05-04
22:10
Merge cleanX file: [1f7d1b00] check-in: [72baedfb] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29330
2015-04-30
08:35
Eliminate last argument of vfile_dir_scan(), since it's always 0. Don't need to prompt before removing empty dirs, as "empty-dirs" already specifies which dirs need to be kept. file: [530a8420] check-in: [0db0fdb2] user: jan.nijtmans branch: noDirPrompt, size: 29547
2015-04-27
13:19
Provide help text for all commands and webpages. file: [6c472274] check-in: [7ab03289] user: drh branch: trunk, size: 29766
2015-03-18
16:31
Merged several months worth of trunk into the winsymlink branch. file: [e7b51ee5] check-in: [f4c14344] user: sdr branch: winsymlink, size: 29725
2015-02-24
04:40
Merge cleanX file: [dbfac7dc] check-in: [c4750a1e] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29044
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: [bcf0d661] check-in: [dd94e596] user: jan.nijtmans branch: trunk, size: 29480
2014-12-01
17:25
merge cleanX file: [08b9d672] check-in: [5b40b55b] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29048
2014-10-14
21:43
merge trunk file: [542a9c5d] check-in: [2932f753] user: jan.nijtmans branch: winsymlink, size: 29635
13:10
strglob() -> sqlite3_strglob() file: [448fd883] check-in: [2271ea42] user: jan.nijtmans branch: trunk, size: 29484
2014-10-13
08:07
Merge trunk. Don't use _DIRENT_HAVE_D_TYPE in a MinGW build (just as MSC), as it cannot be thrusted with symlinks. Disable use of file: [1ef61be4] check-in: [8f8301af] user: jan.nijtmans branch: winsymlink, size: 29613
2014-09-25
19:21
Summary: a number of changes to improve windows symlink handling. Detail: fixed file_contains_merge_marker failure on windows symlinks; fixed inadequate S_ISLNK macro for windows; backed out change made to revert query ("OR islink" removed); added special processing to vfile_check_signature for windows symlink type changes; fixed a few flaws in the windows specific posix-compatibility routines to improve symlink handling. file: [d1931fb3] check-in: [9c5bbd6a] user: sdr branch: winsymlink, size: 29509
2014-09-20
18:41
Changed name of checked_symlink_create to create_symlink_or_file as it is more accurate / descriptive. Also changed some parameter names, and fixed a couple spelling errors (accidentally typed blog instead of blob and never compiled; oops). file: [b3205a43] check-in: [31b0a9d7] user: sdr branch: bad-winsymlink, size: 29332
18:32
Refactored symlink_create repeated block of code into a checked_symlink_create function. file: [ae50248d] check-in: [2d3ff7bd] user: sdr branch: bad-winsymlink, size: 29332
18:11
Modified revert to always process symbolic links. Also added link_delete to complement file_delete, as windows needs special delete handling for symbolic links as they might be directory symlinks. file: [d4dec0b0] check-in: [9e0ba121] user: sdr branch: bad-winsymlink, size: 29462
2014-05-31
16:37
Backout [636982a564], which incorrectly calculates aggregate disk checksums when selectively committing files for the initial checkin. file: [33ddafa3] check-in: [1a0179ab] user: joel branch: trunk, size: 29462
2014-05-08
05:52
Abort update or merge operation if there is content missing from files. Add --force-missing option to allow override if desired. file: [dc6e75df] check-in: [f2adddfe] user: andybradford branch: per-round-trip-commit, size: 29491
2014-03-23
17:15
merge cleanX file: [3a5e24d2] check-in: [1d54c024] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28936
2014-02-25
11:06
Cherrypick [3fbdaa243d]: Speedup "fossil extras" and other commands which traverse the local filesystem. See: http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg14697.html. Thanks to Samuel Debionne for the suggestion. file: [7a6d8a65] check-in: [5255b493] user: jan.nijtmans branch: branch-1.28, size: 29367
2014-02-24
10:22
Same optimization in "fossil reconstruct" file: [64d8e496] check-in: [e1bcc99d] user: jan.nijtmans branch: use-d-type, size: 29372
10:14
If pEntry->d_type==DT_LNK, then it could be a link to a directory or to a file, so handle that the same as DT_UNKNOWN. file: [c2a83e51] check-in: [eb2dc8fa] user: jan.nijtmans branch: use-d-type, size: 29344
2014-02-21
15:02
merge cleanX file: [2d1fe33e] check-in: [8b97e37e] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28208
2014-02-20
15:19
(experiment) Use d_type field of dirent structure for speedup. file: [559facf6] check-in: [0c7834c7] user: jan.nijtmans branch: use-d-type, size: 29316
2014-02-18
08:35
Make "fossil add" work when vid=0 (empty check-out). This makes it possible to create initial non-empty check-ins by doing a "fossil add" before the first "fossil commit" file: [ba71e9ed] check-in: [636982a5] user: jan.nijtmans branch: trunk, size: 28644
2014-01-28
08:20
More removals of unnecessary end-of-line spaces. No change in code. file: [83d54576] check-in: [45f35169] user: jan.nijtmans branch: trunk, size: 28615
2014-01-04
23:00
Fix use of sqlite3_strglob: 0 means there is a match file: [87a89746] check-in: [70a374d9] user: jan.nijtmans branch: sqlite-min-to-3.7.17, size: 28661
20:51
Increase minimum SQLite requirement to 3.7.17, and make efficient use of the function sqlite3_strglob. This eliminates unnecessand sqlite file: [1422291c] check-in: [c8c56468] user: jan.nijtmans branch: sqlite-min-to-3.7.17, size: 28655
2013-10-30
10:53
merge cleanX branch changes (which all come from trunk) file: [dce3faa7] check-in: [6934dd3c] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28203
2013-10-07
07:41
Better error message in case of "manifest file (12892) is malformed". It will now give an additional line: "line ???: wrong size UUID on P-card" (or whatever other parsing error happens), and using the "-n" option it will print out the complete manifest as well. This would have made it much easier to investigate Ron Aaron's commit problem (many thanks for reporting this!), without adding special debugging code to fossil. file: [e3350e04] check-in: [ec81aee9] user: jan.nijtmans branch: trunk, size: 28639
2013-10-04
09:30
Better error-message in case of "manifest file is malformed" file: [7c8ad2a0] check-in: [1eb438d6] user: jan.nijtmans branch: pending-review, size: 28634
2013-10-02
14:45
Take over some improvements/fixes from the CleanX2 branch. Still not very well tested, so please don't look ;-) file: [6c2b8129] check-in: [b2a2ce53] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28123
2013-10-01
09:21
merge trunk file: [3e8f9cb5] check-in: [5724c62c] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28342
2013-09-30
13:30
Simplify vfile_dir_scan and make sure nested calls do not alter the path added to the dscan_temp table. file: [0e2f3aa9] check-in: [4f2bad83] user: mistachkin branch: cleanEmptyDirs, size: 28559
12:16
Add the --dirsonly and --allckouts options to the 'clean' command. file: [1f7a9e96] check-in: [51403ee5] user: mistachkin branch: cleanEmptyDirs, size: 28692
11:45
Add --emptydirs option to the 'clean' command to remove empty directories. Corrections to style and comments. Remove superfluous local variable zDir in vfile_scan. file: [ca402b91] check-in: [8f1e1ee8] user: mistachkin branch: cleanEmptyDirs, size: 28588
2013-09-04
19:17
merge trunk file: [55b86c66] check-in: [79bae863] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 24360
2013-09-02
19:20
Fixed a wrong-column use in load_vfile_from_rid(), which caused an is-a-phantom check to always eval to false, even for phantoms. This has 'probably' never been triggered before. file: [3008a3b8] check-in: [612e0ecc] user: stephan branch: trunk, size: 24577
19:11
Removed some dead SQL code and fixed transaction closing in a "cannot happen" scenario in load_vfile_from_rid(), per ML discussion. file: [eece5476] check-in: [3e9f9b06] user: stephan branch: trunk, size: 24577
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: [2035952f] check-in: [320f1436] user: drh branch: trunk, size: 24596
2013-07-22
07:42
A few more places where the "chnged" field values 4 and 5 have effect file: [662553ad] check-in: [530ef955] user: jan.nijtmans branch: merge-integrate, size: 24596
2013-06-21
09:27
rebase file: [e49cf25a] check-in: [dfb47a2a] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 24353
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: [f39929ed] check-in: [69327d27] user: drh branch: ticket-967cedbf20, size: 24570
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: [65cb8ed6] check-in: [155acff4] user: mistachkin branch: trunk, size: 24481
2013-04-18
08:46
Use the function filename_collation() everywhere in stead of passing caseSensitive as parameter. file: [d64ed2ed] check-in: [3c781f4f] user: jan.nijtmans branch: trunk, size: 24163
2013-04-17
09:30
Fix [85017e9273]: Under Windows, renamed file keeps getting "ADDED". file: [332c7a22] check-in: [e8e444ec] user: jan.nijtmans branch: trunk, size: 24218
2013-04-16
09:59
Suggested fix for [85017e9273] file: [c3dceee0] check-in: [d0764530] user: jan.nijtmans branch: ticket-85017e9273, size: 24259
2012-11-29
15:13
merge trunk. Broken on win32! file: [621f1194] check-in: [258cedd6] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 24128
03:14
Untested changes designed to fix broken filename encodings on MacOS. Move all character-set converting routines into a new file called utf8.c. Add the fossil_filename_to_utf8() routine, which converts Unicode to utf8 on windows and decomposed utf8 into precomposed utf8 on Mac. Ticket [e399bc1edfe45b] file: [cebf0342] check-in: [c24e568f] user: drh branch: ticket-e399bc, size: 24126
2012-11-21
09:12
Split off in separate functions Still experimental, but starts looking better file: [59fea3e9] check-in: [b59dc078] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 24112
2012-10-28
21:38
- finally, do the ++j update in looks_like_text() right - More consistancy in prompt handling: accept Capitals everywhere, use '(' not '[', and abbreviate yes/no to y/N everywhere file: [fc72d682] check-in: [7c527165] user: jan.nijtmans branch: trunk, size: 24110
2012-10-15
05:28
unused variable includeDotFiles struct utimbuf -> struct _utimbuf (compiler warning with mingw-w64) a few "const" additions file: [451d85c2] check-in: [d2e1469d] user: jan.nijtmans branch: use-utf8-in-win-external-editor, size: 24133
05:09
bug-fix: is_temporary_file expects utf8, not unicode on Windows file: [27646499] check-in: [0e6b7bc3] user: jan.nijtmans branch: trunk, size: 24127
2012-10-13
14:19
Add the --temp option to the "fossil extra" and "fossil clean" commands. file: [383e8abb] check-in: [3206b648] user: drh branch: trunk, size: 24136
2012-10-11
19:45
Cherrypick changes [0c37874941c8972], [9ba8a393fcc569b], and [ae092ec605eed11] in order to backport the --setmtime option of "fossil update" and the --age and -t options of "fossil ls" to version 1.19. file: [4a847133] check-in: [773c6c5f] user: drh branch: branch-1.19, size: 20756
19:22
Add the --setmtime command-line option to "fossil update". When this option is used, the mtime of all unmodified managed files is set to the time when that file was originally checked in. file: [df4a18e6] check-in: [ae092ec6] user: drh branch: trunk, size: 22955
2012-09-26
12:55
Add the --tk option to "fossil diff" in order to launch a Tcl/Tk GUI display of colorized side-by-side diffs. file: [6e60eb61] check-in: [22e5d711] user: drh branch: trunk, size: 22244
2012-09-24
07:00
previous commit fixed the MSVC build, but broke the mingw build. Now fix both of them. file: [cc07a918] check-in: [1ef58e52] user: jan.nijtmans branch: trunk, size: 22251
2012-09-12
22:01
simplify switching between widechar and unicode variant of dirent file: [77a78102] check-in: [a8f7a8ac] user: jan.nijtmans branch: restore-win95, size: 22245
08:10
Restore fossil to be compilable for Win95 Replace "-DUNICODE -D_UNICODE" with "-DSQLITE_OS_WINNT=0" in win/Makefile.mingw if you want this. file: [83408011] check-in: [b402bec8] user: jan.nijtmans branch: restore-win95, size: 22280
2012-09-01
04:45
Remove leftover instances of non-ASCII characters from several files. file: [97d67c8a] check-in: [f15ce59b] user: mistachkin branch: trunk, size: 22286
2012-08-29
16:51
An attempt to factor out the opendir() family of routines and provide portable alternatives, fossil_opendir(). This simplistic first attempt works on non-windows platforms, but the build fails on windows. file: [a4c2a2d7] check-in: [8d8e529a] user: drh branch: msvc-broken, size: 22285
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [519a7d09] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 22503
08:02
merge trunk file: [299b9a6f] check-in: [3e3f34eb] user: jan.nijtmans branch: ticket-01a2f3a346, size: 22504
2012-08-26
18:17
merge trunk into unicode branch, and fix build on UNIX file: [a4c8f42c] check-in: [8596323b] user: jan.nijtmans branch: ticket-01a2f3a346, size: 22506
2012-08-24
14:50
merge unicode branch file: [74359d65] check-in: [b4ea94b4] user: jan.nijtmans branch: eclipse-project, size: 22622
13:15
Better support for unicode filenames on Win32 (Not tested on other platforms yet, will not work!) [01a2f3a346] file: [2a961de4] check-in: [d8e1431f] user: jan.nijtmans branch: ticket-01a2f3a346, size: 22340
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [f1a7e13d] check-in: [0328d681] user: drh branch: sqlite4, size: 22402
15:47
Merge in the trunk changes. file: [03beee9b] check-in: [0315f3f0] user: drh branch: sqlite4, size: 22394
12:48
Fix the manifest generator for check-ins so that when a partial commit is done and some of the uncommitted files have been renamed, the rows of the check-in manifest are ordered by the original, unchanged names of the uncommitted renamed files. file: [0844336a] check-in: [01e4de6b] user: drh branch: trunk, size: 22319
2012-06-27
13:59
Use ~/.fossil4 as the configuration database to avoid conflicts with the original fossil. Adjust SQL because INTEGER PRIMARY KEY does not auto-fill as with SQLite3. file: [29937548] check-in: [3f624d49] user: drh branch: sqlite4, size: 22304
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. file: [010635bd] check-in: [68239127] user: drh branch: sqlite4, size: 22244
2012-06-25
15:43
Improved detection of changes to a file after a merge that do not change the size of the file. file: [c5109818] check-in: [23022a85] user: drh branch: trunk, size: 22229
15:15
Whan a commit fails because the repository checksum does match the working directory, in addition to printing the names of the files that disagree, also output the repository version of the files to separate temporary files to facilitate error analysis. file: [c924ce37] check-in: [edc0c946] user: drh branch: trunk, size: 22162
2012-03-29
14:54
Add vim modline everywhere file: [453f623a] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 21486
2012-02-10
14:31
Detect subsequent edits to a file that was updated by merge. This fixes a problem introduced by check-in [b9227b85cbd78] and reported by ticket [67a47646ea38c7ed]. file: [7d270fb8] check-in: [a932b744] user: drh branch: trunk, size: 21444
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: [08426c65] check-in: [f9a200f0] user: drh branch: trunk, size: 21444
2012-01-11
21:50
merge drh fix (additionally, sqlite3 updates) file: [abbf765a] check-in: [6a39f43d] user: bch branch: status_redo, size: 20562
17:48
Fix the file change detection logic so that it does not destroy merge history. Ticket [5a855f1bc6351f5]. file: [3c7829d3] check-in: [bcd718e9] user: drh branch: trunk, size: 21056
2011-12-28
13:40
Improvements to "fossil status" processing. Automatically detect when a file has undergone a null-edit - when the mtime has changed but the content of the file is unchanged - and mark such files as unchanged. file: [9a1d55a4] check-in: [b9227b85] user: drh branch: trunk, size: 21071
2011-09-27
19:15
Change a few instances of file_isdir() to file_wd_isdir(). file: [6a68128c] check-in: [f1329470] user: dmitry branch: trunk, size: 19824
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: [1a9375a2] check-in: [8a0c5469] user: dmitry branch: symlinks, size: 19818
2011-08-28
11:01
Use file_delete() instead of unlink() in vfile_to_disk(). file: [fbc955c6] check-in: [08311ffc] user: dmitry branch: symlinks, size: 19776
2011-08-25
11:42
Introduce constants for internal permissions (executable/symlink). file: [dfd67b66] check-in: [f6daee3e] user: dmitry branch: symlinks, size: 19785
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: [c6699945] check-in: [4619361d] user: dmitry branch: symlinks, size: 19771
2011-08-22
22:20
Merge trunk. file: [aafd5295] check-in: [c57830be] user: dmitry branch: symlinks, size: 19839
2011-06-06
16:50
Remove an unnecessary level of function nesting. file: [e94eca23] check-in: [12989181] user: drh branch: trunk, size: 18746
2011-05-27
12:56
Internationalize the opendir() function calls. Ticket [49db5c3993bef2]. file: [6e541915] check-in: [e05fea38] user: drh branch: trunk, size: 18672
2011-05-06
16:55
Merge the latest trunk changes into windows-i18n branch. file: [51e8227d] check-in: [59ddd3c8] user: drh branch: windows-i18n, size: 18500
13:13
Fix a bug in the sub-repository detection logic. Ticket [b733bba0b7319ef2]. file: [f1d4369b] check-in: [e56a4ec3] user: drh branch: trunk, size: 18456
2011-05-02
13:31
Change calls to unlink() into file_delete(). The file_delete() routine converts filenames to MBCS from UTF if necessary. file: [5a670247] check-in: [eea64490] user: drh branch: windows-i18n, size: 18486
2011-04-28
13:53
Make sure the argument to fopen() is MBCS instead of UTF8. file: [59205ce4] check-in: [a3c252f2] user: drh branch: windows-i18n, size: 18481
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. file: [186157d0] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 18474
14:23
Commands that recursively descend through directory hierarchies (such as "fossil extra", "fossil clean", or "fossil addremove") will now ignore nested checkouts. Ticket [b49849a350d040bc]. file: [6dd77e7c] check-in: [53aef2de] user: drh branch: trunk, size: 18442
2011-04-14
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: [ae05f3c9] check-in: [f60f5602] user: drh branch: experimental, size: 17863
2011-04-04
01:48
Repair completely bogus sql that was erroneously copy/pasted file: [3212e3fa] check-in: [fe7ac393] user: bharder branch: betterExeHandling, size: 17616
01:14
"fossil chan" will recognize addition of exe-bit file: [7422dd2b] check-in: [d55e797a] user: bharder branch: betterExeHandling, size: 17640
2011-03-09
00:09
Inline uuid_to_rid and content_size. Saves one SQL statement per file in the checkout. file: [9d6eca8c] check-in: [e0f5d473] user: joerg branch: trunk, size: 17150
2011-02-27
22:22
Untested changes trying to get execute permission to be set correctly following "update", "merge", "stash", etc. Ticket [baf9b6b11e08c1d]. This is a big mess and is going to take some time to get right. file: [622e33ed] check-in: [081aefde] user: drh branch: exe-permission-fix, size: 16876
2011-02-24
23:26
Add the --sqlstats command-line option for use in optimization work. Use a persistent prepared statement for a single query to reduce the number of calls to sqlite3_prepare() for the "update" command. file: [9ce78c82] check-in: [b8111237] user: drh branch: trunk, size: 16558
17:11
Infrastructure changes: Simplify content_put() to a single parameter. Add content_put_ex() with lots of extra parameters. Add isPrivate parameters to content_put_ex() and content_new(). file: [58658b43] check-in: [1b451616] user: drh branch: trunk, size: 16590
2011-02-16
19:19
Always close opendir() objects if and only if successfully opened. Ticket [d7169e51ebb3400f6] file: [3bb9c1e4] check-in: [f73ed21d] user: drh branch: trunk, size: 16493
2011-02-12
13:38
This branch contains experimental changes attempting to address complaints that Fossil sometimes overwrites unmanaged files. In this checkin: Use file_delete() instead of unlink() everywhere. Add interfaces file_move() and file_dont_overwrite() but do not use those interfaces yet. file: [96b9fcbd] check-in: [a1814d50] user: drh branch: file-safety, size: 16496
2011-01-28
19:04
Add symlink support for Unix. New settings flag "allow-symlinks" controls this (off by default). file: [6a7b12e1] check-in: [ed2ef7e9] user: dmitry branch: symlinks, size: 17496
2011-01-07
17:17
Make phantom records a warning, not a fatal error, when trying to checkout or examine a check-in. file: [90e0ebb3] check-in: [f7cff4ad] user: drh branch: trunk, size: 16491
17:08
Do not complain about unfinalized SQL statements when exiting on a fatal error. Fix comments and indentation on the vfile_verify_not_phantom() function. file: [7363ade4] check-in: [c2f5dbe6] user: drh branch: trunk, size: 17188
2011-01-03
12:17
Fix another NULL pointer deref associated with delta manifests. file: [d2b39e20] check-in: [315048ee] user: drh branch: trunk, size: 17191
12:15
Avoid a NULL pointer deref in vfile_build() when a delta manifest contains a deleted file. file: [a8035550] check-in: [a35e8c0d] user: drh branch: trunk, size: 17155
2010-12-30
16:48
Fix an out-of-order local variable declaration in vfile.c. file: [ad90ded2] check-in: [1a6a154a] user: drh branch: trunk, size: 17119
2010-12-22
23:43
Fix to the previous check-in so that it does not prompt the user to confirm overwrite if the file does not exist in the first place. file: [c2968749] check-in: [5f23fbad] user: drh branch: trunk, size: 17119
22:33
Do not overwrite files on disk, and especially do not prompt the user for permission to overwrite, if there would ultimately be no change in the file content. file: [b4acbb79] check-in: [aa9ea796] user: drh branch: trunk, size: 17096
18:10
A change in the size of a file shows definitively that the file has been modified. So if the file size has changed, there is no need to do a full SHA1 hash of the file to verify that it has changed. file: [fc70fd09] check-in: [e9ffc4cd] user: drh branch: trunk, size: 17021
2010-12-19
02:09
Clear compiler warnings on OpenBSD. No functional code changes. file: [ee843d19] check-in: [bbbb35a3] user: drh branch: trunk, size: 16429
2010-12-13
23:04
Fix a long-standing mtime race condition that can cause problems if a "merge" takes places within the same second as an "update". file: [b3fad0c1] check-in: [af365579] user: drh branch: trunk, size: 16324
2010-12-08
21:00
Add the --sha1sum option to the "status" and "changes" commands to force a detailed (but slow) SHA1 checksum verification that files have not changed. file: [6f65d836] check-in: [e154a438] user: drh branch: trunk, size: 16297
2010-11-24
17:13
Correctly handle partial commits even when files have been deleted and/or renamed and are not part of the partial commit. Tickets [ad15a8e2af8c3162d6] and [5cc33a6aa0621be8936f]. file: [51b47685] check-in: [2ceeeca1] user: drh branch: trunk, size: 16264
2010-11-13
12:48
On a "tree checksum does not match repository" error on a commit, go back and do a file-by-file comparison of the repository and the working checkout to try to discover what the problem is. Ticket [a483f0ab3f0d4da0]. file: [64df6fb2] check-in: [64459dd0] user: drh branch: trunk, size: 15322
2010-11-08
19:00
Begin adding "import" and "export" commands for converting repositories from and to the Git format. The "export" command currently generates output but is not quite correct. The "import" command is still a stub. file: [7f0768a3] check-in: [b3fd32f9] user: drh branch: experimental, size: 14012
2010-10-19
23:50
Bug fix in the new delta-manifest generator logic. file: [43f234f2] check-in: [068b1823] user: drh branch: experimental, size: 13821
16:26
Fix the check-out mechanism so that it works with delta-manifests. file: [0131664d] check-in: [0e326631] user: drh branch: experimental, size: 13663
2010-10-15
20:37
Refactor the control-artifact parser. file: [2e40d507] check-in: [da9fcdc9] user: drh branch: experimental, size: 14258
2010-10-03
23:31
Make the R card of manifests truely optional. It is always generated on manifests created by Fossil itself, but 3rd party import tools might choose to omit the R card as a simplification. Ticket [a32ff1eddb6ac1f499]. file: [3b714239] check-in: [aab38ef0] user: drh branch: trunk, size: 14148
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: [3c02b2d2] check-in: [f66f414f] user: renez branch: windowscompilers, size: 14079
2010-08-11
07:00
Allow a checkin to be checked out again even if one of the files in that checkin has been shunned. file: [828fda0e] check-in: [7e23178b] user: drh branch: trunk, size: 14025
2010-06-23
13:30
Prompt the user for permission to overwrite files on "fossil open". Ticket [17389900b2e5bd816] file: [6d46d8a3] check-in: [d778ffea] user: drh branch: trunk, size: 13792
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [ac84a888] check-in: [c06edd23] user: drh branch: clear-title, size: 13119
2010-04-02
19:28
Add additional markups to show inefficient queries when running in TH3_DEBUG mode. file: [6b065467] check-in: [251fd001] user: drh branch: trunk, size: 13395
2010-02-25
12:58
If a file has been deleted from the filesystem, but not deleted by fossil, then make the "update" command restore that file. Ticket [7c3ca0eae8287] file: [0d36cd46] check-in: [63d5a4fe] user: drh branch: trunk, size: 13377
2010-01-24
01:41
Fix a bug in "fossil rm". Ticket [15f8f4a4252] file: [dc794dba] check-in: [fbcefb6e] user: drh branch: trunk, size: 13409
2010-01-20
21:51
Fix a bug in file change detection introduced by check-in [d7a583e697]. Don't use that check-in, nor [30f23e3f5c]. file: [310d2a3a] check-in: [1abc8a94] user: drh branch: trunk, size: 13376
20:35
Make the mtime-changes setting the default. Avoid redundant calls to stat(). file: [efa3e344] check-in: [d7a583e6] user: drh branch: trunk, size: 13344
15:43
Fix a memory leak in the check-out logic that prevents opening of massive repositories. Ticket [708eab9d48] file: [9b3fe22d] check-in: [726a13d2] user: drh branch: trunk, size: 13352
2009-12-18
00:29
Detect when the check-out contains missing files and filesystem objects that ought to be files but are not. Issue reasonable warnings. file: [88297213] check-in: [76f169fc] user: drh branch: trunk, size: 13326
2009-12-17
18:47
If a file in the check-out is changed to something other than a file (like a directory) then raise an error when checking file signatures. Also fix a problem with the new multi-file "revert" command and add some comments to "update". file: [976e15ff] check-in: [d861fe77] user: drh branch: trunk, size: 13264
2009-12-16
02:02
Improvements to some comments in vfile.c. file: [47f667e7] check-in: [2f15cd80] user: drh branch: trunk, size: 13046
2009-09-19
15:32
Add the --dotfiles option to the "extra" and "clean" commands. Ticket [4de876322f066]. file: [5504b327] check-in: [a2749215] user: drh branch: trunk, size: 12933
2008-12-20
02:23
Fix an SQL syntax error. Ticket [62c84f3e604a06f9b8f3f4ca39f774d6909115aa]. file: [eb6d72e4] check-in: [491b2c69] user: drh branch: trunk, size: 12763
2008-12-06
18:02
Add the ability to detect file changes using only the mtime. This is turned on using the "fossil setting mtime-changes ON" command. It is off by default, but it does make many operations go much faster, especially on large repositories, so we might want to start turning it on by default. file: [0b0beebd] check-in: [2dffce04] user: drh branch: trunk, size: 12762
2008-07-17
01:49
Avoid the use of chdir() since this seems to cause problems on windows. file: [a6f67aae] check-in: [849b94c6] user: drh branch: trunk, size: 12182
2008-03-08
19:42
Additional speed improvements for clone and rebuild. file: [533b7500] check-in: [043d63d4] user: drh branch: trunk, size: 12160
2007-09-22
19:32
Fix a bug in the manifest parser so that it is able to parse the PGP headers even if the header contains \r characters. file: [429ccc29] check-in: [3ed92143] user: drh branch: trunk, size: 12004
2007-08-30
18:05
Fix bugs that can cause a segfault if a blank check-in comment is entered. file: [5ad913c3] check-in: [1871a93d] user: drh branch: trunk, size: 12004
2007-08-27
00:04
Give an error if an attempt is made to merge, update, or checkout against an incomplete baseline - one that contains phantoms. Update the xfer protocol to converge on a stable synchronization faster and (hopeful) not quit until the sync is complete. file: [aea49423] check-in: [8c828207] user: drh branch: trunk, size: 11939
2007-08-10
00:08
Complete rework of the xfer mechanism. Compiles but not yet working. file: [fdfe66ef] check-in: [573a464c] user: drh branch: trunk, size: 11292
2007-08-09
11:55
Fix an off-by-one error that can cause a segfault during sync. file: [2bf33267] check-in: [6eca3132] user: drh branch: trunk, size: 11289
2007-08-04
00:38
Changes to the checksum verification steps to allow a partial commit of changes after new files are added to the tree. file: [47b5a770] check-in: [5c74c300] user: drh branch: trunk, size: 11287
2007-08-03
15:31
Extend the commit command so that specific files can be committed. There are still some problems with doing this after a merge. file: [520337f8] check-in: [22552fb8] user: dan branch: trunk, size: 11076
2007-08-01
21:03
Add primitive start-time and duration controols to the timeline. Additional checksums on check-in and check-out. file: [8f052c32] check-in: [39450579] user: drh branch: trunk, size: 10426
12:17
Fix a problem in the commit logic that caused it to ignore merge changes. Add another test to the commit to detect future problems of a similar nature. file: [d4b9c4a1] check-in: [5c3e8717] user: drh branch: trunk, size: 10261
2007-07-21
14:10
Initial check-in of m1 sources. file: [e0efe293] check-in: [dbda8d6c] user: drh branch: trunk, size: 9359 Added