Re: [Devel] An ugly bug...

2002-02-27 Thread Martin Vermeer
On Wed, Feb 27, 2002 at 08:10:49AM +0200, Martin Vermeer wrote: > Yes, now I get it! > > The secret seems to be that you cut out the two sub-enums as follows: > > > std std std > > 1. > ++ > (a)!| > ++| > | (b) | > +-+ > > std std std > > Note especi

Re: Excessive code, Act II?

2002-02-27 Thread Martin Vermeer
Have a look at text2.C, the two routines setCharFont! They are almost identical, except for an extra argument and a dozen lines of extra code at the start of one. Otherwise -- carbon copies! It wouldn't be too hard to merge them, with a conditional around the difference code. Would save easily

Re: Compiler warnings

2002-02-27 Thread Martin Vermeer
On Wed, Feb 27, 2002 at 09:34:06PM +0100, Lars Gullik Bjønnes wrote: ... > [1] I have three trees, one with the paragraph changes, one with > layout as string and a third with textclass as string in addition to > layout as string. > > -- > Lgb What about just putting either of the last

½»ÓÑ

2002-02-27 Thread Сϼ
ÅóÓÑÄúºÃ£¡ СϼÖÔÐÄ×£ÄúÂíÄê´ó¼ª£¡ СϼÓÐÒ»ÍøÕ¾£¬¡¶ÐÝÏгDZ¤¡·http://zjyzx.126.com СϼԸÒâÓëÎÄÃ÷µÄÍøÕ¾»¥×öÁ´½Ó£¡ СϼԸÒâÓëËùÓÐÉÆÒâµÄÈ˽»ÓÑ£¡ ÈçÄúÓÐÐËȤ£¬¿´¿´ÒÔÏÂÍøÖ·£¬ÏàÐŶÔÄú»áÓаïÖú£¡http://go1.163.com/wtootw2001 С ϼ

Re: graphics now working?

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 10:35:59PM -0400, Garst R. Reese wrote: > The PSView still works, but the Lyx view is either blank, says loaded > but not displayed, or is of such poor resolution that it is useless. > I think that .ps graphics do not translate well into .xpm graphics, but wait a while fo

Make dist problem

2002-02-27 Thread Kayvan A. Sylvan
This small patch finishes the removal of the vms_define.h: -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) Ind

Re: [Devel] "Child processes" menu item

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 11:33:48PM +0100, Michael Schmitt wrote: > I guess you have added the dialog for testing purposes only, haven't > you? (Please, please say "yes") I agree to a small degree. I don't see the purpose of the dialog john -- "This is just the kind of crackpot scheme I've be

Re: [Devel] Graphics - redraw problem

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 11:29:46PM +0100, Michael Schmitt wrote: > a table is not resized after a graphics is converted. See attachment. known problem, jug said he'll look. maybe he can fix the other regression too ... john -- "This is just the kind of crackpot scheme I've been looking to cha

Re: updated graphics patch

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 09:28:59PM +0100, Lars Gullik Bjønnes wrote: > | It's 115k of ^-.*$ > > You can at least do the FIXME part a bit nicer... > > We really do not want the extern there, even in some fixme clause. the uglier the code, the more chance it'll get fixed properly. OK, maybe not.

Re: [Devel] Compiler warnings

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 09:12:01PM +0100, Michael Schmitt wrote: > Hi, pleeease stop sending to both devel and lyx-devel, it's driving me mad. especially as my duplicate-post remover doesn't work any more thanks john > gcc-2.95.3 reports quite a lot of warnings. Maybe somebody likes to have >

CVS doesn't compile

2002-02-27 Thread Dekel Tsur
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -O -fno-rtti -fno-exceptions -W -Wall -Wp,-MD,.deps/forkedcontr.pp -c forkedcontr.C In file included from forkedcontr.C:19: forkedcontr.h:77: warning: class ForkedcallsController' only defines

Compiler warnings

