[Telepathy] geninterface.py doesn't handle correctly 64-bit integers

Marco Barisione marco at barisione.org
Wed Aug 29 06:44:38 PDT 2007


geninterface.py doesn't handle correctly 64-bit integers.

Patches are attached: tp-glib-genginterface-int64 fixes the problem in
tp-glib, gabble-update-genginterface in gabble, and
salut-update-genginterface in salut.

-- 
Marco Barisione
http://www.barisione.org/
-------------- next part --------------

New patches:

[geninterface.py: update from telepathy-glib
Marco Barisione <marco at barisione.org>**20070829134126] {
hunk ./extensions/tools/genginterface.py 145
-        return ("gint ", "G_TYPE_INT64","INT64", False)
-    elif s == 't': #uint32
-        return ("guint ", "G_TYPE_UINT64","UINT64", False)
+        return ("gint64 ", "G_TYPE_INT64","INT64", False)
+    elif s == 't': #uint64
+        return ("guint64 ", "G_TYPE_UINT64","UINT64", False)
}

Context:

[Make the muc connection asynchronous
Sjoerd Simons <sjoerd.simons at collabora.co.uk>**20070724135238] 
[update tubes API comments
Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>**20070827140752] 
[salut-tubes-channel.c: remove HAVE_DBUS_TUBE tests as now we always build D-Bus tubes
Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>**20070827083047] 
[salut-tubes-channel.c: updated to fit latest spec
Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>**20070827082239] 
[update extensions/Channel_Type_Tubes.xml
Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>**20070827081739] 
[version 0.1.4.1
Sjoerd Simons <sjoerd.simons at collabora.co.uk>**20070824143159] 
[TAG telepathy-salut 0.1.4
Sjoerd Simons <sjoerd.simons at collabora.co.uk>**20070824142039] 
Patch bundle hash:
e4af8da2ffdaa85903bf609be61404a03a126eb7
-------------- next part --------------

New patches:

[geninterface.py: update from telepathy-glib
Marco Barisione <marco at barisione.org>**20070829133857] {
hunk ./extensions/tools/genginterface.py 145
-        return ("gint ", "G_TYPE_INT64","INT64", False)
-    elif s == 't': #uint32
-        return ("guint ", "G_TYPE_UINT64","UINT64", False)
+        return ("gint64 ", "G_TYPE_INT64","INT64", False)
+    elif s == 't': #uint64
+        return ("guint64 ", "G_TYPE_UINT64","UINT64", False)
}

Context:

[cosmetic and indentation changes
Senko Rasic <senko.rasic at collabora.co.uk>**20070828122849] 
[test-avatar-tokens.py: fix test description, remove unneeded id attribute from presence stanza
Senko Rasic <senko.rasic at collabora.co.uk>**20070828122822] 
[Connection.Interface.Avatars: added GetKnownAvatarTokens() implementation, and test for it
Senko Rasic <senko.rasic at collabora.co.uk>**20070827213256] 
[GabbleMucChannel: if unknown person changes the topic, set 'subject-contact' to 0
Senko Rasic <senko.rasic at collabora.co.uk>**20070827134138] 
[GabbleMediaSession: if the session we initiated timeouts, we assume the callee didn't answer the call
Senko Rasic <senko.rasic at collabora.co.uk>**20070817183805] 
[Add a test for google roster workarounds
Senko Rasic <senko.rasic at collabora.co.uk>**20070824132837] 
[roster.c: don't let gtalk demote subscribe channel member to remote pending
Senko Rasic <senko.rasic at collabora.co.uk>**20070824103021] 
[servicetest.py: properly reinsert lazy handler in the queue even if it's the last one
Senko Rasic <senko.rasic at collabora.co.uk>**20070824131445] 
[remove Group interface from assumed capability list; it should only include channel types
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070823162648] 
[presence cache: emit capabilities-update if capabilities changed during presence update
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070823160836] 
[presence.c: update aggregated presence when resource is removed
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070823160814] 
[add test for capabilities interface
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070823160739] 
[refactor Twisted test setup
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070822164000] 
[servicetest.py: re-insert skipped lazy handlers into queue after processing event
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070822124442] 
[add test for setting alias
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070817170643] 
[add regression test for RequestAliases not returning on empty vCard
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070815135219] 
[gabble_connection_request_aliases: remove code that should never be reached
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070814145105] 
[add test for RequestAliases/AliasesChanged
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070814142510] 
[vCard manager: don't skip negative alias caching if both old and new alias are NULL
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070814113712] 
[_boring: gabble-signals-marshal.list is boring
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070808185623] 
[room_jid_disco_cb: properly return from function in case of error
Senko Rasic <senko.rasic at collabora.co.uk>**20070807175301] 
[TAG attempted merge point for telepathy-gabble-tubes, 2007-08-06
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070806182041] 
Patch bundle hash:
ee1581849afd0d4712884c6378c71e66f4d72915
-------------- next part --------------

