Re: Crash when opening the tutorial with cursor at line with icon

2015-03-21 Thread Stephan Witt
Am 21.03.2015 um 00:19 schrieb Enrico Forestieri for...@lyx.org: On Fri, Mar 20, 2015 at 03:15:58PM +0100, Stephan Witt wrote: Am 20.03.2015 um 11:55 schrieb Kornel Benko kor...@lyx.org: Am Freitag, 20. März 2015 um 11:45:43, schrieb Stephan Witt st.w...@gmx.net This is

Re: [patch] Prefer svg icons

2015-03-21 Thread Stephan Witt
Am 20.03.2015 um 23:45 schrieb Enrico Forestieri for...@lyx.org: On Fri, Mar 20, 2015 at 10:15:18AM +0100, Stephan Witt wrote: Ok, here's the patch to improve the display of icons on Mac. I made a snapshot of the resulting on-screen display. The GraphicsLoader.cpp change needs hard coded

Hebrew Translation

2015-03-21 Thread Guy Rutenberg
Hi All, I've made some update to the Hebrew translation of LyX (in the 2.2dev branch) and translated ~500 strings. Whats the preferable way to submit the changes (patch? whole .po file?) and to whom? Thanks, Guy

Re: Crash when opening the tutorial with cursor at line with icon

2015-03-21 Thread Enrico Forestieri
On Sat, Mar 21, 2015 at 09:35:32AM +0100, Stephan Witt wrote: Am 21.03.2015 um 00:19 schrieb Enrico Forestieri for...@lyx.org: I have seen this strange behavior, although it does not seem to occur anymore for me. Once LyX starts crashing, one cannot effectively load that document

Re: [ugly patch] fix bug 9418

2015-03-21 Thread Jean-Marc Lasgouttes
Le 20/03/15 21:53, Georg Baum a écrit : The real cause for the bug is that ArgumentProxy::mathMacro_ is a reference to an object which is stored in a MathData, which is a std::vector storing MathAtoms by value (not pointers). Therefore, each time when the MathData object which contains a math

Re: Re: Python 2 and 3 simultaneous support (1st step)

2015-03-21 Thread José Matos
On Saturday 14 March 2015 14:53:17 Ian Wilder wrote: have you guys thought about using Python 2to3? https://docs.python.org/2/library/2to3.html even if you don't use the result, it may give a good direction for problems that arise. Bah.. too 2010... ;-)

Re: Re: new compiler warnings in master

2015-03-21 Thread José Matos
On Friday 20 March 2015 21:57:43 Georg Baum wrote: OK, I will change it. But since the LyX file format really has nothing to do with LaTeX (except for math), I will remove all backslashes and {} pairs from InsetSpecialChar. BTW, LaTeX2E is not the only one which is different. Georg +1

Re: [LyX/master] Check that DocIterator::sanitize only adds editable insets

2015-03-21 Thread Scott Kostyshak
On Tue, Mar 10, 2015 at 11:17 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: commit 17e435c47e36effd36d25cec900369e04f6acb4e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Mar 9 11:14:26 2015 +0100 Check that DocIterator::sanitize only adds editable insets This

Re: Changing trac defaults

2015-03-21 Thread Scott Kostyshak
On Mon, Mar 16, 2015 at 9:02 PM, Richard Heck rgh...@lyx.org wrote: On 03/16/2015 07:43 PM, Scott Kostyshak wrote: 2. version. Currently it defaults to 2.1.3. I propose to have it default to blank. - I prefer to have the user choose the version. Otherwise they might just have skipped

Re: Crash when opening the tutorial with cursor at line with icon

2015-03-21 Thread Stephan Witt
Am 21.03.2015 um 13:18 schrieb Enrico Forestieri for...@lyx.org: On Sat, Mar 21, 2015 at 09:35:32AM +0100, Stephan Witt wrote: Am 21.03.2015 um 00:19 schrieb Enrico Forestieri for...@lyx.org: I have seen this strange behavior, although it does not seem to occur anymore for me. Once LyX

Re: Changing trac defaults

2015-03-21 Thread Richard Heck
On 03/21/2015 05:59 PM, Scott Kostyshak wrote: On Mon, Mar 16, 2015 at 9:02 PM, Richard Heck rgh...@lyx.org wrote: On 03/16/2015 07:43 PM, Scott Kostyshak wrote: 2. version. Currently it defaults to 2.1.3. I propose to have it default to blank. - I prefer to have the user choose the version.

Re: Re: Python 2 and 3 simultaneous support (1st step)

2015-03-21 Thread José Matos
On Wednesday 11 March 2015 15:08:32 Jean-Marc Lasgouttes wrote: Dear José, I took a quick look and I need help. The complicated macro for python eventually calls: # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) #

Re: Changing trac defaults

2015-03-21 Thread Scott Kostyshak
On Sat, Mar 21, 2015 at 6:27 PM, Richard Heck rgh...@lyx.org wrote: On 03/21/2015 05:59 PM, Scott Kostyshak wrote: Not an option, either, in the Admin panel that allows one to set such things. Only the milestones we've created are choices. Ah, I see. Would creating an unspecified milestone be

Re: Re: Python 2 and 3 simultaneous support (1st step)

2015-03-21 Thread José Matos
On Wednesday 11 March 2015 20:57:43 Kornel Benko wrote: Thank you José. If I understood correctly, the opposite of 'open(..,r)' should be 'open(..,w)'. (See development/cmake/po/dos2unix.py:15) With also this extra change the script worked too. Kornel Note that as you found later

Re: Crash when opening the tutorial with cursor at line with icon