2002-02-27 Thread Michael Schmitt
Hi, gcc-2.95.3 reports quite a lot of warnings. Maybe somebody likes to have a look at them... Michael formulabase.C:812: warning: #warning pretty ugly math_cursor.C:834: warning: #warning This should probably take cellXOffset and cellYOffset into account math_gridinset.C:44: warning: #warni

Re: [Devel] Bug list is shrinking!

2002-02-27 Thread Michael Schmitt
Lars Gullik Bjønnes wrote: >>>| - Why is there a height field for minipages in the file format? >>>You cannot set it in the dialog Where is the bug? >>> > > Add it as a feature request: The possibility to set the height of a > minipage. InsetMinipage supports it, it is the gui that does not > su

Re: [Devel] Bug list is shrinking!

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 09:03:31PM +0100, Lars Gullik Bjønnes wrote: > | Not a crash in the sense that LyX says good-bye. But as you can see > | from the backtrace above LyX tries to access memory that is not > | initialized properly. IMHO this is almost equivalent to a crash. > > Nahh depen

Re: Need help on getting started with LyX development

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 10:50:25AM +, Ananda Samaddar wrote: > I checked the LyX development web site, but the link to the LyX developer's > guide appears to be broken. Does anyone have a copy of it? Preferably in I don't know where it went, at all. No-one ever seems to answer this parti

Re: [Devel] Bug list is shrinking!

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 08:35:20PM +0100, Michael Schmitt wrote: > >| ==3527== Use of uninitialised CPU condition code > >| ==3527==at 0x814407C: InsetExternal::doSubstitution(Buffer const > >*, lyxstring const &) const (insetexternal.C:238) > >| ==3527==by 0x81445FD: InsetEx

Re: graphics now working?

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 7:12 pm, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Forget it. It isn't going to happen! > > IMHO a serious regression from figinset. > > | The graphics cache is external to any > | buffer and isn't going to know anything about on

Re: graphics now working?

2002-02-27 Thread Herbert Voss
Angus Leeming wrote: >>remember that the minipage works very will with this feature! >>And it's a good idea to have the images like the workarea width >>which is the same than %t for the lyxview. >> > > Forget it. It isn't going to happen! The graphics cache is external to any > buffer and isn'

Re: BadWindow people

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 07:06:51PM +, Angus Leeming wrote: > Anyway, this isn't going to break anything is it? Shall I just apply it and > we'll see if the compliants go away? yes (btw, there is still the XSync in file dialog, I dno't know if it's helpful > Do we still need the processEven

Re: BadWindow people

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 6:18 pm, John Levon wrote: > > please try the attached workaround and try and reproduce the problem > > thanks > john Anyway, this isn't going to break anything is it? Shall I just apply it and we'll see if the compliants go away? Do we still need the processEven

Re: BadWindow people

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 6:57 pm, John Levon wrote: > On Wed, Feb 27, 2002 at 06:56:31PM +, Angus Leeming wrote: > > > I know that this isn't in the spirit you would like, but I HATE goto > > statements. They give me nightmares about my fortran coding days. > > this is really just exce

Re: BadWindow people

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 06:57:39PM +, John Levon wrote: > This particular use of goto's is IMHO perfectly sane, and perfectly readable. but in this case I can just use break anyway ... john -- "This is just the kind of crackpot scheme I've been looking to champion!!!" - P.M. Hartk

Re: graphics now working?

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 6:55 pm, Herbert Voss wrote: > Angus Leeming wrote: > > >>%t still makes sense > >> > > > > What? On the LyX screen? I think that the only ones that make sense here are > > "cm" and "in" myself. > > > > Anyway, the graphics cache has no idea about these things b

Re: BadWindow people

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 06:56:31PM +, Angus Leeming wrote: > I know that this isn't in the spirit you would like, but I HATE goto > statements. They give me nightmares about my fortran coding days. this is really just exception-style without real exceptions. The alternative is duplicating c

Re: BadWindow people

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 6:49 pm, John Levon wrote: > On Wed, Feb 27, 2002 at 06:18:13PM +, John Levon wrote: > > > +out: > > + GUIRunTime::processEvents(); > > + XSync(fl_get_display(), false); > > + return ret; > > } > > actually remove the processEvents() - it breaks double cl

