Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/file.c
2024-08-09
| ||
12:13 | Tell file_issocket() to always return 0 on Windows builds, as reported in forum post a41fe3d6d0c97b43. ... (file: [f22240c1] check-in: [ba884453] user: stephan branch: trunk, size: 85632) | |
2024-08-06
| ||
20:36 | Get the build working on Windows again. ... (file: [b7e4ef32] check-in: [d474c95d] user: drh branch: unix-sockets, size: 85593) | |
20:30 | Get --socket-owner working. ... (file: [f558a3ed] check-in: [efc7475e] user: drh branch: unix-sockets, size: 85537) | |
15:00 | Change --unix-socket to --socket-name. Add --socket-mode and --socket-owner. Mostly working, accept that --socket-owner seemingly has no effect, even though the fchown() return 0. There is currently a debugging printf() in that line of code. This is an experimental check-in. ... (file: [0b102ede] check-in: [9f71e5cc] user: drh branch: unix-sockets, size: 85611) | |
2024-07-20
| ||
11:43 | Consistently use a dash in '--no' options, preserving the no-dash variant for compatibility where it exists. ... (file: [3c666fba] check-in: [d03ed299] user: danield branch: no-x-dash-options, size: 84113) | |
2024-05-04
| ||
11:26 | file_directory_size() now unconditionally skips the magic "." and ".." entries. This does not affect current uses of the routine but a proposed patch provided in forum post 383838fbd0b6c881 would be awkwardly affected by them. ... (file: [9a76e1a4] check-in: [3cb7d39e] user: stephan branch: trunk, size: 84055) | |
2024-04-10
| ||
20:27 | Use fossil_path_free() instead of fossil_free() for names allocated (or not) by fossil_path_to_utf8(). ... (file: [9f44a66c] check-in: [a9fa7d3c] user: stephan branch: preserve-case-on-add, size: 83746) | |
20:09 | Adjust the "fossil add" command so that on systems with case-insensitive filenames, the named added to the repository is the operating-systems preferred case for the name. ... (file: [8cd40d24] check-in: [f1f7e27e] user: drh branch: preserve-case-on-add, size: 83736) | |
2024-02-02
| ||
16:26 | Fix lines over 80 characters long, excluding external source files and @-lines. ... (file: [63150abb] check-in: [942f691b] user: danield branch: fix-overlength-lines, size: 81587) | |
2023-05-18
| ||
21:15 | Enhancements to SEE integration. ... (file: [f3f9977d] check-in: [d72ab729] user: mistachkin branch: enhSee, size: 81592) | |
2023-03-10
| ||
23:06 | In the Windows server document, provide a command to get the temporary path location as used by Fossil. ... (file: [5b9bcd4f] check-in: [1f184d0e] user: danield branch: trunk, size: 80445) | |
2023-02-17
| ||
14:37 | A large collection of compiler warning fixes re. signed/unsigned comparison from Daniel D. ... (file: [0e929de0] check-in: [c71f711e] user: stephan branch: compiler-warnings, size: 80425) | |
2023-01-09
| ||
13:06 | Further consistency improvements in docs for various commands. ... (file: [e5eb1d4e] check-in: [2512d2d4] user: km branch: trunk, size: 80413) | |
2022-12-21
| ||
09:31 | Improved consistency for --help option descriptions. ... (file: [ce117a64] check-in: [2e56ef4e] user: km branch: trunk, size: 80405) | |
09:00 | Improved consistency for --help option descriptions: begin with uppercase letter; do not use a period at the end of short-ish sentences. ... (file: [b2daae6c] check-in: [de684083] user: km branch: spelling-fixes, size: 80420) | |
2022-12-20
| ||
09:46 | Change spelling for check-in and similar ... (file: [ebed89a4] check-in: [d9c4321e] user: danield branch: check-in-spelling, size: 80427) | |
2022-11-13
| ||
16:26 | Apply fixes to all web views to pass WCAG 2.1 tests performed by "axe DevTools" browser extension. Most fixes related to screen reader compatibility, like making sure that form elements have labels. Some color changes to improve contrast on Default skin. Made more HTML5 compliant. Minor improvement to select combo boxes for UX. Improved Search form UX. Two minor bug fixes for malformed HTML. Fixed help pages to resolve issues with non-compliant HTML being generated. Mostly documented at https://fossil-scm.org/forum/forumpost/aafb17a981df4166 ... (file: [48c6640f] check-in: [1f231db3] user: ericwikman branch: wcag-2.1, size: 80409) | |
2022-09-26
| ||
12:08 | The g.fJail global variable should always be set whenever a chroot jail has been entered. ... (file: [1cc00191] check-in: [558cef7c] user: drh branch: trunk, size: 80412) | |
2022-07-24
| ||
14:51 | Replaced the remaining --dryrun flags with --dry-run, for consistency, per discussion/monologue in forum post d732b4026f44bdba. ... (file: [e343760b] check-in: [4a720c26] user: stephan branch: trunk, size: 80395) | |
2022-07-17
| ||
23:48 | Changed a number of "a" articles followed by vowels in docs and comments to "an", per a forum post. ... (file: [2d661c31] check-in: [99a319bd] user: wyoung branch: trunk, size: 80431) | |
2022-07-05
| ||
07:38 | Replaced --dryrun with --dry-run in the commands which still used the former, except for two unrelated internal-use/debugging-only flags where the change might have had undesired side effects. Removed the undocumented --dryrun backwards-compatibility flag from a couple commands for consistency's sake (else we need to have that option in all dry-run-capable commands). Discussion is in forum post d732b4026f44bdba. ... (file: [654c4f30] check-in: [360d8652] user: stephan branch: dryrun-dry-run, size: 80394) | |
2022-06-23
| ||
12:44 | Changes to the file_getcwd() routine to avoid a false-positive compiler warning from gcc 10.2.1. ... (file: [86544db9] check-in: [85b83206] user: drh branch: trunk, size: 80430) | |
2022-02-28
| ||
20:49 | Since checkin [d8c32ebdff], file_fullexename() function is supported windows, remove comment saying otherwize. (no code change) ... (file: [496f0a6e] check-in: [491b986d] user: mgagnon branch: trunk, size: 80447) | |
2021-12-22
| ||
15:17 | Add comments to the 3 different temp-filename generator routines to cross-link them to one another. Add fossil_temp_filename() as an option to the "test-tempfile" command. ... (file: [e81ff8a9] check-in: [1aff4633] user: drh branch: trunk, size: 80537) | |
2021-08-31
| ||
10:39 | Refactor the previous commit by adding a wrapper for `freopen()', and use the Cygwin-aware routines to convert path names to/from UTF-16. ... (file: [b039e069] check-in: [963de841] user: florian branch: win32-temppath-mojibake, size: 80044) | |
2021-07-12
| ||
15:13 | Hostname prefix on the repository name for the "fossil ui" command must be at least two characters in length, to avoid confusing it with a drive letter on windows. ... (file: [f72f172e] check-in: [385344ef] user: drh branch: trunk, size: 79619) | |
2021-07-01
| ||
19:27 | Fix the file_fullexename() function (used by the "info" and "test-which" commands) so that it works correctly on Windows. ... (file: [88200797] check-in: [d8c32ebd] user: drh branch: trunk, size: 79480) | |
2021-06-30
| ||
18:46 | Refactored [bf66d61582] to move the dir-has-a-checkout-db check into the new dir_has_ckout_db() routine. ... (file: [506094fa] check-in: [3946ff81] user: stephan branch: trunk, size: 78228) | |
17:39 | Add the new file_skip_userhost() function that will find an skip over a "USER@HOST:" prefix on a filename, if it exists. Use this to extract the USER@HOST prefix from names in the "fossil patch push/pull" commands. ... (file: [b4f21631] check-in: [89a85888] user: drh branch: trunk, size: 77752) | |
2021-06-22
| ||
18:57 | Improved quoting for filenames on constructed command-lines. ... (file: [572eec52] check-in: [b3fab9b5] user: drh branch: trunk, size: 76077) | |
2021-04-30
| ||
20:44 | Fix small typo in comments (no functional changes) ... (file: [4222ac08] check-in: [6f9ed563] user: mgagnon branch: trunk, size: 75933) | |
2021-04-06
| ||
10:47 | The "fossil open" command now tolerates the repository file being in the check-out directory without requiring the -f flag. See forum post bc5f8f6e59 for the discussion. ... (file: [9e8c3a8e] check-in: [61132cef] user: drh branch: trunk, size: 75932) | |
2021-03-25
| ||
01:32 | Reduce fossil_panic() calls to those indicating bugs and internal errors. Also clarify effects and purposes of fossil_fatal() vs. fossil_panic(). ... (file: [4620fb31] check-in: [91a4652f] user: larrybr branch: panic-reduction, size: 75115) | |
2021-03-18
| ||
03:21 | Fix for the 'reserved-names' test. ... (file: [8cf961a5] check-in: [84e2abea] user: mistachkin branch: trunk, size: 75115) | |
2021-03-13
| ||
22:55 | Add missing defined() when testing for _WIN32. ... (file: [04bc67d2] check-in: [556479b2] user: danield branch: trunk, size: 74614) | |
2021-02-06
| ||
06:58 | Help text: swapped a few more long/short flags to short/long for consistency. ... (file: [eb5d8ecd] check-in: [ba7b4317] user: stephan branch: trunk, size: 74605) | |
2020-10-18
| ||
18:38 | Fix harmless compiler warnings. Update the custom MinGW makefile. Make feature reporting consistent for 'markdown', which is now always enabled. ... (file: [9f7bdfd7] check-in: [750879ea] user: mistachkin branch: trunk, size: 74605) | |
2020-10-10
| ||
00:01 | Fix the fossil_stat() routine (broken by check-in [39a5df1fde741d08]) so that it responds correctly when the second argument is SymFILE. This is a fix for the problem described in Forum post 251ffc0584 ... (file: [0b83f7d3] check-in: [4d445ead] user: drh branch: trunk, size: 74596) | |
2020-09-15
| ||
19:23 | Remove some end-of-line whitespace and fix some very minor comment typos and capitalization errors ... (file: [d651645b] check-in: [05379255] user: andygoth branch: trunk, size: 74595) | |
12:59 | Fix the file_mkfolder() function so that it works for files in the root directory. ... (file: [d0785fea] check-in: [74c4732f] user: drh branch: trunk, size: 74598) | |
2020-09-07
| ||
14:01 | file_mkdir() should use the converted filename, not the original. ... (file: [5c46fae3] check-in: [45fc083b] user: drh branch: trunk, size: 74596) | |
2020-08-21
| ||
10:10 | Improve comments on symlink logic ... (file: [a0219721] check-in: [39a5df1f] user: drh branch: sec2020, size: 74596) | |
2020-08-20
| ||
13:24 | Version 2.11.2 ... (file: [189da7bc] check-in: [c58877d6] user: drh branch: branch-2.11, size: 73455) | |
13:18 | Version 2.10.2 ... (file: [b3f6e120] check-in: [12d2ad00] user: drh branch: branch-2.10, size: 69572) | |
2020-08-19
| ||
15:46 | Remove commands "test-nondir-path" and "test-is-reserved-name" and add the equivalent functionality to "test-file-environment". ... (file: [0ef4992a] check-in: [0cec61e4] user: drh branch: sec2020, size: 74443) | |
15:21 | Add the "fossil test-nondir-path" command for testing parts of the new symlink logic. ... (file: [6013b0b2] check-in: [13cfef33] user: drh branch: sec2020, size: 74789) | |
12:58 | Merge additional symlink fixes. Back out comment-only changes from url.c. ... (file: [13a11bdd] check-in: [0ea17c2b] user: drh branch: sec2020-2.12-patch, size: 73887) | |
12:08 | Improved detection of attempts to write through a symlink. Now also works for "revert", "stash", and "undo/redo". ... (file: [1ab44e97] check-in: [f63297b2] user: drh branch: sec2020, size: 74181) | |
01:07 | Cherrypick key fixes from the sec2020 branch in order to devise a minimal patch to get us to version 2.12.1. ... (file: [ac25b91b] check-in: [fe1264d3] user: drh branch: sec2020-2.12-patch, size: 72981) | |
2020-08-18
| ||
20:19 | Improved error message and response when trying to manifest a check-out that contains a file beneath a symbolic link directory. ... (file: [eb5b0865] check-in: [20d90dd4] user: drh branch: sec2020, size: 73275) | |
16:07 | Added and applied permissive-manifest-parser setting to permit parsing of manifests which have F-cards containing now-illegal names. Required for rebuild of historical data and support of repositories we now know to contain such files. ... (file: [a35d27f0] check-in: [9e59cf18] user: stephan branch: sec2020-deadend, size: 73092) | |
12:17 | When writing files to disk for a check-out, refuse to write through a symbolic link to a directory. Ticket [f9831fdef1d4edcc]. ... (file: [7c414f5a] check-in: [a64e384f] user: drh branch: sec2020, size: 73087) | |
2020-08-17
| ||
22:22 | Fixes for reserved names case sensitivity, coding style adjustments, more tests. ... (file: [5d2de1ca] check-in: [fde20bc0] user: mistachkin branch: sec2020, size: 71947) | |
18:20 | Merge in reject-ckout-db branch. ... (file: [aaf86adc] check-in: [8c16884a] user: stephan branch: sec2020, size: 71915) | |
17:34 | The allow-symlinks setting is no longer versionable and is off by default. The allow-symlinks setting no longer propagates with a clone. The help text for allow-symlinks discourages its use. There is a new --symlink flag on "fossil open" to permit the use of symlinks on an open, for the adventurous. Ticket [f9831fdef1d4edcc]. ... (file: [976f0935] check-in: [ff98dd5a] user: drh branch: sec2020, size: 69410) | |
17:34 | Added checks of (-wal, -shm, -journal) db suffixes. ... (file: [9d83268d] check-in: [4ed1a294] user: stephan branch: reject-ckout-db, size: 72019) | |
16:10 | Moved is_fossil_ckout_db_name() from db.c to file.c and renamed it filename_is_ckout_db(). Integrated the check into manifest_parse(), but testing it requires temporarily #if'ing out the Z-card check, which is one of the first validations. ... (file: [fa6f70f2] check-in: [6c19baa0] user: stephan branch: reject-ckout-db, size: 71260) | |
2020-08-16
| ||
16:49 | Fixed file_extension() to behave like its docs say it does, which would have made [5a9ac6ca3e] unnecessary. ... (file: [23409b35] check-in: [f95e47b6] user: stephan branch: trunk, size: 69514) | |
2020-08-14
| ||
12:21 | Added optional filename parameter to output_text_with_line_numbers() so that it can add the language-X class to the CODE element. ... (file: [559407d9] check-in: [0b3919f3] user: stephan branch: line-number-selection, size: 69392) | |
2020-08-08
| ||
15:01 | More improvements to "fossil open": Make sure the --repodir is converted into a full pathname so that it is unaffected by --workdir. Report an error with --nested if the new repo would be rooted in the same directory as another repository. ... (file: [9e748886] check-in: [15a7b1fd] user: drh branch: trunk, size: 69121) | |
2020-06-10
| ||
23:00 | Fix handling of empty-string corner case for the file_simplify_name() function. ... (file: [280e2063] check-in: [233a08f4] user: mistachkin branch: trunk, size: 68712) | |
2020-04-30
| ||
15:00 | Fix the file_perm() utility routine so that it actually uses the eFType parameter. ... (file: [9f08f7e8] check-in: [388b5e59] user: drh branch: trunk, size: 68689) | |
2020-04-19
| ||
16:53 | For the "fossil:" output from the "fossil info" command, on unix, provide the full pathname of the fossil executable. ... (file: [033687e4] check-in: [01fcc6a8] user: drh branch: trunk, size: 68691) | |
2020-04-11
| ||
22:35 | Merged from trunk ... (file: [c9efb907] check-in: [2f24675a] user: ashepilko branch: api-cleanup, size: 67305) | |
2020-04-10
| ||
17:50 | If a command is "fossil ABC" and "ABC" is not a valid command name or prefix but "ABC" is the name of a repository file, then change the command to be "fossil ui ABC". ... (file: [3760667f] check-in: [aad4c248] user: drh branch: trunk, size: 67295) | |
2020-04-09
| ||
11:40 | Enhance the "test-file-environment" command so that it works even if run outside of an open checkout and without the -R option. ... (file: [f1ee16e4] check-in: [af6833b6] user: drh branch: trunk, size: 66156) | |
2020-04-05
| ||
23:45 | Match the COMMAND and WEBPAGE names with _cmd and _page functions; forumpost/045bffda68 ... (file: [56004407] check-in: [06afb702] user: ashepilko branch: api-cleanup, size: 66099) | |
2020-04-01
| ||
16:14 | Fix the file_copy() procedure so that it sets the EXE bit on the copy if it was set on the source. ... (file: [8d38c77c] check-in: [cb2f2540] user: drh branch: trunk, size: 66089) | |
2020-03-23
| ||
01:08 | Clear the environment by setting its first entry to NULL; fixes the macOS-bound bug as per forumpost/2fcb3a490b ... (file: [3d798864] check-in: [6e7211a2] user: ashepilko branch: trunk, size: 66033) | |
2020-03-19
| ||
15:11 | Add a configure time check for the existence of setenv(3) in libc for use by fossil_setenv() which has nicer semantics than its current underlying implementation on POSIX systems, putenv(3). This doesn't fix any known issue other than a technical memory leak, but I'm checking it in in case someone finds the code useful someday. ... (file: [9fe5917a] check-in: [ff8f2dec] user: wyoung branch: setenv-alternative, size: 66114) | |
2020-01-29
| ||
07:10 | fossil_fclose() is now a no-op if passed stdin (as was initially intended). ... (file: [54eebd53] check-in: [7723a92f] user: stephan branch: trunk, size: 66030) | |
2020-01-28
| ||
03:49 | Added -H|-html and -p|-pre flags to wiki command. Added fossil_fopen_for_output() and fossil_fclose() to support that. ... (file: [a7c0bf18] check-in: [fe86954f] user: stephan branch: trunk, size: 65992) | |
2019-09-27
| ||
23:56 | Added -- support to (3-way-merge, open, sqlar, stash save|snapshot, tarball, touch, undo/redo, update, zip). ... (file: [8c1c9d02] check-in: [52ae3288] user: stephan branch: double-dash-flag, size: 64926) | |
2019-09-12
| ||
17:51 | Add the optimized file_is_simple_pathname_nonstrict() as an alternative to file_is_simple_pathname() when parsing manifests. ... (file: [38f22c16] check-in: [b4aadf2c] user: drh branch: trunk, size: 64806) | |
2019-08-06
| ||
01:49 | Fix crash. ... (file: [3751a1fc] check-in: [9d37ebbe] user: mistachkin branch: winExtCgi, size: 64617) | |
2019-08-05
| ||
16:35 | Initial draft changes to support 'extcgi' on Win32. ... (file: [f2b7c94d] check-in: [fbe1edda] user: mistachkin branch: winExtCgi, size: 64576) | |
2019-08-02
| ||
18:13 | Avoid the clearenv() interface (which seems to be missing on NetBSD according to [2d4c16df5a9e61c2]) and simply set the global "environ" variable directly. ... (file: [bebda0be] check-in: [d72aa24c] user: drh branch: trunk, size: 64318) | |
05:09 | proper env() handler for (at least) NetBSD ... (file: [9561b768] check-in: [2d4c16df] user: bch branch: env_handler, size: 64362) | |
2019-08-01
| ||
23:31 | Implement the fossil_clearenv() function for Win32. ... (file: [e678783b] check-in: [61fd10ec] user: mistachkin branch: trunk, size: 64287) | |
19:30 | Clear all environment variables prior to invoking a CGI extension. (Works on posix - need to fix it for windows.) ... (file: [1e352a37] check-in: [ed63bdd7] user: drh branch: trunk, size: 63274) | |
2019-07-16
| ||
20:02 | Code cleanup: Add a lot of "const" qualifiers for static (string) arrays, where appropriate. This allows the C compiler to optimize more ... (file: [cfc89f2c] check-in: [70a94d09] user: jan.nijtmans branch: trunk, size: 63122) | |
2019-07-14
| ||
04:46 | When removing a directory on Windows, make sure it is a real directory (i.e. not a junction, symbolic link, etc). ... (file: [e13538ed] check-in: [9bb25a28] user: mistachkin branch: trunk, size: 63125) | |
2019-06-17
| ||
07:09 | The touch command no longer treats missing files as a fatal error, instead emitting a warning message. ... (file: [12bfd236] check-in: [56530e9b] user: stephan branch: trunk, size: 61571) | |
2019-06-14
| ||
19:16 | Per forum discussion: when the calculated timestamp of a to-be-touched file is 0, emit a warning and do not set the timestamp. As-yet-uncommitted merges can cause mtime_of_manifest_file() to calculate a time of zero: https://fossil-scm.org/forum/forumpost/6e49ee3725 ... (file: [d205336b] check-in: [29f450a5] user: stephan branch: trunk, size: 61581) | |
00:24 | Error message typo fix. ... (file: [eb2b4a9b] check-in: [5b6be647] user: stephan branch: trunk, size: 60592) | |
2019-06-13
| ||
21:49 | It turns out that fossil globally consumes the --quiet flag: touch now accounts for that. ... (file: [e5c5bbe8] check-in: [519af48c] user: stephan branch: trunk, size: 60596) | |
21:28 | Minor reformatting, doc updates, and corrected duplicate display of touched file count in dry-run mode. ... (file: [dc7c46a4] check-in: [adbbeac1] user: stephan branch: trunk, size: 60584) | |
20:20 | Reworded misleading statements in the "touch" help. ... (file: [86888ff1] check-in: [ad275f97] user: stephan branch: trunk, size: 60471) | |
20:12 | Reworked the "touch" command to be able to handle non-glob filenames. ... (file: [52454884] check-in: [1b49ab3c] user: stephan branch: trunk, size: 60471) | |
10:15 | Per forum discussion, the "touch" command now defaults to --now (the current timestamp) unless --checkin is used, which applies the timestamp of the most recent checkin in which each file was modified. ... (file: [f476f211] check-in: [c3b48561] user: stephan branch: trunk, size: 54357) | |
08:20 | Help text improvements. ... (file: [2eff77f0] check-in: [c5521b64] user: stephan branch: touch-command, size: 53477) | |
08:13 | Help text typo. ... (file: [1ea8bb66] check-in: [85e3340b] user: stephan branch: touch-command, size: 53500) | |
08:04 | Added new 'touch' command to set the mtime of files to their SCM-side values. ... (file: [f945f9f2] check-in: [4d9ec3e3] user: stephan branch: touch-command, size: 53497) | |
2019-04-25
| ||
14:28 | Make full use of the new file_tempname() in "fossil diff" with both --from and --to options. Improve file_tempname() to allow for a suggested differentiator tag. ... (file: [d77b7706] check-in: [1dd2527f] user: drh branch: trunk, size: 50347) | |
2019-04-24
| ||
12:59 | Preserve the basis-file suffix when generating temporary file names. ... (file: [176a2b71] check-in: [a072be1e] user: drh branch: trunk, size: 49925) | |
2019-02-26
| ||
20:35 | Enhance the "fossil checkout" command to that it too cleans up directories that it makes empty. ... (file: [b4759f3c] check-in: [95b700c2] user: drh branch: rmdir-on-update, size: 49319) | |
01:22 | When doing a "fossil update" if files are removed from a directory, then try to delete that directory (if it is empty) at the end of the update, if the directory is not on the empty-dirs list. ... (file: [8a00d21c] check-in: [43111aa9] user: drh branch: rmdir-on-update, size: 48246) | |
2018-07-18
| ||
01:41 | Fix a harmless compiler warning. ... (file: [a82aebc9] check-in: [2332efb7] user: drh branch: trunk, size: 47842) | |
01:40 | Add the --logdir option to the "fossil pop3d" command. Fix some issues with POP3 reply formatting. ... (file: [5d25641b] check-in: [38165f37] user: drh branch: trunk, size: 47836) | |
2018-07-15
| ||
19:56 | Clarify the difference between fossil_fatal() and fossil_panic(). The fossil_panic() interface puts a message on the error log when generating webpages. Otherwise the two routines are identical. Convert some fossil_fatal() calls into fossil_panic() where appropriate. The goal here is to limit messages on the error log to things that require attention from the system administrator, or represent bugs. ... (file: [08d8e631] check-in: [3f5ab717] user: drh branch: trunk, size: 47000) | |
2018-06-26
| ||
11:54 | Fix compiler warnings on windows. Fix the file_directory_size() function so that it works on windows. ... (file: [d3ad1bea] check-in: [6a7d2ad8] user: drh branch: trunk, size: 47000) | |
2018-06-25
| ||
20:26 | Add the file_directory_size() utility function for measuring the number of objects in a directory. ... (file: [895ae9ee] check-in: [94e846d2] user: drh branch: trunk, size: 46879) | |
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:
file_cannonical_name():
file_relative_name():
| |
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:
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-29
| ||
14:54 | Add vim modline everywhere ... (file: [38702516] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 28111) | |
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:... (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) | |