Fossil

History for src/vfile.c
Login

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

History for src/vfile.c

2019-09-23
18:25
[0e4601fc] part of check-in [265f8e2d] Change the database fingerprint algorithm slightly so that it is not dependent on the details of floating-point computations, and thus gives the same answer on a native x64 processor as it does under valgrind. Also fix a bug in the RID change event computation so that it works even if files have been added. (check-in: [265f8e2d] user: drh branch: trunk, size: 35170)
2019-08-31
16:42
[fabda322] part of check-in [aa376391] Merge in latest from trunk. (check-in: [aa376391] user: andybradford branch: db-begin-txn-updates, size: 35149)
2019-08-04
20:23
[19159078] part of check-in [a3bc6552] Improvements to the Security-Audit page - mostly in providing additional information about the files in the CGI extension folder. (check-in: [a3bc6552] user: drh branch: trunk, size: 35161)
2019-03-19
14:09
[27345ef8] part of check-in [6cc53548] Replace most calls to db_begin_transaction() with db_begin_write() to avoid having a reader locking during a COMMIT. (check-in: [6cc53548] user: andybradford branch: db-begin-txn-updates, size: 34242)
2019-02-26
20:35
[c84e8e6b] part of check-in [95b700c2] Enhance the "fossil checkout" command to that it too cleans up directories that it makes empty. (check-in: [95b700c2] user: drh branch: rmdir-on-update, size: 34254)
2019-01-20
21:29
[e3374e06] part of check-in [b0365238] Automatically update the VFILE and VMERGE tables when the fingerprinting detects that a repository has been replaced by clone. (check-in: [b0365238] user: drh branch: rid-renumbering, size: 34687)
2017-11-30
17:58
[8c891c74] part of check-in [e7767de2] 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. (check-in: [e7767de2] user: drh branch: symlink-refactor, size: 31037)
2017-10-14
22:19
[781c7825] part of check-in [1226e3ef] Correct sense of _WIN32 conditional compilation (check-in: [1226e3ef] user: andygoth branch: enhanced-symlink, size: 31721)
22:03
[bedc1e69] part of check-in [f29c8a44] Additional corrections to Windows symlink permissions logic (check-in: [f29c8a44] user: andygoth branch: enhanced-symlink, size: 31722)
21:48
[90205f43] part of check-in [364d0431] Tweak comment style for consistency within functions (check-in: [364d0431] user: andygoth branch: enhanced-symlink, size: 31619)
21:44
[f3d8535d] part of check-in [de50c496] Correct vfile_check_signature() handling of manifest.symlinks not existing or manifest setting not containing the l flag (check-in: [de50c496] user: andygoth branch: enhanced-symlink, size: 31619)
21:43
[80bbf328] part of check-in [23e67f67] Update Windows version of vfile_check_signature() to get symlink status from manifest.symlinks (check-in: [23e67f67] user: andygoth branch: enhanced-symlink, size: 31612)
2017-08-30
13:07
[ea154b03] part of check-in [92976100] Merge cleanX (check-in: [92976100] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30798)
2017-06-13
04:45
[1ef8d4ac] part of check-in [837333fc] Fix the blob_read_from_file() function so that it works with files larger than 2GiB. (check-in: [837333fc] user: drh branch: trunk, size: 31015)
2017-04-23
13:08
[591af9e0] part of check-in [2999c7dc] 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. (check-in: [2999c7dc] user: jan.nijtmans branch: winsymlink, size: 32018)
2017-03-02
12:08
[ed1123e8] part of check-in [b098c939] Few (textual) typos. Eliminate unneccary spacing. (check-in: [b098c939] user: jan.nijtmans branch: trunk, size: 31005)
2017-03-01
18:21
[b7e3d918] part of check-in [cb92c69c] Remove unused local variables. (check-in: [cb92c69c] user: drh branch: trunk, size: 31006)
2017-02-28
20:16
[64d62453] part of check-in [ac279fa0] The vfile.c modules uses the display hash to verify whether or not files have changed on disk. (check-in: [ac279fa0] user: drh branch: fossil-2.0, size: 31035)
16:36
[8486f9b9] part of check-in [1f61b2dc] Change the --sha1sum options on "fossil commit" and "fossil status" to be --hash, since it is no longer restricted to a single hash algorithm. (check-in: [1f61b2dc] user: drh branch: fossil-2.0, size: 31233)
16:25
[e813c4db] part of check-in [1c8768b0] Refactoring and cleanup of some of the hash name interfaces. (check-in: [1c8768b0] user: drh branch: fossil-2.0, size: 31233)
00:56
[bb26a212] part of check-in [65c59711] Relax size constraints on artifact hash parsing. (check-in: [65c59711] user: drh branch: fossil-2.0, size: 31206)
2017-02-14
19:23
[56da8262] part of check-in [d73dcdd0] Merge cleanX (check-in: [d73dcdd0] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30994)
2016-11-15
23:23
[f2ac27cd] part of check-in [f10a284a] 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. (check-in: [f10a284a] user: andygoth branch: trunk, size: 31211)
2016-11-06
22:55
[070342b0] part of check-in [2862f1c2] Split SCAN_META to SCAN_MTIME and SCAN_SIZE. None of these are in use at the moment. (check-in: [2862f1c2] user: andygoth branch: andygoth-changes, size: 31069)
07:57
[431aa928] part of check-in [9d5de8d7] 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. (check-in: [9d5de8d7] user: andygoth branch: andygoth-changes, size: 30889)
06:39
[8dd23891] part of check-in [ec9480fc] Rename sfile x column to pathname to match vfile and to make room for new columns I plan to add (check-in: [ec9480fc] user: andygoth branch: andygoth-changes, size: 30532)
2016-11-04
22:37
[ff343698] part of check-in [e5b62edb] 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. (check-in: [e5b62edb] user: andygoth branch: trunk, size: 30525)
2016-10-20
16:48
[c07d515a] part of check-in [2c42b217] Remove extra newlines from calls to fossil_fatal() (check-in: [2c42b217] user: andygoth branch: trunk, size: 30544)
2016-09-30
23:45
[99f026d0] part of check-in [3bb04c90] Coding style tweaks. No changes to functionality. (check-in: [3bb04c90] user: mistachkin branch: trunk, size: 30548)
2016-05-31
08:17
[372a1802] part of check-in [598b58a5] merge from trunk with a few tweaks for merge conflicts (check-in: [598b58a5] user: sdr branch: winsymlink, size: 31573)
2016-05-21
23:58
[f39b5b10] part of check-in [70f77a1b] merge cleanX (check-in: [70f77a1b] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30343)
2016-04-28
14:32
[9d44ee4a] part of check-in [c2000668] Fix (harmless) mingw compiler warning src/vfile.c: variables ‘currentPerm’ and ‘origPerm’ set but not used [-Wunused-but-set-variable] (check-in: [c2000668] user: jan.nijtmans branch: trunk, size: 30560)
2015-12-02
20:23
[3b728606] part of check-in [6ebef28f] Experimental changes to deal with the reserved 12 characters (e.g. 'FILENAME.EXT') always needed for long directory names on Windows. (check-in: [6ebef28f] user: mistachkin branch: pending-review, size: 30516)
2015-09-04
15:44
[c3f0cccf] part of check-in [5bbf1ab3] Fixed a broken conditional for code which should only be compiled on Windows but was only being compiled for posix. (check-in: [5bbf1ab3] user: sdr branch: winsymlink, size: 31599)
2015-09-03
23:15
[2d2b4b44] part of check-in [8f33e49d] Merged from trunk with a few tiny edits to make new functionality work on Windows (check-in: [8f33e49d] user: sdr branch: winsymlink, size: 31600)
2015-07-14
19:55
[9136effe] part of check-in [cac5cbae] merge trunk (check-in: [cac5cbae] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 30325)
2015-05-15
05:00
[b8560f48] part of check-in [03679b58] 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]. (check-in: [03679b58] user: andygoth branch: andygoth-metadata-changes, size: 30542)

