[PATCH] development/Win32/runWithHiddenConsole.c

2006-07-22 Thread Bo Peng
Dear list, Using this small utility, we can hide the console window of lyx by starting lyx with runWithHiddenConsole cmd.exe /c lyx.exe I suggest that we remove the hide console code in os_win32.c if this program is used by the windows installer. Comments? Bo Index: development/Win32/runWithH

Scrolling speed

2006-07-22 Thread Enrico Forestieri
Scrolling on Windows using qt/win is a real pain. I just discovered that if instant preview for math is turned on, then the scrolling speed is about the same as with qt/x11. No matter how fast I am able to roll the mouse wheel, LyX always catches up, which is not the case when instant preview is t

Re: Boost 1.34 in trunk

2006-07-22 Thread Enrico Forestieri
On Sat, Jul 22, 2006 at 10:11:13PM +0200, Georg Baum wrote: > + if (!npath.is_complete()) > + return "./" + npath.string() + '/'; Please, use if (!os::is_absolute_path(npath.string())) here, as on cygwin both c:/xxx and /xxx are absolute paths and this is not caught by b

Re: Trac down?

2006-07-22 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | http://www.lyx.org/trac | | Internal Server Error | | The server encountered an internal error or misconfiguration and was | unable to complete your request. Trac is not as stable as one would want it to be. -- Lgb

Re: Boost 1.34 in trunk

2006-07-22 Thread Lars Gullik Bjønnes
Jose' Matos <[EMAIL PROTECTED]> writes: | On Saturday 22 July 2006 14:13, Georg Baum wrote: | > > What is the problem with included boost there? | | I am using FC-5. | | I had the problems that Georg and Jürgen reported, as I have told before an | easy way to me to crash lyx is: | | 1) ins

Trac down?

2006-07-22 Thread Bo Peng
http://www.lyx.org/trac Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that ma

[patch] partial fix for bug 2420

2006-07-22 Thread Georg Baum
This patch fixes one problem of bug 2420: tex2lyx does recognize greyed out notes, but it does not remove the definition of the lyxgreyedout environment. This patch changes that: The definition of the lyxgreyedout is now removed in the same way as the definitions of other LyX environments. This

Re: Boost 1.34 in trunk

2006-07-22 Thread Georg Baum
Am Freitag, 21. Juli 2006 19:00 schrieb Bo Peng: > Really? Last time I compiled 1.4.2 with cygwin/boost1.33.1, I got lots > of compile errors like include file not found. Yes, you are right, my memories where wrong. I tried it now, and the attached patch makes 1.4 compile with both boost 1.33 an

Re: Boost 1.34 in trunk

2006-07-22 Thread Jose' Matos
On Saturday 22 July 2006 14:13, Georg Baum wrote: > > What is the problem with included boost there? I am using FC-5. I had the problems that Georg and Jürgen reported, as I have told before an easy way to me to crash lyx is: 1) insert a figure in lyx 2) overwrite that figure in the backgro

Re: [patch] support autoconf 2.60

2006-07-22 Thread Georg Baum
Am Samstag, 22. Juli 2006 18:11 schrieb Lars Gullik Bjønnes: > Georg Baum <[EMAIL PROTECTED]> writes: > > | autoconf 2.60 is released and works with LyX. This patch goes in now. > > Remember that subversion had to re-roll its release candidate because > of moving to 2.60. So 2.60 certainly has so

Re: r14493 - /lyx-devel/trunk/lib/doc/depend.py

2006-07-22 Thread Georg Baum
Am Samstag, 22. Juli 2006 18:14 schrieb Lars Gullik Bjønnes: > [EMAIL PROTECTED] writes: > > > | Author: baum > | Date: Sat Jul 22 17:17:27 2006 > | New Revision: 14493 > | > | URL: http://www.lyx.org/trac/changeset/14493 > | Log: > | Do not add backup .lyx~ files to lib/doc/Makefile.depend. >

Re: r14493 - /lyx-devel/trunk/lib/doc/depend.py

2006-07-22 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Author: baum | Date: Sat Jul 22 17:17:27 2006 | New Revision: 14493 | | URL: http://www.lyx.org/trac/changeset/14493 | Log: | Do not add backup .lyx~ files to lib/doc/Makefile.depend. But of course what you did was: 'Only add *.lyx files to lib/doc/Makefile.

Re: Crash on Save

