Commit Graph

943 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
5d38575647 * src/support/os_unix.C (canAutoOpenFile, autoOpenFile): add support for Mac
OS X.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13961 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 16:41:51 +00:00
Bo Peng
a21c78f25b Some MSVC2003/2005 compatibility fixes, from Bo Peng (ben.bob@gmail.com)
* src/support/lyxsum.C: fix HAVE_DECL_ISTREAMBUF_ITERATOR
	* src/support/mkdir.C: add direct.h for windows
	* src/support/forkedcall.C: add cerrno under windows
	* src/support/tempname.C: define S_IRUSR and S_IWUSR
	* src/support/package.C.in: define PATH_MAX=256



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13951 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 14:56:08 +00:00
Georg Baum
9e8e666c8a * src/support/os.h
(canAutoOpenFile): correct comment
	(autoOpenFile): ditto

	* src/support/os_win32.C
	(canAutoOpenFile): Remove unneeded test for dot
	(autoOpenFile): whitespace

	* src/support/os_cygwin.C
	(canAutoOpenFile): Remove unneeded test for dot
	(autoOpenFile): whitespace


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13866 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 19:09:53 +00:00
Jean-Marc Lasgouttes
b6e30400f5 New auto-open feature from Bo Peng (with help from Jean-Marc and Enrico)
* src/lyx_main.C (init): call Formats::setAutoOpen.
	
	* src/lyxrc.C (read): do not reset editor/viewer values of "none".

	* src/format.C (fixCommand): helper function: tweak command depending
	of the availability of OS viewer/editor.
	(setAutoOpen): run fixCommand over all the formats.

	* src/support/Makefile.am: under win32, link against shlwapi.dll.
	
	* src/support/os_*.C (canAutoOpenFile, autoOpenFile): new
	functions, used	to let the OS handle viewers and editors it knows about.

	* configure.ac: improve check for shlwapi.

	* lib/configure.py: remove check for native windows viewers.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13855 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-17 22:13:33 +00:00
Georg Baum
479abc6efd Remove remaining OS/2 bits:
* src/lyx_cb.C
	(newFile): Remove OS/2 code

	* src/lyxserver.C
	(LyXComm::startPipe): ditto
	(LyXComm::endPipe): ditto
	(LyXComm::send): ditto

	* src/support/rename.C
	(lyx::support::rename): ditto

	* src/support/filetools.C
	(fileOpenSearch): ditto
	(createTmpDir): ditto
	(createLyXTmpDir): ditto
	(makeAbsPath): ditto

	* src/support/getcwd.C
	(l_getcwd): ditto

	* src/support/forkedcall.C
	(Forkedcall::generateChild): ditto

	* src/support/chdir.C
	(lyx::support::chdir): ditto

	* src/support/os.C: ditto
	* configure.ac: ditto
	* development/scons/scons_utils.py: ditto
	* development/Win32/config.h: ditto

	* lyx.man: Remove OS/2 related stuff
	* lib/doc/Customization.lyx: ditto
	* lib/doc/fr_Customization.lyx: ditto
	* lib/doc/it_Customization.lyx: ditto

	* src/support/os2_defines.h: Remove
	* src/support/os2_errortable.h: ditto
	* src/support/os_os2.C: ditto
	* INSTALL.OS2: ditto
	* README.OS2: ditto
	* development/OS2/quick_fix.patch: ditto
	* development/OS2/gnugettext.diff: ditto
	* development/OS2: ditto

	* src/support/Makefile.am: Remove deleted files
	* development/Makefile.am: Remove deleted OS2 directory


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13848 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-14 17:00:53 +00:00
Lars Gullik Bjønnes
5e3b997b85 Remove the now superseeded SConscript files, and some small missing parts to SConstruct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13825 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 18:05:12 +00:00
Bo Peng
26666044d8 Scons: various fixes from Enrico (aspell, aikasurus etc), and correct handling of version.C.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13822 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 05:34:20 +00:00
Bo Peng
7168ce58b5 scons-based build system, by Bo Peng (ben.bob@gmail.com)
* SConstruct: main SConstruct file
	* scons_utils.py: utility functions
	* qt4.py: qt4 support is not yet official, and I have to patch this file
	* src/SConscript
	* src/insets/SConscript
	* src/graphics/SConscript
	* src/mathed/SConscript
	* src/frontends/qt3/SConscript
	* src/frontends/qt4/SConscript
	* src/frontends/SConscript
	* src/frontends/controllers/SConscript
	* src/support/SConscript
	* src/client/SConscript
	* src/tex2lyx/SConscript
	* boost/libs/SConscript
	* boost/libs/signals/src/SConscript
	* boost/libs/filesystem/src/SConscript
	* boost/libs/iostreams/src/SConscript
	* boost/libs/regex/src/SConscript


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13807 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-07 22:44:54 +00:00
Jean-Marc Lasgouttes
18d72887a6 * src/support/package.C.in (get_build_dirs): Look at Makefile
instead of lyxrc.defaults. Simplify the check for
          chkconfig.ltx.

	* configure.ac: do not run lib/configure.py

	* lib/doc/Makefile.am: LaTeXConfig.lyx is not generated anymore.

	* lib/configure.py (removeExtraFiles): remove.

	* lib/Makefile.am: no files are generated in there.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 16:44:43 +00:00