2015-03-21 Thread Stephan Witt
Am 21.03.2015 um 00:19 schrieb Enrico Forestieri : > On Fri, Mar 20, 2015 at 03:15:58PM +0100, Stephan Witt wrote: > >> Am 20.03.2015 um 11:55 schrieb Kornel Benko : >> >>> Am Freitag, 20. März 2015 um 11:45:43, schrieb Stephan Witt >>>

Re: [patch] Prefer svg icons

2015-03-21 Thread Stephan Witt
Am 20.03.2015 um 23:45 schrieb Enrico Forestieri : > On Fri, Mar 20, 2015 at 10:15:18AM +0100, Stephan Witt wrote: >> >> Ok, here's the patch to improve the display of icons on Mac. I made a >> snapshot of the resulting on-screen display. >> >> The GraphicsLoader.cpp change

Re: [ugly patch] fix bug 9418

2015-03-21 Thread Jean-Marc Lasgouttes
Le 20/03/15 21:53, Georg Baum a écrit : The real cause for the bug is that ArgumentProxy::mathMacro_ is a reference to an object which is stored in a MathData, which is a std::vector storing MathAtoms by value (not pointers). Therefore, each time when the MathData object which contains a math

Re: Crash when opening the tutorial with cursor at line with icon

2015-03-21 Thread Enrico Forestieri
On Sat, Mar 21, 2015 at 09:35:32AM +0100, Stephan Witt wrote: > Am 21.03.2015 um 00:19 schrieb Enrico Forestieri : > > > > I have seen this strange behavior, although it does not seem to occur > > anymore for me. Once LyX starts crashing, one cannot effectively load that > >

Hebrew Translation

2015-03-21 Thread Guy Rutenberg
Hi All, I've made some update to the Hebrew translation of LyX (in the 2.2dev branch) and translated ~500 strings. Whats the preferable way to submit the changes (patch? whole .po file?) and to whom? Thanks, Guy

Re: Re: new compiler warnings in master

2015-03-21 Thread José Matos
On Friday 20 March 2015 21:57:43 Georg Baum wrote: > OK, I will change it. But since the LyX file format really has nothing to do > with LaTeX (except for math), I will remove all backslashes and {} pairs > from InsetSpecialChar. BTW, LaTeX2E is not the only one which is different. > > > Georg

Re: Re: Python 2 and 3 simultaneous support (1st step)

2015-03-21 Thread José Matos
On Saturday 14 March 2015 14:53:17 Ian Wilder wrote: > have you guys thought about using Python 2to3? > > https://docs.python.org/2/library/2to3.html > > even if you don't use the result, it may give a good direction for > problems that arise. Bah.. too 2010... ;-)

Re: [LyX/master] Check that DocIterator::sanitize only adds editable insets

2015-03-21 Thread Scott Kostyshak
On Tue, Mar 10, 2015 at 11:17 AM, Jean-Marc Lasgouttes wrote: > commit 17e435c47e36effd36d25cec900369e04f6acb4e > Author: Jean-Marc Lasgouttes > Date: Mon Mar 9 11:14:26 2015 +0100 > > Check that DocIterator::sanitize only adds editable insets > >

Re: Changing trac defaults

2015-03-21 Thread Scott Kostyshak
On Mon, Mar 16, 2015 at 9:02 PM, Richard Heck wrote: > On 03/16/2015 07:43 PM, Scott Kostyshak wrote: >> 2. version. Currently it defaults to 2.1.3. I propose to have it >> default to blank. >> - I prefer to have the user choose the version. Otherwise they might >> just have

Re: Crash when opening the tutorial with cursor at line with icon

2015-03-21 Thread Stephan Witt
Am 21.03.2015 um 13:18 schrieb Enrico Forestieri : > On Sat, Mar 21, 2015 at 09:35:32AM +0100, Stephan Witt wrote: >> Am 21.03.2015 um 00:19 schrieb Enrico Forestieri : >>> >>> I have seen this strange behavior, although it does not seem to occur >>> anymore for

Re: Changing trac defaults

2015-03-21 Thread Richard Heck
On 03/21/2015 05:59 PM, Scott Kostyshak wrote: On Mon, Mar 16, 2015 at 9:02 PM, Richard Heck wrote: On 03/16/2015 07:43 PM, Scott Kostyshak wrote: 2. version. Currently it defaults to 2.1.3. I propose to have it default to blank. - I prefer to have the user choose the version.

Re: Changing trac defaults

2015-03-21 Thread Scott Kostyshak
On Sat, Mar 21, 2015 at 6:27 PM, Richard Heck wrote: > On 03/21/2015 05:59 PM, Scott Kostyshak wrote: > Not an option, either, in the Admin panel that allows one to set such > things. Only the milestones we've created are choices. Ah, I see. Would creating an "unspecified"

Re: Re: Python 2 and 3 simultaneous support (1st step)

2015-03-21 Thread José Matos
On Wednesday 11 March 2015 15:08:32 Jean-Marc Lasgouttes wrote: > Dear José, > > I took a quick look and I need help. The complicated macro for python > eventually calls: > > # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], > [ACTION-IF-FALSE]) > # >

Re: Re: Python 2 and 3 simultaneous support (1st step)

2015-03-21 Thread José Matos
On Wednesday 11 March 2015 20:57:43 Kornel Benko wrote: > Thank you José. If I understood correctly, the opposite of 'open(..,"r")' > should be 'open(..,"w")'. > (See development/cmake/po/dos2unix.py:15) > With also this extra change the script worked too. > > Kornel Note that as you