[thg-dev] [PATCH] thgconfig: ability to enable/disable extensions

2010-03-10 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1268225105 -32400 # Node ID b2245f94a8fd9e964cf8ddf29322dd24cf1d666f # Parent e5334a932a3acf24a801e2229d005aab4a12027a thgconfig: ability to enable/disable extensions This adds 'Extensions' page to thgconfig window. For simplicity,

[thg-dev] [PATCH] thgconfig: render extension name with underline correctly

2010-03-11 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1268318294 -32400 # Node ID 401c85f14f3bce8b5e6162ed9f1057804ec325d7 # Parent 00eef565d4565da09df2dc39ed3efe5de0638824 thgconfig: render extension name with underline correctly This is the same issue as #1004. diff --git a/tortoisehg/hgtk

[thg-dev] [PATCH stable] hggtk: show tag/branch name with underline correctly

2010-03-11 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1268317985 -32400 # Branch stable # Node ID eda32ed05cf138b0e7204064125804ea5bce0d29 # Parent 9c25484a5a67126fee57433efefcf01fac7e2ffb hggtk: show tag/branch name with underline correctly Fixed the following widgets: * Menu of repository

[thg-dev] [PATCH] thgconfig: fixed exception when extensions.disabled() is empty

2010-03-15 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1268662244 -32400 # Node ID 50f1f2f568ce488f7b250e0f69f5128147fea94e # Parent 9e606e1564393f692ac3d30330b3bcf1ef5304d8 thgconfig: fixed exception when extensions.disabled() is empty extensions.disabled() returns None if no extension found. It&#

Re: [thg-dev] [PATCH] thgconfig: fixed exception when extensions.disabled() is empty

2010-03-15 Thread Yuya Nishihara
Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1268662244 -32400 > # Node ID 50f1f2f568ce488f7b250e0f69f5128147fea94e > # Parent 9e606e1564393f692ac3d30330b3bcf1ef5304d8 > thgconfig: fixed exception when extensions.disabled() is empty >

[thg-dev] [PATCH stable] hgemail: set "from" address in the same manner as patchbomb

2010-03-17 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1268833465 -32400 # Branch stable # Node ID 1faea2aff22f4d56015ef2dafbba715d55b7bac2 # Parent a601fded0309930ce0441bcfd667e8ba964b4bfa hgemail: set "from" address in the same manner as patchbomb patchbomb falls back to ui.use

[thg-dev] [PATCH 0 of 2 stable] thgmq: fix reordering patch series containing guarded one

2010-03-19 Thread Yuya Nishihara
thgmq fails to reorder patches if some patches are qguarded. The first patch ensures mq not to save broken series file. And the second fixes one of the cases to fail reordering. It seems there's another case ends with wrong result, but I cannot find out it yet. --

[thg-dev] [PATCH 2 of 2 stable] thgmq: fix case of reordering patch preceded by guarded one

2010-03-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1269006952 -32400 # Branch stable # Node ID 437f9ffbd168d533928f2a4b4424514278d7d75e # Parent d38af8bd2e69502d45302d856e85237b1c38e8db thgmq: fix case of reordering patch preceded by guarded one MQ reorder fails in the following case: 0 foo

[thg-dev] [PATCH 1 of 2 stable] thgmq: check duplicates before saving reordered series file

2010-03-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1269006952 -32400 # Branch stable # Node ID d38af8bd2e69502d45302d856e85237b1c38e8db # Parent d0057328f8f4631e68eae33089548ff0abe0e6f0 thgmq: check duplicates before saving reordered series file Once series file broken, 'hgtk log' doe

Re: [thg-dev] [PATCH 1 of 2 stable] thgmq: check duplicates before saving reordered series file

2010-03-19 Thread Yuya Nishihara
Hi, Thank you for your quick reply. Yuki KODAMA wrote: > On Fri, Mar 19, 2010 at 22:57, Yuya Nishihara wrote: > > # HG changeset patch > > # User Yuya Nishihara > > # Date 1269006952 -32400 > > # Branch stable > > # Node ID d38af8bd2e69502d4530

