Re: how to get current cell in insettabular?

2004-11-15 Thread Alfredo Braunstein
Georg Baum wrote: > Am Montag, 15. November 2004 15:05 schrieb Alfredo Braunstein: >> I thought that dialogs were associated with insets somehow. No idea > how ;-) > > The only connection I found so far is parameter exchange via the mailers > in string form. Right. In fact the "association" woul

[Patch] gtk VSpace dialog

2004-11-15 Thread John Spray
This patch adds a gtk VSpace dialog, as well as a function in ghelpers to get a list of units excluding the percentage units. John ? tmp Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/gtk/ChangeLog,v re

Re: how to get current cell in insettabular?

2004-11-15 Thread Georg Baum
Am Montag, 15. November 2004 15:05 schrieb Alfredo Braunstein: > I thought that dialogs were associated with insets somehow. No idea how ;-) The only connection I found so far is parameter exchange via the mailers in string form. > We could just apply the change to the most inner InsetTabular.

Re: [patch] search for more converters, viewers and editors

2004-11-15 Thread Georg Baum
Am Samstag, 13. November 2004 13:30 schrieb John Spray: > On Fri, 2004-11-12 at 19:06 +0100, Georg Baum wrote: > > Is this ok to apply? Do you have better suggestions for the text viewer and > > editor? I just added what came to mind (and ignored windows completely). > > If we're nominating text

Re: [PATCH] Bug 1739: The optional argument inset does not propagate the NeedProtect flag

2004-11-15 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: Jean-Marc> The following patches intend to fix bug 1739. Basically, Jean-Marc> the problem was that InsetOptArg::latexOptional did not Jean-Marc> honor correctly the moving_arg parameter of the

Re: [PATCH][Bug 1720] LyX/Mac: Menus are not correctly disabled when a dialog has focus

2004-11-15 Thread Bennett Helm
On Nov 15, 2004, at 11:38 AM, Jean-Marc Lasgouttes wrote: Could you try the following updated patch? I forgot the case of command-sequence. The updated patch fixes the problems with the Insert menu. Bennett

Re: [PATCH][Bug 1720] LyX/Mac: Menus are not correctly disabled when a dialog has focus

2004-11-15 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> Yes, there is a difference (for the better!) with the patch Bennett> applied. I meant to say that I'd leave your criterion (as Bennett> used in the most recent patch) as is: everything that does Bennett> not apply to the current

Re: Program Icons

2004-11-15 Thread John Spray
On Mon, 2004-11-15 at 23:31 +0800, Benjamin Lau Wei Yii wrote: > Is there any way for me to have my gtkmm exe file in Windows bear an > icon, other than the default for all applications? I've attached the icon that I use (derived from a graphic on the website). You'll probably have to convert it

[PATCH] typo in MathHullInset::getStatus

2004-11-15 Thread Jean-Marc Lasgouttes
While looking at MathHullInset::getStatus, I found the following typo. I'll apply in a minute. JMarc Index: src/mathed/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/ChangeLog,v retrieving revision 1.450 diff -

Re: GUI Independence page

2004-11-15 Thread Jean-Marc Lasgouttes
> "John" == John Spray <[EMAIL PROTECTED]> writes: John> Hi, Attached updates the progress of the GTK port on guii.php3. I applied it. JMarc

Re: ftp.lyx.org/pub/lyx proposal

2004-11-15 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> The only update was on Angus suggested paragraph. Other than Jose'> that it remains the same. If you want I can replace it ans send Jose'> again. Yes, please, I did not keep the thread. Also there was some discussion on removing qt

Re: ftp.lyx.org/pub/lyx proposal

2004-11-15 Thread Jose' Matos
On Monday 15 November 2004 11:12, Jean-Marc Lasgouttes wrote: > > "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: > > José> Hello, here is what I propose for ftp.lyx.org/pub/lyx > > Jose, do you still plan to update this proposal, or am I supposed to > do the work? The only

GUI Independence page

2004-11-15 Thread John Spray
Hi, Attached updates the progress of the GTK port on guii.php3. John Index: guii.php3 === RCS file: /cvs/lyx/www-devel/guii.php3,v retrieving revision 1.71 diff -u -p -r1.71 guii.php3 --- guii.php3 2004/09/26 08:25:49 1.71 +++ guii.p

Re: [PATCH] Bug 1739: The optional argument inset does not propagate the NeedProtect flag

2004-11-15 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > It should not be too difficult. Too difficult for me obviously. > I'll take a look. Thanks. Jürgen

Re: [Patch] gtk Float dialog

