File History
Not logged in

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

History of src/file.c

2017-09-20
13:35
[8e7a44e448] part of check-in [4c666ccf92] Remove dead code to fix harmless compiler warnings. (user: drh branch: trunk)
2017-08-30
12:02
[dcb3d4d22b] part of check-in [b7272185ca] Remove the --no-dir-symlinks option. This is a back-out of check-in [2375d6cbce933267] together with other cleanup changes. (user: drh branch: trunk)
2017-08-23
17:53
[24f02e1c11] part of check-in [92ea61837e] 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. (user: drh branch: trunk)
17:38
[5142100e5c] part of check-in [b5f0d70362] Remove a redundant directory separator character from the temporary filenames generated on windows. (user: drh branch: trunk)
17:29
[75129fc64a] part of check-in [f1d23f04c0] Add the test-tempname command for testing the file_tempname() routine. (user: drh branch: trunk)
17:18
[ad3216e93d] part of check-in [e474c177df] 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. (user: drh branch: trunk)
2017-05-29
17:02
[a8c25562e3] part of check-in [51058ce141] Use a standard .txt extension for temporary files and avoid double dots in file name. (user: andybradford branch: amend-regress)
2017-05-26
05:55
[5bdec9cc57] part of check-in [74df777e34] 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. (user: andybradford branch: amend-regress)
2017-04-23
13:08
[305a81f25e] part of check-in [2999c7dc8a] 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. (user: jan.nijtmans branch: winsymlink)
2017-03-21
13:21
[c77e7c7383] part of check-in [e583068713] Add the --symlink option to test-file-environment. (user: drh branch: trunk)
2017-02-14
01:03
[7570da01a8] part of check-in [39ea7a2f61] When the --reset option is used, reset the cached stat() information before and after dealing with it. (user: mistachkin branch: symlinks)
00:59
[1053ee9618] part of check-in [996ebab71b] Add '--reset' option to the file test commands. Other minor improvements. (user: mistachkin branch: symlinks)
00:40
[0afba9c327] part of check-in [7972e19f77] Report the effective file mode bits also. (user: mistachkin branch: symlinks)
00:30
[641375a34e] part of check-in [834a5b6189] Modularize and enhance the file test commands. (user: mistachkin branch: symlinks)
00:13
[f561ef9c85] part of check-in [a3409470aa] Further enhancements. (user: mistachkin branch: symlinks)
00:03
[7c1f0850bb] part of check-in [804bb55f07] Enhance verbosity of the new 'test-file-environment' command. (user: mistachkin branch: symlinks)
2017-02-13
23:56
[47964da1d6] part of check-in [c891d86c6c] Add the 'test-file-environment' test command. (user: mistachkin branch: symlinks)
21:03
[00c7c69b10] part of check-in [b3fc0a133c] Oops, missed one thing in the previous check-in. (user: mistachkin branch: symlinks)
21:01
[4ba0400d73] part of check-in [6c90761bcd] 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. (user: mistachkin branch: symlinks)
20:10
[034660bb25] part of check-in [3e949e1761] If the 'allow-symlinks' option is enabled (or the '--no-dir-symlinks' flag is specified), do not traverse into symlinked directories. (user: mistachkin branch: symlinks)
2017-02-01
04:40
[0fae72c98c] part of check-in [66406ae942] 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'. (user: mistachkin branch: noSymlinks)
02:42
[d3da9d8399] part of check-in [de053c778c] The file_wd_isdir() function must honor the symlinks options. (user: mistachkin branch: noSymlinks)
02:32
[5e48a8b66a] part of check-in [35e37e9ba8] Attempt to always enforce the --no-symlinks option. (user: mistachkin branch: noSymlinks)
02:16
[acda6dd5cb] part of check-in [85277aa3b3] Add the --no-symlinks global command line option. (user: mistachkin branch: noSymlinks)
2016-12-21
17:50
[c8b27a46c0] part of check-in [856ca01b13] 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) (user: mgagnon branch: gdiff-tmpfilename-prefix)
2016-12-02
10:49
[0cd782064e] part of check-in [eb9b2317d5] Get the "fossil all ui" command working on Cygwin where the global_config table has "repo:" entries containing the windows drive letter (user: jan.nijtmans branch: trunk)
2016-12-01
14:56
[b1212e5d04] part of check-in [da1c769cd2] 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. (user: drh branch: all-ui)
2016-11-04
22:37
[711bb3151f] part of check-in [e5b62edb28] 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. (user: andygoth branch: trunk)
2016-10-20
16:48
[71a65cc15c] part of check-in [2c42b217e5] Remove extra newlines from calls to fossil_fatal() (user: andygoth branch: trunk)
2016-10-05
00:13
[5ef86daddc] part of check-in [12c665068d] Give a better error message when unable to open a file that uses one of the Windows reserved names, like "AUX" or "LPT3". (user: drh branch: trunk)
2016-10-01
03:39
[358fe9d492] part of check-in [2ccd046de2] Another coding style (whitespace) fix. (user: mistachkin branch: trunk)
2016-09-30
23:47
[162fb1c54d] part of check-in [d6debf638c] Start of experimental changes to support directory symlinks. (user: mistachkin branch: dirSymlinks)
2016-08-19
00:13
[c1b31491b3] part of check-in [d858f3da52] Use the new SQLITE_DBCONFIG_MAINDBNAME feature of SQLite to eliminate the need for the db_name() hack. (user: drh branch: omit-db_name)
2016-08-10
09:06
[67d5231ae9] part of check-in [c3b5f1d2f2] Remove unnecessary spacing (user: jan.nijtmans branch: trunk)
2016-05-31
08:17
[731143e834] part of check-in [598b58a5ee] merge from trunk with a few tweaks for merge conflicts (user: sdr branch: winsymlink)
2016-04-07
18:41
[8e85e61f94] part of check-in [8bfd9951ca] Make usage of 'Usage:' and 'or:' consistent in all help text. (user: rberteig branch: trunk)
2016-04-01
20:21
[afe7321c77] part of check-in [2a4e31bd8d] Work in progress on spell-check and proof-reading sweep over the help text. (user: rberteig branch: ross-spellcheck)
2016-03-24
18:23
[2902ca147e] part of check-in [57f1eaecb8] 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. (user: rberteig branch: trunk)
2016-03-11
23:38
[b673d8357c] part of check-in [12453740c7] Fix compilation issues cause by the trunk merge. (user: mistachkin branch: mvHardDirFix)
2016-03-06
06:26
[b53eb8976a] part of check-in [abd131b83c] Merge updates from trunk. (user: mistachkin branch: mvHardDirFix)
2015-12-02
20:23
[96e88d124e] part of check-in [6ebef28f2b] Experimental changes to deal with the reserved 12 characters (e.g. 'FILENAME.EXT') always needed for long directory names on Windows. (user: mistachkin branch: pending-review)
2015-09-03
23:15
[afc0dcc5d4] part of check-in [8f33e49dd4] Merged from trunk with a few tiny edits to make new functionality work on Windows (user: sdr branch: winsymlink)
2015-07-29
18:44
[12ea8e64e6] part of check-in [b86127e187] Candidate fix for directory renaming issue with the --hard option as reported via the mailing list. (user: mistachkin branch: mvHardDirFix)
2015-06-10
21:42
[e782c9f589] part of check-in [b523bf0be0] 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. (user: mistachkin branch: trunk)
2015-05-26
23:28
[22f24ea269] part of check-in [d12fc4b148] Enhance error handling when there is no open checkout and add comments. (user: mistachkin branch: mvRmHardFix)
22:39
[505fdca567] part of check-in [9b41960e82] Fix typo in comment and add more tests of file name transformation methods. (user: mistachkin branch: mvRmHardFix)
21:46
[51132974d9] part of check-in [c2df31dae8] 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. (user: mistachkin branch: mvRmHardFix)
2015-05-17
17:43
[45b8b355bf] part of check-in [1ab80be485] Create parents of empty-dirs if they don't already exist. (user: andygoth branch: andygoth-empty-dirs-parents)
2015-03-18
16:31
[166e7f3a43] part of check-in [f4c1434493] Merged several months worth of trunk into the winsymlink branch. (user: sdr branch: winsymlink)
2015-03-10
21:00
[884b233bc9] part of check-in [573bbd3eb9] Fix file_is_absolute_path(), accounting for "C:" being an absolute path (user: jan.nijtmans branch: trunk)
2015-02-10
08:24
[b679d16827] part of check-in [dd94e596f4] Speedup handling of checked-out files: When multiple information about a file is requested (size, mtime, permission flags) only call stat() once. (user: jan.nijtmans branch: trunk)
2015-02-08
10:20
[aa4be8b36a] part of check-in [3d0e8c01fe] 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. (user: jan.nijtmans branch: trunk)
2015-02-06
19:56
[79e1328f5c] part of check-in [9c3b544ec2] 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 (user: jan.nijtmans branch: trunk)
15:34
[62c4de4490] part of check-in [d9dfe11d0c] Workaround for recently introduced Cygwin bug: group permission is always set! This was the cause of the "execute permission" trouble in my recent commits. :-( (user: jan.nijtmans branch: trunk)
2015-01-28
03:34
[09f42cf872] part of check-in [4043d5ea0b] Fix for Cygwin ACL bug (user: jan.nijtmans branch: sqlite3-compat)
2015-01-20
17:48
[6c218bb038] part of check-in [fe77afb158] Experimental changes to add 'setenv' support to CGI script files. (user: mistachkin branch: cgiSetEnv)
2014-09-26
09:23
[e4c41b83bb] part of check-in [631dff61e0] Make everything compile on MinGW(-w64). WARNING: will not run on Windows XP, that still has to be fixed! Should work on Vista+. (user: jan.nijtmans branch: winsymlink)
2014-09-25
19:21
[bcedd9c9e7] part of check-in [9c5bbd6a01] 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. (user: sdr branch: winsymlink)
2014-09-23
00:15
[c2b87d0c6b] part of check-in [2d75e87b76] Cherrypicked a number of commits from a "bad branch" (I somehow fouled up a merge from trunk). (user: sdr branch: winsymlink)
2014-09-21
02:05
[b4b2cb749a] part of check-in [30ff96e7a5] Cleaning up some source comments & such. Also modified a memory block to be on the heap instead of the stack. (user: sdr branch: bad-winsymlink)
2014-09-20
18:41
[360fa10619] part of check-in [31b0a9d737] 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). (user: sdr branch: bad-winsymlink)
18:32
[87a3c9b521] part of check-in [2d3ff7bd23] Refactored symlink_create repeated block of code into a checked_symlink_create function. (user: sdr branch: bad-winsymlink)
18:11
[6faa6e4cc2] part of check-in [9e0ba1215d] 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. (user: sdr branch: bad-winsymlink)
16:50
[3aefdf3f92] part of check-in [1f1f75066a] 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. (user: sdr branch: bad-winsymlink)
15:28
[3f982e866f] part of check-in [e2c5960617] Merged updates from trunk. (user: sdr branch: bad-winsymlink)
2014-09-15
02:36
[a653b0a67d] part of check-in [96dc84077f] Consolidate all use of the capture_case_sensitive_option() function. (user: mistachkin branch: captureCaseSensitiveOption)
01:49
[a4be4f45df] part of check-in [de8035cca6] Work in progress for windows symlink support. (user: sdr branch: winsymlink)
2014-04-29
10:19
[8263f108df] part of check-in [503482a2c6] 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. (user: jan.nijtmans branch: trunk)
09:26
[b918787eb5] part of check-in [cdfde813f9] 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. (user: jan.nijtmans branch: mistake)
2014-04-09
21:55
[70ed1e6279] part of check-in [c779b68904] 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). (user: jan.nijtmans branch: branch-1.28)
20:35
[1b9b85a464] part of check-in [565ba734d2] Fix "fossil extras" when a "extra" entry matches partly with current directory name (reported by j. van den hoff) (user: jan.nijtmans branch: trunk)
2014-04-01
18:43
[3759ba0aca] part of check-in [ebe97b79f2] 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. (user: drh branch: trunk)
2014-02-28
13:46
[0c3c2d086a] part of check-in [95f004b1c5] 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. (user: jan.nijtmans branch: trunk)
2014-02-27
23:27
[2497b2e413] part of check-in [190353e90d] Add the "test-file-copy" command for testing the file_copy() procedure. (user: drh branch: trunk)
23:20
[ebd70f300f] part of check-in [f991688730] Fix the file_copy() procedure so that it automatically creates directories leading up to the destination file. (user: drh branch: trunk)
2014-02-26
10:42
[51af7e7fb1] part of check-in [ebb42b530e] Add support for extended UNC paths as well, and add Windows/Cygwin-specific test-cases for it. (user: jan.nijtmans branch: extended-path-prefix)
2014-02-25
13:31
[1fa6e1633a] part of check-in [ce4afc891c] 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. (user: jan.nijtmans branch: extended-path-prefix)
2014-01-28
08:20
[00ddefb917] part of check-in [45f35169f2] More removals of unnecessary end-of-line spaces. No change in code. (user: jan.nijtmans branch: trunk)
2014-01-09
11:57
[0303e9ba6f] part of check-in [25950f8b67] Change C++ comments to C commenting style (user: jan.nijtmans branch: trunk)
11:24
[10ef2566f5] part of check-in [af194dbb16] Merge again checkout_on_root_fix. Fix more cases when working from '/', should not affect when working normally. (user: mgagnon branch: trunk)
2014-01-08
17:40
[1f61bb729a] part of check-in [89ad123f5c] <strong>Fix some remaining corner cases when having a checkout on '/'..</strong> 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 '/'. (user: mgagnon branch: checkout_on_root_fix)
2013-12-14
00:16
[3274447113] part of check-in [4f0c38d81d] Fix the build for unix. (user: drh branch: win32File)
00:03
[80daf9b2ab] part of check-in [4f0413381d] Work in progress on refactoring the complex Win32-specific file routines into their own subsystem. (user: mistachkin branch: win32File)
2013-12-13
13:48
[97412e4c9d] part of check-in [4e463bf7ba] Better use GetCurrentDirectoryW in stead of _wgetcwd. (user: jan.nijtmans branch: trunk)
13:05
[22adb08333] part of check-in [0b0eb52c07] 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] (user: jan.nijtmans branch: trunk)
09:40
[d6f6d0515d] part of check-in [3714782631] Use SetCurrentDirectoryW/GetFileAttributesExW in stead of _wchdir/_wstati64 (which cannot handle long pathnames) (user: jan.nijtmans branch: trunk)
00:11
[95bfb8f5d8] part of check-in [a3641b5441] Fix a C99-style variable declaration. (user: drh branch: makefile-error)
2013-12-12
14:27
[8cbc00d73a] part of check-in [ba4b3ac1d2] Implement file_access() function such that it accepts paths>MAX_PATH. Implementation copied (with some simplifications) from Tcl 8.6 (user: jan.nijtmans branch: win32-longpath)
13:54
[8eb4d2bffe] part of check-in [29f023fe53] 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. (user: jan.nijtmans branch: win32-longpath)
2013-12-11
13:00
[651a6c3a49] part of check-in [bb440899d3] 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. (user: jan.nijtmans branch: trunk)
2013-09-30
11:45
[c0add7cfd3] part of check-in [8f1e1ee8fb] Add --emptydirs option to the 'clean' command to remove empty directories. Corrections to style and comments. Remove superfluous local variable zDir in vfile_scan. (user: mistachkin branch: cleanEmptyDirs)
2013-09-19
11:48
[222d00f8fc] part of check-in [6e1e4bb83d] 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 (user: jan.nijtmans branch: trunk)
11:18
[811424cd7f] part of check-in [add7524533] 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. (user: jan.nijtmans branch: trunk)
08:30
[05730924bb] part of check-in [e6ced76797] Add --slash option to test-canonical-name and test-relative-name (user: jan.nijtmans branch: trunk)
2013-05-29
14:01
[252d00117d] part of check-in [04ab1af3e0] Fix two cases where a string value might be used after being freed. (user: drh branch: trunk)
2013-05-14
14:15
[c4cac59128] part of check-in [0df0ce8025] Function file_tree_name() should respect case-sensitive setting. Add --case-sensitive option to test-tree-name. (user: jan.nijtmans branch: trunk)
2013-05-02
19:44
[1adbc7131c] part of check-in [12bc63aae5] 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. (user: jan.nijtmans branch: trunk)
2013-03-04
14:25
[3aafb63491] part of check-in [aa6038265a] merge trunk (user: jan.nijtmans branch: ticket-d17d6e5b17)
2013-03-01
13:19
[c6ad62e5a9] part of check-in [caf2eb25fa] Teach fossil_utf8_to_filename() how to handle win32 paths on Cygwin. Use this function where-ever possible. (user: jan.nijtmans branch: trunk)
2013-02-27
13:51
[816c6158a1] part of check-in [52fb2a71ad] plug minor memory leak (user: jan.nijtmans branch: trunk)
09:54
[2b7375cff4] part of check-in [efe9993f2b] merge trunk (user: jan.nijtmans branch: ticket-d17d6e5b17)
2013-02-26
20:50
[2eb6a92484] part of check-in [9e602271f4] Fix preprocessor check for Win32/Cygwin in file_simplify_name(). (user: mistachkin branch: trunk)
09:27
[316882816d] part of check-in [d4b3e1d86d] 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. (user: jan.nijtmans branch: trunk)
2013-02-25
01:02
[2199964263] part of check-in [3f31dc6597] 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. (user: jeffrimko branch: jeffrimko-fix-merge-changes)
2013-02-21
11:29
[3708769da6] part of check-in [7eb5e2319f] 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. (user: jan.nijtmans branch: trunk)
2013-02-18
10:03
[eaad71e0f9] part of check-in [cc3976fd30] 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. (user: jan.nijtmans branch: fossil_utf8_to_filename)
2013-01-28
13:09
[43b624e742] part of check-in [d9aa512e20] win32: files with invalid chars were not deleted sometimes with "fossil update" (user: jan.nijtmans branch: ticket-d17d6e5b17)
2013-01-27
21:56
[896d002ca8] part of check-in [b293b744db] Fix file_simplify_name and file_is_absolute_path for cygwin (user: jan.nijtmans branch: ticket-d17d6e5b17)
21:31
[04e02d756d] part of check-in [8df9d37834] merge trunk (user: jan.nijtmans branch: ticket-d17d6e5b17)
2013-01-26
16:27
[6fc0771be1] part of check-in [013854ae76] merge trunk (user: jan.nijtmans branch: allow-backslash-in-card-filename)
2013-01-24
12:00
[22be57b1eb] part of check-in [ba87fb1fec] Handle translation between '/' and '\\' on Windows and Cygwin (user: jan.nijtmans branch: ticket-d17d6e5b17)
10:53
[368fb9e30f] part of check-in [ba3e82f189] merge trunk (user: jan.nijtmans branch: ticket-d17d6e5b17)
10:18
[6ffde44eeb] part of check-in [a5cd2dd64e] Further simplification of continuation byte checkin in filenames (user: jan.nijtmans branch: trunk)
2013-01-23
13:15
[0c7efce900] part of check-in [4d456c9fd1] Further fine-tuning of the check for valid UTF8 characters in filenames. (user: drh branch: trunk)
2013-01-21
13:12
[a649d30b54] part of check-in [7dabede3b3] Oops, make it work correct now. (user: jan.nijtmans branch: disallow-invalid-utf8-in-filenames)
09:39
[5910628ea4] part of check-in [011d5f692d] 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. (user: jan.nijtmans branch: disallow-invalid-utf8-in-filenames)
2013-01-15
10:25
[38d429e1f9] part of check-in [9d657c3be5] formatting (user: jan.nijtmans branch: allow-backslash-in-card-filename)
10:21
[085a62172a] part of check-in [4f510b66cb] one more: if we already know the character is in the range U+E000 - U+FFFF, it cannot be a surrogate any more. (user: jan.nijtmans branch: trunk)
10:15
[21fbe7b9c7] part of check-in [886e1bb2a8] 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. (user: jan.nijtmans branch: trunk)
2012-12-20
22:59
[dcd451d839] part of check-in [c3d74f4f63] Allow backslash in filenames on UNIX (experiment) (user: jan.nijtmans branch: allow-backslash-on-unix)
2012-12-19
08:24
[26f6e4e3bc] part of check-in [0a24257420] Allow backslash in card filenames without causing a SYNTAX error in card parsing. (user: jan.nijtmans branch: allow-backslash-in-card-filename)
2012-12-12
22:52
[bce0996d79] part of check-in [d48399bd39] 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. (user: drh branch: trunk)
2012-12-07
12:57
[f7b0bfc657] part of check-in [bf160cf014] Include "sys/times.h" in file.c if not compiling on windows. This quiets a compiler warning. (user: drh branch: trunk)
2012-12-01
09:53
[619a5193ae] part of check-in [39807cdf0c] update wrong comment (user: jan.nijtmans branch: trunk)
2012-11-30
15:52
[6c6c876687] part of check-in [647bb7b79f] Allow characters *[]? to appear in filenames. Tickets [46bf4baedce] and [d17d6e5b174bd6] and [10aee063c413c107] (user: drh branch: trunk)
12:36
[3889ef1e34] part of check-in [0c65916136] merge trunk. appears to work well again. (user: jan.nijtmans branch: ticket-d17d6e5b17)
2012-11-29
15:13
[353c758e48] part of check-in [258cedd625] merge trunk. Broken on win32! (user: jan.nijtmans branch: ticket-d17d6e5b17)
09:59
[f2ab8b982c] part of check-in [42951c59ae] One more thing I spotted (but cannot test!): UTF8-mac encoded values could enter fossil through environment variables as well... (user: jan.nijtmans branch: ticket-e399bc)
09:53
[91b76476f2] part of check-in [a0148eac53] 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. (user: jan.nijtmans branch: ticket-e399bc)
03:14
[0609b8972a] part of check-in [c24e568fb0] 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] (user: drh branch: ticket-e399bc)
2012-11-28
11:13
[826843ae83] part of check-in [b963446708] Add a conditional #include in an attempt to get the build working on Cygwin. (user: drh branch: trunk)
2012-11-25
20:44
[a149ea3f35] part of check-in [22a543bcf5] merge trunk (user: jan.nijtmans branch: ticket-d17d6e5b17)
2012-11-23
11:29
[559f371aed] part of check-in [d3bee356ba] merge trunk "filename contains illegal characters" is now a warning (user: jan.nijtmans branch: ticket-d17d6e5b17)
10:35
[85dbb08d93] part of check-in [9242c09ff9] Disallow invalid unicode characters (user: jan.nijtmans branch: invalid-unicode)
2012-11-22
12:58
[9832554bd5] part of check-in [6119cb310d] Minor fix in checking for drive-prefix (!= absolute filename) (user: jan.nijtmans branch: ticket-d17d6e5b17)
10:16
[65e5ec5a68] part of check-in [52a6868700] Modify db_open_config() and associated routines to make their internal state more consistent and discoverable. (user: mistachkin branch: dbOpenConfig)
2012-11-21
09:20
[8ffecbc457] part of check-in [9272573511] Somehow, part of previous change got lost (user: jan.nijtmans branch: ticket-d17d6e5b17)
09:12
[69361fbe16] part of check-in [b59dc07818] Split off in separate functions <p>Still experimental, but starts looking better (user: jan.nijtmans branch: ticket-d17d6e5b17)
2012-11-20
13:46
[69d8909e1b] part of check-in [82ce90f91c] Experimental fix for issue [d17d6e5b17]. <p>Should have a LOT more testing before merging it to trunk, because it is dangerous! <p>The method used is as described at: <br> [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 <p>Feedback welcome. (user: jan.nijtmans branch: ticket-d17d6e5b17)
2012-10-15
15:01
[d64d55f494] part of check-in [d3e7557a54] Fix the windows build for the 1.19 branch. (user: drh branch: branch-1.19)
05:28
[91e4570f94] part of check-in [d2e1469d12] unused variable includeDotFiles <p>struct utimbuf -> struct _utimbuf (compiler warning with mingw-w64) <p>a few "const" additions (user: jan.nijtmans branch: use-utf8-in-win-external-editor)
2012-10-11
19:45
[9a93649b9e] part of check-in [773c6c5f2c] 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. (user: drh branch: branch-1.19)
2012-10-10
16:06
[adc8ffdec0] part of check-in [0c37874941] 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. (user: drh branch: trunk)
2012-09-24
07:00
[e02733ba8a] part of check-in [1ef58e5246] previous commit fixed the MSVC build, but broke the mingw build. Now fix both of them. (user: jan.nijtmans branch: trunk)
2012-09-23
23:52
[51f6c61f87] part of check-in [ea621d75ef] Always use wide-character Win32 APIs for dirent.h. (user: mistachkin branch: trunk)
2012-09-20
20:33
[249fe63bcd] part of check-in [ad91647ea7] eliminate all #ifdef UNICODE, assuming everthing is compiled with -DUNICODE -D_UNICODE (user: jan.nijtmans branch: trunk)
2012-09-17
07:34
[779dc56b5b] part of check-in [9cf5056af9] fix [ce73fc2173] <p>Restore Win9x, using unicows eliminate all #ifdef UNICODE (user: jan.nijtmans branch: win95-unicows)
2012-09-12
22:01
[6b08bdbacd] part of check-in [a8f7a8ac24] simplify switching between widechar and unicode variant of dirent (user: jan.nijtmans branch: restore-win95)
08:10
[364bc37eff] part of check-in [b402bec882] Restore fossil to be compilable for Win95 <p>Replace "-DUNICODE -D_UNICODE" with "-DSQLITE_OS_WINNT=0" in win/Makefile.mingw if you want this. (user: jan.nijtmans branch: restore-win95)
2012-09-07
07:53
[2f7c8ff469] part of check-in [286950208c] Enable unicode commandline and unicode console output for msvc builds. (user: jan.nijtmans branch: unicode-cmdline)
2012-09-06
09:10
[4ff58aa938] part of check-in [2017d2f832] merge trunk <p>enable UNICODE mode (experimental) (user: jan.nijtmans branch: eclipse-project)
2012-09-05
09:26
[1b7828bf8b] part of check-in [5d9f57a721] be smarter about istty static initialization (user: jan.nijtmans branch: eclipse-project)
09:05
[5af50ea059] part of check-in [6f3b0f3445] superflueous semicolon. (user: jan.nijtmans branch: eclipse-project)
09:00
[67a40b8724] part of check-in [b4bab791fc] fix writing to stderr console, last commit broke that. (user: jan.nijtmans branch: eclipse-project)
08:15
[01cf823920] part of check-in [7fd74e72f8] write unicode to console, when possible. (user: jan.nijtmans branch: eclipse-project)
07:31
[3b0f6b8380] part of check-in [a830168d3f] make output to the Windows console binary-safe (user: jan.nijtmans branch: eclipse-project)
2012-09-01
04:45
[84de81811c] part of check-in [f15ce59b00] Remove leftover instances of non-ASCII characters from several files. (user: mistachkin branch: trunk)
2012-08-30
19:29
[b6832b2cc9] part of check-in [fb07d8693e] upgrade dirent.h to latest available version (1.11) (user: jan.nijtmans branch: trunk)
2012-08-29
22:37
[30600e215f] part of check-in [27905725de] found the cause of the crash!!!! (user: jan.nijtmans branch: msvc-broken)
22:34
[2ab22efcaf] part of check-in [14733d1519] working part of [01a2f3a346] (user: jan.nijtmans branch: trunk)
20:48
[66e0d07249] part of check-in [517309406a] working part of [ticket-01a2f3a346] (still don't understand, but somehow it doesn't work with msvc) (user: jan.nijtmans branch: broken-msvc-2)
20:27
[501aa73991] part of check-in [bd43f1c249] make it link on msvc. Doesn't run yet. (user: jan.nijtmans branch: msvc-broken)
16:51
[e077298aff] part of check-in [8d8e529aa9] 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. (user: drh branch: msvc-broken)
14:12
[a7c3032856] part of check-in [c037808477] merge trunk (user: jan.nijtmans branch: eclipse-project)
11:27
[c1d1796153] part of check-in [0357ed556e] fix for [01a2f3a346] (user: jan.nijtmans branch: msvc-broken)
2012-08-24
14:50
[c96c0f1a36] part of check-in [b4ea94b488] merge unicode branch (user: jan.nijtmans branch: eclipse-project)
13:42
[8eb40fea3e] part of check-in [c780793749] add mkdir to the unicode-supported functions add chinese-named file and directory in test directory, demonstrating the fix [01a2f3a346] (user: jan.nijtmans branch: ticket-01a2f3a346)
2012-08-23
08:53
[05c11eb2b5] part of check-in [d95039cc5a] unicode support for file_getcwd, file_access and fossil_stat as well (user: jan.nijtmans branch: eclipse-project)
2012-08-22
13:47
[836eeba3d2] part of check-in [65c8ca0571] 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. (user: jan.nijtmans branch: eclipse-project)
2012-08-21
11:18
[332957705d] part of check-in [b5d69afed7] 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 (user: jan.nijtmans branch: jn-mingw-w64-compiler-warnings)
2012-06-29
15:59
[5ac43b076d] part of check-in [0328d68181] Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". (user: drh branch: sqlite4)
2012-06-27
12:30
[e79fccbe92] part of check-in [6823912746] 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. (user: drh branch: sqlite4)
2012-03-19
05:24
[a249612d41] part of check-in [e94c7cc4de] 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. (user: mistachkin branch: winFiles)
04:48
[319b298f34] part of check-in [6be0898b2c] 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. (user: mistachkin branch: winFiles)
2012-02-16
03:15
[3e15b2476f] part of check-in [6c835ea8c7] Fix typo in the new fossil_getenv() function for windows. (user: drh branch: trunk)
01:03
[a4af7b79cd] part of check-in [57152086b8] Always convert the result of getenv() into UTF8. (user: drh branch: trunk)
2012-01-28
21:51
[0b766e8fbf] part of check-in [a7248d8fb9] 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. (user: drh branch: trunk)
2012-01-03
06:40
[416098d705] part of check-in [058e287edb] The return value from sqlite3_win32_mbcs_to_utf8 and sqlite3_win32_utf8_to_mbcs must now be freed via sqlite3_free. (user: mistachkin branch: trunk)
2011-10-14
16:11
[64460aeaaa] part of check-in [409f370a6d] 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. <b>Update:</b> Removed from trunk. Replaced by the must simpler fix at [9929bab702f99839ee] (user: viriketo branch: declined)
2011-10-05
02:03
[79bed8df57] part of check-in [6092935ff2] Change a #ifdef so that builds on MSVC will work on repos larger than 2GB. (user: drh branch: trunk)
2011-09-29
11:45
[5c47646bb2] part of check-in [13a771ce18] Change file_size() to file_wd_size() in file_is_the_same(). (user: dmitry branch: trunk)
2011-09-27
19:28
[073bb82953] part of check-in [13120e9620] Call file_wd_isdir() in file_mkdir(). (user: dmitry branch: trunk)
2011-09-08
14:30
[d29ba5922c] part of check-in [f23334cbda] Add comment describing file_wd_isfile() function. (user: dmitry branch: trunk)
12:59
[2bc870a9f5] part of check-in [4e586a2d8e] Fix Windows build. (user: dmitry branch: symlinks)
11:59
[2c3945270b] part of check-in [8a0c546990] 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(). (user: dmitry branch: symlinks)
2011-09-04
20:43
[c44433a1bb] part of check-in [73b6ff4966] Updating from trunk to get the latest code. (user: viriketo branch: annotate_noleak)
20:41
[df52ea2abe] part of check-in [7ad4dfbe8b] What I did to get the 'annotate' command not leak. Notice that I disabled again the check for blob_is_reset, as in trunk. (user: viriketo branch: annotate_noleak)
2011-09-01
22:56
[a3f3d80ed1] part of check-in [eac23495a9] Refactor file_perm(), file_islink(), and file_isexe(). Now file_perm() calls stat only once. (user: dmitry branch: symlinks)
2011-08-27
18:25
[36455e07c6] part of check-in [a7e747e58f] Changes to fossil_stat() so that the build works for mingw. (user: drh branch: symlinks)
2011-08-25
11:42
[136d10a7b1] part of check-in [f6daee3e7b] Introduce constants for internal permissions (executable/symlink). (user: dmitry branch: symlinks)
2011-08-23
17:44
[cf0cd7a9c9] part of check-in [4619361d58] 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. (user: dmitry branch: symlinks)
13:54
[b43e89c4bf] part of check-in [4a32e8ade7] Fix comments. (user: dmitry branch: symlinks)
2011-08-22
22:20
[ead3a71e3f] part of check-in [c57830bec2] Merge trunk. (user: dmitry branch: symlinks)
2011-08-14
23:12
[6e89d00e36] part of check-in [47b5bf7d16] Fix the file_relative_name() function so that it works on windows. (user: drh branch: ben-testing)
2011-06-18
15:51
[c342ae626d] part of check-in [89e6eb9674] Improved error messages when getcwd() fails. Ticket [f628d183c958c5b12]. (user: drh branch: trunk)
2011-06-17
13:37
[92fb355ec6] part of check-in [d3a1663a09] Fix the temporary filename generator so that it does not get stuck in a loop. Ticket [006e1df642d6246a03]. (user: drh branch: trunk)
2011-06-06
17:17
[5735e95799] part of check-in [fd6f1c5e61] When setting execute permission only set it for those users that also have read permission. (user: drh branch: trunk)
2011-05-20
15:31
[05fff3af4a] part of check-in [4b3425401f] Abstract the getcwd() system library routine into file_getcwd() with appropriate translations on windows. (user: drh branch: trunk)
14:17
[f21fe601bb] part of check-in [ef04076777] Convert the return value of getcwd() from MBCS into UTF8 before using it. (user: drh branch: trunk)
2011-05-13
15:46
[8b337895c2] part of check-in [55b32701a5] 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. (user: drh branch: windows-i18n)
2011-05-04
11:13
[b1fe4ab376] part of check-in [850d3df44e] Add a wrapper around all calls to access() that translates UTF8 to MBCS. (user: drh branch: windows-i18n)
2011-05-03
18:32
[14fe5b6b14] part of check-in [48f5dadafd] Convert filenames from UTF8 to MBCS on windows when checking if a file exists or checking its size, etc. Ticket [336924579dd95e7cceaeeae5]. (user: drh branch: windows-i18n)
2011-05-02
13:31
[3ea90329f3] part of check-in [eea6449098] Change calls to unlink() into file_delete(). The file_delete() routine converts filenames to MBCS from UTF if necessary. (user: drh branch: windows-i18n)
2011-04-28
13:53
[dd88e49ba8] part of check-in [a3c252f237] Make sure the argument to fopen() is MBCS instead of UTF8. (user: drh branch: windows-i18n)
2011-04-27
18:21
[1306b0d6c4] part of check-in [e805fa8db9] Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. (user: drh branch: windows-i18n)
2011-03-18
02:13
[4ad3d43232] part of check-in [f1173da7d5] Allow up to two // characters at the beginning of a pathname since this is important on windows. (user: drh branch: trunk)
2011-02-27
22:22
[0fde121b42] part of check-in [081aefde56] 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. (user: drh branch: exe-permission-fix)
2011-02-21
16:33
[e44e503713] part of check-in [9b7a6f80b2] 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. (user: drh branch: trunk)
2011-02-12
13:38
[cff501da14] part of check-in [a1814d5015] 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. (user: drh branch: file-safety)
2011-01-28
19:04
[b78180c1e7] part of check-in [ed2ef7e9a3] Add symlink support for Unix. New settings flag "allow-symlinks" controls this (off by default). (user: dmitry branch: symlinks)
2011-01-12
16:04
[ea4b6e8458] part of check-in [c637a8ac2d] Fix the file_simplify_name() utility function so that it works with relative pathnames. Ticket [99caf06e17bed849146] (user: drh branch: trunk)
2010-12-22
22:33
[f1c58ca33f] part of check-in [aa9ea7961a] 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. (user: drh branch: trunk)
2010-11-08
19:31
[aaf85336aa] part of check-in [d8935a89b5] Fix an inintiialized variable in the previous check-in. (user: drh branch: trunk)
19:23
[a8eeaf623d] part of check-in [f98114c9e4] Fix a corner-case in file_tree_name() - specifically when the input is the name of the root of the local tree, return ".". (user: drh branch: trunk)
05:23
[c35180b251] part of check-in [b6bb1ee725] Allow fossil update -n -v current to be used on the root directory (aborted with "outside of checkout tree" error before). (user: venkat branch: venks-emacs)
2010-11-07
23:51
[a1d06f1946] part of check-in [c76bb6d270] Avoid the use of %lld to work around limitations of some windows compilers. Ticket [9d186979fc4fe8d9c] (user: drh branch: trunk)
21:11
[635cac310a] part of check-in [2a86bb65aa] 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. (user: venkat branch: venks-emacs)
2010-09-18
21:48
[4b422c8f1d] part of check-in [293238031f] Use _stati64() rather than stat() on windows, in order to support repositories larger than 2GB. (user: drh branch: trunk)
20:08
[474813f78c] part of check-in [7fbaee790a] Enhance the test-canonical-name command to provide additional file measurement diagnostics. (user: drh branch: trunk)
2010-08-28
09:20
[a746fd6105] part of check-in [c00f79d054] Added the msvc sdk compiler (user: renez branch: windowscompilers)
06:59
[73e9b86df1] part of check-in [f66f414fd3] This is the first check-in on the windowscompilers branch and it adds the <a href="http://www.digitalmars.com/">Digital Mars C compiler</a> 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: <p>Checks if one of the windows compilers is used. If so we define _WIN32. Defining _WIN32 is normally done by<br>#include &lt;windows.h&gt;<br> However most of the time we don't use windows.h. </p> <p>Adding an other windows compiler is done by adding<br> "|| defined(__COMPILER_IDENTIFIER__)"<br> and maybe some special things in the files below. Like <pre> </pre> </p> <p>These have all __MINGW32__ replaced by _WIN32. And in some places special processing for either MINGW32 or DMC <p>In popen2 the _open_osfHandle call first parameter is cast to a long. DMC refused to compile without the cast.</p> <p>DMC complained that it didn't knew of time_t in rss.h. time.h came after rss.h. Switching the two solved it! </p> <p>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. </p> <p>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. <p>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. </p> (user: renez branch: windowscompilers)
2010-07-08
17:53
[99731ce4de] part of check-in [932825bc6a] 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). (user: drh branch: trunk)
2010-07-04
21:11
[901599a7e3] part of check-in [710a8ba993] Small performance tweaks for clone and rebuild. (user: drh branch: trunk)
2010-05-16
19:08
[a419ab6b05] part of check-in [c06edd231f] Change from GPL to the Simplified BSD License. (user: drh branch: clear-title)
2010-03-06
14:44
[bdaeea84bd] part of check-in [356fc21d40] Windows clients now preserve the execute permission bits when doing a commit. (user: drh branch: trunk)
2010-02-25
12:58
[28f5f355ca] part of check-in [63d5a4fe25] If a file has been deleted from the filesystem, but not deleted by fossil, then make the "update" command restore that file. Ticket [7c3ca0eae8287] (user: drh branch: trunk)
2010-01-31
20:29
[6dacf75e0c] part of check-in [9cd2c42e79] 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. (user: drh branch: trunk)
2010-01-20
21:51
[13be03b540] part of check-in [1abc8a940e] Fix a bug in file change detection introduced by check-in [d7a583e697]. Don't use that check-in, nor [30f23e3f5c]. (user: drh branch: trunk)
20:35
[99f0f9c698] part of check-in [d7a583e697] Make the mtime-changes setting the default. Avoid redundant calls to stat(). (user: drh branch: trunk)
2009-11-14
14:38
[8138522279] part of check-in [a7822bcc00] 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. (user: drh branch: trunk)
2009-11-11
16:21
[7be765ce11] part of check-in [d5695157d0] 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. (user: drh branch: trunk)
2009-09-13
16:19
[146394c81a] part of check-in [42bf80978d] On windows, if the first character of a pathname is '\' then assume that is a full pathname, not a relative pathname. Ticket [cdd360438de]. (user: drh branch: trunk)
2009-01-13
18:43
[7217527055] part of check-in [797d680ef5] 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. (user: drh branch: trunk)
2008-11-21
22:16
[5e3422939d] part of check-in [d31c0f9c29] Fix to the pathname simplifer logic. (user: drh branch: trunk)
2008-11-09
19:22
[3bd9bc50a5] part of check-in [e146d800ac] Add the "mv" and "rename" commands (aliases for the same thing). (user: drh branch: trunk)
2008-10-05
12:34
[d20fa8930e] part of check-in [9236f0c086] Get cloning working for local files without the use of network I/O. Ticket [b3482d580e]. (user: drh branch: trunk)
2008-07-23
13:01
[4b43b0dc29] part of check-in [2ecc407d9b] The "extra" and "clean" commands ignore the repository file if the repository happens to be within the check-out. Ticket [c7b35be88]. (user: drh branch: trunk)
2008-05-17
08:53
[33dcca33b9] part of check-in [525cc35bf3] 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. (user: drh branch: trunk)
2008-05-01
18:42
[2d8ec6b3a1] part of check-in [becc24e4e9] On windows builds, understand both "C:/" and "C:\" as the beginning of an absolute pathname. (user: drh branch: trunk)
2008-03-11
19:21
[0ad3dd78ce] part of check-in [dbb2cee113] Fixed Win32 build breakage (user: mjanssen branch: trunk)
2008-02-21
14:27
[6f2a64a222] part of check-in [33c31f73cd] Record whether or not files have their execute permission bit set. Set or clear the execute permission bit upon checkout. (user: drh branch: trunk)
2008-02-08
16:24
[d8c82766a0] part of check-in [b3ec774ab7] Fail with an error if a file is outside the checkout tree. (user: drh branch: trunk)
2007-09-25
21:21
[be58713833] part of check-in [e63a9fd9d0] Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc. (user: jnc branch: trunk)
00:17
[525e8c0661] part of check-in [af3a751841] When checking for win32 absolute paths, I added a check to make sure we don't overstep the bounds of a string (user: jnc branch: trunk)
2007-09-24
19:42
[18cdda54a2] part of check-in [c841af0d50] Fixed error with absolute pathnames when opening a repo on Win32 (user: mjanssen branch: trunk)
2007-09-22
06:47
[0453cec099] part of check-in [c7278fd013] 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. (user: jnc branch: trunk)
2007-09-21
21:53
[b0274645f0] part of check-in [83c876b447] Win32 port: compiles, all tests pass but many functions fail due to path separators. Incomplete. Path fixes to come next (user: jnc branch: trunk)
2007-07-21
14:10
Added [43aa6bdf65] part of check-in [dbda8d6ce9] Initial check-in of m1 sources. (user: drh branch: trunk)