Re: [thg-dev] [PATCH 1 of 2 stable] thgmq: check duplicates before saving reordered series file

2010-03-20 Thread Yuya Nishihara
Yuki KODAMA wrote: > >> On Fri, Mar 19, 2010 at 22:57, Yuya Nishihara wrote: > >> > # HG changeset patch > >> > # User Yuya Nishihara > >> > # Date 1269006952 -32400 > >> > # Branch stable > >> &g

[thg-dev] [PATCH 0 of 3 stable] improve usability of status of subdirs

2010-03-29 Thread Yuya Nishihara
When you type 'hgtk status tortoisehg', it shows almost all files in 'tortoisehg' directory, and you cannot filter out clean files. It seems a bit confusing. The first patch changes thg not to show clean files by default, unless you specify a file path. The second patch brings back the ability to

[thg-dev] [PATCH 1 of 3 stable] status: don't show clean files by default if directory path is specified

2010-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1269870507 -32400 # Branch stable # Node ID 30d7ee5559aa4c94220e4e338284a12a00ac77d4 # Parent 1e6113192023422d25997edeab8e38998388bfda status: don't show clean files by default if directory path is specified Current implementation was intro

[thg-dev] [PATCH 2 of 3 stable] status: don't disable filter checkboxes even if paths are specified

2010-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1269870629 -32400 # Branch stable # Node ID 744639a004a9663884a86dacc65ca0f16e41eecc # Parent 30d7ee5559aa4c94220e4e338284a12a00ac77d4 status: don't disable filter checkboxes even if paths are specified This backouts 77b339cfff80. diff --

[thg-dev] [PATCH 3 of 3 stable] status: show ignored files in dark gray

2010-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1269870631 -32400 # Branch stable # Node ID a5c6bf9fe6e0ba0ed3f6b460860a848304436421 # Parent 744639a004a9663884a86dacc65ca0f16e41eecc status: show ignored files in dark gray The color extension also uses gray (bold black of ansi color.) diff

[thg-dev] [PATCH] gtklib: added color constant DGRAY for dark gray

2010-03-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1269877547 -32400 # Node ID 923eb66598b14a0e819491809cd9e85e09126248 # Parent 0979c4f0d9f1a6213d6c353891c81f7b124d3e31 gtklib: added color constant DGRAY for dark gray It's used as the color of ignored files in status window. diff --

Re: [thg-dev] [PATCH 3 of 3 stable] status: show ignored files in dark gray

2010-03-29 Thread Yuya Nishihara
Steve Borho wrote: > On Mon, Mar 29, 2010 at 8:51 AM, Yuya Nishihara wrote: > > # HG changeset patch > > # User Yuya Nishihara > > # Date 1269870631 -32400 > > # Branch stable > > # Node ID a5c6bf9fe6e0ba0ed3f6b460860a848304436421 > > # Parent 744639a004a9

Re: [thg-dev] PyQt port

2010-04-17 Thread Yuya Nishihara
Hi, Yuki KODAMA wrote: > On Fri, Apr 16, 2010 at 05:48, Chad Dombrova wrote: > > i'm on board with this and will do what i can. just point me to the low > > hanging fruit. > > -chad > > Great. The porting of simple dialogs is good starting point, IMO. > But, as Steve said, these dialog porting

Re: [thg-dev] PyQt port

2010-04-17 Thread Yuya Nishihara
Hi, Laurent Dufrechou wrote: > User who use source install will not be bothered by using uic file or not. > Since each time you generate a new ui file, you should regenerate the .py > file. > And commit _both_ of them. Or introduce a trick to load ui file dynamically: try: from ui_fo

Re: [thg-dev] PyQt port

2010-04-17 Thread Yuya Nishihara
Steve Borho wrote: > > Hmm, I think we need another name; hgqt is not easy to type or remember > > for lusers. ...might even go as keeping hgtk, or maybe thg. > > I was speaking of folders, not executables. My intent is to keep hgtk > as the command line tool until the Qt port is finished. At th

[thg-dev] [PATCH] runcommand: remove unused assignment to fullargs

