The attached patch lacks
* a working configure test for GetLongPathNameA
* the tweak to the file browser to allow the user to choose
  paths with spaces.
but otherwise contains everything that I propose should go into
LyX 1.3.6.

In addition to the patch I posted earlier this evening
([PATCH 13x] paths), it:

* implements a working asynchronous loading of graphics images
* moves the remaining kludges in os_win32.h into the relevant .C files.

Basically, ispell.C and lyxserver.C are not working and the autosave feature will block on Windows. Other than that, Windows users should have the same functionality as *nix ones.

I'll try and break this thing into bite-sized chunks and apply it to both the 1.3.x and 1.4.x trees piece by piece (after receiving approval to do so of course). It'll probably take most of next week to get it all in.

This will probably mean that Windows users (is that just Michael Schmitt?) will suffer from some temporary breakage of the Windows port because applying some bits and not others will make things worse in the short term. So, if you want a fully-working LyX on Windows, you should apply this patch now and not wait for the pieces to slowly be committed to cvs.

Michael, if you do apply this patch now, you'll find that config.h will contain
/* undef HAVE_GETLONGPATHNAMEA */
Once the configure test works, this will change to
#define HAVE_GETLONGPATHNAMEA 1

(Assuming that you are using something more recent than Windows NT.) You might want to preempt the change and edit your config.h by hand. Otherwise you're going to have to rebuild your entire tree twice :)

Regards,
Angus

Attachment: 16Apr05.patch.gz
Description: GNU Zip compressed data



Reply via email to