Revision 1cec0fa...

Go back to digest for 9th September 2012

Other in Office

Jörg Ehrichs committed changes in [conquirere] /:

Refactoring the nbibio importer/exporter/pipe classes

In order to simplify the io classes and reuse the nepomukpipe classes from the metadata extractor
all nbibio classes are refactored.

Now the main classes do not depend on kbibtex File format but rather the QVariantList approach from
the metadata extractor. In addition kbibtex <-> qvariantlist transitions are added.

In the future the kbibtex dependecy should be minimized as much as possible and only needed
for the file import/export.

Unittests are added for all classes.
Some bugs are fixed to allow flawless im- export of all publication data

newest metadata extarctor is needed
zotero sync is broken for now

in addition show plain publication (misc) entries instead of hiding them

File Changes

Added 11 files
  •   doc/conquirere/135044
  •   tests/data/generic_bibtex_single.bib
  •   tests/data/generic_zotero_extended.bib
  •   tests/Test-nbibio.bibtexvariant/bibtexvarianttest.cpp
  •   tests/Test-nbibio.variant2nepomuk/variantnepomuk.cpp
  •   src/nbibio/bibtex/bibtexvariant.cpp
  •   src/nbibio/pipe/clipboardpipe.cpp
  •   src/nbibio/pipe/clipboardpipe.h
  •   src/nbibio/pipe/nepomuktovariantpipe.h
  •   src/nbibio/pipe/varianttonepomukpipe.cpp
  •   src/nbibio/pipe/varianttonepomukpipe.h
Deleted 10 files
  •   doc/conquirere/128260_4.d
  •   tests/Test-nbibio.bibtex2nepomuk/bibtexnepomuk.cpp
  •   src/nbibio/pipe/bibtexpipe.cpp
  •   src/nbibio/pipe/bibtexpipe.h
  •   src/nbibio/pipe/bibtextoclipboardpipe.cpp
  •   src/nbibio/pipe/bibtextoclipboardpipe.h
  •   src/nbibio/pipe/bibtextonepomukpipe.cpp
  •   src/nbibio/pipe/bibtextonepomukpipe.h
  •   src/nbibio/pipe/nepomukpipe.h
  •   src/nbibio/pipe/nepomuktobibtexpipe.h
Modified 28 files
  •   tests/CMakeLists.txt
  •   doc/conquirere/conquirere.prj
  •   src/mainui/librarymanager.cpp
  •   src/mainui/tableviewmenu.cpp
  •   src/nbibio/CMakeLists.txt
  •   tests/data/generic_bibtex.bib
  •   tests/data/generic_extended_bibtex.bib
  •   tests/data/generic_zotero.bib
  •   tests/Test-core.model/coremodel.cpp
  •   tests/Test-core.project/coreproject.cpp
  •   tests/Test-nbibio.bibtex2bibtex/bibtexbibtex.cpp
  •   src/core/queryclients/publicationquery.cpp
  •   src/core/queryclients/referencequery.cpp
  •   src/mainui/sidebar/mergeresourceswidget.cpp
  •   src/mainui/sidebar/referencewidget.cpp
  •   src/mainui/sidebar/sidebarwidget.cpp
  •   src/mainui/sync/backgroundsync.cpp
  •   src/mainui/sync/bibtexexportdialog.cpp
  •   src/mainui/sync/bibtexexportdialog.h
  •   src/mainui/sync/bibteximportwizard.cpp
  •   src/mainui/sync/bibteximportwizard.h
  •   src/mainui/sync/itemmergedialog.cpp
  •   src/mainui/sync/storagesyncwizard.cpp
  •   src/mainui/sync/synczoterodialog.cpp
  •   src/nbibio/pipe/kilelyxpipe.cpp
  •   src/nbibio/pipe/kilelyxpipe.h
  •   src/nbibio/zotero/zoterodownload.cpp
  •   src/nbibio/zotero/zoteroupload.cpp
49 files changed in total