2010-04-18 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1271581864 -32400 # Node ID 5d108117d89f2f677f595b1af62273fe40855978 # Parent 9b97d73f9a86f4de0c02e1153ec8944276803d95 runcommand: remove unused assignment to fullargs diff --git a/tortoisehg/hgtk/hgtk.py b/tortoisehg/hgtk/hgtk.py --- a

Re: [thg-dev] PyQt port

2010-04-19 Thread Yuya Nishihara
Chad Dombrova wrote: > >> Or introduce a trick to load ui file dynamically: > >> > >>try: > >>from ui_foo import Ui_Foo > >>except ImportError: > >>from PyQt4 import uic > >>Ui_Foo = uic.loadUiType(os.path.join(os.path.dirname(__file__)), > >> 'foo.ui'))[0] ... > >

Re: [thg-dev] i18n issues in TortoiseHg 2.0.x series

2011-04-12 Thread Yuya Nishihara
Andrei Polushin wrote: > Certain common buttons, like "Cancel" and "Close" remain untranslated. Looks > like localizations of standard Qt strings are not part of the distribution. > Or am I doing something wrong? (I'm on 32-bit Windows.) It isn't possible yet. We'll need to override standard strin

Re: [thg-dev] i18n issues in TortoiseHg 2.0.x series

2011-04-16 Thread Yuya Nishihara
Andrei Polushin wrote: > 12.04.2011 23:00, Yuya Nishihara wrote: > > Andrei Polushin wrote: > >> When the translated text on the button is long, it looks cropped on both > >> sides, so its hard to read that button. > > > > Does it happen at all place

Re: [thg-dev] Pushing a new branch and a new head at once fails

2012-05-11 Thread Yuya Nishihara
On 05/10/2012 04:51 PM, Schueler Nikolaus (LQKG IT RDS) wrote: > Pushing a new branch and a new head at once fails. >The reason is that TortoiseHg omits the neccessary force option. > > How to reproduce: > > Create a fresh repo master, add and commit a file in it. > Clone it twice, say to

Re: [thg-dev] Little typo in German translation in commit dialog

2012-05-31 Thread Yuya Nishihara
On 05/31/12 23:44, Schueler Nikolaus (LQKG IT RDS) wrote: > I don't know if the mailing list is the right place to report this, >but I found a little type in the German labels in the commit dialog >("Neuen Zweig bestätigen"): It says "%Zweig erstellen" where it should be only >"Zweig erstellen".

Re: [thg-dev] Documentation

2012-09-22 Thread Yuya Nishihara
> To: Hi, we've moved devel ML to google groups. On Fri, 21 Sep 2012 11:08:07 -0400, Boggess, Rod wrote: > # HG changeset patch > # User rboggess@rboggess-virtual-machine (ah, please configure ui.username) > # Date 1348174131 14400 > # Node ID b97c88a3ddc7353dc5fe7f60f8cfa4b36a118e10 > # Paren

Re: [thg-dev] Icons for bitbucket repo

2012-11-27 Thread Yuya Nishihara
On Tue, 27 Nov 2012 15:15:03 +0100, Peer Sommerlund wrote: > Bitbucket allows you to specify a 128x128 image for a repository. > In case you like them, here are a few images that could be used. > > This image could be used for > https://bitbucket.org/tortoisehg/thg Nice! I personally like the GT

Re: [thg-dev] AttributeError after 93da8aebf72c

2013-10-10 Thread Yuya Nishihara
On Thu, 10 Oct 2013 19:04:32 +0200, André Sintzoff wrote: > At TortoiseHg startup, I get: > > #!python > ** Mercurial version (2.7.2+30-e828975722c8). TortoiseHg version > (2.9.2+7-93da8aebf72c) > ** Command: > ** CWD: /Users/as/hg-repo/thg-build/thg > ** Encoding: UTF-8 >

Re: [thg-dev] [PATCH 2 of 3] graph: own style for line to obsolescence parents

2013-11-19 Thread Yuya Nishihara
On Tue, 19 Nov 2013 01:35:51 +0100, Simon Heimberg wrote: > # HG changeset patch > # User Simon Heimberg > # Date 1383675098 -3600 > # Node ID af575fc2cc609800e5e8ba5df45d2e91a04cecc5 > # Parent b74cc1842025ad42fab3f45cbccb0dca432f733c > graph: own style for line to obsolescence parents > > diff

Re: [thg-dev] [PATCH 1 of 3] graph: graph can show a line to obsolescence parents

2013-11-19 Thread Yuya Nishihara
On Tue, 19 Nov 2013 01:35:50 +0100, Simon Heimberg wrote: > # HG changeset patch > # User Simon Heimberg > # Date 1383670549 -3600 > # Node ID b74cc1842025ad42fab3f45cbccb0dca432f733c > # Parent 4f552e6b42f86264d9a47030e1ac17caf2d00390 > graph: graph can show a line to obsolescence parents > > d

Re: [thg-dev] Draw lines to obsolescence "parents"

2013-11-22 Thread Yuya Nishihara
On Fri, 22 Nov 2013 10:18:26 +0100, Simon Heimberg wrote: > * improve the patches as suggested by Yuya Nishihara > * fixed typo in Patch 1 > * Patch 2 imports graph module (instead of only components) > * Patch 4 is new, cleaning further up the import of graph The patch 1, &

Re: [thg-dev] graph: only draw one line to one parent

2013-11-22 Thread Yuya Nishihara
On Fri, 22 Nov 2013 10:18:28 +0100, Simon Heimberg wrote: > # HG changeset patch > # User Simon Heimberg > # Date 1384204372 -3600 > # Node ID 2cd51a22e5d35ba3199288eade014390fb34a276 > # Parent 6196dddb51b87dbfd1b1213ed05a59a6b52623ba > graph: only draw one line to one parent > > Because the pa

Re: [thg-dev] graph: graph can show a line to obsolescence parents

2014-01-10 Thread Yuya Nishihara
On Wed, 20 Nov 2013 01:20:14 +0900, Yuya Nishihara wrote: > On Tue, 19 Nov 2013 01:35:50 +0100, Simon Heimberg wrote: > > # HG changeset patch > > # User Simon Heimberg > > # Date 1383670549 -3600 > > # Node ID b74cc1842025ad42fab3f45cbc

Re: [thg-dev] graph: graph can show a line to obsolescence parents

2014-01-10 Thread Yuya Nishihara
(resend with CC: thg-dev) On Wed, 20 Nov 2013 01:20:14 +0900, Yuya Nishihara wrote: > On Tue, 19 Nov 2013 01:35:50 +0100, Simon Heimberg wrote: > > # HG changeset patch > > # User Simon Heimberg > > # Date 1383670549 -3600 > > # Node ID b74cc1842025ad42fab3f45cbc

Re: [thg-dev] Build date in About dialog box of TortoiseHg

2014-04-06 Thread Yuya Nishihara
On Sat, 5 Apr 2014 11:07:29 +0200, André Sintzoff wrote: > Regularly I'm advising colleagues to update TortoiseHg to a more recent > version. > They said: "OK but how can I know that my version is so old?". > > I'm wondering if and how the date of the build could be added in the > About dialog bo

Re: [thg-dev] thg compatible with hg 3.0rc?

2014-04-30 Thread Yuya Nishihara
On Wed, 30 Apr 2014 11:43:36 -0400, Neal Becker wrote: > Any thg tested with hg 3.0rc? Current stable tip should be fine with Mercurial 3.0rc. I always use the unstable branch of Mercurial. Regards, -- "Accelerate Dev C

Re: [thg-dev] Memory leak (thg 3.3)?

2015-02-16 Thread Yuya Nishihara
On Mon, 16 Feb 2015 13:31:28 +0100, André Sintzoff wrote: > 2015-02-16 11:26 GMT+01:00 André Sintzoff : > > When using the File History / Annotate view (using the context menu > > item in the workbench), the memory used by thgw.exe process is > > increasing rapidly (about 100 kB/s on a i5-4300M and