Bo Peng
00e305c9d9
Rename .C ==> .cpp for files in src, part one
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Bo Peng
98ebb77841
Rename .C => .cpp for files in src/frontends/controllers, step 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17999 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 18:04:04 +00:00
Jean-Marc Lasgouttes
20fa198c28
* os_unix.C (addFontResources): for Qt/Mac use the "fonts" directory, not "Fonts".
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17987 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 14:05:03 +00:00
Abdelrazak Younes
1757d1b1cd
* operator==(docstring const & l, char const * r): optimized a bit because it showed a lot in profile.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 22:39:04 +00:00
Enrico Forestieri
396cb8861a
Fix bug 3410 by Georg and me
...
* src/support/tempname.C
(tempName): Return FileName in utf8 encoding.
* src/lyxsocket.[Ch]
(LyXServerSocket::LyXServerSocket): Use FileName instead of string
and set the env var LYXSOCKET in the filesystem encoding as this
is what the client expects.
* src/support/socktools.[Ch]
(socktools::listen): Convert to FileName and use the filesystem
encoding for the file names stored in the sockaddr_un struct.
* src/client/client.C
(socktools::connect): Convert to FileName and use the filesystem
encoding for the file names stored in the sockaddr_un struct.
(LyXDataSocket::LyXDataSocket, main): Convert to FileName.
* src/lyx_main.C
(LyX::exec): Use FileName instead of string in socket code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17749 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 17:38:11 +00:00
Georg Baum
d4e8fdd703
Use FileName instead of strings in support::Package.
...
This fixes some encoding problems, and hopefully also bug 3410.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17746 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 13:09:54 +00:00
Georg Baum
b2e80ea2a4
remove unneeded lyx qualifier
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17743 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 11:20:09 +00:00
Georg Baum
e10d42a4f5
remove duplicate top_srcdir()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17741 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 09:39:05 +00:00
Bernhard Roider
4c9121df3b
Fix bug 1826 + A more precise parser for bibtex files based on the description found on this web page: http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html
...
Most important improvements:
- read file character by character and treat newline like space characters.
Thus the @ does not need to be at the beginning of a line.
- it reads @string entries and replaces the strings in the field values
- it also handles @comment entries
- it recovers from syntax errors at the next entry starting with @
- it ignores everything between entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17723 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 20:06:34 +00:00
Georg Baum
0159c9d6c7
Normalize everything that comes from 'outside' (plain text import,
...
keyboard input via kmap, clipboard and selection) to normalized form KC
(precomposed characters) since we don't support the decomposed form very
well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17702 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 08:15:39 +00:00
Georg Baum
329d50d90d
Use new isAlphaASCII and isDigitASCII functions instead of isalpha and
...
isdigit from ctype.h, because the latter are locale dependant and do not
work with char_type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17698 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 15:21:36 +00:00
Georg Baum
3213757e9a
remove unused stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 12:42:02 +00:00
André Pönitz
83b326d204
avoid evalutation of lyxerr arguments unless really needed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17675 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 10:09:49 +00:00
Jean-Marc Lasgouttes
d7250301a6
* src/encoding.C (latexChar,read):
...
* src/support/unicode.C (convert): do not forget to reset lyxerr to
std::dec type of output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17609 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 13:57:22 +00:00
Georg Baum
0f83c2563b
Convert makeRelPath to docstring (from Michael Gerz)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 07:24:16 +00:00
Peter Kümmel
65870c3168
final compilation: wheel was already invented :(
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17529 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 23:56:27 +00:00
Peter Kümmel
e0b6c1865e
msvc: don't #define max and min
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17516 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 23:42:21 +00:00
Peter Kümmel
ace2418598
trivial changes for all-in-one compilation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17494 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-20 21:53:01 +00:00
Enrico Forestieri
faa47db187
Don't hide the library directory when it appears alone
...
src/support/filetools.C
(makeDisplayPath): do not shorten path when it is the libdir one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17442 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-14 00:36:25 +00:00
Georg Baum
ac7ee5b85e
Don't use the char version of uppercase
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17430 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 10:22:10 +00:00
Georg Baum
4f4c5d4954
* src/support/lstrings.C
...
(lowercase): assert that input is pure ASCII
(uppercase): ditto
* src/support/lstrings.h
(lowercase): document that only ASCII input is allowed
(uppercase): ditto
* src/lyxfind.C
(stringSelected): Use compare_no_case (more efficient)
* src/MenuBackend.C: remove unused using directive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17393 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-02 16:52:49 +00:00
Jean-Marc Lasgouttes
a7c2c8e3d5
* support/filetools.C (makeDisplayPath): if the file is in the lyx
...
support directory, return as a relative path (enclosed in brackets)
* frontends/qt4/GuiView.C (updateTabs): use makeDisplayPath instead
of onlyFileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17384 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 21:48:04 +00:00
Georg Baum
471b4ea315
Fix bug 2937 (from Jean-Baptiste LAMY)
...
* src/support/filename.C
(DocFileName::mangledFilenam): Use a whitelist of allowed characters
instead of an incomplete blacklist of disallowed ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17378 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 19:01:10 +00:00
Georg Baum
d1f8c007f0
Get rid of some locale dependant functions
...
* src/output_plaintext.C
(writePlaintextParagraph): Use compare_ascii_no_case instead of
compare_no_case, since the strings to compare are pure ASCII anyway.
* src/frontends/qt4/QPrefsDialog.C
(setComboxFont): ditto
* src/MenuBackend.C
(Menu::checkShortcuts): ditto
* src/frontends/qt4/QLImage.C
(QLImage::loadableFormats): Use ascii_lowercase instead of lowercase
since the input is pure ASCII anyway.
* src/tex2lyx/text.C
(splitLatexLength): ditto
* src/support/lstrings.[Ch]
(compare_no_case): Get rid of both std::string variants
(lowercase): Get rid of std::string variant
(uppercase): Change std::string variant to docstring
* src/support/tests/regfiles/lstrings: Add new expected output
* src/support/tests/lstrings.C: Add tests for docstring functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17371 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:54:03 +00:00
Georg Baum
dca251a0ef
remove stray dollar sign
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17365 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:37:48 +00:00
Abdelrazak Younes
ba62665f96
* support/qstring_helpers.h: erase ucs4_to_qstring() method.
...
* FontMetrics.h: only one string width() method.
* Painter.h: only one text() method.
* all other files: adapt to above API change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:13:08 +00:00
Abdelrazak Younes
85f66bcd90
Fix support lib dependency problem.
...
* docstring.C: Implement utf8ToUcs4() locally.
* all other files: remove utf8ToUcs4().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 12:46:44 +00:00
Abdelrazak Younes
52eb91c94f
add config.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 11:18:37 +00:00
Georg Baum
8765ab59cd
Almost fix 'make check'. The only remaining problem is an undefined
...
reference to lyx::utf8ToUcs4.
I did not fix this since it is an interface violation that should be fixed
otherwise.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:31:01 +00:00
Georg Baum
56eea075fd
forgot this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17355 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:03:58 +00:00
Georg Baum
0418d14704
Fix character classification functions by using qt (bugs like 3270 and 1247)
...
* src/support/lstrings.C
(uppercase): Use qt instead of non working libc/home grown solution
(lowercase): ditto
(local_lowercase): Use qt instead of libc tolower for ucs4 chars
* src/support/qstring_helpers.C
(qstring_to_ucs4): Use qchar_to_ucs4 because of the assertion
* src/support/lstrings.h: Add some documentation
* src/support/qstring_helpers.h
(is_utf16): New function: Tests whether an ucs4 character is also a
valid utf16 character
(qchar_to_ucs4): Assert on is_utf16()
(ucs4_to_qchar): Replace old assertion with better is_utf16()
* src/support/textutils.h
(isLetterChar): Delete non-working implementation
(isPrintable): Ditto
(isPrintableNonspace): Ditto
(isDigit):
* src/support/textutils.C: New file, contains new implementations
using qt of the functions in textutils.h
* src/support/Makefile.am: Add textutils.C
* development/scons/scons_manifest.py: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:03:21 +00:00
Lars Gullik Bjønnes
144e61bc10
Fix-up damage done by overeager script in r15422
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17348 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 21:17:24 +00:00
Jean-Marc Lasgouttes
7dd29bb818
Move translated files to their own directory
...
What I did:
* move xx_foo.ext to xx/foo.ext
* update Makefile.am to make install work
* minimally update scons_manifest.py (I'd be surprised to see it
work).
* update i18nLibFileSearch to use the new naming scheme, and keep
temporarily some code that checks the old method.
* update image paths in .lyx files
* update name of files (examples in tutorial, for ex.) in lyx files
What is definitely broken:
* cmake (did not touch it)
* TOC files (I am not sure how the code works)
I would be surprised if nothing else was wrong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 18:12:03 +00:00
Georg Baum
914e698b8d
* src/support/filetools.C
...
(makeLatexName): Exclude ", otherwise we would trigger the same
problem of unbalanced quotes as in bug 3266
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17336 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 09:00:28 +00:00
Georg Baum
b555834103
Fix bug 3266
...
* src/support/filetools.C
(makeLatexName): Don't set the 8th bit of characters to 0.
This is not needed anymore, since we don't use isalpha() anymore,
but a whitelist of allowed characters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17331 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 20:51:05 +00:00
Georg Baum
13fa26d4f7
Don't include files inside the lyx namespace (compile fix for gcc 3.2)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17254 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-19 12:21:56 +00:00
Jürgen Spitzmüller
65b1b08a5c
* src/LaTeX.C (deplog): fix the regex to parse filenames in the log file
...
(fixes bug 3224)
*src/support/filename.C: limit asserts to windows platform
(fixes bug 3132)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 17:31:43 +00:00
Georg Baum
04debb8056
Revert unwanted stuff from last commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16932 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:37:13 +00:00
Georg Baum
a76050219a
Fix LyX paste from system clipboard when the file format does not match
...
* src/buffer.C
(Buffer::readString): Tell readFile that we do not have a file
(Buffer::readString): readFile(name) returns a bool, not an enum
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:35:56 +00:00
Georg Baum
feb7895965
Add machinery to output arbitrary unicode characters with LaTeX commands
...
read from a text file.
* src/encoding.[Ch]
(Encoding::latexChar): New, output a character to LaTeX
(Encoding::validate): New, add needed preamble stuff for a character
(Encodings::read): Read new unicodesymbols file
(Encodings::isCombiningChar): New, is a character a combining char?
* src/paragraph_pimpl.C
(isEncoding): Delete, no longer needed
(getEncoding): New, get the real encoding of a font
(Paragraph::Pimpl::latexSurrogatePair): New, output a surrogate pair
to LaTeX
(Paragraph::Pimpl::simpleTeXBlanks): Use latexSurrogatePair if needed
(Paragraph::Pimpl::simpleTeXSpecialChars): Ditto, and replace several
hardcoded characters with a call of encoding.latexChar()
(Paragraph::Pimpl::validate): replace several hardcoded characters
with a call of encoding.validate()
* src/support/debugstream.h
(basic_debugstream::disable): New, disable the stream completely
(basic_debugstream::enable): New, reenable the stream
* src/lyx_main.[Ch]: Adjust to changes above
* src/paragraph.C: Ditto
* lib/unicodesymbols: New file with UCS4 -> LaTeX command mapping.
It is far from complete yet, but contains most accents on latin
characters.
* lib/Makefile.am: add lib/unicodesymbols
* development/scons/scons_manifest.py: ditto
* development/tools/unicodesymbols.py: Helper script to update
lib/unicodesymbols with new symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 21:27:45 +00:00
Georg Baum
753d2cafa5
compile fix: std::exception does only have a default constructor, the other
...
constrcutor is non-standard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16835 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 16:24:47 +00:00
Abdelrazak Younes
801f807063
Display error/warning dialogs if possible.
...
* ExceptionMessage: new exception based message for errors and warnings.
* package.C.in:
- replace lyxerr based errors and warning with ExceptionMessage throwing.
- bail_out(): erased!
* os_win32.C:
- replace lyxerr based errors and warning with ExceptionMessage throwing.
- bail_out(): erased!
* tex2lyx.C: catch any exception from Package class.
* lyx_main.C: catch any exception from Package class and act accordingly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 15:49:20 +00:00
Abdelrazak Younes
0e85d5b1c0
revert last change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 15:23:59 +00:00
Abdelrazak Younes
2b1740d92d
revert last change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 15:09:00 +00:00
Abdelrazak Younes
6823d09f6b
Replace lyxerr based warnings and errors with Alert::error() and Alert::warning().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16826 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 13:30:30 +00:00
Abdelrazak Younes
a8c862dfe9
Replace lyxerr based warnings and errors with Alert::error() and Alert::warning().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-23 13:09:28 +00:00
Enrico Forestieri
b9aa557b35
Fix encoding of converters path and arguments
...
* src/converter.C
(Converters::convert): Convert command to be executed to the proper
encoding. Use from_utf8 instead of from_ascii in order to avoid
assertions when displaying an alert.
* src/support/docstring.[Ch]
(to_filesystem8bit): new conversion function.
* lib/scripts/fig2pstex.py
* lib/scripts/fig2pdftex.py:
Modified to reflect the changes above.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-22 02:58:47 +00:00
Georg Baum
77b9dbd557
Fix several filename and environment variable encoding problems
...
* src/LaTeX.C
(LaTeX::deplog): Assume that filenames in log files are stored in
the file system encoding
* src/frontends/qt4/qt_helpers.[Ch]
(internal_path): delete
* src/frontends/qt4/QGraphics.C: Adjust to change above
* src/frontends/qt4/QPrefsDialog.C: ditto
* src/frontends/qt4/QExternal.C: ditto
* src/frontends/qt4/QInclude.C: ditto
* src/support/os.h: Document the encoding of filename arguments
* src/support/os_win32.h: ditto
* src/support/filetools.C
(findtexfile): Convert filename from file system encoding
* src/support/os_win32.C: Convert filenames from utf8 to file system
encoding and vice versa where needed
* src/support/os_cygwin.C: ditto
* src/support/getcwd.C
(getcwd): Use internal_path() with correct encoding
* src/support/docstring.[Ch]
(from_filesystem8bit): new conversion function
* src/support/environment.C
(getEnv): convert environment variable from local 8bit encoding to utf8
(setEnv): convert environment variable from utf8 to local 8bit encoding
* src/support/environment.h: document encoding of function arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16753 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 20:47:27 +00:00
Abdelrazak Younes
200db1541a
Partly revert revision 16744. Georg doesn't want to mix string/docstring in there.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16745 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 13:35:01 +00:00
Abdelrazak Younes
0c496dc535
Convert internal_path() to unicode (partially). Fix bug 3114:
...
http://bugzilla.lyx.org/show_bug.cgi?id=3114
* os.h
- new docstring adapted internal_path()
* qt_helpers.[Ch]:
- new QString adapted internal_path()
All other files: use that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16744 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 12:30:07 +00:00
Enrico Forestieri
fc3a2761de
Log:
...
Move OS dependent code where it belongs.
* src/lyx_cb.C:
Remove unused include
* src/support/os.h
* src/support/os_unix.C
* src/support/os_win32.C
* src/support/os_cygwin.C:
Move here the code from fontutils.[Ch]
* src/support/os_cygwin.C
(external_path, external_path_list): don't differentiate anymore
on Qt/X11 or Qt/Win builds.
* src/support/environment.C
(setEnvPath): get rid of the #ifdef for cygwin.
* src/lyx_main.C
(LyX::exec): addFontResources and restoreFontResources are now
in the os namespace.
* src/support/Makefile.am
* src/client/Makefile.am
* src/tex2lyx/Makefile.am
* development/scons/scons_manifest.py:
Updated
* src/support/fontutils.[Ch]:
Removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16655 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-11 21:22:18 +00:00
Georg Baum
bcb1654b15
Make the output of \inputencoding commands (and the change of output
...
encodings) more fine grained: From paragraph level to individual character
level. The inputenc package supports that since at least 2000.
* src/insets/insetbase.h
(latex): Document the differences between output to a string stream
and a file stream
* src/buffer.h
(writeLaTeXSource): ditto
* src/output_latex.h
(latexParagraphs): ditto
(switchEncoding): new function to change the encoding of a stream
(and output \inputencoding commands)
* src/paragraph_pimpl.C
(Paragraph::Pimpl::simpleTeXSpecialC): Adjust to latexWriteEndChanges
changes
* src/support/docstream.[Ch]
(setEncoding, operator<<): New stream modifier that changes the
encoding of file streams
* src/lyxfont.[Ch]
(LyXFont::latexWriteStartChanges): Change stream encoding if needed
(LyXFont::latexWriteEndChanges): Change stream encoding if needed
* src/lyxfont.h
(public:):
* src/paragraph.C
(Paragraph::simpleTeXOnePar): Adjust to latexWriteStartChanges and latexWriteEndChanges changes
(bool Paragraph::simpleTeXOnePar):
(bool Paragraph::simpleTeXOnePar):
(bool Paragraph::simpleTeXOnePar):
(bool Paragraph::simpleTeXOnePar):
(bool Paragraph::simpleTeXOnePar):
* src/output_latex.C
(TeXOnePar): Remove the ugly hack to for wencoding changes and use
switchEncoding instead. A nice side effect is that the old hack would
not work if the main language encoding is latin1 and a character
would be mapped to a cedilla in the "fake ucs4" encoding, because
iconv refuses to convert such a character to latin1, although it
exists in latin1 (it wants to attach it to a base character).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16633 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 19:25:40 +00:00
Georg Baum
6ca4bd03e0
Add some documentation for findtexfile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16632 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 19:10:29 +00:00
Jean-Marc Lasgouttes
f8f59e97fb
* support/os_unix.C (canAutoOpen, autoOpenFile): on Mac OS X, use
...
the role kLSRolesAll for both edito and viewer, since it is what
the finder does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16602 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 13:20:19 +00:00
Bo Peng
f5114ba80d
src/support/unlink.C: Fix an #include error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16541 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 22:16:04 +00:00
Georg Baum
31bc611f34
Fix bug 3067: Special column attributes can contain non-ascii characters,
...
so store them in a docstring.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16537 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 17:11:32 +00:00
Michael Schmitt
79957d0f70
change LYX_USER_DIR_1[234]x to LYX_USER_DIR_15x
...
change LYX_DIR_1[234]x to LYX_DIR_15x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16481 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 18:02:26 +00:00
Georg Baum
9c162a9bc6
Implement more detailed iconv error messages for better tracking of bugs
...
like 3043
* src/support/docstream.C
(iconv_codecvt_facet::do_out): Output the to be converted string and
the partially converted result in hex notation if an error occurs
(iconv_codecvt_facet::do_in): ditto
(iconv_codecvt_facet::do_iconv): remove now obsolete error message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16469 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 20:57:34 +00:00
Georg Baum
bcbd895143
* src/support/unicode.C
...
(IconvProcessor::convert): Fix hex output of bytes on systems where
char is signed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 20:44:06 +00:00
Georg Baum
63524a4184
* src/support/unicode.C
...
(iconv_convert): Fix a crash: Don't try to create a vector from two
pointers where end is before begin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16408 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 07:35:57 +00:00
Georg Baum
979fdf7456
Fix strange bibtex problem by converting some more functions to use FileName
...
instead of std::string
* src/support/lyxlib.h
* src/support/getcwd.C
(getcwd): return a FileName, not a std::string in filesystem encoding
* src/support/filetools.[Ch]
(makeAbsPath): return a FileName, not a std::string in undefined encoding
* src/support/lyxlib.h
* src/support/tempName.C
(makeAbsPath): return a FileName, not a std::string in undefined encoding
* many other files: Adjust to the changes above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16399 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:56:11 +00:00
Georg Baum
5843e6bd7f
fix encoding of user name and email address
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16379 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 10:26:52 +00:00
Georg Baum
49b753f603
Fix another instance of filename encoding problems
...
* src/support/filetools.h
(fileSearch): change return value type to vector<FileName>
* src/support/filetools.C
(dirList): Convert filenames from the file system encoding
* src/converter.C
(Converters::move): Adjust to dirList interface change
* src/support/filename.[Ch]
(FileName::fromFilesystemEncoding): New static method
* src/client/client.C: Add comments about filename encoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16362 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 13:01:47 +00:00
Georg Baum
a1389d411c
Fix two filename bugs (from Enrico and me)
...
* src/support/filetools.[Ch]
(fileOpenSearch): comment out since it is unused
(fileSearch): Use addExtension instead of changeExtension, since we
are always called without extesnion, or with the correct one.
(addExtension): new function
* src/lyx_main.C
(LyX::init): tell fileSearch that we are also interested in the name
if the file does not exist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16361 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 12:04:01 +00:00
Abdelrazak Younes
d3cad65fe2
Change the rule to generate package.C from %VAR% to @VAR@
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16355 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 09:48:26 +00:00
Enrico Forestieri
6b5289825e
Don't use a global variable for avoiding removal of the system temp dir
...
* src/support/package.h
(Package::system_temp_dir): new, return the system temp dir.
* src/support/package.C.in
(Package::Package): record the system temp dir.
* src/lyx_main.C
(LyX::prepareExit): don't remove the temporary directory if it
is the same as the system temp dir, meaning that the lyx_tmpdir
has not yet been created.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16318 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 21:52:40 +00:00
Georg Baum
e4c3ce4627
Convert most of the bibtex machinery to docstring.
...
Don't limit citation keys to ASCII anymore, since InsetBibitem can generate
non-ASCII keys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16310 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 10:52:04 +00:00
Georg Baum
01c3046d5a
Add some forgotten FileName conversions to enable installation in non-ascii
...
paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16308 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 09:46:04 +00:00
Enrico Forestieri
5b5585e723
Account for a bigger width or precision when inserting a number into
...
a wide stream on systems where sizeof(wchar_t) == 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16294 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 22:53:06 +00:00
Edwin Leuven
6bfb3e6dc4
georg baum:
...
- add encoding arg to idocfstream
- open .bib files with idocfstream
- add ascii_lowercase that takes docstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16281 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:09:05 +00:00
Enrico Forestieri
e7a9321e43
Provide do_put methods for inserting all remaining basic type values
...
into wide streams on systems where sizeof(wchar_t) == 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16275 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 00:30:46 +00:00
Enrico Forestieri
fb5b1bc6c8
Provide do_put methods for inserting "unsigned long" and "double" values
...
into wide streams on systems where sizeof(wchar_t) == 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16272 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-14 00:31:18 +00:00
Bo Peng
6d0f02557d
revert r16260
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16266 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 16:23:29 +00:00
Bo Peng
525e28f520
Be consistent in how qt headers are included (QtCore/Q...), because QtXml etc may be used later.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16260 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 04:43:50 +00:00
Georg Baum
fe5c73915e
Make libQtCore a support library like boost and implement encoding conversion
...
from/to the local 8bit encoding with it.
Only the autotools build system is updated, scons and cmake users need to
add qt4 cpp flags when compiling libsupport, and link libsupport against
libQtCore.
* src/frontends/qt4/qt_helpers.[Ch]
(toqstr, qchar_to_ucs4, ucs4_to_qchar, ucs4_to_qstring,
qstring_to_ucs4, fromqstr): Move these qstring conversion functions
from here ...
* src/support/qstring_helpers.[Ch] ... to these new files
* src/support/docstring.[Ch]
(from_local8bit): new conversion function from local 8bit encoding
to ucs4
(to_local8bit): new conversion function from ucs4 to local 8bit
encoding to ucs4
(to_local8bit_failure): exception that is thrown by to_local8bit if
the argument cannot be converted to the local encoding
* src/support/filename.C
(FileName::toFilesystemEncoding): implement with the help of QFile
* src/support/Makefile.am: Add new files, qt4 cpp flags and link
against libQtCore
* src/client/client.C: Convert commandline input from local encoding
to ucs4. Convert stuff that is sent to to the server to utf8,
because LyX interprets it as utf8 on the other end of the pipe.
* src/lyx_main.C
(LyX::exec): convert commandline input from local encoding to utf8
(LyX::init): ditto
(LyX::easyParse): ditto
* development/scons/scons_manifest.py: Add new files
* config/qt4.m4: Define new variables QT4_CORE_INCLUDES,
QT4_CORE_LDFLAGS and QT4_CORE_LIB
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16257 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 20:19:46 +00:00
Georg Baum
55f575c4dd
convert thesaurus and spellchecker to docstring
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16229 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-10 11:52:46 +00:00
Edwin Leuven
fd44f28cae
* convert dir to internal path
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16187 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 22:36:31 +00:00
Georg Baum
95579c2a71
more unicode filenames (+ fix one possible initialization order bug in
...
needsUpdate() in src/lyx_main.C).
toFilesystemEncoding() is now used in all places where it is needed if I did
not forget anything.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16184 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 12:57:01 +00:00
Georg Baum
c4320d24cd
Make string conversion work with non-ucs2-characters if using qt 4.2
...
* src/frontends/qt4/qt_helpers.[Ch]
(toqstr): Use QString::fromUcs4 if the qt version is at
least 4.2.
(qstring_to_ucs4): Use QString::toUcs4 if the qt version is at
least 4.2
(ucs4_to_qstring): Delete to avoid confusion, since it was only
used in one place
* src/frontends/qt4/panelstack.C
(PanelStack::addCategory): Use toqstr instead of ucs4_to_qstring
* src/support/unicode.[Ch]
(ucs2_to_ucs4): Replace with utf16_to_ucs4
(ucs4_to_ucs2): Replace with ucs4_to_utf16
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16169 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 13:50:46 +00:00
Georg Baum
015abe1a5a
Allow empty file names in constructor, since empty filenames can now be
...
created by the default constrcutor anyway.
This prevents an assert in findtexfiles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16168 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 13:45:08 +00:00
Michael Schmitt
2c5a5bf52f
src/support/filename.C: add assertion to ensure that no Windows-style
...
file name is used internally (as suggested by Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16159 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 14:48:00 +00:00
Georg Baum
095625dc3c
remove unused stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16136 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-02 18:19:56 +00:00
Georg Baum
5afcd541fd
more unicode filenames
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16127 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-01 20:09:08 +00:00
Enrico Forestieri
517778ab09
Better using a space instead of '\0' in the num_get facet.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16103 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 13:39:49 +00:00
Enrico Forestieri
f17d9a7b86
Document the terminating '\0' in the num_get facet.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16093 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-28 19:15:05 +00:00
Enrico Forestieri
04f2c93ca5
Was forgetting this
...
* src/support/docstring.C
(do_get): terminate the string before using it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16086 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-28 00:24:18 +00:00
Enrico Forestieri
1a7aec0731
Improve the num_get locale facet
...
* src/support/docstring.C
(do_get): use reserve() and the += operator in order to
avoid a possible buffer overrun.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16070 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 01:52:26 +00:00
Georg Baum
8e6e970d7b
Next step of true unicode filenames: Use support::FileName instead of
...
std::string at many places (not all yet).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16069 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 21:30:39 +00:00
Bo Peng
c8429d4bbc
Detect mode_t for safe use of chmod, and for scons/msvc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15985 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 13:58:39 +00:00
Abdelrazak Younes
8346fb6a47
add comment about location of the implementation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15969 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 20:28:18 +00:00
Abdelrazak Younes
7aa50e8f2b
* lyx_main.[Ch]
...
- merge exec() and priv_exec()
- LyX constructor is now public.
- there is no global singleton_ object anymore, only a pointer.
- IconvProcessor(): new utf8 to ucs4 convertor.
* main.C: instantiate a LyX object and exec() it. No more use of static methods.
* docstring.C: use utf8ToUcs4() instead of a static variable.
* unicode.h: declare extern utf8ToUcs4().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15967 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 17:47:12 +00:00
Georg Baum
34a773b8cf
Split FileName into FileName and DocFileName. FileName will be used for all
...
file names, and DocFileName contains the special extensions for documents,
included figures etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15965 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 12:49:47 +00:00
Enrico Forestieri
fa2840e72b
Add locale facet in order to input numbers from wide streams on systems
...
where sizeof(wchar_t) == 2
* src/support/docstring.C:
- New class ascii_num_get_facet for inputting numbers from idocstreams.
- Add the ascii_num_get_facet facet to the locale initializer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15959 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 19:27:42 +00:00
Abdelrazak Younes
4f5432f427
* docstring.C: add a FIXME in utf8_to_ucs4() WRT static IconvProcessor and Mac
...
* lyx_main.C:
- LyX::prepareExit(): avoid utf8_to_ucs4() conversion at this late stage because this can cause problem on Mac.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15955 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 16:58:32 +00:00
Georg Baum
2981181ec3
Fix crashes reported by Bennet Helm and Kornel Benko
...
* src/support/unicode.[Ch]
(IconvProcessor): Rework the implementation to fix two bugs:
- iconv_close was called even if the conversion descriptor was
invalid
- The compiler generated copy constructor did simply copy the pimpl_
pointer. Therefore pimpl_ was deleted twice for all IconvProcessor
instances created by eightbit_to_ucs4() and ucs4_to_eightbit().
This is solved by using a scoped_ptr for pimpl_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15937 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 21:40:46 +00:00
Peter Kümmel
7860112e71
disable chmod usage with msvc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15917 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 16:11:59 +00:00
Peter Kümmel
b912982bdc
chmod fixes for msvc
...
* development/cmake/config.h.cmake:
there is no mode_t
* src/support/copy.C
chmod is declared in io.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15913 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 23:22:31 +00:00
Georg Baum
2db7521b70
Add support for the esint package
...
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): handle esint and wasysym
* src/mathed/MathMacroTable.[Ch]
(requires_): New member: tell the feature this macro requires
(MacroTable::insert): take new requires arg
* src/mathed/MathMacroTemplate.C
(MathMacroTemplate::asMacroData): adjust to change above
* src/mathed/MathSupport.C
(fontinfos): add esint10 font
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): AMS_ON -> package_on
* src/mathed/MathMacroTable.h
* src/mathed/MathFactory.C
(initSymbols): read and store requires field for symbols
* src/mathed/InsetMathSymbol.C
(InsetMathSymbol::metrics): handle esint
(InsetMathSymbol::takesLimits): ditto
* src/buffer.C
(LYX_FORMAT): update format
(Buffer::validate): handle esint, AMS_ON -> package_on
* src/bufferparams.C:
(AMSTranslator): Rename to PackageTranslator
(BufferParams::readToken): Read \use_esint
(BufferParams::writeFile): Write \use_esint
* src/frontends/qt4/QDocumentDialog.C: handle esint
* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes
* src/frontends/qt4/GuiFontLoader.C
(symbol_fonts: Add esint10 font
(symbolFamily): handle esint10 font
(isChosenFont): Add comment
* src/frontends/controllers/ControlMath.C
(latex_varsz): Add new integral symbols
* src/support/fontutils.C
(win_fonts_truetype): Add esint10 font
* src/bufferparams.h
(enum AMS): rename to enum Package
(use_esint): new parameter
* src/lyxfont.[Ch]: Add esint font
* lib/symbols: Add new integral symbols
* lib/lyx2lyx/LyX.py
(format_relation): Update format
* lib/lyx2lyx/lyx_1_5.py: handle new format
* lib/chkconfig.ltx: Test esint package
* lib/images/math/oiintop.xpm
* lib/images/math/sqintop.xpm
* lib/images/math/sqint.xpm
* lib/images/math/ointctrclockwiseop.xpm
* lib/images/math/ointctrclockwise.xpm
* lib/images/math/iiintop.xpm
* lib/images/math/iintop.xpm
* lib/images/math/sqiint.xpm
* lib/images/math/iiint.xpm
* lib/images/math/ointclockwiseop.xpm
* lib/images/math/oiint.xpm
* lib/images/math/dotsintop.xpm
* lib/images/math/sqiintop.xpm
* lib/images/math/ointclockwise.xpm
* lib/images/math/iiiintop.xpm
* lib/images/math/dotsint.xpm
* lib/images/math/iiiint.xpm
* lib/images/math/iint.xpm: new icons
* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package
* lib/doc/UserGuide.lyx: Add short documentation of integral symbols
* lib/Makefile.am: Add new files
* development/scons/scons_manifest.py: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00
Georg Baum
5ed606f9c5
Add a cache for converted image files. This needs to be enabled in the
...
preferences file with \use_converter_cache true. It is disabled by default,
and no GUI support for changing the preferences is yet implemented.
* src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Use image file cache
* src/insets/ExternalSupport.C
(updateExternal): Use image file cache
* src/exporter.C
(Exporter::Export): Do not use image file cache
* src/graphics/GraphicsCacheItem.C
(CacheItem::Impl::imageConverted): Add the converted file to the
image file cache
(CacheItem::Impl::convertToDisplayFo): Use image file cache
* src/converter.C
(Converters::convert): Use image file cache if the caller allowed that
* src/converter.h
(Converters::convert): Adjust arguments
* src/Makefile.am: Add new files
* src/support/lyxlib.h
(chmod): new function
(copy): add mode argument
* src/support/copy.C
(chmod): new function
(copy): implement mode argument
* src/support/mkdir.C
(lyx::support::mkdir): Add warning if permissions are ignored
* src/lyxrc.[Ch]: Add new settings \converter_cache_maxage and
\use_converter_cache
* src/ConverterCache.[Ch]: New image file cache
* src/importer.C
(Importer::Import): Do nut use the image file cache
* src/lyx_main.C
(LyX::init): Initialize the image file cache
* src/mover.[Ch]
(Mover::do_copy): Add mode argument
(SpecialisedMover::do_copy): ditto
* configure.ac: Check for chmod
* development/cmake/ConfigureChecks.cmake: ditto
* development/cmake/config.h.cmake: ditto
* development/scons/SConstruct: ditto
* development/scons/scons_manifest.py: Add new files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15897 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:27:57 +00:00
Georg Baum
a116e04b8b
Use wctype character classification functions if possible
...
* src/buffer.C
(Buffer::insertStringAsLines): Uncomment isPrintable test
* src/support/lstrings.C
(compare_no_case): Use char_type and not int for the docstring version
(ascii_tolower): Convert to a template
(compare_ascii_no_case): Do not use a template anymore, because we
need int for the string version and char_type for the docstring
version as intermediate type
(lowercase): Use towlower if possible
(uppercase): Use towupper if possible
* src/support/textutils.h
(isLetterChar): Use iswalpha if possible
(isPrintable): Use iswprint if possible
(isPrintableNonspace): Use iswprint and iswspace if possible
(isDigit): Use iswdigit if possible
* src/paragraph.C
(Paragraph::asString): remove obsolete FIXME
(Paragraph::transformChar): add FIXME
* configure.ac: Add definition of LIBC_WCTYPE_USES_UCS4 to config.h
* development/cmake/config.h.cmake: ditto
* development/scons/SConstruct: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15893 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 09:53:25 +00:00
Georg Baum
29012f2596
Fix output of labels and references that contain characters with an UCS4
...
codepoint > 255.
I decided that this is no file format change: We already had the change to
format 249 that allowed unicode in .lyx files. The output to .tex of
non-ascii characters is now different than before (even for those that were
supported previously, e.g. german umlauts in latin1), but this is only
relevant if people referenced a label in ERT. Since we cannot detect this
anyway we don't need a file format change.
* src/support/lstrings.C
(escape): Extend the escaping algorithm from 8 bit to 24 bit.
* src/support/lstrings.h
(escape): Update comment
* lib/lyx2lyx/lyx_1_4.py
(lyx_support_escape): Update comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15883 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 13:42:20 +00:00
Georg Baum
7e7d28a0ca
Make it possible to uses non-ascii labelstring, endlabelstring and
...
labelstring_appendix in layout files
* src/text2.C
(LyXText::setLayout): Translate labelwidthstring for paragraph
(LyXText::getStringToIndex): labelwidthstring is now a docstring
* src/buffer.[Ch]
(Buffer::translateLabel): New method for translating a label if it
is not already translated by the user in the layout file
* src/lyxtext.h
(setParagraph): labelwidthstring is now a docstring
* src/support/lstrings.[Ch]
(bool isAscii): New utility function: Determine whether a docstring
contains only pure ascii
* src/text3.C
(LyXText::dispatch): setParagraph() now takes a docstring
* src/lyxlayout.C
(LyXLayout::read): Don't use from_ascii when reading labelstring_,
endlabelstring_ and labelstring_appendix_
* src/buffer_funcs.C
(setLabel): labelwidthstring is now a docstring
(setLabel): Use Buffer::translateLabel instead of Buffer::B_ to
translate labels
(expandLabel): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15855 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-11 12:00:34 +00:00
Enrico Forestieri
1c5ef229e2
Add locale facet in order to output numbers to wide streams on systems
...
where sizeof(wchar_t) == 2
* src/support/docstring.C:
- New class num_put_failure for warning about non-ascii characters.
- New class ascii_num_put_facet for outputting numbers to odocstreams.
- Add the ascii_num_put_facet facet to the locale initializer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15849 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-11 00:04:28 +00:00
Joost Verburg
b398d3b02b
start lyx namespace after header files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15709 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 12:36:51 +00:00
Georg Baum
864ed2c8f9
* src/support/docstream.C
...
(iconv_codecvt_facet::do_max_length): Update to current UTF8
specification and return 4 for UTF8.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15642 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 18:54:30 +00:00
Georg Baum
4d814f3e73
Remove unused variable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15624 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 18:32:55 +00:00
Abdelrazak Younes
2d5ecd2bb8
remove the constness of the two code strings because this does not pass boost_concept_check with gcc-3.3.4-11:
...
g++ -/usr/include/g++/bits/boost_concept_check.h: In member function `
lyx::IconvProcessor& lyx::IconvProcessor::operator=(const
lyx::IconvProcessor&)':
/usr/include/g++/bits/boost_concept_check.h:203: instantiated from `void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp = lyx::IconvProcessor]'
/usr/include/g++/bits/stl_map.h:94: instantiated from `std::map<std::string, lyx::IconvProcessor, std::less<std::string>, std::allocator<std::pair<const std::string, lyx::IconvProcessor> > >'
unicode.C:281: instantiated from here
/usr/include/g++/bits/boost_concept_check.h:203: error: non-static const member
`const std::string lyx::IconvProcessor::tocode_', can't use default
assignment operator
/usr/include/g++/bits/boost_concept_check.h:203: error: non-static const member
`const std::string lyx::IconvProcessor::fromcode_', can't use default
assignment operator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15612 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 09:36:33 +00:00
Abdelrazak Younes
826c31a80d
* unicode.[Ch]: new IconvProcessor class that enable to split iconv_convert() initialization and conversion parts.
...
* docstring.C: utf8_to_ucs4() makes use of IconvProcessor instead of iconv_convert.
The IconvProcessor interface will permit to switch to another processor than iconv.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15609 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 21:59:59 +00:00
Abdelrazak Younes
451b12d00d
* LyXLex::Pimpl::buff is now a string.
...
* unicode.[Ch]:
- new non template iconv_convert()
- iconv_convert() template use above function.
* docstring.C:
- utf8_to_ucs4(): new function, use the new iconv_convert() function above.
- from_utf8(): use utf8_to_ucs4() function above.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15592 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-28 15:16:30 +00:00
Georg Baum
fa1856440c
Restore inputenc support
...
* src/encoding.h
(encoding_table): remove, this is no longer needed with unicode
(iconvName_): new member: name of the encoding in iconv syntax
* src/exporter.C
(Exporter::Export): Use return value of Buffer::makeLaTeXFile
* src/buffer.[Ch]
(Buffer::makeLaTeXFile): return whether the file has been created
successfully
* src/buffer.C
(Buffer::makeLaTeXFile): Use a docstream that converts to the correct
encoding
Display an error dialog is something went wrong
* src/bufferparams.C
(BufferParams::writeLaTeX): Undo the utf8 inputenc hack
* src/frontends/qt4/QDocumentDialog.C: Add some FIXMEs
* src/support/unicode.[Ch]
(eightbit_to_ucs4): New conversion function
(ucs4_to_eightbit): New conversion function
* src/support/docstream.[Ch]
(utf8_codecvt_facet_exception): Move to header and rename to
iconv_codecvt_facet_exception
(odocfstream): Take the encoding as argument
* src/support/docstream.C
(utf8_codecvt_facet): Generalize to other encodings than utf8 and
rename to iconv_codecvt_facet
* src/encoding.C: Remove obsolete tables
* src/output_latex.C
(TeXOnePar): Convert the paragraph to different encoding if needed
* lib/encodings: Remove obsolete tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15564 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 15:01:45 +00:00
Asger Ottar Alstrup
7c595cb763
- We guess Lars smoked something (we didn't see him, but
...
that's the only explanation)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15492 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 19:09:09 +00:00
Lars Gullik Bjønnes
3674a8c003
LFUN_UNICODE_INSERT - unicode-insert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15490 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 18:47:19 +00:00
Lars Gullik Bjønnes
8f261b1529
The Gtk removal from trunk.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15488 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 18:05:16 +00:00
Asger Ottar Alstrup
5c85bf0c64
- 5% speed-up by reserving space in the vector we build for drawing
...
- Simplify isPrintableNonspace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15475 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 13:51:37 +00:00
André Pönitz
de6418f377
use more unicode in math
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 10:15:23 +00:00
Abdelrazak Younes
3a0cbc2be7
put back the :: global namespace identifiers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15431 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:30:58 +00:00
Abdelrazak Younes
87e34d9784
MSVC linking error fix:
...
support.lib(tempname.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl lyx::_open(char const *,int,int)" (__imp_?_open@lyx@@YAHPBDHH@Z) referenced in function "int __cdecl lyx::`anonymous namespace'::make_tempfile(char *)" (?make_tempfile@?A0xcf85a5f4@lyx@@YAHPAD@Z)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15427 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 07:55:42 +00:00
Abdelrazak Younes
5c0438b85c
MSVC compilation fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15425 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 07:26:07 +00:00
André Pönitz
6c300f72a2
move everything into namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
Georg Baum
ffe7cb1b78
Use the new InsetCommandParams interface (inset part), from Ugras and me
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15413 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 16:12:49 +00:00
Asger Ottar Alstrup
2a887391ff
- Fix crash on closing a document where for instance the PDF is still open (temp directory can not be removed when another program has an open file there)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15391 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 08:42:16 +00:00
Asger Ottar Alstrup
9e8d9ad176
- Fix a few unicode bugs
...
- Fix LaTeX export of User guide (the utf8 conversion buffer was too small)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15390 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 08:06:14 +00:00
Lars Gullik Bjønnes
0d449056ef
Output docbook as utf8. Probably quite a bit more work needed, but then help form a docbook person is needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15387 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 21:00:33 +00:00
Georg Baum
8b67659646
Use UTF8 for LaTeX export.
...
Known problems:
- No space is output after a \hfill. I probably broke this with the
InsetCommand patch. I'll have a look later.
- Although the encoding is now UTF8 the arguments of the inputenc package
are still the old ones, so LaTeX will not run.
- Labels and references with non-ASCII characters are broken. This needs to
be fixed in lyx::support::escape(), but this is a file format change.
- Something seems to be wrong with index entries, but this is probably also
due to the InsetCommand changes.
Have fun!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15378 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 16:51:30 +00:00
Abdelrazak Younes
39acc2260d
add some sanity checks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15362 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-18 12:06:04 +00:00
Abdelrazak Younes
5ac136d708
MacOSX compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15354 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-17 11:58:21 +00:00
Georg Baum
255501fa77
Add missing convert<> specialization for unsigned long.
...
This is needed on OS X.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15323 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-13 15:35:18 +00:00
Georg Baum
b0297263df
Work around a gcc bug on systems where wchar_t is not used as lyx::char_type
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15312 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 19:18:17 +00:00
Georg Baum
34b7650cbb
Introduce wide streams. This fixes the remaining problems of plain text
...
export (e.g. the ToC) and the navigate menu.
* src/insets/insetbase.h
(InsetBase::plaintext): output to a docstream
(InsetBase::textString): ditto
* src/mathed/TextPainter.h
(TextPainter::show): ditto
* src/support/docstream.[Ch] New file and string streams for
docstring. The file streams convert to UTF8 on the fly.
* many more files: Adjust to the changes above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15301 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-11 19:40:50 +00:00
Georg Baum
e1d0ce0a6e
qt3 compiles again
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15299 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-11 18:32:32 +00:00
Abdelrazak Younes
f5f4b31f4a
This commit is converting everything related to browsing to unicode (qt4 only).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15293 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-09 16:33:20 +00:00
Abdelrazak Younes
e7c4a0554c
more unicode work.
...
* lstrings.[Ch]: new docstring trim() function
* qt4/validators.C: PathValidator::validate() and printable_list() converted to unicode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15281 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-09 09:15:37 +00:00
Georg Baum
5eec8f015e
Fix debug output (detected by a MSVC warning)
...
* src/support/unicode.C
(iconv_convert): Use boost::uint32_t for storing a buffer character,
since the previously stored unsigned char is too small. I did not
use lyx::char_type on purpose because that might not be interpreted
as number, but as wide character if lyx::char_type == wchar_t.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15278 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-08 10:31:34 +00:00
Georg Baum
3836ff77f0
Oops, I forgot to return a reference in operator+=. This patch fixes that.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15276 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-08 09:59:17 +00:00
Georg Baum
ead66c0679
Add operator += for ASCII C strings and single ASCII chars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15274 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-08 09:44:26 +00:00
Enrico Forestieri
99fc6935a5
Replace the magic value 1000 with a const variable
...
* src/support/unicode.C
(iconv_convert): replace 1000 by const outsize.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15264 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-07 00:35:01 +00:00
Georg Baum
fd6fa1e2af
Fix crash on systems where sizeof(wchar_t) == 2 and gcc is used by adding
...
a working ctype<lyx::char_type> locale facet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15223 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 19:27:17 +00:00
Abdelrazak Younes
f78e126d1e
APPLE compilation fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15218 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 15:51:16 +00:00
Enrico Forestieri
69d72462b6
Avoid compile errors due to the min/max macros on mingw, too
...
* src/support/fontutils.C:
Undefine the min and max macros if they are defined
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15210 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 12:37:18 +00:00
Enrico Forestieri
42b65db612
Avoid a compilation error on cygwin
...
* src/support/fontutils.C:
Undefine the min and max macros after inclusion of windows.h on cygwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15203 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 00:58:53 +00:00
Enrico Forestieri
5070d2f660
Fix build on cygwin when using --without-x
...
* src/frontends/qt4/GuiView.C
(setGeometry): replace test for Q_OS_WIN32 with Q_WS_WIN
* src/support/fontutils.C:
If X_DISPLAY_MISSING is defined, compile the code for Win32
on cygwin, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15201 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 18:21:48 +00:00
Abdelrazak Younes
6a947f349b
This commit moves system font initialization and restoration to new support/fontutils.[Ch].
...
These font related functions were identical for qt3 and qt4. They are not Qt dependent at all and could also apply to an eventual Win32 or MacOSX gtk port.
Jen-Marc says: It would be nice to convince fontconfig to do the same for linux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15196 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 10:48:03 +00:00
Lars Gullik Bjønnes
dfd9c61b31
propdel svn:executable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15056 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 07:09:36 +00:00
Georg Baum
9080c44458
Use wchar_t as lyx::char_type if it is 32 bit wide.
...
No scons and cmake support! scons and cmake need to find out the size of
wchar_t and define this macro in config.h (example for 32bit wchar_t):
* The size of a `wchar_t', as computed by sizeof. */
#define SIZEOF_WCHAR_T 4
* configure.ac: Test size of wchar_t
* src/support/types.h: don't include docstring.h anymore.
Use wchar_t as lyx::char_type if it is 32 bit wide.
* src/support/docstring.h: Use lyx::char_type for defining docstring
* src/metricsinfo.h: include support/docstring.h instead of
support/types.h
* src/lyxlex.h: ditto
* src/frontends/font_metrics.h: ditto
* src/frontends/qt4/qt_helpers.h: ditto
* src/frontends/Painter.h: ditto
* src/errorlist.h: ditto
* src/support/lstrings.h: ditto
* src/lyxfunc.h: ditto
* src/LaTeX.h: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14991 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-13 21:13:49 +00:00
Georg Baum
59fdb31af3
s/boost::uint32_t/lyx::char_type/g except in the definition of lyx::docstring
...
and lyx::char_type
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14990 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-13 17:11:39 +00:00
Georg Baum
61102f1028
Compile fix for the case when USE_BOOST_FORMAT is 0
...
* src/support/lstrings.C
(bformat): Add missing lyx::from_ascii()
* src/support/convert.C
(docstring convert<docstring>(unsigned int)): Add specialization
(docstring convert<docstring>(long)): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14983 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-13 11:18:13 +00:00
Georg Baum
d17a57a6f3
Fix converters in our scripts directory
...
* src/graphics/GraphicsConverter.C
(build_script): quote filenames in the python script properly
(build_script):
(build_script):
* src/support/filetools.[Ch]
(quoteName): Add quote_style argument and quoting of python filenames
(libScriptSearch): Add quote_style argument
* src/support/filetools.C
(quote_style): New enum to specify the quoting style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14978 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-11 16:07:49 +00:00
Abdelrazak Younes
a6444784dc
A bunch of conversion to docstring.
...
- bformat(): contributed by Georg Beaum
- Alert::XXX
- error(): in SpellBase, ispell, psell, aspell, buffer, etc.
- message(), message signal
- displayMessage(), setMessage,
- ErrorItems
- prettyName()
- makeDisplayPath()
and maybe some more...
- etc...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14970 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-11 08:54:10 +00:00
Georg Baum
189d298d96
Add operator+ for ASCII characters and ASCII C strings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14969 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-11 07:13:56 +00:00
Lars Gullik Bjønnes
bb61b2655f
More unicode work. Fixup some usages.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14968 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-10 18:34:24 +00:00
Lars Gullik Bjønnes
2a06b31354
Some further work and simplification. Now the conversion engine is only restarted on error.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14967 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-10 16:59:36 +00:00
Lars Gullik Bjønnes
8fd2299744
Cleanup and speedup some of the conversion functions a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14966 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-10 11:39:57 +00:00
Abdelrazak Younes
cfb1d179e6
win32 compilation fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14962 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-10 10:32:41 +00:00
Lars Gullik Bjønnes
0dc81f2463
Change MenuBackend and the other menuclasses to store a docstring. Do the required updates to lstrings/convert.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14955 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-09 22:27:22 +00:00
Lars Gullik Bjønnes
43b77ba2d7
Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14952 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-09 15:27:44 +00:00
Bo Peng
f478418d3f
Minor os_cygwin.C change, from Enrico
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14945 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-08 15:07:22 +00:00
Georg Baum
c7be292968
s/errno.h/cerrno/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14932 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 15:23:16 +00:00
Georg Baum
71577b7c31
Fix compile error
...
* src/support/fs_extras.C: include errno.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14931 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 13:08:33 +00:00
Peter Kümmel
dc5a9f7d2c
update to boost 1.34 cvs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14911 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-06 09:47:45 +00:00
Lars Gullik Bjønnes
d64a07a784
Update in-tree boost to latest from boost 1.34 cvs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14895 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-05 07:18:36 +00:00
Georg Baum
15be4fb8ef
Fix byte order problems
...
* src/support/unicode.C
(bytes_to_ucs4): make it work on big endian machines
(bytes_to_ucs2): make it work on little endian machines
(ucs2_to_ucs4): ditto
(utf8_to_ucs4): Invoke iconv with explicit BE suffix
(ucs2_to_ucs4): ditto
(ucs4_to_ucs2): ditto
(ucs4_to_utf8): ditto
* configure.ac: Check for byte order
* development/scons/SConstruct: Ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14890 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-04 14:43:25 +00:00
Abdelrazak Younes
a6e0f26fe2
* MSVC compilation fix: replace subst template with subst_char and sub_string
...
* add lowercase() and uppercase() functions for unicode char_type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14881 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 14:09:24 +00:00
Abdelrazak Younes
9e18b8e975
All methods: use char_type as argument instead of char.
...
isLetterChar(): verify also that this is a one-byte char (<256).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14877 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 12:12:53 +00:00
Georg Baum
e33bac93cd
Fix clipboard/selection encoding
...
* src/frontends/qt[34]/qt_helpers.[Ch]
(toqstr): add variant for docstring
(qstring_to_ucs4): Use docstring and port from qt4 to qt3
* Many other files: Many std::string -> lyx::docstring conversions
* src/support/lstrings.[Ch]
(subst): Add variant for docstring and char_type
(externalLineEnding): std::string -> lyx::docstring
(internalLineEnding): std::string -> lyx::docstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14871 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 07:02:38 +00:00
Georg Baum
6afe0b915c
Fix some conversion problems spotted by MSVC warnings
...
* src/insets/insetquotes.[Ch]
(InsetQuotes::InsetQuotes): char -> lyx::char_type
* src/support/lstrings.h
(contains): new variant for docstrings
* src/frontends/controllers/ControlSpellchecker.C
(isLetter): Add missing conversion to utf8
(nextWord): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14867 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-02 10:18:20 +00:00
Abdelrazak Younes
14c30e2b84
iconv_convert(): return empty vector in case of empty input
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14866 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-02 08:01:50 +00:00
Georg Baum
1fc0c01877
convert lfun arguments to docstring
...
* src/support/docstring.[Ch]
(from_ascii): new conversion function
(from_utf8): new conversion function
(to_utf8): new conversion function
(operator==) new, compare docstring and ASCII C string
(operator!=) new, compare docstring and ASCII C string
* src/support/Makefile.am: add new file docstring.C
* development/scons/scons_manifest.py: ditto
* src/funcrequest.[Ch]
(argument): change name to argument_ and type to docstring,
add an accessor
(FuncRequest): Add two new constructors taking a docstring argument
* all other files: adjust to the FuncRequest changes above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14861 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-01 15:41:38 +00:00
Abdelrazak Younes
02f51e1820
Patch from Enrico:
...
In src/support/os_cygwin.C path styles are converted (when needed) from
one style to another. I discovered a couple of cases in which an
unnecessary conversion takes place.
The default output path style in external_path is windows because this
function is also used when adding fonts though a native Windows API call.
However, this call is not made in an X11 build, so it is not necessary
that the output path style is windows.
Log:
Small fixes for cygwin.
* os_cygwin.C (is_windows_path): avoid unnecessary conversion
when path is relative
(convert_path_list): avoid unnecessary conversion when path
list is empty
(external_path): for an X11 build it is not necessary that
the output path style is windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14859 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-01 13:37:52 +00:00
Abdelrazak Younes
d64b3a4a0a
simple one line optimisation in iconv_convert().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14854 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-31 08:49:12 +00:00
Bo Peng
e530d2ddd2
Scons: add support for msvc qt3
...
* src/support/package.C.in: use PATH_MAX instead of MAX_PATH
* INSTALL.scons: add instruction for building qt3 2ith msvc
* development/scons/SConstruct: use the right lib (qt-mt3) and manifest file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14709 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 21:34:24 +00:00
Georg Baum
161db0a9ee
* src/support/docstring.h: Add char_traits template functions for
...
gcc 3.3.x and older. They were first supplied with the libstdc++ of
gcc 3.4.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14685 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-15 12:31:35 +00:00
Abdelrazak Younes
0ca50d9637
deleted "#include <boost/cstdint.hpp>" as it is already in unicode.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14674 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 16:30:47 +00:00
Abdelrazak Younes
bd61a7a387
Windows compilation fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14671 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 14:19:52 +00:00
Abdelrazak Younes
615ef2527a
add docstring.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14665 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 09:00:53 +00:00
Lars Gullik Bjønnes
c46b7d8955
Merge the unicode branch into trunk.
...
- src/support/unicode.[Ch]: new files with functions for converting
to and fro ucs4, ucs2 and utf8.
- src/support/docstring.h: specialization of basic_string that
holds a uint32_t internally.
- Several functions changed to use char_type instead of char or unsigned char.
- Qt3 and Qt4 sends ucs2 on to core
- Gtk sends ucs4 on to core
- Read and write utf-8 .lyx files.
- font_metrics and painter updated to handle ucs4 chars as input.
- Quite a bit of ugly compability code, conversion string->docstring, etc.
- Have fun...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14661 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 22:54:59 +00:00
Bo Peng
a871153a72
Remove the hide console trick in support/os_win32.C since wrapper hidecmd.c can completely hide the console.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14498 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-25 19:38:56 +00:00
Georg Baum
025a200c03
Fix bug 2524
...
* src/support/tests/test_convert: Change shell from bash to sh
* src/support/tests/test_filetools: ditto
* src/support/tests/test_lstrings: ditto
* src/frontends/controllers/tests/test_biblio: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14468 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-16 10:04:26 +00:00
Georg Baum
82a4214f7b
make FileName::isZipped more efficient by caching previous results
...
* src/insets/insetgraphics.C
(copyToDirIfNeeded): replace file_in and zipped arguments with a
FileName argument
(InsetGraphics::prepareFile): adjust call of copyToDirIfNeeded
* src/support/filename.C
(FileName::FileName): set zipped_valid_
(FileName::set): ditto
(FileName::erase): ditto
(isZipped): use zipped_
* src/support/filename.[Ch]
(zipped_): new cache for isZipped()
(zipped_valid_): new, tell whether zipped_ is valid
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14376 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 14:16:56 +00:00
Michael Schmitt
4eccc22119
remove xforms relicts
...
* src/frontends/qt3/QPrefs.C:
* src/frontends/controllers/BCView.tmpl:
* src/support/package.h: fix/remove comment
* po/pocheck.pl: no longer check for xforms shortcuts
* development/Win32/lyx.vcproj: ignore ControlPreamble.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14372 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 09:40:15 +00:00
Bo Peng
f3900a9e45
Stop using 'sh uname' etc for cygdrive, from Enrico Forestieri <forenr@tlc.unipr.it>
...
* src/support/os_win32.C: Query the registry about cygwin, instead of
calling uname
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14276 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 14:28:36 +00:00
Georg Baum
4ae87a3bb8
Call python with the -tt switch to make mixed tab/space indentation an error
...
* src/support/os.[Ch]
(python): new function, return the python command
* lib/lyx2lyx/lyx_1_5.py
(revert_font_settings): replace tabs with spaces
The rest is simply s/python/python -tt/ and
s/"python"/lyx::support::os::python()/ where appropriate.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14270 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 13:54:01 +00:00
Jean-Marc Lasgouttes
44a5cfc89c
Renaming:
...
cygwin_path_fix -> windows_style_tex_paths
cygwin_path_fix_needed -> tex_expects_windows_paths
check_cygwin_path -> check_windows_style_tex_paths
use_cygwin_paths -> use_windows_paths
RC_CYGWIN_PATH_FIX -> RC_TEX_EXPECTS_WINDOWS_PATHS
* src/frontends/qt4/ui/QPrefCygwinPathUi.ui
* src/frontends/qt3/ui/QPrefCygwinPathModule.ui
Updated checkbutton label and description
* src/frontends/qt4/QPrefsDialog.C
(PrefCygwinPath): cygwin_path_fix -> windows_style_tex_paths
(QPrefsDialog): Enable checkbutton for native WIN32 builds
* src/frontends/xforms/forms/form_preferences.fd
Updated label and name of checkbutton
* src/frontends/xforms/FormPreferences.C
(apply): cygwin_path_fix -> windows_style_tex_paths
check_cygwin_path -> check_windows_style_tex_paths
(build): Enable checkbutton for native WIN32 builds
(update): Ditto
(feedback): Updated description
* src/frontends/qt3/QPrefs.C
* src/frontends/qt3/QPrefsDialog.C
* src/frontends/qt3/QPrefsDialog.h
Renaming as above, enabled checkbutton for native WIN32 builds
* src/support/os_unix.C
* src/support/os.h
* src/support/os_win32.C
Renaming cygwin_path_fix -> windows_style_tex_paths
* src/support/os_cygwin.C
Ditto
(external_path, external_path_list): always return windows
style paths, not depending on the checkbutton status
* src/lyxrc.C
* src/lyxrc.h
* src/lyxfunc.C
* src/lyx_main.C
Renaming
* lib/configure.py
Renaming, more meaningful diagnostics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14242 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 10:51:24 +00:00
Bo Peng
5ea7194a60
Generate python code in GraphicsConverter.C, replace convertDefault.sh by convertDefault.py
...
* src/graphics/GraphicsConverter.C: generate python instead of shell scripts
* src/converter.C: use convertDefault.py
* lib/scripts/convertDefault.sh: translated to convertDefault.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14223 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 14:17:12 +00:00
Abdelrazak Younes
d8ae51dbe1
This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14152 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-20 08:39:16 +00:00
Georg Baum
d8d9db0879
* src/support/lyxalgo.h
...
(count): Compile fix (add forgotten typename)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14116 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-15 08:06:00 +00:00
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
John Levon
47432f0259
The inset newline patch I sent plus the requisite fixes. I couldn't reproduce a problem.
...
JMarc, I haven't moved those latex bits into the ::latex method yet though.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6471 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 19:16:42 +00:00
André Pönitz
ce3b1fa997
activate the new InsetHFill,
...
small ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6448 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-11 15:01:29 +00:00
Angus Leeming
165c7cadf1
(Ling Li): re-write eliminate_duplicates to avoid initial sort.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6294 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 13:41:22 +00:00
Angus Leeming
2b6daa9ba8
Strip bogus continue
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6270 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 19:12:05 +00:00
Angus Leeming
3ac369b71c
Alfredo's forkedcall queue.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6267 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 18:56:09 +00:00
Angus Leeming
9a33e5e4d2
Alfredo's patches to the forkedcall controller and to the graphics loader.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6256 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 15:17:53 +00:00
Angus Leeming
fa504a8603
Use a while loop instead of a for loop. Makes it easier to erase an element.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6243 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 12:42:28 +00:00
Angus Leeming
51ad0ec92f
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6242 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 12:33:33 +00:00
Angus Leeming
d859b1ddc0
Don't start a running timer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6237 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 11:33:00 +00:00
André Pönitz
fbe3862bcd
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6225 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 14:53:44 +00:00
André Pönitz
fd70ae3b48
remove unneeded PutEnv
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 14:48:18 +00:00
John Levon
47c34c3afa
spell rework. revert fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6191 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 18:40:04 +00:00
Lars Gullik Bjønnes
99d1627a47
dont use pragma impementation and interface anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
André Pönitz
501f1dd61b
clean up a bit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-10 10:22:05 +00:00
John Levon
ae87b94515
The big change tracking patch. Changes from posted version :
...
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global
I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
Jean-Marc Lasgouttes
5a6845779e
remove support for epsi; fix size of insetnote button
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5776 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-04 13:26:55 +00:00
Lars Gullik Bjønnes
13349032cb
ws changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00
Lars Gullik Bjønnes
d0ba17263c
fix ugly hack
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5733 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 14:55:00 +00:00
Angus Leeming
c56c446157
As Andr� says, what a a waste of time, but at least it's now consistent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 13:46:14 +00:00
Angus Leeming
64715661d6
Messing with this stuff might one day lead people to twig that
...
size_type != uint on 64 bit architectures.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5731 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 13:32:49 +00:00
André Pönitz
2d6e8ee8c4
next try
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5727 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 11:56:50 +00:00
André Pönitz
52cbca1675
revert "." -> '.' to make it compile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5726 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 11:49:06 +00:00
Lars Gullik Bjønnes
53274e31ec
the string -> char patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00
Jean-Marc Lasgouttes
b0babedcb7
fix linking problem with boost
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5629 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-13 16:25:17 +00:00
Angus Leeming
9127b31f66
#if 0 -> #if 1 so that natbib citations actually work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-12 13:18:07 +00:00
André Pönitz
a75ef50be6
adjust coding style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5590 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-06 11:15:24 +00:00
Lars Gullik Bjønnes
6a1167adab
STRCONV
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 02:12:42 +00:00
Lars Gullik Bjønnes
dd9b8de435
small changes
...
prepare for the STRINGCONV patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 00:15:56 +00:00
Angus Leeming
23c5fe9f30
Except for OS/2...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 13:55:56 +00:00
Angus Leeming
94ef869a79
Small clean-up (fully tested).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5565 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 13:53:26 +00:00
Angus Leeming
eb5b07f615
Zombie-killer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 12:42:26 +00:00
Angus Leeming
02e9472374
doxygen fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5347 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-26 08:57:43 +00:00
Angus Leeming
25d9537fbd
Clean up licence info and add Lars as the mysterious unknown author.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5341 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-25 10:03:41 +00:00
Lars Gullik Bjønnes
33f06bb79b
forgot these
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5337 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:22:50 +00:00
Lars Gullik Bjønnes
20a85bb24f
loose SIGC_INCLUDES
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5336 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:20:26 +00:00
Jean-Marc Lasgouttes
72956b1c3b
cygwin/popen fix from kayvan
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5331 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-23 16:03:11 +00:00
Lars Gullik Bjønnes
26efdc41b3
utilize the 3rd arg of the boost smart pointers, remove own adaptation of boost smart ptrs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5046 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 20:43:10 +00:00
Lars Gullik Bjønnes
e733558125
use boost::bind instead of home grown stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5044 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 20:04:24 +00:00
Lars Gullik Bjønnes
f7927c40c8
compile fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5040 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:31:23 +00:00
John Levon
9371c42e3a
remove fmt.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5037 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 16:43:51 +00:00
Lars Gullik Bjønnes
b3992b9a64
formatting
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4973 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 17:15:18 +00:00
John Levon
fe5cc4b241
default to 100 not 10
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4904 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 15:42:54 +00:00
John Levon
6d0158fe19
show some more info on execvp error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4820 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 01:41:41 +00:00
Lars Gullik Bjønnes
69862d12f4
update boost
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 23:38:39 +00:00
Lars Gullik Bjønnes
043298544c
Rename strip to rtrim
...
Rename frontStrip to ltrim
Add new trim function.
modify source for this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Lars Gullik Bjønnes
e39935204d
remove some unneeded version of functions from lstrings,
...
some gcc 3.2. minor compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
Dekel Tsur
3f52b62838
Use lyxconvert script for reading old files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4745 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 17:11:41 +00:00
John Levon
cf392753f3
boring change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4740 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 02:19:53 +00:00
Jean-Marc Lasgouttes
1c52d8f898
toc support reorganization; changes to xform_helpers; aspect ratio patch from herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 15:51:07 +00:00
Jean-Marc Lasgouttes
7086f52fc8
small unimportant cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4723 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 15:25:41 +00:00
Angus Leeming
6206e59009
File monitoring is Go!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 14:01:42 +00:00
André Pönitz
cec9c25bd7
bug fix (missing assingment of split result)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4701 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 10:09:58 +00:00
Jean-Marc Lasgouttes
0e94da770a
fix startup when lyx binary is a symlink
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4697 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 21:43:06 +00:00
André Pönitz
f08bbffb0b
remove unneeded declarations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4680 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 14:46:38 +00:00
Jean-Marc Lasgouttes
57e89ae2bf
compile fix in XPM image loader; fix opaque handling; remove warnings; fix turkish locale problems; add shortcuts to documents menu
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 21:17:10 +00:00
André Pönitz
e76b396311
further FileInfo.[Ch] cleaning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4649 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 13:00:12 +00:00
André Pönitz
6facfcf446
clean up
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4646 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 10:05:52 +00:00
Jean-Marc Lasgouttes
3fac52583e
fix 459; support epsi and fig formats; fix bug in hu.po
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4527 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 09:58:16 +00:00
André Pönitz
2b2b6f6162
go from 'experienced user' right to 'hacker' level...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4492 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 19:07:34 +00:00
André Pönitz
b02f64437d
whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4488 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 13:49:27 +00:00
Lars Gullik Bjønnes
65d4b13616
layout as layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
John Levon
eef71b8439
Merge Herbert's bibtex patch; it doesn't introduce any new bugs and
...
it's nice ...
Herbert please look at the bugs I reported concerning when there is no cls etc. list please.
For this and FormTexinfo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4442 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-20 20:41:00 +00:00
John Levon
481937ef95
Herbert's graphics diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 20:47:49 +00:00
Lars Gullik Bjønnes
635a7afc3d
remove some using for functions never to be found in std::
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4354 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 17:31:57 +00:00
Angus Leeming
9548351ef8
Compaq cxx 6.5 will now compile lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 07:57:39 +00:00
Jean-Marc Lasgouttes
83c3a7d979
get rid of more xtl
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4341 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 15:23:19 +00:00
John Levon
e0dc1a3ffb
Documentation + file removals as sent to list
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4286 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 02:24:33 +00:00
Lars Gullik Bjønnes
1e39473100
Switch from SigC signals to boost::signals
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
John Levon
dfbb6d7c0a
Sigh, commit the right version of the Makefile. I was sure I had carefully
...
avoided committing the wrong one :(
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4227 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-27 06:03:37 +00:00
John Levon
154a8d332a
add limited_stack.h to Makefile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4213 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 19:46:25 +00:00
John Levon
a0e30632d6
Undo /does/ seem to still work properly :)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4212 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 19:40:17 +00:00
Lars Gullik Bjønnes
08b4385454
get rid of LRegex and LSubstring, use boost::regex instead
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4206 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-25 00:19:56 +00:00
Jürgen Vigna
20d61473cc
Enable compilation with lyxstring again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4198 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:39:34 +00:00
Lars Gullik Bjønnes
482c04ecca
use more specific smart_ptr headers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
Lars Gullik Bjønnes
5296e9e995
change call to shared_ptr::reset, move some using declarations around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4181 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-21 23:50:36 +00:00
Angus Leeming
520de7ddc6
Herbert-friendly debug comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4124 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 10:51:35 +00:00
Angus Leeming
6928cb4bda
Found out! I've been taking Herbert's name in vain.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4120 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 16:55:25 +00:00
Lars Gullik Bjønnes
27290f151b
oh well
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4118 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 14:12:44 +00:00
Angus Leeming
4b392c8ff9
using std::getline
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4113 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 10:46:51 +00:00
Angus Leeming
5ba23fae32
Compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4111 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 08:45:22 +00:00
Lars Gullik Bjønnes
0b81a7631e
wrong version
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4109 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 22:18:01 +00:00
Lars Gullik Bjønnes
bded6fd063
remove return arg from fullRebreak, fix last "Standards", new operaotr>> for lyxstring (might need more work), some ws changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 22:17:09 +00:00
Angus Leeming
9b3f8c9819
Those parts of Herbert's natbib patch that either fix bugs or just move
...
functions around.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3995 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 12:05:07 +00:00
Angus Leeming
c9265e7ccb
(make_tempfile): simplify the #ifdef block by using #if defined and re-write
...
the #warning as a #error because it's terminal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3994 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 11:01:19 +00:00
Angus Leeming
dd5e928e9d
(Herbert): TGIF graphics should now work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3949 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 16:52:33 +00:00
Angus Leeming
36415c9131
(Herbert): move readBB from ControlGraphics to support/filetools.
...
(Angus): re-format getExtFromContents a little and remove replicated "sgi"
entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3946 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 14:55:52 +00:00
Lars Gullik Bjønnes
78e2cd8932
ws
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3939 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-07 23:56:57 +00:00
Lars Gullik Bjønnes
391fa7a949
parch from Herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3931 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-07 15:31:16 +00:00
Lars Gullik Bjønnes
3e51b2106f
forgot this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3920 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-06 13:01:03 +00:00
Lars Gullik Bjønnes
3bf37285fb
fix a lyxstring bug and ws change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3916 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-06 12:42:42 +00:00
Lars Gullik Bjønnes
23b42a468f
add missing typename
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3913 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-05 19:54:17 +00:00
Jean-Marc Lasgouttes
bb704aeff6
fix stupid oversight in LibFileScript
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3849 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 10:27:59 +00:00
Jean-Marc Lasgouttes
f28f62b420
parselog fixes, i18n fix, menu separator fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 00:05:28 +00:00
Lars Gullik Bjønnes
c8089f8bf9
makefile cleanup, and avoid some warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3821 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:15:27 +00:00
Lars Gullik Bjønnes
a654de29ea
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:09:55 +00:00
Lars Gullik Bjønnes
7514c31edf
drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
Lars Gullik Bjønnes
35e1157317
Fix for bug: #260 special rules if partially linking
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Angus Leeming
b2f4586c98
Two little things:
...
* Use Lars' preferred idiom for a for-loop in the graphics cache;
* Turn the forked call controller's timer off when their are no longer any
child processes running.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3755 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-14 18:01:51 +00:00
Lars Gullik Bjønnes
69013332e2
unification of all Makefiles.am
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3748 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 18:24:44 +00:00
Lars Gullik Bjønnes
79145afdfe
doxy and const fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3719 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 23:00:08 +00:00
Jean-Marc Lasgouttes
6bfec9b307
bibfile parsing and insetgraphics fixes from Herbert; FormToc fix from John; compile fix from Kayvan
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3704 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 11:17:49 +00:00
Angus Leeming
8f197420a2
Herbert's upgrade to the recognized graphics formats.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3652 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 10:37:25 +00:00
Lars Gullik Bjønnes
8f225dc811
make constructor public
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3644 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 22:57:10 +00:00
Lars Gullik Bjønnes
dbd7a961fc
layout as string
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Lars Gullik Bjønnes
8fc0d78659
add debug.h (this is a test commit)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3633 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 17:42:43 +00:00
Angus Leeming
5f1a3be830
Make the d-tor public to make Dekel's compiler happy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3630 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 17:12:13 +00:00
Angus Leeming
531b651032
Cleanup of getExtFromContents.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3627 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 15:28:02 +00:00
Angus Leeming
fd4424d549
Comment out
...
// else if ((str.at(3) == 'i') && (str.at(0) == '\000') &&
// (str.at(1) == '\000') && (str.at(2) == '\000'))
// return "xwd";
as a temporary fix for a crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3622 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 10:29:26 +00:00
Angus Leeming
b3e376fefc
Herbert's patch supporting more graphics formats.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3621 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 09:58:15 +00:00
Angus Leeming
3b041cc66d
Add #include <sys/types.h> // needed for pid_t
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3596 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 12:51:20 +00:00
Jean-Marc Lasgouttes
d03f2aab75
compilation fix; small menubar tweak
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3592 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 11:34:20 +00:00
Angus Leeming
607ad8d3a7
The graphics inset now has:
...
* lazy loading (don't try and load the image until a request to draw it
is received).
* asynchronous conversion to a loadable format.
* asynchronous loading if the image loader supports it (it doesn't).
* "simple" cropping, rotating and scaling (in that order) of the image
on the LyX screen.
* display in color, grayscale or monochrome.
We also have a forked calls dialog, although it isn't very exciting
yet because only the graphics cache makes use of the forked call controller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3591 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 09:59:52 +00:00
Jean-Marc Lasgouttes
1120aa806c
cleanups from John and Juergen, bib files parsing fix from Herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 10:50:48 +00:00
Lars Gullik Bjønnes
e6fe0de052
cleaner ld -r
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 22:57:44 +00:00
Angus Leeming
fae3fd8ab1
Herbert's graphics14.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3578 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 16:34:53 +00:00
Angus Leeming
d0a3af12d9
Synching my tree with cvs.
...
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!
* Rename files syscall.[Ch] as systemcall.[Ch].
* Rename class Systemcalls as class Systemcall as one instance of the class
represents a single child process. Remove the default constructor too.
* Add a running() method to class Timeout. Results in recompilation of almost
the entire tree because pretty well everything depends on LyXView.h which
#includes "frontends/Timeout.h", so...
* Make the Timeout instances in classes LyXView and minibuffer pointers,
allowing us to forward declare class Timeout.
* Add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to commandtags.h in anticipation
of something wonderful!
* Add a signal showForks to Dialogs.h, again anticipating some real code.
* wrap the structs firster, seconder in frontends/controllers/helper_funcs.h
in a namespace to prevent a clash with similarly named structs in
support/lyxalgo.h
As you see, lots of irritating bits and pieces which don't make much sense in
themselves but do in light of the other changes I've got here.
I'll post the big changes to the list for proper perusal.
Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 19:13:48 +00:00
Jean-Marc Lasgouttes
5aadf4d849
fix compilation problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3562 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 14:20:02 +00:00
Angus Leeming
306fc655be
Herbert's 4 liner to support grace files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3557 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 09:55:47 +00:00
Lars Gullik Bjønnes
edf3fcf8f9
remove the syscall constructor, adjust other code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 18:34:30 +00:00
Lars Gullik Bjønnes
7ea7dabed1
to much stuff for my liking...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Angus Leeming
59e18b17ae
We don't currently use fork anywhere (or if we do it's by mistake!), so
...
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.
The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait
Paves the way for resurrecting a proper forked calls controller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:39:47 +00:00
Angus Leeming
4a22a90611
I forgot to commit Herbert's patch to support the TGIF-format in
...
getExtFromContents, so here it is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 13:49:41 +00:00
Jean-Marc Lasgouttes
919b745fa6
fix insetert drupdate problems (bug #176 ); fix row breaking after protected chars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 10:37:28 +00:00
Jean-Marc Lasgouttes
ccdfe85d2b
win32 compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3515 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 10:07:28 +00:00
Jean-Marc Lasgouttes
5e20b471dd
remove a cygwin #ifdef
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3512 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 17:07:14 +00:00
Jean-Marc Lasgouttes
bb9fffb77c
popen tweaks; "no 0cm" patch from Herbert; fix disabled toggles in menus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3511 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 14:32:17 +00:00
Jean-Marc Lasgouttes
c42c666fdc
fix do_popen for cygwin
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3510 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 11:23:58 +00:00
Angus Leeming
21245ae533
Herbert's bugfix patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3509 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 10:47:02 +00:00
Angus Leeming
2dd83864e5
Herbert's unzip et al patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 19:37:34 +00:00
Angus Leeming
bcfdd54d46
Yes, yet another patch from Herbert!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 12:19:32 +00:00
Jean-Marc Lasgouttes
41b2f113d7
fix startup failure
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3477 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 10:41:30 +00:00
Angus Leeming
358c483572
Herbert's latest graphics patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3465 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-31 14:20:09 +00:00
Jean-Marc Lasgouttes
85a377f2cd
merge a few more cygwin patches
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3453 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 13:15:19 +00:00
Jean-Marc Lasgouttes
f0a372d294
fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
Jean-Marc Lasgouttes
62e2aecdfb
compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3373 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 14:06:40 +00:00
Angus Leeming
754d59b4a1
Create a new support function lyx::count to use in place of std::count.
...
Remove countChar as lyx::count superceeds it.
Use the new function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Jürgen Vigna
9a5f7d1fe4
Fixed rowbreaking for "character"-insets and ignore all paragraph attributes
...
when the cell is not fixed lenght in a tabular on LaTeX output!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3315 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 14:24:49 +00:00
Jean-Marc Lasgouttes
61ccd8b8b5
various fixes from John, Martin and Kayvan, plus one of mine. Read ChangeLogs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 10:17:44 +00:00
Jean-Marc Lasgouttes
96dd1ba64c
compilation fix from Kayvan
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3257 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 16:27:02 +00:00
Jean-Marc Lasgouttes
1070702ea4
removed most uses of toupper and friends, removed <config.h> from headers and added it to some source files, applied patch from John for search&replace, and perhaps other things you will discover by browsing Changelog :)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3255 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 15:11:51 +00:00
Jean-Marc Lasgouttes
b8ec942f92
lyxsum/mmap compatibility patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3251 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 16:11:10 +00:00
Jean-Marc Lasgouttes
af71097957
fix symbol font loading, insetquote latex output, undo leak (but this exposes a crash!)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3201 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 11:35:25 +00:00
Lars Gullik Bjønnes
33a28bdc9c
Add string << operators for the other streams as well, and removes
...
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset
I also change some "while(" to "while ("
mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Lars Gullik Bjønnes
d196f7e852
the mmap patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3137 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 01:11:05 +00:00
Lars Gullik Bjønnes
0543291106
dirlist patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3129 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:18:13 +00:00
André Pönitz
d659612225
reduction of header dependencies, part II (use new types
...
lyx::layout_type and lyx::textclass_type all ovcer the place)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3117 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 17:12:21 +00:00
André Pönitz
a44aa696dc
for a change...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3105 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 15:25:28 +00:00
André Pönitz
52e6485462
move types.h to libsupport_la_SOURCES
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3104 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 13:15:41 +00:00
André Pönitz
c780503b4c
add types.h to Makefile.am
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3098 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 05:33:13 +00:00
André Pönitz
cd6e293ed7
start reducing header file dependencies
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3080 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 16:42:04 +00:00
Jean-Marc Lasgouttes
85e30074c2
new alert code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
Jean-Marc Lasgouttes
9d0ba3ddf2
cleanups from John and Michael
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2995 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:44:48 +00:00
Jean-Marc Lasgouttes
e97277c99c
code cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2933 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 13:21:20 +00:00
Angus Leeming
6becea79f3
Remove spurious punctuation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2913 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 08:44:03 +00:00
Jean-Marc Lasgouttes
8488e475a6
lyxserver cleanup patch + andre's small patches
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2901 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 15:13:49 +00:00
Jean-Marc Lasgouttes
f6f2cfad08
honor LANGUAGE and LC_ALL for finding i18n files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2878 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 16:23:26 +00:00
Jean-Marc Lasgouttes
c8aeaa9552
finish merging of the bits of win32 port that have been sent to me
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2846 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-08 14:09:06 +00:00
Jean-Marc Lasgouttes
3c15d4e3bd
more win32 port integration
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2845 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-08 12:37:39 +00:00
Jean-Marc Lasgouttes
eeb1a304e2
win32 port updates
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2840 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-04 09:57:02 +00:00
Lars Gullik Bjønnes
dedb1e065b
forgot to commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2549 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-18 22:59:51 +00:00
Lars Gullik Bjønnes
bee9718e4f
new files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2545 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-18 11:41:10 +00:00
Jean-Marc Lasgouttes
bcd818abe3
John's latest patch frenzy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2397 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 10:08:53 +00:00
Asger Ottar Alstrup
b8cad4ca9d
More header file include dependency work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +00:00
Asger Ottar Alstrup
da76673568
Reduced header file includes somewhat
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2385 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 15:34:18 +00:00
Angus Leeming
5f2e3c4c43
Baruch's graphics patch + some small tweaks to the buttoncontroller stuff
...
Kayvan's footnote patch
Added a "Buffer const *" parameter to InsetButton::getScreenLabel and all
daughter classes. Labels can now be tuned to suit, although non are yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2375 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-28 12:24:16 +00:00
Lars Gullik Bjønnes
bf6257967e
small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2374 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 20:27:56 +00:00
Angus Leeming
cec0dd19d0
Edwin's "about" patch + consistent use of Lsstream.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
Lars Gullik Bjønnes
6396f9a204
small changes read changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2221 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 11:11:10 +00:00
Lars Gullik Bjønnes
76ef051b1c
LyX Drinkers United: patch 2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da
LyX Drinkers Union: patch 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Jean-Marc Lasgouttes
e4b8f03af5
fix read problems on win32
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2139 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-21 10:55:48 +00:00
Angus Leeming
31b56dac80
In for a penny, in for a pound. Consistent use of // -*- C++ -*-
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 08:20:41 +00:00
Lars Gullik Bjønnes
313252eb8b
various changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-04 23:57:32 +00:00
Lars Gullik Bjønnes
f3703f6f45
use boost:crc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2081 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 12:10:06 +00:00
Jean-Marc Lasgouttes
07ea5f51f0
compilation fixes for compaq cxx + small things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2079 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 10:53:24 +00:00
Lars Gullik Bjønnes
f1d829a185
adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Lars Gullik Bjønnes
83acbbd523
update copyright year
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Lars Gullik Bjønnes
a60753afd8
fix selection bug, use istreambuf_iterator in lyxsum
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2071 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:17:50 +00:00
Lars Gullik Bjønnes
ee7a1321a7
better key handling, move some methods closer to caller, fix in lyxstring, change lyxsum to use istream_iterator
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2032 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-29 09:50:02 +00:00
Jean-Marc Lasgouttes
6b41425a94
fix "make dist" target
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2016 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-22 12:38:23 +00:00
Jean-Marc Lasgouttes
9791d64b6e
remove annoying debugging statement
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2014 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-21 13:07:45 +00:00
Jean-Marc Lasgouttes
cdcb9b2cc0
os:: patch from Ruurd + bindings display fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2005 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-17 15:11:01 +00:00
Lars Gullik Bjønnes
4c6091b63f
remove !NEW_INSETS cruft
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1980 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 14:31:33 +00:00
Jean-Marc Lasgouttes
b0da75ab1e
help a bit compilation with sun CC
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1976 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-02 10:47:07 +00:00
Lars Gullik Bjønnes
2b63437db2
small fix for gcc 3.0, use std::transform in lstrings, implement chars-transpose
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1955 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 19:33:52 +00:00
Allan Rae
ceffe96938
A couple of missed lyx::Assert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1952 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 01:39:27 +00:00
Lars Gullik Bjønnes
47910a7a67
move more support functions into namespace lyx, small other changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Lars Gullik Bjønnes
998cee223a
inherit privately from noncopyable, add algos, use namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1933 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 14:22:53 +00:00
Allan Rae
4e61c013f4
fix doxygen operation ; stop #warning causing errors on Sun CC 6.0
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1919 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 00:19:49 +00:00
Lars Gullik Bjønnes
fc8465aa1f
use anon namespace, somewhat better comp. handling of minipages, not quite there yet
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1795 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 01:22:46 +00:00
Lars Gullik Bjønnes
d4ee9c38b6
remove CXX_WORKING_NAMESPACES
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1777 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 18:21:56 +00:00
Lars Gullik Bjønnes
a27892b6c8
one small private fix in mathed, put noncopyable and tie into boost namespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1774 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 16:04:46 +00:00
Jean-Marc Lasgouttes
6c2fde690b
install fixes, small cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1651 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-01 15:03:52 +00:00
Lars Gullik Bjønnes
af1c3bc1b0
lyx-devel.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1650 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-01 14:26:01 +00:00
Lars Gullik Bjønnes
7f6bd7f12d
mathed cleanup, change mask for tmpdir
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1641 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-28 11:56:36 +00:00
José Matox
304919918e
/home/balu/mes.cvs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1630 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-27 08:05:40 +00:00
Lars Gullik Bjønnes
81d01da199
small stuff, correct some types
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1624 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-26 13:19:12 +00:00
Lars Gullik Bjønnes
9a3176581d
small cleanup, doxygen, formatting changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1521 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-16 09:25:43 +00:00
Lars Gullik Bjønnes
4d2e93a02e
remove cruft
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1515 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 19:22:41 +00:00
Lars Gullik Bjønnes
f6aaac088c
formskdepatchthingie
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1486 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-12 14:09:09 +00:00
Jean-Marc Lasgouttes
e7b0972c44
HP-UX compile fix, thai keymap
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1448 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-06 15:17:11 +00:00
Dekel Tsur
f04a7e4745
Few fixes for the kde frontend.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1405 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-26 17:24:09 +00:00
Dekel Tsur
75f555e7c0
- Add support for ae package
...
- Fix for compilers with broken string::find_last_not_of
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1370 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-23 12:53:05 +00:00
Dekel Tsur
6f2167dddb
Fix lyxstring::rfind
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1355 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-20 15:37:54 +00:00
Dekel Tsur
f7a3d05a23
Use contains() instead of strchr().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1336 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-15 14:05:45 +00:00
Lars Gullik Bjønnes
0f4053721e
rotate the changelog and a bunch of new changelogs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1324 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-12 09:42:30 +00:00
Jean-Marc Lasgouttes
7a837013fd
Another fix for lyxstring::rfind
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1311 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-10 14:09:56 +00:00
Lars Gullik Bjønnes
1c2ba9dd5c
fix rfind bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1310 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-10 09:49:20 +00:00
Lars Gullik Bjønnes
67ef45b7c8
get rid of turds, no.po update and remove some warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1303 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-08 09:37:13 +00:00
Lars Gullik Bjønnes
74b224fcba
some work on Floats and some cleanup in WorkArea, some changes to compile more easily with gcc 2.97
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1289 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-29 12:48:02 +00:00
Lars Gullik Bjønnes
a5948ae476
small changes + patch from Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1281 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-17 06:57:54 +00:00
Lars Gullik Bjønnes
4b9ed498ea
fix the deadkey bug and a patch from Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1280 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-17 06:09:35 +00:00
Jean-Marc Lasgouttes
6ed000436b
Small things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1277 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-13 13:30:36 +00:00
Lars Gullik Bjønnes
4abaf6ab91
several small patches
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1271 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-10 05:20:36 +00:00
Lars Gullik Bjønnes
893fe4da80
more fixes read ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1267 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-06 22:24:17 +00:00
Jean-Marc Lasgouttes
577fca3be7
The big KDE reorg + fi l10n update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1255 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-04 17:18:01 +00:00
Lars Gullik Bjønnes
360cdc0b9f
Angus patch, + allow to set cursor color + constify more local variables
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1226 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 15:46:13 +00:00
Lars Gullik Bjønnes
d1e95f33c4
compiling not tested. two patches from angus with some small fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1220 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-15 18:02:45 +00:00
Lars Gullik Bjønnes
676e29b916
fix parse error in FormPreferences, make LyX be able to compile with gcc 2.97, use mktemp if mkstemp is not available
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1218 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-15 03:22:08 +00:00
Lars Gullik Bjønnes
a32d2c972f
fix a couple of hard crashes, constify local variables, whitespace changes, some changes to new code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1215 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-14 02:01:57 +00:00
Jean-Marc Lasgouttes
000001c24b
SGML patch from Jose'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1214 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-13 15:43:36 +00:00
Jean-Marc Lasgouttes
0a16442310
Converter patch from Dekel, Preference patch from Angus, menu patch from Rob
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1212 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-13 10:35:02 +00:00
Jean-Marc Lasgouttes
9c798989d9
Patch from Yves to check whether C functions are defined in std:: namespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1209 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-10 12:33:01 +00:00
Jean-Marc Lasgouttes
1a3ed565d9
Use lyxlex to parse rgb.txt + small compilation fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1206 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-08 15:19:55 +00:00
Lars Gullik Bjønnes
7ec7c9da44
changes read the dirr and changelog, something should be remvoed/changed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1205 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-08 09:39:46 +00:00
Jean-Marc Lasgouttes
acc7e9789e
Add a bunch of c_str() for string stream uses; remove lyxfunc symbol-insert.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1200 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-06 15:47:22 +00:00
Jean-Marc Lasgouttes
29f7055e95
Import patch from Dekel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1199 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-06 11:20:22 +00:00
Lars Gullik Bjønnes
adaef99e60
some formatting changes some simplifications and removal of dead code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1198 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-04 10:00:12 +00:00
Lars Gullik Bjønnes
85f8bf7445
comment out the fax stuff, diable LyXLookup completely when xforms 0.89, fix some accent issues
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1181 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-02 04:48:34 +00:00
Lars Gullik Bjønnes
bd420046bb
try new log_accum
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1180 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-31 23:28:49 +00:00
Lars Gullik Bjønnes
235f7c1d2a
patch from Dekel + some simplifications
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1175 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-30 21:53:29 +00:00
Lars Gullik Bjønnes
ddbec11708
small fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1154 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-25 13:10:04 +00:00
Jean-Marc Lasgouttes
c9dbe4fd82
Cleanup patches for xforms (Angus) and KDE (John)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1148 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-24 13:13:59 +00:00
Jean-Marc Lasgouttes
d7a20664db
A small lyxlib.h cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1143 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-20 13:13:38 +00:00
Jean-Marc Lasgouttes
edbcab7c2d
Update NEWS; fix lyx::mkdir?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1141 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-19 10:04:36 +00:00
Jürgen Vigna
8fd0a9f2d7
Finally text-insets should draw correctly (also selections), some small fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1140 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-19 09:11:39 +00:00
Jean-Marc Lasgouttes
bdbce4e178
Fix some INFO reports from compaq cxx in support/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1139 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-18 14:07:29 +00:00
Jean-Marc Lasgouttes
4255b4a1b7
Patches from Angus, Baruch, Dekel (2), and some glue from me.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1123 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-16 13:27:56 +00:00
Lars Gullik Bjønnes
a5af5783ac
two small patches
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1122 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-15 03:46:23 +00:00
Lars Gullik Bjønnes
085b92730c
make vsnprintf work on systems without it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1121 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-13 16:23:09 +00:00
Jean-Marc Lasgouttes
b6190b0fc3
Fix small typos
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1118 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-13 14:10:35 +00:00
Lars Gullik Bjønnes
1ed9a50116
some funcitonal enhancements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1117 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-13 14:03:04 +00:00
Lars Gullik Bjønnes
95fdfb772b
the mkfifo change, make it compile on egcs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1103 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-12 00:11:06 +00:00
Lars Gullik Bjønnes
e7401bd8f2
use more std::functors add some of my own, some change to fl_display etc. read the change log...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1102 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-11 21:06:43 +00:00
Lars Gullik Bjønnes
1fefef3908
small changes and two patches from Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1077 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-03 18:38:10 +00:00
Lars Gullik Bjønnes
da003742d9
small patch from Dekel, begin introducing the real boost framework, get rid of the parts of boost that were located in support (block and utility)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1063 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-02 00:55:02 +00:00
Lars Gullik Bjønnes
5f1427b648
more type changes, some consts added
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1061 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-29 18:44:07 +00:00
Jean-Marc Lasgouttes
fa9c170819
Fix xforms menus display problems
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1043 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 16:16:55 +00:00
Lars Gullik Bjønnes
d6665cba42
get rid of dead code, some new functions constify variables.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1041 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 13:54:57 +00:00
Jean-Marc Lasgouttes
567e0d583f
Various small fixes. Read Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1040 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 13:10:34 +00:00
Jean-Marc Lasgouttes
55e638e486
A few small fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1031 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-22 12:16:02 +00:00
Lars Gullik Bjønnes
4c295014fe
remove commented HAVE_SSTREAM code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1025 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-18 17:39:21 +00:00
Jean-Marc Lasgouttes
2d23e8313e
A few tweaks (fix new file name, make sstream.h work for gcc 2.8.1)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1024 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-15 21:33:03 +00:00
Jean-Marc Lasgouttes
160dc67127
A few tweaks needed by cxx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1020 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-15 10:24:15 +00:00
Lars Gullik Bjønnes
45a03f4f67
use the new sstream return non-pods as const, use string instead of char * in a lot of places
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Jean-Marc Lasgouttes
b9df4a9322
Export patch from Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1009 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-11 15:42:17 +00:00
Lars Gullik Bjønnes
83882f6d92
export patch from Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1001 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-05 13:16:19 +00:00
Lars Gullik Bjønnes
9625f5e230
the export patch from Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@991 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-30 03:40:51 +00:00
Jürgen Vigna
67191fe11f
Forgotten files again + autosave-file fixes and small other fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@961 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-08 15:36:25 +00:00
Jürgen Vigna
9ab27bcd7e
Baruch's graphic-inset patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@957 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-08 09:18:39 +00:00
Lars Gullik Bjønnes
797d87b451
make doc++ able to generate the source documentation for lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@956 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-07 20:58:24 +00:00
Lars Gullik Bjønnes
eeaae9c355
more changes read the ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@954 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-05 05:17:18 +00:00
Jean-Marc Lasgouttes
cd694827a9
Another clean-up patch from Angus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@953 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-04 13:12:30 +00:00
Lars Gullik Bjønnes
f4b8943ebb
some nicer code...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@952 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-03 21:17:52 +00:00
Lars Gullik Bjønnes
db47e6bc77
patch from Angus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@944 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-01 17:33:32 +00:00
Lars Gullik Bjønnes
7110b8eda4
small changes read ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@941 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-31 16:39:50 +00:00
Jürgen Vigna
f4bad86bda
Baruch's graphics-patch + minipage-support in tabular-cells.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@938 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-31 12:30:10 +00:00
Lars Gullik Bjønnes
0d2e80687d
noncopyable + read ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@931 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-27 10:26:38 +00:00
Jean-Marc Lasgouttes
b8072fd6f7
Menubar and toolbar fixes. New OptItem menu option. Add gtk.m4.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@918 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-25 10:46:18 +00:00
Lars Gullik Bjønnes
4d3288c95b
more NEW_INSETS changes, define NEW_MANUBAR as default some other changes, read ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@915 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-24 21:49:58 +00:00
Jean-Marc Lasgouttes
4b2a999762
GUI-indep toolbar and menus mostly work !
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@913 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-24 13:53:19 +00:00
Lars Gullik Bjønnes
35cf7dcb2b
NEW_INSETS changes, + some small things in insettabular.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@902 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-19 17:16:27 +00:00
Lars Gullik Bjønnes
8ed9dbabde
read the Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@885 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-15 23:51:46 +00:00
Lars Gullik Bjønnes
b51e368b2b
encoding patch and mousewheelpatch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@858 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-04 20:32:37 +00:00
Lars Gullik Bjønnes
ee72ce8774
several changes and some new insets, read the Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@844 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-28 13:35:52 +00:00
Jean-Marc Lasgouttes
c8fd4b49a8
Small things in my tree.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@832 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-23 15:59:56 +00:00
Lars Gullik Bjønnes
5ccae5856c
last fix *NOT*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@810 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 13:23:55 +00:00
Lars Gullik Bjønnes
6d678c927c
more FILMagain stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@808 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:55:12 +00:00
Lars Gullik Bjønnes
6bba977f42
FILMagain changes (will need some work)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00
Lars Gullik Bjønnes
2889b5fd3e
some small stuff before the meeting begins for real
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@806 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-08 23:16:16 +00:00
Jean-Marc Lasgouttes
d9807f7423
Fixlets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@804 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-08 13:55:33 +00:00
Lars Gullik Bjønnes
c5d617710f
fix to the lyxstring bug, better searching for dep files in latex log, use \hfil in lyxlist envir
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@785 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-31 17:08:11 +00:00
Jean-Marc Lasgouttes
aa25dde22d
Fix the line-delete-forward bug?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@779 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-30 15:41:16 +00:00
Jean-Marc Lasgouttes
1fc7671591
Remove the optional bool argument to ChangeExtension().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@730 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-11 16:12:46 +00:00
Jean-Marc Lasgouttes
3c8aba3b55
clear()->erase() ; lots of using directives for cxx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@712 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-04 10:57:00 +00:00
Lars Gullik Bjønnes
82fa210ea8
several changes and fixes. Read the ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@694 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-26 13:57:28 +00:00
Lars Gullik Bjønnes
7f1be334f1
make the graphics backround render ok + other stuff more changes than Id like at this stage, please test
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@677 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-16 22:27:30 +00:00
Jean-Marc Lasgouttes
3df345c938
Small changes; ChangeLog is your friend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@648 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-11 16:57:16 +00:00
Jürgen Vigna
e97f3d1b31
Added clean CutAndPaste handling with it's own class. Various updates for
...
text-insets (look at the ChangeLog Entries)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@643 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-10 14:29:05 +00:00
Lars Gullik Bjønnes
76938908d7
use more explicit on constructors use the pimpl idom to reduce size with about 500k
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@641 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-08 17:02:02 +00:00
Jean-Marc Lasgouttes
1a0b18b01c
Small changes needed by dec cxx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@639 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-06 09:17:40 +00:00
Lars Gullik Bjønnes
77e706c441
fix the smallcaps drawing, move xfont metrics functions out from LyXFont, move non-inlineable functions out of line
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@638 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-04 00:19:15 +00:00
Lars Gullik Bjønnes
85798535a1
some using changes small changes in lyxfont and some other things, read the Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@632 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-28 02:18:55 +00:00
José Matox
4ca043181f
Removed the automatic import of linuxdoc at start, it will be added later
...
with uniform interface with latex, literate and text import.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@620 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-17 17:17:43 +00:00
Lars Gullik Bjønnes
0088121bd8
make text private in LyXParagraph some changes to import ascii file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@608 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-16 04:29:22 +00:00
Lars Gullik Bjønnes
fa492d6bf0
fix lyxalgo.h, dra pagebreak with text on line, change the math_deco_search a bit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@597 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 23:58:55 +00:00
Jürgen Vigna
28ed6c5e80
Various fixes look at ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@595 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 16:04:28 +00:00
Lars Gullik Bjønnes
132fe5e132
the freespacing patch from Kayvan, draw the math empty delim with onoffdash, asure that the tables passed to lyxlex is sorted and sort them if not, use std::lower_bound to search in lyxlex tables, use binary search in stead of linear in math_delim::search_deco, we also sort the math_deco_table upon startup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@594 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 03:36:48 +00:00
Lars Gullik Bjønnes
d2b9849fff
changes from sprintf to string stream. see comments at top of text.C. read the ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@589 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-08 01:45:25 +00:00
Lars Gullik Bjønnes
abb623f787
apply the ostream changes to mathed, some other small related things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@588 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-07 01:14:37 +00:00
Jean-Marc Lasgouttes
e19f533b0e
Small tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@587 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-06 16:05:12 +00:00
Lars Gullik Bjønnes
def72111a5
change to use ostreams instead of string when writing files. fiddling with insettext. font fix in formula.C.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@584 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-06 02:42:40 +00:00
Lars Gullik Bjønnes
a9b448a027
change to use only ostream to write latex from insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@581 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-02 02:19:43 +00:00
Jean-Marc Lasgouttes
0d167123ac
Fix spacing of greek letters; other things.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@580 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-01 18:15:39 +00:00
Lars Gullik Bjønnes
ba5e47f1a9
read the ChangeLog... no huge changes .. but some might get reversed...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@576 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-29 02:19:17 +00:00
Lars Gullik Bjønnes
56e007b94e
read changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@557 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-15 14:28:15 +00:00
Jean-Marc Lasgouttes
c8ed113f76
Bug fixes, compile fixes, patches from Dekel (read ChangeLog)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@547 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-08 15:13:01 +00:00
Lars Gullik Bjønnes
b374f06ded
small fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@530 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-07 20:17:03 +00:00
Lars Gullik Bjønnes
9ce32d63e5
several small and larger changes, read the Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@529 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-04 09:38:32 +00:00
Lars Gullik Bjønnes
bb96fd7de6
fix the reformat bug, some small things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@521 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-03 17:09:33 +00:00
Lars Gullik Bjønnes
328f69b0c1
fix crossref label list, some debug messages + various
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@445 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-25 12:35:27 +00:00
Lars Gullik Bjønnes
d8b96c598c
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the crash in Delete, move to pre ind/dec instead of post inc/dec, try to use ostream_iterator in lastfiles.C, remove some debug output, change the rest of the .cdef files, make display of umlaut better
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@443 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-24 18:34:46 +00:00
Jean-Marc Lasgouttes
e0e62e94c4
Some small fixes to compile with DEC cxx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@439 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-24 15:07:10 +00:00
Lars Gullik Bjønnes
1bc4b73575
fix some of the bugs reported, should hopefully be a bit better now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@436 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-21 17:41:57 +00:00
Jean-Marc Lasgouttes
2b7e2f9a7d
fix lyx::mkdir 2nd argument.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@434 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-21 13:54:13 +00:00
Lars Gullik Bjønnes
35e4090ac3
small fix in lyxsum.C, updated po files to latest lyx.pot
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@428 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-20 02:03:24 +00:00
Lars Gullik Bjønnes
db54977b71
a couple of new posix wrappers, use new instead of malloc in figinset delete the now unused code in kbmap, add ro.po some changes in bufferlist, use std::sort and std::lower_bound in math_utils. Read the ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@427 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-20 01:41:55 +00:00
Jean-Marc Lasgouttes
b2a0b59aa6
Some portability fixes; fix header of linuxdoc files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@425 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-19 14:07:39 +00:00
Lars Gullik Bjønnes
39fb0d0e42
use namespace in lyxlib if available
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@424 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-17 22:42:04 +00:00
Lars Gullik Bjønnes
c36aa67f7b
some important changes to FIX_DOUBLE_SPCE still not completely correct (please help out.) Some external functions called from wrappers. use MODERN_STL_STREAMS in lyxsum.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@423 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-17 21:01:30 +00:00
Lars Gullik Bjønnes
ed22adefc6
fix double space editing, small change to make Path more foolproof, dont use reserve in paragraph add some resize instead, fix a bug in LyXLeX::next that were only present on conforming std::istream.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@421 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-13 16:28:54 +00:00
Jean-Marc Lasgouttes
f20dd3e30e
Fix regex errors in .aux scanning, and other small problems
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@417 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-12 11:16:01 +00:00
Lars Gullik Bjønnes
18b8221ede
fix IsFileWriteable, implement the file_not_found_hook and make it work for RCS
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@413 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-11 08:23:07 +00:00
Lars Gullik Bjønnes
e656d12d0b
ok, some more changes, this time I have gotten the fonttable and insettable in lyxparagra converted correctly to stl::containsers, added some tags for move to using pdflatex, search for pdflatex,dvips,pdf2ps,xpdf etx. in lib/configure.m4. A couple of name changes. Lets prepare for 1.1.4 now. Read the ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@412 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-11 01:59:00 +00:00
Jean-Marc Lasgouttes
1fd5e5ed97
iNew configure flag --with-lyxname. Misc small compilation fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@411 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-10 16:28:29 +00:00
Jürgen Vigna
77b87ff5e7
Small change to be able to compile it with egcs under RH6.1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@410 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-10 10:17:10 +00:00
Lars Gullik Bjønnes
53b464c5e9
some new (not extensive) changes, some fixes, will probably reverto to .la libs later .o libs is too much a hassle, please read the ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@408 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-08 21:02:58 +00:00
Jean-Marc Lasgouttes
69c0db9984
Add a bunch of using directives for dec cxx. Does not compile yet.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@404 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-06 11:35:29 +00:00
Lars Gullik Bjønnes
8dccec5c46
my changes during the holidyas...i expect some compilers to have some problems, but I think that can be solved. Ok these are the main changes: use iostreams for everything, a TextCache to store the text variable in
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@403 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-06 02:44:26 +00:00
Jean-Marc Lasgouttes
7401c2baaa
Fix putenv() for solaris 7; tweak configure stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@396 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-28 14:06:29 +00:00
Lars Gullik Bjønnes
617cfbe80f
added a regex to be used when the system is missing one, use noinst instead of pkglib since we are currently not useing shared libs anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@394 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-24 01:30:26 +00:00
Jean-Marc Lasgouttes
0490083ef1
Some cleanup; fix a bug where bibtex entries list would have extraneous spaces.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@392 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-22 14:35:05 +00:00
Lars Gullik Bjønnes
5f3f9ad231
fixes because of SUN CC warnings, bmtable now compiled with C compilator, countChar should also work on CC now, read ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@390 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-21 06:10:21 +00:00
Asger Ottar Alstrup
4ed68c1bc2
- Got rid of two global variables:
...
minibuffer and FD_form_main
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@386 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-19 22:35:36 +00:00
Jean-Marc Lasgouttes
6f8422af71
Add -enable-assertions to configure, cleanup assertions, fix crash in LyXFont::ascent() and friends
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@384 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-16 14:16:42 +00:00
Lars Gullik Bjønnes
7c6267e4b1
remove bogus backslashed from iso-8859-1, try to fix insert and encodeString, fixes in insetlatexaccent removed some unused code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@383 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-16 06:43:25 +00:00
Lars Gullik Bjønnes
b3bc8c1e71
fix in lyxfont.C bogus static_cast, some changes in insetlatexaccent
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@380 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-15 06:12:28 +00:00
Allan Rae
20229daf94
complete revision of SGI STL compatability. Heaps better, see ChangeLog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@379 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-15 01:15:08 +00:00
Lars Gullik Bjønnes
e8db0ccc46
small things.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@375 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-13 21:59:26 +00:00
Allan Rae
457e414feb
included sgi-stl-32-merge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@373 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-13 07:33:00 +00:00
Lars Gullik Bjønnes
6130fe1aa5
read the ChangeLog, use the C++ style casts more, some changes to the debugbufs, some whitespace changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@366 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-13 00:05:34 +00:00
Jean-Marc Lasgouttes
1cebcbea99
Fix bug in input of characters >127 ; update fr.po ; portability fix to lyxstring.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@364 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-10 14:45:32 +00:00
Lars Gullik Bjønnes
75c5c8c9e5
the fstream/iostream changes and some small other things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@354 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-07 00:44:53 +00:00
Jean-Marc Lasgouttes
136367d229
Nuked the SpaceLess function. Read ChangeLog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@349 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-03 13:51:01 +00:00
Lars Gullik Bjønnes
3227c66baf
in addition to the changes mentioned in ChangeLog, there is the usual batch of whitespace changes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@344 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-01 00:57:31 +00:00
Lars Gullik Bjønnes
252db967fb
allocation changes to lyxstring, rerun bibtex on database and style change, whitespace changes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@337 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-26 06:57:35 +00:00
Jean-Marc Lasgouttes
07febc9941
Cxx tweaks, fix display of \epsilon and more. Read changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@335 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-25 13:15:52 +00:00
Lars Gullik Bjønnes
65b4999759
several changes from FilePtr to FileInfo, reverted back to Inset* and MathedInset* as return types from Clone. White space changes. Some changes from FilePtr to fstream
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@332 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-24 22:14:46 +00:00
Lars Gullik Bjønnes
1d7d3cc4af
read ChangeLog, a lot of whitespace changes. experimental use of libtool
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@329 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-22 16:19:48 +00:00
Lars Gullik Bjønnes
35df50f78c
some other things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@317 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-15 14:45:17 +00:00
Lars Gullik Bjønnes
94a6d7ed67
some white-space changes, enum changes because of ridance of definitions.h, block.h added small change in lyxstring.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@311 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-15 10:54:16 +00:00
Jean-Marc Lasgouttes
bce0ca02ac
A few more tweaks which help on alpha stations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@309 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-10 17:43:15 +00:00
Jean-Marc Lasgouttes
f1bc028820
The usual set of changes for DEC cxx after Lars' work :)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@307 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-10 14:07:28 +00:00
Lars Gullik Bjønnes
3660343dc7
a couple of name changes and new functionality in lyxvc and vc-backend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@302 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-09 23:52:04 +00:00
Lars Gullik Bjønnes
2cf98b74fc
LSubstring and LRegex added, some small cleanup in FileInfo, audited most of the assertions in lyxstring.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@299 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-09 22:20:24 +00:00
Jean-Marc Lasgouttes
6fa667dbf2
Rename files in lyx.spec.in; do not include <config.h> in headers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@295 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-08 13:47:49 +00:00
Lars Gullik Bjønnes
65e9b99a59
more fixes and updates
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@292 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-05 06:02:34 +00:00
Lars Gullik Bjønnes
dfe1bc44b4
the runlatex merge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@291 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-04 01:40:20 +00:00
Lars Gullik Bjønnes
3b94fd86f3
pass with c_str from compare to compare
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@287 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-03 17:08:12 +00:00
Jean-Marc Lasgouttes
e06d370e0c
Add a missing include <config.h>
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@285 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-03 14:11:17 +00:00
Lars Gullik Bjønnes
1ae4671945
some small string changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@282 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-03 13:04:22 +00:00
Lars Gullik Bjønnes
73d5f55a00
another stupid bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@281 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-03 12:45:11 +00:00
Lars Gullik Bjønnes
37e0eedd21
stupid bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@280 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-03 12:26:16 +00:00
Lars Gullik Bjønnes
ec0ed4013c
new SpaceLess function
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@279 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-03 12:24:23 +00:00
Lars Gullik Bjønnes
a3a55117e1
new version of the SpaceLess function
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@278 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-02 21:19:58 +00:00
Jean-Marc Lasgouttes
b04ba1da11
Update to the html-export code. HTML is not yet support in custom export, so
...
somebody interested in this will have to do it. Read ChangeLog for a few other changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@274 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-02 16:41:28 +00:00
Lars Gullik Bjønnes
aba5e8132e
fix a bug in lyxstring
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@271 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-02 06:42:25 +00:00
Lars Gullik Bjønnes
f6a727ca7b
OS/2 patch from Miyata
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@270 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-01 04:22:28 +00:00
Jean-Marc Lasgouttes
8030b42ab0
Bracket some #warning directives with WITH_WARNINGS
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@267 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-28 15:19:59 +00:00
Lars Gullik Bjønnes
25e9d75386
tostr and lyxstring::find fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@264 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-27 23:21:38 +00:00
Lars Gullik Bjønnes
0bdf849ecd
subst fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@255 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-26 23:33:30 +00:00
Jean-Marc Lasgouttes
c1093f1c92
Small fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@241 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-25 12:33:03 +00:00
Lars Gullik Bjønnes
d90e046851
some changes to get fewer warnings when using strict ansi compilers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@235 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-23 23:35:37 +00:00
Lars Gullik Bjønnes
966c6e0a16
removed some warnings, fixed a bug in lyxstring
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@234 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-23 20:52:00 +00:00
Lars Gullik Bjønnes
dc05712c01
include the new header files in Makefile.am and fix the double-char bug.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@232 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-23 17:26:19 +00:00
Jean-Marc Lasgouttes
28aa3975e6
Better support for various streams implementations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@229 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-22 09:45:25 +00:00
Lars Gullik Bjønnes
5117a9df99
moved Srep definition to lyxstring.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@224 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-22 02:26:50 +00:00
Lars Gullik Bjønnes
a795073d30
inline bug fixed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@223 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-21 23:27:31 +00:00
Jürgen Vigna
b8426b61f9
Fixed some bugs and introduced some memory leaks!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@220 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-20 14:35:05 +00:00
Lars Gullik Bjønnes
4894fbc987
hopefully solve some of the lyxstring problems.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@217 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-20 01:53:59 +00:00
Lars Gullik Bjønnes
bd29a5db31
erase->clear, AM_CONDTIONAL for conditional compilation of lyxstring, better LYX_CXX_STL_STRING
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@214 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 20:59:27 +00:00
Lars Gullik Bjønnes
2f3e0b32e6
more tostr fixes and stricter lyxstring again + lyxstring & operator+=(int)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@213 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 16:48:35 +00:00
Jean-Marc Lasgouttes
8abfae28a6
Do not compile our strings if we do not need them.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@211 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 15:21:51 +00:00
Jean-Marc Lasgouttes
c35b288b74
A bunch of obvious changes to please strict ansi compilers. Not finished.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@210 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 15:06:30 +00:00
Jürgen Vigna
734751b383
Fixed some bugs for tabulars & xforms-0.89, in vspace.C and lyxstring.
...
Have a look at Changelog for more details.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@209 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 14:27:46 +00:00
Lars Gullik Bjønnes
535dd32c4c
merge in the class Path changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@196 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-13 17:32:46 +00:00
Lars Gullik Bjønnes
e8a888f4be
fix default for para 3
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@191 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-13 16:13:30 +00:00
Jean-Marc Lasgouttes
2ac6d6da48
Some cleanups to compile with dec cxx. We are not there yet though.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@189 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-13 10:34:07 +00:00
Asger Ottar Alstrup
3635ff7370
- Backported the HTML export feature (Jean-Marc, can configure
...
check for "tth"?)
- Cleaned up the systemcall stuff a bit
- Better documentation for support/FileInfo.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@188 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-12 21:37:10 +00:00
Jürgen Vigna
2a3a654917
Fixed a BUG where if in a PATH was something like ;; the scan for the
...
binary was interupted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@182 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-11 08:23:12 +00:00
Lars Gullik Bjønnes
35584afc11
the merge from branch debugstream
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@180 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-07 18:44:17 +00:00
Lars Gullik Bjønnes
e9dc3e73b1
removed bogus Assert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@175 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-05 23:27:21 +00:00
Lars Gullik Bjønnes
0eccdd1c36
merge from the string-switch branch and ready for a prelease.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@162 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-02 16:21:10 +00:00