Jean-Marc Lasgouttes
57d0c03bf5 * src/support/package.C.in (relative_locale_dir): fix for Windows and OSX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13761 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 12:57:30 +00:00
Georg Baum
d732249e2b Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
--with-version-suffix):

	* src/lyx_cb.C
	(reconfigure): get the configure command from package()

	* src/lyx_main.C
	(showFileError): ditto

	* src/support/package.[Ch]
	(configure_command): new, return the configure command

	* src/support/package.C.in
	(with_version_suffix): new, return the version suffix argument
	of the configure command

	* src/support/Makefile.am
	(package.C.in): substitute %PROGRAM_SUFFIX% in package.C.in

	* config/lyxinclude.m4: substitute program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13710 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-22 11:58:02 +00:00
Bo Peng
5cf8376ef7 Replace gzstream by boost::iostreams::gzip_(de)compressor: by Bo Peng (ben.bob@gmail.com)
* src/buffer.C, use filtering_ostream
	* src/lyxlex_pimpl.h, .C, use filtering_istreambuf
	* src/Makefile.am,  src/support/Makefile.am, src/tex2lyx/Makefile.am, use BOOST_IOSTREAMS
	* remove src/support/gzstream.h, .C
	* add needed boost files boost/boost/iostreams/device/file_descriptor.hpp,
     device/mapped_file.hpp, detail/system_failure.hpp, 
		 detail/config/windows_posix.hpp


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13706 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-21 06:42:17 +00:00
Georg Baum
2bbe7e5b89 Make MathBigInset working
* src/cursor.C
        (LCursor::plainInsert): combine the previous math atom with the new
        one to a MathBigInset if possible

        * src/mathed/math_biginset.[Ch]
        (MathBigInset::name): implement
        (MathBigInset::isBigInsetDelim): new, test whether a given token is
        a valid MathBigInset delimiter

        * src/mathed/math_biginset.C
        (MathBigInset::size): handle Big, Bigg and Biggg
        (MathBigInset::increase): ditto
        (MathBigInset::draw): fix deco drawing
        (MathBigInset::write): append space if necessary

        * src/mathed/math_factory.C
        (createMathInset): handle l->inset == "big"

        * src/mathed/math_parser.C
        (Token::asInput): return a token as input, stolen from tex2lyx
        (void Parser::parse1): Create a MathBigInset when needed

	* src/mathed/math_support.C:
	(deco_table): add lbrace and rbrace

        * src/mathed/math_nestinset.C
        (MathNestInset::interpret): combine the previous math atom with the
        new character to a MathBigInset if possible

        * src/ParagraphParameters.C
        (findToken): move from here

        * src/support/lstrings.[Ch]
        (findToken): to here

        * lib/symbols: add MathBigInset symbols


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13700 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 09:55:45 +00:00
Georg Baum
a355878e2c From Enrico Forestieri:
* src/support/os_win32.C
	(init, latex_path, cygwin_path_fix): Add support for cygwin tetex.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13683 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 14:46:12 +00:00
Lars Gullik Bjønnes
618ca28af6 * support/types.h: introduce the char_type type
* paragraph.h: make value_type point at char_type
* other files: change some bald 'char' to 'char_type'


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13609 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:30:40 +00:00
Lars Gullik Bjønnes
cf4293824f * Change several freestanding and class methods with first letter
capitalized to have first letter lowercased.
* Adjust all affected files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +00:00
Lars Gullik Bjønnes
8c93f63b48 * filetools.[Ch]: Make functions that start with a capital
letter start with a lower letter.
	* All other .C and .h in the cs: adjust for above change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 22:31:11 +00:00
André Pönitz
1f5c5a06ee support/textutils.h:
support/filetools.h: rename IsDirWriteable IsFileReadable IsLyXFilename
IsSGMLFilename IsLineSeparatorChar IsLetterChar IsPrintable
IsPrintableNonspace IsDigit to lower case initial

lyxvc.C:
LaTeXFeatures.C:
lyx_cb.C:
insets/insetbibtex.C:
insets/insetexternal.C:
insets/insetgraphics.C:
insets/ExternalSupport.C:
insets/insetinclude.C:
BufferView_pimpl.C:
graphics/GraphicsCacheItem.C:
text2.C:
converter.C:
buffer.C:
lyxfunc.C:
frontends/gtk/ghelpers.C:
frontends/controllers/ControlGraphics.C:
frontends/controllers/ControlInclude.C:
frontends/controllers/ControlSpellchecker.C:
support/filetools.C:
support/filetools.h: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13595 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 09:09:57 +00:00
Lars Gullik Bjønnes
917e9bd0ce whitespace cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13563 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:39:11 +00:00
Lars Gullik Bjønnes
372397acb4 comment out the usage checking macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13562 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:03:58 +00:00
Georg Baum
0dcc1e0cce Fix mess up of internal/external paths (from Enrico Forestieri)
* src/frontends/qt2/QPrefs.C:
	(internal_path_list, external_path_list): Handle the PATH prefix
	style according to the user-prefs style.
	(QPrefs::apply, QPrefs::update_contents): fix inverted logic of
	rc.cygwin_path_fix

	* src/support/os.h: New declarations to deal with PATH lists.
	* src/support/os_cygwin.C: Major rewrite to account for path style
	problems.
	* src/support/os_unix.C:
	* src/support/os_win32.C: Stub functions for PATH lists.
	* src/support/environment.C: fix bug 2344: Wrong path_prefix handling
	in cygwin
	* src/support/filetools.C (ChangeExtension): fix for the path
	style to be written in .tex files (cygwin related).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13558 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 19:26:08 +00:00