2006-07-22 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Mittwoch, 19. Juli 2006 19:44 schrieb Bennett Helm: | > With most recent 1.5svn, I get a crash on saving an existing | > document. (It doesn't occur when saving a new document or saving-as a | > new document, but it does occur when saving-as and over

Re: [patch] support autoconf 2.60

2006-07-22 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | autoconf 2.60 is released and works with LyX. This patch goes in now. Remember that subversion had to re-roll its release candidate because of moving to 2.60. So 2.60 certainly has some issues. -- Lgb

Re: Crash on Save

2006-07-22 Thread Georg Baum
Am Mittwoch, 19. Juli 2006 19:44 schrieb Bennett Helm: > With most recent 1.5svn, I get a crash on saving an existing > document. (It doesn't occur when saving a new document or saving-as a > new document, but it does occur when saving-as and overwriting an > existing document.) > > See the

Re: [Bug 2681] wrong deletion when pressing backspace in sub/superscripts

2006-07-22 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Sun, Jul 16, 2006 at 11:40:10AM +0200, Lars Gullik Bjønnes wrote: | > | Python would be extended by, e.g. a module 'lyx' and each lfun would be | > | wrapped in a python function in this module. In the end you'd call | > | something like | > | | > |

Re: [PATCH] remove redrawGUI

2006-07-22 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Sun, Jul 16, 2006 at 11:34:34AM +0200, Lars Gullik Bjønnes wrote: | > | Apart from that I never said we should not use the LFUN interface. | > | However, going through the lyxserver is a completely unecesary | > | complication. | > | > So what commun

Re: Boost 1.34 in trunk

2006-07-22 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > | Definitely. The gcc-4.1/boost-1.33 problems are the source of the most > | severe bugs in 1.4 currently. > > Can you recap this for me. And provide a detailed way to reproduce. Compiled with gcc-4.1, LyX frequently crashes when images or preview-latex are involved.

Re: How to eliminate the cmd.exe windows when lyx starts?

2006-07-22 Thread Bo Peng
I think any solution that ensures that stderr/stdout output from LyX and from scripts is visible if started from a command line window (or stderr/stdout is redirected to a file) would be OK. The logic is clear now: 1. lyx needs stdout/stderr. Even if we can change lyxerr to log to a file, scrip

[patch] Do not add backup .lyx~ files to lib/doc/Makefile.depend

2006-07-22 Thread Georg Baum
This patch ensures that files like de_Extended.lyx~ do not get added to lib/doc/Makefile.depend if they exist. This goes in now. Georg Index: lib/doc/depend.py === --- lib/doc/depend.py (Revision 14491) +++ lib/doc/depend.py (Arbeit

Re: How to eliminate the cmd.exe windows when lyx starts?

2006-07-22 Thread Georg Baum
Am Donnerstag, 20. Juli 2006 18:24 schrieb Bo Peng: > It is easy enough to AllocConsole if needed. I am not sure if an > console is always needed (for converters etc), or can be created only > when -dbg option is passed. I think it is needed for converters and other helper scripts, but I guess th

[patch] support autoconf 2.60

2006-07-22 Thread Georg Baum
autoconf 2.60 is released and works with LyX. This patch goes in now. Georg Index: autogen.sh === --- autogen.sh (Revision 14491) +++ autogen.sh (Arbeitskopie) @@ -36,14 +36,14 @@ test "$autoversion" != "" && { echo "LyX require

Re: [patch] fix bug 2481

2006-07-22 Thread Georg Baum
Am Mittwoch, 19. Juli 2006 18:38 schrieb Andre Poenitz: > On Mon, Jul 17, 2006 at 08:43:04PM +0200, Georg Baum wrote: > > Martin reminded me that I forgot \over. This is a bit special, since > > {1\over 2} is equivalent to \frac{1}{2}, and LyX does therefore not > > distinguish is from \frac once

Re: [Cvslog] r14487 - in /lyx-devel/trunk/src/mathed: math_factory.C m...

2006-07-22 Thread Andre Poenitz
On Wed, Jul 19, 2006 at 10:50:19AM -, [EMAIL PROTECTED] wrote: > Author: baum > Date: Wed Jul 19 12:50:18 2006 > New Revision: 14487 > > URL: http://www.lyx.org/trac/changeset/14487 > Log: > Fix read in of \over (related to bug 2481) > * src/mathed/math_factory.C > (createMathI

Re: [Bug 2681] wrong deletion when pressing backspace in sub/superscripts

2006-07-22 Thread Andre Poenitz
On Sun, Jul 16, 2006 at 11:40:10AM +0200, Lars Gullik Bjønnes wrote: > | Python would be extended by, e.g. a module 'lyx' and each lfun would be > | wrapped in a python function in this module. In the end you'd call > | something like > | > | lyx.CursorForward > > And how does this module commu

Re: [patch] fix bug 2481

2006-07-22 Thread Andre Poenitz
On Mon, Jul 17, 2006 at 08:43:04PM +0200, Georg Baum wrote: > Am Sonntag, 16. Juli 2006 19:18 schrieb Georg Baum: > > This patch fixes bug 2481 and goes in now since it is obviously correct. > > Martin reminded me that I forgot \over. This is a bit special, since > {1\over 2} is equivalent to \fr

Re: Bidirectional text on Lyx-1.5-unicode

2006-07-22 Thread Andre Poenitz
On Tue, Jul 18, 2006 at 05:15:40PM +0200, Lars Gullik Bjønnes wrote: > > Can't we leverage Trolltech's work in LyX ? Lars Knoll told us that > > it was a very difficult library to program because of the multiple > > subtle differences between languages. > > That might be the easy way out. That wo

Re: [PATCH] remove redrawGUI

2006-07-22 Thread Andre Poenitz
On Sun, Jul 16, 2006 at 11:34:34AM +0200, Lars Gullik Bjønnes wrote: > | Apart from that I never said we should not use the LFUN interface. > | However, going through the lyxserver is a completely unecesary > | complication. > > So what communication channel do you see as suitable? > (Or do you wa

Re: Bidirectional text on Lyx-1.5-unicode

2006-07-22 Thread Andre Poenitz
On Tue, Jul 18, 2006 at 11:17:45AM +0200, Charles de Miramon wrote: > Can't we leverage Trolltech's work in LyX ? Lars Knoll told us that it was a > very difficult library to program because of the multiple subtle > differences between languages. > > In general, trusting Norwegian software enginee

Re: How to eliminate the cmd.exe windows when lyx starts?

2006-07-22 Thread Angus Leeming
Bo Peng <[EMAIL PROTECTED]> writes: > I see a windows/msvc equivalence from > http://www.msfn.org/board/index.php?showtopic=49184&mode=threaded . > Can anyone knowing a bit Russian evaluate the value of this program, > or at least translate the comments for me? Try getting in touch with Kuba Ober.

Re: Boost 1.34 in trunk

2006-07-22 Thread Georg Baum
Am Samstag, 22. Juli 2006 11:27 schrieb Lars Gullik Bjønnes: > Georg Baum <[EMAIL PROTECTED]> writes: > > | We also need to think about 1.4. > > What is the problem with included boost there? If you compile it with gcc 4.1 you get crashes. The only one I looked closer at is the already mentione

Re: Boost 1.34 in trunk

2006-07-22 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | > Georg Baum <[EMAIL PROTECTED]> | > writes: | > | > | No, but IMO it should still be possible to compile trunk with a system | > | boost 1.33. See my patch in http://bugzilla.lyx.org/show_bug.cgi?id=2677 | > | for a quick

Re: Boost 1.34 in trunk

2006-07-22 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Georg Baum wrote: | > We also need to think about 1.4. | | Definitely. The gcc-4.1/boost-1.33 problems are the source of the most severe | bugs in 1.4 currently. Can you recap this for me. And provide a detailed way to reproduce. -- L

Re: Boost 1.34 in trunk

2006-07-22 Thread Jose' Matos
On Friday 21 July 2006 16:50, Juergen Spitzmueller wrote: > Definitely. The gcc-4.1/boost-1.33 problems are the source of the most > severe bugs in 1.4 currently. I agree, overwriting a figure currently displayed by lyx and therefore crashing lyx is not fun. :-( > Jürgen -- José Abílio

Re: Bug: not ignoring "subfigure" options for graphics outside of a figure

2006-07-22 Thread Juergen Spitzmueller
Andrea Censi wrote: > Latex compilation fails on "\subfigure" command. > Shouldn't LyX ignore the subfigure option if the picture is outside of a > figure? The whole subfigure handling needs to be rewritten. Jürgen