Re: Text mode inside math bug.

2002-02-27 Thread John Levon
On Mon, Feb 18, 2002 at 11:45:29PM -0300, Joao Luis Meloni Assirati wrote: > I mean, when already in math mode, math-mode command used to switch to > text within math in previous versions of lyx. That is, it was a toggle > between text mode and math mode. Andre ? john -- "This is just the k

Re: graphics now working?

2002-02-27 Thread Herbert Voss
Angus Leeming wrote: >>%t still makes sense >> > > What? On the LyX screen? I think that the only ones that make sense here are > "cm" and "in" myself. > > Anyway, the graphics cache has no idea about these things because it doesn't > know anything about the size of the work area. Nor will i

Re: BadWindow people

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 06:18:13PM +, John Levon wrote: > +out: > + GUIRunTime::processEvents(); > + XSync(fl_get_display(), false); > + return ret; > } actually remove the processEvents() - it breaks double click and hopefully isn't necessary john -- "This is just the kind o

Re: updated graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 6:33 pm, Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | On Wed, Feb 27, 2002 at 07:12:05PM +0100, Lars Gullik Bjønnes wrote: > > > >> He is probably too busy. > > > | Then can someone commit it ? > > > | Lars, it really is almost entirely c

Re: graphics now working?

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 6:34 pm, Herbert Voss wrote: > Angus Leeming wrote: > > > On Thursday 28 February 2002 7:04 am, Juergen Spitzmueller wrote: > > > >>Angus Leeming wrote: > >> > >>>I pray and trust that things now work as they should and that I can > >>>do something else for a while!

BadWindow people

2002-02-27 Thread John Levon
please try the attached workaround and try and reproduce the problem thanks john -- "This is just the kind of crackpot scheme I've been looking to champion!!!" - P.M. Hartke on 6U campaign Index: src/frontends/xforms//FormBase.C ===

Re: updated graphics patch

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 07:33:08PM +0100, Lars Gullik Bjønnes wrote: > Can you post it here first? again ! ok > Unless it is really large just post it as text/plain. It's 115k of ^-.*$ regards john -- "This is just the kind of crackpot scheme I've been looking to champion!!!" - P.

Re: graphics now working?

2002-02-27 Thread Herbert Voss
Angus Leeming wrote: > On Thursday 28 February 2002 7:04 am, Juergen Spitzmueller wrote: > >>Angus Leeming wrote: >> >>>I pray and trust that things now work as they should and that I can >>>do something else for a while! >>> >>Great work! Apologies, I've found another two (related?) issues: >>

Re: graphics now working?

2002-02-27 Thread Angus Leeming
On Thursday 28 February 2002 7:04 am, Juergen Spitzmueller wrote: > Angus Leeming wrote: > > I pray and trust that things now work as they should and that I can > > do something else for a while! > > Great work! Apologies, I've found another two (related?) issues: > > - In Lyxview, all percent v

Re: [patch] (html)URL - inset

2002-02-27 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: >>"Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: >> > > Dekel> There is also tex4ht. Also, there is the \href command in the > Dekel> hyperref.sty. > > This is getting more interesting! How well is this command supported > by translators? Herbert? > > The

Re: updated graphics patch

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 07:12:05PM +0100, Lars Gullik Bjønnes wrote: > He is probably too busy. Then can someone commit it ? Lars, it really is almost entirely code removal, apart from a small change to code that is not worse than what was there before. regards john -- "This is just the kind

Re: graphics now working?

2002-02-27 Thread Juergen Spitzmueller
Angus Leeming wrote: > I pray and trust that things now work as they should and that I can > do something else for a while! Great work! Apologies, I've found another two (related?) issues: - In Lyxview, all percent values (%p, %t, %c) don't seem to work. It's always original size. - When inser