Georg Baum
ec845858ed fix bug 1235
* src/support/filetools.C
	(readBB_from_PSFile): sanitize return value


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13549 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 08:19:48 +00:00
Michael Schmitt
2243967c46 2006-04-01 Michael Gerz <michael.gerz@teststep.org>
* lib/ui/stdmenus.ui:
        * lib/ui/stdtoolbars.ui:
        * src/converter.C
        * src/lyx_main.C
        * src/support/package.C.in: tiny changes to text messages



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13545 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 13:23:24 +00:00
Michael Schmitt
845bc7272f 2006-04-01 Michael Gerz <michael.gerz@teststep.org>
* filename.C (mangledFilename): truncate filename to 100
        characters for MiKTeX's pdflatex


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13543 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 13:04:23 +00:00
Georg Baum
768d523494 Fix bug 2186 (from Bo Peng):
* src/insets/insetbibtex.C
	(InsetBibtex::latex): mangle filename of bst file for "non-nice"
	.tex files

	* src/insets/insetgraphics.C
	(RemoveExtension): move ...
	* src/support/filetools.[Ch]
	(removeExtension): ... here


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13540 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 10:49:58 +00:00
Jean-Marc Lasgouttes
c87d9df68e add missing files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13503 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:15:28 +00:00
Georg Baum
05ea233390 Fix latex_path on cygwin:
* src/support/os.h
        * src/support/os_unix.C
        * src/support/os_win32.C
        * src/support/os_cygwin.C
        (latex_path): new function, handle the OS-specific part of
        lyx::support::latex_path

        * src/support/filetools.C
        (latex_path): use lyx::os::support::latex_path (bug 2409)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13474 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 12:48:37 +00:00
