lyx_mirror/src
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
..
client Another compile fix. I don't understand why it worked for me. 2006-11-06 15:31:27 +00:00
frontends * text.C: 2006-11-12 14:47:20 +00:00
graphics move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insets unicode: ditch another utf8 roundtrip + some obsolete FIXMEs 2006-11-11 21:09:51 +00:00
mathed Revert revision 14819 and my faulty fix for it. 2006-11-11 15:26:31 +00:00
support Use wctype character classification functions if possible 2006-11-13 09:53:25 +00:00
tex2lyx Resolve link problems of tex2lyx and client by removing the extra gettext.h 2006-11-04 18:12:57 +00:00
aspell_local.h MSVC compilation fix. 2006-10-21 07:26:07 +00:00
aspell.C MSVC compilation fix. 2006-10-21 07:26:07 +00:00
author.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
author.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Bidi.C move the only remaining function in lyxrow_func to paragraph 2006-10-21 07:24:11 +00:00
Bidi.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
boost.C * lyx_main.C: remove duplicate function assertion_failed 2006-11-10 21:38:07 +00:00
box.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
box.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
BranchList.C Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
BranchList.h Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
buffer_funcs.C Unicode: Do the conversion of error messages to docstring where they are read 2006-11-12 10:58:00 +00:00
buffer_funcs.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
buffer.C Use wctype character classification functions if possible 2006-11-13 09:53:25 +00:00
buffer.h Make it possible to uses non-ascii labelstring, endlabelstring and 2006-11-11 12:00:34 +00:00
bufferlist.C session: rename some functions 2006-10-29 20:01:00 +00:00
bufferlist.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
bufferparams.C use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
bufferparams.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
bufferview_funcs.C * bufferview_funcs.C: reconstruct par.rows() in case of empty par creation. 2006-11-12 11:24:27 +00:00
bufferview_funcs.h * getPos(): add const attribute to BufferView. 2006-11-08 11:38:51 +00:00
BufferView.C * BufferView::workAreaDispatch(): prepare for finer grained updates. 2006-11-12 16:14:45 +00:00
BufferView.h doxygen update. 2006-11-09 10:10:06 +00:00
Bullet.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Bullet.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ChangeLog
changes.C change tracking: 2006-10-29 21:48:23 +00:00
changes.h change tracking: 2006-10-29 21:48:23 +00:00
Chktex.C Unicode: Do the conversion of error messages to docstring where they are read 2006-11-12 10:58:00 +00:00
Chktex.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
chset.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
chset.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Color.C
Color.h
converter.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
converter.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
coordcache.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
coordcache.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
counters.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
counters.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
cursor_slice.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
cursor_slice.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
cursor.C This hack is not needed any more and it is a _huge_ gain. 2006-11-12 08:47:49 +00:00
cursor.h Unicode: Avoid another from_utf8(to_utf8()) roundtrip 2006-11-11 11:27:47 +00:00
CutAndPaste.C forgot this in the previous change 2006-11-12 16:00:20 +00:00
CutAndPaste.h use more unicode in math 2006-10-22 10:15:23 +00:00
debug.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
debug.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
DepTable.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
DepTable.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
dimension.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
dimension.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
dispatchresult.h - rework update handling, make cursor movement faster, 2006-10-22 11:46:36 +00:00
dociterator.C * dociterator.C (forwardPar): remove debug code. 2006-11-10 23:31:21 +00:00
dociterator.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
encoding.C Remove unused symbol encoding 2006-11-05 20:13:22 +00:00
encoding.h Remove unused symbol encoding 2006-11-05 20:13:22 +00:00
errorlist.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
errorlist.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
exporter.C Restore inputenc support 2006-10-26 15:01:45 +00:00
exporter.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
factory.C fix typo 2006-11-09 17:53:10 +00:00
factory.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Floating.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Floating.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FloatList.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FloatList.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FontIterator.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
FontIterator.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
format.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
format.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
funcrequest.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
funcrequest.h Fix bugs 1720 (almost) and 2877 2006-11-09 14:56:57 +00:00
FuncStatus.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FuncStatus.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
gettext.C Resolve link problems of tex2lyx and client by removing the extra gettext.h 2006-11-04 18:12:57 +00:00
gettext.h Resolve link problems of tex2lyx and client by removing the extra gettext.h 2006-11-04 18:12:57 +00:00
graph.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
graph.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
importer.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
importer.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetiterator.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetiterator.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
InsetList.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
InsetList.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
intl.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
intl.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ispell.C Compile fix 2006-10-22 15:38:21 +00:00
ispell.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
kbmap.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
kbmap.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
kbsequence.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
kbsequence.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
language.C Fix thinko in Buffer::makeLaTeXFile 2006-11-03 10:35:41 +00:00
language.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LaTeX.C Unicode: Do the conversion of error messages to docstring where they are read 2006-11-12 10:58:00 +00:00
LaTeX.h Unicode: Do the conversion of error messages to docstring where they are read 2006-11-12 10:58:00 +00:00
LaTeXFeatures.C use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
LaTeXFeatures.h use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
layout.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LColor.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LColor.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lengthcommon.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lengthcommon.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lfuns.h New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
lyx_cb.C Fix crash when reconfigure is called without Buffer nor BufferView. 2006-11-01 13:14:21 +00:00
lyx_cb.h Fix crash when reconfigure is called without Buffer nor BufferView. 2006-11-01 13:14:21 +00:00
lyx_main.C * lyx_main.C: remove duplicate function assertion_failed 2006-11-10 21:38:07 +00:00
lyx_main.h * Gui.h: new closeAll() pure virtual method. 2006-10-24 15:01:07 +00:00
lyx_sty.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyx_sty.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LyXAction.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
LyXAction.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxfind.C * src/lyxfind.C: 2006-10-23 16:25:29 +00:00
lyxfind.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxfont.C Fix generation of invalid LyX files 2006-11-01 09:38:54 +00:00
lyxfont.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxfunc.C * text.C: 2006-11-12 14:47:20 +00:00
lyxfunc.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxgluelength.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxgluelength.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxlayout_ptr_fwd.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxlayout.C Make it possible to uses non-ascii labelstring, endlabelstring and 2006-11-11 12:00:34 +00:00
lyxlayout.h use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
lyxlength.C More unicode fixes for docbook. 2006-10-21 19:40:29 +00:00
lyxlength.h unicode: ditch another utf8 roundtrip 2006-11-11 20:59:04 +00:00
lyxlex_pimpl.C * LyXLex::Pimpl::buff is now a string. 2006-10-28 15:16:30 +00:00
lyxlex_pimpl.h * LyXLex::Pimpl::buff is now a string. 2006-10-28 15:16:30 +00:00
lyxlex.C Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
lyxlex.h Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
lyxrc.C comment unused method 2006-11-11 19:02:27 +00:00
lyxrc.h comment unused method 2006-11-11 19:02:27 +00:00
lyxrow.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxrow.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxserver.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxserver.h move #endif to the end of the file 2006-10-23 14:24:04 +00:00
lyxsocket.C put back the :: global namespace identifiers. 2006-10-21 08:30:58 +00:00
lyxsocket.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxtext.h Make it possible to uses non-ascii labelstring, endlabelstring and 2006-11-11 12:00:34 +00:00
lyxtextclass.C use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
lyxtextclass.h use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
lyxtextclasslist.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxtextclasslist.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxvc.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxvc.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
main.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Makefile.am The Gtk removal from trunk. 2006-10-22 18:05:16 +00:00
MenuBackend.C * Buffer 2006-11-11 00:35:14 +00:00
MenuBackend.h Session/Toolbars: 2006-11-02 16:01:36 +00:00
messages.C strip the translation hints also in the dummy variant 2006-11-12 11:06:02 +00:00
messages.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
metricsinfo.C use more unicode in math 2006-10-22 10:15:23 +00:00
metricsinfo.h use more unicode in math 2006-10-22 10:15:23 +00:00
mover.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
mover.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_docbook.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_docbook.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_latex.C add comment about ugly construct 2006-10-29 16:43:18 +00:00
output_latex.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_plaintext.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_plaintext.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
outputparams.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
outputparams.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
paper.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
paragraph_funcs.C change tracking: 2006-11-05 19:00:53 +00:00
paragraph_funcs.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
paragraph_pimpl.C * paragraph_pimpl.C: eraseChars: assert "end >= start" 2006-11-11 14:50:21 +00:00
paragraph_pimpl.h * src/paragraph.h: 2006-11-01 17:51:41 +00:00
paragraph.C Use wctype character classification functions if possible 2006-11-13 09:53:25 +00:00
paragraph.h * src/paragraph.h: 2006-11-01 17:51:41 +00:00
ParagraphList_fwd.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ParagraphList.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ParagraphParameters.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ParagraphParameters.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pariterator.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pariterator.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pch.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
PrinterParams.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
PrinterParams.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pspell.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pspell.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
RowList_fwd.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
rowpainter.C - Avoid lyxerr[] like the plague. Use if (lyxerr.debugging( ... )) instead. 2006-11-07 21:31:33 +00:00
rowpainter.h simplify paintText() interface. 2006-10-28 09:59:43 +00:00
Sectioning.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Sectioning.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
session.C Session/Toolbars: 2006-11-02 16:01:36 +00:00
session.h fix gcc warnings 2006-11-04 09:47:14 +00:00
sgml.C fix indentation 2006-10-22 11:35:16 +00:00
sgml.h some compile fixes, more to be expected 2006-10-22 11:00:04 +00:00
Spacing.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Spacing.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
SpellBase.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
SpellBase.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
stamp-h.in
tabular.C * src/tabular.C: remove change tracking FIXMEs; the code looks OK 2006-10-31 20:58:12 +00:00
tabular.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
tex-accent.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
tex-accent.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
tex-strings.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
tex-strings.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
texrow.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
texrow.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
text2.C * bufferview_funcs.C: reconstruct par.rows() in case of empty par creation. 2006-11-12 11:24:27 +00:00
text3.C Make it possible to uses non-ascii labelstring, endlabelstring and 2006-11-11 12:00:34 +00:00
text.C Fix bug 2978 (inset-dissolve does not reset latex language) 2006-11-12 16:11:51 +00:00
Thesaurus.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Thesaurus.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
toc.C * Buffer 2006-11-11 00:35:14 +00:00
toc.h * Buffer 2006-11-11 00:35:14 +00:00
TocBackend.C * Buffer 2006-11-11 00:35:14 +00:00
TocBackend.h * Buffer 2006-11-11 00:35:14 +00:00
ToolbarBackend.C Fix bugs 1720 (almost) and 2877 2006-11-09 14:56:57 +00:00
ToolbarBackend.h Session/Toolbars: 2006-11-02 16:01:36 +00:00
trans_decl.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
trans_mgr.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
trans_mgr.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
trans.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
trans.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
undo.C unicode: ditch another utf8 roundtrip + some obsolete FIXMEs 2006-11-11 21:09:51 +00:00
undo.h unicode: ditch another utf8 roundtrip + some obsolete FIXMEs 2006-11-11 21:09:51 +00:00
UpdateFlags.h - rework update handling, make cursor movement faster, 2006-10-22 11:46:36 +00:00
Variables.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Variables.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
vc-backend.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
vc-backend.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
version.C.in * configure.ac: add LYX_DATE variable for release date. 2006-08-16 21:54:55 +00:00
version.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
vspace.C unicode: ditch another utf8 roundtrip 2006-11-11 20:59:04 +00:00
vspace.h unicode: ditch another utf8 roundtrip 2006-11-11 20:59:04 +00:00
WordLangTuple.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00