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 +++

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

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 +++

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

GUI-Independence continued; some ideas...

2001-03-29 Thread Angus Leeming
Kalle Dalheimer and I have been having a discussion about possible ways forward with the GUI-I stuff. Thought you might be interested (and of course, I'll be able to find this on the archive in future!) Feel free to comment... A Angus Incidentally, how do you find the new scheme? Angus Any

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Edwin Leuven
It seems to me that having 5 implementations in one file separated by #ifndef's is not a good idea. I'd rather see 5 different implementation files. Not only will the code be cleaner, but I also like the idea of having the xform code in the xform dir, the qt code in the qt dir, etc. Although

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Andre Poenitz
Kalle What could be done would be something like this: #ifdef XFORMS typedef FL_OBJECT* WidgetPtr; #elif defined QT typedef QWidget* WidgetPtr; #endif This should get encapsulated in a real class, say "Widget", with different implementaions for Qt, xforms, etc. Kalle and

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Kalle Dalheimer
On Thursday 29 March 2001 14:28, Edwin Leuven wrote: It seems to me that having 5 implementations in one file separated by #ifndef's is not a good idea. I'd rather see 5 different implementation files. Not only will the code be cleaner, but I also like the idea of having the xform code in the

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Allan Rae
Wow a trip down memory lane... On Thu, 29 Mar 2001, Andre Poenitz wrote: Kalle What could be done would be something like this: #ifdef XFORMS typedef FL_OBJECT* WidgetPtr; #elif defined QT typedef QWidget* WidgetPtr; #endif This should get encapsulated in a real

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Andre Poenitz
Suggested/rejected GUII implementation number two. Both of the above cases just end up being yet another restrictive cross-platform toolkit. We don't need that. If you want one of those then just create a port to the cross-platform toolkit of your choice and use that. Oh, I did not suggest

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Allan Rae
On Thu, 29 Mar 2001, Andre Poenitz wrote: Suggested/rejected GUII implementation number two. Both of the above cases just end up being yet another restrictive cross-platform toolkit. We don't need that. If you want one of those then just create a port to the cross-platform toolkit of

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread John Levon
On Thu, 29 Mar 2001, Allan Rae wrote: Still tripping down memory lane... Suggested/rejected GUII implementation number two. Both of the above cases just end up being yet another restrictive cross-platform toolkit. We don't need that. If you want one of those then just create a port to

GUI-Independence continued; some ideas...

2001-03-29 Thread Angus Leeming
Kalle Dalheimer and I have been having a discussion about possible ways forward with the GUI-I stuff. Thought you might be interested (and of course, I'll be able to find this on the archive in future!) Feel free to comment... A Angus> Incidentally, how do you find the new scheme? Angus>

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Edwin Leuven
It seems to me that having 5 implementations in one file separated by #ifndef's is not a good idea. I'd rather see 5 different implementation files. Not only will the code be cleaner, but I also like the idea of having the xform code in the xform dir, the qt code in the qt dir, etc. Although

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Andre Poenitz
> Kalle> What could be done would be something like this: > > #ifdef XFORMS > typedef FL_OBJECT* WidgetPtr; > #elif defined QT > typedef QWidget* WidgetPtr; > #endif This should get encapsulated in a real class, say "Widget", with different implementaions for Qt, xforms, etc. >

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Kalle Dalheimer
On Thursday 29 March 2001 14:28, Edwin Leuven wrote: > It seems to me that having 5 implementations in one file separated by > #ifndef's is not a good idea. I'd rather see 5 different implementation > files. Not only will the code be cleaner, but I also like the idea of > having the xform code in

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Allan Rae
Wow a trip down memory lane... On Thu, 29 Mar 2001, Andre Poenitz wrote: > > Kalle> What could be done would be something like this: > > > > #ifdef XFORMS > > typedef FL_OBJECT* WidgetPtr; > > #elif defined QT > > typedef QWidget* WidgetPtr; > > #endif > > This should get

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Andre Poenitz
> Suggested/rejected GUII implementation number two. Both of the above > cases just end up being yet another restrictive cross-platform toolkit. > We don't need that. If you want one of those then just create a port to > the cross-platform toolkit of your choice and use that. Oh, I did not

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread Allan Rae
On Thu, 29 Mar 2001, Andre Poenitz wrote: > > Suggested/rejected GUII implementation number two. Both of the above > > cases just end up being yet another restrictive cross-platform toolkit. > > We don't need that. If you want one of those then just create a port to > > the cross-platform

Re: GUI-Independence continued; some ideas...

2001-03-29 Thread John Levon
On Thu, 29 Mar 2001, Allan Rae wrote: > Still tripping down memory lane... > > Suggested/rejected GUII implementation number two. Both of the above > cases just end up being yet another restrictive cross-platform toolkit. > We don't need that. If you want one of those then just create a port

fast light toolkit and GUI independence

2001-03-06 Thread Guenter Milde
Dear Developers, I hope I won't be the n+199th to tell you this: I wonder whether the "fast and light toolkit" (fltk) could help Lyx towards GUI independence: it is fast, it is light, it works for both X-Windows and MS-Windows and a user on the jed-list stated that it facil

Re: fast light toolkit and GUI independence

2001-03-06 Thread Jean-Marc Lasgouttes
"Guenter" == Guenter Milde [EMAIL PROTECTED] writes: Guenter I wonder whether the "fast and light toolkit" (fltk) could Guenter help Lyx towards GUI independence: it is fast, it is light, Guenter it works for both X-Windows and MS-Windows and a user on the Gue

RE: fast light toolkit and GUI independence

2001-03-06 Thread Juergen Vigna
On 06-Mar-2001 Guenter Milde wrote: Dear Developers, I hope I won't be the n+199th to tell you this: No you are only the n+198th #:O) I wonder whether the "fast and light toolkit" (fltk) could help Lyx towards GUI independence: it is fast, it is light, it works for both X-Windo

fast light toolkit and GUI independence

2001-03-06 Thread Guenter Milde
Dear Developers, I hope I won't be the n+199th to tell you this: I wonder whether the "fast and light toolkit" (fltk) could help Lyx towards GUI independence: it is fast, it is light, it works for both X-Windows and MS-Windows and a user on the jed-list stated that it facil

Re: fast light toolkit and GUI independence

2001-03-06 Thread Jean-Marc Lasgouttes
>>>>> "Guenter" == Guenter Milde <[EMAIL PROTECTED]> writes: Guenter> I wonder whether the "fast and light toolkit" (fltk) could Guenter> help Lyx towards GUI independence: it is fast, it is light, Guenter> it works for both X-Windows and MS-

RE: fast light toolkit and GUI independence

2001-03-06 Thread Juergen Vigna
On 06-Mar-2001 Guenter Milde wrote: > Dear Developers, > > I hope I won't be the n+199th to tell you this: No you are only the n+198th #:O) > I wonder whether the "fast and light toolkit" (fltk) could help Lyx towards > GUI independence: it is fast, it is light, it

Re: GUI-independence patch

2000-07-28 Thread Allan Rae
On Thu, 27 Jul 2000, Angus Leeming wrote: JMarc Several problems in cvs: Makefile.am has not been updated with the new JMarc files, form_url.[Ch] have not been added. I am not sure whether I can JMarc safely run make updatesrc to have the files. Angus? Ahhh! Awake and on the ball as usual,

Re: GUI-independence patch

2000-07-28 Thread Allan Rae
On Thu, 27 Jul 2000, Angus Leeming wrote: > JMarc> Several problems in cvs: Makefile.am has not been updated with the new > JMarc> files, form_url.[Ch] have not been added. I am not sure whether I can > JMarc> safely run make updatesrc to have the files. Angus? > > Ahhh! Awake and on the ball

Re: GUI-independence patch

2000-07-27 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Attached is a patch porting InsetUrl to GUI-independence. It also uses the | InsetCommandParams class that I have mentioned before. | | As well as a diff file, the attachment contains some new files: | src/frontends/xforms/FormUrl.h | src

Re: GUI-independence patch

2000-07-27 Thread Angus Leeming
Lars | As well as a diff file, the attachment contains some new files: Lars | src/frontends/xforms/FormUrl.h Lars | src/frontends/xforms/FormUrl.C Lars | src/frontends/xforms/forms/form_url.fd Lars you can run diff with -N you know... to get the new files. We've had this

Re: GUI-independence patch

2000-07-27 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars | As well as a diff file, the attachment contains some new files: | Lars | src/frontends/xforms/FormUrl.h | Lars | src/frontends/xforms/FormUrl.C | Lars | src/frontends/xforms/forms/form_url.fd | | Lars you can run diff with -N

GUI-independence patch not applied correctly

2000-07-27 Thread Angus Leeming
Lars, I see that you've added my patch. Thanks. It looks however, as if you haven't updated Makefile.am in src/frontends/xforms. The patch below does that. In addition, you should cd src/frontends/xforms/forms make updatesrc mv form_url.C form_url.h ../. make clean to put the automatically

Re: GUI-independence patch

2000-07-27 Thread Jean-Marc Lasgouttes
"Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus Attached is a patch porting InsetUrl to GUI-independence. It Angus also uses the InsetCommandParams class that I have mentioned Angus before. Several problems in cvs: Makefile.am has not been updated with the new files, fo

Re: GUI-independence patch not applied correctly

2000-07-27 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars, | | I see that you've added my patch. Thanks. | It looks however, as if you haven't updated Makefile.am in | src/frontends/xforms. The patch below does that. | | In addition, you should | | cd src/frontends/xforms/forms | make updatesrc | mv

Re: GUI-independence patch

2000-07-27 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Also fdfix.sh does not have correct execute permissions. Does cvs | preserve them? Only if set from the begginging. Lgb

Re: GUI-independence patch

2000-07-27 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars Also fdfix.sh does not have correct execute permissions. Does Lars cvs | preserve them? Lars Only if set from the begginging. So, should makefile invoke is as "${SHELL}

Re: GUI-independence patch

2000-07-27 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | | Lars Also fdfix.sh does not have correct execute permissions. Does | Lars cvs | preserve them? | | Lars Only if set from the

Re: GUI-independence patch not applied correctly

2000-07-27 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Angus Leeming [EMAIL PROTECTED] writes: | Lars, | | I see Lars that you've added my patch. Thanks. | It looks however, as if Lars you haven't updated Makefile.am in | src/frontends/xforms. The Lars patch below does that. | | In

Re: GUI-independence patch

2000-07-27 Thread Angus Leeming
JMarc Several problems in cvs: Makefile.am has not been updated with the new JMarc files, form_url.[Ch] have not been added. I am not sure whether I can JMarc safely run make updatesrc to have the files. Angus? Ahhh! Awake and on the ball as usual, Jean-Marc! A general point about "make

Re: GUI-independence patch

2000-07-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Attached is a patch porting InsetUrl to GUI-independence. It also uses the | InsetCommandParams class that I have mentioned before. | | As well as a diff file, the attachment contains some new files: | src/frontends/xforms/FormUrl.h |

Re: GUI-independence patch

2000-07-27 Thread Angus Leeming
Lars> | As well as a diff file, the attachment contains some new files: Lars> | src/frontends/xforms/FormUrl.h Lars> | src/frontends/xforms/FormUrl.C Lars> | src/frontends/xforms/forms/form_url.fd Lars> you can run diff with -N you know... to get the new files. We've had

Re: GUI-independence patch

2000-07-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars> | As well as a diff file, the attachment contains some new files: | Lars> | src/frontends/xforms/FormUrl.h | Lars> | src/frontends/xforms/FormUrl.C | Lars> | src/frontends/xforms/forms/form_url.fd | | Lars> you can run diff

GUI-independence patch not applied correctly

2000-07-27 Thread Angus Leeming
Lars, I see that you've added my patch. Thanks. It looks however, as if you haven't updated Makefile.am in src/frontends/xforms. The patch below does that. In addition, you should cd src/frontends/xforms/forms make updatesrc mv form_url.C form_url.h ../. make clean to put the automatically

Re: GUI-independence patch

2000-07-27 Thread Jean-Marc Lasgouttes
>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Attached is a patch porting InsetUrl to GUI-independence. It Angus> also uses the InsetCommandParams class that I have mentioned Angus> before. Several problems in cvs: Makefile.am

Re: GUI-independence patch not applied correctly

2000-07-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars, | | I see that you've added my patch. Thanks. | It looks however, as if you haven't updated Makefile.am in | src/frontends/xforms. The patch below does that. | | In addition, you should | | cd src/frontends/xforms/forms | make updatesrc | mv

Re: GUI-independence patch

2000-07-27 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Also fdfix.sh does not have correct execute permissions. Does cvs | preserve them? Only if set from the begginging. Lgb

Re: GUI-independence patch

2000-07-27 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> Also fdfix.sh does not have correct execute permissions. Does Lars> cvs | preserve them? Lars> Only if set from the begginging. So, should makefile invoke is as

Re: GUI-independence patch

2000-07-27 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | | Lars> Also fdfix.sh does not have correct execute permissions. Does | Lars> cvs | preserve them? | | Lars> Only if

Re: GUI-independence patch not applied correctly

2000-07-27 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Angus Leeming <[EMAIL PROTECTED]> writes: | Lars, | | I see Lars> that you've added my patch. Thanks. | It looks however, as if Lars> you haven't updated Makefile.am in | src/frontends/xforms. The Lars> patch below does that.

Re: GUI-independence patch

2000-07-27 Thread Angus Leeming
JMarc> Several problems in cvs: Makefile.am has not been updated with the new JMarc> files, form_url.[Ch] have not been added. I am not sure whether I can JMarc> safely run make updatesrc to have the files. Angus? Ahhh! Awake and on the ball as usual, Jean-Marc! A general point about "make

GUI-independence patch

2000-07-26 Thread Angus Leeming
Attached is a patch porting InsetUrl to GUI-independence. It also uses the InsetCommandParams class that I have mentioned before. As well as a diff file, the attachment contains some new files: src/frontends/xforms/FormUrl.h src/frontends/xforms/FormUrl.C src/frontends

GUI-independence patch

2000-07-26 Thread Angus Leeming
Attached is a patch porting InsetUrl to GUI-independence. It also uses the InsetCommandParams class that I have mentioned before. As well as a diff file, the attachment contains some new files: src/frontends/xforms/FormUrl.h src/frontends/xforms/FormUrl.C src/frontends

Re: GUI independence and XTL

2000-03-04 Thread Dekel Tsur
On Thu, Mar 02, 2000 at 12:09:18PM +0100, Asger K. Alstrup Nielsen wrote: Dekel However, the real problem lies on parsing .lyx files at Dekel Buffer::readLyXformat2 which is done using if-else statements Dekel (... else if (token == "\\emph") ... ) This is very Dekel inefficient!

Re: GUI independence and XTL

2000-03-04 Thread Asger K. Alstrup Nielsen
[Rewrite the loading parsing logic] If you want, I can do the changes (and also do the changes I suggested for layout.C) When you volunteer, obviously it's a good idea to make the change. You won't find me arguing against that ;-) I'm sure the patch would be welcomed. Maybe it's time for

Re: GUI independence and XTL

2000-03-04 Thread Lars Gullik Bjønnes
Dekel Tsur [EMAIL PROTECTED] writes: | On Thu, Mar 02, 2000 at 12:09:18PM +0100, Asger K. Alstrup Nielsen wrote: | Dekel However, the real problem lies on parsing .lyx files at | Dekel Buffer::readLyXformat2 which is done using if-else statements | Dekel (... else if (token == "\\emph")

Re: GUI independence and XTL

2000-03-04 Thread Lars Gullik Bjønnes
"Asger K. Alstrup Nielsen" [EMAIL PROTECTED] writes: | [Rewrite the loading parsing logic] | If you want, I can do the changes (and also do the changes I suggested | for layout.C) | | When you volunteer, obviously it's a good idea to make the change. | You won't find me arguing against that

Re: GUI independence and XTL

2000-03-04 Thread Dekel Tsur
On Sat, Mar 04, 2000 at 10:02:50PM +0100, Lars Gullik Bjnnes wrote: Dekel Tsur [EMAIL PROTECTED] writes: | | If you want, I can do the changes (and also do the changes I suggested | for layout.C) Nooo! :-) I absolutely disagree with you ad. the parsing of layout files. Plaese

Re: GUI independence and XTL

2000-03-04 Thread Dekel Tsur
On Thu, Mar 02, 2000 at 12:09:18PM +0100, Asger K. Alstrup Nielsen wrote: > > Dekel> However, the real problem lies on parsing .lyx files at > > Dekel> Buffer::readLyXformat2 which is done using if-else statements > > Dekel> (... else if (token == "\\emph") ... ) This is very > > Dekel>

Re: GUI independence and XTL

2000-03-04 Thread Asger K. Alstrup Nielsen
[Rewrite the loading parsing logic] > If you want, I can do the changes (and also do the changes I suggested > for layout.C) When you volunteer, obviously it's a good idea to make the change. You won't find me arguing against that ;-) I'm sure the patch would be welcomed. Maybe it's time for

