Fossil

Timeline
Login

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

50 most recent check-ins by user mgagnon

2018-02-16
14:39
Fix segfault when accessing the initial checkin directory on a fusefs mounted repository. This is on a branch because the Fix is on manifest_file_seek_base() function which is not only fuse-related. (Closed-Leaf check-in: 6831769d user: mgagnon tags: fix_fusefs_on_empty_checkin_crash)
2018-01-19
19:15
Remove call of "getuid()" added on previous commit because it is not available on windows. For the pledge() call, always allow "chown" for now, even if not running as root. (check-in: 6b41a7e8 user: mgagnon tags: trunk)
18:06
If running "fossil status" when pledge() is enabled, the "chown" promise needs to be added when running as root, otherwise fossil receive a SIGABRT and crash when attempting to call fchown(...) on creation of the .fossil-journal file. (check-in: 396513fa user: mgagnon tags: trunk)
2018-01-16
15:44
merge previous fork (check-in: dddad4f0 user: mgagnon tags: trunk)
15:41
Fix bad url on "Advanced"/"Basic" link of the timeline page.

The zLink argument of style_submenu_element() should be a literal "%s", otherwise, encoded url parameter value may contain "%" and get corrupt by the vmprintf() call inside.

Problem was happening when clicking on "Basic/Advanced" link on this page: http://www.fossil-scm.org/index.html/timeline?advm=1&chng=src/* (check-in: 3c2ef25d user: mgagnon tags: trunk)

2018-01-12
02:48
Add missing history of directory link on /dir page when "All" version is selected. (check-in: f77a929e user: mgagnon tags: trunk)
2017-07-10
14:37
test-markdown-render and test-wiki-render command don't require to be inside a checkout. (check-in: 1ba3c919 user: mgagnon tags: trunk)
2017-03-15
18:20
Merge latest trunk (Closed-Leaf check-in: ad9d418c user: mgagnon tags: dir_history_link)
2017-03-08
22:56
Remove a repeated "are" in hash-policy command help text. (check-in: 57765421 user: mgagnon tags: trunk)
2017-03-03
19:33
Improve stash diff commands when using external diff tool to make it behave a little bit more like the "fossil gdiff" command. (check-in: 2a47673a user: mgagnon tags: trunk)
19:29
merge trunk (Closed-Leaf check-in: 5e19d731 user: mgagnon tags: stash-gdiff-improvement)
14:31
Add gshow and gcat command to allow to use gdiff-command when diffing the stash against baseline. When using gdiff, call external tool directly with the file from the checkout, it's usefull when merging change manually using the external tool. (check-in: 06b16752 user: mgagnon tags: stash-gdiff-improvement)
2017-02-08
18:28
On /dir page, add a link named "[history]" that point to the timeline affecting only the files inside the current directory. Use the "chng=dirname/*" query parameter of the /timeline page)
TODO: Implement the same in Tree-View mode (could add the link beside each directory)
(check-in: c458c3f6 user: mgagnon tags: dir_history_link)
2017-02-03
15:13
On diff/gdiff command, override "diff-binary" setting when argument "--diff-binary off" command line option is specified, not only with "--diff-binary on". (check-in: f62c2470 user: mgagnon tags: trunk)
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) (Leaf check-in: 856ca01b user: mgagnon tags: gdiff-tmpfilename-prefix)

2016-10-28
22:51
merge fork. (check-in: cf2adc71 user: mgagnon tags: trunk)
22:45
Fix a C99-ism. (check-in: 61ec7124 user: mgagnon tags: trunk)
2016-06-07
01:26
Fix typo in test_markdown_render function name. (no functional change since the command name was okay). (check-in: c94b49ad user: mgagnon tags: trunk)
2016-06-06
21:06
Add test-markdown-render. Does the same as test-wiki-render, but for markdown syntax. (check-in: 67f5df3b user: mgagnon tags: trunk)
2015-10-24
14:10
Fix "json timeline" to don't show duplicate files in some chek-ins with merge. Same way CLI timeline was fix on [3c34db8d]. (check-in: 26d903de user: mgagnon tags: trunk)
2015-10-21
12:04
Backout changes from timeline_showfiles_fix branch which was attempting to fix discrepancy between CLI and web when listing modified files in checkins.

Make "fossil timeline -v" command behave like the web interface so the CLI timeline command get fixed instead of breaking the web interface. (check-in: 3c34db8d user: mgagnon tags: trunk)

2015-10-08
01:37
revert accidental line addition in comment header. (Closed-Leaf check-in: f8dbed8e user: mgagnon tags: timeline_showfiles_fix)
01:34
Fix /timeline?v=1 and /info page that were not showing all affected files for check-ins with 2 ancestors or more.

pending-review (check-in: 9f7a681d user: mgagnon tags: timeline_showfiles_fix)

2015-08-29
15:24
Merge fix from svn-import branch relative to svndump format version 3 handling. (check-in: 7febc318 user: mgagnon tags: trunk)
2015-05-12
10:42
Make addremove command to fail if unprocessed arguments (other than options) are specified. To avoid mis-use where a user could think he can specify a list of directory like with many other commands. (check-in: 975600dd user: mgagnon tags: trunk)
2015-03-20
04:35
Add a menu entry on /fdiff, /ci and /vdiff page to control the diff context (dc=<n>) query parameter.

(pending review) (Closed-Leaf check-in: eae6f32f user: mgagnon tags: diff-context-menu-entry)

