Fossil

Timeline
Login

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

109 check-ins using file src/add.c version f68c3c7dfe

2014-03-11
23:34
Always define variables at block start ... (check-in: 1c9e023382 user: jan.nijtmans tags: trunk)
23:23
For initial non-empty check-ins (without parent but with F-cards), add "Changes" section to "ci" page, except for the "patch" button (which is the only thing that doesn't work anyway) ... (check-in: 79c90ac4a4 user: jan.nijtmans tags: trunk)
22:06
Update to SQLite 3.8.4.1 ... (check-in: b93b3e8f98 user: jan.nijtmans tags: trunk)
21:05
Wrapped the timeline-rendering JS in an anonymous function so that it no longer pollutes the global namespace. Added "type" tag to the script (required by HTML4, optional in HTML5). ... (check-in: e6d3e878a9 user: stephan tags: trunk)
05:05
Merge in latest load average enhancement (very nice), and other cleanup. ... (Closed-Leaf check-in: 75406df207 user: andybradford tags: http-auth)
2014-03-10
21:42
Update the custom MinGW makefile. ... (check-in: fd223e5ec7 user: mistachkin tags: trunk)
20:49
Update SQLITE_SOURCE_ID to EXACT 3.8.4 version; char() bugfix was still missing ... (check-in: b1aad7a071 user: jan.nijtmans tags: trunk)
08:49
GNU diff doesn't translate \t to whitespace and strip eol-spacing from diff output (when using -w/-Z options), so "fossil diff" shouldn't do that either. ... (check-in: ac3fcebb19 user: jan.nijtmans tags: trunk)
08:32
Cygwin doesn't have getloadavg() ... (check-in: bae235bf1a user: jan.nijtmans tags: trunk)
00:22
Fix a busted hyperlink in the previous change to server.wiki. ... (check-in: 60774eb33f user: drh tags: trunk)
2014-03-09
23:43
Add documentation (at [/doc/trunk/www/server.wiki#loadmgmt]) on how to use the new load-average limiter feature. ... (check-in: 936fdaeef7 user: drh tags: trunk)
23:04
Add the "max-loadavg" setting to the "setting" command. Add "setting" and "unset" to the "all" command so that max-loadavg can be quickly changed on all repos of a large server installation. ... (check-in: 1847552c92 user: drh tags: trunk)
22:33
If getloadavg() fails, return 0.0 as function result in stead of a random number ... (check-in: 1707129a87 user: jan.nijtmans tags: trunk)
16:25
When a request is denied due to excessive load average, send a 503 reply code. Also: Enhance the request denied message to show the current load average and the load average limit. ... (check-in: d0fa157840 user: drh tags: trunk)
00:19
Show the repository name on the test_env webpage. ... (check-in: 117a0f6952 user: drh tags: trunk)
00:15
Add the ability to restrict CPU-intensive web pages when the server load average gets too high. This feature is turned off by default. ... (check-in: 5e26a1b9b2 user: drh tags: trunk)
2014-03-08
16:14
Clean up and standardize the handling of user "nobody" and the g.zLogin global variable. ... (check-in: 840b762206 user: drh tags: trunk)
04:05
Turn mtime-changes off in repo_init test proc. ... (check-in: 68cc26c1ea user: joel tags: trunk)
2014-03-07
20:14
Minor bug-fix when using -w or -Z flag in diff logic. Make sure that the common lines printed in a diff always come from the left-side, it might be that the right-side is different by white-space only. ... (check-in: d38f0ce759 user: jan.nijtmans tags: trunk)
19:45
Since Annotation flags and DIFF flags are so closely related, allow then to reside in a single variable ... (check-in: 0bc584fe02 user: jan.nijtmans tags: trunk)
16:48
Convert utf-16 files back to intended encoding. ... (check-in: dd47a123e1 user: jan.nijtmans tags: trunk)
15:49
Rename the options for whitespace handling in annotate/blame/diff following GNU diff, not following GIT. So whether your diff tool is configured being internal or external, the same options can be used. ... (check-in: 28234db8bc user: jan.nijtmans tags: trunk)
14:58
In SQLite, import the fix for the journal_mode=PERSIST delete problem on windows. This has no effect on Fossil since Fossil does not use journal_mode=PERSIST. The update is for completeness only. ... (check-in: 33dc7f31c1 user: drh tags: trunk)
14:38
Implement -b|--ignore-space-change. Doesn't work right yet (needs better hash function)! ... (check-in: c0d1ed927e user: jan.nijtmans tags: strip-trailing-cr)
13:11
Combine ANN flags and DIFF flags into a single 64-bit variable, where appropriate. Make DIFF_STRIP_EOLCR a separate flag, as this flag does more than the other whitespace-related flags. Merge trunk. ... (check-in: da205cf44b user: jan.nijtmans tags: strip-trailing-cr)
11:42
Make annotation work with UTF-16 files. Remove some unnecessary end-of-line spaces in (UTF-8 and UTF-16) text files. ... (check-in: 46459fd922 user: jan.nijtmans tags: trunk)
11:29
Fix some spacing issues (blame output should be exactly the same as Fossil 1.28) Make annotation work with UTF-16 files. Remove some unnecessary end-of-line spaces in text files. ... (check-in: 4514910a5f user: jan.nijtmans tags: strip-trailing-cr)
11:02
Fix -w|--ignore-all-space option such that it does exactly the same as GNU diff's option with the same name. ... (check-in: bb3388345d user: jan.nijtmans tags: strip-trailing-cr)
09:01
Rename --ignore-space-at-eol (from Git) to -Z|--ignore-trailing-space (gnu diff). Add --ignore-all-space as well (doesn't behave exactly like GNU's option yet) ... (check-in: d9e79f685b user: jan.nijtmans tags: strip-trailing-cr)
2014-03-06
15:02
Update the built-in SQLite to include the latest last-minute patches for version 3.8.4. ... (check-in: f00167e4e1 user: drh tags: trunk)
14:54
Bring up-to-date with latest features/fixes from trunk. ... (check-in: d6259b7582 user: andybradford tags: http-auth)
09:42
Cherrypick [http://www.sqlite.org/src/info/170e058520|170e058520]: Better support for MinGW 4.x. Together with minor fossil build adaptations such that a MinGW 4.x build reports the right mingw version. Remark: Building fossil with MinGW 4.x still doesn't produce a working fossil.exe, unless you patch MinGW's <dirent.h> slightly. See: [18cff45a4e] and [https://sourceforge.net/p/mingw/bugs/2106/]. This MinGW 4.x bug is already open for almost 5 months now. ... (check-in: e68f528bfa user: jan.nijtmans tags: trunk)
08:50
Add "fossil praise" which is exactly the same as "fossil blame". As in subversion. ... (check-in: fb573e7203 user: jan.nijtmans tags: trunk)
08:34
Merge in new annotate/blame whitespace buttons with updates to changelog. ... (check-in: 866251e878 user: andybradford tags: trunk)
2014-03-05
22:54
Implement --strip-trailing-cr option ... (check-in: 4e6cfaf8f8 user: jan.nijtmans tags: strip-trailing-cr)
22:13
merge trunk ... (Closed-Leaf check-in: e8f422283a user: jan.nijtmans tags: diff-eolws)
22:06
Flag DIFF_INLINE was 0 and that should stay so ... (check-in: 466f8de3c2 user: jan.nijtmans tags: trunk)
21:48
remember "log" option with "Ignore whitespace" button. ... (check-in: e15c42390b user: jan.nijtmans tags: diff-eolws)
21:43
Merge trunk. Simplify handling of "w" option a little. ... (check-in: f4d98b2b9e user: jan.nijtmans tags: diff-eolws)
21:29
Add new --ignore-space-at-sol, -ignore-space-at-eol and -w options to "fossil diff" and "fossil stash diff" commands. Modify annotation/blame such that any change (eol-whitespace too) is considered a change, after ML request. ... (check-in: e663d5e330 user: jan.nijtmans tags: trunk)
19:07
Update the built-in SQLite to 3.8.4 beta. ... (check-in: f0773f6370 user: drh tags: trunk)
15:11
merge diff-eolws ... (check-in: 91add0e03d user: jan.nijtmans tags: diff-eolws)
11:59
Revert default diffFlags used for annotation as it is on trunk. This way, the annotation behavior is fully configurable with the diffFlags (0, DIFF_IGNORE_SOLWS, DIFF_IGNORE_EOLWS or both flags, or newly-to-be-implemented flags). Merging of the "diff-eolws" branch to trunk can be considered independant of the current discussion on the ML. ... (check-in: c38fbe235e user: jan.nijtmans tags: diff-eolws)
08:43
Merge trunk. Fix indentation in annotation/blame commands/pages, which was broken since [28b39cc516]. Changelog entry. ... (check-in: bcb22ce1b0 user: jan.nijtmans tags: diff-eolws)
06:24
Cherry-pick from [f1e99a5a408c]: minor annotate/blame url rendering bug. ... (check-in: 904ab4bbb8 user: andybradford tags: trunk)
06:14
Add button to annotate/blame pages. Also minor bug fix for annotate/blame pages url rendering. ... (check-in: f1e99a5a40 user: andybradford tags: diff-eolws)
02:39
Add "w" URL parameter and buttons to /fdiff pages. ... (check-in: 0ec153a2a7 user: joel tags: diff-eolws)
00:42
Capitalize button labels for consistency with other pages. Change "Show Whitespace Differences" to "Show Whitespace Changes". ... (check-in: 756c187590 user: joel tags: diff-eolws)
00:20
Fix up and simplify /ci page button generation code. ... (check-in: 0c670599bf user: joel tags: diff-eolws)
2014-03-04
14:36
Bring in the SQLite with the TRIGGER name resolution bug fix. This fix is not important to Fossil - we just want to include the latest SQLite code for testing. ... (check-in: 6215d08303 user: drh tags: trunk)
14:14
Add "ignore whitespace" button to ci page. ... (check-in: eb6935df7f user: jan.nijtmans tags: diff-eolws)
13:26
Add "Ignore Whitespace" button to vdiff page. ... (check-in: 56c7561e2b user: jan.nijtmans tags: diff-eolws)
08:21
Don't ignore whitespace by default, except in annotations/blames. Add new "w" option to some Web UI pages, allowing to ignore whitespace (no buttons yet). ... (check-in: 28b39cc516 user: jan.nijtmans tags: diff-eolws)
04:16
Update to the latest SQLite with new performance enhancements - now tested to ensure that it works on systems like ARM that default to unsigned characters. ... (check-in: 8247784beb user: drh tags: trunk)
00:42
Show "error" messages in Tk diff. ... (check-in: d4fea96ad8 user: joel tags: diff-eolws)
2014-03-03
23:21
Update to the latest SQLite with its new performance enhancements. (Later:) The new SQLite does not work correctly when compiled on the Beaglebone Black. Currently investigating. Moving this check-in into a branch until the problem is understood. ... (Closed-Leaf check-in: 13c1fa7626 user: drh tags: beaglebone-problem)
15:02
merge trunk ... (check-in: b8e61d24f8 user: jan.nijtmans tags: diff-eolws)
15:00
Bug-fix: correct calculation of hash-value for lines with different eol-spacing. Taken from [8f885df209], but without the other enhancements. Eliminate some double semicolons. ... (check-in: 7a0f4af68e user: jan.nijtmans tags: trunk)
12:02
Adapt some comments. ... (check-in: c0b42f23a3 user: jan.nijtmans tags: diff-eolws)
11:55
Make option --ignore-space-at-sol work correctly with side-by-side diff as well. ... (check-in: 7763b2e64c user: jan.nijtmans tags: diff-eolws)
11:37
Oops ... (check-in: 65397b575e user: jan.nijtmans tags: diff-eolws)
11:17
Fix indenting behavior of --ignore-space-at-sol option ... (check-in: 2faa1a272b user: jan.nijtmans tags: diff-eolws)
10:50
Implement new --ignore-space-at-sol option for all diff variants. And "-w" which means (for now) both --ignore-space-at-sol and --ignore-space-at-eol. Problem: diffs using --ignore-space-at-sol don't indent any more. to be solved. ... (check-in: 6392c032ce user: jan.nijtmans tags: diff-eolws)
10:28
Wrong parameter type: should be 64 bits otherwise the diffFlags parameter cannot hold all possible bits. ... (check-in: d3f69bd48e user: jan.nijtmans tags: diff-eolws)
10:15
Rename --ignore-eolws back to --ignore-space-at-eol. Change last parameter of break_into_lines() to hold multiple flags. This opens the way to implement --ignore-all-space" and "--ignore-space-at-sol" as well. ... (check-in: 2dffb0e026 user: jan.nijtmans tags: diff-eolws)
09:31
Rename --ignore-space-at-eol to --ignore-eolws|-w, make it work with "fossil stash diff" as well, and make it the default with "fossil diff --tk". Remark: renaming probably was a bad idea, and "-w" should correspond with git's "--ignore-all-space". This would suggest implementing a "--ignore-space-at-sol" options as well, even though I doubt anyone would use that. ... (check-in: 31d25923bd user: jan.nijtmans tags: diff-eolws)
08:22
Try to fix it more better so it'll work with CLI diffs. Add --ignore-space-at-eol option (name taken from Git) to diff cmd. ... (check-in: 554607d35b user: joel tags: diff-eolws)
06:44
Fix diffs that use the DIFF_IGNORE_EOLWS flag. Add a message for diffs that involve only EOL whitespace changes. ... (check-in: 8f885df209 user: joel tags: diff-eolws)
2014-02-28
20:00
re-generate other makefiles ... (check-in: d3b2dabaa5 user: jan.nijtmans tags: trunk)
19:31
Back out [99dca38314] because it doesn't work on an Ubuntu->windows cross-compile. The only solution is to dirty-up the SQLite shell.c code. ... (check-in: 3d7eaeda86 user: drh tags: trunk)
17:42
Refresh the generated makefiles. ... (check-in: 9b3aa6e940 user: mistachkin tags: trunk)
17:42
Fix harmless compiler warning. ... (check-in: fade0558f3 user: mistachkin tags: trunk)
15:46
Fix to check-in [81162e791f] so that it does not require non-standard modifications to the SQLite "shell.c" source file. Sorry, but this doesn't work! Compiling this with Makefile.mingw.mistachkin gives: wbld/shell.o:shell.c:(.text+0x3463): undefined reference to `__imp_win32_access' wbld/shell.o:shell.c:(.text+0x59ac): undefined reference to `__imp_win32_access' /usr/lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld: wbld/shell.o: bad reloc address 0x0 in section `.data' collect2: error: ld returned 1 exit status win/Makefile.mingw.mistachkin:698: recipe for target 'fossil.exe' failed ... (check-in: 99dca38314 user: drh tags: trunk)
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. ... (check-in: 95f004b1c5 user: jan.nijtmans tags: trunk)
10:34
Remove unnecessary spaces at end-of-lines. No change in functionality. ... (check-in: 3df526ca41 user: jan.nijtmans tags: trunk)
08:53
Fix use of UTF-8 repository filename in "fossil sqlite3" command. (Requires minor change in SQLite's shell.c) ... (check-in: 81162e791f user: jan.nijtmans tags: trunk)
08:08
Fix compilation with Makefile.msc (and Makefile.mingw.mistachkin). Thanks to Ryan Noll for reporting this. ... (check-in: af995cf7ea user: jan.nijtmans tags: trunk)
2014-02-27
23:27
Add the "test-file-copy" command for testing the file_copy() procedure. ... (check-in: 190353e90d user: drh tags: trunk)
23:20
Fix the file_copy() procedure so that it automatically creates directories leading up to the destination file. ... (check-in: f991688730 user: drh tags: trunk)
19:38
minor pedantic cleanup to my last commit. it was just bugging me. ... (check-in: 59e26ebe94 user: stephan tags: trunk)
18:34
When using "fossil test-diff" with -y or --tk, show the names of both input files above their respective columns. ... (check-in: 1e0e0753f6 user: drh tags: trunk)
17:51
Add a shebang and an introductory comment to the script generated by the SaveAs button in the graphical diff. Update the change log to mention the SaveAs button. ... (check-in: 8f65d49c25 user: drh tags: trunk)
17:24
updated the changelog. ... (check-in: 45fc909a30 user: stephan tags: trunk)
17:09
added glob=pattern option to /fileage, per ML request. ... (check-in: b26e9c8799 user: stephan tags: trunk)
16:40
Make the graphical-diff "SaveAs" output a little more readable by putting each line of the raw diff source on a separate source line. ... (check-in: 9dca00425e user: drh tags: trunk)
16:21
Add "Quit" and "Save As.." buttons to the "diff --tk" command. ... (check-in: 29d80dd2f5 user: drh tags: trunk)
15:40
Merge in latest fixes/development from trunk. ... (check-in: 1fb468edf7 user: andybradford tags: http-auth)
15:12
Improvements to the handling of USE_SYSTEM_SQLITE in shell.c. ... (check-in: a526d71968 user: drh tags: trunk)
15:05
Update the built-in SQLite the latest pre-3.8.4 trunk version. Modify the way the "shell.c" source file is used so that it can be imported directly from the SQLite source tree without having to be edited. ... (check-in: c92a3dda8c user: drh tags: trunk)
14:21
Make the home-page "Documentation Index" link show the Primary Documents and not jump to the Permuted Index. ... (check-in: 735d953fa2 user: drh tags: trunk)
2014-02-26
14:06
Cherry-pick [http://www.sqlite.org/src/info/9c2e7612cd|9c2e7612cd]: In the command-line shell for CSV import, if the lines are \r\n terminated and the last field is blank, make sure an empty string and not a "\r" string is imported. ... (check-in: 60fd422275 user: jan.nijtmans tags: trunk)
10:42
Add support for extended UNC paths as well, and add Windows/Cygwin-specific test-cases for it. ... (Closed-Leaf check-in: ebb42b530e user: jan.nijtmans tags: extended-path-prefix)
09:02
merge trunk ... (Closed-Leaf check-in: 645d57613d user: jan.nijtmans tags: mingw4x)
08:58
Cherry-pick [http://www.sqlite.org/src/info/4043d87979|4043d87979], [http://www.sqlite.org/src/info/953cdd6ada|953cdd6ada] and [http://www.sqlite.org/src/info/23001a85cd|23001a85cd]: Ensure that _FILE_OFFSET_BITS and related macros are defined before any #include, for QNX. Meant for testing this change in SQLite in combination with the mingw4x fixes: [http://www.sqlite.org/src/timeline?r=mingw4x] ... (check-in: 782c3bd265 user: jan.nijtmans tags: trunk)
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. ... (check-in: ce4afc891c user: jan.nijtmans tags: extended-path-prefix)
2014-02-24
18:38
Documented the 'l' F-card permission and added a minor clarification regarding F-card UUID values for removed files. ... (check-in: 007c32bdfd user: stephan tags: trunk)
10:56
Speedup "fossil extras" and other commands which traverse the local filesystem. See: [http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg14697.html]. Thanks to Samuel Debionne for the suggestion. ... (check-in: 3fbdaa243d user: jan.nijtmans tags: trunk)
10:22
Same optimization in "fossil reconstruct" ... (Closed-Leaf check-in: e1bcc99da3 user: jan.nijtmans tags: use-d-type)
10:14
If pEntry->d_type==DT_LNK, then it could be a link to a directory or to a file, so handle that the same as DT_UNKNOWN. ... (check-in: eb2dc8faac user: jan.nijtmans tags: use-d-type)
2014-02-23
05:15
Fix reverting the combination of a renamed file and an added file that uses the renamed file's original filename. (This previously failed on a UNIQUE constraint.) ... (check-in: bd0b09e50b user: joel tags: trunk)
04:56
Verify revert output in revert tests. ... (check-in: 3949c9a33e user: joel tags: trunk)
02:14
Refactor revert command SQL slightly. ... (check-in: e66a12ec4b user: joel tags: trunk)
2014-02-22
05:31
Add some utility functions to tester.tcl to reduce boilerplate code in certain tests. ... (check-in: 23d3113bb1 user: joel tags: trunk)
2014-02-21
15:44
If fossil is compiled using "--disable-internal-sqlite" for Cygwin, the additional call to fossil_utf8_to_filename() is not needed any more: SQLite 3.8.3.1 for Cygwin can already handle win32 paths as well as cygwin paths. ... (check-in: c7c510e3b9 user: jan.nijtmans tags: trunk)
14:46
merge trunk ... (check-in: f93b4b4db4 user: jan.nijtmans tags: cleanX)
04:59
Keep track of versionable and text-area based settings using discrete fields of the stControlSettings structure. ... (check-in: 9b2d565931 user: mistachkin tags: trunk)
2014-02-20
15:19
(experiment) Use d_type field of dirent structure for speedup. ... (check-in: 0c7834c77b user: jan.nijtmans tags: use-d-type)
10:01
Fix [a56db55924]: Crash on STASH DIFF command ... (check-in: 1c39f113d1 user: jan.nijtmans tags: trunk)
09:42
Unnecessary blob_zero() calls: the following prompt_user() call already does a blob_zero() call internally. ... (check-in: 14768c24e5 user: jan.nijtmans tags: trunk)