Hello community, here is the log from the commit of package soprano checked in at Fri Apr 25 16:46:36 CEST 2008. -------- --- soprano/soprano.changes 2008-04-16 14:16:30.000000000 +0200 +++ /mounts/work_src_done/STABLE/soprano/soprano.changes 2008-04-24 22:03:39.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 24 22:03:30 CEST 2008 - dmueller@suse.de + +- update to final 2.0.98 (alpha1) release + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ soprano.spec ++++++ --- /var/tmp/diff_new_pack.t19889/_old 2008-04-25 16:46:20.000000000 +0200 +++ /var/tmp/diff_new_pack.t19889/_new 2008-04-25 16:46:20.000000000 +0200 @@ -23,7 +23,7 @@ Summary: C++/Qt based interface library for RDF BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 2.0.98 -Release: 1 +Release: 3 Source: %name-%{version}.tar.bz2 Requires: libsoprano4 >= %{version} @@ -137,6 +137,8 @@ %_libdir/pkgconfig/soprano.pc %changelog +* Fri Apr 25 2008 dmueller@suse.de +- update to final 2.0.98 (alpha1) release * Wed Apr 16 2008 dmueller@suse.de - update to 2.0.98 to fix the communication issues * Thu Apr 10 2008 ro@suse.de ++++++ soprano-2.0.98.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/soprano-2.0.98/backends/sesame2/sesame2queryresultiteratorbackend.cpp new/soprano-2.0.98/backends/sesame2/sesame2queryresultiteratorbackend.cpp --- old/soprano-2.0.98/backends/sesame2/sesame2queryresultiteratorbackend.cpp 2008-03-27 12:14:59.000000000 +0100 +++ new/soprano-2.0.98/backends/sesame2/sesame2queryresultiteratorbackend.cpp 2008-04-17 18:23:27.000000000 +0200 @@ -88,8 +88,6 @@ : d( new Private( result ) ) { d->model = model; - // there is no need for us blocking the model - close(); } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/soprano-2.0.98/index/clucenedocumentwrapper.cpp new/soprano-2.0.98/index/clucenedocumentwrapper.cpp --- old/soprano-2.0.98/index/clucenedocumentwrapper.cpp 2007-11-30 22:10:54.000000000 +0100 +++ new/soprano-2.0.98/index/clucenedocumentwrapper.cpp 2008-04-23 13:25:53.000000000 +0200 @@ -112,13 +112,15 @@ lucene::document::DocumentFieldEnumeration* e = d->document->fields(); while ( e->hasMoreElements() ) { lucene::document::Field* field = e->nextElement(); - d->document->add( *new Field( textFieldName().data(), field->stringValue(), + if ( isPropertyField( TString( field->name(), true ) ) ) { + d->document->add( *new Field( textFieldName().data(), field->stringValue(), #ifdef CL_VERSION_19_OR_GREATER - Field::STORE_NO|Field::INDEX_TOKENIZED|Field::TERMVECTOR_NO + Field::STORE_NO|Field::INDEX_TOKENIZED|Field::TERMVECTOR_NO #else - false, true, true + false, true, true #endif - ) ); + ) ); + } } _CLDELETE( e ); } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/soprano-2.0.98/index/cluceneindex.cpp new/soprano-2.0.98/index/cluceneindex.cpp --- old/soprano-2.0.98/index/cluceneindex.cpp 2008-04-07 09:17:43.000000000 +0200 +++ new/soprano-2.0.98/index/cluceneindex.cpp 2008-04-23 13:25:53.000000000 +0200 @@ -179,10 +179,6 @@ return 0; } - static bool isPropertyField( const TString& fieldName ) { - return ( idFieldName() != fieldName && - textFieldName() != fieldName ); - } /** * A doc is empty if it only contains the fields id and text @@ -191,7 +187,7 @@ int cnt = 0; lucene::document::DocumentFieldEnumeration* it = doc->fields(); while ( it->hasMoreElements() ) { - lucene::document::Field* field = it->nextElement(); + it->nextElement(); ++cnt; } return cnt <= 2; @@ -223,7 +219,7 @@ lucene::document::DocumentFieldEnumeration* fields = oldDoc->fields(); while ( fields->hasMoreElements() ) { lucene::document::Field* field = fields->nextElement(); - if ( Private::isPropertyField( TString( field->name(), true ) ) ) { + if ( Index::isPropertyField( TString( field->name(), true ) ) ) { docWrapper.addProperty( field->name(), field->stringValue() ); } } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/soprano-2.0.98/index/cluceneutils.h new/soprano-2.0.98/index/cluceneutils.h --- old/soprano-2.0.98/index/cluceneutils.h 2007-11-30 14:09:49.000000000 +0100 +++ new/soprano-2.0.98/index/cluceneutils.h 2008-04-23 13:25:53.000000000 +0200 @@ -29,21 +29,21 @@ namespace Soprano { namespace Error { - class Error; + class Error; } namespace Index { /** - * The name of the Document field holding the Resource identifier. The value - * stored in this field is either a URI or a BNode ID. - */ - TString idFieldName(); + * The name of the Document field holding the Resource identifier. The value + * stored in this field is either a URI or a BNode ID. + */ + TString idFieldName(); /** * The name of the Document field that holds the concatenated text of a * Resource. */ - TString textFieldName(); + TString textFieldName(); /** * String used to prefix BNode IDs with so that we can distinguish BNode @@ -52,7 +52,12 @@ */ QString bnodeIdPrefix(); - Error::Error exceptionToError( CLuceneError& ); + Error::Error exceptionToError( CLuceneError& ); + + inline bool isPropertyField( const TString& fieldName ) { + return ( idFieldName() != fieldName && + textFieldName() != fieldName ); + } } } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/soprano-2.0.98/TODO new/soprano-2.0.98/TODO --- old/soprano-2.0.98/TODO 2008-04-14 10:26:58.000000000 +0200 +++ new/soprano-2.0.98/TODO 2008-04-23 13:25:53.000000000 +0200 @@ -19,3 +19,4 @@ Idea: Create a transaction FilterModel that allows to have transactions on any backend in memory. Problem: queries! * Use QDbusObjectPath as return value for models and iterators in the DBus inteface * Make BackendSettings a class which provides method to lookup a value +* Use Q_DECLARE_TYPEINFO(Node, Q_MOVABLE_TYPE) for Node and Statement, will break BC in 2.x ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de