lyx_mirror/src
Vincent van Ravesteijn 1ef930c058 MathParser: Do not rewind the stream if we can't read from it
If the stream is not good, we don't need to 'putback', because we didn't
read anything yet. If we now do rewind the stream, we are asking for
problems as in bug #8089.

This was introduced in [3cafb856\lyxgit] to fix bug #4318.
2012-05-02 14:40:14 +02:00
..
client Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
frontends Constness, etc. 2012-05-01 13:02:10 -04:00
graphics Fix bug #8114: LyX does not retrieve negative bbox parameters 2012-04-08 23:20:01 +02:00
insets Fix bug #8078: Assertions in xhtml output on Windows 2012-04-30 12:58:32 +02:00
lyxled
mathed MathParser: Do not rewind the stream if we can't read from it 2012-05-02 14:40:14 +02:00
support Translations for listings insets 2012-04-10 20:21:01 +02:00
tex2lyx Fix bug #8104 (\date argument was eaten) 2012-04-19 20:46:08 +02:00
.gitignore Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
AppleSpellChecker.cpp #7884 add check for missing dictionaries when spell check starts and popup a message box to tell the user this problem if there are no dictionaries; add /usr/share/myspell for hunspell dictionary lookup 2012-01-04 22:02:07 +00:00
AppleSpellChecker.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
AspellChecker.cpp #7884 add check for missing dictionaries when spell check starts and popup a message box to tell the user this problem if there are no dictionaries; add /usr/share/myspell for hunspell dictionary lookup 2012-01-04 22:02:07 +00:00
AspellChecker.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
Author.cpp Author: cosmetics. 2010-11-17 16:12:43 +00:00
Author.h Author: cosmetics. 2010-11-17 16:12:43 +00:00
BiblioInfo.cpp Extend the notermination flag to math as well. 2012-03-25 15:57:38 +02:00
BiblioInfo.h Move the citation engine machinery to layouts. 2012-03-01 00:41:30 +00:00
Bidi.cpp
Bidi.h
boost.cpp
Box.cpp
Box.h
BranchList.cpp Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode. 2011-01-06 18:40:39 +00:00
BranchList.h make branch-add-insert aware of the separator ("|") [bug #6621] 2010-06-14 13:39:08 +00:00
buffer_funcs.cpp #7789 unify and fix buffer statistics 2012-01-12 07:03:24 +00:00
buffer_funcs.h #7789 unify and fix buffer statistics 2012-01-12 07:03:24 +00:00
Buffer.cpp Allow viewing full file of plaintext source. 2012-04-27 21:17:08 -04:00
Buffer.h Don't output extra body tags with included files. 2012-04-23 13:55:13 -04:00
BufferList.cpp Cosmetics. 2011-11-15 18:24:42 +00:00
BufferList.h Added possibility to retrieve internal buffers (by their tmp file-name) from the Model. 2011-02-07 20:31:09 +00:00
BufferParams.cpp Show backends rather than formats in the View>Source combo box. 2012-03-09 22:24:20 +00:00
BufferParams.h Change the backends() routine so it only gives us backends that 2012-03-09 22:24:17 +00:00
BufferView.cpp Fix bug #8140: Crash with math macros and input completion 2012-04-30 23:55:34 +02:00
BufferView.h There's no need to separate this logic out if it's only called 2011-12-04 02:38:00 +00:00
Bullet.cpp
Bullet.h
Changes.cpp Extend the notermination flag to math as well. 2012-03-25 15:57:38 +02:00
Changes.h Fix bug #4213: Change tracking support for tex2lyx. 2011-11-06 17:03:59 +00:00
Chktex.cpp support: 2010-04-21 01:19:28 +00:00
Chktex.h
Citation.h Move the citation engine machinery to layouts. 2012-03-01 00:41:30 +00:00
CMakeLists.txt Added libmagic to cmake build. Should to be also adapted to windows 2012-02-22 10:07:04 +00:00
CmdDef.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
CmdDef.h
Color.cpp Import notefontcolor (one more step towards a working roundtrip for the LyX documentation) 2011-01-14 20:00:55 +00:00
Color.h Import notefontcolor (one more step towards a working roundtrip for the LyX documentation) 2011-01-14 20:00:55 +00:00
ColorCode.h Removal of this color was forgotten. 2010-12-04 22:41:50 +00:00
ColorSet.h
Compare.cpp Next headers 2010-03-31 19:38:05 +00:00
Compare.h
CompletionList.h
Converter.cpp Fix bug #8139 and a thinko in [737e9b2c/lyxgit]. 2012-04-26 15:23:42 +02:00
Converter.h Use the right latex backend when a converter needs aux files. 2012-04-11 18:38:32 +02:00
ConverterCache.cpp support: 2010-04-21 01:19:28 +00:00
ConverterCache.h
CoordCache.cpp Just whitespace and a comment. 2011-04-25 01:46:37 +00:00
CoordCache.h Do not give access to the actual data of the CoordCache. This prevents the use of the stored pointers which might be invalid. 2011-03-23 17:43:13 +00:00
Counters.cpp Extracting translation information does not help if you don't actually 2011-04-15 11:34:06 +00:00
Counters.h OK, the previous idea, that we don't need to check the masters of other 2011-01-13 01:47:41 +00:00
Cursor.cpp Revert "Fix undo of entering \hline" 2012-04-17 22:21:45 +02:00
Cursor.h Attempt to fix #7673 in a more "interesting" way than in branch (where 2011-12-03 22:42:09 +00:00
CursorSlice.cpp Fix bug #8105: Crash when deleting math macro from the inside 2012-04-12 16:28:29 +02:00
CursorSlice.h
CutAndPaste.cpp In replaceSelectionWithString, do not select the new string 2012-04-18 12:44:31 +02:00
CutAndPaste.h In replaceSelectionWithString, do not select the new string 2012-04-18 12:44:31 +02:00
DepTable.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h Use DispatchResult also in GuiView::dispatchVC to handle messages. 2010-10-17 10:44:53 +00:00
DocIterator.cpp fix a crash when the inset containing the new word at cursor is deleted 2011-02-08 09:42:00 +00:00
DocIterator.h Cleanup the SpellChecker dialog (fixes #7375 and #7379): 2011-03-23 23:10:12 +00:00
EnchantChecker.cpp #7884 improved return code of EnchantChecker::check() when dictionaries are missing 2012-01-11 17:03:49 +00:00
EnchantChecker.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
Encoding.cpp Extend the notermination flag to math as well. 2012-03-25 15:57:38 +02:00
Encoding.h Extend the notermination flag to math as well. 2012-03-25 15:57:38 +02:00
ErrorList.cpp Fix bug #7331 (No error highlighting in child documents) 2011-03-04 13:37:14 +00:00
ErrorList.h Fix bug #7331 (No error highlighting in child documents) 2011-03-04 13:37:14 +00:00
Exporter.cpp Added -E option to specify export format and destination file-name (and export folder). 2011-09-15 01:07:49 +00:00
Exporter.h Added -E option to specify export format and destination file-name (and export folder). 2011-09-15 01:07:49 +00:00
factory.cpp Implement a native IPA inset (bug #2591) with instant preview. 2012-03-06 07:54:22 +00:00
factory.h
Floating.cpp Fix bug #8078: Assertions in xhtml output on Windows 2012-04-30 12:58:32 +02:00
Floating.h Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag 2011-02-02 22:28:47 +00:00
FloatList.cpp
FloatList.h
Font.cpp Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
Font.h Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
FontEnums.h support for formal math script 2010-07-17 15:51:11 +00:00
FontInfo.cpp support for formal math script 2010-07-17 15:51:11 +00:00
FontInfo.h
FontList.cpp add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
FontList.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
Format.cpp Handling of libmagic for some mime-types leads to incorrect value 'text/plain'. 2012-03-06 09:41:41 +00:00
Format.h Use libmagic for file format detection if available. 2012-02-21 20:29:44 +00:00
FuncCode.h Implement a native IPA inset (bug #2591) with instant preview. 2012-03-06 07:54:22 +00:00
FuncRequest.cpp whitespace 2010-11-29 10:48:40 +00:00
FuncRequest.h Whitespace. 2012-04-17 09:14:53 -04:00
FuncStatus.cpp Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it. 2010-04-16 12:15:27 +00:00
FuncStatus.h Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it. 2010-04-16 12:15:27 +00:00
Graph.cpp Given how we are using this exclusion list, it makes more sense for it 2011-03-31 13:03:29 +00:00
Graph.h Given how we are using this exclusion list, it makes more sense for it 2011-03-31 13:03:29 +00:00
HSpace.cpp
HSpace.h
HunspellChecker.cpp 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
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 Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode. 2011-01-06 18:40:39 +00:00
IndicesList.h *List.h: Move the class documentation into the lyx::namespace to be picked up correctly by doxy. 2010-05-03 13:36:19 +00:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp #7292 make the modifiers Option and Control act on there own on mac - adjust the key bindings to apple standards where possible 2011-02-23 14:30:41 +00:00
KeyMap.h Conversion routines for bind files. 2011-01-16 19:53:36 +00:00
KeySequence.cpp #7292 make the modifiers Option and Control act on there own on mac - adjust the key bindings to apple standards where possible 2011-02-23 14:30:41 +00:00
KeySequence.h
Language.cpp Translations for listings insets 2012-04-10 20:21:01 +02:00
Language.h support language variants like german (old spelling) or british english 2011-03-24 19:40:54 +00:00
LaTeX.cpp In recent biber version, the log message that tells us which bib files are used has been changed. Adapt the parser, so that bib files are tracked again. 2011-12-23 09:24:31 +00:00
LaTeX.h Fix biber execution om MikTeX. 2011-10-07 07:09:13 +00:00
LaTeXFeatures.cpp Translations for listings insets 2012-04-10 20:21:01 +02:00
LaTeXFeatures.h New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00: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 Fix bug #8078: Assertions in xhtml output on Windows 2012-04-30 12:58:32 +02:00
Layout.h Translations for listings insets 2012-04-10 20:21:01 +02:00
LayoutEnums.h add support for decimal alignment in tables 2010-06-05 07:44:44 +00:00
LayoutFile.cpp Move the error message out of LayoutFileList::load() and have it be 2010-07-28 21:03:27 +00:00
LayoutFile.h Grant a long-standing wish of Lars's: LyX now functions even if we have 2010-04-07 17:02:44 +00:00
LayoutModuleList.cpp Typo from Sven 2010-05-17 20:56:12 +00:00
LayoutModuleList.h
Length.cpp Add a preference option to specify the default length unit (cm or in). 2011-10-27 11:52:11 +00:00
Length.h
lengthcommon.cpp make it thread safe 2011-12-13 19:56:00 +00:00
Lexer.cpp Use libmagic for file format detection if available. 2012-02-21 20:29:44 +00:00
Lexer.h clang: std::string is used here, fwd is not enough 2011-12-07 16:03:37 +00:00
LyX.cpp Clean up word lists on exit. Not really a concrete issue, but just 2011-10-15 13:38:52 +00:00
LyX.h Graphics cleanup: get rid of Previews.{h,cpp} 2011-07-12 12:43:11 +00:00
LyXAction.cpp Implement a native IPA inset (bug #2591) with instant preview. 2012-03-06 07:54:22 +00:00
LyXAction.h Move bind file format tag to LyXAction.cpp, and rename it. 2011-01-18 15:07:26 +00:00
lyxfind.cpp In replaceSelectionWithString, do not select the new string 2012-04-18 12:44:31 +02:00
lyxfind.h #7564 make the move forward to next match after text replacement optional and suppress it when replace a word by selected suggestion 2011-05-18 20:33:57 +00:00
LyXRC.cpp Use libmagic for file format detection if available. 2012-02-21 20:29:44 +00:00
LyXRC.h #6760 add UI to configure the minimal length of a word to be added to the list of words for text completion - using richards patch and rework it to match current trunk 2012-01-02 22:47:04 +00:00
LyXVC.cpp Fix bug #7338 2011-03-07 00:37:26 +00:00
LyXVC.h Load mhchem if it is requested unconditionally, fix some typos 2010-11-21 18:07:04 +00:00
lyxwinres.rc Update years 2011-01-21 13:24:23 +00:00
main.cpp Remove unneeded include. 2010-11-17 16:14:26 +00:00
Makefile.am Implement a native IPA inset (bug #2591) with instant preview. 2012-03-06 07:54:22 +00:00
MetricsInfo.cpp Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
MetricsInfo.h Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
ModuleList.cpp Whitespace only. 2012-03-08 16:43:02 +00:00
ModuleList.h Fix typo 2012-03-10 21:45:01 +00:00
Mover.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
Mover.h
output_docbook.cpp Style. 2012-03-13 12:07:48 -04:00
output_docbook.h
output_latex.cpp Fix some bugs related to spaces in math: 2011-10-23 20:19:49 +00:00
output_latex.h Integrate texrow with otexstream in order to perform automatic line 2011-02-10 20:02:48 +00:00
output_plaintext.cpp Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
output_plaintext.h
output_xhtml.cpp Fix bug #8078: Assertions in xhtml output on Windows 2012-04-30 12:58:32 +02:00
output_xhtml.h We need to check, in closeFontTags(), for the case where we haven't 2012-04-08 10:05:44 -04:00
output.cpp
output.h
OutputEnums.h
OutputParams.cpp * implement possibility to use IPA shortcut notation (the actual shortcuts will follow) 2012-03-09 09:05:13 +00:00
OutputParams.h * implement possibility to use IPA shortcut notation (the actual shortcuts will follow) 2012-03-09 09:05:13 +00:00
paper.h support for the ISO C-series paper formats; fileformat change 2010-07-13 01:06:20 +00:00
Paragraph.cpp Do not show deleted text in the html title 2012-04-29 14:54:12 +02:00
Paragraph.h avoid the single dash (hard hyphen) or apostrophe enclosed by white space is treated as a real word 2011-04-08 13:20:26 +00:00
ParagraphList.h
ParagraphMetrics.cpp Avoid narrowing in array initializator 2012-01-07 18:29:07 +00:00
ParagraphMetrics.h
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
pch.h
PDFOptions.cpp Extend the notermination flag to math as well. 2012-03-25 15:57:38 +02:00
PDFOptions.h Complete integration of texrow with otexstream and allow automatic line 2011-02-13 21:41:44 +00:00
PersonalWordList.cpp fix msvc warning, somehow msvc thinks !line[0] is a boolean 2011-02-14 19:54:04 +00:00
PersonalWordList.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
PrinterParams.cpp
PrinterParams.h
Row.cpp
Row.h
rowpainter.cpp Reset the (running) change in PainterInfo 2012-04-29 14:56:19 +02:00
rowpainter.h Code cleanup: split out RowPainter::paintFirst() in three and de-indent. 2011-10-30 09:16:30 +00:00
Server.cpp Fix bugs #6871 and #8119. 2012-04-13 02:57:25 +02:00
Server.h The "single instance" patch. 2010-11-13 11:55:05 +00:00
ServerSocket.cpp Fix bugs #6871 and #8119. 2012-04-13 02:57:25 +02:00
ServerSocket.h msvcUsing "using namespace std" with msvc10 makes also std::tr1::shared_ptr visible and generates conflicts with boost::shared_ptr. 2010-04-22 11:37:32 +00:00
Session.cpp No need for a deque here. 2010-12-04 23:18:52 +00:00
Session.h No need for a deque here. 2010-12-04 23:18:52 +00:00
sgml.cpp
sgml.h
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 Make sure to associate each line of the exported latex code to the id/pos 2011-03-10 04:05:49 +00:00
TexRow.h Make sure to associate each line of the exported latex code to the id/pos 2011-03-10 04:05:49 +00:00
TexStream.cpp
TexStream.h
Text2.cpp Address bug 7975 by changing how toggling works, as suggested by 2012-03-13 12:08:25 -04:00
Text3.cpp Implement a native IPA inset (bug #2591) with instant preview. 2012-03-06 07:54:22 +00:00
Text.cpp Fix bug #7774. It should be fine to show the complete index entry 2012-01-16 15:01:02 +00:00
Text.h Address bug 7975 by changing how toggling works, as suggested by 2012-03-13 12:08:25 -04:00
TextClass.cpp Allow Insetlayout for Branch inset (#8106). 2012-04-19 11:56:32 +02:00
TextClass.h Move the citation engine machinery to layouts. 2012-03-01 00:41:30 +00:00
TextMetrics.cpp Indicate that this rtl variable is only valid on the last row 2012-04-29 22:49:30 +02:00
TextMetrics.h Remove leftover of r36485. 2010-12-06 00:25:45 +00:00
Thesaurus.cpp 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
Thesaurus.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
TocBackend.cpp If we don't have a tooltip in the TOC, then use the display string 2012-01-16 15:07:04 +00:00
TocBackend.h Fix bug #6672 (part 2): Add tooltips to the outliner. 2010-04-26 00:43:08 +00:00
Trans.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
Trans.h
Undo.cpp Fix bug #6367: Screen jumps around when using undo/redo 2012-02-07 14:56:16 +00:00
Undo.h Fix bug #6367: Screen jumps around when using undo/redo 2012-02-07 14:56:16 +00:00
update_flags.h
VCBackend.cpp #7855 subversion 1.7.x support: use svn info to check if a file is under version control; this works for 1.6.x too; to avoid excessive forks of child processes check for the existence of a .svn directory in current dir and parent directories 2012-03-11 11:12:12 +00:00
VCBackend.h #7855 subversion 1.7.x support: use svn info to check if a file is under version control; this works for 1.6.x too; to avoid excessive forks of child processes check for the existence of a .svn directory in current dir and parent directories 2012-03-11 11:12:12 +00:00
version.cpp So, let's constify all globals in version.cpp... 2011-02-11 00:46:49 +00:00
version.h Native support for \lstlistoflistings 2012-04-16 21:40:59 +02:00
VSpace.cpp do not hardcode packages loaded by external insets 2011-12-13 19:40:05 +00:00
VSpace.h
WordLangTuple.h Fix bug #6561: Crash when using Spellchecker's language box when cursor is in math. 2010-11-10 20:06:21 +00:00
WordList.cpp Clean up word lists on exit. Not really a concrete issue, but just 2011-10-15 13:38:52 +00:00
WordList.h Clean up word lists on exit. Not really a concrete issue, but just 2011-10-15 13:38:52 +00:00