Lars Gullik Bjønnes
9d6cad3fe6 * output_latex.h:
* buffer.h:
        * CutAndPaste.h:
        * pariterator.h:
        * paragraph_funcs.h:
        * output_linuxdoc.h:
        * output_docbook.h:
        * insets/insettext.h: get forward declaration of ParagraphList

        * output_plaintext.C:
        * bufferlist.C:
        * undo.C:
        * lyxtext.h:
        * undo.h:
        * buffer_funcs.C:
        * insets/insetbibitem.C: get proper ParagraphList decls

        * output_linuxdoc.C (linuxdocParagraphs):
        * output_latex.C (TeXOnePar):
        * insets/insettext.C (appendParagraphs):
        * insets/insetcharstyle.C (docbook): use std::distance

        * CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
        * paragraph_funcs.C (breakParagraph,
        breakParagraphConservative, mergeParagraph):
        * text.C (acceptChange, rejectChange):
        * text2.C (deleteEmptyParagraphMechanism): use boost::next

        * output_docbook.C (several places): use boost::next and
        std::distance

        * ParagraphList_fwd.h: modify to provid a forward declaratoin
        of the new ParagraphList.

        * RandomAccessList.h: New container for Paragraphs from
        Abdelrazak Younes

        * ParagraphList.h: new file, setup user of RandomAccessList

        * paragraph.C: remove ParagraphList constructor from this file



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:11:06 +00:00
Georg Baum
fb7b7b1c59 truncate too long filenames for pdflatex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13384 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 21:00:15 +00:00
Georg Baum
9c5fcfa383 fix nullstream also in pch files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13311 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-07 10:02:07 +00:00
Georg Baum
a6d1f8c80f fix compilation with boost 1.33.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13310 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-07 08:29:12 +00:00
Lars Gullik Bjønnes
aa9da47369 Use the correct nullstream.hpp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13301 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 20:49:09 +00:00
Lars Gullik Bjønnes
c0ce7ff659 Modify NormalizePath to work with boost 1.33.1, add regressions test
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13297 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 18:11:11 +00:00
Jean-Marc Lasgouttes
0328dd98ca fix behaviour of --with-version-suffix (bug 2237)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13219 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-12 20:29:52 +00:00
Lars Gullik Bjønnes
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Angus Leeming
d9f29afe1c Trivial fixes to some warnings thrown up by MSVS.Net 2003.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10585 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-02 20:11:36 +00:00
Jean-Marc Lasgouttes
a7714398d9 fix PACKAGE handling for MacOS and Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10550 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 14:45:12 +00:00
Angus Leeming
71f93a0674 Sync with LyX 1.3.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10536 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-10 21:54:38 +00:00
Angus Leeming
e4c676a490 Make things compile on MSVC:
There's no <windef.h>, so just use <windows.h>
s/PATH_MAX/MAX_PATH/


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10508 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-02 21:49:52 +00:00
Angus Leeming
8f9344cb9f Rearrange preprocessor guards and improve commentary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10503 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-30 21:19:31 +00:00
Angus Leeming
73e1a6a470 Support for Win98 and earlier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10501 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-30 12:24:50 +00:00
Angus Leeming
6ce7fa27f1 Portable hard-coded paths on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10496 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-29 13:26:41 +00:00
Angus Leeming
c8c45171e8 Add os_cygwin.C to the distribution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10438 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-10 15:48:17 +00:00
Jean-Marc Lasgouttes
742ff585a2 fix crash when ${HOME} is empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10419 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-07 09:44:58 +00:00
Angus Leeming
923623a5ce Remove spurious unicode char in comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10393 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-09 16:56:36 +00:00
André Pönitz
7856f2c683 3 more percents...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10323 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 12:57:08 +00:00
Angus Leeming
7704aa9055 Help Lars spell his name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10311 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 08:04:50 +00:00
Michael Schmitt
eb07dfa12b change environment variable to LYX_USERDIR_14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10266 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 01:59:18 +00:00
André Pönitz
4b7d477809 implement undo for textclass switches in order to avoid a crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10190 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 22:09:22 +00:00
Angus Leeming
6e7b2e9016 Forward port the name-mangling code from 1.3.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10182 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 12:53:12 +00:00
Lars Gullik Bjønnes
a78c91bdbb make sure to dist pch.h and mark PCH_FILE as a built file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10173 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 23:42:23 +00:00
Georg Baum
1828d1b3f5 use the lyxdot replacement mechanism also in insetexternal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10162 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-10 09:31:27 +00:00
Georg Baum
b33b8ff56e compile fix for the latex_path patch from yesterday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10160 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-09 08:13:54 +00:00
Georg Baum
69241a6168 forward port latex_path quoting fix from 1.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10157 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-08 15:43:46 +00:00
Jürgen Spitzmüller
dd1d850e93 localize date/time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10129 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-05 09:01:52 +00:00
Georg Baum
e1daab958f mangle spaces in filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10101 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-24 14:20:51 +00:00
Georg Baum
ddedf9f5ef make quoted filenames work when " is active
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10095 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-21 09:01:41 +00:00
Lars Gullik Bjønnes
e5ae321dab the AM_* flags patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9963 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:56:28 +00:00
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
a4315ed9de Make MSVC happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9873 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-25 16:16:56 +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
6a4b224ded Fix windows-only typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9867 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-23 00:29:31 +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
Lars Gullik Bjønnes
4b518dbae5 add ChangeLog and fix for builddir != srcdir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9680 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-25 05:08:08 +00:00
Angus Leeming
db5d1abe3d Spell Lars' and Jo�o's names correctly in an latin-1 encoded file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9658 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-21 14:11:58 +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
5b0f3e2fb0 a required file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9539 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-28 00:02:52 +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
f7b0492174 Fix typo. Thanks, Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9528 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-23 10:59:40 +00:00
Asger Ottar Alstrup
3b06b2be4f - Add os_win32.h helper file for Windows MSVC compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9526 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-22 15:36:53 +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
c9f9ba315c Asger's exchanging of the class and struct keywords.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9502 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-19 15:03:31 +00:00
Asger Ottar Alstrup
282bf655ed - Add missing STL includes for correctness - gcc is too forgiving
- Add missing using statements
- Guard #warning statements


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-18 14:15:57 +00:00
Angus Leeming
308617e605 Remove unicode characters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9493 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-18 09:48:08 +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
b60b6c6fb5 I just noticed that createLyXTmpDir wouldn't compile under OS/2.
Not that there are any OS/2 users out there; I'll eat my hat
if LyX compiles under OS/2.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9484 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-16 20:33:37 +00:00
Angus Leeming
3e0abd0ad4 Actually move the OS2-specific block to make the code more readable too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9483 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-16 16:55:26 +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
88311570e4 Get rid of some unicode chars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9471 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 23:43:38 +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
Angus Leeming
b5589bf6cf The package reworking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9463 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 19:17:43 +00:00
Angus Leeming
abe485494e Specialise the convert template to long for Solaris.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9457 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-07 17:54:12 +00:00
Lars Gullik Bjønnes
5843057992 add specialization for unsigned long, and clean up header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9454 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-07 13:32:26 +00:00
Lars Gullik Bjønnes
7ab15b2e0c missed some tostr.h -> convert.h places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9449 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:44:04 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff rename tostr.[Ch] to convert.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
e3c9bdd0ea fix compilation with gcc 4.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9447 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:07:02 +00:00
Lars Gullik Bjønnes
6a55be9506 tostr -> convert and some bformat work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Angus Leeming
717ad4b983 s/MAX_PATH/PATH_MAX/.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9430 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 10:29:15 +00:00
Angus Leeming
cbd48ca779 Implement os::current_root for native Win32 builds.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9425 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-04 17:50:25 +00:00
Angus Leeming
ea2982a143 Remove executable status info from typeIndicator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9423 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-04 13:34:10 +00:00
Angus Leeming
7b65e17539 Test for OS support for symbolic links and protect support library code
appropriately.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9421 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-04 13:24:56 +00:00
Angus Leeming
ed6dae8a40 Enable LyX to start up under Cygwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9415 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-01 13:56:42 +00:00
Angus Leeming
f1e9f57553 * Replace all use of 'slashify_path' with 'internal_path'.
* Specialise 'internal_path' and 'external_path' for Windows and Cygwin.
* Enable LyX to find its system_lyxdir on Windows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9401 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-20 16:59:33 +00:00
Angus Leeming
c7d1778e3f Don't forget the Windows drive name when mangling the temporary file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9393 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-17 12:30:48 +00:00
Angus Leeming
eef5f997f1 An improved HAVE_MKDIR patch that compiles also with MinGW.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9385 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-16 01:03:34 +00:00
Angus Leeming
f88dfdc0dc Get rid of FileInfo::getNumberofLinks().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9384 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 21:40:11 +00:00
Angus Leeming
a8a909f25a Conditionally #include headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9381 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 21:08:24 +00:00
Angus Leeming
4b7891d873 OS Abstraction of "HOME" and the null device.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9376 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 19:35:43 +00:00
Angus Leeming
b7e87f4b11 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9374 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 16:38:22 +00:00
Angus Leeming
005322c183 Clean-up interface to os::init.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9372 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 16:20:07 +00:00
Angus Leeming
548a928e9b Use ios__binary mode to copy files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9369 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 14:17:13 +00:00
Angus Leeming
fb28ff9e2a * os.C: #include "os_win32.h" for _WIN32.
* systemcall.C: The "/n" in "start /min/n" makes no sense under DOS.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9367 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 12:29:53 +00:00
Angus Leeming
ba837dca09 Remove trailing slash from -Ifoo/ in the AM_CPPFLAGS rules in the various
Makefile.ams to overcome bug in the MinGW port of g++ 3.4.2.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9364 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 10:41:09 +00:00
Lars Gullik Bjønnes
a4319c2b89 more PCH_FLAGS work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9341 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-04 14:50:25 +00:00
Lars Gullik Bjønnes
c73eea9bda use AM_CPPFLAGS instead of INCLUDES since that is deprecated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9338 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 19:11:38 +00:00
Angus Leeming
5a338c3927 Change glob() API to accept a dir parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9313 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 14:37:40 +00:00
Angus Leeming
d23bb9eaa8 Clean-up FileFilterList API.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9311 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 12:31:39 +00:00
Angus Leeming
8eea28ec80 Give FileFilterList its own .[Ch] files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9305 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 11:08:32 +00:00
Alfredo Braunstein
ed064bdee6 par->pit renaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:53:46 +00:00
Jean-Marc Lasgouttes
020972b7f9 get rid of Paragraph::isWord; ignore words with digits in spellchecker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9268 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-18 14:58:54 +00:00
Lars Gullik Bjønnes
d8dd55eb33 disable conecpt checks for gtk dir, fix concept checks for qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9262 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 23:18:46 +00:00
Lars Gullik Bjønnes
1f9d992ce0 Make us satisfy concept checks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9260 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-16 20:41:38 +00:00
Georg Baum
dacd4cea26 make gettting the file format from file contents work in the correct way ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9218 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-09 19:08:34 +00:00
Lars Gullik Bjønnes
b049f3997a Make it clearer where include files are comming from.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9197 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-07 13:22:51 +00:00
Lars Gullik Bjønnes
b94ea959ea Remove interface violation. Better solution needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9196 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-07 12:44:10 +00:00
Lars Gullik Bjønnes
36bbe54813 * translator.h: use bind, equal_to instead of equal_1st_in_pair
and equal_2nd_in_pair
* Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
* lyxfunctional.h: delete file
* RadioButtonGroup.C (set): use bind, equal_to instead of
equal_2nd_in_pair


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9184 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-06 16:42:30 +00:00
Lars Gullik Bjønnes
ab9e55eb69 * lyxfunctional.h: delete compare_memfun and helper classes
* xformsImage.C (loadableFormats): use bind, equal_to instead of
compare_memfun
* QLImage.C (loadableFormats): use bind, equal_to instead of
compare_memfun
* bufferlist.C (exists): use bind and equal_to instead of
compare_memfun
(getBuffer): ditto
* lyxtextclasslist.C (NumberOfClass): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9183 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-06 16:14:22 +00:00
Lars Gullik Bjønnes
13c24dd556 * lyxfunctional.h: delete back_inserter_fun functions and helper
classes.
* lyx_gui.C (start): use for_each instead of explicit for loop
* cursor.C (insert): use for_each instead of explicit for loop

