Re: [Cvslog] r22433 - in /lyx-devel/trunk: lib/ui/classic.ui lib/ui/st...

2008-01-10 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > i made a minimalistic backport upon the user request. Fine with me. Please add the bug number to the status.15x entry, though. Jürgen

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-10 Thread Abdelrazak Younes
Pavel Sanda wrote: Can't we just put the comments in the C++ file? This would even let us the keep the 'historical' lfun order. in case your clean-coding heart can accept this patch, i can move the doxies to .cpp file. That's a bit weird but I am fine with it provided that you explain the '

Re: [Cvslog] r22433 - in /lyx-devel/trunk: lib/ui/classic.ui lib/ui/st...

2008-01-10 Thread Pavel Sanda
> Log: > Add characters counting. i made a minimalistic backport upon the user request. Juergen? Index: src/buffer_funcs.h === --- src/buffer_funcs.h (revision 22485) +++ src/buffer_funcs.h (working copy) @@ -56,6 +56,9 @@ /// Co

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-10 Thread rgheck
Pavel Sanda wrote: the moment you put it outside of the lfuns.h into another file doxygen wont find it. i tried various "lyx::" & "kb_action::" prefixes permutations wihtout success. !$!$#%^*&%$&*&%#%#$%@@@ ! /*cough*/ /*cough*/ one spends hours of reading various docs to finally find

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-10 Thread Pavel Sanda
> Can't we just put the comments in the C++ file? > > This would even let us the keep the 'historical' lfun order. in case your clean-coding heart can accept this patch, i can move the doxies to .cpp file. pavel diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 243e2f9..513257a 100644 ---

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-10 Thread Pavel Sanda
> > Following this idea, the dox comment would look like this in > > LyXAction::init(): > > > > > > ev_item const items[] = { > > /** \var kb_action::LFUN_ACCENT_ACUTE > > fyi /*! \var > > > * \li Action: > > * \li Syntax: > > *

Re: [patch] fix bug 2608

2008-01-10 Thread Uwe Stöhr
Ich schrieb: The attached patch renames the math numbering functions correctly. The last patch was not ready, take this one instead. regards Uwe Index: lib/bind/math.bind === --- lib/bind/math.bind (revision 22480) +++ lib/bind/m

[patch] fix bug 2608

2008-01-10 Thread Uwe Stöhr
The attached patch renames the math numbering functions correctly. This fixes bug http://bugzilla.lyx.org/show_bug.cgi?id=2608 . regards Uwe Index: lib/ui/stdmenus.inc === --- lib/ui/stdmenus.inc (revision 22480) +++ lib/ui/stdmenus

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Hans Meine
On Donnerstag 10 Januar 2008, Hans Meine wrote: > No; you see that the menu item is checked, so you see that the > corresponding setting is enabled. I wanted to post the authoritative KDE > styleguide answer to this, but I cannot find any long discussion of this > topic anymore (I know this came u

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Hans Meine
On Donnerstag 10 Januar 2008, Uwe Stöhr wrote: > Jean-Marc Lasgouttes schrieb: > > No, when the line is numbered I see > > [X] Number this line > > which is pretty clear. > > I still don't get it: When the formula is already numbered I see a > checkmark indeed, but the menu name still states that

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: No, when the line is numbered I see [X] Number this line which is pretty clear. I still don't get it: When the formula is already numbered I see a checkmark indeed, but the menu name still states that the menu will number the formula. When it is not clear for m

Re: Preparing for release 1.6.0 (#0.01)

2008-01-10 Thread Bo Peng
> * alpha 1 - 15 February Right about time embedding can be tested publicly. The basic infrastructure is there but to make sure embedding works smoothly across platforms, under all editing operations would be a challenge. Bo

Re: Why do not we allow '../blah' in browseRelFile?

2008-01-10 Thread Bo Peng
> > > I would expect ../blah as valid relative file... > > > > BrowseFile is supposed to return an absolute path. Can I apply my proposed patch? I do not see any negative side effect of it. Bo

Re: Another Crash in Trunk

2008-01-10 Thread rgheck
Andre Poenitz wrote: On Thu, Jan 10, 2008 at 01:45:23AM -0500, rgheck wrote: When lyx2lyx fails with an error: gdb /cvs/lyx-devel/trunk/src/lyx --interpreter=mi2 -quiet(gdb) quitgdb Completely unrelated out of interest: Why do you use --interpreter=mi2? It does not give any advantages

Preparing for release 1.6.0 (#0.01)

2008-01-10 Thread José Matos
Hi, I think that now the major changes have landed in development we are ready to prepare the next stable version. So (without further) delays I propose the following schedule for the next two releases: * alpha 1 - 15 February * beta 1 - 15 March As us

Re: Another Crash in Trunk

2008-01-10 Thread Andre Poenitz
On Thu, Jan 10, 2008 at 01:45:23AM -0500, rgheck wrote: > > When lyx2lyx fails with an error: > gdb /cvs/lyx-devel/trunk/src/lyx --interpreter=mi2 -quiet(gdb) quitgdb Completely unrelated out of interest: Why do you use --interpreter=mi2? It does not give any advantages when used 'manually', does

Re: [PATCH] Modules Update

2008-01-10 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > No. Have a look at the method layouts_l10n in lyx_pot.py for a model. You might also have to tweak Makefile and Scons. Have a look here for how I did something similar to translate the external inset files (the first two chunks of the patch are not relevant): http://w

Re: [PATCH] Modules Update

2008-01-10 Thread Jürgen Spitzmüller
rgheck wrote: > So, we need some code in po/lyx_pot.py. Do I then just pass the relevant > strings through qt_()? E.g., something like: QString desc = > qt_(module.getDescription())? No. Have a look at the method layouts_l10n in lyx_pot.py for a model. BTW I think the layouts/ folder gets a bit c

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: >> Uwe Stöhr <[EMAIL PROTECTED]> writes: >> >>> But no matter, this menu entry still toggles the numbering: Use it on >>> an already numbered formula and you get it unnumbered. This behaviour >>> is OK and shouldn't be tou

Re: Crash Info

2008-01-10 Thread rgheck
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: There is a text object (Buffer::Impl::inset) but Text::pars_ is empty on construction. Maybe we should create an empty paragraph there. I see now. I you say it is safe, I believe you. But adding an empty paragra

Re: Crash Info

2008-01-10 Thread rgheck
Abdelrazak Younes wrote: rgheck wrote: It's hard to tell with all the optimization in the code, So this isn't a debug build? Yes, it is. I mean the debugger reports that the crucial variables are optimized out, so I can't be sure what they are. but it looks like the error is here: Paragr

RE: Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Leuven, E.
Abdel wrote: >Jean-Marc Lasgouttes wrote: > [X] Number this line >[X] Line numbering activated why not a bit less verbose: [X] Line Number

Re: [PATCH] Modules Update

2008-01-10 Thread rgheck
Jean-Marc Lasgouttes wrote: Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: rgheck wrote: By the way: Anyone have views about translation issues here? I haven't addressed those and don't have much (well, any) experience with that sort of issue. A proper solution would involve having tra

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Uwe Stöhr <[EMAIL PROTECTED]> writes: But no matter, this menu entry still toggles the numbering: Use it on an already numbered formula and you get it unnumbered. This behaviour is OK and shouldn't be touched. But the menu entry should still have the word "toggled" a

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > But no matter, this menu entry still toggles the numbering: Use it on > an already numbered formula and you get it unnumbered. This behaviour > is OK and shouldn't be touched. But the menu entry should still have > the word "toggled" as this it what it does.

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > Uwe Stöhr wrote: >> Where is a checkbox? > > You don't see it in the menu? I think it is a specificity of qt4 on X11 that the checkbox is always visible. However, the other menu entries that have toggle semantics do not have Toggle in their name.

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > Where is a checkbox? You don't see it in the menu? > But no matter, this menu entry still toggles the numbering: Use it on an > already numbered formula and you get it unnumbered. This behaviour is OK > and shouldn't be touched. But the menu entry should still have the word > "

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Uwe Stöhr
> The entries were: > - Item "Toggle Numbering|N" "math-number" > - Item "Toggle Numbering of Line|u" "math-nonumber" > > Now that there is a checkbox (which is useful IMO), the word 'toggle' > is not appropriate anymore (already implied by the check mark). Where is a

Re: Crash Info

2008-01-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: There is a text object (Buffer::Impl::inset) but Text::pars_ is empty on construction. Maybe we should create an empty paragraph there. I see now. I you say it is safe, I believe you. But adding an empty paragraph would

Re: Crash Info

2008-01-10 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > There is a text object (Buffer::Impl::inset) but Text::pars_ is empty > on construction. Maybe we should create an empty paragraph there. I see now. I you say it is safe, I believe you. But adding an empty paragraph would be safer (we do it on new d

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-10 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > Hello JMarc, > > I'm writing currently a math manual and thus want to have clear menu > entris. So I'm interested why you renamed the toglle numbering menu > entry, see my post about this below: Hello Uwe, sorry if I did not answer earlier to your message.

Re: LFUN Docs and LFUN Order

2008-01-10 Thread christian . ridderstrom
On Thu, 10 Jan 2008, Jean-Marc Lasgouttes wrote: [EMAIL PROTECTED] writes: As you say, alphabetical sort can be done through a script later. However, this is also true for a thematical order - we could place a category tag in each entry and then sort according to that tag. E.g. LFUN-t

Re: Crash Info

2008-01-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Quite possibly. Text::pars_ is empty at construction and a non-loaded buffer doesn't change that fact. This commit should do it. Is this possibility due to your reorganizations? This is due to additional new checks in

Re: Crash Info

2008-01-10 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Quite possibly. Text::pars_ is empty at construction and a non-loaded > buffer doesn't change that fact. This commit should do it. Is this possibility due to your reorganizations? You are fixing 1 case, but I suspect many code snippets could fail in

Re: [PATCH] Modules Update

2008-01-10 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > rgheck wrote: >> By the way: Anyone have views about translation issues here? I haven't >> addressed those and don't have much (well, any) experience with that >> sort of issue. A proper solution would involve having translations of >> the module de

Re: Russian translation for LyX

2008-01-10 Thread Jürgen Spitzmüller
Andrey V. Panov wrote: > > > The entry  for "Review": > > > #: lib/layouts/iopart.layout:72 lib/ui/stdtoolbars.inc:186 > > > msgid "Review" > > >  should be splitted, meanings are different. > > > > What are the different meanings? > > The first is a kind of article, the second is the name of toolb

Re: Crash Info

2008-01-10 Thread Abdelrazak Younes
rgheck wrote: It's hard to tell with all the optimization in the code, So this isn't a debug build? but it looks like the error is here: Paragraph & CursorSlice::paragraph() const { return text()->getPar(pit_); } and that it's pit_ that is invalid: pit_ is 0, but there's nothing in text

Re: Crash in Trunk

2008-01-10 Thread Abdelrazak Younes
rgheck wrote: Abdelrazak Younes wrote: Please see if this helps: URL: http://www.lyx.org/trac/changeset/22473 I'll test it tomorrow. Time for bed Fine. Time to really work for me ;-) Abdel.

Re: [PATCH] Modules Update

2008-01-10 Thread Jürgen Spitzmüller
rgheck wrote: > By the way: Anyone have views about translation issues here? I haven't > addressed those and don't have much (well, any) experience with that > sort of issue. A proper solution would involve having translations of > the module descriptions in the module files themselves, I would sup

Re: Crash in Trunk

2008-01-10 Thread rgheck
Abdelrazak Younes wrote: Please see if this helps: URL: http://www.lyx.org/trac/changeset/22473 I'll test it tomorrow. Time for bed rh

Crash Info

2008-01-10 Thread rgheck
It's hard to tell with all the optimization in the code, but it looks like the error is here: Paragraph & CursorSlice::paragraph() const { return text()->getPar(pit_); } and that it's pit_ that is invalid: pit_ is 0, but there's nothing in text(). I think rh

Re: Crash in Trunk

2008-01-10 Thread Abdelrazak Younes
rgheck wrote: Abdelrazak Younes wrote: rgheck wrote: Abdelrazak Younes wrote: rgheck wrote: Happened while it was just sitting there. I've seen this several times. But this doesn't look like a sane backtrace, did you forgot to type bt? As non-sane as it may look, that's exactly what I go

Re: LFUN Docs and LFUN Order

2008-01-10 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > As you say, alphabetical sort can be done through a script later. > However, this is also true for a thematical order - we could place a > category tag in each entry and then sort according to that tag. E.g. > > LFUN-type = Cursor Movement We already have this in

Re: Crash in Trunk

2008-01-10 Thread rgheck
Abdelrazak Younes wrote: rgheck wrote: Abdelrazak Younes wrote: rgheck wrote: Happened while it was just sitting there. I've seen this several times. But this doesn't look like a sane backtrace, did you forgot to type bt? As non-sane as it may look, that's exactly what I got when I typed

Re: Crash in Trunk

2008-01-10 Thread Abdelrazak Younes
rgheck wrote: Abdelrazak Younes wrote: rgheck wrote: Happened while it was just sitting there. I've seen this several times. But this doesn't look like a sane backtrace, did you forgot to type bt? As non-sane as it may look, that's exactly what I got when I typed bt. OK. It seems that t