lyx_mirror/src
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
..
client * src/client/debug.C (showLevel): 2006-09-11 10:27:48 +00:00
frontends Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
graphics Fix converters in our scripts directory 2006-09-11 16:07:49 +00:00
insets A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
mathed A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
support Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
tex2lyx Fix bug 2786: import of spaces 2006-08-24 16:34:47 +00:00
aspell_local.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
aspell.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
author.C
author.h
Bidi.C Trivial fixes to some warnings thrown up by MSVS.Net 2003. 2005-11-02 20:11:36 +00:00
Bidi.h Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
boost.C do not define boost::throw_exceptions if we are compiling with exceptions 2006-04-05 23:55:36 +00:00
box.C
box.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
BranchList.C Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
BranchList.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
buffer_funcs.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
buffer_funcs.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
buffer.C Avoid a name clash with boost 1.34 2006-09-12 17:41:50 +00:00
buffer.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
bufferlist.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
bufferlist.h fix some syntax errors 2006-01-01 20:28:05 +00:00
bufferparams.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
bufferparams.h Update file format for unicode 2006-08-15 07:08:58 +00:00
bufferview_funcs.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
bufferview_funcs.h make boundary property an iterator property instead of a CursorSlice property 2005-07-15 15:49:40 +00:00
BufferView_pimpl.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
BufferView_pimpl.h * BufferView: delete firstLayout() 2006-08-24 16:55:31 +00:00
BufferView.C * BufferView: delete firstLayout() 2006-08-24 16:55:31 +00:00
BufferView.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
Bullet.C Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
Bullet.h
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
changes.C src/paragraph.h: 2006-05-08 20:30:52 +00:00
changes.h src/paragraph.h: 2006-05-08 20:30:52 +00:00
Chktex.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
Chktex.h
chset.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
chset.h
Color.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
Color.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
converter.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
converter.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
coordcache.C Extracted from r14281 2006-07-08 20:40:04 +00:00
coordcache.h Extracted from r14281 2006-07-08 20:40:04 +00:00
counters.C cleanup some debug messages 2006-01-19 15:49:21 +00:00
counters.h fix linking of tex2lyx by moving code out of Counters class 2005-09-09 14:52:55 +00:00
cursor_slice.C ~4% speedup by inlining a few one-line accessors 2005-07-18 11:00:15 +00:00
cursor_slice.h ~4% speedup by inlining a few one-line accessors 2005-07-18 11:00:15 +00:00
cursor.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
cursor.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
CutAndPaste.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
CutAndPaste.h Fix bug 2068 and do some cleanup 2006-08-16 21:12:20 +00:00
debug.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
debug.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
DepTable.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
DepTable.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
dimension.C
dimension.h Axe processEvents, fix cursor draw artifacts, put update flags into an enum, 2005-05-31 14:40:30 +00:00
dispatchresult.h The Buffer::LyXText -> Buffer::InsetText patch 2004-03-18 12:53:43 +00:00
dociterator.C * dociterator.C (forwardPosNoDescend): when at the end of the 2006-08-13 15:29:59 +00:00
dociterator.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
encoding.C * src/lyx_main.C (readRcFile): do not report an error if file is not 2006-05-02 12:53:48 +00:00
encoding.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
errorlist.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
errorlist.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
exporter.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
exporter.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
factory.C convert lfun arguments to docstring 2006-09-01 15:41:38 +00:00
factory.h
Floating.C
Floating.h Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
FloatList.C
FloatList.h Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
FontIterator.C fix bug 1795 2005-07-18 12:13:32 +00:00
FontIterator.h avoid an extra copy in FontIterator::operator* 2005-04-11 13:35:15 +00:00
format.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
format.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
funcrequest.C convert lfun arguments to docstring 2006-09-01 15:41:38 +00:00
funcrequest.h convert lfun arguments to docstring 2006-09-01 15:41:38 +00:00
FuncStatus.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
FuncStatus.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
gettext.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
gettext.h Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
graph.C Add converter to plain text and fix child format buglet 2006-07-31 17:43:59 +00:00
graph.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
importer.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
importer.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
insetiterator.C s/DocumentIterator/DocIterator/g a.k.a showing off my sed abilities. Sorry for the cvs spam. 2004-03-31 19:11:56 +00:00
insetiterator.h s/DocumentIterator/DocIterator/g a.k.a showing off my sed abilities. Sorry for the cvs spam. 2004-03-31 19:11:56 +00:00
InsetList.C Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
InsetList.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
intl.C * src/intl.C (InitKeyMapper): reset kbmap file names if the files 2006-05-31 10:34:30 +00:00
intl.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
ispell.C * src/client/debug.C (showLevel): 2006-09-11 10:27:48 +00:00
ispell.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
kbmap.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
kbmap.h rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
kbsequence.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
kbsequence.h * lyxfunc.h: 2006-04-13 12:18:42 +00:00
language.C * src/lyx_main.C (readRcFile): do not report an error if file is not 2006-05-02 12:53:48 +00:00
language.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
LaTeX.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
LaTeX.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
LaTeXFeatures.C merge booktabs branch 2006-07-03 19:13:56 +00:00
LaTeXFeatures.h drop linuxdoc support (part 5) 2006-08-23 12:43:46 +00:00
layout.h drop linuxdoc support (part 3) 2006-08-23 10:57:45 +00:00
LColor.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
LColor.h Add support for framed.sty 2006-06-03 16:46:27 +00:00
lengthcommon.C * lengthCommon.C: add an empty string as the last element 2006-07-19 18:17:23 +00:00
lengthcommon.h * lengthcommon.[Ch]: remove obsolete unit_name_ltx; 2006-07-18 21:56:07 +00:00
lfuns.h add comments on the purpose and status of some LFUNs 2006-09-06 18:34:57 +00:00
lyx_cb.C Avoid a name clash with boost 1.34 2006-09-12 17:41:50 +00:00
lyx_cb.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyx_main.C Avoid a name clash with boost 1.34 2006-09-12 17:41:50 +00:00
lyx_main.h Reduce calls of ::exit() 2006-07-05 17:01:26 +00:00
lyx_sty.C Fix bug 2723 2006-08-13 17:36:49 +00:00
lyx_sty.h Partly fix for bug 1231 2004-04-26 11:05:19 +00:00
LyXAction.C remove LFUN_INSET_SCROLL and LFUN_DIALOG_SHOW_NEXT_INSET 2006-09-06 18:20:35 +00:00
LyXAction.h The speedup patch 2005-10-07 12:00:41 +00:00
lyxfind.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxfind.h
lyxfont.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxfont.h some more inlining 2005-07-16 18:25:58 +00:00
lyxfunc.C Avoid a name clash with boost 1.34 2006-09-12 17:41:50 +00:00
lyxfunc.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
lyxgluelength.C change "support/std_sstream.h" to <sstream> 2004-07-24 10:55:30 +00:00
lyxgluelength.h
lyxlayout_ptr_fwd.h
lyxlayout.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyxlayout.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyxlength.C the final word on bug 1523? 2004-12-29 15:38:48 +00:00
lyxlength.h better documentation for isValidLength and stringFromUnit 2006-05-12 19:06:19 +00:00
lyxlex_pimpl.C s/boost::uint32_t/lyx::char_type/g except in the definition of lyx::docstring 2006-09-13 17:11:39 +00:00
lyxlex_pimpl.h Merge the unicode branch into trunk. 2006-08-13 22:54:59 +00:00
lyxlex.C Merge the unicode branch into trunk. 2006-08-13 22:54:59 +00:00
lyxlex.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
lyxrc.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxrc.h * lyxrc.h: 2006-07-10 18:51:17 +00:00
lyxrow_funcs.C
lyxrow_funcs.h
lyxrow.C CoordBranch merge 2004-11-30 01:59:49 +00:00
lyxrow.h Whitespace, only whitespace. 2005-04-26 11:12:20 +00:00
lyxserver.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxserver.h Squash a breakage on Windows and move a couple of functions out of line. 2005-01-20 15:07:36 +00:00
lyxsocket.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxsocket.h Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
lyxtext.h Improve Inset dissolve capability (bug 2201). 2006-09-08 14:08:26 +00:00
lyxtextclass.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxtextclass.h drop linuxdoc support (part 5) 2006-08-23 12:43:46 +00:00
lyxtextclasslist.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxtextclasslist.h Reduce calls of ::exit() 2006-07-05 17:01:26 +00:00
lyxvc.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxvc.h
main.C Reduce calls of ::exit() 2006-07-05 17:01:26 +00:00
Makefile.am drop linuxdoc support (part 4) 2006-08-23 11:16:08 +00:00
MenuBackend.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
MenuBackend.h Change MenuBackend and the other menuclasses to store a docstring. Do the required updates to lstrings/convert. 2006-09-09 22:27:22 +00:00
messages.C Fix from George to deal with the --disable-nls case 2006-09-11 11:58:47 +00:00
messages.h Make the l10n machinery work with ucs4. Update (as wip) callers to do manual conversion and a FIXME comment. Lots of work to do. 2006-09-09 11:16:28 +00:00
metricsinfo.C Merge the unicode branch into trunk. 2006-08-13 22:54:59 +00:00
metricsinfo.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
mover.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
mover.h remove remaining references to fig_copy.sh 2006-08-08 21:12:50 +00:00
output_docbook.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
output_docbook.h * output_latex.h: 2006-03-23 20:11:06 +00:00
output_latex.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
output_latex.h * output_latex.h: 2006-03-23 20:11:06 +00:00
output_plaintext.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
output_plaintext.h Fix bug 421 2005-07-15 19:10:25 +00:00
output.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
output.h
outputparams.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
outputparams.h view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
paper.h fix bug 2148 (preferences saves wrong papersizes); also finally dispose dead PAPER_PACKAGES enum 2005-12-12 11:13:03 +00:00
paragraph_funcs.C src/paragraph.h: 2006-05-08 20:30:52 +00:00
paragraph_funcs.h * output_latex.h: 2006-03-23 20:11:06 +00:00
paragraph_pimpl.C * paragraph_pimpl.C 2006-05-20 10:35:40 +00:00
paragraph_pimpl.h src/paragraph.h: 2006-05-08 20:30:52 +00:00
paragraph.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
paragraph.h drop linuxdoc support (part 4) 2006-08-23 11:16:08 +00:00
ParagraphList_fwd.h * output_latex.h: 2006-03-23 20:11:06 +00:00
ParagraphList.h * output_latex.h: 2006-03-23 20:11:06 +00:00
ParagraphParameters.C Make MathBigInset working 2006-04-20 09:55:45 +00:00
ParagraphParameters.h the stuff from the sneak preview: 2004-03-25 09:16:36 +00:00
pariterator.C ~4% speedup by inlining a few one-line accessors 2005-07-18 11:00:15 +00:00
pariterator.h * TocBackend.[Ch]: new files defining class TocBackend. This class contains adapted code from former toc.C 2006-04-22 18:48:28 +00:00
pch.h fix nullstream also in pch files 2006-03-07 10:02:07 +00:00
PrinterParams.C
PrinterParams.h * remove various xforms relicts, in particular: 2006-07-06 19:28:59 +00:00
pspell.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
pspell.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
RowList_fwd.h The speed patch: redraw only rows that have changed 2005-12-30 19:02:52 +00:00
rowpainter.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
rowpainter.h GUI API Cleanup step 3: merge with "younes" branch. 2006-07-13 16:37:55 +00:00
Sectioning.C - Add missing STL includes for correctness - gcc is too forgiving 2005-01-18 14:15:57 +00:00
Sectioning.h
session.C Fix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com) 2006-04-28 14:29:38 +00:00
session.h Fix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com) 2006-04-28 14:29:38 +00:00
sgml.C - Add missing STL includes for correctness - gcc is too forgiving 2005-01-18 14:15:57 +00:00
sgml.h Remove mixed_content from output parameters. 2004-11-02 11:25:20 +00:00
Spacing.C the convert patch 2005-01-27 21:05:44 +00:00
Spacing.h the convert patch 2005-01-27 21:05:44 +00:00
SpellBase.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
SpellBase.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
stamp-h.in
tabular.C drop linuxdoc support (part 4) 2006-08-23 11:16:08 +00:00
tabular.h drop linuxdoc support (part 4) 2006-08-23 11:16:08 +00:00
tex-accent.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
tex-accent.h rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
tex-strings.C The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
tex-strings.h The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
texrow.C
texrow.h
text2.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
text3.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
text.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
Thesaurus.C
Thesaurus.h
toc.C Change capitalization for outline (DOWN -> Down etc.) 2006-04-28 07:28:10 +00:00
toc.h Change capitalization for outline (DOWN -> Down etc.) 2006-04-28 07:28:10 +00:00
TocBackend.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
TocBackend.h Outlining improvements/fixes 2006-04-26 17:43:03 +00:00
ToolbarBackend.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
ToolbarBackend.h Make M-x show the minibuffer 2004-04-21 00:19:27 +00:00
trans_decl.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
trans_mgr.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans_mgr.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
undo.C * undo.C (recordUndoInset): remember the cursor position inside 2006-08-17 20:13:30 +00:00
undo.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
Variables.C
Variables.h
vc-backend.C Avoid a name clash with boost 1.34 2006-09-12 17:41:50 +00:00
vc-backend.h
version.C.in * configure.ac: add LYX_DATE variable for release date. 2006-08-16 21:54:55 +00:00
version.h
vspace.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
vspace.h fix some syntax errors 2006-01-01 20:28:05 +00:00
WordLangTuple.h