Re: r29176 - lyx-devel/trunk/src/insets

2009-04-09 Thread Pavel Sanda
Vincent van Ravesteijn wrote: >> please make sure that doxygen comments are still valid for the lfuns you >> changed >> pavel >> > I'll take care of it.. (when things are not changing anymore). thanks pavel

Re: r29176 - lyx-devel/trunk/src/insets

2009-04-09 Thread Vincent van Ravesteijn
Pavel Sanda schreef: v...@lyx.org wrote: Author: vfr Date: Fri Apr 10 02:20:12 2009 New Revision: 29176 URL: http://www.lyx.org/trac/changeset/29176 Log: Make the insets accept LFUN_INSET_SETTINGS. These insets did not yet respond to LFUN_INSET_SETTINGS. One had to use LFUN_INSET_TOGGLE to

Re: r29176 - lyx-devel/trunk/src/insets

2009-04-09 Thread Pavel Sanda
v...@lyx.org wrote: > Author: vfr > Date: Fri Apr 10 02:20:12 2009 > New Revision: 29176 > URL: http://www.lyx.org/trac/changeset/29176 > > Log: > Make the insets accept LFUN_INSET_SETTINGS. These insets did not yet respond > to LFUN_INSET_SETTINGS. One had to use LFUN_INSET_TOGGLE to show the se

Re: Handling of inset-settins and inset-toggle

2009-04-09 Thread rgheck
Jean-Marc Lasgouttes wrote: 1. If an LFUN_INSET_TOGGLE is send to an InsetCommand, the settings dialog is shown. Wouldn't it make more sense to dispatch an LFUN_INSET_SETTINGS instead ? Actually, I would remove this possibility for inset-toggle to open a dialog, and find a convenient shortcut

Re: Ideas for svn and InsetInfo integration (Re: SVN revision number in InsetInfo?)

2009-04-09 Thread Pavel Sanda
Pavel Sanda wrote: > > I am not sure this idea is better than just parsing "svn status -v"... > > > Further ideas? Opinions? another idea - svn is gpl-ed right? then what about to steal few lines of code parsing .svn directory from svn status -v / svnversion? pavel

Re: Ideas for svn and InsetInfo integration (Re: SVN revision number in InsetInfo?)

2009-04-09 Thread Pavel Sanda
Abdelrazak Younes wrote: > 1) When a document "doc.lyx" is under version control, we can check its svn > properties: > > svn propget svn:keywords dot.lyx hopefully we can avoid this by checking (under_svn_control && revision_insetinfo_used) > 2) For each of those keywords, we add the following

Re: Handling of inset-settins and inset-toggle

2009-04-09 Thread Vincent van Ravesteijn
Jean-Marc Lasgouttes schreef: 1. If an LFUN_INSET_TOGGLE is send to an InsetCommand, the settings dialog is shown. Wouldn't it make more sense to dispatch an LFUN_INSET_SETTINGS instead ? Actually, I would remove this possibility for inset-toggle to open a dialog, and find a convenient shortc

Re: Handling of inset-settins and inset-toggle

2009-04-09 Thread Jean-Marc Lasgouttes
1. If an LFUN_INSET_TOGGLE is send to an InsetCommand, the settings dialog is shown. Wouldn't it make more sense to dispatch an LFUN_INSET_SETTINGS instead ? Actually, I would remove this possibility for inset-toggle to open a dialog, and find a convenient shortcut for inset-setting instead

Re: Label Renaming Bug

2009-04-09 Thread rgheck
Vincent van Ravesteijn - TNW wrote: Put a label in a note, then dissolve the note. LyX will rename the label. I assume this must be because the renaming business is done before the contents of the note itself are deleted. So, we don't cut and paste, but paste and cut. Turns out it's a

Re: Handling of inset-settins and inset-toggle

2009-04-09 Thread Abdelrazak Younes
On 09/04/2009 19:44, Vincent van Ravesteijn wrote: Hi all, I have some questions on de handling of LFUN_INSET_TOGGLE / SETTINGS. 1. If an LFUN_INSET_TOGGLE is send to an InsetCommand, the settings dialog is shown. Wouldn't it make more sense to dispatch an LFUN_INSET_SETTINGS instead ? yes.

Handling of inset-settins and inset-toggle

2009-04-09 Thread Vincent van Ravesteijn
Hi all, I have some questions on de handling of LFUN_INSET_TOGGLE / SETTINGS. 1. If an LFUN_INSET_TOGGLE is send to an InsetCommand, the settings dialog is shown. Wouldn't it make more sense to dispatch an LFUN_INSET_SETTINGS instead ? 2. the status of LFUN_INSET_SETTINGS is handled by Buff

RFC: installing LaTeX hyphenation patterns when installing LyX

