Commit Graph

46 Commits

Author SHA1 Message Date
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
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
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
Martin Vermeer
a566db1d51 Implement use of babel language in xindy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9061 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-07 15:21:03 +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
José Matox
cd424d7853 Rename ascii to plaintext and LatexRunParams to OutputParams.
Create new files for each output format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8046 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 12:06:20 +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
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
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
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
Alfredo Braunstein
e3fc822783 Added new signals to Buffer, connect/disconnect to them in BufferView, added BufferView::newFile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7242 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-07 08:37:02 +00:00
Angus Leeming
ccce6b9662 Pass struct LatexRunParams around a bit...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:59:10 +00:00
Angus Leeming
08a281769e Clean up interface a little
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6720 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-04 19:56:31 +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
Lars Gullik Bjønnes
8283e978f8 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Jean-Marc Lasgouttes
5d38385eb6 recreation patch from Ben ; page break patch from John ; remove useless examples
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3110 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 11:20:56 +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
b17500c1c4 the rest read the ChangeLog, hope I remembered all
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1934 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 15:15:59 +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
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
7da86a418e dont use threads, add inquiv operator for Aux_info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1453 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-07 14:01:31 +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
Allan Rae
16fde21f40 missing std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1447 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-06 05:11:50 +00:00
Allan Rae
e1c0f72681 A couple of tiny fixes to get it compiling and a partial fix for the '\n' output. That part still needs fixing so don't use it for 1.1.6fix yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1446 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-04 07:01:49 +00:00
Dekel Tsur
db2a042267 - Fix the bug that bibtex was not always run when needed.
- Fix the babel error (after changing the language of the document) bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1444 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-03 12:27:21 +00:00
Jean-Marc Lasgouttes
6e3c8a7e32 Add using directive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1396 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-25 15:52:33 +00:00
Dekel Tsur
02d9041c67 Support for multiple bibliographies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1373 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-23 22:27:08 +00:00
Dekel Tsur
9fc9199744 Handle the \@input macro in aux files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1356 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-20 17:31:07 +00:00
Jean-Marc Lasgouttes
41d36cfe2b Dekel literate patch + my final word on naming new files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1071 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-02 16:44:47 +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
a659066682 for fixes to cxx warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1049 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-27 17:07:33 +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
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
9468952780 more changes, read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@857 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-04 19:16:35 +00:00
Lars Gullik Bjønnes
e6d063c431 a couple of small fixes + a fix for the error in bibtex files problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@706 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-28 20:03:21 +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
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
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
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
a040c0bc6f white-space changes, removed definitions.h several enum changes because of this, new file undo.C rewritten some in chset.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@314 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-15 12:01:38 +00:00
Jean-Marc Lasgouttes
6899c9c176 Use "using" to bring STL templates from the std:: namespace into normal namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@296 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-08 13:54:04 +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
d7dbc63467 some no-op changes, planning a new branch to update the LaTeX files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@187 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-12 19:21:31 +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
Lars Gullik Bjønnes
27de1486ca Initial revision
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@140 a592a061-630c-0410-9148-cb99ea01b6c8
1999-09-27 18:44:28 +00:00