2015-03-03
17:16
Use timelineDate class for the date div on finfo page, just like on timeline page to ensure the date doesn't wrap. (problem reported on ml) (check-in: 3dbe76fc user: mgagnon tags: trunk)
2015-02-25
17:19
Usage text only modifications: - Mention about --force. - Show that --git is optional (?--git?) - Add short option (-f for --force and -i for --incremental)

(No change to the code) (check-in: c2cdd0e3 user: mgagnon tags: svn-import)

14:51
Change import command to use --git and --svn options instead of "svn" and "git" sub-sub-command to stay compatible with before.

Make sure verify_all_options() fail with specifiying svn only option with --git. (check-in: 4d3bb24b user: mgagnon tags: svn-import)

13:54
Merge trunk.. (check-in: 7d0ce2b0 user: mgagnon tags: svn-import)
13:52
Integrate svn-import_no-svn-rev branch.. (check-in: 16923b5c user: mgagnon tags: svn-import)
2015-02-22
15:59
merge compiler fix for msvc.. (Closed-Leaf check-in: 44686ca1 user: mgagnon tags: svn-import_no-svn-rev)
15:31
Safer version of previous compiler warning fix.. (check-in: 936ebe67 user: mgagnon tags: svn-import_no-svn-rev)
15:17
Fix compiler warning... (check-in: 44011cd2 user: mgagnon tags: svn-import_no-svn-rev)
2015-02-16
13:50
Stay in sync with svn-import... (check-in: 04308c21 user: mgagnon tags: svn-import_no-svn-rev)
2015-02-15
19:34
Add the --no-svn-rev command line option to the "import svn" command that will skip the automatic tagging of every checkins with "svn-rev-nnn" tags.

Proposition for the svn-import branch.. (check-in: 3c24fede user: mgagnon tags: svn-import_no-svn-rev)

2014-12-06
14:24
In Makefile.mingw: Don't compile some zlib optimized assembler sources when compiled with FOSSIL_ENABLE_MINIZ. (check-in: 8a5c394b user: mgagnon tags: trunk)
2014-10-20
21:37
Now use a switch to specify the file/directory to the timeline command.

- Use -p|--path PATH since "-f" is already used as a deprecated options.

- Restore command line arguments parsing of the timeline command as before the cmdline-timeline-enhancement branch so the previous behavior and argument priority stay compatible as before.

(We were not able to specify a checkin prefix or tagname without specifying the ?WHEN? argument anymore.)
(check-in: 1e870e1e user: mgagnon tags: cmdline-timeline-enhancement)
2014-10-17
21:57
When specifying a path and type (-t) is not specified on the timeline command, force the type to "ci". If someone specify a path, we can assume he want to see only file checkins. (check-in: 9cbafad6 user: mgagnon tags: cmdline-timeline-enhancement)
21:12
Honor case-sensitive setting when specifying path to the timeline command. (check-in: 5eeb870d user: mgagnon tags: cmdline-timeline-enhancement)
20:44
Fix the special case when path refer to the root of the repository, in that case, just ignore the path argument. (check-in: 3706dcb6 user: mgagnon tags: cmdline-timeline-enhancement)
19:20
Add DISTINCT keyword to the main timeline_cmd query to avoid duplicates when specifying file or directory on the timeline command.

(to be checked by someone more experienced in SQL) (check-in: dc8a5742 user: mgagnon tags: cmdline-timeline-enhancement)

2014-07-30
15:40
Call verify_all_options() on most of fossil CLI commands.
- Skip all the test-* commands for now (may be unnecessary)
- Skip sha1sum, md5sum and artifact because they can take "-" as argument and verify_all_options() would call fatal. Need to handle those differently...
- Command with subcommands that have their options are remaining: branch, bisect, cache, configuration, json, sql, stash, tag, ticket, user, wiki. (not sure how to handle those yet..)
(Closed-Leaf check-in: a426154b user: mgagnon tags: verify-all-options)
2014-04-02
03:30
Call fossil_fatal() when fossil_fopen fail on commit_warning(). This fix SIGSEGV when converting CR/NL where files are read-only. (reported on ML) (check-in: c3d09540 user: mgagnon tags: trunk)
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)

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)

2014-01-09
11:24
Merge again checkout_on_root_fix.

Fix more cases when working from '/', should not affect when working normally. (check-in: af194dbb user: mgagnon tags: trunk)

2014-01-08
17:40
Fix some remaining corner cases when having a checkout on '/'..

Update command:

  • Was asserting when localroot is '/'

file_cannonical_name():

  • Return '/' instead of '.' when refering to '/'.
  • Avoid the double '/' on beginning.
  • Refactoring to avoid some duplicated code.

file_relative_name():

  • Handle properly relative path when working on '/'.
(Closed-Leaf check-in: 89ad123f user: mgagnon tags: checkout_on_root_fix)
04:59
Remove traces.

Waiting approval to merge on trunk.. (check-in: 84abd455 user: mgagnon tags: checkout_on_root_fix)

04:42
Fix db_open_local() fonction so it find the local checkout database on "/". It was working inconsistently depending what was the current directory.

** Even if fossil is not the right tool to version files on the root of the system, I found it very usefull to track what file change on my system

Tested on Linux and MinGW (Windows 8.1) (check-in: be993c47 user: mgagnon tags: checkout_on_root_fix)