* bufferlist.C (getFileNames): use std::transform and
std::back_inserter instead of std::copy and lyx::back_inserter_fun.

* buffer_funcs.C (bufferErrors): use for_each instead of explicit
for loop

* buffer.C (changeLanguage): use for_each instead of explicit for
loop
(hasParWithID): implement using getParFromID

* LaTeXFeatures.C: ws change only

* CutAndPaste.C (replaceSelectionWithString): Use a temporary var
to cleanup a bit.

* BufferView_pimpl.C (trackChanges): use for_each instead of
expilicit for loop


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9182 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-06 15:23:12 +00:00
Jean-Marc Lasgouttes
e13d9157bc better fix for bug 1523
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9165 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-04 14:44:35 +00:00
Georg Baum
6fe9e4e30d rename getExtFromContents() to getFormatFromContents()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9141 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 15:47:55 +00:00
Angus Leeming
eb00187fea Whitespace, nothing but whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 21:16:44 +00:00
Angus Leeming
292c3210f6 Naive fix for quoted words with execvp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9128 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-25 14:21:42 +00:00
Angus Leeming
e978fa42e3 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
Lars Gullik Bjønnes
ec94b42f51 Use the preferred calling for Boost.Signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9010 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 14:19:47 +00:00
Lars Gullik Bjønnes
53cea42f88 Change to use preffered calling of Boost.Function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9009 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 13:34:57 +00:00
Jean-Marc Lasgouttes
09b67226eb fix backwards search (bug 1666)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8988 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-17 16:28:47 +00:00
Jean-Marc Lasgouttes
558e849e69 make LyX work better when run from a directory which name contains spaces or other special characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8982 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-14 10:20:38 +00:00
Lars Gullik Bjønnes
cf40817160 lyxclient moved from development and cleaned up a bit + some assorted fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8967 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-04 12:13:50 +00:00
Lars Gullik Bjønnes
c2df578151 fix a couple of pch.h files because of a gcc pch bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8965 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-30 00:39:40 +00:00
Lars Gullik Bjønnes
197c26de99 More pch work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8956 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 14:20:18 +00:00
Lars Gullik Bjønnes
b0fbc29aa3 some support for pch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8947 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 21:45:30 +00:00
Jean-Marc Lasgouttes
42afdcb9c4 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8880 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-09 12:37:48 +00:00
Jean-Marc Lasgouttes
117df9d694 always have "All Files" as filter in the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8873 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-08 15:24:29 +00:00
Lars Gullik Bjønnes
c499bd1698 Use boost::scoped_array to store the temporary wchar_t pointer/array
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8850 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 16:40:21 +00:00
Lars Gullik Bjønnes
7c15014ec2 change "support/std_sstream.h" to <sstream>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8849 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 10:55:30 +00:00
Jean-Marc Lasgouttes
228ecfce96 support fully the LANGUAGE variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8826 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-29 12:55:09 +00:00
Jean-Marc Lasgouttes
384da17690 fix handling of locales with LyX/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8807 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-08 14:06:11 +00:00
Lars Gullik Bjønnes
57bc54247a get rid of nt_defines.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8785 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-27 07:41:51 +00:00
Angus Leeming
3cac00e714 Wrap the definition of debug_trait::DEBUG with preprocessor guards
that protect against a name clash with a macro DEBUG.
Such a macro is defined by the Qt library...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8771 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-20 09:35:30 +00:00
Angus Leeming
f439fef46d Search the src tree for glade files, so preventing an unnecessary crash
in the gtk frontend.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8699 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-27 12:48:45 +00:00
Angus Leeming
c4762f9452 Whitespace, only whitespace...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8682 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:51:15 +00:00
Angus Leeming
65aa219f2e Get the date right ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8602 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 14:01:30 +00:00
Angus Leeming
0424a53b20 Wrap all #warning calls inside #ifdef WITH_WARNINGS blocks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8598 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 09:36:28 +00:00
Angus Leeming
d5fff7cbd8 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8597 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 08:52:45 +00:00
Jürgen Spitzmüller
971a9ac4e3 Angus' fix to make pclose work again:
block SIGCHLD during popen/pclose.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8596 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 06:46:22 +00:00
Lars Gullik Bjønnes
68b7ef25fb simple ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8594 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-03 08:37:12 +00:00
Angus Leeming
72b9c5c702 Soothe Georg's minor irritation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8588 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 21:03:52 +00:00
Angus Leeming
744c845a05 Squash a couple of warnings, one at compile time and one at run time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8550 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 18:50:49 +00:00
Angus Leeming
abbcb43353 Clean-up the forked process code a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8536 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 23:55:33 +00:00
André Pönitz
0d43ba149a the stuff from the sneak preview:
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).

Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.

