I've just released telepathy-spec 0.19.4. New stable API: * Observer has a boolean property, Recover (for loggers etc. which want restarting whenever they crash while an interesting channel exists), which should probably behave a bit like Handler.BypassApproval in C++ * ContactInfo is now considered stable, so you can safely generate code for it
Bug #27671 is high-level API for ContactInfo, which I think is out of scope for this bug.
Sigh. Make that 0.19.5 - in 0.19.4, Contact_Info_Flags was a <tp:enum>, whereas it should have been a <tp:flags>.
Updated to spec 0.19.5, added some missing tp:type flags needed by the code generator. The Recover flag support will be in another bug and the generated code for ContactInfo will be added in the patches for bug#27671
The patches look good. I've applied the types one to the spec, too; any chance you could supply a patch for specparser.py, or a checking script, or something, that verifies that all the types Qt needs are given? (Am I right in thinking the answer is: any parameter that is a struct, a mapping other than a{sv}, or an array other than as?) (In reply to comment #3) > The Recover flag support will be in another bug Bug #27677, in fact.
(In reply to comment #4) > The patches look good. I've applied the types one to the spec, too; any chance > you could supply a patch for specparser.py, or a checking script, or something, > that verifies that all the types Qt needs are given? I will check this after I finish some other stuff here. > (Am I right in thinking the answer is: any parameter that is a struct, a > mapping other than a{sv}, or an array other than as?) Yep, here are the know types that don't need tp:type defined: 'y' : ('uchar', False, None), 'b' : ('bool', False, 'BoolList'), 'n' : ('short', False, 'ShortList'), 'q' : ('ushort', False, 'UShortList'), 'i' : ('int', False, 'IntList'), 'u' : ('uint', False, 'UIntList'), 'x' : ('qlonglong', False, 'LongLongList'), 't' : ('qulonglong', False, 'ULongLongList'), 'd' : ('double', False, 'DoubleList'), 's' : ('QString', True, None), 'v' : ('QDBusVariant', True, None), 'o' : ('QDBusObjectPath', True, 'ObjectPathList'), 'g' : ('QDBusSignature', True, 'SignatureList'), 'as' : ('QStringList', True, None), 'ay' : ('QByteArray', True, None), 'av' : ('QVariantList', True, None), 'a{sv}' : ('QVariantMap', True, None)
Merged upstream. It will be in next release 0.3.2
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.