2015-05-04
22:10
[1f7d1b00] part of check-in [72baedfb] Merge cleanX (check-in: [72baedfb] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29330)
2015-04-30
08:35
[530a8420] part of check-in [0db0fdb2] 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. (check-in: [0db0fdb2] user: jan.nijtmans branch: noDirPrompt, size: 29547)
2015-04-27
13:19
[6c472274] part of check-in [7ab03289] Provide help text for all commands and webpages. (check-in: [7ab03289] user: drh branch: trunk, size: 29766)
2015-03-18
16:31
[e7b51ee5] part of check-in [f4c14344] Merged several months worth of trunk into the winsymlink branch. (check-in: [f4c14344] user: sdr branch: winsymlink, size: 29725)
2015-02-24
04:40
[dbfac7dc] part of check-in [c4750a1e] Merge cleanX (check-in: [c4750a1e] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29044)
2015-02-10
08:24
[bcf0d661] part of check-in [dd94e596] Speedup handling of checked-out files: When multiple information about a file is requested (size, mtime, permission flags) only call stat() once. (check-in: [dd94e596] user: jan.nijtmans branch: trunk, size: 29480)
2014-12-01
17:25
[08b9d672] part of check-in [5b40b55b] merge cleanX (check-in: [5b40b55b] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 29048)
2014-10-14
21:43
[542a9c5d] part of check-in [2932f753] merge trunk (check-in: [2932f753] user: jan.nijtmans branch: winsymlink, size: 29635)
13:10
[448fd883] part of check-in [2271ea42] strglob() -> sqlite3_strglob() (check-in: [2271ea42] user: jan.nijtmans branch: trunk, size: 29484)
2014-10-13
08:07
[1ef61be4] part of check-in [8f8301af] 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 (check-in: [8f8301af] user: jan.nijtmans branch: winsymlink, size: 29613)
2014-09-25
19:21
[d1931fb3] part of check-in [9c5bbd6a] 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. (check-in: [9c5bbd6a] user: sdr branch: winsymlink, size: 29509)
2014-09-20
18:41
[b3205a43] part of check-in [31b0a9d7] 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). (check-in: [31b0a9d7] user: sdr branch: bad-winsymlink, size: 29332)
18:32
[ae50248d] part of check-in [2d3ff7bd] Refactored symlink_create repeated block of code into a checked_symlink_create function. (check-in: [2d3ff7bd] user: sdr branch: bad-winsymlink, size: 29332)
18:11
[d4dec0b0] part of check-in [9e0ba121] 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. (check-in: [9e0ba121] user: sdr branch: bad-winsymlink, size: 29462)
2014-05-31
16:37
[33ddafa3] part of check-in [1a0179ab] Backout [636982a564], which incorrectly calculates aggregate disk checksums when selectively committing files for the initial checkin. (check-in: [1a0179ab] user: joel branch: trunk, size: 29462)
2014-05-08
05:52
[dc6e75df] part of check-in [f2adddfe] Abort update or merge operation if there is content missing from files. Add --force-missing option to allow override if desired. (check-in: [f2adddfe] user: andybradford branch: per-round-trip-commit, size: 29491)
2014-03-23
17:15
[3a5e24d2] part of check-in [1d54c024] merge cleanX (check-in: [1d54c024] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28936)
2014-02-25
11:06
[7a6d8a65] part of check-in [5255b493] 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. (check-in: [5255b493] user: jan.nijtmans branch: branch-1.28, size: 29367)
2014-02-24
10:22
[64d8e496] part of check-in [e1bcc99d] Same optimization in "fossil reconstruct" (check-in: [e1bcc99d] user: jan.nijtmans branch: use-d-type, size: 29372)
10:14
[c2a83e51] part of check-in [eb2dc8fa] 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. (check-in: [eb2dc8fa] user: jan.nijtmans branch: use-d-type, size: 29344)
2014-02-21
15:02
[2d1fe33e] part of check-in [8b97e37e] merge cleanX (check-in: [8b97e37e] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28208)
2014-02-20
15:19
[559facf6] part of check-in [0c7834c7] (experiment) Use d_type field of dirent structure for speedup. (check-in: [0c7834c7] user: jan.nijtmans branch: use-d-type, size: 29316)
2014-02-18
08:35
[ba71e9ed] part of check-in [636982a5] 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" (check-in: [636982a5] user: jan.nijtmans branch: trunk, size: 28644)
2014-01-28
08:20
[83d54576] part of check-in [45f35169] More removals of unnecessary end-of-line spaces. No change in code. (check-in: [45f35169] user: jan.nijtmans branch: trunk, size: 28615)
2014-01-04
23:00
[87a89746] part of check-in [70a374d9] Fix use of sqlite3_strglob: 0 means there is a match (check-in: [70a374d9] user: jan.nijtmans branch: sqlite-min-to-3.7.17, size: 28661)
20:51
[1422291c] part of check-in [c8c56468] Increase minimum SQLite requirement to 3.7.17, and make efficient use of the function sqlite3_strglob. This eliminates unnecessand sqlite (check-in: [c8c56468] user: jan.nijtmans branch: sqlite-min-to-3.7.17, size: 28655)
2013-10-30
10:53
[dce3faa7] part of check-in [6934dd3c] merge cleanX branch changes (which all come from trunk) (check-in: [6934dd3c] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28203)
2013-10-07
07:41
[e3350e04] part of check-in [ec81aee9] 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. (check-in: [ec81aee9] user: jan.nijtmans branch: trunk, size: 28639)
2013-10-04
09:30
[7c8ad2a0] part of check-in [1eb438d6] Better error-message in case of "manifest file is malformed" (check-in: [1eb438d6] user: jan.nijtmans branch: pending-review, size: 28634)
2013-10-02
14:45
[6c2b8129] part of check-in [b2a2ce53] Take over some improvements/fixes from the CleanX2 branch. Still not very well tested, so please don't look ;-) (check-in: [b2a2ce53] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28123)
2013-10-01
09:21
[3e8f9cb5] part of check-in [5724c62c] merge trunk (check-in: [5724c62c] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 28342)
2013-09-30
13:30
[0e2f3aa9] part of check-in [4f2bad83] Simplify vfile_dir_scan and make sure nested calls do not alter the path added to the dscan_temp table. (check-in: [4f2bad83] user: mistachkin branch: cleanEmptyDirs, size: 28559)
12:16
[1f7a9e96] part of check-in [51403ee5] Add the --dirsonly and --allckouts options to the 'clean' command. (check-in: [51403ee5] user: mistachkin branch: cleanEmptyDirs, size: 28692)
11:45
[ca402b91] part of check-in [8f1e1ee8] Add --emptydirs option to the 'clean' command to remove empty directories. Corrections to style and comments. Remove superfluous local variable zDir in vfile_scan. (check-in: [8f1e1ee8] user: mistachkin branch: cleanEmptyDirs, size: 28588)
2013-09-04
19:17
[55b86c66] part of check-in [79bae863] merge trunk (check-in: [79bae863] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 24360)
2013-09-02
19:20
[3008a3b8] part of check-in [612e0ecc] 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. (check-in: [612e0ecc] user: stephan branch: trunk, size: 24577)
19:11
[eece5476] part of check-in [3e9f9b06] Removed some dead SQL code and fixed transaction closing in a "cannot happen" scenario in load_vfile_from_rid(), per ML discussion. (check-in: [3e9f9b06] user: stephan branch: trunk, size: 24577)
2013-08-30
03:06
[2035952f] part of check-in [320f1436] 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. (check-in: [320f1436] user: drh branch: trunk, size: 24596)
2013-07-22
07:42
[662553ad] part of check-in [530ef955] A few more places where the "chnged" field values 4 and 5 have effect (check-in: [530ef955] user: jan.nijtmans branch: merge-integrate, size: 24596)
2013-06-21
09:27
[e49cf25a] part of check-in [dfb47a2a] rebase (check-in: [dfb47a2a] user: jan.nijtmans branch: cleanX-no-clean-glob, size: 24353)
2013-06-20
11:44
[f39929ed] part of check-in [69327d27] Factor out common parts of "fossil extra" and "fossil clean" into a subroutine. Combine vfile_scan2() into vfile_scan(). (check-in: [69327d27] user: drh branch: ticket-967cedbf20, size: 24570)
2013-05-07
23:00
[65cb8ed6] part of check-in [155acff4] 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. (check-in: [155acff4] user: mistachkin branch: trunk, size: 24481)
2013-04-18
08:46
[d64ed2ed] part of check-in [3c781f4f] Use the function filename_collation() everywhere in stead of passing caseSensitive as parameter. (check-in: [3c781f4f] user: jan.nijtmans branch: trunk, size: 24163)
2013-04-17
09:30
[332c7a22] part of check-in [e8e444ec] Fix [85017e9273]: Under Windows, renamed file keeps getting "ADDED". (check-in: [e8e444ec] user: jan.nijtmans branch: trunk, size: 24218)
2013-04-16
09:59
[c3dceee0] part of check-in [d0764530] Suggested fix for [85017e9273] (check-in: [d0764530] user: jan.nijtmans branch: ticket-85017e9273, size: 24259)
2012-11-29
15:13
[621f1194] part of check-in [258cedd6] merge trunk. Broken on win32! (check-in: [258cedd6] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 24128)
03:14
[cebf0342] part of check-in [c24e568f] 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] (check-in: [c24e568f] user: drh branch: ticket-e399bc, size: 24126)
2012-11-21
09:12
[59fea3e9] part of check-in [b59dc078] Split off in separate functions

