Fossil

Timeline
Login

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

135 check-ins using file src/file.c version 0c3c2d08

2014-03-31
18:57
Merge trunk..    including use of the urlData object the global "g" variable which fix byte alignment problem.. Closed-Leaf check-in: 7cb29889 user: mgagnon tags: fix-cat-dash-R
17:31
Fixed json.c for g.url changes which could not have been caught by search/replace b/c they are macro-generated. check-in: bcae843a user: stephan tags: trunk
16:48
Get rid of the GLOBAL_URL() kludge. Change the global "g" variable to contain an instance of the UrlData object instead of individual fields of the UrlData object. check-in: 5fdad9bd user: drh tags: trunk
13:02
Use full-length SHA1 hashes on the "ambiguous" webpage. check-in: 42e66c1a user: drh tags: trunk
12:59
Add missing db_finalize() statements. check-in: 07e93f38 user: drh tags: trunk
10:30
Use long UUID's in more hyperlinks, without affecting UI display. check-in: b0d9468b user: jan.nijtmans tags: trunk
2014-03-29
09:03
s/free()/fossil_free()/, for consistency. check-in: c94df724 user: stephan tags: trunk
2014-03-28
17:45
Re-added a short doc snippet accidentally cut out by [ec03c3149a]. check-in: 045975f6 user: stephan tags: trunk
08:18
Use full UUID's in more hyperlinks, e.g. regarding attachments. Remove unused function. check-in: ec03c314 user: jan.nijtmans tags: trunk
02:28
Fix inconsistent naming between the 'fossil extras' and 'fossil all extra' commands. Add the --showfile option to the 'fossil all' command. check-in: 7afbb703 user: mistachkin tags: trunk
2014-03-27
10:22
Update to SQLite 3.8.4.2 check-in: cf0b0e50 user: jan.nijtmans tags: trunk
10:11
Fix (not so harmless) gcc compiler warning. check-in: 22d7996f user: jan.nijtmans tags: trunk
09:36
With 'fossil clean -x', prompt for any files not matching any of --ignore/--clean/--keep. This is actually what gives 'fossil clean -x' added value above 'fossil clean --ignore ""'. check-in: 7695a718 user: jan.nijtmans tags: cleanX
09:06
merge trunk check-in: a40d3f90 user: jan.nijtmans tags: cleanX
2014-03-26
21:54
Fix problem when using "fossil cat" when specifying repository via command line argument (with -R) (reported on ML)    Problem was the use of file_tree_name() which call db_must_be_within_tree().    Add a variable in the Global structure 'g' to remember if -R|--repository argument was specified and don't call file_tree_name() if it's the case (since user expect file relative to repository.    (Pending review...) check-in: dc10f8d7 user: mgagnon tags: fix-cat-dash-R
11:58
3 more "full UUID" cases check-in: f46482a9 user: jan.nijtmans tags: trunk
11:03
Use full UUID's in hyperlinks check-in: a16236e7 user: jan.nijtmans tags: trunk
2014-03-24
16:30
Added some docs for the name/uuid params for /zip. check-in: 4adcd4f4 user: stephan tags: trunk
2014-03-23
17:15
merge cleanX check-in: 1d54c024 user: jan.nijtmans tags: cleanX-no-clean-glob
17:14
Added some text to the /tar help, per ML suggestion. check-in: 7ba06f15 user: stephan tags: trunk
16:13
Remove some dead code (matchKeep is always false) and improve efficiency (only do glob_match() when extremeFlags is set, otherwise we already know it will be false) check-in: b0b723fb user: jan.nijtmans tags: cleanX
10:11
Make "fossil clean -x" less dangerous by respecting the "keep-glob" setting. Fix a few historical merge errors check-in: a5c85348 user: jan.nijtmans tags: cleanX
09:42
merge trunk check-in: d7f04ea4 user: jan.nijtmans tags: cleanX
2014-03-22
11:33
Fix the SCGI processing so that it works with Nginx. check-in: 684eb478 user: drh tags: trunk
08:04
Add --strip-trailing-cr option to fossil (g)diff and fossil stash diff. Make option -w|--ignore-all-space (for fossil annotate, fossil blame, fossil (g)diff, fossil stash diff) work the same as its "gnu diff" counterpart. check-in: e753ce83 user: jan.nijtmans tags: trunk
2014-03-21
12:12
Remove left-over half-a-sentence check-in: 9b7298b7 user: jan.nijtmans tags: trunk
10:23
fixed a small lie. check-in: 0829160c user: stephan tags: trunk
10:20
More update/checkout doc additions. check-in: 3f8b6efa user: stephan tags: trunk
10:08
Cherry-pick SQLite 01944c53f5: Fix the EXPLAIN indenter in the command-line shell to correctly handle NextIfOpen and PrevIfOpen opcodes. check-in: bfdabaec user: jan.nijtmans tags: trunk
09:06
On Cygwin, extend the "win32" max path length to 4096 in stead of reducing the "win32-longpath" max path length to 4096. (why didn't I think of that earlier....). One less "#if defined(__CYGWIN__)" in the code, because it eliminates the need for the "win32-longpath" VFS on Cygwin altogether. check-in: 4f4b15ab user: jan.nijtmans tags: trunk
08:49
Added a brief clarification of using update/checkout to switch versions, based on ML thread. check-in: cd4301ce user: stephan tags: trunk
2014-03-19
12:33
Workaround for failing mmap on Cygwin, actually an SQLite problem reported here: http://osdir.com/ml/sqlite-users/2014-03/msg00341.html. Not fixed yet on SQLite trunk (3th segment of suggested patch is not applied yet). check-in: d35d0753 user: jan.nijtmans tags: trunk
2014-03-18
15:59
Since file_simplify_name() already was modified to handle the extended path prefix correctly [95f004b1c535c545], this special Cygwin handling is no longer necessary. check-in: e35dbea1 user: jan.nijtmans tags: trunk
14:52
remove unused variable check-in: dfca1237 user: jan.nijtmans tags: trunk
08:39
merge trunk Closed-Leaf check-in: 5efa7d2e user: jan.nijtmans tags: strip-trailing-cr
2014-03-17
21:05
Added a pedantic catch for a corner case which never happens (for porting's sake). check-in: 74132292 user: stephan tags: trunk
14:15
skip some tests when running inside of an open checkout. check-in: 36a8d91d user: jan.nijtmans tags: trunk
13:12
Eliminate DIFF_INLINE flag (which is 0 anyway, no longer necessary). Strip end-of-line CR's in json_wiki_diff page as well. check-in: e6309e05 user: jan.nijtmans tags: trunk
12:47
Make stripping of end-of-line CR work correctly now (REALLY!) check-in: 597d1101 user: jan.nijtmans tags: trunk
11:46
Update changes.wiki (-b|--ignore-space-change not implemented, I doubt anyone would need this) check-in: dc981860 user: jan.nijtmans tags: strip-trailing-cr
11:34
Make -w|--ignore-all-space option work the same as the GNU diff option with the same name. check-in: a7a61cdd user: jan.nijtmans tags: strip-trailing-cr
2014-03-16
17:06
Removed some report format help text which refers to non-/no-longer existent SQL functions wiki() and tkt(). check-in: 6bbcfec2 user: stephan tags: trunk
10:33
Fix the display of all web-pages which contain annotation- or diff-like sections for the case windows-style line endings are used: The CR's should be stripped in those cases. check-in: 1472cd81 user: jan.nijtmans tags: trunk
10:17
Restructured the wiki format parser's ATTR_ and AMSK_ macros to enums to simplify extension. Tried to add data-* attribute support but assumptions about attributes in the parser make it not worth the effort. check-in: 0652717e user: stephan tags: trunk
09:06
Added missing int return. Reported on ML. check-in: d6bd38fa user: stephan tags: trunk
2014-03-15
21:08
For SSH URLs don't explicitly kill SSH with SIGINT, but let close kill process. Observed as a "Killed by signal 2." error on FreeBSD. check-in: 0e8f0bc3 user: andybradford tags: trunk
15:03
If a wiki page begins with <title> then render that as <h1 align='center'> when rendering the whole page. For the "doc" URI, continue to extract the title and use it as the overall page title, as we have always done. This only effects wiki rendered in pages like "artifact". check-in: d8586b56 user: drh tags: trunk
14:35
Fix the "artifact" URL to render markdown text automatically. check-in: 60019ce7 user: drh tags: trunk
2014-03-14
20:49
Fix the display of unified-diff lines on web pages when the files being compared have windows-style line endings. check-in: e2e8531b user: drh tags: trunk
16:20
When compiled on Cygwin using --disable-internal-sqlite, this special Cygwin handling is no longer necessary (SQLite 3.8.4.1 Cygwin build already handles that). check-in: 625297ab user: jan.nijtmans tags: trunk
13:57
Enhance the "whatis" command to report on attachments and to include raw tags so that cluster artifacts are identified. Add the "test-whatis-all" command to run "whatis" on every artifact in the repository. check-in: 5cdc39dc user: drh tags: trunk
12:30
Enhance the "whatis" command so that if given an ambiguous SHA1 hash prefix it shows "what is" all possible values for that hash prefix. check-in: 933904fe user: drh tags: trunk
09:42
Minor help text improvement suggested on ML. check-in: a2400a01 user: stephan tags: trunk
2014-03-13
21:06
merge trunk check-in: d88d1bc0 user: jan.nijtmans tags: win32-longpath
14:32
Merge trunk. Split same_dline() in 3 different functions. Ongoing. check-in: a915aa03 user: jan.nijtmans tags: strip-trailing-cr
13:17
Backout [e6d3e878a9]: Clicking on timeline nodes for displaying a diff doesn't work any more with this change (Sorry, Stefan!). check-in: afcdc6ce user: jan.nijtmans tags: trunk
12:55
merge trunk (ongoing) check-in: 2e45fb7b user: jan.nijtmans tags: strip-trailing-cr
12:23
Add support for HTTP Basic Authentication to clone and sync. check-in: 5d536c51 user: drh tags: trunk
11:58
Fix the stash so that it remembers added files and readds them when the stash is applied. check-in: db052aa4 user: drh tags: trunk
2014-03-12
04:12
Accidentally removed a newline with vi's shift-j. No change in functionality. Closed-Leaf check-in: ef27b005 user: andybradford tags: stash_add
04:08
Make stash_apply handle new files and put them in an ADDED state. check-in: c2d748ae user: andybradford tags: stash_add
2014-03-11
23:34
Always define variables at block start check-in: 1c9e0233 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: 79c90ac4 user: jan.nijtmans tags: trunk
22:06
Update to SQLite 3.8.4.1 check-in: b93b3e8f 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: e6d3e878 user: stephan tags: trunk
05:05
Merge in latest load average enhancement (very nice), and other cleanup. Closed-Leaf check-in: 75406df2 user: andybradford tags: http-auth
2014-03-10
21:42
Update the custom MinGW makefile. check-in: fd223e5e user: mistachkin tags: trunk
20:49
Update SQLITE_SOURCE_ID to EXACT 3.8.4 version; char() bugfix was still missing check-in: b1aad7a0 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: ac3fcebb user: jan.nijtmans tags: trunk
08:32
Cygwin doesn't have getloadavg() check-in: bae235bf user: jan.nijtmans tags: trunk
00:22
Fix a busted hyperlink in the previous change to server.wiki. check-in: 60774eb3 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: 936fdaee 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: 1847552c user: drh tags: trunk
22:33
If getloadavg() fails, return 0.0 as function result in stead of a random number check-in: 1707129a 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: d0fa1578 user: drh tags: trunk
00:19
Show the repository name on the test_env webpage. check-in: 117a0f69 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: 5e26a1b9 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: 840b7622 user: drh tags: trunk
04:05
Turn mtime-changes off in repo_init test proc. check-in: 68cc26c1 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: d38f0ce7 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: 0bc584fe user: jan.nijtmans tags: trunk
16:48
Convert utf-16 files back to intended encoding. check-in: dd47a123 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: 28234db8 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: 33dc7f31 user: drh tags: trunk
14:38
Implement -b|--ignore-space-change. Doesn't work right yet (needs better hash function)! check-in: c0d1ed92 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: da205cf4 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: 46459fd9 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: 4514910a 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: bb338834 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: d9e79f68 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: f00167e4 user: drh tags: trunk
14:54
Bring up-to-date with latest features/fixes from trunk. check-in: d6259b75 user: andybradford tags: http-auth
09:42
Cherrypick 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: e68f528b user: jan.nijtmans tags: trunk
08:50
Add "fossil praise" which is exactly the same as "fossil blame". As in subversion. check-in: fb573e72 user: jan.nijtmans tags: trunk
08:34
Merge in new annotate/blame whitespace buttons with updates to changelog. check-in: 866251e8 user: andybradford tags: trunk
2014-03-05
22:54
Implement --strip-trailing-cr option check-in: 4e6cfaf8 user: jan.nijtmans tags: strip-trailing-cr
22:13
merge trunk Closed-Leaf check-in: e8f42228 user: jan.nijtmans tags: diff-eolws
22:06
Flag DIFF_INLINE was 0 and that should stay so check-in: 466f8de3 user: jan.nijtmans tags: trunk
21:48
remember "log" option with "Ignore whitespace" button. check-in: e15c4239 user: jan.nijtmans tags: diff-eolws
21:43
Merge trunk. Simplify handling of "w" option a little. check-in: f4d98b2b 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: e663d5e3 user: jan.nijtmans tags: trunk
19:07
Update the built-in SQLite to 3.8.4 beta. check-in: f0773f63 user: drh tags: trunk
15:11
merge diff-eolws check-in: 91add0e0 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: c38fbe23 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: bcb22ce1 user: jan.nijtmans tags: diff-eolws
06:24
Cherry-pick from [f1e99a5a408c]: minor annotate/blame url rendering bug. check-in: 904ab4bb user: andybradford tags: trunk
06:14
Add button to annotate/blame pages. Also minor bug fix for annotate/blame pages url rendering. check-in: f1e99a5a user: andybradford tags: diff-eolws
02:39
Add "w" URL parameter and buttons to /fdiff pages. check-in: 0ec153a2 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: 756c1875 user: joel tags: diff-eolws
00:20
Fix up and simplify /ci page button generation code. check-in: 0c670599 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: 6215d083 user: drh tags: trunk
14:14
Add "ignore whitespace" button to ci page. check-in: eb6935df user: jan.nijtmans tags: diff-eolws
13:26
Add "Ignore Whitespace" button to vdiff page. check-in: 56c7561e 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: 28b39cc5 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: 8247784b user: drh tags: trunk
00:42
Show "error" messages in Tk diff. check-in: d4fea96a 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: 13c1fa76 user: drh tags: beaglebone-problem
15:02
merge trunk check-in: b8e61d24 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: 7a0f4af6 user: jan.nijtmans tags: trunk
12:02
Adapt some comments. check-in: c0b42f23 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: 7763b2e6 user: jan.nijtmans tags: diff-eolws
11:37
Oops check-in: 65397b57 user: jan.nijtmans tags: diff-eolws
11:17
Fix indenting behavior of --ignore-space-at-sol option check-in: 2faa1a27 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: 6392c032 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: d3f69bd4 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: 2dffb0e0 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: 31d25923 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: 554607d3 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: 8f885df2 user: joel tags: diff-eolws
2014-02-28
20:00
re-generate other makefiles check-in: d3b2daba 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: 3d7eaeda user: drh tags: trunk
17:42
Refresh the generated makefiles. check-in: 9b3aa6e9 user: mistachkin tags: trunk
17:42
Fix harmless compiler warning. check-in: fade0558 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: 99dca383 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: 95f004b1 user: jan.nijtmans tags: trunk