Re: GUI independence and XTL

2000-03-04 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Thu, Mar 02, 2000 at 12:09:18PM +0100, Asger K. Alstrup Nielsen wrote: | > > Dekel> However, the real problem lies on parsing .lyx files at | > > Dekel> Buffer::readLyXformat2 which is done using if-else statements | > > Dekel> (... else if (token ==

Re: GUI independence and XTL

2000-03-04 Thread Lars Gullik Bjønnes
"Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> writes: | [Rewrite the loading parsing logic] | > If you want, I can do the changes (and also do the changes I suggested | > for layout.C) | | When you volunteer, obviously it's a good idea to make the change. | You won't find me arguing against

Re: GUI independence and XTL

2000-03-04 Thread Dekel Tsur
On Sat, Mar 04, 2000 at 10:02:50PM +0100, Lars Gullik Bjnnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > | > | If you want, I can do the changes (and also do the changes I suggested > | for layout.C) > > Nooo! :-) > > I absolutely disagree with you ad. the parsing of layout files. >

Re: GUI independence and XTL

2000-03-02 Thread Asger K. Alstrup Nielsen
Dekel However, the real problem lies on parsing .lyx files at Dekel Buffer::readLyXformat2 which is done using if-else statements Dekel (... else if (token == "\\emph") ... ) This is very Dekel inefficient! Yes, this code should use LyxLex correctly. Actually, this is not a real problem

Re: GUI independence and XTL

2000-03-02 Thread Asger K. Alstrup Nielsen
> Dekel> However, the real problem lies on parsing .lyx files at > Dekel> Buffer::readLyXformat2 which is done using if-else statements > Dekel> (... else if (token == "\\emph") ... ) This is very > Dekel> inefficient! > > Yes, this code should use LyxLex correctly. Actually, this is not a real

Re: GUI independence and XTL

2000-03-01 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars Perhaps because the standard C++ library dioes not have hashed | Lars containers? (that is an sgi extension (among others)) | | Lars As for faster search times, these tables are som small that I | Lars don't think it would have made a

Re: GUI independence and XTL

2000-03-01 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> Perhaps because the standard C++ library dioes not have hashed | Lars> containers? (that is an sgi extension (among others)) | | Lars> As for faster search times, these tables are som small that I | Lars> don't think it would have made a

Re: GUI independence and XTL

2000-02-29 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Dekel Tsur [EMAIL PROTECTED] writes: | On Mon, Feb 28, 2000 Lars at 02:21:12PM +0100, Jean-Marc Lasgouttes wrote: | Lars "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Lars Or we can just sort it... this will

Re: GUI independence and XTL

2000-02-29 Thread Dekel Tsur
On Tue, Feb 29, 2000 at 12:58:20AM +0100, Lars Gullik Bjnnes wrote: | Lars Or we can just sort it... this will slow things down a tiny bit, | Lars but you will never be able you measure that. (manually) | | With an assertion, we are always sure that manual sorting will be | done. This

Re: GUI independence and XTL

2000-02-29 Thread Jean-Marc Lasgouttes
"Dekel" == Dekel Tsur [EMAIL PROTECTED] writes: Dekel However, the real problem lies on parsing .lyx files at Dekel Buffer::readLyXformat2 which is done using if-else statements Dekel (... else if (token == "\\emph") ... ) This is very Dekel inefficient! Yes, this code should use LyxLex

Re: GUI independence and XTL

2000-02-29 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Dekel Tsur <[EMAIL PROTECTED]> writes: | On Mon, Feb 28, 2000 Lars> at 02:21:12PM +0100, Jean-Marc Lasgouttes wrote: | > > Lars> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | > | > Lars> Lars> Or we can just

Re: GUI independence and XTL

2000-02-29 Thread Dekel Tsur
On Tue, Feb 29, 2000 at 12:58:20AM +0100, Lars Gullik Bjnnes wrote: > | > Lars> Or we can just sort it... this will slow things down a tiny bit, > | > Lars> but you will never be able you measure that. (manually) > | > > | > With an assertion, we are always sure that manual sorting will be > | >

Re: GUI independence and XTL

2000-02-29 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> However, the real problem lies on parsing .lyx files at Dekel> Buffer::readLyXformat2 which is done using if-else statements Dekel> (... else if (token == "\\emph") ... ) This is very Dekel> inefficient! Yes, this code should use

Re: GUI independence and XTL

2000-02-28 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | is at easy if it can possibly get. But maybe you are right and XTL is | | Read: | | ..is as easy as it ... | | I think I'll have another beer to get sober... Not, in Norway yet are you? Lgb

Re: GUI independence and XTL

2000-02-28 Thread Jean-Marc Lasgouttes
"Asger" == Asger K Alstrup Nielsen [EMAIL PROTECTED] writes: Asger The LyXLex creature requires a list of keywords to function. Asger This is a simple list of tokens, but it only works if it is Asger sorted. Real life has shown that this is hard. Last time, it Asger was Juergen who couldn't

Re: GUI independence and XTL

2000-02-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | "Asger" == Asger K Alstrup Nielsen [EMAIL PROTECTED] writes: | | Asger The LyXLex creature requires a list of keywords to function. | Asger This is a simple list of tokens, but it only works if it is | Asger sorted. Real life has shown that this

Re: GUI independence and XTL

2000-02-28 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Or we can just sort it... this will slow things down a tiny bit, Lars but you will never be able you measure that. (manually) With an assertion, we are always sure that manual sorting will be done. This is linear time, and only for

Re: GUI independence and XTL

2000-02-28 Thread Dekel Tsur
On Mon, Feb 28, 2000 at 02:21:12PM +0100, Jean-Marc Lasgouttes wrote: "Lars" == Lars Gullik Bjnnes [EMAIL PROTECTED] writes: Lars Or we can just sort it... this will slow things down a tiny bit, Lars but you will never be able you measure that. (manually) With an assertion, we are always

Re: GUI independence and XTL

2000-02-28 Thread Lars Gullik Bjønnes
Dekel Tsur [EMAIL PROTECTED] writes: | On Mon, Feb 28, 2000 at 02:21:12PM +0100, Jean-Marc Lasgouttes wrote: | "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Or we can just sort it... this will slow things down a tiny bit, | Lars but you will never be able you measure

Re: GUI independence and XTL

2000-02-28 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > is at easy if it can possibly get. But maybe you are right and XTL is | | Read: | | ..is as easy as it ... | | I think I'll have another beer to get sober... Not, in Norway yet are you? Lgb

Re: GUI independence and XTL

2000-02-28 Thread Jean-Marc Lasgouttes
> "Asger" == Asger K Alstrup Nielsen <[EMAIL PROTECTED]> writes: Asger> The LyXLex creature requires a list of keywords to function. Asger> This is a simple list of tokens, but it only works if it is Asger> sorted. Real life has shown that this is hard. Last time, it Asger> was Juergen who

Re: GUI independence and XTL

2000-02-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Asger" == Asger K Alstrup Nielsen <[EMAIL PROTECTED]> writes: | | Asger> The LyXLex creature requires a list of keywords to function. | Asger> This is a simple list of tokens, but it only works if it is | Asger> sorted. Real life has

Re: GUI independence and XTL

2000-02-28 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Or we can just sort it... this will slow things down a tiny bit, Lars> but you will never be able you measure that. (manually) With an assertion, we are always sure that manual sorting will be done. This is linear time, and

Re: GUI independence and XTL

2000-02-28 Thread Dekel Tsur
On Mon, Feb 28, 2000 at 02:21:12PM +0100, Jean-Marc Lasgouttes wrote: > > "Lars" == Lars Gullik Bjnnes <[EMAIL PROTECTED]> writes: > > Lars> Or we can just sort it... this will slow things down a tiny bit, > Lars> but you will never be able you measure that. (manually) > > With an

Re: GUI independence and XTL

2000-02-28 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Mon, Feb 28, 2000 at 02:21:12PM +0100, Jean-Marc Lasgouttes wrote: | > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | > | > Lars> Or we can just sort it... this will slow things down a tiny bit, | > Lars> but you will never be able

Re: GUI independence and XTL

2000-02-27 Thread Allan Rae
On Fri, 25 Feb 2000, Andre Poenitz wrote: We have considered extending the string interface with various ways of encoding the information, but that would require slow and error-prone parsing of strings. I don't agree. Sorry... (Erm... well, it's friday, isn't it) String parsing is

Re: GUI independence and XTL

2000-02-27 Thread Allan Rae
On Fri, 25 Feb 2000, Andre Poenitz wrote: > > We have considered extending the string interface > > with various ways of encoding the information, but that would require > > slow and error-prone parsing of strings. > > I don't agree. Sorry... (Erm... well, it's friday, isn't it) > > String

Re: GUI independence and XTL

2000-02-26 Thread Andre Poenitz
You argue that debugging is important. Three words: Debugging is boring. I know. But sometimes necessary. Not that I try to code poorly just to have the fun of debugging ;-| If we use XTL, there will be less debugging than if we have to write our own parser. Just take a look at any parser

Re: GUI independence and XTL

2000-02-26 Thread Andre Poenitz
is at easy if it can possibly get. But maybe you are right and XTL is Read: ..is as easy as it ... I think I'll have another beer to get sober... Andre' -- André Pönitz . [EMAIL PROTECTED]

Re: GUI independence and XTL

2000-02-26 Thread Asger K. Alstrup Nielsen
True. But a lot of trouble can be saved by using things like yacc... Yacc is complex and error-prone. It adds comparably much complexity to things. Also, Yacc by itself does not cut it. You have to bring in the smaller cousin Lex, or Bison if you are so inclined. However, that complicates

Re: GUI independence and XTL

2000-02-26 Thread Andre Poenitz
> You argue that debugging is important. Three words: Debugging is boring. I know. But sometimes necessary. Not that I try to code poorly just to have the fun of debugging ;-| > If we use XTL, there will be less debugging than if we have to write > our own parser. Just take a look at any

Re: GUI independence and XTL

2000-02-26 Thread Andre Poenitz
> is at easy if it can possibly get. But maybe you are right and XTL is Read: ..is as easy as it ... I think I'll have another beer to get sober... Andre' -- André Pönitz . [EMAIL PROTECTED]

Re: GUI independence and XTL

2000-02-26 Thread Asger K. Alstrup Nielsen
> True. But a lot of trouble can be saved by using things like yacc... Yacc is complex and error-prone. It adds comparably much complexity to things. Also, Yacc by itself does not cut it. You have to bring in the smaller cousin Lex, or Bison if you are so inclined. However, that complicates

Re: GUI independence and XTL

2000-02-25 Thread Asger K. Alstrup Nielsen
On Wed, 23 Feb 2000, Asger K. Alstrup Nielsen wrote: The best format is the raw format, since it's minimalistic and the fastest. We don't need interoperability with external sources, so the raw format is the best solution. That was what I thought the plain text was. The version I

Re: GUI independence and XTL

2000-02-25 Thread Asger K. Alstrup Nielsen
[XTL] I did that too and I admit I dont get what this is suposed to do for LyX? Do you intend to have a new file format? Btw XDR is a platform independent format for binary representation. I use XDR a lot for numerical stuff. This XLT thing looks like XDR for structures with some automatized

Re: GUI independence and XTL

2000-02-25 Thread Andre Poenitz
The string interface is too simple for the kind of information that should be passed around. What kind of information can not be passed around as strings? We have considered extending the string interface with various ways of encoding the information, but that would require slow and

Re: GUI independence and XTL

2000-02-25 Thread Asger K. Alstrup Nielsen
> On Wed, 23 Feb 2000, Asger K. Alstrup Nielsen wrote: > > The best format is the raw format, since it's minimalistic and the > > fastest. We don't need interoperability with external sources, so > > the raw format is the best solution. > > That was what I thought the plain text was. The

Re: GUI independence and XTL

2000-02-25 Thread Asger K. Alstrup Nielsen
[XTL] > I did that too and I admit I dont get what this is suposed to do for LyX? Do > you intend to have a new file format? > Btw XDR is a platform independent format for binary representation. I use > XDR a lot for numerical stuff. This XLT thing looks like XDR for structures with > some

Re: GUI independence and XTL

2000-02-25 Thread Andre Poenitz
> The string interface is too simple for the kind of information that should > be passed around. What kind of information can not be passed around as strings? > We have considered extending the string interface > with various ways of encoding the information, but that would require > slow and

Re: GUI independence

2000-02-23 Thread Allan Rae
to start again. The gui-indep dialogs didn't cause any of the crashes though :) I haven't gotten around to updating the gui-indep doc. However most of the discussion in it is still relevent. What work is currently being done on GUI independence ? I understand major changes to the core code have

Re: GUI independence and XTL

2000-02-23 Thread Asger K. Alstrup Nielsen
I am intending to make XTL a part of the rae branch sometime this week as I want to try it out communication with LyXFunc. I'll have to get the latest release to see what's new. The version I have exports to plain text but doesn't import from it. It seems very fast for CORBA and XDF(?)

  1   2   >