Still experimental, but starts looking better

(check-in: [b59dc078] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 24112)
2012-10-28
21:38
[fc72d682] part of check-in [7c527165] - 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 (check-in: [7c527165] user: jan.nijtmans branch: trunk, size: 24110)
2012-10-15
05:28
[451d85c2] part of check-in [d2e1469d] unused variable includeDotFiles

struct utimbuf -> struct _utimbuf (compiler warning with mingw-w64)

a few "const" additions

(check-in: [d2e1469d] user: jan.nijtmans branch: use-utf8-in-win-external-editor, size: 24133)
05:09
[27646499] part of check-in [0e6b7bc3] bug-fix: is_temporary_file expects utf8, not unicode on Windows (check-in: [0e6b7bc3] user: jan.nijtmans branch: trunk, size: 24127)
2012-10-13
14:19
[383e8abb] part of check-in [3206b648] Add the --temp option to the "fossil extra" and "fossil clean" commands. (check-in: [3206b648] user: drh branch: trunk, size: 24136)
2012-10-11
19:45
[4a847133] part of check-in [773c6c5f] 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. (check-in: [773c6c5f] user: drh branch: branch-1.19, size: 20756)
19:22
[df4a18e6] part of check-in [ae092ec6] 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. (check-in: [ae092ec6] user: drh branch: trunk, size: 22955)
2012-09-26
12:55
[6e60eb61] part of check-in [22e5d711] Add the --tk option to "fossil diff" in order to launch a Tcl/Tk GUI display of colorized side-by-side diffs. (check-in: [22e5d711] user: drh branch: trunk, size: 22244)
2012-09-24
07:00
[cc07a918] part of check-in [1ef58e52] previous commit fixed the MSVC build, but broke the mingw build. Now fix both of them. (check-in: [1ef58e52] user: jan.nijtmans branch: trunk, size: 22251)
2012-09-12
22:01
[77a78102] part of check-in [a8f7a8ac] simplify switching between widechar and unicode variant of dirent (check-in: [a8f7a8ac] user: jan.nijtmans branch: restore-win95, size: 22245)
08:10
[83408011] part of check-in [b402bec8] Restore fossil to be compilable for Win95

