Fossil

File History
Login

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

History of src/file.c

2017-12-04
13:52
Fix typos in comments. file: [d1d99096] check-in: [6d0d1f71] user: drh branch: trunk, size: 45556
2017-11-30
18:07
Fix a bug in the "fossil add" command that prevented the adding of symbolic links. file: [8b0de075] check-in: [b2594738] user: drh branch: symlink-refactor, size: 45551
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: [ee400f38] check-in: [e7767de2] user: drh branch: symlink-refactor, size: 45781
12:55
Add the --allow-symlinks option to the test-file-environment command. file: [d747a614] check-in: [cf1960e9] user: drh branch: trunk, size: 44170
05:09
Still more improvements to the test-file-environment command. file: [f7988d9d] check-in: [84347382] user: drh branch: trunk, size: 43952
04:48
Improvements to the test-file-environment command. file: [d7ba27a1] check-in: [fdc6af23] user: drh branch: trunk, size: 43430
2017-09-20
13:35
Remove dead code to fix harmless compiler warnings. file: [8e7a44e4] check-in: [4c666ccf] user: drh branch: trunk, size: 43009
2017-08-30
12:02
Remove the --no-dir-symlinks option. This is a back-out of check-in [2375d6cbce933267] together with other cleanup changes. file: [dcb3d4d2] check-in: [b7272185] user: drh branch: trunk, size: 43012
2017-08-23
17:53
Change the file_mkfolder() implementation to assume that the folder already exists and only go about creating it and its path if it does not previously exit. file: [24f02e1c] check-in: [92ea6183] user: drh branch: trunk, size: 43534
17:38
Remove a redundant directory separator character from the temporary filenames generated on windows. file: [5142100e] check-in: [b5f0d703] user: drh branch: trunk, size: 43774
17:29
Add the test-tempname command for testing the file_tempname() routine. file: [75129fc6] check-in: [f1d23f04] user: drh branch: trunk, size: 43635
17:18
For temporary filename paths on Windows, changes all backslash characters into forward slashes, so that the new enhanced-security shell escape mechanism from check-in [3b191c98] can use those temporary filenames. file: [ad3216e9] check-in: [e474c177] user: drh branch: trunk, size: 43307
2017-05-29
17:02
Use a standard .txt extension for temporary files and avoid double dots in file name. file: [a8c25562] check-in: [51058ce1] user: andybradford branch: amend-regress, size: 43088
2017-05-26
05:55
Remove the restriction entirely for editing a comment only in the working check-out directory and choose an appropriate temporary file if no working check-out is available instead. file: [5bdec9cc] check-in: [74df777e] user: andybradford branch: amend-regress, size: 43084
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: [305a81f2] check-in: [2999c7dc] user: jan.nijtmans branch: winsymlink, size: 45154
2017-03-21
13:21
Add the --symlink option to test-file-environment. file: [c77e7c73] check-in: [e5830687] user: drh branch: trunk, size: 42962
2017-02-14
01:03
When the --reset option is used, reset the cached stat() information before and after dealing with it. file: [7570da01] check-in: [39ea7a2f] user: mistachkin branch: symlinks, size: 42707
00:59
Add '--reset' option to the file test commands. Other minor improvements. file: [1053ee96] check-in: [996ebab7] user: mistachkin branch: symlinks, size: 42678
00:40
Report the effective file mode bits also. file: [0afba9c3] check-in: [7972e19f] user: mistachkin branch: symlinks, size: 42043
00:30
Modularize and enhance the file test commands. file: [641375a3] check-in: [834a5b61] user: mistachkin branch: symlinks, size: 41551
00:13
Further enhancements. file: [f561ef9c] check-in: [a3409470] user: mistachkin branch: symlinks, size: 41249
00:03
Enhance verbosity of the new 'test-file-environment' command. file: [7c1f0850] check-in: [804bb55f] user: mistachkin branch: symlinks, size: 40719
2017-02-13
23:56
Add the 'test-file-environment' test command. file: [47964da1] check-in: [c891d86c] user: mistachkin branch: symlinks, size: 40253
21:03
Oops, missed one thing in the previous check-in. file: [00c7c69b] check-in: [b3fc0a13] user: mistachkin branch: symlinks, size: 38827
21:01
For the '--no-dir-symlinks' flag to be honored when the 'allow-symlinks' setting is disabled, the file_wd_isdir() function must force lstat() to be used. file: [4ba0400d] check-in: [6c90761b] user: mistachkin branch: symlinks, size: 38814
20:10
If the 'allow-symlinks' option is enabled (or the '--no-dir-symlinks' flag is specified), do not traverse into symlinked directories. file: [034660bb] check-in: [3e949e17] user: mistachkin branch: symlinks, size: 38455
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: [0fae72c9] check-in: [66406ae9] user: mistachkin branch: noSymlinks, size: 38448
02:42
The file_wd_isdir() function must honor the symlinks options. file: [d3da9d83] check-in: [de053c77] user: mistachkin branch: noSymlinks, size: 38506
02:32
Attempt to always enforce the --no-symlinks option. file: [5e48a8b6] check-in: [35e37e9b] user: mistachkin branch: noSymlinks, size: 38483
02:16
Add the --no-symlinks global command line option. file: [acda6dd5] check-in: [85277aa3] user: mistachkin branch: noSymlinks, size: 38471
2016-12-21
17:50
When calling gdiff (or stash gdiff) command between 2 versions, use the filename to prefix the temporary random filename so once inside the external diff program we know what file is being compared.    (pending-review) file: [c8b27a46] check-in: [856ca01b] user: mgagnon branch: gdiff-tmpfilename-prefix, size: 38348
2016-12-02
10:49
Get the "fossil all ui" command working on Cygwin where the global_config table has "repo:" entries containing the windows drive letter file: [0cd78206] check-in: [eb9b2317] user: jan.nijtmans branch: trunk, size: 38516
2016-12-01
14:56
Fix the "fossil all ui" command so that it works on Windows. But also comment out some very confused logic in process_on_web_page() that is associated with "--baseurl" option. This logic needs to be fixed prior to merging with trunk. file: [b1212e5d] check-in: [da1c769c] user: drh branch: all-ui, size: 38449
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: [711bb315] check-in: [e5b62edb] user: andygoth branch: trunk, size: 37989
2016-10-20
16:48
Remove extra newlines from calls to fossil_fatal() file: [71a65cc1] check-in: [2c42b217] user: andygoth branch: trunk, size: 38012
2016-10-05
00:13
Give a better error message when unable to open a file that uses one of the Windows reserved names, like "AUX" or "LPT3". file: [5ef86dad] check-in: [12c66506] user: drh branch: trunk, size: 38014
2016-10-01
03:39
Another coding style (whitespace) fix. file: [358fe9d4] check-in: [2ccd046d] user: mistachkin branch: trunk, size: 36341
2016-09-30
23:47
Start of experimental changes to support directory symlinks. file: [162fb1c5] check-in: [d6debf63] user: mistachkin branch: dirSymlinks, size: 36880
2016-08-19
00:13
Use the new SQLITE_DBCONFIG_MAINDBNAME feature of SQLite to eliminate the need for the db_name() hack. file: [c1b31491] check-in: [d858f3da] user: drh branch: omit-db_name, size: 36345
2016-08-10
09:06
Remove unnecessary spacing file: [67d5231a] check-in: [c3b5f1d2] user: jan.nijtmans branch: trunk, size: 36348
2016-05-31
08:17
merge from trunk with a few tweaks for merge conflicts file: [731143e8] check-in: [598b58a5] user: sdr branch: winsymlink, size: 38540
2016-04-07
18:41
Make usage of 'Usage:' and 'or:' consistent in all help text. file: [8e85e61f] check-in: [8bfd9951] user: rberteig branch: trunk, size: 36349
2016-04-01
20:21
Work in progress on spell-check and proof-reading sweep over the help text. file: [afe7321c] check-in: [2a4e31bd] user: rberteig branch: ross-spellcheck, size: 36338
2016-03-24
18:23
Reviewed all Usage: messages for consistency and fixed a few where the fossil command was named in the call to usage(), causing the displayed usage to show the command name twice. Affected commands are bisect options, test-fileage, test-set-mtime, whatis, remote-url, and tag list. file: [2902ca14] check-in: [57f1eaec] user: rberteig branch: trunk, size: 36341
2016-03-11
23:38
Fix compilation issues cause by the trunk merge. file: [b673d835] check-in: [12453740] user: mistachkin branch: mvHardDirFix, size: 36356
2016-03-06
06:26
Merge updates from trunk. file: [b53eb897] check-in: [abd131b8] user: mistachkin branch: mvHardDirFix, size: 36302
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: [96e88d12] check-in: [6ebef28f] user: mistachkin branch: pending-review, size: 35758
2015-09-03
23:15
Merged from trunk with a few tiny edits to make new functionality work on Windows file: [afc0dcc5] check-in: [8f33e49d] user: sdr branch: winsymlink, size: 38024
2015-07-29
18:44
Candidate fix for directory renaming issue with the --hard option as reported via the mailing list. file: [12ea8e64] check-in: [b86127e1] user: mistachkin branch: mvHardDirFix, size: 36370
2015-06-10
21:42
Enhance Tcl integration subsystem to check for the FOSSIL_TCL_PATH environment variable. It present, it will be used as a directory or file name where a Tcl 8.x library might be located. file: [e782c9f5] check-in: [b523bf0b] user: mistachkin branch: trunk, size: 35826
2015-05-26
23:28
Enhance error handling when there is no open checkout and add comments. file: [22f24ea2] check-in: [d12fc4b1] user: mistachkin branch: mvRmHardFix, size: 35189
22:39
Fix typo in comment and add more tests of file name transformation methods. file: [505fdca5] check-in: [9b41960e] user: mistachkin branch: mvRmHardFix, size: 34334
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: [51132974] check-in: [c2df31da] user: mistachkin branch: mvRmHardFix, size: 34333
2015-05-17
17:43
Create parents of empty-dirs if they don't already exist. file: [45b8b355] check-in: [1ab80be4] user: andygoth branch: andygoth-empty-dirs-parents, size: 33591
2015-03-18
16:31
Merged several months worth of trunk into the winsymlink branch. file: [166e7f3a] check-in: [f4c14344] user: sdr branch: winsymlink, size: 35553
2015-03-10
21:00
Fix file_is_absolute_path(), accounting for "C:" being an absolute path file: [884b233b] check-in: [573bbd3e] user: jan.nijtmans branch: trunk, size: 33355
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: [b679d168] check-in: [dd94e596] user: jan.nijtmans branch: trunk, size: 33337
2015-02-08
10:20
Fix Fossil's handling of file permission bits on systems which have ACL's. In that case, group permissions can give unexpected values, which results in unnecessary slowdown repeatedly trying to unset the flags which doesn't work. More explanation: https://cygwin.com/faq/faq.html#faq.using.ssh-pubkey-stops-working. Noted on latest Cygwin (1.7.34) which added support for ACL handling. file: [aa4be8b3] check-in: [3d0e8c01] user: jan.nijtmans branch: trunk, size: 33520
2015-02-06
19:56
Better comment why the group executable bit cannot be used on Cygwin, and possibly other IEEE 1003.1 ("POSIX.1") compliant systems, which support ACL's file: [79e1328f] check-in: [9c3b544e] user: jan.nijtmans branch: trunk, size: 33830
15:34
Workaround for recently introduced Cygwin bug: group permission is always set! This was the cause of the "execute permission" trouble in my recent commits. :-( file: [62c4de44] check-in: [d9dfe11d] user: jan.nijtmans branch: trunk, size: 33736
2015-01-28
03:34
Fix for Cygwin ACL bug file: [09f42cf8] check-in: [4043d5ea] user: jan.nijtmans branch: sqlite3-compat, size: 33061
2015-01-20
17:48
Experimental changes to add 'setenv' support to CGI script files. file: [6c218bb0] check-in: [fe77afb1] user: mistachkin branch: cgiSetEnv, size: 33547
2014-09-26
09:23
Make everything compile on MinGW(-w64). WARNING: will not run on Windows XP, that still has to be fixed! Should work on Vista+. file: [e4c41b83] check-in: [631dff61] user: jan.nijtmans branch: winsymlink, size: 35198
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: [bcedd9c9] check-in: [9c5bbd6a] user: sdr branch: winsymlink, size: 35144
2014-09-23
00:15
Cherrypicked a number of commits from a "bad branch" (I somehow fouled up a merge from trunk). file: [c2b87d0c] check-in: [2d75e87b] user: sdr branch: winsymlink, size: 35031
2014-09-21
02:05
Cleaning up some source comments & such. Also modified a memory block to be on the heap instead of the stack. file: [b4b2cb74] check-in: [30ff96e7] user: sdr branch: bad-winsymlink, size: 34996
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: [360fa106] check-in: [31b0a9d7] user: sdr branch: bad-winsymlink, size: 34308
18:32
Refactored symlink_create repeated block of code into a checked_symlink_create function. file: [87a3c9b5] check-in: [2d3ff7bd] user: sdr branch: bad-winsymlink, size: 34302
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: [6faa6e4c] check-in: [9e0ba121] user: sdr branch: bad-winsymlink, size: 34022
16:50
Fixed a problem with the high level symlink creation code to accommodate windows drive letters. Also modified windows symlink creation logic to better handle dir/file symlinks. file: [3aefdf3f] check-in: [1f1f7506] user: sdr branch: bad-winsymlink, size: 33690
15:28
Merged updates from trunk. file: [3f982e86] check-in: [e2c59606] user: sdr branch: bad-winsymlink, size: 33331
2014-09-15
02:36
Consolidate all use of the capture_case_sensitive_option() function. file: [a653b0a6] check-in: [96dc8407] user: mistachkin branch: captureCaseSensitiveOption, size: 33088
01:49
Work in progress for windows symlink support. file: [a4be4f45] check-in: [de8035cc] user: sdr branch: winsymlink, size: 33366
2014-04-29
10:19
Fix some compiler warnings 'may be uninitialized in this function'. Move path conversions out of win32_chdir/win32_access/win32_stat, as its caller already can do that. This eliminates some code duplication. file: [8263f108] check-in: [503482a2] user: jan.nijtmans branch: trunk, size: 33123
09:26
Fix some compiler warnings 'may be uninitialized in this function'. Move path conversions out of win32_chdir/win32_access/win32_stat, as its caller already can do that. This eliminates some code duplication. file: [b918787e] check-in: [cdfde813] user: jan.nijtmans branch: mistake, size: 33127
2014-04-09
21:55
Cherry-pick [c5b86115de]: Update version of OpenSSL that is referred to in the makefiles. Cherry-pick [565ba734d2]: Fix "fossil extras" when a "extra" entry matches partly with current directory name (reported by j. van den hoff). file: [70ed1e62] check-in: [c779b689] user: jan.nijtmans branch: branch-1.28, size: 31345
20:35
Fix "fossil extras" when a "extra" entry matches partly with current directory name (reported by j. van den hoff) file: [1b9b85a4] check-in: [565ba734] user: jan.nijtmans branch: trunk, size: 33126
2014-04-01
18:43
Get the "fossil cat" command working outside of a check-out using the -R option. This is an alternative implementation to the fix-cat-dash-R branch that avoids adding a new global variable. file: [3759ba0a] check-in: [ebe97b79] user: drh branch: trunk, size: 33042
2014-02-28
13:46
Handle win32 extended path prefix everywhere: Just strip it in the function file_simplify_name(), and only add it back when needed (just before feeding it to a win32 function when >260 chars). Includes additional test-cases. file: [0c3c2d08] check-in: [95f004b1] user: jan.nijtmans branch: trunk, size: 32953
2014-02-27
23:27
Add the "test-file-copy" command for testing the file_copy() procedure. file: [2497b2e4] check-in: [190353e9] user: drh branch: trunk, size: 32682
23:20
Fix the file_copy() procedure so that it automatically creates directories leading up to the destination file. file: [ebd70f30] check-in: [f9916887] user: drh branch: trunk, size: 32247
2014-02-26
10:42
Add support for extended UNC paths as well, and add Windows/Cygwin-specific test-cases for it. file: [51af7e7f] check-in: [ebb42b53] user: jan.nijtmans branch: extended-path-prefix, size: 31531
2014-02-25
13:31
Follow-up to [8ab08d32c7]: Fossil still doesn't handle the extended path prefix on win32 ('\\?\') right, mainly in checking paths. e.g.: "fossil add //\?/C:/Localdata/workspace/fossil/foo.c". Fossil cannot know that this path is correct. Solution: Strip the extended path prefix in file_simplify_name(), and only add it back when needed. Latest "winhttp.c" changes could be reverted with this change when compiling with MSVC or MinGW-w64 (as the repository path after simplicifation doesn't contain '?' any more), but when using MinGW the command-line handling cannot be thrusted. file: [1fa6e163] check-in: [ce4afc89] user: jan.nijtmans branch: extended-path-prefix, size: 31381
2014-01-28
08:20
More removals of unnecessary end-of-line spaces. No change in code. file: [00ddefb9] check-in: [45f35169] user: jan.nijtmans branch: trunk, size: 31260
2014-01-09
11:57
Change C++ comments to C commenting style file: [0303e9ba] check-in: [25950f8b] user: jan.nijtmans branch: trunk, size: 31261
11:24
Merge again checkout_on_root_fix.    Fix more cases when working from '/', should not affect when working normally. file: [10ef2566] check-in: [af194dbb] user: mgagnon branch: trunk, size: 31252
2014-01-08
17:40
Fix some remaining corner cases when having a checkout on '/'..    Update command: • Was asserting when localroot is '/'    file_cannonical_name(): • Return '/' instead of '.' when refering to '/'. • Avoid the double '/' on beginning. • Refactoring to avoid some duplicated code.    file_relative_name(): • Handle properly relative path when working on '/'. file: [1f61bb72] check-in: [89ad123f] user: mgagnon branch: checkout_on_root_fix, size: 31250
2013-12-14
00:16
Fix the build for unix. file: [32744471] check-in: [4f0c38d8] user: drh branch: win32File, size: 30977
00:03
Work in progress on refactoring the complex Win32-specific file routines into their own subsystem. file: [80daf9b2] check-in: [4f041338] user: mistachkin branch: win32File, size: 30907
2013-12-13
13:48
Better use GetCurrentDirectoryW in stead of _wgetcwd. file: [97412e4c] check-in: [4e463bf7] user: jan.nijtmans branch: trunk, size: 37271
13:05
Better implementation of file_access() for win32: The function _waccess cannot handle long paths, and lies too much (e.g. when handling specific smb drives). Implementation borrowed from Tcl 8.6: http://core.tcl.tk/tcl/artifact/c6b5d4f8d7?ln=1510-1756 file: [22adb083] check-in: [0b0eb52c] user: jan.nijtmans branch: trunk, size: 37278
09:40
Use SetCurrentDirectoryW/GetFileAttributesExW in stead of _wchdir/_wstati64 (which cannot handle long pathnames) file: [d6f6d051] check-in: [37147826] user: jan.nijtmans branch: trunk, size: 32179
00:11
Fix a C99-style variable declaration. file: [95bfb8f5] check-in: [a3641b54] user: drh branch: makefile-error, size: 31622
2013-12-12
14:27
Implement file_access() function such that it accepts paths>MAX_PATH. Implementation copied (with some simplifications) from Tcl 8.6 file: [8cbc00d7] check-in: [ba4b3ac1] user: jan.nijtmans branch: win32-longpath, size: 37379
13:54
Fix fossil_stat() and fossil_chdir() such that they accept paths>MAX_PATH. For file_access(), implement a workaround that the '\\?\' prefix can be handled. file: [8eb4d2bf] check-in: [29f023fe] user: jan.nijtmans branch: win32-longpath, size: 32460
2013-12-11
13:00
As it turns out that _wstati64() cannot handled the special "\\?\" prefix, work around that. Otherwise the win32-longpath VFS is quite useless for fossil. Maybe a better solution should be worked out, not using _wstati64() at all. file: [651a6c3a] check-in: [bb440899] user: jan.nijtmans branch: trunk, size: 31891
2013-09-30
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: [c0add7cf] check-in: [8f1e1ee8] user: mistachkin branch: cleanEmptyDirs, size: 31613
2013-09-19
11:48
Fix MSVC build error and warnings: c:\localdata\workspace\fossil\src\util.c(249) : warning C4715: 'fossil_timer_fetch' : not all control paths return a value c:\localdata\workspace\fossil\src\util.c(270) : warning C4715: 'fossil_timer_reset' : not all control paths return a value file: [222d00f8] check-in: [6e1e4bb8] user: jan.nijtmans branch: trunk, size: 30966
11:18
Bug-fix in file_relative_name(): If filename is a super-directory of the current directory then the final slash is missing. Test-case: "fossil test-relative-name /home/ --slash". Result "../../.." should be "../../../". This bugfix is needed for my next commit. file: [811424cd] check-in: [add75245] user: jan.nijtmans branch: trunk, size: 30966
08:30
Add --slash option to test-canonical-name and test-relative-name file: [05730924] check-in: [e6ced767] user: jan.nijtmans branch: trunk, size: 30840
2013-05-29
14:01
Fix two cases where a string value might be used after being freed. file: [252d0011] check-in: [04ab1af3] user: drh branch: trunk, size: 30730
2013-05-14
14:15
Function file_tree_name() should respect case-sensitive setting. Add --case-sensitive option to test-tree-name. file: [c4cac591] check-in: [0df0ce80] user: jan.nijtmans branch: trunk, size: 30731
2013-05-02
19:44
Fix --chdir on Windows/Cygwin when using non-ascii characters or characters invalid for win32 filenames. On Cygwin, allow enter_chroot_jail() using win32 paths as well. file: [1adbc713] check-in: [12bc63aa] user: jan.nijtmans branch: trunk, size: 30385
2013-03-04
14:25
merge trunk file: [3aafb634] check-in: [aa603826] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 29787
2013-03-01
13:19
Teach fossil_utf8_to_filename() how to handle win32 paths on Cygwin. Use this function where-ever possible. file: [c6ad62e5] check-in: [caf2eb25] user: jan.nijtmans branch: trunk, size: 29913
2013-02-27
13:51
plug minor memory leak file: [816c6158] check-in: [52fb2a71] user: jan.nijtmans branch: trunk, size: 29558
09:54
merge trunk file: [2b7375cf] check-in: [efe9993f] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 29622
2013-02-26
20:50
Fix preprocessor check for Win32/Cygwin in file_simplify_name(). file: [2eb6a924] check-in: [9e602271] user: mistachkin branch: trunk, size: 29471
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: [31688281] check-in: [d4b3e1d8] user: jan.nijtmans branch: trunk, size: 29471
2013-02-25
01:02
Added fix for issue seen with merge; would fail due to file_copy() issue where files of renamed directories would not have the new directory created beforehand. Also added fix for issue seen after large merge; 'changes' command would fail due to WriteConsoleW() returning with error ERROR_NOT_ENOUGH_MEMORY; fix seems hacky but works. file: [21999642] check-in: [3f31dc65] user: jeffrimko branch: jeffrimko-fix-merge-changes, size: 29880
2013-02-21
11:29
Rename fossil_utf8_to_unicode to fossil_utf8_to_filename on UNIX, everywhere where filenames are involved. This enables fossil_utf8_to_unicode/fossil_unicode_to_utf8 to be re-implemented on UNIX to do what the name suggests. file: [3708769d] check-in: [7eb5e231] user: jan.nijtmans branch: trunk, size: 29408
2013-02-18
10:03
New function fossil_utf8_to_filename, such that fossil_unicode_to_utf8/fossil_utf8_to_unicode/fossil_unicode_free are not used on UNIX/MAC any more: On UNIX those 3 functions were only no-ops, but this allows to re-implement then for real unicode <-> utf-8 conversions. There is an "#ifdef _WIN32" around those 3 functions and 2 more (fossil_mbcs_to_utf8/fossil_mbcs_free) in order to prove that they are not used any more on UNIX/MAC. file: [eaad71e0] check-in: [cc3976fd] user: jan.nijtmans branch: fossil_utf8_to_filename, size: 29410
2013-01-28
13:09
win32: files with invalid chars were not deleted sometimes with "fossil update" file: [43b624e7] check-in: [d9aa512e] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 29589
2013-01-27
21:56
Fix file_simplify_name and file_is_absolute_path for cygwin file: [896d002c] check-in: [b293b744] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 29371
21:31
merge trunk file: [04e02d75] check-in: [8df9d378] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 29280
2013-01-26
16:27
merge trunk file: [6fc0771b] check-in: [013854ae] user: jan.nijtmans branch: allow-backslash-in-card-filename, size: 29396
2013-01-24
12:00
Handle translation between '/' and '\\' on Windows and Cygwin file: [22be57b1] check-in: [ba87fb1f] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 29418
10:53
merge trunk file: [368fb9e3] check-in: [ba3e82f1] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 29389
10:18
Further simplification of continuation byte checkin in filenames file: [6ffde44e] check-in: [a5cd2dd6] user: jan.nijtmans branch: trunk, size: 29379
2013-01-23
13:15
Further fine-tuning of the check for valid UTF8 characters in filenames. file: [0c7efce9] check-in: [4d456c9f] user: drh branch: trunk, size: 29491
2013-01-21
13:12
Oops, make it work correct now. file: [a649d30b] check-in: [7dabede3] user: jan.nijtmans branch: disallow-invalid-utf8-in-filenames, size: 29364
09:39
From the changes.wiki for Fossil 1.25: "Disallow invalid UTF8 characters (such as characters in the surrogate pair range) in filenames." This completes the set of UTF8 characters which are generally considered invalid, so they should be disallowed in filenames: the "overlong form", invalid continuation bytes, and -finally- noncharacters. file: [5910628e] check-in: [011d5f69] user: jan.nijtmans branch: disallow-invalid-utf8-in-filenames, size: 29352
2013-01-15
10:25
formatting file: [38d429e1] check-in: [9d657c3b] user: jan.nijtmans branch: allow-backslash-in-card-filename, size: 28558
10:21
one more: if we already know the character is in the range U+E000 - U+FFFF, it cannot be a surrogate any more. file: [085a6217] check-in: [4f510b66] user: jan.nijtmans branch: trunk, size: 28587
10:15
Eliminate "continue" statement, makes control flow easier to understand. If we already know a character is non-ASCII, don't need to check for '\\' any more. file: [21fbe7b9] check-in: [886e1bb2] user: jan.nijtmans branch: trunk, size: 28591
2012-12-20
22:59
Allow backslash in filenames on UNIX (experiment) file: [dcd451d8] check-in: [c3d74f4f] user: jan.nijtmans branch: allow-backslash-on-unix, size: 28554
2012-12-19
08:24
Allow backslash in card filenames without causing a SYNTAX error in card parsing. file: [26f6e4e3] check-in: [0a242574] user: jan.nijtmans branch: allow-backslash-in-card-filename, size: 28559
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: [bce0996d] check-in: [d48399bd] user: drh branch: trunk, size: 28733
2012-12-07
12:57
Include "sys/times.h" in file.c if not compiling on windows. This quiets a compiler warning. file: [f7b0bfc6] check-in: [bf160cf0] user: drh branch: trunk, size: 28426
2012-12-01
09:53
update wrong comment file: [619a5193] check-in: [39807cdf] user: jan.nijtmans branch: trunk, size: 28445
2012-11-30
15:52
Allow characters *[]? to appear in filenames. Tickets [46bf4baedce] and [d17d6e5b174bd6] and [10aee063c413c107] file: [6c6c8766] check-in: [647bb7b7] user: drh branch: trunk, size: 28449
12:36
merge trunk. appears to work well again. file: [3889ef1e] check-in: [0c659161] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 28459
2012-11-29
15:13
merge trunk. Broken on win32! file: [353c758e] check-in: [258cedd6] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 28499
09:59
One more thing I spotted (but cannot test!): UTF8-mac encoded values could enter fossil through environment variables as well... file: [f2ab8b98] check-in: [42951c59] user: jan.nijtmans branch: ticket-e399bc, size: 28489
09:53
Tested now on win32 and cygwin (with some fixes, please evaluate!). I cannot test it on OSX, but I think this should function as intended. file: [91b76476] check-in: [a0148eac] user: jan.nijtmans branch: ticket-e399bc, size: 28489
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: [0609b897] check-in: [c24e568f] user: drh branch: ticket-e399bc, size: 28484
2012-11-28
11:13
Add a conditional #include in an attempt to get the build working on Cygwin. file: [826843ae] check-in: [b9634467] user: drh branch: trunk, size: 31887
2012-11-25
20:44
merge trunk file: [a149ea3f] check-in: [22a543bc] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 34337
2012-11-23
11:29
merge trunk "filename contains illegal characters" is now a warning file: [559f371a] check-in: [d3bee356] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 33395
10:35
Disallow invalid unicode characters file: [85dbb08d] check-in: [9242c09f] user: jan.nijtmans branch: invalid-unicode, size: 31839
2012-11-22
12:58
Minor fix in checking for drive-prefix (!= absolute filename) file: [9832554b] check-in: [6119cb31] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 33392
10:16
Modify db_open_config() and associated routines to make their internal state more consistent and discoverable. file: [65e5ec5a] check-in: [52a68687] user: mistachkin branch: dbOpenConfig, size: 30897
2012-11-21
09:20
Somehow, part of previous change got lost file: [8ffecbc4] check-in: [92725735] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 33332
09:12
Split off in separate functions Still experimental, but starts looking better file: [69361fbe] check-in: [b59dc078] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 33376
2012-11-20
13:46
Experimental fix for issue [d17d6e5b17]. Should have a LOT more testing before merging it to trunk, because it is dangerous! The method used is as described at: http://cygwin.com/cygwin-ug-net/using-specialnames.html The only problematic characters left are ':' and '\', all other problematic characters are handled by translating them to characters in the range U+F000 to U+F0FF Feedback welcome. file: [69d8909e] check-in: [82ce90f9] user: jan.nijtmans branch: ticket-d17d6e5b17, size: 32259
2012-10-15
15:01
Fix the windows build for the 1.19 branch. file: [d64d55f4] check-in: [d3e7557a] user: drh branch: branch-1.19, size: 22490
05:28
unused variable includeDotFiles struct utimbuf -> struct _utimbuf (compiler warning with mingw-w64) a few "const" additions file: [91e4570f] check-in: [d2e1469d] user: jan.nijtmans branch: use-utf8-in-win-external-editor, size: 30894
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: [9a93649b] check-in: [773c6c5f] user: drh branch: branch-1.19, size: 22497
2012-10-10
16:06
The "fossil undo" and "fossil redo" commands remember file mtimes and restore them appropriately. When upgrading through this version, you may need to run "fossil undo --reset" to clear your old undo stack. file: [adc8ffde] check-in: [0c378749] user: drh branch: trunk, size: 30893
2012-09-24
07:00
previous commit fixed the MSVC build, but broke the mingw build. Now fix both of them. file: [e02733ba] check-in: [1ef58e52] user: jan.nijtmans branch: trunk, size: 29791
2012-09-23
23:52
Always use wide-character Win32 APIs for dirent.h. file: [51f6c61f] check-in: [ea621d75] user: mistachkin branch: trunk, size: 29771
2012-09-20
20:33
eliminate all #ifdef UNICODE, assuming everthing is compiled with -DUNICODE -D_UNICODE file: [249fe63b] check-in: [ad91647e] user: jan.nijtmans branch: trunk, size: 29992
2012-09-17
07:34
fix [ce73fc2173] Restore Win9x, using unicows eliminate all #ifdef UNICODE file: [779dc56b] check-in: [9cf5056a] user: jan.nijtmans branch: win95-unicows, size: 29993
2012-09-12
22:01
simplify switching between widechar and unicode variant of dirent file: [6b08bdba] check-in: [a8f7a8ac] user: jan.nijtmans branch: restore-win95, size: 30285
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: [364bc37e] check-in: [b402bec8] user: jan.nijtmans branch: restore-win95, size: 30487
2012-09-07
07:53
Enable unicode commandline and unicode console output for msvc builds. file: [2f7c8ff4] check-in: [28695020] user: jan.nijtmans branch: unicode-cmdline, size: 30669
2012-09-06
09:10
merge trunk enable UNICODE mode (experimental) file: [4ff58aa9] check-in: [2017d2f8] user: jan.nijtmans branch: eclipse-project, size: 30695
2012-09-05
09:26
be smarter about istty static initialization file: [1b7828bf] check-in: [5d9f57a7] user: jan.nijtmans branch: eclipse-project, size: 30019
09:05
superflueous semicolon. file: [5af50ea0] check-in: [6f3b0f34] user: jan.nijtmans branch: eclipse-project, size: 30056
09:00
fix writing to stderr console, last commit broke that. file: [67a40b87] check-in: [b4bab791] user: jan.nijtmans branch: eclipse-project, size: 30060
08:15
write unicode to console, when possible. file: [01cf8239] check-in: [7fd74e72] user: jan.nijtmans branch: eclipse-project, size: 30060
07:31
make output to the Windows console binary-safe file: [3b0f6b83] check-in: [a830168d] user: jan.nijtmans branch: eclipse-project, size: 30552
2012-09-01
04:45
Remove leftover instances of non-ASCII characters from several files. file: [84de8181] check-in: [f15ce59b] user: mistachkin branch: trunk, size: 30127
2012-08-30
19:29
upgrade dirent.h to latest available version (1.11) file: [b6832b2c] check-in: [fb07d869] user: jan.nijtmans branch: trunk, size: 30126
2012-08-29
22:37
found the cause of the crash!!!! file: [30600e21] check-in: [27905725] user: jan.nijtmans branch: msvc-broken, size: 30150
22:34
working part of [01a2f3a346] file: [2ab22efc] check-in: [14733d15] user: jan.nijtmans branch: trunk, size: 29665
20:48
working part of [ticket-01a2f3a346] (still don't understand, but somehow it doesn't work with msvc) file: [66e0d072] check-in: [51730940] user: jan.nijtmans branch: broken-msvc-2, size: 29649
20:27
make it link on msvc. Doesn't run yet. file: [501aa739] check-in: [bd43f1c2] user: jan.nijtmans branch: msvc-broken, size: 30134
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: [e077298a] check-in: [8d8e529a] user: drh branch: msvc-broken, size: 30130
14:12
merge trunk file: [a7c30328] check-in: [c0378084] user: jan.nijtmans branch: eclipse-project, size: 29680
11:27
fix for [01a2f3a346] file: [c1d17961] check-in: [0357ed55] user: jan.nijtmans branch: msvc-broken, size: 29650
2012-08-24
14:50
merge unicode branch file: [c96c0f1a] check-in: [b4ea94b4] user: jan.nijtmans branch: eclipse-project, size: 29708
13:42
add mkdir to the unicode-supported functions add chinese-named file and directory in test directory, demonstrating the fix [01a2f3a346] file: [8eb40fea] check-in: [c7807937] user: jan.nijtmans branch: ticket-01a2f3a346, size: 29678
2012-08-23
08:53
unicode support for file_getcwd, file_access and fossil_stat as well file: [05c11eb2] check-in: [d95039cc] user: jan.nijtmans branch: eclipse-project, size: 29670
2012-08-22
13:47
new functions fossil_unicode_to_utf8 and fossil_utf8_to_unicode. Modify file_delete, file_tempname, fossil_getenv and fossil_fopen to use it, so now they can handle all unicode characters not only the ones from the mbcs This should allow all filenames and environment variables to contain unicode characters, without problems on WIN32. If main.c is compiled with -DUNICODE -D_UNICODE, then command line arguments allow unicode characters on win32 as well. Build system not adapted for that yet. file: [836eeba3] check-in: [65c8ca05] user: jan.nijtmans branch: eclipse-project, size: 29528
2012-08-21
11:18
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/ws2tcpip.h:11:0, from src/cgi.c:29: /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h src/file.c:47:0: warning: "stat" redefined /usr/x86_64-w64-mingw32/sys-root/mingw/include/sys/stat.h:258:0: note: this is the location of the previous definition In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/ws2tcpip.h:11:0, from src/http_socket.c:35: /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h src/shell.c:67:0: warning: "popen" redefined /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:503:0: note: this is the location of the previous definition src/shell.c:68:0: warning: "pclose" redefined /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:504:0: note: this is the location of the previous definition file: [33295770] check-in: [b5d69afe] user: jan.nijtmans branch: jn-mingw-w64-compiler-warnings, size: 28082
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [5ac43b07] check-in: [0328d681] user: drh branch: sqlite4, size: 28076
2012-06-27
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: [e79fccbe] check-in: [68239127] user: drh branch: sqlite4, size: 28075
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: [a249612d] check-in: [e94c7cc4] user: mistachkin branch: winFiles, size: 28069
04:48
In file_tree_name, since the file name argument is converted to its canonical form prior to the memcmp, the local root must be as well. On Windows, normalize drive letters to uppercase when converting a file name to its canonical form and fix construction of temporary file names used with the gdiff command when the --from and --to options are present. file: [319b298f] check-in: [6be0898b] user: mistachkin branch: winFiles, size: 27811
2012-02-16
03:15
Fix typo in the new fossil_getenv() function for windows. file: [3e15b247] check-in: [6c835ea8] user: drh branch: trunk, size: 26344
01:03
Always convert the result of getenv() into UTF8. file: [a4af7b79] check-in: [57152086] user: drh branch: trunk, size: 26344
2012-01-28
21:51
Store the repository filename in the _FOSSIL_ database exactly as it is typed on the "open" command-line. That means that the repository filename will be stored relative to the root of the check-out if a relative pathname is given on open. file: [0b766e8f] check-in: [a7248d8f] user: drh branch: trunk, size: 26116
2012-01-03
06:40
The return value from sqlite3_win32_mbcs_to_utf8 and sqlite3_win32_utf8_to_mbcs must now be freed via sqlite3_free. file: [416098d7] check-in: [058e287e] user: mistachkin branch: trunk, size: 25918
2011-10-14
16:11
Merging the annotate_noleak changes, about removing an important memory leak in the annotate operation.    It also fixes some blob behaviour in blob.c and content.c.    Update: Removed from trunk. Replaced by the must simpler fix at [9929bab702f99839ee] file: [64460aea] check-in: [409f370a] user: viriketo branch: declined, size: 25888
2011-10-05
02:03
Change a #ifdef so that builds on MSVC will work on repos larger than 2GB. file: [79bed8df] check-in: [6092935f] user: drh branch: trunk, size: 25875
2011-09-29
11:45
Change file_size() to file_wd_size() in file_is_the_same(). file: [5c47646b] check-in: [13a771ce] user: dmitry branch: trunk, size: 25852
2011-09-27
19:28
Call file_wd_isdir() in file_mkdir(). file: [073bb829] check-in: [13120e96] user: dmitry branch: trunk, size: 25849
2011-09-08
14:30
Add comment describing file_wd_isfile() function. file: [d29ba592] check-in: [f23334cb] user: dmitry branch: trunk, size: 25846
12:59
Fix Windows build. file: [2bc870a9] check-in: [4e586a2d] user: dmitry branch: symlinks, size: 25781
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: [2c394527] check-in: [8a0c5469] user: dmitry branch: symlinks, size: 25768
2011-09-04
20:43
Updating from trunk to get the latest code. file: [c44433a1] check-in: [73b6ff49] user: viriketo branch: annotate_noleak, size: 24406
20:41
What I did to get the 'annotate' command not leak.    Notice that I disabled again the check for blob_is_reset, as in trunk. file: [df52ea2a] check-in: [7ad4dfbe] user: viriketo branch: annotate_noleak, size: 24335
2011-09-01
22:56
Refactor file_perm(), file_islink(), and file_isexe(). Now file_perm() calls stat only once. file: [a3f3d80e] check-in: [eac23495] user: dmitry branch: symlinks, size: 24393
2011-08-27
18:25
Changes to fossil_stat() so that the build works for mingw. file: [36455e07] check-in: [a7e747e5] user: drh branch: symlinks, size: 24322
2011-08-25
11:42
Introduce constants for internal permissions (executable/symlink). file: [136d10a7] check-in: [f6daee3e] user: dmitry branch: symlinks, size: 24358
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: [cf0cd7a9] check-in: [4619361d] user: dmitry branch: symlinks, size: 24340
13:54
Fix comments. file: [b43e89c4] check-in: [4a32e8ad] user: dmitry branch: symlinks, size: 24075
2011-08-22
22:20
Merge trunk. file: [ead3a71e] check-in: [c57830be] user: dmitry branch: symlinks, size: 24042
2011-08-14
23:12
Fix the file_relative_name() function so that it works on windows. file: [6e89d00e] check-in: [47b5bf7d] user: drh branch: ben-testing, size: 21347
2011-06-18
15:51
Improved error messages when getcwd() fails. Ticket [f628d183c958c5b12]. file: [c342ae62] check-in: [89e6eb96] user: drh branch: trunk, size: 20866
2011-06-17
13:37
Fix the temporary filename generator so that it does not get stuck in a loop. Ticket [006e1df642d6246a03]. file: [92fb355e] check-in: [d3a1663a] user: drh branch: trunk, size: 20682
2011-06-06
17:17
When setting execute permission only set it for those users that also have read permission. file: [5735e957] check-in: [fd6f1c5e] user: drh branch: trunk, size: 20593
2011-05-20
15:31
Abstract the getcwd() system library routine into file_getcwd() with appropriate translations on windows. file: [05fff3af] check-in: [4b342540] user: drh branch: trunk, size: 20535
14:17
Convert the return value of getcwd() from MBCS into UTF8 before using it. file: [f21fe601] check-in: [ef040767] user: drh branch: trunk, size: 19976
2011-05-13
15:46
When translating UTF8 text for display on the console, use the codepage obtained from GetConsoleCP(), not the CP_ACP code page that is used for system calls. file: [8b337895] check-in: [55b32701] user: drh branch: windows-i18n, size: 19878
2011-05-04
11:13
Add a wrapper around all calls to access() that translates UTF8 to MBCS. file: [b1fe4ab3] check-in: [850d3df4] user: drh branch: windows-i18n, size: 18610
2011-05-03
18:32
Convert filenames from UTF8 to MBCS on windows when checking if a file exists or checking its size, etc. Ticket [336924579dd95e7cceaeeae5]. file: [14fe5b6b] check-in: [48f5dada] user: drh branch: windows-i18n, size: 18385
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: [3ea90329] check-in: [eea64490] user: drh branch: windows-i18n, size: 18200
2011-04-28
13:53
Make sure the argument to fopen() is MBCS instead of UTF8. file: [dd88e49b] check-in: [a3c252f2] user: drh branch: windows-i18n, size: 18047
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. file: [1306b0d6] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 16681
2011-03-18
02:13
Allow up to two // characters at the beginning of a pathname since this is important on windows. file: [4ad3d432] check-in: [f1173da7] user: drh branch: trunk, size: 16671
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: [0fde121b] check-in: [081aefde] user: drh branch: exe-permission-fix, size: 16571
2011-02-21
16:33
Add the ability to use a graphical merging tool to resolve merge conflicts. Even without a configured graphical tool, leave files behind (VCS droppings) that contain the baseline, original, and merged files. file: [e44e5037] check-in: [9b7a6f80] user: drh branch: trunk, size: 16440
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: [cff501da] check-in: [a1814d50] user: drh branch: file-safety, size: 16777
2011-01-28
19:04
Add symlink support for Unix. New settings flag "allow-symlinks" controls this (off by default). file: [b78180c1] check-in: [ed2ef7e9] user: dmitry branch: symlinks, size: 18506
2011-01-12
16:04
Fix the file_simplify_name() utility function so that it works with relative pathnames. Ticket [99caf06e17bed849146] file: [ea4b6e84] check-in: [c637a8ac] user: drh branch: trunk, size: 15823
2010-12-22
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: [f1c58ca3] check-in: [aa9ea796] user: drh branch: trunk, size: 14395
2010-11-08
19:31
Fix an inintiialized variable in the previous check-in. file: [aaf85336] check-in: [d8935a89] user: drh branch: trunk, size: 13887
19:23
Fix a corner-case in file_tree_name() - specifically when the input is the name of the root of the local tree, return ".". file: [a8eeaf62] check-in: [f98114c9] user: drh branch: trunk, size: 13887
05:23
Allow fossil update -n -v current to be used on the root directory (aborted with "outside of checkout tree" error before). file: [c35180b2] check-in: [b6bb1ee7] user: venkat branch: venks-emacs, size: 13715
2010-11-07
23:51
Avoid the use of %lld to work around limitations of some windows compilers. Ticket [9d186979fc4fe8d9c] file: [a1d06f19] check-in: [c76bb6d2] user: drh branch: trunk, size: 13624
21:11
Patches to file.c (for mingw is_dir), finfo.c (various utilities), and update.c (for verbose/nochange), to allow integration into Emacs and IDEs. file: [635cac31] check-in: [2a86bb65] user: venkat branch: venks-emacs, size: 13543
2010-09-18
21:48
Use _stati64() rather than stat() on windows, in order to support repositories larger than 2GB. file: [4b422c8f] check-in: [29323803] user: drh branch: trunk, size: 13496
20:08
Enhance the test-canonical-name command to provide additional file measurement diagnostics. file: [474813f7] check-in: [7fbaee79] user: drh branch: trunk, size: 13287
2010-08-28
09:20
Added the msvc sdk compiler file: [a746fd61] check-in: [c00f79d0] user: renez branch: windowscompilers, size: 12864
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: [73e9b86d] check-in: [f66f414f] user: renez branch: windowscompilers, size: 12843
2010-07-08
17:53
Take care to close the connection to the database file before existing. This gives the database a chance to clean up (and, for example, delete WAL and shared-memory files). file: [99731ce4] check-in: [932825bc] user: drh branch: trunk, size: 12780
2010-07-04
21:11
Small performance tweaks for clone and rebuild. file: [901599a7] check-in: [710a8ba9] user: drh branch: trunk, size: 12766
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [a419ab6b] check-in: [c06edd23] user: drh branch: clear-title, size: 12763
2010-03-06
14:44
Windows clients now preserve the execute permission bits when doing a commit. file: [bdaeea84] check-in: [356fc21d] user: drh branch: trunk, size: 13039
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: [28f5f355] check-in: [63d5a4fe] user: drh branch: trunk, size: 13021
2010-01-31
20:29
If the REPOSITORY argument to the "server" or "http" commands is a directory, then use the first element of PATH_INFO as the basename of a repository in that directory. file: [6dacf75e] check-in: [9cd2c42e] user: drh branch: trunk, size: 12945
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: [13be03b5] check-in: [1abc8a94] user: drh branch: trunk, size: 12927
20:35
Make the mtime-changes setting the default. Avoid redundant calls to stat(). file: [99f0f9c6] check-in: [d7a583e6] user: drh branch: trunk, size: 12904
2009-11-14
14:38
In the file_isdir() routine, make sure the filename is simplified (has no "/../" or "/./" components and does not end with "/") in order to work around bugs in mingw. file: [81385222] check-in: [a7822bcc] user: drh branch: trunk, size: 12331
2009-11-11
16:21
Deal with windows filename aliasing in the "all" command. Ticket [974618fe5a8]. Also display the home directory for windows users with the "info" command since the home directory is non-obvious in windows. file: [7be765ce] check-in: [d5695157] user: drh branch: trunk, size: 12219
2009-09-13
16:19
On windows, if the first character of a pathname is '\' then assume that is a full pathname, not a relative pathname. Ticket [cdd360438de]. file: [146394c8] check-in: [42bf8097] user: drh branch: trunk, size: 11576
2009-01-13
18:43
Add code to understand the "https://" prefix on server URLs. Any attempt to use https gives an error at this point, however. This is a work in progress. file: [72175270] check-in: [797d680e] user: drh branch: trunk, size: 11548
2008-11-21
22:16
Fix to the pathname simplifer logic. file: [5e342293] check-in: [d31c0f9c] user: drh branch: trunk, size: 10403
2008-11-09
19:22
Add the "mv" and "rename" commands (aliases for the same thing). file: [3bd9bc50] check-in: [e146d800] user: drh branch: trunk, size: 10376
2008-10-05
12:34
Get cloning working for local files without the use of network I/O. Ticket [b3482d580e]. file: [d20fa893] check-in: [9236f0c0] user: drh branch: trunk, size: 10089
2008-07-23
13:01
The "extra" and "clean" commands ignore the repository file if the repository happens to be within the check-out. Ticket [c7b35be88]. file: [4b43b0dc] check-in: [2ecc407d] user: drh branch: trunk, size: 9616
2008-05-17
08:53
Allow the check-in of files show names begin with ".". Add the "private" table to repository schema but do not yet do anything with it. file: [33dcca33] check-in: [525cc35b] user: drh branch: trunk, size: 9494
2008-05-01
18:42
On windows builds, understand both "C:/" and "C:\" as the beginning of an absolute pathname. file: [2d8ec6b3] check-in: [becc24e4] user: drh branch: trunk, size: 9231
2008-03-11
19:21
Fixed Win32 build breakage file: [0ad3dd78] check-in: [dbb2cee1] user: mjanssen branch: trunk, size: 9169
2008-02-21
14:27
Record whether or not files have their execute permission bit set. Set or clear the execute permission bit upon checkout. file: [6f2a64a2] check-in: [33c31f73] user: drh branch: trunk, size: 9100
2008-02-08
16:24
Fail with an error if a file is outside the checkout tree. file: [d8c82766] check-in: [b3ec774a] user: drh branch: trunk, size: 8721
2007-09-25
21:21
Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc. file: [be587138] check-in: [e63a9fd9] user: jnc branch: trunk, size: 8665
00:17
When checking for win32 absolute paths, I added a check to make sure we don't overstep the bounds of a string file: [525e8c06] check-in: [af3a7518] user: jnc branch: trunk, size: 8655
2007-09-24
19:42
Fixed error with absolute pathnames when opening a repo on Win32 file: [18cdda54] check-in: [c841af0d] user: mjanssen branch: trunk, size: 8625
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: [0453cec0] check-in: [c7278fd0] user: jnc branch: trunk, size: 8580
2007-09-21
21:53
Win32 port: compiles, all tests pass but many functions fail due to path separators. Incomplete. Path fixes to come next file: [b0274645] check-in: [83c876b4] user: jnc branch: trunk, size: 8580
2007-07-21
14:10
Initial check-in of m1 sources. file: [43aa6bdf] check-in: [dbda8d6c] user: drh branch: trunk, size: 8523 Added