I had an extensive talk with my profiler and we are happy nevertheless.

This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now  lyx::cap::. Was inconsistent with the rest....

Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.

Remove some unneeded prototypes and function declarations

Use ParameterStruct directly instead of ShareContainer<ParameterStruct>

Inline a few accesses to CursorSlice members as suggested by the profiler.

Fix commandline conversion crash reported by Kayvan.

Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...

Remove math specific hack from Documentiterator

Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.

Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.

Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
Angus Leeming
4e9ea80fb5 Use SIGCHLD to reap zombies.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8526 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 17:38:54 +00:00
Jean-Marc Lasgouttes
af6712f963 more tweaks to i18nLibFileSearch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8523 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 13:19:07 +00:00
Jean-Marc Lasgouttes
54cdd0291a fix selection of locale when loading help files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8519 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 12:05:57 +00:00
Angus Leeming
e942a15dd8 Store the forked calls in boost::shared_ptr rather than a raw pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8518 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-23 14:39:41 +00:00
Angus Leeming
d4c54a1da3 Remove cruft left over from the removal of the Forks dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8511 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 14:10:20 +00:00
Angus Leeming
f146640834 Georg's mangling patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8485 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 11:45:08 +00:00
Jean-Marc Lasgouttes
d891a896f4 Georg Baum\'s no-tempdir patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8458 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 12:00:53 +00:00
Lars Gullik Bjønnes
2e5976a0be Cleanup usage of contains and simplify a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8378 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-01 12:46:14 +00:00
Lars Gullik Bjønnes
3420904448 The func.diff patch. Functors work and some tiny cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-31 15:30:24 +00:00
Lars Gullik Bjønnes
ca176cc434 std:: changes, stupid stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8375 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-28 16:21:29 +00:00
André Pönitz
7f48aeeab1 some integer type changes for inset unification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8337 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 12:28:35 +00:00
Angus Leeming
2f1d525ee1 Handle Qt-style file filters like
"TeX documents (*.tex);;LyX Documents (*.lyx)".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8327 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-08 10:59:51 +00:00
Jean-Marc Lasgouttes
de9240227b make LyX/Mac compile and work better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8321 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 16:40:30 +00:00
Angus Leeming
839ee41559 Cygwin compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8309 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-06 21:37:31 +00:00
Lars Gullik Bjønnes
653ef9a012 Delete a coupld of unwanted files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8308 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-06 19:32:05 +00:00
Angus Leeming
9387970e7d Globbing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-05 16:49:38 +00:00
Alfredo Braunstein
dffbeaf18d fix putenv memory leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8037 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 08:22:32 +00:00
Lars Gullik Bjønnes
c38370d1c3 the exception safety patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 17:47:28 +00:00
Lars Gullik Bjønnes
d66e61a93c try to avoid initailizaton problems with global debugstream variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8011 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 13:03:03 +00:00
André Pönitz
2292145ba3 some more 'global cursor' stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7999 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 12:18:08 +00:00
André Pönitz
4588bb075a lots of small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7995 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 11:18:40 +00:00
Jean-Marc Lasgouttes
dab52aa183 compile fixes for stlport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 14:30:33 +00:00
André Pönitz
f88fb47bc7 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
using static variables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7927 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 16:41:32 +00:00
André Pönitz
5c2f0c5c46 In insets:
2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

  * insetcollapsable.[Ch]:
  * insettabular.[Ch]:
  * insettext.[Ch]:
  * inset.h: getText() as alternative to getParagraphs()