2009-04-09 Thread Uwe Stöhr
Today a user asked for an interesting feature: When installing LyX, the LaTeX hyphenation patters are not installed for the menu language of LyX. (http://article.gmane.org/gmane.editors.lyx.general/55728) To solve this problem, I can implement a solution only for the LyX installer, where I modif

Re: LyX releases

2009-04-09 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller writes: > Jean-Marc Lasgouttes wrote: > >>> btw do you plan to backport the new monolithic switch in the branch? >> >> Sure (unless Juergen objects, that is). But I am a bit busy right now. > > No, no objections from me. I did that now. The old switches still work (by autocon

Ideas for svn and InsetInfo integration (Re: SVN revision number in InsetInfo?)

2009-04-09 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Pavel Sanda wrote: Pavel Sanda wrote: Hum, another solution would be to use propset: svn propset svn:keywords "Rev" see http://dev.juokaz.com/php/automatic-svn-revision-number-in-source-code interesting idea, however i don't get how you would like to use it

RE: Label Renaming Bug

2009-04-09 Thread Vincent van Ravesteijn - TNW
>Put a label in a note, then dissolve the note. LyX will >rename the label. I assume this must be because the renaming >business is done before the contents of the note itself are >deleted. So, we don't cut and paste, but paste and cut. >rh Vincent

Label Renaming Bug

2009-04-09 Thread rgheck
Put a label in a note, then dissolve the note. LyX will rename the label. I assume this must be because the renaming business is done before the contents of the note itself are deleted. rh

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
Pavel Sanda wrote: Pavel Sanda wrote: Hum, another solution would be to use propset: svn propset svn:keywords "Rev" see http://dev.juokaz.com/php/automatic-svn-revision-number-in-source-code interesting idea, however i don't get how you would like to use it locally (in the local cop

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
Pavel Sanda wrote: Pavel Sanda wrote: Hum, another solution would be to use propset: svn propset svn:keywords "Rev" see http://dev.juokaz.com/php/automatic-svn-revision-number-in-source-code interesting idea, however i don't get how you would like to use it locally (in the local cop

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Pavel Sanda
Pavel Sanda wrote: > > Hum, another solution would be to use propset: > > > > svn propset svn:keywords "Rev" > > > > see http://dev.juokaz.com/php/automatic-svn-revision-number-in-source-code > > interesting idea, however i don't get how you would like to use it locally > (in the local copy you wi

Re: SVN revision number in InsetInfo?

2009-04-09 Thread rgheck
Kornel Benko wrote: Am 2009-04-09 schrieb Abdelrazak Younes: Kornel Benko wrote: Am 2009-04-09 schrieb Pavel Sanda: Pavel Sanda wrote: Kornel Benko wrote: try svnversion: #cd .../branch1.6 #svnversion 29157M b

Backporting Some BiblioInfo Improvements

2009-04-09 Thread rgheck
The attached patch backports r27635, r28193, r28194, r28220, r29094, and r29095. The point of these, taken together, is to improve the display of information in InsetCitation and GuiCitation, by gathering missing data from the crossref, if one is defined, basically as BibTeX does. OK? rh I

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Pavel Sanda
Abdelrazak Younes wrote: > Pavel Sanda wrote: >> Pavel Sanda wrote: >> > Kornel Benko wrote: >> >> try svnversion: >> >> >> >> #cd .../branch1.6 #svnversion 29157M >> > beware of the output, i just get 29123:29124M here... >> >> even worse, it doesn't produce version of the given file, which is

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Kornel Benko
Am 2009-04-09 schrieb Kornel Benko: > > 'svn status -v' is quite easy to parse too. And you get the current > > global revision as a bonus as well as the last committer. > > > > > > > > Why do you need it? Every new commit produces an new revision, which is > > > then valid for _all_ files. > >

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
Kornel Benko wrote: Am 2009-04-09 schrieb Abdelrazak Younes: Kornel Benko wrote: Am 2009-04-09 schrieb Pavel Sanda: Pavel Sanda wrote: Kornel Benko wrote: try svnversion: #cd .../branch1.6 #svnversion 29157M b

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Kornel Benko
Am 2009-04-09 schrieb Abdelrazak Younes: > Kornel Benko wrote: > > Am 2009-04-09 schrieb Pavel Sanda: > > > >> Pavel Sanda wrote: > >> > >>> Kornel Benko wrote: > >>> > try svnversion: > > #cd .../branch1.6 > #svnversion > 29157M > > >>> bewar

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
Pavel Sanda wrote: Pavel Sanda wrote: > Kornel Benko wrote: >> try svnversion: >> >> #cd .../branch1.6 #svnversion 29157M > beware of the output, i just get 29123:29124M here... even worse, it doesn't produce version of the given file, which is a must since different files can have different

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
rgheck wrote: Pavel Sanda wrote: Richard Heck wrote: There must be a way to do it at build time. That said, the TREE doesn't have a version in svn, so it's not immediately clear what to check. we dont want to check tree version but file version, ie to have revision-controled lyx fil

Re: SVN revision number in InsetInfo?

2009-04-09 Thread rgheck
Pavel Sanda wrote: Richard Heck wrote: There must be a way to do it at build time. That said, the TREE doesn't have a version in svn, so it's not immediately clear what to check. we dont want to check tree version but file version, ie to have revision-controled lyx file with automatic

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
Kornel Benko wrote: Am 2009-04-09 schrieb Pavel Sanda: Pavel Sanda wrote: Kornel Benko wrote: try svnversion: #cd .../branch1.6 #svnversion 29157M beware of the output, i just get 29123:29124M here... even worse, it doesn't produce version of the give

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Kornel Benko
Am 2009-04-09 schrieb Pavel Sanda: > Pavel Sanda wrote: > > Kornel Benko wrote: > > > try svnversion: > > > > > > #cd .../branch1.6 > > > #svnversion > > > 29157M > > > > beware of the output, i just get 29123:29124M here... > > even worse, it doesn't produce version of the given file, > whic

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Kornel Benko
Am 2009-04-09 schrieb Pavel Sanda: > Kornel Benko wrote: > > try svnversion: > > > > #cd .../branch1.6 > > #svnversion > > 29157M > > beware of the output, i just get 29123:29124M here... > pavel > But that is ok. Try 'svnversion --help' to see, what it means. ... 4123:4168 mix

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Pavel Sanda
Pavel Sanda wrote: > Kornel Benko wrote: > > try svnversion: > > > > #cd .../branch1.6 > > #svnversion > > 29157M > > beware of the output, i just get 29123:29124M here... even worse, it doesn't produce version of the given file, which is a must since different files can have different revi

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Pavel Sanda
Kornel Benko wrote: > try svnversion: > > #cd .../branch1.6 > #svnversion > 29157M beware of the output, i just get 29123:29124M here... pavel

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Pavel Sanda
Richard Heck wrote: > There must be a way to do it at build time. That said, the TREE doesn't > have a version in svn, so it's not immediately clear what to check. we dont want to check tree version but file version, ie to have revision-controled lyx file with automatical revision numbering when

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Kornel Benko
Am 2009-04-09 schrieb Abdelrazak Younes: > Kornel Benko wrote: > > Am 2009-04-09 schrieb Abdelrazak Younes: > > > >> I guess this is a question for Pavel... > >> > >> Would it be easy to add svn revision number (or git hash) in InsetInfo? > >> Well, once we have the number, this is easy to exten

Re: SVN revision number in InsetInfo?

2009-04-09 Thread rgheck
Pavel Sanda wrote: Abdelrazak Younes wrote: I guess this is a question for Pavel... Would it be easy to add svn revision number (or git hash) in InsetInfo? Well, once we have the number, this is easy to extend InsetInfo for that but how to get the number? actually - i was already try

Re: Problem with outline in 1.6.3svn

2009-04-09 Thread rgheck
Kornel Benko wrote: Am 2009-04-06 schrieb Kornel Benko: Hi, the problem is immediate crash when clicking on the outline-icon. I wanted to trace it down, but the recompiled version with "-O0 -g3 -D_NDEBUG" did not crash anymore. Doublechecking I recompiled again, this time with "-O3 -DNDEBUG"

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
Pavel Sanda wrote: Abdelrazak Younes wrote: I guess this is a question for Pavel... Would it be easy to add svn revision number (or git hash) in InsetInfo? Well, once we have the number, this is easy to extend InsetInfo for that but how to get the number? actually - i was already try

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
Kornel Benko wrote: Am 2009-04-09 schrieb Abdelrazak Younes: I guess this is a question for Pavel... Would it be easy to add svn revision number (or git hash) in InsetInfo? Well, once we have the number, this is easy to extend InsetInfo for that but how to get the number? svn 'status -v' g

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Pavel Sanda
Abdelrazak Younes wrote: > I guess this is a question for Pavel... > > Would it be easy to add svn revision number (or git hash) in InsetInfo? > Well, once we have the number, this is easy to extend InsetInfo for that > but how to get the number? actually - i was already trying to do this, but pa

Re: SVN revision number in InsetInfo?

2009-04-09 Thread Kornel Benko
Am 2009-04-09 schrieb Abdelrazak Younes: > I guess this is a question for Pavel... > > Would it be easy to add svn revision number (or git hash) in InsetInfo? > Well, once we have the number, this is easy to extend InsetInfo for that > but how to get the number? > svn 'status -v' gives too much i

SVN revision number in InsetInfo?

2009-04-09 Thread Abdelrazak Younes
I guess this is a question for Pavel... Would it be easy to add svn revision number (or git hash) in InsetInfo? Well, once we have the number, this is easy to extend InsetInfo for that but how to get the number? svn 'status -v' gives too much information... Ideas? Abdel.

Re: Problem with outline in 1.6.3svn

2009-04-09 Thread Kornel Benko
Am 2009-04-06 schrieb Kornel Benko: > Hi, > the problem is immediate crash when clicking on the outline-icon. > I wanted to trace it down, but the recompiled version with "-O0 -g3 > -D_NDEBUG" did not crash anymore. > Doublechecking I recompiled again, this time with "-O3 -DNDEBUG", and now the >