Replace "-DUNICODE -D_UNICODE" with "-DSQLITE_OS_WINNT=0" in win/Makefile.mingw if you want this.

(check-in: [b402bec8] user: jan.nijtmans branch: restore-win95, size: 22280)
2012-09-01
04:45
[97d67c8a] part of check-in [f15ce59b] Remove leftover instances of non-ASCII characters from several files. (check-in: [f15ce59b] user: mistachkin branch: trunk, size: 22286)
2012-08-29
16:51
[a4c2a2d7] part of check-in [8d8e529a] 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. (check-in: [8d8e529a] user: drh branch: msvc-broken, size: 22285)
13:57
[519a7d09] part of check-in [9f6abc59] Allow UTF-8 characters in sources. translate.exe will translate it to ASCII (check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 22503)
08:02
[299b9a6f] part of check-in [3e3f34eb] merge trunk (check-in: [3e3f34eb] user: jan.nijtmans branch: ticket-01a2f3a346, size: 22504)
2012-08-26
18:17
[a4c8f42c] part of check-in [8596323b] merge trunk into unicode branch, and fix build on UNIX (check-in: [8596323b] user: jan.nijtmans branch: ticket-01a2f3a346, size: 22506)
2012-08-24
14:50
[74359d65] part of check-in [b4ea94b4] merge unicode branch (check-in: [b4ea94b4] user: jan.nijtmans branch: eclipse-project, size: 22622)
13:15
[2a961de4] part of check-in [d8e1431f] Better support for unicode filenames on Win32 (Not tested on other platforms yet, will not work!) [01a2f3a346] (check-in: [d8e1431f] user: jan.nijtmans branch: ticket-01a2f3a346, size: 22340)
2012-06-29
15:59
[f1a7e13d] part of check-in [0328d681] Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". (check-in: [0328d681] user: drh branch: sqlite4, size: 22402)
15:47
[03beee9b] part of check-in [0315f3f0] Merge in the trunk changes. (check-in: [0315f3f0] user: drh branch: sqlite4, size: 22394)
12:48
[0844336a] part of check-in [01e4de6b] 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. (check-in: [01e4de6b] user: drh branch: trunk, size: 22319)
2012-06-27
13:59
[29937548] part of check-in [3f624d49] 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. (check-in: [3f624d49] user: drh branch: sqlite4, size: 22304)
12:30
[010635bd] part of check-in [68239127] 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. (check-in: [68239127] user: drh branch: sqlite4, size: 22244)
2012-06-25
15:43
[c5109818] part of check-in [23022a85] Improved detection of changes to a file after a merge that do not change the size of the file. (check-in: [23022a85] user: drh branch: trunk, size: 22229)
15:15
[c924ce37] part of check-in [edc0c946] 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. (check-in: [edc0c946] user: drh branch: trunk, size: 22162)
2012-03-29
14:54
[453f623a] part of check-in [a496d8e8] Add vim modline everywhere (check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 21486)
2012-02-10
14:31
[7d270fb8] part of check-in [a932b744] 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]. (check-in: [a932b744] user: drh branch: trunk, size: 21444)
2012-02-04
14:44
[08426c65] part of check-in [f9a200f0] 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. (check-in: [f9a200f0] user: drh branch: trunk, size: 21444)
2012-01-11
21:50
[abbf765a] part of check-in [6a39f43d] merge drh fix (additionally, sqlite3 updates) (check-in: [6a39f43d] user: bch branch: status_redo, size: 20562)
17:48
[3c7829d3] part of check-in [bcd718e9] Fix the file change detection logic so that it does not destroy merge history. Ticket [5a855f1bc6351f5]. (check-in: [bcd718e9] user: drh branch: trunk, size: 21056)
2011-12-28
13:40
[9a1d55a4] part of check-in [b9227b85] 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. (check-in: [b9227b85] user: drh branch: trunk, size: 21071)
2011-09-27
19:15
[6a68128c] part of check-in [f1329470] Change a few instances of file_isdir() to file_wd_isdir(). (check-in: [f1329470] user: dmitry branch: trunk, size: 19824)
2011-09-08
11:59
[1a9375a2] part of check-in [8a0c5469] 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(). (check-in: [8a0c5469] user: dmitry branch: symlinks, size: 19818)

