lyx_mirror/src
Georg Baum 79f11f4e7d Fix std::string docstream output error
This was made visible by aab1b145a5, since xhtml export for
lib/doc/Additional.lyx caused an exception. However, the cause for this was
already present earlier: All attempts to output a std::string to an
odocstream resulted in trying to change the encoding of the stream instead,
since there is no operator<<(odocstream &, std::string) defined, and an
implicit conversion to SetEnc happened instead.
This is fixed by making the SetEnc constructor explicit and adjusting all
code parts that did not compile anymore after that. The parts of the code
that did use the wrong output operator were the std::string version of
htmlize() from output_xhtml.cpp and all changed parts in the other .cpp files.
I also removed the std::string versions of html::htmlize() and
html::cleanAttr(), since it was difficult to see which encodings were used
with these. Now we are always explcit when using html::cleanAttr() and
html::htmlize().
2015-10-15 20:52:28 +02:00
..
client Remove support for precompiled headers for autotools 2015-09-25 12:05:40 +02:00
frontends Correct early return position for if use_pixmap_cache_ check 2015-10-12 08:00:24 +02:00
graphics Work around crash on command line export 2015-09-04 21:24:01 +02:00
insets Fix std::string docstream output error 2015-10-15 20:52:28 +02:00
mathed Add missing intializations 2015-10-10 21:04:28 +02:00
support Fix std::string docstream output error 2015-10-15 20:52:28 +02:00
tests Cmake tests: Add missing definition for check_Length_SOURCES 2015-07-12 18:59:24 +02:00
tex2lyx Add missing intializations 2015-10-10 21:04:28 +02:00
.gitignore Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
AppleSpellChecker.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
AppleSpellChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
AspellChecker.cpp Fix "dead store" warnings of Xcode analyze tool 2015-10-09 08:16:23 +02:00
AspellChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Author.cpp Accidentally overwrote this commit of Vincent's. 2014-03-15 12:09:35 -04:00
Author.h Initialize object properly 2015-03-04 17:48:44 +01:00
BiblioInfo.cpp Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
BiblioInfo.h Make BiblioInfo::collectCitedEntries private (since it can be), 2014-08-22 11:18:10 -04:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
BranchList.h
buffer_funcs.cpp Make newUnnamedFile() threadsafe 2014-07-05 12:58:22 +02:00
buffer_funcs.h #7789 unify and fix buffer statistics 2012-01-12 07:03:24 +00:00
Buffer.cpp Improvements to cursor highlighting in the source panel 2015-10-01 21:51:08 +01:00
Buffer.h Improvements to the display of the source. 2015-09-13 00:45:52 +01:00
BufferEncodings.cpp Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
BufferEncodings.h Encodings: Split off the functions that need Buffer 2013-09-29 15:26:18 +02:00
BufferList.cpp Update previews on preference change (#9507) 2015-04-21 02:40:18 -04:00
BufferList.h Update previews on preference change (#9507) 2015-04-21 02:40:18 -04:00
BufferParams.cpp Quote argument of tag when necessary 2015-08-15 18:32:41 +02:00
BufferParams.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
BufferView.cpp Add missing intializations 2015-10-10 21:04:28 +02:00
BufferView.h Remove PainterInfo argument to checkCursorScrollOffset 2015-10-05 18:09:34 +02:00
Bullet.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
Bullet.h
Changes.cpp Better construction of the TOC for floats and captions 2015-09-15 15:25:33 +01:00
Changes.h Move otexstream out of support 2015-01-09 21:07:59 +01:00
Chktex.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
Chktex.h
Citation.h New \cite_engine_type default. 2013-05-16 20:39:23 +02:00
CMakeLists.txt Fix building with cmake on cygwin. 2014-12-26 17:00:23 +01:00
CmdDef.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
CmdDef.h
Color.cpp support for all default colors of the package xcolor 2015-05-14 22:23:44 +02:00
Color.h
ColorCode.h support for all default colors of the package xcolor 2015-05-14 22:23:44 +02:00
ColorSet.h
Compare.cpp Fix compilation with boost 1.58 2015-05-16 00:05:23 +02:00
Compare.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
CompletionList.h
Converter.cpp Add assertions, just to be sure. 2015-09-20 20:03:24 -04:00
Converter.h Make Converter class thread-safe 2014-12-21 22:05:15 +01:00
ConverterCache.cpp Fix unitialized members in CacheItem 2015-03-04 22:50:37 +01:00
ConverterCache.h
CoordCache.cpp Move code where it belongs 2014-05-19 22:07:04 +02:00
CoordCache.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
Counters.cpp Remove unused variables 2015-10-10 21:28:28 +02:00
Counters.h Fix caption counter in longtables (see #8993). 2014-02-25 08:00:43 +01:00
Cursor.cpp Small code cleanup 2015-10-09 15:48:59 +02:00
Cursor.h Get rid of old Bidi code 2015-10-09 15:17:34 +02:00
CursorSlice.cpp Replace outdated LASSERT 2015-03-20 18:50:58 +01:00
CursorSlice.h Improve source code documentation 2015-03-18 21:33:10 +01:00
CutAndPaste.cpp Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
CutAndPaste.h Fix pasting insets into math (bug #9302) 2015-01-19 21:37:01 +01:00
DepTable.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
DepTable.h
Dimension.cpp Fix LASSERT correction 2015-10-10 21:38:17 +02:00
Dimension.h
DispatchResult.h Rename a routine. 2014-02-18 10:42:52 -05:00
DocIterator.cpp Avoid crash with undo in a closed collapsable inset 2015-05-26 11:19:05 +02:00
DocIterator.h #9514 improved document iterator for correct check of speller disabled state 2015-05-08 11:13:51 +02:00
DocumentClassPtr.h Deal with memory issue reported some time ago in connection with DocumentClass 2012-05-31 12:34:29 -04:00
EnchantChecker.cpp use enchant exception message accessor 2014-11-18 22:06:27 +01:00
EnchantChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Encoding.cpp Do not mix several names for the same variable 2015-02-20 16:37:06 +01:00
Encoding.h Add some missing member variable initializations 2015-09-13 19:47:21 +02:00
ErrorList.cpp
ErrorList.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Exporter.cpp
Exporter.h
factory.cpp Avoid compiler warning about overloaded virtual function. 2015-05-20 15:49:15 +02:00
factory.h
Floating.cpp Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
Floating.h Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
FloatList.cpp Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
FloatList.h Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
Font.cpp Add missing break in switch 2015-09-12 22:29:25 +02:00
Font.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
FontEnums.h Add support for stmaryrd.sty (bug #8434) 2012-12-15 13:10:31 +01:00
FontInfo.cpp Implement writing of layouts 2013-03-31 15:33:26 +02:00
FontInfo.h Fix logic error in on-screen font shape 2015-07-17 12:07:52 +02:00
FontList.cpp Fix compilation with boost 1.58 2015-05-16 00:05:23 +02:00
FontList.h Replace automatic logofication with insets 2015-03-01 11:16:57 +01:00
Format.cpp Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
Format.h Make Format class almost thread-safe 2014-12-21 21:40:25 +01:00
FuncCode.h New lfun "accent-perispomeni". 2015-08-26 22:43:38 +02:00
FuncRequest.cpp Handle sending a FuncRequest object to lyxerr 2012-06-07 17:21:49 +02:00
FuncRequest.h Handle sending a FuncRequest object to lyxerr 2012-06-07 17:21:49 +02:00
FuncStatus.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
FuncStatus.h
Graph.cpp
Graph.h
HSpace.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
HSpace.h
HunspellChecker.cpp Add lookup for standard location of hunspell dictionaries of Debian packages 2014-11-18 08:56:23 +01:00
HunspellChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
IndicesList.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
IndicesList.h Typos 2012-06-05 12:22:13 +02:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp Remove unsafe method FileName::tempName() 2014-06-09 13:05:50 +02:00
KeyMap.h
KeySequence.cpp Use empty() to check empty and non-empty'ness not size() 2012-10-27 01:25:38 +02:00
KeySequence.h
Language.cpp Improve list of available languages for UI l10n. 2015-05-21 10:48:38 +02:00
Language.h Improve list of available languages for UI l10n. 2015-05-21 10:48:38 +02:00
LaTeX.cpp Report missing characters on conversion with XeTeX or LuaTeX (bug #9610) 2015-06-11 11:32:17 +02:00
LaTeX.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
LaTeXFeatures.cpp Remove problematic workaround for "exotic" problem 2015-08-27 00:04:19 +02:00
LaTeXFeatures.h Move font encoding information to languages. 2015-01-24 14:02:16 +01:00
LaTeXFonts.cpp Revert 6a5aa1ca 2014-07-12 19:52:12 +02:00
LaTeXFonts.h Fix uninitialized member in LaTexFont constructor 2015-03-04 23:21:34 +01:00
LaTeXPackages.cpp Fix bug #4213: Change tracking support for tex2lyx. 2011-11-06 17:03:59 +00:00
LaTeXPackages.h Fix bug #4213: Change tracking support for tex2lyx. 2011-11-06 17:03:59 +00:00
Layout.cpp Remove dead code 2015-09-12 18:29:02 +02:00
Layout.h Make layout membership to ParagraphGroup settable (see #6854) 2015-06-01 16:11:05 +02:00
LayoutEnums.h Add layout tag that determines if/when a paragraph can be indented. 2014-05-29 14:10:32 +02:00
LayoutFile.cpp Fix parsing of class and category declaration line in layout files 2015-09-02 14:29:06 +02:00
LayoutFile.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
LayoutModuleList.cpp Import theorems correctly (bugs #5702, #5776) 2012-10-26 22:23:16 +02:00
LayoutModuleList.h Import theorems correctly (bugs #5702, #5776) 2012-10-26 22:23:16 +02:00
Length.cpp Fix std::string docstream output error 2015-10-15 20:52:28 +02:00
Length.h Fix Length::inBP() 2015-07-12 18:36:19 +02:00
lengthcommon.cpp Remove C-isms in isValidLength 2015-02-20 16:16:31 +01:00
Lexer.cpp Fix cppcheck variable scope warnings 2015-09-20 10:42:35 +02:00
Lexer.h Provide optional trimmed version of Lexer::getString and getDocString 2015-05-19 10:15:34 +02:00
lyx_commit_hash.h.in Autotools: read git commit hash at compile time 2014-11-24 22:00:21 +01:00
LyX.cpp Improved symlink creation for Mac OS for first LyX start 2015-07-22 06:27:21 +02:00
LyX.h Auto feature for minibuffer toolbar 2015-07-15 17:41:09 +02:00
LyXAction.cpp New lfun "accent-perispomeni". 2015-08-26 22:43:38 +02:00
LyXAction.h Bump LFUN format for LyX 2.1 2012-09-29 20:06:39 +02:00
lyxfind.cpp Remove unused variables 2015-10-10 21:28:28 +02:00
lyxfind.h Rewrite of change-related helpers 2014-10-14 17:40:44 +02:00
LyXRC.cpp Add some missing member variable initializations 2015-09-13 19:47:21 +02:00
LyXRC.h Remove printing support from LyX. 2015-05-27 18:13:08 -04:00
LyXVC.cpp Remove unsafe method FileName::tempName() 2014-06-09 13:05:50 +02:00
LyXVC.h Fix monolithic build 2013-03-18 20:42:28 +01:00
lyxwinres.rc
main.cpp
Makefile.am Get rid of old Bidi code 2015-10-09 15:17:34 +02:00
MetricsInfo.cpp #9514 contents inside of LyX insets with spell check disabled should be ignored by spell checker. 2015-05-06 18:39:24 +02:00
MetricsInfo.h #9514 contents inside of LyX insets with spell check disabled should be ignored by spell checker. 2015-05-06 18:39:24 +02:00
ModuleList.cpp Remove dependency on TEX2LYX #define in ModuleList.cpp 2013-09-29 15:26:12 +02:00
ModuleList.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
Mover.cpp Centralize replacement of "$$s" 2014-05-14 15:45:20 -04:00
Mover.h
output_docbook.cpp Remove unused variables 2015-10-10 21:28:28 +02:00
output_docbook.h
output_latex.cpp Improvements to cursor highlighting in the source panel 2015-10-01 21:51:08 +01:00
output_latex.h Improvements to cursor highlighting in the source panel 2015-10-01 21:51:08 +01:00
output_plaintext.cpp Fix a bunch of small performance issues spotted by cppcheck 2014-07-05 19:13:10 +02:00
output_plaintext.h Introduce max_length parameter for plaintext() output routines, 2013-03-08 15:12:58 -05:00
output_xhtml.cpp Fix std::string docstream output error 2015-10-15 20:52:28 +02:00
output_xhtml.h Fix std::string docstream output error 2015-10-15 20:52:28 +02:00
output.cpp
output.h
OutputEnums.h
OutputParams.cpp Fix preview of included files in child documents (bug #9583) 2015-06-02 17:23:52 +02:00
OutputParams.h Fix preview of included files in child documents (bug #9583) 2015-06-02 17:23:52 +02:00
paper.h
Paragraph.cpp Remove unused variables 2015-10-10 21:28:28 +02:00
Paragraph.h Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
ParagraphList.h
ParagraphMetrics.cpp Squash warnings reported by gcc 4.9 2015-01-14 11:52:14 +01:00
ParagraphMetrics.h Fix a bunch of minor issues discovered by the cppcheck script. 2014-04-21 11:52:00 -04:00
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
PDFOptions.cpp Set empty pdfborderstyle for hyperref (#7264) 2015-05-21 00:31:51 -04:00
PDFOptions.h Add some missing member variable initializations 2015-09-13 19:47:21 +02:00
PersonalWordList.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
PersonalWordList.h Fix a bunch of minor issues discovered by the cppcheck script. 2014-04-21 11:52:00 -04:00
PrinterParams.cpp Remove printing support from LyX. 2015-05-27 18:13:08 -04:00
PrinterParams.h
Row.cpp New helper method Row::Element::isRTL() 2015-09-21 14:03:54 +02:00
Row.h Rewrite Cursor::getSurroundingPos without Bidi class 2015-09-27 22:17:46 +02:00
RowPainter.cpp Remove variable y_top that was computed but not used. 2015-10-12 11:55:38 +02:00
RowPainter.h Remove variable y_top that was computed but not used. 2015-10-12 11:55:38 +02:00
Server.cpp Fix wrong test: boolean variable is never negative 2014-11-01 16:06:08 +01:00
Server.h
ServerSocket.cpp Fix cppcheck variable scope warnings 2015-09-20 10:42:35 +02:00
ServerSocket.h Header cleanup cont. 2013-05-19 18:07:53 -07:00
Session.cpp Prevent crash when attempting to restore a file multiple times. 2015-04-06 09:55:07 +02:00
Session.h
sgml.cpp Fix cppcheck variable scope warnings 2015-09-20 10:42:35 +02:00
sgml.h Fix a bunch of small performance issues spotted by cppcheck 2014-07-05 19:13:10 +02:00
Spacing.cpp
Spacing.h
SpellChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
TexRow.cpp Improvements to cursor highlighting in the source panel 2015-10-01 21:51:08 +01:00
TexRow.h Improvements to cursor highlighting in the source panel 2015-10-01 21:51:08 +01:00
texstream.cpp Move otexstream out of support 2015-01-09 21:07:59 +01:00
texstream.h Move otexstream out of support 2015-01-09 21:07:59 +01:00
Text2.cpp Reset cursor font when entring an inset with char-forward/backward 2015-07-21 09:24:31 +02:00
Text3.cpp Remove PainterInfo argument to checkCursorScrollOffset 2015-10-05 18:09:34 +02:00
Text.cpp Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
Text.h Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
TextClass.cpp Fix "dead store" warnings of Xcode analyze tool 2015-10-09 08:16:23 +02:00
TextClass.h Update comments. 2014-08-12 15:44:15 -04:00
TextMetrics.cpp Fix cursor movement for large logos (#9628) 2015-10-11 14:21:45 +02:00
TextMetrics.h Rewrite Cursor::getSurroundingPos without Bidi class 2015-09-27 22:17:46 +02:00
Thesaurus.cpp Make Thesaurus check for more general dictionaries (en-v2.idx) 2015-06-02 17:28:44 +02:00
Thesaurus.h Forbid wrong compiler generated copy constructors 2015-09-20 19:43:06 +02:00
TocBackend.cpp Add TOC of external materials. (#7790, partial) 2015-10-05 21:16:16 +01:00
TocBackend.h Add TOC of external materials. (#7790, partial) 2015-10-05 21:16:16 +01:00
Trans.cpp Add missing intializations 2015-10-10 21:04:28 +02:00
Trans.h Add missing intializations 2015-10-10 21:04:28 +02:00
Undo.cpp Remember the cursor before an undo group 2015-07-21 11:57:50 +02:00
Undo.h Repeat after me: into account, into account, into account 2015-09-27 21:38:20 +02:00
update_flags.h
VCBackend.cpp VCBackend.cpp: addendum to [f51d7fdd/lyxgit] 2015-07-16 21:10:50 +02:00
VCBackend.h Add some missing member variable initializations 2015-09-13 19:47:21 +02:00
version.cpp Make builds reproducible 2015-03-26 18:14:45 +01:00
version.h Support units in external inset bbox 2015-07-16 22:06:35 +02:00
VSpace.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
VSpace.h
WordLangTuple.h #9496 factor out getting language from LFUN args or cursor position in speller LFUNs 2015-07-16 21:59:15 +02:00
WordList.cpp Make theWordList() thread safe. 2014-07-04 22:19:43 +02:00
WordList.h Make WordList noncopyable 2014-07-04 21:15:21 +02:00