In src:

2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

	* iterators.[Ch]: new direct access to innermost LyXText and Inset

	* undo.[Ch]: restoring part of 'undo in insets'

	* Makefile.am:
	* undo_funcs.[Ch]: merge with undo.[Ch]

	* tabular.C: small cleansing stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:01:49 +00:00
Angus Leeming
09e56ecb68 Missing ChangeLog entry for the new socktools.[Ch] files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7916 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 09:40:16 +00:00
Angus Leeming
9a01e253a1 (Kayvan): compile fix for non-Linux platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7914 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 20:49:31 +00:00
Angus Leeming
45a8d5a93a Jo�o Assirati's lyxsocket patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7910 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 12:25:11 +00:00
Angus Leeming
18b220ac99 No trailing whitespace left in src...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:43:15 +00:00
André Pönitz
dcd8fb0428 replace ParagraphList::iterator by lyx::paroffset_type to prevent cursor
invalidation if the paragraphlist is changed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 10:52:12 +00:00
Angus Leeming
627f2c70fa Fix a bunch of doxygen warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 11:31:51 +00:00
Angus Leeming
372a70b8fd A couple of using std::string declarations from Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7878 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 08:38:05 +00:00
Jürgen Spitzmüller
35c0c230d7 std::string fixes and small typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7871 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 13:32:17 +00:00
Lars Gullik Bjønnes
44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Martin Vermeer
f6b8ed1c32 Small fixes to allow building with STLport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7858 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 09:35:38 +00:00
Angus Leeming
dbd3cb42c5 Make ReplaceEnvironmentPath work for both ${HOME}/foo and $HOME/foo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7838 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 21:44:34 +00:00
Lars Gullik Bjønnes
8d098dcb56 New debugstream.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7832 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-26 14:27:20 +00:00
Angus Leeming
15d71955d9 Rewrite ReplaceEnvironmentPath in a sane manner.
Get rid of lstrings.[Ch]'s regexMatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7830 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 23:01:43 +00:00
Angus Leeming
9a3737148b Re-add the RasterImage template.
Several small clean-ups of the InsetExternal code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 10:49:13 +00:00
Angus Leeming
e7e92ec660 Remove IsInsetChar and IsWordChar from textutils.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7771 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 12:12:33 +00:00
Angus Leeming
4b3c377335 ChangeLog entry for copied_ptr re-jig.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7763 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 20:51:47 +00:00
Angus Leeming
de7312a122 Beef up copied_ptr; use it rather than cow_ptr to store the BufferParams pimpl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7762 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 20:23:57 +00:00
Lars Gullik Bjønnes
cd03e2b7db Get rid of lyxstring, remove usage of STRCONV.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7751 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:00:00 +00:00
Angus Leeming
5c4bfd0354 Add #include <boost/assert.hpp>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7750 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 10:53:02 +00:00
Angus Leeming
d55d4b9c1c Add copied_ptr.h to the repository too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7732 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 23:06:18 +00:00
Angus Leeming
ffdb0baea3 Get rid of trailing whitespace 'noise' in future patches for the
forseeable future.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7724 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 18:27:24 +00:00
Lars Gullik Bjønnes
fcdb71906b Change Assert to BOOST_ASSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Angus Leeming
f9c1cafbe6 Pragmatic pimpl-ing of BufferParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7721 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:00:19 +00:00
Angus Leeming
f79df3dc11 Various trivial bits 'n' bats about config.h, header blurb etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7706 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 09:51:40 +00:00
Angus Leeming
4c6e0fe422 Removed all redundant using directives from the source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
0f9678630c Remove all unnecessary #includes from header files.
Add them as appropriate to .C files.
Rename Voss as Vo�, Juergen as J�rgen and Spitzmueller as Spitzm�ller.
Happy compiling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7701 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 01:45:40 +00:00
Angus Leeming
f3bff9d5d8 Move depth_type to support/types.h.
Remove paragraph.h from buffer.h, paragraph_funcs.h.
Add paragraph.h to a heap of .C files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7694 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 17:23:08 +00:00
Martin Vermeer
7ca0c9d069 Small bformat fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7687 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 19:20:26 +00:00
Angus Leeming
f239801ae3 Changes due to the removal of using directives from support/std_sstream.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7686 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 18:02:24 +00:00
Angus Leeming
236ea81bc5 Replace LString.h with support/std_string.h,
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +00:00
Angus Leeming
68a06b9c46 Consistent headers in support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7682 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 15:34:37 +00:00
Lars Gullik Bjønnes
2faa06b829 have row information on state line + one more bformat variant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7663 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 14:33:16 +00:00
Angus Leeming
1dffc5cfe4 Move #includes out of header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7659 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 03:54:04 +00:00
Angus Leeming
f228e41203 Move #include "lyxlib.h" out of Path.h, move ctor, dtor out of line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7657 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:44:16 +00:00
Angus Leeming
9498f9758f src/support/ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7650 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:28:39 +00:00
Angus Leeming
a4fc784124 Fix export of graphics images when compiling latex file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7649 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:23:38 +00:00
Angus Leeming
2158ae655b Don't bring namespace lyx::support into the global namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7646 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 12:56:52 +00:00
Angus Leeming
0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
Angus Leeming
9e75a45c7e ...and a few more. That's all this licence nonsense in my tree at the moment.
tex2lyx is now 'clean'.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7584 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 09:44:59 +00:00
André Pönitz
a9d4d09715 grr.. revert. wrong patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7535 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 08:17:27 +00:00
André Pönitz
87cab819b4 remove Row::pit_ member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7534 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 07:43:57 +00:00
Jean-Marc Lasgouttes
20af81782b more makefiles tweaks: kayvan's patch (with small changes); avoid rebuilding the whole xforms frontend everytime configure is run (using the weird but classic autoconf stamp trick); do not install path_defines.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7486 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 21:29:24 +00:00
Jean-Marc Lasgouttes
fea30d5137 fix running in place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7482 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 12:21:13 +00:00
Angus Leeming
f558c98c76 Jean-Marc teaches me that MakeRelPath is quite sophisticated...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7441 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 10:56:55 +00:00
Lars Gullik Bjønnes
5e73ad8fbd some more compression stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7433 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:05:58 +00:00
Angus Leeming
168f55ee33 latin1 in author names, not utf8.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7432 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 22:37:28 +00:00
Lars Gullik Bjønnes
618ad87140 correct magic for gzip and compress
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7412 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 12:47:20 +00:00
Lars Gullik Bjønnes
4a6041664e lyx_localedir fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7410 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 11:43:40 +00:00
Lars Gullik Bjønnes
a16c8a8759 zlib stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7405 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 23:40:08 +00:00
Angus Leeming
cd16abc0fd Flying high and free...
The user_lyxdir is also now a function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7399 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 22:13:29 +00:00
Angus Leeming
eee532a581 Learing to fly...
system_lyxdir is now a function too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7396 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:04:02 +00:00
Angus Leeming
d75728c527 I'm speeding up...
build_lyxdir is now a function, not a global variable.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7395 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 20:17:31 +00:00
Angus Leeming
8700a256d3 All day for not very much...
Well, Ok, tex2lyx now has reasonable values for the build_lyxdir,
system_lyxdir, user_lyxdir variables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7394 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 19:26:36 +00:00
Angus Leeming
8f90cc97a6 Replace occurances of system_tempdir with os::getTmpDir().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7365 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 18:25:29 +00:00
Angus Leeming
7e0e2dbb82 A new FileName class + use by the graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7348 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 20:42:40 +00:00
Angus Leeming
0d4d71dfe6 Finish the migration from namespace grfx to lyx::graphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7334 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:30:57 +00:00
Lars Gullik Bjønnes
01b31c56c9 make lyx compile with gcc 3.4. remove some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 08:46:00 +00:00
Lars Gullik Bjønnes
0148aec357 some more lyx::support fixups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7227 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-01 21:31:06 +00:00
André Pönitz
aeba4e75c3 last Friday's text*.C -> text_func shuffle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7225 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-01 11:51:20 +00:00
Lars Gullik Bjønnes
92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
André Pönitz
fa78e1ddb6 re-enable --with-included-string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 15:06:30 +00:00
Lars Gullik Bjønnes
1a8665988f the doxygen patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7219 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-28 01:23:11 +00:00
Angus Leeming
2b1a447714 Fix the texinfo dialog and associated cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7196 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-20 14:03:49 +00:00
Angus Leeming
9fe2fd47ea Standard blurb.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7185 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-18 09:56:10 +00:00
Lars Gullik Bjønnes
5dd63a2768 The Paste Recent patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7182 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-17 15:33:49 +00:00
Angus Leeming
8dea72a38c (copyFileToDir): ensure temp files have unique names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7139 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-10 13:37:25 +00:00
André Pönitz
e412a2a53e bit of undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7100 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 07:14:05 +00:00
Angus Leeming
6412ac52b6 Add new copyFileToDir helper function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7091 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 10:14:52 +00:00
Angus Leeming
c931a83efc Add a meaningful description of what LibScriptSearch now does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7077 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-01 20:49:48 +00:00
Angus Leeming
a565043e68 Modify LibScriptSearch to replace "$$s/" with an appropriate path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7070 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-31 09:24:46 +00:00
Lars Gullik Bjønnes
b1fb034c3b parlist-16-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6999 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 10:47:31 +00:00
André Pönitz
61861c8c89 ... and change the remaining char const * fmt to string const & fmt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6978 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 14:13:50 +00:00
André Pönitz
fae0ce3073 add missing implementation of three-arg overload of bformat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6977 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 14:10:32 +00:00
André Pönitz
a9d83a8583 lstrings.[Ch]: use string const & instead of char const * for format
more in line with the other args whcih are already string


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6974 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-16 14:59:48 +00:00
André Pönitz
33df766284 long int overload to make Kayvan's compiler happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6960 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-14 07:54:12 +00:00
André Pönitz
0e9bd2e87d STRCONV() all over the place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 16:24:49 +00:00
André Pönitz
dbef37d522 non-templated tostr in separate files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6955 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 14:36:24 +00:00
André Pönitz
b21a69d998 Alfredo's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6954 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 11:18:36 +00:00
André Pönitz
d31244b5e2 The 'bformat' introduction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
Lars Gullik Bjønnes
9101fa688c add missing config.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6942 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-06 20:34:12 +00:00
Lars Gullik Bjønnes
525259940d Some cleanup, and prepare for new feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6937 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-06 09:34:56 +00:00
André Pönitz
5b4633d0d1 fix compilation by adding a controversial feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6845 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-24 15:52:01 +00:00
John Levon
d28efb5543 bug 993
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6734 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-08 00:06:52 +00:00
John Levon
17c8764e0a move BoostFormat and boost-inst
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6651 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 20:25:44 +00:00
John Levon
20215c83e7 more Alert:: work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6625 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-29 09:02:08 +00:00