Fossil

Timeline
Login

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

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

2014-03-31
18:57
[7cb29889ca] Closed-Leaf: Merge trunk.. including use of the urlData object the global "g" variable which fix byte alignment problem.. (user: mgagnon, tags: fix-cat-dash-R)
17:31
[bcae843a3f] Fixed json.c for g.url changes which could not have been caught by search/replace b/c they are macro-generated. (user: stephan, tags: trunk)
16:48
[5fdad9bd8c] 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. (user: drh, tags: trunk)
13:02
[42e66c1a17] Use full-length SHA1 hashes on the "ambiguous" webpage. (user: drh, tags: trunk)
12:59
[07e93f3854] Add missing db_finalize() statements. (user: drh, tags: trunk)
10:30
[b0d9468bff] Use long UUID's in more hyperlinks, without affecting UI display. (user: jan.nijtmans, tags: trunk)
2014-03-29
09:03
[c94df7244a] s/free()/fossil_free()/, for consistency. (user: stephan, tags: trunk)
2014-03-28
17:45
[045975f6f7] Re-added a short doc snippet accidentally cut out by [ec03c3149a]. (user: stephan, tags: trunk)
08:18
[ec03c3149a] Use full UUID's in more hyperlinks, e.g. regarding attachments. Remove unused function. (user: jan.nijtmans, tags: trunk)
02:28
[7afbb70310] Fix inconsistent naming between the 'fossil extras' and 'fossil all extra' commands. Add the --showfile option to the 'fossil all' command. (user: mistachkin, tags: trunk)
2014-03-27
10:22
[cf0b0e5063] Update to SQLite 3.8.4.2 (user: jan.nijtmans, tags: trunk)
10:11
[22d7996f8c] Fix (not so harmless) gcc compiler warning. (user: jan.nijtmans, tags: trunk)
09:36
[7695a718be] 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 ""'. (user: jan.nijtmans, tags: cleanX)
09:06
[a40d3f90eb] merge trunk (user: jan.nijtmans, tags: cleanX)
2014-03-26
21:54
[dc10f8d74c] 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...) (user: mgagnon, tags: fix-cat-dash-R)
11:58
[f46482a905] 3 more "full UUID" cases (user: jan.nijtmans, tags: trunk)
11:03
[a16236e70d] Use full UUID's in hyperlinks (user: jan.nijtmans, tags: trunk)
2014-03-24
16:30
[4adcd4f4f5] Added some docs for the name/uuid params for /zip. (user: stephan, tags: trunk)
2014-03-23
17:15
[1d54c02400] merge cleanX (user: jan.nijtmans, tags: cleanX-no-clean-glob)
17:14
[7ba06f150c] Added some text to the /tar help, per ML suggestion. (user: stephan, tags: trunk)
16:13
[b0b723fbff] 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) (user: jan.nijtmans, tags: cleanX)
10:11
[a5c85348c6] Make "fossil clean -x" less dangerous by respecting the "keep-glob" setting. Fix a few historical merge errors (user: jan.nijtmans, tags: cleanX)
09:42
[d7f04ea46f] merge trunk (user: jan.nijtmans, tags: cleanX)
2014-03-22
11:33
[684eb478e7] Fix the SCGI processing so that it works with Nginx. (user: drh, tags: trunk)
08:04
[e753ce8310] Add --strip-trailing-cr option to [/help?cmd=diff|fossil (g)diff] and [/help?cmd=stash|fossil stash diff]. Make option -w|--ignore-all-space (for [/help?cmd=annotate|fossil annotate], [/help?cmd=blame|fossil blame], [/help?cmd=diff|fossil (g)diff], [/help?cmd=stash|fossil stash diff]) work the same as its "gnu diff" counterpart. (user: jan.nijtmans, tags: trunk)
2014-03-21
12:12
[9b7298b74f] Remove left-over half-a-sentence (user: jan.nijtmans, tags: trunk)
10:23
[0829160c5f] fixed a small lie. (user: stephan, tags: trunk)
10:20
[3f8b6efa2f] More update/checkout doc additions. (user: stephan, tags: trunk)
10:08
[bfdabaecc8] Cherry-pick SQLite [http://www.sqlite.org/src/info/01944c53f5|01944c53f5]: Fix the EXPLAIN indenter in the command-line shell to correctly handle NextIfOpen and PrevIfOpen opcodes. (user: jan.nijtmans, tags: trunk)
09:06
[4f4b15aba8] 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. (user: jan.nijtmans, tags: trunk)
08:49
[cd4301ce44] Added a brief clarification of using update/checkout to switch versions, based on ML thread. (user: stephan, tags: trunk)
2014-03-19
12:33
[d35d075328] 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). (user: jan.nijtmans, tags: trunk)
2014-03-18
15:59
[e35dbea1e3] Since file_simplify_name() already was modified to handle the extended path prefix correctly [95f004b1c535c545], this special Cygwin handling is no longer necessary. (user: jan.nijtmans, tags: trunk)
14:52
[dfca123729] remove unused variable (user: jan.nijtmans, tags: trunk)
08:39
[5efa7d2e62] Closed-Leaf: merge trunk (user: jan.nijtmans, tags: strip-trailing-cr)
2014-03-17
21:05
[7413229200] Added a pedantic catch for a corner case which never happens (for porting's sake). (user: stephan, tags: trunk)
14:15
[36a8d91d0c] skip some tests when running inside of an open checkout. (user: jan.nijtmans, tags: trunk)
13:12
[e6309e051b] Eliminate DIFF_INLINE flag (which is 0 anyway, no longer necessary). Strip end-of-line CR's in json_wiki_diff page as well. (user: jan.nijtmans, tags: trunk)
12:47
[597d1101b4] Make stripping of end-of-line CR work correctly now (REALLY!) (user: jan.nijtmans, tags: trunk)
11:46
[dc981860ee] Update changes.wiki (-b|--ignore-space-change not implemented, I doubt anyone would need this) (user: jan.nijtmans, tags: strip-trailing-cr)
11:34
[a7a61cdd6f] Make -w|--ignore-all-space option work the same as the GNU diff option with the same name. (user: jan.nijtmans, tags: strip-trailing-cr)
2014-03-16
17:06
[6bbcfec27b] Removed some report format help text which refers to non-/no-longer existent SQL functions wiki() and tkt(). (user: stephan, tags: trunk)
10:33
[1472cd811f] 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. (user: jan.nijtmans, tags: trunk)
10:17
[0652717eb0] 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. (user: stephan, tags: trunk)
09:06
[d6bd38fa5c] Added missing int return. Reported on ML. (user: stephan, tags: trunk)
2014-03-15
21:08
[0e8f0bc317] 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. (user: andybradford, tags: trunk)
15:03
[d8586b5670] 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". (user: drh, tags: trunk)
14:35
[60019ce7d9] Fix the "artifact" URL to render markdown text automatically. (user: drh, tags: trunk)
2014-03-14
20:49
[e2e8531ba7] Fix the display of unified-diff lines on web pages when the files being compared have windows-style line endings. (user: drh, tags: trunk)
16:20
[625297ab91] 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). (user: jan.nijtmans, tags: trunk)
13:57
[5cdc39dc2d] 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. (user: drh, tags: trunk)
12:30
[933904fe70] Enhance the "whatis" command so that if given an ambiguous SHA1 hash prefix it shows "what is" all possible values for that hash prefix. (user: drh, tags: trunk)
09:42
[a2400a0192] Minor help text improvement suggested on ML. (user: stephan, tags: trunk)
2014-03-13
21:06
[d88d1bc0f6] merge trunk (user: jan.nijtmans, tags: win32-longpath)
14:32
[a915aa03b3] Merge trunk. Split same_dline() in 3 different functions. Ongoing. (user: jan.nijtmans, tags: strip-trailing-cr)
13:17
[afcdc6ce81] Backout [e6d3e878a9]: Clicking on timeline nodes for displaying a diff doesn't work any more with this change (Sorry, Stefan!). (user: jan.nijtmans, tags: trunk)
12:55
[2e45fb7b39] merge trunk (ongoing) (user: jan.nijtmans, tags: strip-trailing-cr)
12:23
[5d536c51b6] Add support for HTTP Basic Authentication to clone and sync. (user: drh, tags: trunk)
11:58
[db052aa4c6] Fix the stash so that it remembers added files and readds them when the stash is applied. (user: drh, tags: trunk)
2014-03-12
04:12
[ef27b0059a] Closed-Leaf: Accidentally removed a newline with vi's shift-j. No change in functionality. (user: andybradford, tags: stash_add)
04:08
[c2d748ae2c] Make stash_apply handle new files and put them in an ADDED state. (user: andybradford, tags: stash_add)
2014-03-11
23:34
[1c9e023382] Always define variables at block start (user: jan.nijtmans, tags: trunk)
23:23
[79c90ac4a4] 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) (user: jan.nijtmans, tags: trunk)
22:06
[b93b3e8f98] Update to SQLite 3.8.4.1 (user: jan.nijtmans, tags: trunk)
21:05
[e6d3e878a9] 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). (user: stephan, tags: trunk)
05:05
[75406df207] Closed-Leaf: Merge in latest load average enhancement (very nice), and other cleanup. (user: andybradford, tags: http-auth)
2014-03-10
21:42
[fd223e5ec7] Update the custom MinGW makefile. (user: mistachkin, tags: trunk)
20:49
[b1aad7a071] Update SQLITE_SOURCE_ID to EXACT 3.8.4 version; char() bugfix was still missing (user: jan.nijtmans, tags: trunk)
08:49
[ac3fcebb19] 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. (user: jan.nijtmans, tags: trunk)
08:32
[bae235bf1a] Cygwin doesn't have getloadavg() (user: jan.nijtmans, tags: trunk)
00:22
[60774eb33f] Fix a busted hyperlink in the previous change to server.wiki. (user: drh, tags: trunk)
2014-03-09
23:43
[936fdaeef7] Add documentation (at [/doc/trunk/www/server.wiki#loadmgmt]) on how to use the new load-average limiter feature. (user: drh, tags: trunk)
23:04
[1847552c92] 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. (user: drh, tags: trunk)
22:33
[1707129a87] If getloadavg() fails, return 0.0 as function result in stead of a random number (user: jan.nijtmans, tags: trunk)
16:25
[d0fa157840] 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. (user: drh, tags: trunk)
00:19
[117a0f6952] Show the repository name on the test_env webpage. (user: drh, tags: trunk)
00:15
[5e26a1b9b2] Add the ability to restrict CPU-intensive web pages when the server load average gets too high. This feature is turned off by default. (user: drh, tags: trunk)
2014-03-08
16:14
[840b762206] Clean up and standardize the handling of user "nobody" and the g.zLogin global variable. (user: drh, tags: trunk)
04:05
[68cc26c1ea] Turn mtime-changes off in repo_init test proc. (user: joel, tags: trunk)
2014-03-07
20:14
[d38f0ce759] 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. (user: jan.nijtmans, tags: trunk)
19:45
[0bc584fe02] Since Annotation flags and DIFF flags are so closely related, allow then to reside in a single variable (user: jan.nijtmans, tags: trunk)
16:48
[dd47a123e1] Convert utf-16 files back to intended encoding. (user: jan.nijtmans, tags: trunk)
15:49
[28234db8bc] 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. (user: jan.nijtmans, tags: trunk)
14:58
[33dc7f31c1] 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. (user: drh, tags: trunk)
14:38
[c0d1ed927e] Implement -b|--ignore-space-change. Doesn't work right yet (needs better hash function)! (user: jan.nijtmans, tags: strip-trailing-cr)
13:11
[da205cf44b] 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. (user: jan.nijtmans, tags: strip-trailing-cr)
11:42
[46459fd922] Make annotation work with UTF-16 files. Remove some unnecessary end-of-line spaces in (UTF-8 and UTF-16) text files. (user: jan.nijtmans, tags: trunk)
11:29
[4514910a5f] 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. (user: jan.nijtmans, tags: strip-trailing-cr)
11:02
[bb3388345d] Fix -w|--ignore-all-space option such that it does exactly the same as GNU diff's option with the same name. (user: jan.nijtmans, tags: strip-trailing-cr)
09:01
[d9e79f685b] 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) (user: jan.nijtmans, tags: strip-trailing-cr)
2014-03-06
15:02
[f00167e4e1] Update the built-in SQLite to include the latest last-minute patches for version 3.8.4. (user: drh, tags: trunk)
14:54
[d6259b7582] Bring up-to-date with latest features/fixes from trunk. (user: andybradford, tags: http-auth)
09:42
[e68f528bfa] 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. (user: jan.nijtmans, tags: trunk)
08:50
[fb573e7203] Add "fossil praise" which is exactly the same as "fossil blame". As in subversion. (user: jan.nijtmans, tags: trunk)
08:34
[866251e878] Merge in new annotate/blame whitespace buttons with updates to changelog. (user: andybradford, tags: trunk)
2014-03-05
22:54
[4e6cfaf8f8] Implement --strip-trailing-cr option (user: jan.nijtmans, tags: strip-trailing-cr)
22:13
[e8f422283a] Closed-Leaf: merge trunk (user: jan.nijtmans, tags: diff-eolws)
22:06
[466f8de3c2] Flag DIFF_INLINE was 0 and that should stay so (user: jan.nijtmans, tags: trunk)
21:48
[e15c42390b] remember "log" option with "Ignore whitespace" button. (user: jan.nijtmans, tags: diff-eolws)
21:43
[f4d98b2b9e] Merge trunk. Simplify handling of "w" option a little. (user: jan.nijtmans, tags: diff-eolws)
21:29
[e663d5e330] 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. (user: jan.nijtmans, tags: trunk)
19:07
[f0773f6370] Update the built-in SQLite to 3.8.4 beta. (user: drh, tags: trunk)
15:11
[91add0e03d] merge diff-eolws (user: jan.nijtmans, tags: diff-eolws)
11:59
[c38fbe235e] 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. (user: jan.nijtmans, tags: diff-eolws)
08:43
[bcb22ce1b0] Merge trunk. Fix indentation in annotation/blame commands/pages, which was broken since [28b39cc516]. Changelog entry. (user: jan.nijtmans, tags: diff-eolws)
06:24
[904ab4bbb8] Cherry-pick from [f1e99a5a408c]: minor annotate/blame url rendering bug. (user: andybradford, tags: trunk)
06:14
[f1e99a5a40] Add button to annotate/blame pages. Also minor bug fix for annotate/blame pages url rendering. (user: andybradford, tags: diff-eolws)
02:39
[0ec153a2a7] Add "w" URL parameter and buttons to /fdiff pages. (user: joel, tags: diff-eolws)
00:42
[756c187590] Capitalize button labels for consistency with other pages. Change "Show Whitespace Differences" to "Show Whitespace Changes". (user: joel, tags: diff-eolws)
00:20
[0c670599bf] Fix up and simplify /ci page button generation code. (user: joel, tags: diff-eolws)
2014-03-04
14:36
[6215d08303] 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. (user: drh, tags: trunk)
14:14
[eb6935df7f] Add "ignore whitespace" button to ci page. (user: jan.nijtmans, tags: diff-eolws)
13:26
[56c7561e2b] Add "Ignore Whitespace" button to vdiff page. (user: jan.nijtmans, tags: diff-eolws)
08:21
[28b39cc516] 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). (user: jan.nijtmans, tags: diff-eolws)
04:16
[8247784beb] 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. (user: drh, tags: trunk)
00:42
[d4fea96ad8] Show "error" messages in Tk diff. (user: joel, tags: diff-eolws)
2014-03-03
23:21
[13c1fa7626] Closed-Leaf: 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. (user: drh, tags: beaglebone-problem)
15:02
[b8e61d24f8] merge trunk (user: jan.nijtmans, tags: diff-eolws)
15:00
[7a0f4af68e] 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. (user: jan.nijtmans, tags: trunk)
12:02
[c0b42f23a3] Adapt some comments. (user: jan.nijtmans, tags: diff-eolws)
11:55
[7763b2e64c] Make option --ignore-space-at-sol work correctly with side-by-side diff as well. (user: jan.nijtmans, tags: diff-eolws)
11:37
[65397b575e] Oops (user: jan.nijtmans, tags: diff-eolws)
11:17
[2faa1a272b] Fix indenting behavior of --ignore-space-at-sol option (user: jan.nijtmans, tags: diff-eolws)
10:50
[6392c032ce] 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. (user: jan.nijtmans, tags: diff-eolws)
10:28
[d3f69bd48e] Wrong parameter type: should be 64 bits otherwise the diffFlags parameter cannot hold all possible bits. (user: jan.nijtmans, tags: diff-eolws)
10:15
[2dffb0e026] 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. (user: jan.nijtmans, tags: diff-eolws)
09:31
[31d25923bd] 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. (user: jan.nijtmans, tags: diff-eolws)
08:22
[554607d35b] 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. (user: joel, tags: diff-eolws)
06:44
[8f885df209] Fix diffs that use the DIFF_IGNORE_EOLWS flag. Add a message for diffs that involve only EOL whitespace changes. (user: joel, tags: diff-eolws)
2014-02-28
20:00
[d3b2dabaa5] re-generate other makefiles (user: jan.nijtmans, tags: trunk)
19:31
[3d7eaeda86] 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. (user: drh, tags: trunk)
17:42
[9b3aa6e940] Refresh the generated makefiles. (user: mistachkin, tags: trunk)
17:42
[fade0558f3] Fix harmless compiler warning. (user: mistachkin, tags: trunk)
15:46
[99dca38314] 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 (user: drh, tags: trunk)
13:46
[95f004b1c5] Handle win32 extended path prefix everywhere: Just strip it in the function file_simplify_name(), and only add it back when needed (just before feeding it to a win32 function when >260 chars). Includes additional test-cases. (user: jan.nijtmans, tags: trunk)