lyx_mirror/src
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
..
client Another compile fix. I don't understand why it worked for me. 2006-11-06 15:31:27 +00:00
frontends disable scrollbar when not needed, this patch is totally uncritical 2006-11-15 18:01:44 +00:00
graphics Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
insets add clarifying comment 2006-11-14 20:33:13 +00:00
mathed * src/mathed/MathMacroArgument.C 2006-11-14 08:15:38 +00:00
support Fix crashes reported by Bennet Helm and Kornel Benko 2006-11-15 21:40:46 +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 Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
buffer_funcs.h Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
buffer.C Add support for the esint package 2006-11-13 17:35:18 +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 Add support for the esint package 2006-11-13 17:35:18 +00:00
bufferparams.h Add support for the esint package 2006-11-13 17:35:18 +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 Extend the navigate menu to child docs 2006-11-13 16:53:49 +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 Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
converter.h Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
ConverterCache.C fix pch error 2006-11-15 18:39:20 +00:00
ConverterCache.h Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +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 add a FIXME comment 2006-11-14 16:46:06 +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 Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +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 Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +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 Add support for the esint package 2006-11-13 17:35:18 +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 Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +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 Add support for the esint package 2006-11-13 17:35:18 +00:00
lyxfont.h Add support for the esint package 2006-11-13 17:35:18 +00:00
lyxfunc.C forgot this 2006-11-13 19:52:05 +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 Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
lyxrc.h Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +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 Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
MenuBackend.C Extend the navigate menu to child docs 2006-11-13 16:53:49 +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 support::chmod does not take a const char* as file name 2006-11-14 16:28:44 +00:00
mover.h Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +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 rename parameters to sensible names, the old names where misleading 2006-11-15 09:17:40 +00:00
tabular.h rename parameters to sensible names, the old names where misleading 2006-11-15 09:17:40 +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 * LyXText::erase(): make sure the paragraph breaking is up to date. This might be not needed with current svn but will be needed for the future optimize-drawing patch. 2006-11-13 16:59:10 +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 Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
TocBackend.h Extend the navigate menu to child docs 2006-11-13 16:53:49 +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 set missing property: svn:eol-style native 2006-11-14 17:31:14 +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
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