]> git.lyx.org Git - lyx.git/commit
Improvements to the citation dialog UI. It is now possible to search particular field...
authorRichard Heck <rgheck@comcast.net>
Mon, 20 Aug 2007 16:30:02 +0000 (16:30 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 20 Aug 2007 16:30:02 +0000 (16:30 +0000)
commitb3bff4232a9d0410bae21b9d74584ee469c70e19
treedf4e4c970cfb07917afb79bd61da3088c18e9989
parent96336caed70d9108628b4dcc3a4c8952ff5dcced
Improvements to the citation dialog UI. It is now possible to search particular fields (author, title, etc) and to filter keys by entry types (article, book, etc).

The changes are essentially of three types.

First, the std::maps previously used here for storing BibTeX data have become full-fledged classes and so what were previously just a bunch of functions have now become methods of these new  classes. This leads to a lot of minor changes in other files, to adapt to the  new signature. The changes in insets/ are mostly of this kind.

Second, there are some slightly more substantial changes in src/insets/InsetBibtex.cpp. We now store lists of the field names and entry types that have been used.

Finally, there are the changes to the citation UI. These are mostly straightforward, though adding the new functionality exposed some inadequacies in the previous code that also had to be fixed.

One other change: BibTeX keys are now docstring. This solves some Unicode issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19657 a592a061-630c-0410-9148-cb99ea01b6c8
22 files changed:
development/scons/scons_manifest.py
src/Biblio.cpp
src/Biblio.h
src/Biblio_typedefs.h
src/Buffer.cpp
src/Buffer.h
src/Makefile.am
src/frontends/controllers/ControlCitation.cpp
src/frontends/controllers/ControlCitation.h
src/frontends/qt4/QCitation.cpp
src/frontends/qt4/QCitation.h
src/frontends/qt4/QCitationDialog.cpp
src/frontends/qt4/QCitationDialog.h
src/frontends/qt4/ui/CitationUi.ui
src/insets/Inset.h
src/insets/InsetBibitem.cpp
src/insets/InsetBibitem.h
src/insets/InsetBibtex.cpp
src/insets/InsetBibtex.h
src/insets/InsetCitation.cpp
src/insets/InsetInclude.cpp
src/insets/InsetInclude.h