New patches:

[geninterface.py: fix the comment for the 't' signature, it's used for uint64 not uint32
Marco Barisione <marco at barisione.org>**20070829123600] {
hunk ./tools/genginterface.py 146
-    elif s == 't': #uint32
+    elif s == 't': #uint64
}

[geninterface.py: use gint64 and guint64 for 'x' and 't' types instead of gint and guint
Marco Barisione <marco at barisione.org>**20070829124225] {
hunk ./tools/genginterface.py 145
-        return ("gint ", "G_TYPE_INT64","INT64", False)
+        return ("gint64 ", "G_TYPE_INT64","INT64", False)
hunk ./tools/genginterface.py 147
-        return ("guint ", "G_TYPE_UINT64","UINT64", False)
+        return ("guint64 ", "G_TYPE_UINT64","UINT64", False)
}

Context:

[Version 0.5.14, libtool c:r:a = 3:0:3
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070828135043] 
[Fix misuse of <TITLE> in gtkdoc
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070828134807] 
[Incorporate new tubes spec into docs
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070828134748] 
[Channel_Type_Tubes.xml: the attr is called tp:type, not tp_type (fixes failure to build)
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070828131643] 
[Include autogen.sh in tarball - OLPC's jhbuild assumes this will be present
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070828131414] 
[Deprecate telepathy-glib-unstable
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070828131259] 
[Add Tubes to the shared library
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070828131107] 
[Actually syncing with 0.15.5, and not 0.15.5.1 snapshot
Senko Rasic <senko.rasic at collabora.co.uk>**20070828124140] 
[updated to spec version 0.15.5.1
Senko Rasic <senko.rasic at collabora.co.uk>**20070828121420] 
[Connection.Interface.Avatars: added new GetKnownAvatarTokens() method and deprecate the old GetAvatarTokens() one
Senko Rasic <senko.rasic at collabora.co.uk>**20070827220556] 
[properties mixin: when SetProperties is called in the middle of an existing SetProperties call, don't trample over the existing state
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070711152100] 
[fix loop termination condition
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070711143423] 
[properties mixin: fix memory leak in ListProperties implementation
Dafydd Harries <dafydd.harries at collabora.co.uk>**20070711113652] 
[Remove extraneous debug from TpPresenceMixin
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628152253] 
[base-connection-manager.c: #include <telepathy-glib/util.h>
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628163858] 
[tp_presence_mixin_get_presence: don't leak the implementor-supplied hash table
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628142044] 
[TpPresenceMixin: API clarifications
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628141816] 
[TpPresenceMixin: wrap some long lines
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628141753] 
[TpPresenceMixin: use tp_g_value_slice_dup
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628133336] 
[Add tp_g_value_slice_dup [re-recorded]
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628133031] 
[TpPresenceMixin: wrap long lines
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628130300] 
[Use tp_g_value_slice_new in a couple of places
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628133730] 
[Add tp_g_value_slice_new [re-recorded]
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070628133036] 
[In group mixin, don't leak the GPtrArray of external group mixins
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070627130731] 
[tp_group_mixin_change_members: remember the actor handle before any unreffing happens
Senko Rasic <senko.rasic at collabora.co.uk>**20070625155714] 
[stack allocate TpPresenceStatus when calling set_own_status function
Robert McQueen <robert.mcqueen at collabora.co.uk>**20070620114531] 
[fix documentation for presence mixin to clarify that TpPresenceStatus->optional_arguments may be null
Robert McQueen <robert.mcqueen at collabora.co.uk>**20070620113415] 
[Bump nano version to 1
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070607121353] 
[c-constants-generator: reformat <tp:spec> template
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070607115528] 
[c-constants-generator: spec now has @plural so remove hack
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070607115507] 
[c-constants-generator.xsl: make mixed-case-prefix param mandatory
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070607115418] 
[Make c-interfaces-generator not telepathy-glib specific
Simon McVittie <simon.mcvittie at collabora.co.uk>**20070607114013] 
[remove extra debug message
Robert McQueen <robert.mcqueen at collabora.co.uk>**20070606145431] 
[properties mixin: gracefully handle situations when client tries to set 0 properties
Senko Rasic <senko.rasic at collabora.co.uk>**20070105105426] 
[TAG telepathy-glib 0.5.13
Robert McQueen <robert.mcqueen at collabora.co.uk>**20070601160635] 
Patch bundle hash:
0f70c8b495e66b65b9f601f8659312b4a5408eba


More information about the Telepathy mailing list