2011-08-28
11:01
[fbc955c6] part of check-in [08311ffc] Use file_delete() instead of unlink() in vfile_to_disk(). (check-in: [08311ffc] user: dmitry branch: symlinks, size: 19776)
2011-08-25
11:42
[dfd67b66] part of check-in [f6daee3e] Introduce constants for internal permissions (executable/symlink). (check-in: [f6daee3e] user: dmitry branch: symlinks, size: 19785)
2011-08-23
17:44
[c6699945] part of check-in [4619361d] 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. (check-in: [4619361d] user: dmitry branch: symlinks, size: 19771)
2011-08-22
22:20
[aafd5295] part of check-in [c57830be] Merge trunk. (check-in: [c57830be] user: dmitry branch: symlinks, size: 19839)
2011-06-06
16:50
[e94eca23] part of check-in [12989181] Remove an unnecessary level of function nesting. (check-in: [12989181] user: drh branch: trunk, size: 18746)
2011-05-27
12:56
[6e541915] part of check-in [e05fea38] Internationalize the opendir() function calls. Ticket [49db5c3993bef2]. (check-in: [e05fea38] user: drh branch: trunk, size: 18672)
2011-05-06
16:55
[51e8227d] part of check-in [59ddd3c8] Merge the latest trunk changes into windows-i18n branch. (check-in: [59ddd3c8] user: drh branch: windows-i18n, size: 18500)
13:13
[f1d4369b] part of check-in [e56a4ec3] Fix a bug in the sub-repository detection logic. Ticket [b733bba0b7319ef2]. (check-in: [e56a4ec3] user: drh branch: trunk, size: 18456)
2011-05-02
13:31
[5a670247] part of check-in [eea64490] Change calls to unlink() into file_delete(). The file_delete() routine converts filenames to MBCS from UTF if necessary. (check-in: [eea64490] user: drh branch: windows-i18n, size: 18486)
2011-04-28
13:53
[59205ce4] part of check-in [a3c252f2] Make sure the argument to fopen() is MBCS instead of UTF8. (check-in: [a3c252f2] user: drh branch: windows-i18n, size: 18481)
2011-04-27
18:21
[186157d0] part of check-in [e805fa8d] Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. (check-in: [e805fa8d] user: drh branch: windows-i18n, size: 18474)
14:23
[6dd77e7c] part of check-in [53aef2de] Commands that recursively descend through directory hierarchies (such as "fossil extra", "fossil clean", or "fossil addremove") will now ignore nested checkouts. Ticket [b49849a350d040bc]. (check-in: [53aef2de] user: drh branch: trunk, size: 18442)
2011-04-14
18:09
[ae05f3c9] part of check-in [f60f5602] Refactoring the directory scanning code used by recursive add, extra, and clean. Seems to work but needs more testing prior to folding into trunk. (check-in: [f60f5602] user: drh branch: experimental, size: 17863)
2011-04-04
01:48
[3212e3fa] part of check-in [fe7ac393] Repair completely bogus sql that was erroneously copy/pasted (check-in: [fe7ac393] user: bharder branch: betterExeHandling, size: 17616)
01:14
[7422dd2b] part of check-in [d55e797a] "fossil chan" will recognize addition of exe-bit (check-in: [d55e797a] user: bharder branch: betterExeHandling, size: 17640)
2011-03-09
00:09
[9d6eca8c] part of check-in [e0f5d473] Inline uuid_to_rid and content_size. Saves one SQL statement per file in the checkout. (check-in: [e0f5d473] user: joerg branch: trunk, size: 17150)
2011-02-27
22:22
[622e33ed] part of check-in [081aefde] 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. (check-in: [081aefde] user: drh branch: exe-permission-fix, size: 16876)
2011-02-24
23:26
[9ce78c82] part of check-in [b8111237] 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. (check-in: [b8111237] user: drh branch: trunk, size: 16558)
17:11
[58658b43] part of check-in [1b451616] 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(). (check-in: [1b451616] user: drh branch: trunk, size: 16590)
2011-02-16
19:19
[3bb9c1e4] part of check-in [f73ed21d] Always close opendir() objects if and only if successfully opened. Ticket [d7169e51ebb3400f6] (check-in: [f73ed21d] user: drh branch: trunk, size: 16493)
2011-02-12
13:38
[96b9fcbd] part of check-in [a1814d50] 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. (check-in: [a1814d50] user: drh branch: file-safety, size: 16496)
2011-01-28
19:04
[6a7b12e1] part of check-in [ed2ef7e9] Add symlink support for Unix. New settings flag "allow-symlinks" controls this (off by default). (check-in: [ed2ef7e9] user: dmitry branch: symlinks, size: 17496)
2011-01-07
17:17
[90e0ebb3] part of check-in [f7cff4ad] Make phantom records a warning, not a fatal error, when trying to checkout or examine a check-in. (check-in: [f7cff4ad] user: drh branch: trunk, size: 16491)
17:08
[7363ade4] part of check-in [c2f5dbe6] Do not complain about unfinalized SQL statements when exiting on a fatal error. Fix comments and indentation on the vfile_verify_not_phantom() function. (check-in: [c2f5dbe6] user: drh branch: trunk, size: 17188)
2011-01-03
12:17
[d2b39e20] part of check-in [315048ee] Fix another NULL pointer deref associated with delta manifests. (check-in: [315048ee] user: drh branch: trunk, size: 17191)
12:15
[a8035550] part of check-in [a35e8c0d] Avoid a NULL pointer deref in vfile_build() when a delta manifest contains a deleted file. (check-in: [a35e8c0d] user: drh branch: trunk, size: 17155)
2010-12-30
16:48
[ad90ded2] part of check-in [1a6a154a] Fix an out-of-order local variable declaration in vfile.c. (check-in: [1a6a154a] user: drh branch: trunk, size: 17119)
2010-12-22
23:43
[c2968749] part of check-in [5f23fbad] 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. (check-in: [5f23fbad] user: drh branch: trunk, size: 17119)
22:33
[b4acbb79] part of check-in [aa9ea796] 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. (check-in: [aa9ea796] user: drh branch: trunk, size: 17096)
18:10
[fc70fd09] part of check-in [e9ffc4cd] 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. (check-in: [e9ffc4cd] user: drh branch: trunk, size: 17021)
2010-12-19
02:09
[ee843d19] part of check-in [bbbb35a3] Clear compiler warnings on OpenBSD. No functional code changes. (check-in: [bbbb35a3] user: drh branch: trunk, size: 16429)
2010-12-13
23:04
[b3fad0c1] part of check-in [af365579] Fix a long-standing mtime race condition that can cause problems if a "merge" takes places within the same second as an "update". (check-in: [af365579] user: drh branch: trunk, size: 16324)
2010-12-08
21:00
[6f65d836] part of check-in [e154a438] Add the --sha1sum option to the "status" and "changes" commands to force a detailed (but slow) SHA1 checksum verification that files have not changed. (check-in: [e154a438] user: drh branch: trunk, size: 16297)
2010-11-24
17:13
[51b47685] part of check-in [2ceeeca1] 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]. (check-in: [2ceeeca1] user: drh branch: trunk, size: 16264)
2010-11-13
12:48
[64df6fb2] part of check-in [64459dd0] 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]. (check-in: [64459dd0] user: drh branch: trunk, size: 15322)
2010-11-08
19:00
[7f0768a3] part of check-in [b3fd32f9] 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. (check-in: [b3fd32f9] user: drh branch: experimental, size: 14012)
2010-10-19
23:50
[43f234f2] part of check-in [068b1823] Bug fix in the new delta-manifest generator logic. (check-in: [068b1823] user: drh branch: experimental, size: 13821)
16:26
[0131664d] part of check-in [0e326631] Fix the check-out mechanism so that it works with delta-manifests. (check-in: [0e326631] user: drh branch: experimental, size: 13663)
2010-10-15
20:37
[2e40d507] part of check-in [da9fcdc9] Refactor the control-artifact parser. (check-in: [da9fcdc9] user: drh branch: experimental, size: 14258)
2010-10-03
23:31
[3b714239] part of check-in [aab38ef0] 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]. (check-in: [aab38ef0] user: drh branch: trunk, size: 14148)
2010-08-28
06:59
[3c02b2d2] part of check-in [f66f414f]
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.

