Re: Another assert

2008-02-22 Thread Andre Poenitz
On Fri, Feb 22, 2008 at 09:44:47AM +0200, Martin Vermeer wrote: > The X system should have a routine for doing that... Yes, but that's not available on Windows. Using QColor::setNamedColor() might be an option, void QColor::setNamedColor ( const QString & name ) Sets the RGB valu

Re: Another assert

2008-02-22 Thread Jean-Marc Lasgouttes
Martin Vermeer <[EMAIL PROTECTED]> writes: > Sounds like a plan. And it seems that these SVG colours actually include > the X colours. Looks good indeed. JMarc

Re: Another assert

2008-02-22 Thread Martin Vermeer
On Fri, 22 Feb 2008 10:04:33 +0100 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > Jean-Marc Lasgouttes wrote: > > Martin Vermeer <[EMAIL PROTECTED]> writes: > > > >>> or we > >>> need ColorSet::ColorSet() to include the hex values directly. Or else we > >>> need to hardcode the hex values wher

Re: Another assert

2008-02-22 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Martin Vermeer <[EMAIL PROTECTED]> writes: or we need ColorSet::ColorSet() to include the hex values directly. Or else we need to hardcode the hex values where they're wanted. Rather not. The ColorSet list should be able to contain official X11 names at that posit

Re: Another assert

2008-02-22 Thread Jean-Marc Lasgouttes
Martin Vermeer <[EMAIL PROTECTED]> writes: >> or we >> need ColorSet::ColorSet() to include the hex values directly. Or else we >> need to hardcode the hex values where they're wanted. > > Rather not. The ColorSet list should be able to contain official X11 names > at that position. I am not

Re: Another assert

2008-02-21 Thread Martin Vermeer
On Thu, 21 Feb 2008 14:49:12 -0500 rgheck <[EMAIL PROTECTED]> wrote: > Abdelrazak Younes wrote: > > Richard Heck wrote: > >> Richard Heck wrote: > >>> José Matos wrote: > After Richard fix I get an assertion. > > > >>> The problem is that lcolor.getX11Name(Color_shadedbg), on >

Re: Another assert

2008-02-21 Thread Abdelrazak Younes
rgheck wrote: Jean-Marc Lasgouttes wrote: Andre Poenitz <[EMAIL PROTECTED]> writes: I personally don't have a problem with hex numbers for colors. But I have no strong opinion on the whole subject. That would not be a bad solution. Is there some easy way to tell in svn who put th

Re: Another assert

2008-02-21 Thread rgheck
Jean-Marc Lasgouttes wrote: Andre Poenitz <[EMAIL PROTECTED]> writes: I personally don't have a problem with hex numbers for colors. But I have no strong opinion on the whole subject. That would not be a bad solution. Is there some easy way to tell in svn who put this code there?

Re: Another assert

2008-02-21 Thread Jean-Marc Lasgouttes
Andre Poenitz <[EMAIL PROTECTED]> writes: > I personally don't have a problem with hex numbers for colors. But I > have no strong opinion on the whole subject. That would not be a bad solution. JMarc

Re: Another assert

2008-02-21 Thread Andre Poenitz
On Thu, Feb 21, 2008 at 02:49:12PM -0500, rgheck wrote: > Abdelrazak Younes wrote: >> Richard Heck wrote: >>> Richard Heck wrote: José Matos wrote: > After Richard fix I get an assertion. > > The problem is that lcolor.getX11Name(Color_shadedbg), on LaTeXFeatures line

Re: Another assert

2008-02-21 Thread rgheck
Abdelrazak Younes wrote: Richard Heck wrote: Richard Heck wrote: José Matos wrote: After Richard fix I get an assertion. The problem is that lcolor.getX11Name(Color_shadedbg), on LaTeXFeatures line 636, is returning "red". I'll look to see why this is, but maybe someone else knows? Th

Re: Another assert

2008-02-20 Thread Abdelrazak Younes
Richard Heck wrote: Richard Heck wrote: José Matos wrote: After Richard fix I get an assertion. The problem is that lcolor.getX11Name(Color_shadedbg), on LaTeXFeatures line 636, is returning "red". I'll look to see why this is, but maybe someone else knows? This just looks like bad cod

Re: Another assert

2008-02-20 Thread Richard Heck
Richard Heck wrote: José Matos wrote: After Richard fix I get an assertion. The problem is that lcolor.getX11Name(Color_shadedbg), on LaTeXFeatures line 636, is returning "red". I'll look to see why this is, but maybe someone else knows? This just looks like bad code: LaTeXFeatures.c

Re: Another assert

2008-02-20 Thread Richard Heck
José Matos wrote: After Richard fix I get an assertion. The problem is that lcolor.getX11Name(Color_shadedbg), on LaTeXFeatures line 636, is returning "red". I'll look to see why this is, but maybe someone else knows? rh

Another assert

2008-02-20 Thread José Matos
After Richard fix I get an assertion. Assertion triggered in lyx::RGBColor lyx::rgbFromHexName(const std::string&) by failing check "x11hexname.size() == 7 && x11hexname[0] == '#'" infile Color.cpp:80 Program received signal SIGABRT, Aborted. [Switching to Thread 0xb7fd3940 (LWP 9744)] 0x001104