Bug 2059: Cannot paste into built-in functions in MathEd

2005-09-29 Thread Daniel Watkins
Bug 2059: Cannot paste into built-in functions in MathEd Description: ATM, it is impossible to paste any content, Maths or not, into MathEd functions (such as fractions and square roots). This is probably the case with user-defined functions too, but I haven't really grasped how to use them yet an

Bug 2058: LyX crashes when attempting to undo matrix deletion

2005-09-29 Thread Daniel Watkins
Bug 2058 (http://bugzilla.lyx.org/show_bug.cgi?id=2058): LyX crashes when attempting to undo matrix deletion Description: When I attempt to undo (using Ctrl-Z) the deletion of a matrix (deleted by pressing Backspace at the start of the top-left box), LyX crashes with the appended CLI output. Dan

Re: Bug 2057: Delete key acting unexpectedly in MathEd

2005-09-29 Thread Angus Leeming
Daniel Watkins wrote: > Angus said I should send a message here if I reported a bug in the cvs > code, so I'm doing so. In this case, 1.4.0cvs of 27/9 (or 9/27, > depending on your location). > > Bug 2057 (http://bugzilla.lyx.org/show_bug.cgi?id=2057): Delete key > acting unexpectedly in MathEd >

Bug 2057: Delete key acting unexpectedly in MathEd

2005-09-29 Thread Daniel Watkins
Angus said I should send a message here if I reported a bug in the cvs code, so I'm doing so. In this case, 1.4.0cvs of 27/9 (or 9/27, depending on your location). Bug 2057 (http://bugzilla.lyx.org/show_bug.cgi?id=2057): Delete key acting unexpectedly in MathEd Description: When the Delete key is

Re: LyX speedup patch

2005-09-29 Thread Martin Vermeer
On Thu, Sep 29, 2005 at 09:00:47PM +0200, Helge Hafting wrote: > The patch did not apply well to todays CVS. > > Helge Hafting OK, here's a fresh patch. - Martin Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/

Re: LyX speedup patch

2005-09-29 Thread Helge Hafting
The patch did not apply well to todays CVS. Helge Hafting

Re: [patch] Boost.Filesystem

2005-09-29 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Here's patch 1, to Boost.Filesystem. Beman Dawes, the libraries > Angus> author, has indicated that he's "sympathetic" to the patch: > Angus> http://article.gmane.org/gmane.comp.lib.boost.devel/131958 > Same remark as the other patch. I'd rather condition on >

Re: LyX speedup patch

2005-09-29 Thread Martin Vermeer
On Thu, 2005-09-29 at 14:09 +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Here's a better one even. Now also delete and backspace are > Martin> treated in the same way as selfinsert. > > A question: could it be possible to change nee

Re: LyX speedup patch

2005-09-29 Thread Bennett Helm
On Sep 28, 2005, at 3:12 PM, Bennett Helm wrote: On Sep 28, 2005, at 2:55 PM, Martin Vermeer wrote: Cannot reproduce, with the patch. If you select right-to-left, cut and undo, the cursor will be where it was at the moment of cut, to the left of the restored text. If yuo select left-to-rig

Re: Latest patch for 2038

2005-09-29 Thread Martin Vermeer
On Thu, 2005-09-29 at 15:11 +0200, Juergen Spitzmueller wrote: > Martin Vermeer wrote: > > > Please fix also GToc.C > > > > How? > > It's basically the same fix (around line 128). > > Jürgen OK, done, attached. Only I don't get it compiled because of some missing library, which I am not really i

Re: Latest patch for 2038

2005-09-29 Thread Daniel Watkins
On Thu, 2005-09-29 at 11:34 +0100, Martin Vermeer wrote: > http://bugzilla.lyx.org/attachment.cgi?id=753&action=view > > Has anybody tested this, besides me? Can it go in? > > - Martin I did have the crash, and I can now no longer reproduce it however hard I try. Dan

Re: Win32 and configure

2005-09-29 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> So move MSYS_AC_CANONICAL_PATH to lyxinclude213.m4, > Angus> lyxinclude25x.m4? Done. Committing now... > > Very good, except that this > + ac_dir=`dirname(["$ac_dir"])` > should probably be > + ac_dir=`dirname "$ac_dir"` D'oh! -- Angus

Re: Win32 and configure

2005-09-29 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> So move MSYS_AC_CANONICAL_PATH to lyxinclude213.m4, Angus> lyxinclude25x.m4? Done. Committing now... Very good, except that this + ac_dir=`dirname(["$ac_dir"])` should probably be + ac_dir=`dirname "$ac_dir"` JMarc

Re: Win32 and configure

2005-09-29 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Jean-Marc Lasgouttes wrote: 1. It defines LYX_ABS_TOP_SRCDIR, > Angus> LYX_ABS_INSTALLED_LOCALEDIR and LYX_ABS_INSTALLED_DATADIR in a > Angus> fashion that "makes sense" on Windows and passes these > Angus> definitions to package.C through the compiler by modify

Re: labelitemiii and labelitemiv customization => postscript fails (s/renewcommand/newcommand/)

2005-09-29 Thread Jean-Marc Lasgouttes
> "Jacques" == Jacques Gautrais <[EMAIL PROTECTED]> writes: Jacques> SUMMARY : postscript export fails if document class does not Jacques> define labelitemiii and labelitemiv CAVEAT : this may be an Jacques> already known issue (but quite hard to find some info about Jacques> it on the net).

Re: LyX speedup patch

2005-09-29 Thread Bennett Helm
On Sep 29, 2005, at 5:19 AM, Martin Vermeer wrote: On Wed, 2005-09-28 at 16:25 +0200, Jean-Marc Lasgouttes wrote: "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Slowly grasping it... perhaps you'll like the attached more. Martin> Note: no change to lyxfunc. Same functionalit

Re: LyX speedup patch

2005-09-29 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: >> For example, when a LFUN requires SinglePar, the code would test >> whether the metrics have changed to decide what to do. >> >> It is not that I am unhappy with the patch... Martin> OK, I'll think some more. Will be gone for three

Re: Latest patch for 2038

2005-09-29 Thread Juergen Spitzmueller
Martin Vermeer wrote: > > Please fix also GToc.C > > How? It's basically the same fix (around line 128). Jürgen

Re: LyX speedup patch

2005-09-29 Thread Martin Vermeer
On Thu, Sep 29, 2005 at 02:09:55PM +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Here's a better one even. Now also delete and backspace are > Martin> treated in the same way as selfinsert. > > A question: could it be possible to cha

Re: Latest patch for 2038

2005-09-29 Thread Martin Vermeer
On Thu, Sep 29, 2005 at 01:44:00PM +0200, Georg Baum wrote: > Georg Baum wrote: > > > It should IMO. Calling operator[] of an empty vector can only be wrong, > > regardless of the used index. The fact that it does not always crash does > > not make it better. > > Please fix also GToc.C How? - M

Re: Win32 and configure

2005-09-29 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: 1. It defines LYX_ABS_TOP_SRCDIR, Angus> LYX_ABS_INSTALLED_LOCALEDIR and LYX_ABS_INSTALLED_DATADIR in a Angus> fashion that "makes sense" on Windows and passes these Angus> definitions to package.C throug

Re: Win32 and configure

2005-09-29 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> 1. It defines LYX_ABS_TOP_SRCDIR, LYX_ABS_INSTALLED_LOCALEDIR > Angus> and LYX_ABS_INSTALLED_DATADIR in a fashion that "makes sense" > Angus> on Windows and passes these definitions to package.C through > Angus> the compiler by modifying src/support/Makefile. I

Re: LyX speedup patch

2005-09-29 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Here's a better one even. Now also delete and backspace are Martin> treated in the same way as selfinsert. A question: could it be possible to change needsUpdate (and thus cur.result()) to be of type Update::flag and pass all th

Re: LyX speedup patch

2005-09-29 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Both, i.e., we have the speed-up, but not the refresh problems Martin> that Bennett noticed. But what you recommend is your latest patch, right? JMarc

Re: Latest patch for 2038

2005-09-29 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Georg Baum wrote: >> It should IMO. Calling operator[] of an empty vector can only be >> wrong, regardless of the used index. The fact that it does not >> always crash does not make it better. Georg> Please fix also GToc.C Agreed on

Re: Win32 and configure

2005-09-29 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Angus Leeming wrote: >> 2 "Somehow" we need to compile >> boost/libs/filesystem/src/operations_posix_windows.cpp >> src/support/os_win32.C with the preprocessor macros >> WANT_GETLONGPATHNAME_WRAPPER WANT_GETFILEATTRIBUTESEX_WRAPPER

Re: Win32 and configure

2005-09-29 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc, have we decided on how best to proceed with this? Angus> The patch does two, orthogonal things. Angus> 1. It defines LYX_ABS_TOP_SRCDIR, LYX_ABS_INSTALLED_LOCALEDIR Angus> and LYX_ABS_INSTALLED_DATADIR in a fashion that

Re: [patch] Boost.Filesystem

2005-09-29 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I'd like to proceed in small steps to apply the fixes needed to Angus> get things working under older versions of Windows. Angus> Here's patch 1, to Boost.Filesystem. Beman Dawes, the libraries Angus> author, has indicated that he'

Re: Latest patch for 2038

2005-09-29 Thread Georg Baum
Georg Baum wrote: > It should IMO. Calling operator[] of an empty vector can only be wrong, > regardless of the used index. The fact that it does not always crash does > not make it better. Please fix also GToc.C Georg

Re: [patch] package.C and os_win32.[Ch]

2005-09-29 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The attached patch moves win32-specific code out of package.C Angus> and into os_win32.[Ch]. It will also allow said code to run of Angus> older versions of Windows when compiled with the preprocessor Angus> macros WANT_GETLONGPATHN

Re: Latest patch for 2038

2005-09-29 Thread Georg Baum
Martin Vermeer wrote: > http://bugzilla.lyx.org/attachment.cgi?id=753&action=view > > Has anybody tested this, besides me? Yes (right now), with the same result as Jürgen (no big surprise, the compiler is similar: gcc 3.3.4 (pre 3.3.5 20040809)) > Can it go in? It should IMO. Calling operator

Re: Latest patch for 2038

2005-09-29 Thread Angus Leeming
Martin Vermeer wrote: > http://bugzilla.lyx.org/attachment.cgi?id=753&action=view > > Has anybody tested this, besides me? Can it go in? The patch is guaranteed to be an improvement as you are doing no more than test whether it's safe to call string::operator[]. Please commit it. -- Angus

Re: Latest patch for 2038

2005-09-29 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Has anybody tested this, besides me? I can't really. I don't get the crash anyway. But it looks like the right thing. Jürgen

Latest patch for 2038

2005-09-29 Thread Martin Vermeer
http://bugzilla.lyx.org/attachment.cgi?id=753&action=view Has anybody tested this, besides me? Can it go in? - Martin signature.asc Description: This is a digitally signed message part

Re: Win32 and configure

2005-09-29 Thread Angus Leeming
Angus Leeming wrote: > 2 "Somehow" we need to compile > boost/libs/filesystem/src/operations_posix_windows.cpp > src/support/os_win32.C > with the preprocessor macros > WANT_GETLONGPATHNAME_WRAPPER > WANT_GETFILEATTRIBUTESEX_WRAPPER > WINVER 0x0500 > being defined. To me that me

Re: LyX speedup patch

2005-09-29 Thread Martin Vermeer
On Wed, 2005-09-28 at 16:25 +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Slowly grasping it... perhaps you'll like the attached more. > Martin> Note: no change to lyxfunc. Same functionality (I checked) > > This looks much less intr

Re: OpenDocument format

2005-09-29 Thread Angus Leeming
Mike Meyer wrote: > On the subject of making LyX use XML as a native format - please don't > do that just because XML is the flavor of the month. Only do that if > it buys something real. XML is mostly good as a standard for document > interchange (it's used for lots of other things that it's not g

Re: tex2lyx DOES work on win95/98

2005-09-29 Thread Angus Leeming
Luis Rivera wrote: >> Actually, we'd have something a little more sophisticated. More like: >> >> @echo off >> if "%~1" == "~1" goto win95 >> start "Python" "C:\Python24\python.exe" %* >> goto end >> :win95 >> start "Python" "C:\Python24\python.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 >> :end >> > Actually,

Re: [patch] bug 1921: lyxbreaker is still asserting...

2005-09-29 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> OK, it's in. Many thanks for being such a patient and careful Juergen> reviewer. I think I can share the 'patience' part with you. JMarc

Re: OpenDocument format

2005-09-29 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Martin Vermeer <[EMAIL PROTECTED]> typed: > Another question is, whether it is worth the effort to make LyX do this if > good XML-to-XML transformation tools exist (do they yet?) Depends on how you define good. But XSLT is defined, available as a C library - with Python bin