(check-in: [f66f414f] user: renez branch: windowscompilers, size: 14079)
2010-08-11
07:00
[828fda0e] part of check-in [7e23178b] Allow a checkin to be checked out again even if one of the files in that checkin has been shunned. (check-in: [7e23178b] user: drh branch: trunk, size: 14025)
2010-06-23
13:30
[6d46d8a3] part of check-in [d778ffea] Prompt the user for permission to overwrite files on "fossil open". Ticket [17389900b2e5bd816] (check-in: [d778ffea] user: drh branch: trunk, size: 13792)
2010-05-16
19:08
[ac84a888] part of check-in [c06edd23] Change from GPL to the Simplified BSD License. (check-in: [c06edd23] user: drh branch: clear-title, size: 13119)
2010-04-02
19:28
[6b065467] part of check-in [251fd001] Add additional markups to show inefficient queries when running in TH3_DEBUG mode. (check-in: [251fd001] user: drh branch: trunk, size: 13395)
2010-02-25
12:58
[0d36cd46] part of check-in [63d5a4fe] If a file has been deleted from the filesystem, but not deleted by fossil, then make the "update" command restore that file. Ticket [7c3ca0eae8287] (check-in: [63d5a4fe] user: drh branch: trunk, size: 13377)
2010-01-24
01:41
[dc794dba] part of check-in [fbcefb6e] Fix a bug in "fossil rm". Ticket [15f8f4a4252] (check-in: [fbcefb6e] user: drh branch: trunk, size: 13409)
2010-01-20
21:51
[310d2a3a] part of check-in [1abc8a94] Fix a bug in file change detection introduced by check-in [d7a583e697]. Don't use that check-in, nor [30f23e3f5c]. (check-in: [1abc8a94] user: drh branch: trunk, size: 13376)
20:35
[efa3e344] part of check-in [d7a583e6] Make the mtime-changes setting the default. Avoid redundant calls to stat(). (check-in: [d7a583e6] user: drh branch: trunk, size: 13344)
15:43
[9b3fe22d] part of check-in [726a13d2] Fix a memory leak in the check-out logic that prevents opening of massive repositories. Ticket [708eab9d48] (check-in: [726a13d2] user: drh branch: trunk, size: 13352)
2009-12-18
00:29
[88297213] part of check-in [76f169fc] Detect when the check-out contains missing files and filesystem objects that ought to be files but are not. Issue reasonable warnings. (check-in: [76f169fc] user: drh branch: trunk, size: 13326)
2009-12-17
18:47
[976e15ff] part of check-in [d861fe77] 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". (check-in: [d861fe77] user: drh branch: trunk, size: 13264)
2009-12-16
02:02
[47f667e7] part of check-in [2f15cd80] Improvements to some comments in vfile.c. (check-in: [2f15cd80] user: drh branch: trunk, size: 13046)
2009-09-19
15:32
[5504b327] part of check-in [a2749215] Add the --dotfiles option to the "extra" and "clean" commands. Ticket [4de876322f066]. (check-in: [a2749215] user: drh branch: trunk, size: 12933)
2008-12-20
02:23
[eb6d72e4] part of check-in [491b2c69] Fix an SQL syntax error. Ticket [62c84f3e604a06f9b8f3f4ca39f774d6909115aa]. (check-in: [491b2c69] user: drh branch: trunk, size: 12763)
2008-12-06
18:02
[0b0beebd] part of check-in [2dffce04] 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. (check-in: [2dffce04] user: drh branch: trunk, size: 12762)
2008-07-17
01:49
[a6f67aae] part of check-in [849b94c6] Avoid the use of chdir() since this seems to cause problems on windows. (check-in: [849b94c6] user: drh branch: trunk, size: 12182)
2008-03-08
19:42
[533b7500] part of check-in [043d63d4] Additional speed improvements for clone and rebuild. (check-in: [043d63d4] user: drh branch: trunk, size: 12160)
2007-09-22
19:32
[429ccc29] part of check-in [3ed92143] Fix a bug in the manifest parser so that it is able to parse the PGP headers even if the header contains \r characters. (check-in: [3ed92143] user: drh branch: trunk, size: 12004)
2007-08-30
18:05
[5ad913c3] part of check-in [1871a93d] Fix bugs that can cause a segfault if a blank check-in comment is entered. (check-in: [1871a93d] user: drh branch: trunk, size: 12004)
2007-08-27
00:04
[aea49423] part of check-in [8c828207] 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. (check-in: [8c828207] user: drh branch: trunk, size: 11939)
2007-08-10
00:08
[fdfe66ef] part of check-in [573a464c] Complete rework of the xfer mechanism. Compiles but not yet working. (check-in: [573a464c] user: drh branch: trunk, size: 11292)
2007-08-09
11:55
[2bf33267] part of check-in [6eca3132] Fix an off-by-one error that can cause a segfault during sync. (check-in: [6eca3132] user: drh branch: trunk, size: 11289)
2007-08-04
00:38
[47b5a770] part of check-in [5c74c300] Changes to the checksum verification steps to allow a partial commit of changes after new files are added to the tree. (check-in: [5c74c300] user: drh branch: trunk, size: 11287)
2007-08-03
15:31
[520337f8] part of check-in [22552fb8] Extend the commit command so that specific files can be committed. There are still some problems with doing this after a merge. (check-in: [22552fb8] user: dan branch: trunk, size: 11076)
2007-08-01
21:03
[8f052c32] part of check-in [39450579] Add primitive start-time and duration controols to the timeline. Additional checksums on check-in and check-out. (check-in: [39450579] user: drh branch: trunk, size: 10426)
12:17
[d4b9c4a1] part of check-in [5c3e8717] 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. (check-in: [5c3e8717] user: drh branch: trunk, size: 10261)
2007-07-21
14:10
[e0efe293] part of check-in [dbda8d6c] Initial check-in of m1 sources. (check-in: [dbda8d6c] user: drh branch: trunk, size: 9359) Added