2004-11-15 Thread John Spray
On Mon, 2004-11-15 at 15:04 +, John Spray wrote: > Not massively complicated, seems to work. > > John > And here it is, now that my brain's caught up with my hands :-) Index: Dialogs.C === RCS file: /usr/local/lyx/cvsroot/lyx-de

[Patch] gtk Float dialog

2004-11-15 Thread John Spray
Not massively complicated, seems to work. John

Re: [PATCH] Bug 1739: The optional argument inset does not propagate the NeedProtect flag

2004-11-15 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> BTW do you have an idea on how to restore the possibility for Juergen> two optional arguments as discussed here? Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=724 Juergen> I had a look at the code and I must confess t

Re: [PATCH] make insetlatexaccents real letters

2004-11-15 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> This patch makes sure that insetlatexaccents are considered Jean-Marc> as normal letters by the code that handles words Jean-Marc> (word-backward/f

Re: how to get current cell in insettabular?

2004-11-15 Thread Alfredo Braunstein
Alfredo Braunstein wrote: > Something like > > for (unsigned i = cur.size() - 1; i >= 0; --i) > ifÂ(cur[i].inset().lyxCode()Â==ÂInsetBase::TABULAR_CODE) { > in = cur[i].inset(); > idxÂ=Âcur[i].idx(); > ... > } Better use a ">" or an int and a

Re: [PATCH][Bug 1720] LyX/Mac: Menus are not correctly disabled when a dialog has focus

2004-11-15 Thread Bennett Helm
On Nov 12, 2004, at 9:57 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> If that's not possible, then I'd say leave it as it is. I Bennett> think the chances of confusion are minimal. What is "as it is"? With the patch applied, or without? Did you see

Re: [PATCH] Bug 1739: The optional argument inset does not propagate the NeedProtect flag

2004-11-15 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Jean-Marc> The following patches intend to fix bug 1739. Basically, > Jean-Marc> the problem was that InsetOptArg::latexOptional did not > Jean-Marc> honor correctly the moving_arg parameter of the enclosing > Jean-Marc> paragraph. > > I applied it to HEAD and BRANCH_1

Re: how to get current cell in insettabular?

2004-11-15 Thread Alfredo Braunstein
Georg Baum wrote: > Alfredo Braunstein wrote: > >> Btw, please shout if you need a hand with the cursor stuff. > > I don't understand it, but I figured out that I somehow need idx(), and > that is enough for now. > >> For "in" being the pointer to the tabular, you could do something like > > T

Re: [PATCH] make insetlatexaccents real letters

2004-11-15 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> This patch makes sure that insetlatexaccents are considered Jean-Marc> as normal letters by the code that handles words Jean-Marc> (word-backward/forward, word-select). Jean-Marc> I'll apply it shortly. Done. JMarc

Re: VSpace and lengths

2004-11-15 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Hm, I noticed that LyXGlueLength::asLaTexString does not Juergen> transform the %-values correctly (as Juergen> LyXLength::asLaTeXString). This would require some more Juergen> coding, and I think I'd rather postpone this

Re: VSpace and lengths

2004-11-15 Thread Juergen Spitzmueller
Am Montag, 15. November 2004 12:00 schrieb Jean-Marc Lasgouttes: > Juergen> I think that screen representation will be just o.k. as is. > Juergen> We'd just need to delete the deletion of %-units in the > Juergen> frontends. > > In any case, avoiding to remove %-units will simplify the code, so it

Re: [PATCH] Bug 1739: The optional argument inset does not propagate the NeedProtect flag

2004-11-15 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> The following patches intend to fix bug 1739. Basically, Jean-Marc> the problem was that InsetOptArg::latexOptional did not Jean-Marc> honor correctly the moving_arg parameter of the enclosing Jean-Marc> paragraph. I

Re: [patch] CoordBranch

2004-11-15 Thread Juergen Spitzmueller
Alfredo Braunstein wrote: > Those who want to accelerate the process should ckeckout the branch and > give some feedback. ;-) I had a quick look (qt frontend). Looks very impressing indeed (UserGuide loads super fast, compared with HEAD, which is very slow). I cannot say why, but the whole thing

Re: how to get current cell in insettabular?

2004-11-15 Thread Georg Baum
Alfredo Braunstein wrote: > Btw, please shout if you need a hand with the cursor stuff. I don't understand it, but I figured out that I somehow need idx(), and that is enough for now. > For "in" being the pointer to the tabular, you could do something like The problem is now: How to get "in" fr

Re: [PATCH] make insetlatexaccents real letters

