"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/c2b/coreBibParser.h" between
cb2bib-1.9.9.tar.gz and cb2bib-2.0.0.tar.gz

About: cb2Bib is a multiplatform application for rapidly extracting unformatted, or unstandardized bibliographic references from email alerts, journal Web pages, and PDF files.

coreBibParser.h  (cb2bib-1.9.9):coreBibParser.h  (cb2bib-2.0.0)
/*************************************************************************** /***************************************************************************
* Copyright (C) 2004-2018 by Pere Constans * Copyright (C) 2004-2019 by Pere Constans
* constans@molspaces.com * constans@molspaces.com
* cb2Bib version 1.9.9. Licensed under the GNU GPL version 3. * cb2Bib version 2.0.0. Licensed under the GNU GPL version 3.
* See the LICENSE file that comes with this distribution. * See the LICENSE file that comes with this distribution.
***************************************************************************/ ***************************************************************************/
#ifndef COREBIBPARSER_H #ifndef COREBIBPARSER_H
#define COREBIBPARSER_H #define COREBIBPARSER_H
#include "authorString.h" #include "authorString.h"
#include "bibReference.h" #include "bibReference.h"
#include "cb2bib_utilities.h" #include "cb2bib_utilities.h"
#include "settings.h" #include "settings.h"
skipping to change at line 212 skipping to change at line 212
{ {
bf = &ref->_bib_fields_nb_re[i]; bf = &ref->_bib_fields_nb_re[i];
if (bf->indexIn(str_ref) > -1) if (bf->indexIn(str_ref) > -1)
(*ref)[ref->bib_fieldList.at(i)] = bf->cap(1).trimmed(); (*ref)[ref->bib_fieldList.at(i)] = bf->cap(1).trimmed();
} }
} }
if (ref->contains("file")) if (ref->contains("file"))
if (!QDir::isAbsolutePath(ref->value("file"))) if (!QDir::isAbsolutePath(ref->value("file")))
(*ref)["file"] = _bib_file_dir + ref->value("file"); (*ref)["file"] = _bib_file_dir + ref->value("file");
} }
}; };
#endif #endif
 End of changes. 3 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)