lyx_mirror/src
Bernhard Roider 4c9121df3b Fix bug 1826 + A more precise parser for bibtex files based on the description found on this web page: http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html
Most important improvements:
- read file character by character and treat newline like space characters.
  Thus the @ does not need to be at the beginning of a line.
- it reads @string entries and replaces the strings in the field values
- it also handles @comment entries
- it recovers from syntax errors at the next entry starting with @
- it ignores everything between entries


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17723 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 20:06:34 +00:00
..
client Sync with src/debug.C 2007-04-03 08:17:45 +00:00
frontends Fix bug 3412: 2007-04-04 16:36:50 +00:00
graphics avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
insets Fix bug 1826 + A more precise parser for bibtex files based on the description found on this web page: http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html 2007-04-04 20:06:34 +00:00
mathed Fix bug 3408 and 3408: 2007-04-04 16:17:24 +00:00
support Fix bug 1826 + A more precise parser for bibtex files based on the description found on this web page: http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html 2007-04-04 20:06:34 +00:00
tex2lyx remove unused stuff 2007-04-02 12:42:02 +00:00
aspell_local.h remove some msvc warnings 2006-12-30 21:05:44 +00:00
aspell.C document why we are not using ucs-4 when communicating with aspell 2006-12-12 08:17:22 +00:00
author.C * src/author.[Ch]: constify AuthorList::get() 2007-03-04 09:37:32 +00:00
author.h * src/author.[Ch]: constify AuthorList::get() 2007-03-04 09:37:32 +00:00
Bidi.C
Bidi.h
boost.C * lyx_main.C: remove duplicate function assertion_failed 2006-11-10 21:38:07 +00:00
box.C
box.h
BranchList.C FIXME: remove global variable theApp 2006-11-30 00:04:51 +00:00
BranchList.h
buffer_funcs.C Small cleanup. updateDocLang() was basically a void function since my paragraph language cleanup. 2007-04-03 10:45:22 +00:00
buffer_funcs.h Support code for advanced Toc management and bug correction. 2007-03-12 11:23:41 +00:00
buffer.C Following r17706: 2007-04-03 10:50:38 +00:00
buffer.h Small cleanup. updateDocLang() was basically a void function since my paragraph language cleanup. 2007-04-03 10:45:22 +00:00
bufferlist.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
bufferlist.h convert author names and status messages to docstring 2006-12-21 13:58:28 +00:00
bufferparams.C biblio.h is already included in bufferparams.h 2007-03-25 14:04:54 +00:00
bufferparams.h Compilation fix: enums can't be forward declared. 2007-03-25 10:35:38 +00:00
bufferview_funcs.C Fix bug 3138 (http://bugzilla.lyx.org/show_bug.cgi?id=3138). 2007-01-27 09:04:36 +00:00
bufferview_funcs.h * getPos(): add const attribute to BufferView. 2006-11-08 11:38:51 +00:00
BufferView.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 15:09:08 +00:00
BufferView.h Restore old bookmark behaviors (stop using bookmark queue) 2007-03-29 03:41:55 +00:00
Bullet.C
Bullet.h
ChangeLog
changes.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 15:09:08 +00:00
changes.h * src/changes.C: 2007-01-07 18:13:25 +00:00
Chktex.C Fix strange bibtex problem by converting some more functions to use FileName 2006-12-27 10:56:11 +00:00
Chktex.h
Color.C
Color.h
converter.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
converter.h Transfer the global converters and system_converters variables to LyX::Singletons class. 2007-01-17 13:18:16 +00:00
ConverterCache.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
ConverterCache.h Next step of true unicode filenames: Use support::FileName instead of 2006-11-26 21:30:39 +00:00
coordcache.C
coordcache.h
counters.C optimization. 2007-01-11 22:56:21 +00:00
counters.h tiny optimization. 2007-01-11 22:38:37 +00:00
cursor_slice.C
cursor_slice.h remove unneeded declarations. 2007-03-29 15:00:00 +00:00
cursor.C remove unused stuff 2007-04-02 12:42:02 +00:00
cursor.h This commit do the Model/View separation of the LyXText and Paragraph classes. The separation is mostly complete for the Paragraph class but some more transfer should occur for the LyXText class. 2006-12-29 23:54:48 +00:00
CutAndPaste.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:44:10 +00:00
CutAndPaste.h fix description of replaceSelection and cutSelection 2007-02-08 10:40:46 +00:00
debug.C Adjust -dbg output 2006-12-10 16:51:25 +00:00
debug.h avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
DepTable.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 15:09:08 +00:00
DepTable.h Next step of true unicode filenames: Use support::FileName instead of 2006-11-26 21:30:39 +00:00
dimension.C * Dimension is a simple wrapper class again. 2006-12-04 10:45:43 +00:00
dimension.h * Dimension is a simple wrapper class again. 2006-12-04 10:45:43 +00:00
dispatchresult.h
dociterator.C Fix bug 3293 by Bernhard Roider: 2007-03-26 13:43:49 +00:00
dociterator.h Comment out unimplemented method. 2007-02-07 21:49:00 +00:00
encoding.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
encoding.h add forgotten header 2007-01-29 08:18:21 +00:00
errorlist.C
errorlist.h
exporter.C Fix bug 3235 2007-03-18 10:59:16 +00:00
exporter.h Next step of true unicode filenames: Use support::FileName instead of 2006-11-26 21:30:39 +00:00
factory.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
factory.h
Floating.C
Floating.h
FloatList.C
FloatList.h
FontIterator.C
FontIterator.h
format.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
format.h Next step of true unicode filenames: Use support::FileName instead of 2006-11-26 21:30:39 +00:00
funcrequest.C
funcrequest.h Fix bugs 1720 (almost) and 2877 2006-11-09 14:56:57 +00:00
FuncStatus.C
FuncStatus.h
gettext.C * messages.h: 2007-01-14 10:37:14 +00:00
gettext.h Don't crash anymore if an .ui file contains unicode labels 2006-11-23 16:31:48 +00:00
graph.C
graph.h
importer.C Transfer the global converters and system_converters variables to LyX::Singletons class. 2007-01-17 13:18:16 +00:00
importer.h more unicode filenames 2006-12-02 16:07:15 +00:00
insetiterator.C
insetiterator.h
InsetList.C
InsetList.h
intl.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
intl.h
ispell.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
ispell.h Fix ispell encoding for lyxrc.isp_use_input_encoding == true 2006-12-10 16:08:52 +00:00
kbmap.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:51:13 +00:00
kbmap.h Make the shortcuts work correctly with the mac. 2007-01-04 17:10:24 +00:00
kbsequence.C Make the shortcuts work correctly with the mac. 2007-01-04 17:10:24 +00:00
kbsequence.h Make the shortcuts work correctly with the mac. 2007-01-04 17:10:24 +00:00
language.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
language.h Next step of true unicode filenames: Use support::FileName instead of 2006-11-26 21:30:39 +00:00
LaTeX.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
LaTeX.h document the LaTeX class a bit 2006-12-04 17:56:51 +00:00
LaTeXFeatures.C Convert makeRelPath to docstring (from Michael Gerz) 2007-03-27 07:24:16 +00:00
LaTeXFeatures.h * src/LaTeXFeatures.h: isAvailable() becomes a static method 2007-02-08 10:40:33 +00:00
layout.h
LColor.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
LColor.h * src/LColor.[Ch] 2006-12-22 10:23:25 +00:00
lengthcommon.C
lengthcommon.h
lfuns.h * change LFUN file-insert-ascii to file-insert-plaintext 2007-01-15 22:49:14 +00:00
lyx_cb.C Normalize everything that comes from 'outside' (plain text import, 2007-04-03 08:15:39 +00:00
lyx_cb.h Normalize everything that comes from 'outside' (plain text import, 2007-04-03 08:15:39 +00:00
lyx_main.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:51:13 +00:00
lyx_main.h Fix support lib dependency problem. 2007-02-26 12:46:44 +00:00
lyx_sty.C new \lyxline difinition, fixes also bug 1988: 2007-01-31 01:15:14 +00:00
lyx_sty.h
LyXAction.C * src/LyXAction.C: mark goto-clear-bookmark as working without buffer 2007-01-22 14:43:45 +00:00
LyXAction.h
lyxfind.C * src/support/lstrings.C 2007-03-02 16:52:49 +00:00
lyxfind.h convert thesaurus and spellchecker to docstring 2006-12-10 11:52:46 +00:00
lyxfont.C Fix bug 3235 2007-03-18 10:59:16 +00:00
lyxfont.h Fix bug 3235 2007-03-18 10:59:16 +00:00
lyxfunc.C Small cleanup. updateDocLang() was basically a void function since my paragraph language cleanup. 2007-04-03 10:45:22 +00:00
lyxfunc.h We use char_type, not size_t for storing UCS4 characters. 2007-01-24 14:01:34 +00:00
lyxgluelength.C
lyxgluelength.h
lyxlayout_ptr_fwd.h
lyxlayout.C Make it possible to uses non-ascii labelstring, endlabelstring and 2006-11-11 12:00:34 +00:00
lyxlayout.h * src/lyxlayout.h 2007-01-17 21:12:14 +00:00
lyxlength.C
lyxlength.h unicode: ditch another utf8 roundtrip 2006-11-11 20:59:04 +00:00
lyxlex_pimpl.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
lyxlex_pimpl.h Fix bug 3293 by Bernhard Roider: 2007-03-26 13:43:49 +00:00
lyxlex.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
lyxlex.h Fix bug 3293 by Bernhard Roider: 2007-03-26 13:43:49 +00:00
lyxrc.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
lyxrc.h Finish the transition to unicode of the kmap machinery and enable kmap files 2007-03-31 16:41:02 +00:00
lyxrow.C
lyxrow.h
lyxserver.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:44:10 +00:00
lyxserver.h
lyxsocket.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
lyxsocket.h
lyxtext.h * lyxtext.h: add comments to checkInsetHit() and editXY() 2007-03-28 15:00:34 +00:00
lyxtextclass.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
lyxtextclass.h Next step of true unicode filenames: Use support::FileName instead of 2006-11-26 21:30:39 +00:00
lyxtextclasslist.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
lyxtextclasslist.h
lyxvc.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
lyxvc.h more unicode filenames 2006-12-02 16:07:15 +00:00
main.C * lyx_main.[Ch] 2006-11-18 17:47:12 +00:00
Makefile.am Finish the transition to unicode of the kmap machinery and enable kmap files 2007-03-31 16:41:02 +00:00
MenuBackend.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
MenuBackend.h Make the shortcuts work correctly with the mac. 2007-01-04 17:10:24 +00:00
messages.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
messages.h make the code to avoid multiple warnings actually work 2007-02-24 22:54:19 +00:00
metricsinfo.C
metricsinfo.h Fix typo. 2007-01-20 08:43:51 +00:00
mover.C fix another problem with paths with spaces: Quote filenames correctly 2007-02-18 19:38:05 +00:00
mover.h Correct name: XFig -> Xfig 2007-03-15 21:22:02 +00:00
output_docbook.C Fix bug 2841 2007-01-29 20:28:44 +00:00
output_docbook.h
output_latex.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:44:10 +00:00
output_latex.h The caption inset patch by Georg, Martin and myself. 2007-01-30 13:23:21 +00:00
output_plaintext.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
output_plaintext.h * insets/insetfloatlist.C: 2007-01-18 22:29:50 +00:00
output.C more unicode filenames 2006-12-04 15:46:57 +00:00
output.h more unicode filenames 2006-12-04 15:46:57 +00:00
outputparams.C Fix bug 3235 2007-03-18 10:59:16 +00:00
outputparams.h Fix bug 3235 2007-03-18 10:59:16 +00:00
paper.h
paragraph_funcs.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
paragraph_funcs.h Add some documentation 2007-01-07 17:58:36 +00:00
paragraph_pimpl.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
paragraph_pimpl.h * src/paragraph_pimpl.[Ch] 2007-03-13 19:46:56 +00:00
paragraph.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
paragraph.h Fix bug 3080 2007-02-25 13:20:29 +00:00
ParagraphList_fwd.h
ParagraphList.h fix copy/paste error 2007-02-24 17:52:26 +00:00
ParagraphMetrics.C remove unused includes 2007-02-24 18:00:42 +00:00
ParagraphMetrics.h fix compile error: 2007-01-06 10:08:48 +00:00
ParagraphParameters.C
ParagraphParameters.h
pariterator.C remove unused includes 2007-02-24 18:00:42 +00:00
pariterator.h
pch.h
PrinterParams.C
PrinterParams.h
pspell.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
pspell.h Convert the spell checking machinery to docstring. 2006-12-08 19:46:16 +00:00
RowList_fwd.h This commit fixes the singlePar optimization which was disabled due to the ParagraphMetrics cleanup. 2007-01-06 09:15:59 +00:00
rowpainter.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:51:13 +00:00
rowpainter.h
Sectioning.C
Sectioning.h
session.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
session.h Restore old bookmark behaviors (stop using bookmark queue) 2007-03-29 03:41:55 +00:00
sgml.C Use new isAlphaASCII and isDigitASCII functions instead of isalpha and 2007-04-02 15:21:36 +00:00
sgml.h
Spacing.C
Spacing.h
SpellBase.C Convert the spell checking machinery to docstring. 2006-12-08 19:46:16 +00:00
SpellBase.h Convert the spell checking machinery to docstring. 2006-12-08 19:46:16 +00:00
stamp-h.in
tabular.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
tabular.h * src/tabular.[Ch]: simplify plaintext methods, because there 2007-02-18 18:50:08 +00:00
tex-accent.C Normalize everything that comes from 'outside' (plain text import, 2007-04-03 08:15:39 +00:00
tex-accent.h Don't convert keystrokes to LaTeX accents, but insert unicode combining 2007-03-31 18:28:36 +00:00
tex-strings.C
tex-strings.h
texrow.C
texrow.h remove some msvc warnings 2006-12-30 21:05:44 +00:00
text2.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
text3.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
text.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 15:09:08 +00:00
TextMetrics.C Fix bug 3233 2007-02-24 23:58:16 +00:00
TextMetrics.h Transfer x2pos() and pos2x from LyXText to TextMetrics. 2007-01-01 11:36:30 +00:00
Thesaurus.C convert thesaurus and spellchecker to docstring 2006-12-10 11:52:46 +00:00
Thesaurus.h convert thesaurus and spellchecker to docstring 2006-12-10 11:52:46 +00:00
toc.C * src/toc.C: whitespace 2007-03-27 05:58:10 +00:00
toc.h * Buffer 2006-11-11 00:35:14 +00:00
TocBackend.C Cleanup of the Toc model and controller: The objective is to let the View (TocWidget) decide which kind of list it want to show. The type given by InsetCommandParam() (as read by the controller (ControlToc) then just becomes a hint to the View. Most of the commit is about getting rid of the controller maintained list of types. 2007-03-16 14:14:55 +00:00
TocBackend.h remove useless declaration 2007-03-25 00:57:12 +00:00
ToolbarBackend.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
ToolbarBackend.h
trans_decl.h Convert the part of the keymap code that will not be removed to docstring. 2007-03-31 08:12:08 +00:00
trans_mgr.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
trans_mgr.h Finish the transition to unicode of the kmap machinery and enable kmap files 2007-03-31 16:41:02 +00:00
trans.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:44:10 +00:00
trans.h Convert the part of the keymap code that will not be removed to docstring. 2007-03-31 08:12:08 +00:00
undo.C This is supposed to fix #3189 basically by avoiding the error condition: 2007-03-27 14:33:19 +00:00
undo.h This is supposed to fix #3189 basically by avoiding the error condition: 2007-03-27 14:33:19 +00:00
UpdateFlags.h Fix cursor navigation in math. 2007-01-20 01:23:07 +00:00
Variables.C
Variables.h
vc-backend.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
vc-backend.h more unicode filenames 2006-12-02 16:07:15 +00:00
version.C.in
version.h
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 Convert the spell checking machinery to docstring. 2006-12-08 19:46:16 +00:00