2004-11-15 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Mon, Nov 15, 2004 at 12:10:40PM +0100, Jean-Marc Lasgouttes Andre> wrote: >> So, we have two different definitions of what a word is, one being >> by inclusion and the other by exclusion. I am not sure what is the >> best way to

Re: Fix #1736

2004-11-15 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> So, could you tell me what the font-free-apply does? Andre> Huh? There: + Item "Superscript|S" "command-sequence math-mode on; math-superscript ; font-free-apply; " + Item "Subscript|u" "command-sequence

Re: [PATCH] make insetlatexaccents real letters

2004-11-15 Thread Andre Poenitz
On Mon, Nov 15, 2004 at 12:10:40PM +0100, Jean-Marc Lasgouttes wrote: > So, we have two different definitions of what a word is, one being by > inclusion and the other by exclusion. I am not sure what is the best > way to define a word. Note that the isp_esc_char stuff should move to > ControlSpell

Re: Fix #1736

2004-11-15 Thread Andre Poenitz
On Mon, Nov 15, 2004 at 12:11:44PM +0100, Jean-Marc Lasgouttes wrote: > > "Kornelia" == Kornelia Pietsch <[EMAIL PROTECTED]> writes: > > Kornelia> Patch attached. I'll commit in a minute. > > So, could you tell me what the font-free-apply does? Huh? Andre'

Boost Upgrade - 1.32

2004-11-15 Thread Lars Gullik Bjønnes
Boost is about to release a new stable version in a very short time now. When it is out I will update out in-tree copy of the boost sources to this version. Consider this a heads-up. -- Lgb

Re: Fwd: Re: Cygwin and 1.3.5

2004-11-15 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes: Michael> this problem looks quite familiar to me. It's a gcc/cygwin Michael> bug! Michael> You can fix it easily by commenting out all Michael>#pragma interface Michael> statements in the LyX code. Best thing is to write a tiny

Re: ftp.lyx.org/pub/lyx proposal

2004-11-15 Thread Jean-Marc Lasgouttes
> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: José> Hello, here is what I propose for ftp.lyx.org/pub/lyx Jose, do you still plan to update this proposal, or am I supposed to do the work? JMarc

Re: Fix #1736

2004-11-15 Thread Jean-Marc Lasgouttes
> "Kornelia" == Kornelia Pietsch <[EMAIL PROTECTED]> writes: Kornelia> Patch attached. I'll commit in a minute. So, could you tell me what the font-free-apply does? JMarc

Re: [PATCH] make insetlatexaccents real letters

2004-11-15 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> When you are at it you could check whether all of these IsKomma Andre> etc methods are still used after applying your patch. Andre> [The name alone suggests that this is _really_ ancient code. Andre> Maybe even some artifacts of Ma

Re: VSpace and lengths

2004-11-15 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: >> You should be careful though about the screen representation of >> such a length. Juergen> I think that screen representation will be just o.k. as is. Juergen> We'd just need to delete the deletion of %-units in the Juergen> f

Re: [Patch] gtk menu icons, stock icons in toolbar & menubar

2004-11-15 Thread John Spray
On Mon, 2004-11-15 at 10:14 +0100, Jean-Marc Lasgouttes wrote: > + // Choose an icon from the funcrequest > + Gtk::BuiltinStockID stockID = > getGTKStockIcon(i->func()); > + Glib::ustring xpmName = > +

Re: [Patch] gtk Box dialog

2004-11-15 Thread John Spray
> Isn't 'else' supported in C++? Darn, I knew there was some keyword I'd forgotten :-) John

Re: help debugging CoordBranch

2004-11-15 Thread Alfredo Braunstein
Georg Baum wrote: > Assertion triggered in Point CoordCache::get(const LyXText*, int) by > failing check "it != pars_.end()" in file ../../src/coordcache.C:42 > ? > - some files are not rendered if loaded via commandline. The splash screen > stays instead visible, but with a blinking cursor. Afte

Re: [Patch] gtk menu icons, stock icons in toolbar & menubar

2004-11-15 Thread Jean-Marc Lasgouttes
> "John" == John Spray <[EMAIL PROTECTED]> writes: John> This patch does two things: -Add getGTKStockIcon function for John> using gtk stock icons where available in menus and toolbars. John> -Put icons next to command items in menus. John> Note that GMenubar.C now includes ToolbarBackend.h f

Re: [patch] CoordBranch

2004-11-15 Thread Alfredo Braunstein
Lars Gullik BjÃnnes wrote: > | In any case, you should start to consider merging your branch back to > | HEAD > > Is it _really_ better already? I think it is, but I have no hurry at all. > We should not hurry to get this back into head. Those who want to accelerate the process should ckec