graphics now working?

2002-02-27 Thread Angus Leeming
I've just submitted a patch to cvs that should cure that crash on exit from LyX properly without introducing a memory leak. I've also given the image loader the ability to load XPM files with crappy color strings. You'll even get a nice message telling you to upgrade your copy of convert! I p

Re: updated graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 5:05 pm, John Levon wrote: > On Wed, Feb 27, 2002 at 03:53:19PM +, Angus Leeming wrote: > > > Not fixed. Fudged. Could you see if this fixes it properly. > > yes. valgrind is happy. > > john Hoorah, hoorah, hoorah.

Re: [patch] (html)URL - inset

2002-02-27 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> There is also tex4ht. Also, there is the \href command in the Dekel> hyperref.sty. This is getting more interesting! How well is this command supported by translators? Herbert? The syntax is \href{URL}{text}. It seems that hevea sup

Re: updated graphics patch

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 03:53:19PM +, Angus Leeming wrote: > Not fixed. Fudged. Could you see if this fixes it properly. yes. valgrind is happy. john -- "This is just the kind of crackpot scheme I've been looking to champion!!!" - P.M. Hartke on 6U campaign

Re: LyX Migration

2002-02-27 Thread Rainer Dorsch
Hello Eildert, we are using LyX here at university for maintaining large documents. > Hello everyone, > we are currently considering spreading the use of LyX in the public > scientific (and administration) community beyond the traditional Unix > clientel, trying in a possibly rather well funde

Re: new graphics

