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 |
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 |
89ec49e | Julien Cristau | 25 February 2013, 09:33:52 UTC | Upload to experimental | 25 February 2013, 09:33:52 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 |
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 |