Staging
v0.4.2
https://foss.heptapod.net/mercurial/hgview

sort by:
Revision Author Date Message Commit Date
f04d3d4 [pkg] 1.9.0 14 October 2015, 15:41:02 UTC
3a29b09 Use mercurial.ui.configbool to parse Boolean configuration option Add a `configmethod` parameter to _fromconfig which is set to `configbool` when a Boolean value is expected. Closes #294206. 22 June 2015, 08:12:13 UTC
cb6144a [hggraph] compute revset outside of the repo grapher If we are related stuff This is related to #109808 as revset provided by user need to provided to the grapher directly. 17 September 2013, 13:50:26 UTC
5712f68 [hggraph] more correct computation of excluded changeset Previously only hidden changesets was ignored by ``first_known_precursors``, now All changesets filtered out are now ignored. We can't reverse the logic (included instead of excluded) of `first_known_precursors` as there is other user. 17 September 2013, 13:45:03 UTC
50a2946 [hggraph] currying __get_parent into a nicer parent_func call 75% of __get_parent argument are always the same. We use `functool.partial` to currying a single argument function. That's purely cosmetic. 16 September 2013, 16:16:37 UTC
0524dd8 [hggraph] handle gap in `__get_parent` When you filter out revision you may not just use direct parents of a changeset. When parents is filtered out you need to find the first included ancestors. This changeset change the __get_parents function to work that way. It takes a new argument `included` that contains revision to consider in the graph. This already fixes some bug with the filtering option currently available. This function could be implemented recursively but this blow the python call stack on big repo. So we implemented our stack by hand. A dictionary is used as cache to prevent every revision to redo the same computation all the time. This ensure a `O(repo.len)` complexity. The results is still not perfect as it's a bit verbose regarding merges but it is much better than before. This is related to #109808. Proper graphing was the biggest blocker to implement arbitrary filtering using revset. 12 September 2013, 13:12:41 UTC
8711bf6 fix pencolor computation for obsolete nodes setAlpha modifies dotcolor but doesn't return anything 08 September 2015, 06:44:44 UTC
d9b4ca8 [qt] drop hacky import of now missing module hgrepoview The hgrepoview module have been removed in a326d3d577fc. (closes #262930) 12 August 2014, 21:58:58 UTC
f184ddc merge with stable 14 October 2015, 14:14:45 UTC
5864305 merge with old heads 11 August 2014, 19:28:23 UTC
18c604c merge default in stable 30 July 2014, 21:10:50 UTC
11daac8 [curses] fix broken urwid version check (closes #259133) 30 July 2014, 21:07:09 UTC
86a4f0c [option] add a version option (closes #259595, #259572, #105330, #7316) 30 July 2014, 21:05:17 UTC
e6f4c23 [curses] improve broken urwid version message (closes #259133) 30 July 2014, 21:02:17 UTC
049da60 merge stable into default 30 July 2014, 18:33:59 UTC
156e755 Added tag hgview-version-1.8.2, hgview-debian-version-1.8.2-1 for changeset 969d6d68da2f 30 July 2014, 07:53:15 UTC
fe0c79e [pkg] prepare release 1.8.2 30 July 2014, 00:48:14 UTC
fe697b3 merge stable into default 01 July 2014, 14:01:28 UTC
b54d98e merge stable back into default 01 July 2014, 13:51:36 UTC
3e776ba merge 1.8 series in stable No major bug detected, ready for stable! 01 July 2014, 13:51:03 UTC
c9e50e4 [qt4] Remove trailing line from qscintilla widget 20 June 2014, 16:02:33 UTC
1104347 [qt4] fix refresh source file content The problem is that when the tree is refreshed (for example after a commit), the current file does not appears. This is due to the fact that the files list model has been updated. ``self.tableView_filelist.selectRow(0)`` highlight the file in the list view only bu do not "activate" it. Now we select the previous file, or the first one if it is no more valid (ex: hg uncommit). 10 June 2014, 11:52:03 UTC
c1477c0 [qt4] fix QThread warnings on exit ref: http://stackoverflow.com/questions/13562501/why-i-get-qtimer-can-only-be-used-with-threads-started-with-qthread-messages-i 10 June 2014, 10:04:58 UTC
9be8a80 [MQ support] compatibility with coming hg-3.1 We use proper python inheritance mechanism to call status. This prevent breakage from a refactoring in current mercurial default heads (99db956b88ab). 05 June 2014, 18:04:16 UTC
2823d07 [status] make dirty working directory detection more robust A recent glitch in Mercurial code (returning list instead of tuple) highlighted how fragile this code was. The new code is more generic and should survive to more upstream changes. 05 June 2014, 18:18:50 UTC
b2e9a09 hgview: update the tested with statement This statement is used by Mercurial core when reporting error. hgview most probably run with more version that those too but I've not tested it widely with them. 01 May 2014, 08:01:42 UTC
233cdd6 [debian] Close a couple bugs 25 May 2014, 15:47:56 UTC
7395af2 Added tag hgview-version-1.8.1, hgview-debian-version-1.8.1-1 for changeset 08c8f9749a6f 15 May 2014, 13:25:36 UTC
c68e0fb [debian] prepare release 15 May 2014, 13:25:06 UTC
93b44d3 [pkg] prepare version 1.8.1 There is a fix for Mercurial 3.0 compatibility that we need out. 01 May 2014, 08:12:04 UTC
cd353d5 [qt] install description.css as a example file closes #209472 closes #210274 This file is an example that may help users to customize the description style (see the `descriptionstylepath <a25065d46075>`_ config entry). 19 March 2014, 17:38:29 UTC
ca7e6e5 [application] allow to retrieve version using command line option closes #145421 19 March 2014, 18:15:13 UTC
73e52b6 [nested] be robust against .hgguestrepo parse errors (closes #234670) The config files may be corrupted. But HgView can help fixing the config file problem. 07 April 2014, 17:52:41 UTC
050c95e setup: be compatible with newer setuptools Newer setup tool are apparently incompatible with the old distutils way. We make add support for both. 15 April 2014, 19:24:30 UTC
139c44f graph: work around the new smartset class used for revset (compat hg 3.0) The new revset code in Mercurial 3.0 return smartset instead of list. They cannot be sorted by key, and you cannot add the `None` entry for the working directory. This patch is a simple straightforward fix that turn the variable into a list again. Making it lazy in a future goal. 16 April 2014, 18:40:27 UTC
804a2c6 application: fix urwid check tuple and list does not compare to each other (a, b) != [a, b] 15 April 2014, 19:21:51 UTC
5cbb34f fix NameError causing crash at startup (closes #224825) 01 March 2014, 14:38:20 UTC
cd75622 [debian] upload to unstable 10 February 2014, 23:12:20 UTC
4b14513 [debian] Fix watch file 10 February 2014, 22:58:19 UTC
8b83061 Added tag hgview-debian-version-1.8.0-1 for changeset b182f0d0d571 31 January 2014, 19:36:52 UTC
f18da04 Added tag hgview-version-1.8.0 for changeset 39df8aeb7244 31 January 2014, 19:36:47 UTC
d13ceac [debian] update homepage url We have hgview.org now. 31 January 2014, 19:36:41 UTC
b6f09f3 [debian] update vcs url We now have a hg.logilab.org 31 January 2014, 19:35:51 UTC
58edbe3 [debian] update Pierre-Yves David identity He has left the Logilab ship for the Facebook one. 31 January 2014, 19:34:46 UTC
b9846c4 [debian] install description.css in hgview package 31 January 2014, 12:40:43 UTC
42c8621 [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 [pkg] prepare release 1.8.0 30 January 2014, 08:35:27 UTC
9bb784c fix unicode vs str pb (the path may come from Qt sometimes ...) 08 November 2013, 16:23:32 UTC
acb2e14 [qt4] context menu: enable default context menu when evailable This change allows to enable default menu. For exemple the "copy" menu is now available in the diff view. 07 October 2013, 18:30:16 UTC
f050357 [qt4] move revision desciption view into dedicated module 07 October 2013, 17:36:28 UTC
923a8b4 [qt4] move revisions tree view into a dedicated module 07 October 2013, 17:49:17 UTC
917a480 [nested repo] fix path comparison Users could provided unnormalized path. 07 October 2013, 10:14:26 UTC
02c5003 [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 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 move branches extraction into a function Needed for 2,9 compatibility where `branchtags` function is gone. 03 January 2014, 01:33:46 UTC
24468c6 [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 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
a5a620e [qt4] sourceviewer: fix font + factorize lexer selection This patch mainly contains some factorisations to simplify code. I've also fixed a small but annoying bug spourious font fammily changes of line numbers. .. note:: This change removes a small optimization that sometimes computes the lexer only once. We now compute the lexer when a new content is given. This is not a very big deal because finding the lexer from the filename - most often case - is very quick. 25 September 2013, 08:05:34 UTC
f9b6dea [qt4] manifest: use SourceViewer instead of QScintilla directly 14 September 2013, 14:55:25 UTC
fcef093 [qt4] move source viewer widget into widgets.py This change moves the code of the widgets that display the content of the changeset into the ``hgviewlib.qt4.widgets`` module. .. note:: ``hgviewlib.qt4.widgets`` module contains widgets that are not aware of mercurial stuff. 13 September 2013, 16:58:48 UTC
ef4401e [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 [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 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 [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
e4e2b0b [qt4] fix missing filled signal on HgFileView Introduced by 0f6fcebcd9cb 11 September 2013, 14:06:18 UTC
d4fc412 [qt] move ``QueryLineEdit`` into ``widgets.py`` This is a generic Qt widget that has no Hg specific code. 11 September 2013, 13:50:35 UTC
0ca3907 [qt4] refactorize: move styled cells and headers resizing into dedicated places I've made two reusable classes derivated from QTableview that contain the specific code. This change improves readability. To use ``super()`` we need a more recent python-qt4. 11 September 2013, 13:37:54 UTC
cda1e16 [qt4] refactorize: use super(...) PyQt4 >= 4.5 allows to use ``super(...)``. 11 September 2013, 12:44:35 UTC
6ecd90e [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 [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 [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 [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 [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 [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 [qt] allow to hide all white space related changes 10 September 2013, 08:16:21 UTC
a3041d7 [qt4] refactorize .ui -> .py The idea is to avoid the ugly hack that manually adds the generated class into the extended class bases (inheritence injection). It also isolate the conversion code into a dedicated function. 22 August 2013, 09:13:42 UTC
82e6d96 [qt] refactorize action handling The idea is to uniformize the action registration for qt widgets. I've created a mixin that provides a very simple API to create/register/retrieve actions and to set up parameters as icon, key bindings, callbacks, etc. This will help (force ?) devs to provides them. The mixin can also add the actions to the context menu of the widget (see ``menu`` argument``). .. note:: We can clearly see that we could factorize codes now :D 11 September 2013, 11:32:59 UTC
3e94fb8 merge with other stable head 21 June 2013, 13:06:02 UTC
24ca5e9 Added tag hgview-debian-version-1.7.1-2 for changeset d989ad60fe6d 21 June 2013, 11:49:41 UTC
210f60b Upload to unstable 21 June 2013, 11:47:55 UTC
be670f4 [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 fix silly typo s/touniode/tounicode/ 29 May 2013, 08:13:45 UTC
bad484b [tui] refactorize: allow to simulate keypress on ContextViewer It will be usefull later. 25 April 2013, 23:33:24 UTC
4a0439f [qt4] fix open in editor when file is deleted - new mercurial version raises ManifestLookupError instead of LookUpError - we also have to disable the menu entry in the files list .. note:: fileFlag must now take into account None as filename which occures when the description is displayed as a file (descriptionview=asfile) 06 June 2014, 10:27:27 UTC
ce285f8 [qt] open in editor -> open in external applicaiton closes #137719 use case: image should be open in an image viewer. 11 February 2014, 13:19:20 UTC
ae80c8a [qt] consider user's desktop preferences for open in editor Related to #137719 11 February 2014, 13:27:43 UTC
f628b2e [qt] disable "openeditor" on removed file Related to #137719 .. admonition:: How to test :: cd /tmp hg init testhgview cd testhgview touch babar hg add babar hg ci -m babar hg rm babar hg ci -m remove hg qv -I qt Select revision 1, the "openeditor" action is disabled on the textarea and the file list. Select revision 0, the "openeditor" action is enabled on the textarea and the file list. 08 June 2013, 01:17:10 UTC
ead6457 [qt] start editor as a detached process Related to #137719 Do not teminate the editor process when hgview exits. .. admonition:: How to test :: hg --config hgview.editor=emacs qv -I qt Open a file in editor, then close hgview. The editor does not terminate. 08 June 2013, 00:44:06 UTC
3e41878 [qt] open real file in editor if working directory is selected Related to #137719 Usecase: 1. User up on a changeset then opens a file for a fix, saves the file, amends the change set, etc. 2. User is currently on a dirty working directory and opens a file that is already modified, etc. There are 2 cases: :clean working directory: selection should be on the working changeset :dirty working direction: selection should be on the row that display the dirty working changeset .. admonition:: How to test :: cd /tmp hg init testhgview cd testhgview echo babar > babar hg add babar hg ci -m babar echo celestine >> babar hg ci -m celestine hg --config hgview.editor=emacs qv -I qt& Select revision 0, "open in editor" opens a temporary file. Select revision 1, "open in editor" opens the real file. :: echo celestine > babar Select revision 1, "open in editor" opens a temporary file. Select durty working directory, "open in editor" opens the real file. 08 June 2013, 00:33:18 UTC
7a3114d [qt4] add an icon for open in editor Related to #137719 07 June 2013, 21:26:42 UTC
ce015a8 [qt4] open in editor even if the file is "too big" Related to #137719 If the file size is bigger than the config ``maxfilesize`` value the content of the file is set to the corresponding message. But we always want the original file content. .. admonition:: How to test :: hg --config hgview.maxfilesize=1 --config hgview.editor=emacs qv -I qt The open in editor display the content of the file even if the file is "too big". 08 June 2013, 00:31:06 UTC
f930b09 [qt] add open editor to the file list view Related to #137719 .. admonition:: How to test :: hg --config hgview.editor=emacs qv -I qt Select an "old" revision, then left-click on a file name in the file list. You shall now have the "open in editor" action. 13 June 2013, 15:19:05 UTC
e3df4ef [qt] add open in editor action Related to #137719 The action allows the user to open the selected file with its content at the selected revision in an external editor. A temporary file is created. This file is deleted once the editor is closed. The action is added in the context menu. .. note:: I do not use QtGui.QDesktopServices.openUrl because I didn't find a way to know when the editor is closed. .. admonition:: How to test :: hg --config hgview.editor=emacs qv -I qt Starts hgview, select an "old" revision, then left-click on widget that displays the diff. In the context menu hit "open in editor". The editor displays a temporary file that contains the file at the selected revision. Once the editor terminate, the temporary file is removed. Do the same with:: hg --config hgview.editor= --config ui.editor=emacs qv -I qt 20 August 2013, 09:40:27 UTC
c12b5c7 [qt4] move tags from dedicated column to the "Log" column Related to #9288 The "Tag" column is annoying as there is only few tags in practice. So, I put it to the "Log" column with a specific background like bookmarks. The idea comes from TortoiseHg, thx :) 25 September 2013, 08:14:10 UTC
f8e6cdc [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 merge stable changes 11 September 2013, 09:21:01 UTC
1e25e37 [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 remove spurious print 10 July 2013, 12:11:03 UTC
07c94c4 merge with stable 21 June 2013, 12:47:25 UTC
98dc0a5 [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
back to top