d13ceac | Pierre-Yves David | 31 January 2014, 19:36:41 UTC | [debian] update homepage url We have hgview.org now. | 31 January 2014, 19:36:41 UTC |
b6f09f3 | Pierre-Yves David | 31 January 2014, 19:35:51 UTC | [debian] update vcs url We now have a hg.logilab.org | 31 January 2014, 19:35:51 UTC |
58edbe3 | Pierre-Yves David | 31 January 2014, 19:34:46 UTC | [debian] update Pierre-Yves David identity He has left the Logilab ship for the Facebook one. | 31 January 2014, 19:34:46 UTC |
b9846c4 | Julien Cristau | 31 January 2014, 12:40:43 UTC | [debian] install description.css in hgview package | 31 January 2014, 12:40:43 UTC |
42c8621 | Julien Cristau | 31 January 2014, 09:25:33 UTC | [pkg] make sure css file ends up in tarball Apparently squeeze distutils doesn't do it on its own. | 31 January 2014, 09:25:33 UTC |
4040c97 | Pierre-Yves David | 30 January 2014, 08:35:27 UTC | [pkg] prepare release 1.8.0 | 30 January 2014, 08:35:27 UTC |
917a480 | Alain Leufroy | 07 October 2013, 10:14:26 UTC | [nested repo] fix path comparison Users could provided unnormalized path. | 07 October 2013, 10:14:26 UTC |
02c5003 | Pierre-Yves David | 03 January 2014, 19:03:07 UTC | [qt4] do not includes closed branch in branch colum width computation Closed branch tends to be quite-lon-branch-name-create-by-mistake-long-time-ago. | 03 January 2014, 19:03:07 UTC |
ec0b845 | Pierre-Yves David | 03 January 2014, 01:52:35 UTC | branches: compatibility with 2.9 changes In 2.9 the `repo.branchtags` is gone. but we can use `repo.branchmap().iterbranches()` that directly yield information about closed branches. | 03 January 2014, 01:52:35 UTC |
94ecd3a | Pierre-Yves David | 03 January 2014, 01:33:46 UTC | move branches extraction into a function Needed for 2,9 compatibility where `branchtags` function is gone. | 03 January 2014, 01:33:46 UTC |
24468c6 | Pierre-Yves David | 03 January 2014, 01:19:33 UTC | [qt4] simplify branch column width computation The new code is simpler, and shorted This code will be rewritten for 2.9 compatibility where branch name access changes. So I try to reduce the number of call to `branchtags`. | 03 January 2014, 01:19:33 UTC |
d5fa1d5 | Sean Farley | 15 November 2013, 20:02:09 UTC | hgrepoviewer: fix int conversion Previously, the 'status' variable was initialized with the integer '1' so that the 'if status is None' statement would fail and then a default value of 'status.lower()' was used but this would fail since status is an integer. After this patch, we try to convert from an integer first, then fall back to using a default value. | 15 November 2013, 20:02:09 UTC |
ef4401e | Pierre-Yves David | 12 September 2013, 00:15:45 UTC | [hggraph] extract revset execution from the revset building function The filtering will provides its own revset so we need an opportunity to mix the build revset with the filtering one. The revset execution can stay in the `revision_grapher` function while the revset build itself will get extracted to a upper level. | 12 September 2013, 00:15:45 UTC |
4ad802e | Pierre-Yves David | 11 September 2013, 23:39:40 UTC | [hggraph] revset execution in a dedicated query We extract the part about revset execution in a dedicated function. This part of the code is more complicated than it could be because we have to be compatible with all supported version of Mercurial: - version older than 2.1 does not have the `repo.revs` methods - version older than 2.5 need to apply hidden changeset filtering by hand. So we move it in a dedicated function. That will help use to split the building of the revset and it's execution. Revision filtering in hgview needs to provides its own revset. | 11 September 2013, 23:39:40 UTC |
ce23403 | Pierre-Yves David | 11 September 2013, 21:38:32 UTC | put dirty wc calculation into a function This helps readibility of the code. And make this check more contained, helping the incoming refactoring. | 11 September 2013, 21:38:32 UTC |
de9e8fe | Pierre-Yves David | 12 September 2013, 12:54:39 UTC | [hggraph] gather all filter in a single place using revset The previous code was using a complex iterator plus extra filtering during iteration. We now process all filter to create a single revset that returns all relevant revision. | 12 September 2013, 12:54:39 UTC |
6ecd90e | Pierre-Yves David | 11 September 2013, 12:12:07 UTC | [hggraph] drop the unused stop_rev parameter The `revision_grapher` function has a `stop_rev` argument but none of the caller use it. So we drop it for simplification. | 11 September 2013, 12:12:07 UTC |
46cec36 | Pierre-Yves David | 11 September 2013, 11:39:25 UTC | [hggraph] simplifies _graph_iterator There is now a common preprocessing and a single yield loop at the end. This will help bigger rework of the code. | 11 September 2013, 11:39:25 UTC |
691edb5 | Pierre-Yves David | 11 September 2013, 11:36:30 UTC | [hggraph] simplifies revision reordering business When the reorder option is activated, mutable changeset are displayed before immutable one. This changeset rework the reordering code to make it more readable and more contained. This will help commit refactoring of this section to implement filtering. | 11 September 2013, 11:36:30 UTC |
4fbd8a5 | Pierre-Yves David | 11 September 2013, 10:31:44 UTC | [hggraph] extract retrieval of phase information in a function In order to introduce clear graph filtering the _graph_iterator function will be reworked. This change extract a small useful bit that will be reused by the new code. | 11 September 2013, 10:31:44 UTC |
22d51e4 | Pierre-Yves David | 12 September 2013, 00:03:56 UTC | [hggraph] remove wrong comment The documented value for `start_rev` (-1) is not a valid value. It may have been in the past. | 12 September 2013, 00:03:56 UTC |
9a4d9df | Alain Leufroy | 11 September 2013, 09:54:41 UTC | [qt] max file size: better displayed message The message is now a real sentence: File size (%s) greater than configured maximum value: maxfilesize=b2Mb | 11 September 2013, 09:54:41 UTC |
6fca7f9 | Alain Leufroy | 10 September 2013, 08:16:21 UTC | [qt] allow to hide all white space related changes | 10 September 2013, 08:16:21 UTC |
f8e6cdc | alain leufroy | 25 April 2013, 21:59:01 UTC | [tui] improve displayed source position This change fix the space dedicated to display the source position. By this way the footer content do not move while the source position have more or less digits. | 25 April 2013, 21:59:01 UTC |
a246435 | Pierre-Yves David | 11 September 2013, 09:21:01 UTC | merge stable changes | 11 September 2013, 09:21:01 UTC |
3e94fb8 | Pierre-Yves David | 21 June 2013, 13:06:02 UTC | merge with other stable head | 21 June 2013, 13:06:02 UTC |
24ca5e9 | Julien Cristau | 21 June 2013, 11:49:41 UTC | Added tag hgview-debian-version-1.7.1-2 for changeset d989ad60fe6d | 21 June 2013, 11:49:41 UTC |
210f60b | Julien Cristau | 21 June 2013, 11:47:55 UTC | Upload to unstable | 21 June 2013, 11:47:55 UTC |
1e25e37 | Alain Leufroy | 17 June 2013, 21:36:55 UTC | [qt4] fix AttributeError while filtering higher revisions This was typo introduced by `do not select revision on left click on revisions tree graph <f05fdb61e983>`_ | 17 June 2013, 21:36:55 UTC |
684db8c | Aurelien Campeas | 10 July 2013, 12:11:03 UTC | remove spurious print | 10 July 2013, 12:11:03 UTC |
07c94c4 | Pierre-Yves David | 21 June 2013, 12:47:25 UTC | merge with stable | 21 June 2013, 12:47:25 UTC |
98dc0a5 | Alain Leufroy | 21 June 2013, 09:30:44 UTC | [qt] graph: fix description color of obsoletes Obsolete cs shall be rendered with a lighter text color. .. note:: The color is set using css for Log while other column content uses the Qt.Foreground method. We may want to uniformize this later. | 21 June 2013, 09:30:44 UTC |
be670f4 | Alain Leufroy | 11 June 2013, 16:58:04 UTC | [qt4] Fix partial tree graph filling On some repo the tree graph was not full filled. The problem comes from the selection of the working directory parent. To select the wd parent we ensure it has already been built. This action encreases the number of built nodes in revision tree (see ``hggraph.Graph.build_nodes``: requested revision + nnodes) But we ensure the wd parent is built the first time the model is filled. It is performed after the first graph rendering but before the timer event that refreshes the tree graph. In some case the first rendering displays only a partial revisions tree graph. Once displayed the wd parent selection complete the revision tree in cache but not yet on the screen. If the revision tree is full filled, the table row count is not updated (see the diff) while a part of the revision tree graph is still missing. Introduced by `always select the working directory at startup <fb5ee4cf21dd>`_ due to `New implementation of the background graph building mecanism <e28a5e3dc5c4>`_. .. note:: I will factorize code in the next commit. | 11 June 2013, 16:58:04 UTC |
60548a5 | Pierre-Yves David | 29 May 2013, 08:13:45 UTC | fix silly typo s/touniode/tounicode/ | 29 May 2013, 08:13:45 UTC |
89ec49e | Julien Cristau | 25 February 2013, 09:33:52 UTC | Upload to experimental | 25 February 2013, 09:33:52 UTC |
7060297 | Alain Leufroy | 29 January 2013, 15:45:47 UTC | [tui] warn about urwid<1.0.0 bug using the "curses" interface (closes #119019) | 29 January 2013, 15:45:47 UTC |
7d3b6ff | alain leufroy | 25 April 2013, 23:01:16 UTC | [tui] fix source position (closes #119019) - update position after key processed to get the *new* position - for source smaller that available displaying area, we set the position to 0% if the user want to go up and 100% if the user want to go down. | 25 April 2013, 23:01:16 UTC |
877880f | alain leufroy | 09 May 2013, 14:17:05 UTC | [tui] fix source area stroke If the full widget height equal the displayed height, the stroke is 0. So, the source is fully displayed. This change fix a ZeroDivisionError. :related to: #119019 | 09 May 2013, 14:17:05 UTC |
a10b422 | Alain Leufroy | 10 May 2013, 01:35:06 UTC | [qt4] fix typo | 10 May 2013, 01:35:06 UTC |
7a0b455 | Alain Leufroy | 10 May 2013, 02:10:20 UTC | [qt4] fix non displayed working directory on refreshing (closes #137714) This bug was appearing when the model was filled and the working directory was hidden, for exemple on filtered branch. | 10 May 2013, 02:10:20 UTC |
2b6adc7 | Chris Torek | 06 May 2013, 08:11:04 UTC | [setup] use ``gmake`` instead of ``make`` on freebsd Once all the appropriate packages are installed (devel/py-qt4, textproc/asciidoc, and textproc/xmlto at least), "python setup.py build" works if it runs gmake instead of (bsd) make. I assume this holds for other FreeBSD versions (certainly should for 9.x). :mail: http://lists.logilab.org/pipermail/python-projects/2013-May/003466.html | 06 May 2013, 08:11:04 UTC |
1ddc870 | Alain Leufroy | 28 May 2013, 10:34:27 UTC | [qt] full support for unicode with utf-8 encoding (closes #142378) We were decoding strings for changeset description and file data only. But we also have to decode all all meta-information from Hg repo (a.k.a. usernames, bookmarks, tags, branches, filenames). String are decoded just at rendering times. Data are kept binary string for other operation (eg: comparing filenames). We use the ``hgviewlib.util.tounicode`` function everywhere now. We also missed using utf-8 for Scintilla. :Fix initiated by: Юрий Мандрик. .. note:: We try to decode using utf8, iso-8859-15 and cp1252 (in this order) using the first that successfully decode the string. If all fail we use utf8 with ``replace`` strategy. test case used:: hg init cyrillic cd cyrillic hg branch 'ЖЗИЙФ' echo 'ЖЗИЙФ' > ЖЗИЙФ hg add ЖЗИЙФ hg ci -m 'ЖЗИЙФ' -u 'ЖЗИЙФ' hg bookmark 'ЖЗИЙФЖЗИЙФ' hg tag 'ЖЗИЙФ' hg mv 'ЖЗИЙФ' 'ЖЗИЙФЖЗИЙФ' hg ci -m 'move' echo 'hello' > ЖЗИЙФЖЗИЙФ hg ci -m 'back to ascii' hg rm ЖЗИЙФЖЗИЙФ hg ci -m 'remove' | 28 May 2013, 10:34:27 UTC |
d42a956 | Alain Leufroy | 15 April 2013, 13:29:27 UTC | [launcher] load hgviewlib manually if standalone (closes #117624) If use from source (``setup.py`` found), load corresponding ``hgviewlib`` manually shadowing any system wide initialation. This partially revert changes made in 32d191e8504d. This changeset has been initiated by Arne Babenhauserheide <arne.babenhauserheide@fzk.de> | 15 April 2013, 13:29:27 UTC |
894a8c3 | Pierre-Yves David | 29 January 2013, 15:20:51 UTC | Added tag hgview-debian-version-1.7.1-1 for changeset b2001e2a1c3d | 29 January 2013, 15:20:51 UTC |
5e3d216 | Pierre-Yves David | 29 January 2013, 15:20:50 UTC | Added tag hgview-version-1.7.1 for changeset 5adac93dd205 | 29 January 2013, 15:20:50 UTC |
89e88a7 | Pierre-Yves David | 29 January 2013, 15:20:45 UTC | merge with future 1.7.1 | 29 January 2013, 15:20:45 UTC |
0cca95f | Pierre-Yves David | 28 January 2013, 16:34:48 UTC | [pkg/debian] prepare 1.7.1 | 28 January 2013, 16:34:48 UTC |
f299790 | Pierre-Yves David | 28 January 2013, 15:49:43 UTC | [pkg] prepare version 1.7.1 | 28 January 2013, 15:49:43 UTC |
f117d74 | Pierre-Yves David | 28 January 2013, 15:48:23 UTC | [changelog for 1.7.1] | 28 January 2013, 15:48:23 UTC |
f3632c5 | Pierre-Yves David | 28 January 2013, 15:48:08 UTC | [changelog] drops tab in changelog | 28 January 2013, 15:48:08 UTC |
817bbdf | Pierre-Yves David | 28 January 2013, 15:41:08 UTC | [changelog] update changelog for 1.7.0 | 28 January 2013, 15:41:08 UTC |
a96c1f0 | Pierre-Yves David | 25 January 2013, 15:18:27 UTC | [util] protect first know successors from obsolescence cycle (see #116957) A changeset could be reported as its own successors. We apply the same fix than in ec7ba95acdab. G: changed hgviewlib/util.py | 25 January 2013, 15:18:27 UTC |
004e539 | Pierre-Yves David | 25 January 2013, 15:16:23 UTC | [util] fix first_known_successors computation(closes #117630) Bad copy paste used the precursors data of marker, not the successors | 25 January 2013, 15:16:23 UTC |
5aa1456 | Pierre-Yves David | 17 January 2013, 19:36:35 UTC | graph: prevent obsolescence cycle to confuse graph algorithm We did not prevented the initial node to be reported as it's first known precursors. | 17 January 2013, 19:36:35 UTC |
3f718d5 | Pierre-Yves David | 17 January 2013, 18:39:41 UTC | [qt/graph] dropping stand alone version of graph view It is not maintained | 17 January 2013, 18:39:41 UTC |
21d0b65 | Pierre-Yves David | 17 January 2013, 19:18:22 UTC | [compat] Mercurial 2.5 changes location of hidden revision Hidden revision in are computed as any other "filter", a new feature of Mercurial 2.5. This changeset add a abstraction layer to access hidden revision for all version of Mercurial that supports it. | 17 January 2013, 19:18:22 UTC |
9485703 | Pierre-Yves David | 17 January 2013, 19:02:22 UTC | [util] ensure hgview operate on unfiltered repo With 2.5 hg.repository returns repo with the `visible` filter enabled. | 17 January 2013, 19:02:22 UTC |
ad09d98 | Pierre-Yves David | 17 January 2013, 19:01:07 UTC | [util] abstract repo creation in a function We are going to need processing on the created object to get ride of filtering. | 17 January 2013, 19:01:07 UTC |
c2806f9 | Pierre-Yves David | 20 December 2012, 14:40:18 UTC | [qt] fix error message fo failed resource compilation | 20 December 2012, 14:40:18 UTC |
56e45fb | Pierre-Yves David | 20 December 2012, 14:18:16 UTC | merge with stable | 20 December 2012, 14:18:16 UTC |
5273fc9 | Pierre-Yves David | 20 December 2012, 14:15:16 UTC | [qt] prevent hgview from getting slower and slower at each reload (closes #114970) Some callbacks for the UI were reconnected at each reload, resulting in the very same content to be refreshed <number-of-reload> each time a revision were selected. | 20 December 2012, 14:15:16 UTC |
bcfebdf | Pierre-Yves David | 10 December 2012, 15:15:31 UTC | [qt] drop the infamous yellow color (closes #113385) Yellow is not readable at all on white background | 10 December 2012, 15:15:31 UTC |
002df5b | Pierre-Yves David | 20 December 2012, 13:22:12 UTC | fix trailing white space | 20 December 2012, 13:22:12 UTC |
344de11 | Nicolas Chauvat | 14 December 2012, 21:59:29 UTC | [readme] fix repository url | 14 December 2012, 21:59:29 UTC |
1ce3844 | Mads Kiilerich | 09 December 2012, 00:34:42 UTC | spelling: fix some typos and frenchisms and sloppiness | 09 December 2012, 00:34:42 UTC |
7e2d58c | Pierre-Yves David | 10 December 2012, 14:02:38 UTC | merge with stable | 10 December 2012, 14:02:38 UTC |
8eacc81 | Pierre-Yves David | 10 December 2012, 13:40:37 UTC | [compat] handle filtered repository Mercurial 2.5 will ship a changelog filtering feature. This changeset ensure it does not interfere with hgview. We ensure here that we work on unfiltered repo in all case. Unfiltered repo are repo has we know them now. | 10 December 2012, 13:40:37 UTC |
ba0549a | Mads Kiilerich | 09 December 2012, 00:34:40 UTC | help: try to improve built-in help text This patch do not rewrap lines - that would cause diff noise. | 09 December 2012, 00:34:40 UTC |
7169ced | Mads Kiilerich | 08 December 2012, 20:40:35 UTC | qt: set window titles for file views | 08 December 2012, 20:40:35 UTC |
1077af0 | Alain Leufroy | 14 March 2013, 12:58:38 UTC | [lib] file diff: fix missing diff (closes #122649) problem: HgView removes the header of the displayed diff assuming that the content data starts this ``os.linesep+'@@'``. But the newline chars may be different from the system linesep. By this way the entire diff is interpreted as the header resulting into an empty diff body. solution: Use a more clever text-matching tool ``re`` with the pattern ``^@@.*@@$`` which correspond to a hunk header --- the first hunk corresponds to the end of the diff header. | 14 March 2013, 12:58:38 UTC |
c265070 | Paul Tonelli | 08 March 2013, 16:39:25 UTC | dirty patch to allow execution in py2exe executable (closes #122101) | 08 March 2013, 16:39:25 UTC |
e5dc4c2 | Paul Tonelli | 08 March 2013, 17:34:19 UTC | [setup] py2exe: use os.path to remove extensions instead of f[-4]. | 08 March 2013, 17:34:19 UTC |
4cce33c | Pierre-Yves David | 04 December 2012, 10:49:01 UTC | Remove sys.path manipulation (closes #113034) This seems like legacy helper for development purpose. This create some issue in for actual deployment and are just a plain bad idea on a general basis. | 04 December 2012, 10:49:01 UTC |
ae7e1f6 | Alain Leufroy | 21 November 2012, 16:18:38 UTC | [qt] add revset aliases to the goto completer (closes #112485) | 21 November 2012, 16:18:38 UTC |
ec3d741 | Pierre-Yves David | 04 December 2012, 13:38:17 UTC | remove dead code | 04 December 2012, 13:38:17 UTC |
86ffd54 | Alain Leufroy | 26 November 2012, 10:53:54 UTC | [qt] goto: also catch mercurial.error.Abort on revset processing This error is raised when I try ``file(bad/adress/file)``. | 26 November 2012, 10:53:54 UTC |