2002-02-27 Thread Edwin Leuven
On Wednesday 27 February 2002 14:56, Angus Leeming wrote: > On Wednesday 27 February 2002 1:03 pm, Edwin Leuven wrote: > > It didn't. > > So, I'm confused here. You have an empty Data d-tor and you stilll crash? no after your little patch it looked like GImageXPM::Data::~Data() { if (col

Re: LyX Migration

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 03:43:17PM +0200, Martin Vermeer wrote: > > 6. What about groupware functionality: a number of people working on the same > >document should have the facility to keep track of who changed what. > >I have to confess, that I have very little to offer in terms of LyX

Re: [patch] (html)URL - inset

2002-02-27 Thread Dekel Tsur
On Wed, Feb 27, 2002 at 12:34:37PM +0100, Jean-Marc Lasgouttes wrote: > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Herbert> I know, but it seems that the users prefer l2h. > > You mean latex2html, right? > > Herbert> we could detect the converter from the preferences. But

Re: updated graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 3:49 pm, Martin Vermeer wrote: > On Wed, Feb 27, 2002 at 12:36:07PM +, Angus Leeming wrote: > > > > - Under some circumstances (after the graphics have rendered, and very regularly) > > > I do not manage to exit. LyX goes dead on me, nothing works, not even t

Re: updated graphics patch

2002-02-27 Thread Martin Vermeer
On Wed, Feb 27, 2002 at 12:36:07PM +, Angus Leeming wrote: > > - Under some circumstances (after the graphics have rendered, and very regularly) > > I do not manage to exit. LyX goes dead on me, nothing works, not even the 'x' > > in the top right window corner. Pressing ^C prints 'Bye' an

Stanco della solita routine quotidiana??

2002-02-27 Thread
Title: Untitled Document   MAGICA    

Re: [PATCH] post-graphics cleanup

2002-02-27 Thread John Levon
On Wed, Feb 27, 2002 at 10:23:05AM +, Angus Leeming wrote: > +// I think it is Juergen's responsibility to port print_form, > +// since he wants it :) > > That's a bit cruel. He's done LOTs for you! yes, you're right ;) > Incidentally, I have got most of the way there with the sendto dialo

Re: buggy ImageMagick XPM files

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 5:24 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Here are tops of two XPM files created by the conversion > Angus> process from EPS to XPM. > > Angus> trial1.xpm was created by ImageMagick, trial2.xpm by pn

Re: updated graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 2:55 pm, Juergen Vigna wrote: > On 27-Feb-2002 Angus Leeming wrote: > > > void InsetGraphics::updateInset() const > > { > > grfx::GCache & gc = grfx::GCache::get(); > > gc.update(*this); > > + setCache(); > > + if (cached_status_ == grfx::WaitingT

Re: [Devel] Bug list is shrinking!

2002-02-27 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes: Michael> - A sub-enumeration can be set to arbitrary depth (M.V. has a Michael> patch) And I commited it. I also fixed #214 ``URL and table dialog open at the same time on right click'', but I did not find it on your list. JMarc

Re: buggy ImageMagick XPM files

2002-02-27 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Here are tops of two XPM files created by the conversion Angus> process from EPS to XPM. Angus> trial1.xpm was created by ImageMagick, trial2.xpm by pnmtoxpm. Angus> As you can see, the color strings in the ImageMagick file are A

buggy ImageMagick XPM files

2002-02-27 Thread Angus Leeming
Here are tops of two XPM files created by the conversion process from EPS to XPM. trial1.xpm was created by ImageMagick, trial2.xpm by pnmtoxpm. As you can see, the color strings in the ImageMagick file are just silly. I have added a work around to the image loader so that you at least get to

Re: updated graphics patch

2002-02-27 Thread Juergen Vigna
On 27-Feb-2002 Angus Leeming wrote: > void InsetGraphics::updateInset() const > { > grfx::GCache & gc = grfx::GCache::get(); > gc.update(*this); > + setCache(); > + if (cached_status_ == grfx::WaitingToLoad) { > + gc.startLoading(*this); > + } > } As much as

Re: Excessive code?

2002-02-27 Thread Martin Vermeer
On Wed, Feb 27, 2002 at 05:04:09PM +0100, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Ok, here is the patch. How extensive should a test like this > Martin> be? It loads a file, I can change layouts of paragraphs, > Martin> either indiv

Re: updated graphics patch

2002-02-27 Thread Juergen Vigna
On 27-Feb-2002 Angus Leeming wrote: > Why will it stop you now? You'll get a box saying "Loading..." or something > and, because you're loading asynchronously, you can still work. Because I want to see the image so I have to stop there till the image is converted loaded and the screen redrawn.

Re: updated graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 1:11 pm, Juergen Vigna wrote: > On 27-Feb-2002 Angus Leeming wrote: > > > That is correct. We have lazy loading of the image. > > Why work when you don't need to? > > Do I have to like that? Well anyway I liked more the figinset way of doing > things. Load the image

Re: Strategy proposal for general optional arguments

2002-02-27 Thread Martin Vermeer
On Wed, Feb 27, 2002 at 04:14:00PM +0100, Jean-Marc Lasgouttes wrote: ... > Nice :) Of course, you will need to do a few things, like changing '\' > to \backslash. Hmmm... this would sabotage the easy (but dangerous) use of LaTeX inside the string. How do LaTeX insets like cite do it? Does

Re: Excessive code?

2002-02-27 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Ok, here is the patch. How extensive should a test like this Martin> be? It loads a file, I can change layouts of paragraphs, Martin> either individually (under cursor) or collectively (selection) Martin> just fine. As that is w

Re: new graphics

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 12:55 pm, Edwin Leuven wrote: > > What I find interesting is > > 2 I've been requesting testers for days. I have to put this thing in cvs > > and inflict pain to make progress :-( > > The only way to progress. Let's delete the xforms code...I'll bet > we'll have a n

Re: new graphics

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 1:03 pm, Edwin Leuven wrote: > It didn't. So, I'm confused here. You have an empty Data d-tor and you stilll crash? Then it's something to do with the shared_c_ptrs. But why isn't this in the backtrace? Can you put an explicit: data_.reset(); imag

Re: LyX Migration

2002-02-27 Thread Martin Vermeer
On Wed, Feb 27, 2002 at 01:39:08PM +0100, Eildert Groeneveld wrote: > Hello everyone, > we are currently considering spreading the use of LyX in the public > scientific (and administration) community beyond the traditional Unix > clientel, trying in a possibly rather well funded project to mig

Re: [patch] (html)URL - inset

2002-02-27 Thread Jose Abilio Oliveira Matos
On Wednesday 27 February 2002 15:11, Jean-Marc Lasgouttes wrote: > > I have little experience with hevea, but it seemed to me at the time > that it got right some things l2h got wrong. But maybe was my l2h > version too old. Yes, hevea analyses the .aux files, that is the reason why it is my f

Re: updated graphics patch

2002-02-27 Thread Juergen Vigna
On 27-Feb-2002 Angus Leeming wrote: > That is correct. We have lazy loading of the image. > Why work when you don't need to? Do I have to like that? Well anyway I liked more the figinset way of doing things. Load the image in the background, but load it! This won't stop me later if I have to ch

Re: Strategy proposal for general optional arguments

2002-02-27 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Hmmm Jean-Marc, could I sway you by telling that in my local Martin> tree, I have this inset syntax already working? It's fake, of Martin> course; the optional parameter is still entered in a gray box Martin> in FormParagraph; b

Re: [patch] (html)URL - inset

2002-02-27 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> there are some others, but the major one seems to be Herbert> latex2hatml Especially since this one is included in linux distributions. Herbert> latex2html is the only which works as most users expect. try Herbert> hevea and y

Re: new graphics

2002-02-27 Thread Edwin Leuven
> > why would that help? It didn't. Can the crash be related to the following: Error creating pixmap from xpm_image 'XpmColorFailed' Ed.

Re: new graphics

2002-02-27 Thread Edwin Leuven
> ?? So the bug isn't in free_color_table after all ?? I take that as a retorical question... > > Now doing a clean compile > why would that help? It has helped before. Don't ask me why. > What I find interesting is > 2 I've been requesting testers for days. I have to put this thing in cvs

Re: pid_t typedef include missing in GraphicsConverter.h and forkedcontr.h

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 12:33 pm, R. Lahaye wrote: > Hi, > > Both files need a > > #include > > to define the typedef "pid_t" properly. > (FreeBSD, for example, won't compile without this include!). > > See src/sp_base.h, where this include was also added for > the same reasons, lo

Re: a fully working graphics patch

2002-02-27 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Ahh. I thought you were talking about decent machines as well Angus> as a decent operating system. So sorry to hear you're Angus> regressing. I'm sorry too, but since compaq announced the death of alpha, it is getting more difficu

Re: new graphics

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 12:29 pm, Edwin Leuven wrote: > Crash as well. ?? So the bug isn't in free_color_table after all ?? > Now doing a clean compile why would that help? What I find interesting is 1 I don't get the crash 2 I've been requesting testers for days. I have to put th

Re: a fully working graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 2:36 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > >> It is definitely a good thing. And when I am in france, I do too > >> work on tru64 4.0g. But this will not last long, since we bought > >> brand new linux boxen

LyX Migration

2002-02-27 Thread Eildert Groeneveld
Hello everyone, we are currently considering spreading the use of LyX in the public scientific (and administration) community beyond the traditional Unix clientel, trying in a possibly rather well funded project to migrate people from Windows/Word to LyX/LaTeX/BibTeX. To be able to do this a fe

Re: updated graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 12:23 pm, Martin Vermeer wrote: > I don't know if this is related -- but there are still clear problems with the > new graphics. > > - I don't ever manage to get a child processes dialog that is *not* greyed out, > or has any entries in it. Well, the browsers are on

Re: a fully working graphics patch

2002-02-27 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> It is definitely a good thing. And when I am in france, I do too >> work on tru64 4.0g. But this will not last long, since we bought >> brand new linux boxen :( Angus> So dual boot! Dual boot tru64 on my linux PC??? JMarc

pid_t typedef include missing in GraphicsConverter.h and forkedcontr.h

2002-02-27 Thread R. Lahaye
Hi, Both files need a #include to define the typedef "pid_t" properly. (FreeBSD, for example, won't compile without this include!). See src/sp_base.h, where this include was also added for the same reasons, long time ago. Patch is attached below. Regards, Rob. Index: src/graphics/Gr

Re: new graphics

2002-02-27 Thread Edwin Leuven
Crash as well. Now doing a clean compile #0 0x402d2025 in __libc_free (mem=0x84c6d90) at malloc.c:3155 #1 0x0821c6ed in grfx::GImageXPM::Data::~Data (this=0x84adff4, __in_chrg=2) at ../../src/support/utility.h:44 #2 0x0821ba69 in grfx::GImageXPM::~GImageXPM (this=0x84adff0, __in_chrg=3

Get paid cash every time you receive email!

2002-02-27 Thread elist365
Earn a dime every time you receive email! Sign up FREE at: Here ¡¡===¸ÃÓʼþʹÓà ¿ÆÌØÓʼþȺ·¢Èí¼þ ·¢ËÍ,ÓʼþÄÚÈÝÓë¿ÆÌØÈí¼þÎ޹ؿÆÌØÈí¼þ http://www.caretop.com===

Re: updated graphics patch

2002-02-27 Thread Martin Vermeer
On Wed, Feb 27, 2002 at 11:38:36AM +, Jules Bean wrote: > On Wed, Feb 27, 2002 at 01:38:20PM +0200, Martin Vermeer wrote: > > On Wed, Feb 27, 2002 at 11:26:57AM +, Jules Bean wrote: > > > > > On Wed, Feb 27, 2002 at 11:18:10AM +, Angus Leeming wrote: > > > > string id; > >

Re: updated graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 11:48 am, Juergen Vigna wrote: > Did someone of you try to load the UserGuide? I failed on 3 of the 4 images! > the first time and now I fail only on the platypus image. It seems to me that > transforming only starts the first time the image should be visualized and n

Re: new graphics

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 11:21 am, Edwin Leuven wrote: > > Do you get the crash if you comment out the call to free_color_table > > entirely? > > No crash when: > > GImageXPM::Data::~Data() > { > } And what effect does the attached patch have? Apply from the graphics directory to current

Re: updated graphics patch

2002-02-27 Thread Juergen Vigna
Did someone of you try to load the UserGuide? I failed on 3 of the 4 images! the first time and now I fail only on the platypus image. It seems to me that transforming only starts the first time the image should be visualized and not as expected as soon as the document is loaded. For images not c

Re: [patch] (html)URL - inset

2002-02-27 Thread Herbert Voss
On 27 Feb 2002, Jean-Marc Lasgouttes wrote: > Herbert> I know, but it seems that the users prefer l2h. > > You mean latex2html, right? yes > Herbert> we could detect the converter from the preferences. But there > Herbert> is still a problem if someone has installed both. or we > Herbert> creat

Re: updated graphics patch

2002-02-27 Thread Jules Bean
On Wed, Feb 27, 2002 at 01:38:20PM +0200, Martin Vermeer wrote: > On Wed, Feb 27, 2002 at 11:26:57AM +, Jules Bean wrote: > > > On Wed, Feb 27, 2002 at 11:18:10AM +, Angus Leeming wrote: > > > string id; > > > for (int i = 0; i < image.cpp; ++i) { > > > id.push_back('A'); >

Re: new graphics

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 11:21 am, Edwin Leuven wrote: > > Do you get the crash if you comment out the call to free_color_table > > entirely? > > No crash when: > > GImageXPM::Data::~Data() > { > } Interesting! A

Re: a fully working graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 1:30 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I use the proprietary operating system because I use other > Angus> proprietary software that doesn't run on Linux. I use 4.0e > Angus> because the bloat with

Re: updated graphics patch

2002-02-27 Thread Martin Vermeer
On Wed, Feb 27, 2002 at 11:26:57AM +, Jules Bean wrote: > On Wed, Feb 27, 2002 at 11:18:10AM +, Angus Leeming wrote: > > string id; > > for (int i = 0; i < image.cpp; ++i) { > > id.push_back('A'); > > } > > > > It's a bit clunky. Is there a better way of initiali

Re: updated graphics patch

2002-02-27 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> It's a bit clunky. Is there a better way of initialising a Angus> string, with length image.cpp? I think one of the string constructors do what you want... JMarc

Re: a fully working graphics patch

2002-02-27 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I use the proprietary operating system because I use other Angus> proprietary software that doesn't run on Linux. I use 4.0e Angus> because the bloat with subsequent versions is enormous. No need to try to defend yourself. I'm sur

Re: updated graphics patch

2002-02-27 Thread Jules Bean
On Wed, Feb 27, 2002 at 11:18:10AM +, Angus Leeming wrote: > string id; > for (int i = 0; i < image.cpp; ++i) { > id.push_back('A'); > } > > It's a bit clunky. Is there a better way of initialising a string, with length >image.cpp? According to my copy of Str

Re: new graphics

2002-02-27 Thread Edwin Leuven
> Do you get the crash if you comment out the call to free_color_table > entirely? No crash when: GImageXPM::Data::~Data() { }

Re: updated graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 11:06 am, Martin Vermeer wrote: > On Tue, Feb 26, 2002 at 06:23:21PM +, Angus Leeming wrote: > > > Thanks to all testers... > > > > I have just uploaded that ol' graphics patch to > > http://www.devel.lyx.org/~leeming/graphics.diff.bz2 > > again. It contain

Re: updated graphics patch

2002-02-27 Thread Martin Vermeer
On Tue, Feb 26, 2002 at 06:23:21PM +, Angus Leeming wrote: > Thanks to all testers... > > I have just uploaded that ol' graphics patch to > http://www.devel.lyx.org/~leeming/graphics.diff.bz2 > again. It contains fixes to the bugs you've reported, and beautification of > GConverter a

Re: new graphics

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 10:41 am, Edwin Leuven wrote: > > GImageXPM::Data::~Data() > > { > > - if (colorTable_.unique()) > > + if (colorTable_.get() && colorTable_.unique()) > > free_color_table(colorTable_.get(), ncolors_); > > } Do you get the crash if you comment out the

Re: a fully working graphics patch

2002-02-27 Thread Angus Leeming
On Wednesday 27 February 2002 12:36 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Well, I wan't being ideological. I just want to compile the > Angus> bloody thing myself so I don't have to use a buggy library > Angus> that's 3 years older

Need help on getting started with LyX development

2002-02-27 Thread Ananda Samaddar
Hi Everybody, I checked the LyX development web site, but the link to the LyX developer's guide appears to be broken. Does anyone have a copy of it? Preferably in LyX format. OK two more questions. Can LyX display Postscript pfb font files, i.e. use them as screen fonts? And secondly how

Re: new graphics

2002-02-27 Thread Edwin Leuven
> GImageXPM::Data::~Data() > { > - if (colorTable_.unique()) > + if (colorTable_.get() && colorTable_.unique()) > free_color_table(colorTable_.get(), ncolors_); > } then I get the following: #0 0x402d2025 in __libc_free (mem=0x84c6d40) at malloc.c:3155 #1 0x0821c69d in gr

Re: graphics-bug

2002-02-27 Thread Juergen Vigna
On 26-Feb-2002 Herbert Voss wrote: > it was so fast, that I forget to tell. Now I have no more > time to go into the kitchen to make a cup of coffee until > lyx is loading my doc ... :-) Well maybe we should really think to not apply the patch then, this is definitively a big negative point, we

Re: a fully working graphics patch

2002-02-27 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Well, I wan't being ideological. I just want to compile the Angus> bloody thing myself so I don't have to use a buggy library Angus> that's 3 years older than the one that everyone else is using. Yes, but that is because you use a

  1   2   >