Commit Graph

349 Commits

Author SHA1 Message Date
Angus Leeming
1a6f0a2837 (Rob Bearman) invoke CopyFile correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9919 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-07 14:31:16 +00:00
Angus Leeming
4db573abbe MSVC compiles out of the box.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9901 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-03 20:32:55 +00:00
Angus Leeming
9302177325 Test for things that MSVC doesn't have, rather than for things it does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9896 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-02 19:54:36 +00:00
Angus Leeming
201e5bdf70 Fully enable compilation of LyX 1.4.x on Windows with MinGW/MinSYS.
Break compilation with MSVC. See accompanying mail on the lyx-devel list.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9895 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-02 13:35:30 +00:00
Angus Leeming
81cc7aafd5 check that GetConsoleTitle succeeded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9887 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-29 08:42:02 +00:00
Angus Leeming
fb70c52b05 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9877 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 11:12:20 +00:00
Angus Leeming
aabd481ab6 Consistent use of preprocessor guards;
include <config.h> in .C files, not .h ones;
licence blurb.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9876 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 10:30:24 +00:00
Angus Leeming
17e48cd4f3 Move support/globbing.[Ch] to xforms/globbing.[Ch].
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9871 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-25 11:09:53 +00:00
Angus Leeming
ab053d54bc Add Windows-specific code to userinfo.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9869 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-24 12:21:57 +00:00
Angus Leeming
a00e3f68d3 Packaging fix on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9863 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-22 20:32:57 +00:00
Angus Leeming
27efdd922d Move the testing for pid_t to config.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9857 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-22 11:01:49 +00:00
Angus Leeming
b45cbe936e One more MSVC fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9852 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-21 21:59:05 +00:00
Angus Leeming
df0c18d835 MSVC build fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9851 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-21 21:05:05 +00:00
Angus Leeming
ce286c29ba Enable compilation on various platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9849 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-21 14:03:30 +00:00
Angus Leeming
4515f9a333 Revert the asynchronous child process code to that of LyX 1.3.6.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9842 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-20 17:35:47 +00:00
Angus Leeming
e3de78582f Transform the name of the temp dir on Windows with GetLongPathName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9833 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-19 12:29:25 +00:00
Angus Leeming
cb99035b6f Prevent unix-specific headers from breaking compilation on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9832 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-19 12:12:47 +00:00
Angus Leeming
821fc8dfb8 Introduce and use latex_path().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9824 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-18 17:43:11 +00:00
Angus Leeming
9d3de76fdf Quote graphics conversion commands correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9820 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-17 18:41:14 +00:00
Angus Leeming
c4fd0aa08d Enable package.C to be built with Solaris sed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9738 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-23 21:10:43 +00:00
Lars Gullik Bjønnes
3c851f1f79 make "make distcheck" work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9681 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-25 09:01:06 +00:00
Angus Leeming
cb12e79018 Enable lyx::copy to work when compiled with the gcc 2.95 compiler and stdlib.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9645 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-17 17:53:33 +00:00
Angus Leeming
3a33c14772 Work around a bug in gcc 2.95's STL implementation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9637 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-15 18:56:07 +00:00
Angus Leeming
1cc17a653e Add missing #include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9636 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-15 18:43:41 +00:00
Angus Leeming
099030e50a Rearrange and rename the environment variable setter/getter functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9634 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-15 13:45:41 +00:00
Angus Leeming
dc9f6d57d9 Use our wrapper for the posix kill() function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9580 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-03 14:55:33 +00:00
Angus Leeming
1ac3dbbaca Refactor the code to split a string into an argv array of words to pass
to execvp.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9568 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-02 12:57:20 +00:00
Angus Leeming
807a279bc4 Some boost::filesystem fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9564 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-01 16:41:24 +00:00
Angus Leeming
23d9c229e3 Enable tex2lyx to run in-place.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9562 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 19:57:03 +00:00
Lars Gullik Bjønnes
b246ba02fd Asgers Win32 changes to fs_extras
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9561 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 19:31:11 +00:00
Angus Leeming
984a123af3 Asger's obviously-correct Win32 changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9556 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 15:26:40 +00:00
Lars Gullik Bjønnes
177a1c42aa get rid of rmdir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9555 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 15:12:23 +00:00
Lars Gullik Bjønnes
b6e6f87f71 ditch FileInfo -> use boost.filesystem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:42:26 +00:00
Lars Gullik Bjønnes
342cdf4322 the convert patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Angus Leeming
2b2c27a700 Fix my breakage. Sorry guys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9524 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-22 13:41:47 +00:00
Angus Leeming
13f6449769 Move the Cygwin specializations into their own file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9521 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-21 22:08:59 +00:00
Angus Leeming
4038c8452b Squash some MSVC warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9515 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 19:30:14 +00:00
Angus Leeming
f3024416ad Guard HAVE_UNISTD_H.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9512 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 15:38:14 +00:00
Angus Leeming
1665be55ae Change the meaning of the $$s placeholder to <lyx support dir>.
(It was <lyx support dir>/scripts.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9509 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 15:02:16 +00:00
Angus Leeming
bb350c0cba Use HAVE_UNISTD_H.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9503 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-19 15:26:41 +00:00
Angus Leeming
65791cb6a1 Ruurd's Win32 code to close the console window immediately after
it is opened.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9490 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-17 22:31:30 +00:00
Angus Leeming
3a74ee036e Enable the lyx executable to be found from the PATH environment
variable if it expands to elements with relative paths.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9487 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-17 11:50:16 +00:00
Angus Leeming
3f938d4dbf The LyXRC::prepend_path patch as tested on the Mac by Andreas.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9485 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-16 21:01:41 +00:00
Angus Leeming
555bd9e4d8 Writing code in the presence of preprocessing blocks can be tricky.
Add some brackets to an if-block to ensure that the code does what
is expected of it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9482 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-16 16:53:08 +00:00
Angus Leeming
7b214dd05e The Cygwin path fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9478 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-14 15:53:30 +00:00
Angus Leeming
34dc36afa3 Use "%n$s" rather than "%n%" for n=1,2,3... when calling bformat.
Thanks again, Lars.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9474 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-13 16:50:44 +00:00
Angus Leeming
211c2f3136 The setEnvPath stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9473 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-13 10:10:16 +00:00
Angus Leeming
412f8af4fd Enable "lyx -dbg init" to run.
Tweak gettext search mechanism.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9467 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 12:25:30 +00:00
Angus Leeming
f717cb6b22 Get rid of extraneous whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9466 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 10:30:46 +00:00
Angus Leeming
078c79d092 Re-enable compilation with Cygwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9465 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 08:27:14 +00:00