Hello community,

here is the log from the commit of package zeitgeist for openSUSE:Factory
checked in at Sun Oct 2 11:19:45 CEST 2011.



--------
--- openSUSE:Factory/zeitgeist/zeitgeist.changes        2011-09-23 
12:53:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/zeitgeist/zeitgeist.changes    2011-09-22 
13:42:52.000000000 +0200
@@ -1,0 +2,22 @@
+Thu Sep 22 11:41:02 UTC 2011 - [email protected]
+
+- Update to version 0.8.2:
+  + Engine:
+    - Storage Monitor: Add support for Network Manager 0.9.
+    - The text field in subject templates is now allowed to end
+      with an asterisk (*) character (which is treated as plain
+      text).
+    - Correctly handle current_uri in subject templates from old
+      clients (instead of forcing it to the same value as the
+      subject's uri).
+    - Substantially increase the amount of events that can be
+      deleted in a single DeleteEvents call.
+  + Python API:
+    - Correctly specify the D-Bus interface when using
+      introspection.
+    - Fix possible exception when the available method list hasn't
+      been loaded.
+    - The Event constructor now supports creating independent
+      copies of events.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  zeitgeist-0.8.1.1.tar.gz

New:
----
  zeitgeist-0.8.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zeitgeist.spec ++++++
--- /var/tmp/diff_new_pack.hhoB7w/_old  2011-10-02 11:19:42.000000000 +0200
+++ /var/tmp/diff_new_pack.hhoB7w/_new  2011-10-02 11:19:42.000000000 +0200
@@ -19,7 +19,7 @@
 
 
 Name:           zeitgeist
-Version:        0.8.1.1
+Version:        0.8.2
 Release:        1
 License:        LGPLv2.1+
 Summary:        Zeitgeist Engine

++++++ zeitgeist-0.8.1.1.tar.gz -> zeitgeist-0.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/ChangeLog 
new/zeitgeist-0.8.2/ChangeLog
--- old/zeitgeist-0.8.1.1/ChangeLog     2011-07-22 23:26:08.000000000 +0200
+++ new/zeitgeist-0.8.2/ChangeLog       2011-09-21 19:58:34.000000000 +0200
@@ -1,5 +1,128 @@
 # Generated by Makefile. Do not edit.
 
+2011-09-21  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * NEWS:
+       * VERSION:
+       * _zeitgeist/engine/remote.py:
+       * configure.ac:
+
+       Bump version number to 0.8.2!
+
+2011-09-21  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * po/lv.po:
+       * po/my.po:
+       * po/vi.po:
+
+       Merge translations.
+
+2011-09-15  Launchpad Translations on behalf of rainct
+
+       * po/vi.po:
+
+       Launchpad automatic translations update.
+
+2011-08-27  Launchpad Translations on behalf of rainct
+
+       * po/lv.po:
+
+       Launchpad automatic translations update.
+
+2011-08-03  Launchpad Translations on behalf of rainct
+
+       * po/my.po:
+
+       Launchpad automatic translations update.
+
+2011-09-21  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * NEWS:
+       * _zeitgeist/engine/main.py:
+
+       Substantially increase the amount of events that can be deleted in
+       a single DeleteEvents call.
+
+2011-09-21  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * NEWS:
+       * _zeitgeist/engine/main.py:
+       * test/datamodel-test.py:
+       * test/engine-test.py:
+
+       Handle wildcards in subject_text as plain text
+
+2011-09-21  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * NEWS:
+
+       Update NEWS.
+
+2011-09-21  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * _zeitgeist/engine/main.py:
+       * zeitgeist/datamodel.py:
+
+       Fix some comments.
+
+2011-09-18  Seif Lotfy  <[email protected]>
+
+       * zeitgeist/datamodel.py:
+
+       fix datamodel not to add uri in current_uri if the latter is not set2
+
+2011-09-05  Mikkel Kamstrup Erlandsen  <[email protected]>
+
+       * _zeitgeist/engine/extensions/storagemonitor.py:
+
+       Merge lp:~kamstrup/zeitgeist/network-manager-state-fix. Fixes it so we 
support both <0.9 and >= 0.9 versions of the NetworkManager API
+
+2011-09-05  Mikkel Kamstrup Erlandsen  <[email protected]>
+
+       * _zeitgeist/engine/extensions/storagemonitor.py:
+
+       Update the storagemonitor.py extension to also work with NetworkManager 
API version >= 0.9
+
+2011-09-02  Seif Lotfy  <[email protected]>
+
+       * _zeitgeist/singleton.py:
+
+       change log print to error instead of debug
+
+2011-09-02  Seif Lotfy  <[email protected]>
+
+       * _zeitgeist/singleton.py:
+
+       add try except statement around the connection removal in singelton.py
+
+2011-08-03  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * zeitgeist/datamodel.py:
+
+       datamodel.Event: when instantiating from an existing Event instance,
+       make a copy of the event information list, so "event2 = Event(event1)"
+       results in an independent copy (so far only the subjects were copied).
+
+2011-08-02  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * test/data/five_events.js:
+       * test/engine-test.py:
+
+       Add test case for searching for subject_text. This reproduces a
+       bug where "*" can't be used at the end of subject_text.
+
+2011-07-29  Siegfried-Angel Gevatter Pujals  <[email protected]>
+
+       * zeitgeist/client.py:
+
+       client.py: Fix order of "is not None" check, fixes NoneType exception
+
+2011-07-28  Michal Hruby  <[email protected]>
+
+       * zeitgeist/client.py:
+
+       Fix a small client issue
+
 2011-07-22  Siegfried-Angel Gevatter Pujals  <[email protected]>
 
        * NEWS:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/NEWS new/zeitgeist-0.8.2/NEWS
--- old/zeitgeist-0.8.1.1/NEWS  2011-07-22 23:25:38.000000000 +0200
+++ new/zeitgeist-0.8.2/NEWS    2011-09-21 19:57:53.000000000 +0200
@@ -1,3 +1,22 @@
+2011-09-21: Zeitgeist 0.8.2 "Not Quite Blue"
+--------------------------------------------
+
+Engine:
+
+ - Storage Monitor: Add support for Network Manager 0.9.
+ - The text field in subject templates is now allowed to end with an
+   asterisk (*) character (which is treated as plain text).
+ - Correctly handle current_uri in subject templates from old clients
+   (instead of forcing it to the same value as the subject's uri).
+ - Substantially increase the amount of events that can be deleted in
+   a single DeleteEvents call.
+
+Python API:
+
+ - Correctly specify the D-Bus interface when using introspection.
+ - Fix possible exception when the available method list hasn't been loaded.
+ - The Event constructor now supports creating independent copies of events.
+
 2011-07-22: Zeitgeist 0.8.1.1 "Grass Frog"
 ------------------------------------------
 
@@ -10,7 +29,7 @@
 
 Python API:
 
- - Fix regression that broke properties (get_version and get_extensions).
+ - Fixed a regression that broke properties (get_version and get_extensions).
 
 2011-07-07: Zeitgeist 0.8.1 "The Snake and the Holy Grail"
 ---------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zeitgeist-0.8.1.1/_zeitgeist/engine/extensions/storagemonitor.py 
new/zeitgeist-0.8.2/_zeitgeist/engine/extensions/storagemonitor.py
--- old/zeitgeist-0.8.1.1/_zeitgeist/engine/extensions/storagemonitor.py        
2011-07-22 23:25:38.000000000 +0200
+++ new/zeitgeist-0.8.2/_zeitgeist/engine/extensions/storagemonitor.py  
2011-09-21 19:57:53.000000000 +0200
@@ -303,11 +303,9 @@
        NM_IFACE = "org.freedesktop.NetworkManager"
        NM_OBJECT_PATH = "/org/freedesktop/NetworkManager"
        
-       NM_STATE_UNKNOWN = 0
-       NM_STATE_ASLEEP = 1
-       NM_STATE_CONNECTING = 2
-       NM_STATE_CONNECTED = 3
-       NM_STATE_DISCONNECTED = 4
+       # NM 0.9 broke API so we have to check for two possible values for the 
state
+       NM_STATE_CONNECTED_PRE_09 = 3
+       NM_STATE_CONNECTED_POST_09 = 70
        
        def __init__ (self, on_network_up, on_network_down):
                log.debug("Creating NetworkManager network monitor")
@@ -335,7 +333,7 @@
                
        def _on_state_changed(self, state):
                log.debug("NetworkManager network state: %s" % state)
-               if state == NMNetworkMonitor.NM_STATE_CONNECTED:
+               if state == NMNetworkMonitor.NM_STATE_CONNECTED_PRE_09 or state 
== NMNetworkMonitor.NM_STATE_CONNECTED_POST_09:
                        self._up ()
                else:
                        self._down()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/_zeitgeist/engine/main.py 
new/zeitgeist-0.8.2/_zeitgeist/engine/main.py
--- old/zeitgeist-0.8.1.1/_zeitgeist/engine/main.py     2011-07-22 
23:25:38.000000000 +0200
+++ new/zeitgeist-0.8.2/_zeitgeist/engine/main.py       2011-09-21 
19:57:53.000000000 +0200
@@ -84,17 +84,11 @@
        on query values, and handles the special case of Subject.Text correctly.
        returns a (value_without_negation_and_wildcard, negation, 
wildcard)-tuple
        """
-       try:
-               value, negation = parse_negation(kind, field, value)
-       except ValueError:
-               if kind is Subject and field == Subject.Text:
-                       # we do not support negation of the text field,
-                       # the text field starts with the NEGATION_OPERATOR
-                       # so we handle this string as the content instead
-                       # of an operator
-                       negation = False
-               else:
-                       raise
+       if kind is Subject and field == Subject.Text:
+               # Negation and wildcard characters in the subject text are
+               # handled as plain text.
+               return value, False, False
+       value, negation = parse_negation(kind, field, value)
        value, wildcard = parse_wildcard(kind, field, value)
        return value, negation, wildcard
 
@@ -373,9 +367,6 @@
                                                if su_manif_where:
                                                        
subwhere.extend(su_manif_where)
                                                
-                                               # FIXME: Expand mime children 
as well.
-                                               # Right now we only do exact 
matching for mimetypes
-                                               # thekorn: this will be fixed 
when wildcards are supported
                                                value, negation, wildcard = 
parse_operators(Subject, Subject.Mimetype, subject_template.mimetype)
                                                if value:
                                                        
subwhere.add_text_condition("subj_mimetype",
@@ -840,7 +831,7 @@
                # We can't do all(timestamps) here because the timestamps may 
be 0
                if timestamps and timestamps[0] is not None and timestamps[1] 
is not None:
                        self._cursor.execute("DELETE FROM event WHERE id IN 
(%s)"
-                               % ",".join(["?"] * len(ids)), ids)
+                               % ",".join(str(int(_id)) for _id in ids))
                        self._cursor.connection.commit()
                        log.debug("Deleted %s" % map(int, ids))
                        # thekorn: this is the keypart of the workaround for 
(LP: #598666)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/_zeitgeist/engine/remote.py 
new/zeitgeist-0.8.2/_zeitgeist/engine/remote.py
--- old/zeitgeist-0.8.1.1/_zeitgeist/engine/remote.py   2011-07-22 
23:25:38.000000000 +0200
+++ new/zeitgeist-0.8.2/_zeitgeist/engine/remote.py     2011-09-21 
19:57:53.000000000 +0200
@@ -57,7 +57,7 @@
        :const:`org.gnome.zeitgeist.Engine`.
        """
        _dbus_properties = {
-               "version": DBUSProperty(lambda self: (0, 8, 1), 
out_signature="iii"),
+               "version": DBUSProperty(lambda self: (0, 8, 2), 
out_signature="iii"),
                "extensions": DBUSProperty(
                        lambda self: 
dbus.Array(self._engine.extensions.iter_names(), 's'),
                        out_signature="as"),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/_zeitgeist/singleton.py 
new/zeitgeist-0.8.2/_zeitgeist/singleton.py
--- old/zeitgeist-0.8.1.1/_zeitgeist/singleton.py       2011-07-22 
23:25:38.000000000 +0200
+++ new/zeitgeist-0.8.2/_zeitgeist/singleton.py 2011-09-21 19:57:53.000000000 
+0200
@@ -101,5 +101,9 @@
        def _safe_quit(self):
                # safely quit the interface on the bus by removing this 
interface
                # from the bus, and releasing the (by-hand) registered bus name
-               self.remove_from_connection()
-               self.connection.release_name(ZeitgeistDBusInterface.BUS_NAME)
+               try:
+                       self.remove_from_connection()
+                       
self.connection.release_name(ZeitgeistDBusInterface.BUS_NAME)
+               except Exception, e:
+                       log.error("Could not remove singleton properly due to 
the following error: %s"
+                                       %e)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/configure 
new/zeitgeist-0.8.2/configure
--- old/zeitgeist-0.8.1.1/configure     2011-07-22 23:25:47.000000000 +0200
+++ new/zeitgeist-0.8.2/configure       2011-09-21 19:58:14.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for zeitgeist 0.8.1.1.
+# Generated by GNU Autoconf 2.68 for zeitgeist 0.8.2.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -557,8 +557,8 @@
 # Identity of this package.
 PACKAGE_NAME='zeitgeist'
 PACKAGE_TARNAME='zeitgeist'
-PACKAGE_VERSION='0.8.1.1'
-PACKAGE_STRING='zeitgeist 0.8.1.1'
+PACKAGE_VERSION='0.8.2'
+PACKAGE_STRING='zeitgeist 0.8.2'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1298,7 +1298,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures zeitgeist 0.8.1.1 to adapt to many kinds of systems.
+\`configure' configures zeitgeist 0.8.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1364,7 +1364,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of zeitgeist 0.8.1.1:";;
+     short | recursive ) echo "Configuration of zeitgeist 0.8.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1454,7 +1454,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-zeitgeist configure 0.8.1.1
+zeitgeist configure 0.8.2
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1819,7 +1819,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by zeitgeist $as_me 0.8.1.1, which was
+It was created by zeitgeist $as_me 0.8.2, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -2635,7 +2635,7 @@
 
 # Define the identity of the package.
  PACKAGE='zeitgeist'
- VERSION='0.8.1.1'
+ VERSION='0.8.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -6201,7 +6201,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by zeitgeist $as_me 0.8.1.1, which was
+This file was extended by zeitgeist $as_me 0.8.2, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -6258,7 +6258,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-zeitgeist config.status 0.8.1.1
+zeitgeist config.status 0.8.2
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/configure.ac 
new/zeitgeist-0.8.2/configure.ac
--- old/zeitgeist-0.8.1.1/configure.ac  2011-07-22 23:25:38.000000000 +0200
+++ new/zeitgeist-0.8.2/configure.ac    2011-09-21 19:57:53.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([zeitgeist], [0.8.1.1])
+AC_INIT([zeitgeist], [0.8.2])
 AC_CONFIG_SRCDIR(zeitgeist-daemon.py)
 AM_INIT_AUTOMAKE([1.9 foreign])
 GNOME_COMMON_INIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/zeitgeist/client.py 
new/zeitgeist-0.8.2/zeitgeist/client.py
--- old/zeitgeist-0.8.1.1/zeitgeist/client.py   2011-07-22 23:25:38.000000000 
+0200
+++ new/zeitgeist-0.8.2/zeitgeist/client.py     2011-09-21 19:57:53.000000000 
+0200
@@ -109,7 +109,7 @@
                        return reconnecting_error_handler(e)
 
        def __getattr__(self, name):
-               if name not in self.__methods and self.__methods is not None:
+               if self.__methods is not None and name not in self.__methods:
                        raise TypeError("Unknown method name: %s" % name)
                def _ProxyMethod(*args, **kwargs):
                        """
@@ -156,7 +156,8 @@
 
        def _load_introspection_data(self):
                self.__methods, self.__signals = self.get_members(
-                       self.__proxy.Introspect())
+                       self.__proxy.Introspect(
+                               
dbus_interface='org.freedesktop.DBus.Introspectable'))
 
        def __init__(self, proxy, interface_name, object_path, reconnect=True):
                self.__proxy = proxy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zeitgeist-0.8.1.1/zeitgeist/datamodel.py 
new/zeitgeist-0.8.2/zeitgeist/datamodel.py
--- old/zeitgeist-0.8.1.1/zeitgeist/datamodel.py        2011-07-22 
23:25:38.000000000 +0200
+++ new/zeitgeist-0.8.2/zeitgeist/datamodel.py  2011-09-21 19:57:53.000000000 
+0200
@@ -410,10 +410,8 @@
        def __init__(self, data=None):
                if data:
                        if len(data) == len(Subject.Fields) - 1:
-                               # Old versions of zeitgeist don't know anything 
about
-                               # currentUri of a subject, their datastructure 
has only
-                               # seven fields, in this it's safe to use Uri as 
CurrentUri
-                               data.append(data[Subject.Uri])
+                               # current_uri has been added in Zeitgeist 0.8.0
+                               data.append("")
                        if len(data) != len(Subject.Fields):
                                raise ValueError(
                                        "Invalid subject data length %s, 
expected %s" \
@@ -628,6 +626,11 @@
                                self.append(struct[2])
                        else:
                                raise ValueError("Invalid struct length %s" % 
len(struct))
+                       # If this event is being created from an existing Event 
instance,
+                       # make a copy of the list holding the event 
information. This
+                       # enables the idiom "event2 = Event(event1)" to copy an 
event.
+                       if isinstance(struct, Event):
+                               self[0] = list(self[0])
                else:
                        self.extend(([""]* len(Event.Fields), [], ""))
                

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to