Ragner Magalhaes [Tue, 2 Dec 2008 20:53:15 +0000 (20:53 +0000)]
Adding function __set_protocol_options
Adding function __set_protocol_options to set the config's options
to account's protocol
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1366
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:52:57 +0000 (20:52 +0000)]
Adding function __get_protocol_labels
Adding function __get_protocol_labels to return the config's labels to account's protocol
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1365
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:52:36 +0000 (20:52 +0000)]
Adding function __get_protocol_options
Adding function __get_protocol_options to return the config's options
to account's protocol
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1364
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:52:19 +0000 (20:52 +0000)]
Added "connection-error" signal callback.
FIXES:
- Added "connection-error" signal callback.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1363
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:52:01 +0000 (20:52 +0000)]
Updated signals with "signed-on", "signed-off" and "buddy-signed-on" signals.
FIXES:
- Updated signals with "signed-on", "signed-off" and "buddy-signed-on" signals.
- Removed signed-on binding on Connection class.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1362
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:51:37 +0000 (20:51 +0000)]
Added "markup_strip_html" method (outside Purple class).
FIXES:
- Added "markup_strip_html" method (outside Purple class).
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1361
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:51:17 +0000 (20:51 +0000)]
Fixed get_buddies_online return parameter.
FIXES:
- Now get_buddies_online returns a list of tuples (name, alias).
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1360
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:50:59 +0000 (20:50 +0000)]
Updated callback strings to comply with libpurple.
FIXES:
- Updated callback strings (replaced underscores with minus symbol).
- Now all UiOps callbacks are added using add_callback(type, name, func).
- Updated changes on nullclient-ecore.py.
- Added receiving-xmlnode example on nullclient-ecore.py.
- Removed deprecated nullclient.py
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1359
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:50:18 +0000 (20:50 +0000)]
Better handling of c/python strings.
FIXES:
- Better handling of c/python strings.
- Updated fixes on nullclient-ecore.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1358
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:49:46 +0000 (20:49 +0000)]
Struct Callbacks for blist_cb. (UPDATE)
FIXES:
- Add blist_cb on nullclient-ecore.
- Add new struct callbacks for blist_cb on purple.pyx.
Signed-off-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br>
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1357
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:49:26 +0000 (20:49 +0000)]
More fixes on purple.pyx.
FIXES:
- accounts dict is now private.
- load_accounts is now called inside purple_init.
- Internal PurpleAccount data is now caught using libpurple functions.
- Fixed some logic in account_add and account_verify.
- Updated changes on nullclient.py and nullclient-ecore.py.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1356
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:49:02 +0000 (20:49 +0000)]
Updated internal class attributes with correct naming.
FIXES:
- Now internal class attributes are all private, which can be caught externally using property.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1355
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:48:42 +0000 (20:48 +0000)]
Added binds for functions from libpurple which return structure attributes.
FIXES:
- Added functions from libpurple which return strutcture attributes, instead of getting them directly.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1354
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:48:20 +0000 (20:48 +0000)]
Add support to new callback class
Signed-off-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1353
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:47:57 +0000 (20:47 +0000)]
Change struct Callbacks
* Created a base class for manager callbacks.
* Method for add callbacks.
Signed-off-by: Ricardo Guimares <ricardo.guimaraes@indt.org.br>
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1352
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:47:37 +0000 (20:47 +0000)]
Modified account functions.
Modifications:
- Fixed account funcions.
- Manage intern account dict.
- Gets accounts of xml.
- Added c_funcions: purple_accounts_find, purple_accounts_get_all and purple_accounts_add.
Signed-off-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1351
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:47:04 +0000 (20:47 +0000)]
Added more properties to account and buddy.
FIXES:
- Added more properties to account and buddy.
- Fixed corresponding core on nullclients.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1350
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:46:22 +0000 (20:46 +0000)]
More fixes to account.pyx and buddy.pyx.
FIXES:
- Removed ; from account.pyx.
- gboolean returning functions can be translated to python boolean values automatically.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1349
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:45:40 +0000 (20:45 +0000)]
Implement purple.Buddy()
Implemented Buddy class and some basic methods. Python application using python-purple, now can has a buddy dictionary in format: buddies = {<buddy.name>: Buddy()}
TODO: Link Buddy() and Account(), maybe using account->ui_data.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1348
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:45:16 +0000 (20:45 +0000)]
Conversation: who added
Who variable added to write_im callback. Now, it's possible to know who is sending a message.
Take care to check if "who" is not None.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1347
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:44:49 +0000 (20:44 +0000)]
Replaced attach_signals with signal_connect method. (UPDATE)
FIXES:
- Added libpurple/xmlnode.pxd.
- Replaced attach_signals() with signal_connect() method.
- Added initial geoloc support from libpurple client (receiving only).
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1346
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:44:17 +0000 (20:44 +0000)]
Added local ez_setup.py.
FIXES:
- Added local ez_setup.py.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1345
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:43:58 +0000 (20:43 +0000)]
Conversation support
- Added conversation support. Applications using python-purple must keep a conversations' list. See
nullclient-ecore.py as reference.
- Added destroy() to purple.pyx
- See quit() in nullclient-ecore.py as example of how destroy python-purple.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1344
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:42:58 +0000 (20:42 +0000)]
Deleting plugin.pyx
plugin.pyx is not necessary and Plugin(), Plugins() classes are not being used and necessary anymore.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1343
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:42:37 +0000 (20:42 +0000)]
Changing __account to c_account.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1342
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:42:01 +0000 (20:42 +0000)]
Small cleanups.
FIXES:
- Removed redundant cimports on plugin.pyx and proxy.pyx.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1341
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:41:42 +0000 (20:41 +0000)]
g_timeout_add_seconds() deleted from eventloop_ui struct
Since we don't have such function in glib for Chinook/Diablo.
This function is not used.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1340
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:41:26 +0000 (20:41 +0000)]
nullclient-core.py: fix update buddy list
Temporary hack fixing buddy list updating.
It's still necessary to refactory buddy.pxd.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1339
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:41:10 +0000 (20:41 +0000)]
blist_cbs.pxd: adding try/except in right position
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1338
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:40:51 +0000 (20:40 +0000)]
Added setup descriptions.
FIXES:
- Added setup descriptions.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1337
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:40:33 +0000 (20:40 +0000)]
Added initial support for new_node, update and remove callbacks from PurpleBlistUiOps.
FIXES:
- Added initial support for new_node, update and remove callbacks from PurpleBlistUiOps.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1336
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:40:15 +0000 (20:40 +0000)]
Added privacy.pxd definition.
FIXES:
- Added privacy.pxd definition.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1335
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:39:51 +0000 (20:39 +0000)]
Fixed buddy.pyx return types and plugin.pyx list free.
FIXES:
- Fixed buddy.pyx return types.
- Fixed plugin.pyx list free.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1334
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:39:30 +0000 (20:39 +0000)]
Adding _write_im_cb to MainWindow class
Adding _write_im_cb to update the conversation message at UI
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1333
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:39:10 +0000 (20:39 +0000)]
Added misssing structures on blist.pxd and glib.pxd.
FIXES:
- Added missing structures on blist.pxd and glib.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1332
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:38:49 +0000 (20:38 +0000)]
Buddy list update
Implement buddy list update (hack mode)
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1331
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:38:30 +0000 (20:38 +0000)]
Initial nullclient-ecore implementation
Initial nullclient-ecore implementation just for python-purple testings.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1330
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:38:14 +0000 (20:38 +0000)]
Fix for accountopt, cosmetics and fix for union definition.
FIXES:
- account.pxd should not link to any other .pxd that belongs to libpurple, since it can cause redundancy problems to cython.
- Moved all accountopt code to accountopt.pxd.
- Fixed union definition in PurpleAccountOption.
- Small cosmetics at end of some code lines.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1329
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:37:48 +0000 (20:37 +0000)]
Improves calls to set proxy's options of the Account
Improves calls to set proxy's options of the Account
Using property(get_proxy) method to access the ProxyInfo's instance
Some improvements at how represent PurpleProxyInfoType enumerator
as python(class ProxyInfoType)
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1328
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:37:28 +0000 (20:37 +0000)]
Setting proxy and protocols'options
Setting proxy and protocols'options
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1327
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:37:13 +0000 (20:37 +0000)]
Adding support to new class of protocols
Adding support to new class of protocols
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1326
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:36:54 +0000 (20:36 +0000)]
Adding hack method get_protocol_options
Adding hack method get_protocol_optionsAdding func get_protocol_options
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1325
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:36:38 +0000 (20:36 +0000)]
Adding bind to PurpleAccountOption
Adding bind to PurpleAccountOption
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1324
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:36:18 +0000 (20:36 +0000)]
Adding enum PurplePrefType
Adding enum PurplePrefType
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1323
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:35:59 +0000 (20:35 +0000)]
Fixed connection callbacks arguments used by nullclient.
FIXES:
- Fixed connection callbacks arguments used by nullclient.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1322
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:35:40 +0000 (20:35 +0000)]
Fixed parameters passed as argument to signals used by pidgin-carman.
FIXES:
- Stripped HTML markups from message.
- Added robust treatment for arguments passed to user-defined python callbacks.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1321
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:35:03 +0000 (20:35 +0000)]
Added missing structures on connection.pxd.
FIXES:
- Added missing structure (PurpleConnection) definition on connection.pxd.
- Fixed typo with time_t definition on status.pxd.
- Fixed typo with purple_markup_strip_html definition on util.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1320
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:34:35 +0000 (20:34 +0000)]
Added missing structures on conversation.pxd.
FIXES:
- Added missing structures on conversation.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1319
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:34:04 +0000 (20:34 +0000)]
Added missing structures on blist.pxd.
FIXES:
- Added missing structures on blist.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1318
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:33:34 +0000 (20:33 +0000)]
Adding Classes Plugin and PluginInfo
Adding Classes Plugin and PluginInfo to let us get the protocol's info
Note: This patch depends of the previous patch "[CARMAN][PATCH 1/1] Adding struct PurplePluginProtocolInfo"
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1317
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:33:06 +0000 (20:33 +0000)]
Adding struct PurplePluginProtocolInfo
Adding struct PurplePluginProtocolInfo to let us get protocol's options
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1316
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:32:38 +0000 (20:32 +0000)]
Fixed definition of union inside PurplePresence structure, added missing structure definitions.
FIXES:
- Fixed definition of union inside PurplePresence structure.
- Added missing structure definitions.
- Fixed small typo with PURPLE_STATUS_NUM_PRIMITIVES definition.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1315
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:32:06 +0000 (20:32 +0000)]
Fixed blist.pxd recursive call from other .pxd files.
FIXES:
- Fixed blist.pxd recursive call from other .pxd files.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1314
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:31:36 +0000 (20:31 +0000)]
Fixed accounts.pxd recursive call from other .pxd files.
FIXES:
- Fixed accounts.pxd recursive call from other .pxd files.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1313
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:30:59 +0000 (20:30 +0000)]
Added libpurple/value.pxd. (UPDATE)
FIXES:
- Added gint64 and guint64 definitions used by value.pxd on glib.pxd.
- Added value.pxd cimport inside purple.pxd.
- Added libpurple/value.pxd.
ps: Fixed small type with PurpleValue structure definition.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1312
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:29:44 +0000 (20:29 +0000)]
Fixed high cpu usage by glib iteration.
FIXES:
- Changed ecore.idler_add with ecore.timer_add.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1311
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:29:17 +0000 (20:29 +0000)]
Added missing definitions on blist.pxd.
FIXES:
- Added missing definitions on blist.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1310
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:28:53 +0000 (20:28 +0000)]
Added signal callbacks used by pidgin-carman.
FIXES:
- Added signal callbacks used by pidgin-carman.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1309
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:28:31 +0000 (20:28 +0000)]
Added PurpleRequestUiOps callbacks. (UPDATE)
FIXES:
- Added missing structures on request.pxd.
- Added request callbacks forwarding on purple.pyx.
- Added request callbacks example on nullclient.py.
- Added c-based callbacks on request_cbs.pxd.
- Added missing GCallback definition on glib.pxd.
ps: Fixed typo in purple.pyx.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1308
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:28:01 +0000 (20:28 +0000)]
Added PurpleNotifyUiOps callbacks.
FIXES:
- Added missing structures on notify.pxd.
- Added notify callbacks forwarding on purple.pyx.
- Added notify callbacks example on nullclient.py.
- Added c-based callbacks on notify_cbs.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1307
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:27:33 +0000 (20:27 +0000)]
Added PurpleBlistUiOps callbacks.
FIXES:
- Added missing structures on blist.pxd.
- Added blist callbacks forwarding on purple.pyx.
- Added blist callbacks example on nullclient.py.
- Added c-based callbacks on blist_cbs.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1306
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:27:07 +0000 (20:27 +0000)]
More cosmetics.
FIXES:
- Removed redundant global defintions.
- Fixed identation.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1305
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:26:42 +0000 (20:26 +0000)]
Added PurpleConnectionUiOps callbacks.
FIXES:
- Added missing structures on connection.pxd.
- Added connection callbacks forwarding on purple.pyx.
- Added connection callbacks example on nullclient.py.
- Added c-based callbacks on connection_cbs.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1304
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:26:15 +0000 (20:26 +0000)]
Added PurpleAccountUiOps callbacks. (Updated)
FIXES:
- Added missing structures on account.pxd (PurpleAccountUiOps) and status.pxd (PurpleStatus).
- Added account callbacks forwarding on purple.pyx.
- Added account callbacks example on nullclient.py.
- Added c-based callbacks on account_cbs.pxd.
- Renamed conversations_cbs to conversation_cbs.
ps: Fixed typo when renaming conversations_cbs to conversation_cbs.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1303
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:25:41 +0000 (20:25 +0000)]
Cosmetics.
FIXES:
- Removed redundant import on account.pyx
- Cosmetics on account.pxd and proxy.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1302
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:25:07 +0000 (20:25 +0000)]
Added initial support for user-specified conversation callbacks.
FIXES:
- UiOps structures are now global.
- Initial support for user-specified conversation callbacks.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1301
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:24:28 +0000 (20:24 +0000)]
Add get/set proxyinfo methods to Account class
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1300
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:23:39 +0000 (20:23 +0000)]
Add class ProxyInfo
Add new class ProxyInfo to allow you config the account's proxy
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1299
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:22:58 +0000 (20:22 +0000)]
Simplifyed definitions call, moved signal callback example to Cython code.
FIXES:
- Now all .pyx files simply calls "cimport purple" instead of a bunch of cimport's.
- Moved signal callback example from c_purple to cython code.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1298
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:21:43 +0000 (20:21 +0000)]
Cosmetics.
FIXME:
- Removed confusing comments at the end of each method on purple.pyx.
- Renamed __cinit__ to __init__.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1297
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:20:50 +0000 (20:20 +0000)]
Fix get_buddies_online
Small fix related to get_buddies_online function implemented in account.pyx
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1296
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:20:15 +0000 (20:20 +0000)]
All includes now uses cimport. Moved .pxd files from root dir to .pyx files, fixed enum declarations.
Hi all, sorry for the long patch.
FIXES:
- Moved all .pxd files from root directory to .pyx ones.
- Use "cimport <file>" instead of "include".
- Fixed enum declarations.
- Fixed directory declaration on setup.py.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1295
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:19:12 +0000 (20:19 +0000)]
Get buddies function
Get buddies function
Signed-off-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1294
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:18:52 +0000 (20:18 +0000)]
Get buddies bindings
Get buddies bindings
Signed-off-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1293
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:18:29 +0000 (20:18 +0000)]
Added missing UI operation structures.
FIXES:
- Added missing UI operation structures.
- Initial support for application initialization/deinitialization.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1292
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:17:50 +0000 (20:17 +0000)]
Add support to console's input to nullclient.py
Allow user input name and password to nullclient.py
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1291
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:17:33 +0000 (20:17 +0000)]
Added majority of libpurple functions used by pidgin-carman.
FIXES:
- Added majority of libpurple functions used by pidgin-carman.
- Fixed alias for conversation functions.
- Added libpurple/signals.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1290
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:16:59 +0000 (20:16 +0000)]
More fixes to BFP.
FIXES:
- Created savedstatuses.pxd.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1289
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:16:23 +0000 (20:16 +0000)]
Fixed last BFP.
FIXES:
- Fixed includes on purple.pyx.
- Moved remaining .pxd's to libpurple/ directory.
- Removed core/ directory.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1288
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:15:48 +0000 (20:15 +0000)]
BFP, fixes structures definitions, categorizes each c-function into a .pxd file.
FIXES:
- Fixes some structures definitions.
- Ordered correctly 'import' calls inside purple.pyx.
- Moved c-functions defintions inside .pxd files.
- Renamed class files into .pyx ones.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1287
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:14:21 +0000 (20:14 +0000)]
Nullclient.py: changing mainloop
Use new ecore mainloop instead of glib one.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1286
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:13:55 +0000 (20:13 +0000)]
Conversation class implementation
Initial conversation.pxd implementation
Signed-off-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1285
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:13:21 +0000 (20:13 +0000)]
Fixed structures definition, removed print line from setup.py.
FIXES:
- Removed 'print' line from setup.py.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1284
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:13:03 +0000 (20:13 +0000)]
nullclient.py
Implementation of a very simple python program which connects to a valid jabber account (gtalk, for example).
You need to connect on WANO and edit nullclient.py adding your email/password.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1283
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:12:35 +0000 (20:12 +0000)]
Coding style on core/buddy.pxd
Some coding style fixes on core/buddy.pxd
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1282
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:12:08 +0000 (20:12 +0000)]
Implement account connect methods
Added connect methods to core/account.pxd
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1281
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:11:37 +0000 (20:11 +0000)]
Connect signals
Just for demonstration purposes, implement connection callbacks on c_purple.*
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1280
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:11:15 +0000 (20:11 +0000)]
Added glib iteration inside ecore main loop, fixed wrong function definition.
FIXES:
- Added glib iteration inside ecore main loop.
- Fixed warning about assignment from incompatible pointer type.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1279
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:10:51 +0000 (20:10 +0000)]
Moved all Purple class callbacks inside, moved blist and pounce inside Purple.
FIXES:
- Moved all Purple class callbacks inside.
- Moved blist and pounce inside Purple.
- All C-functions are now called directly.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1278
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:10:12 +0000 (20:10 +0000)]
Moved debug methods outside Purple class, added core ui ops callback examples.
FIXES:
- Moved debug_* methods outside Purple class, so they can be used by anyone.
- Added core ui ops callback examples.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1277
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:09:44 +0000 (20:09 +0000)]
Buddy class
Initial buddy class implementation.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1276
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:09:11 +0000 (20:09 +0000)]
Implementing core/account.pxd
Initial account.pxd implementation
Signed-off-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br>
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1275
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:08:49 +0000 (20:08 +0000)]
Moved purple core ui ops to Cython code.
FIXES:
- Added glib definitions used by purple core ui ops.
- Moved purple core ui ops structures to Cython.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1274
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:08:16 +0000 (20:08 +0000)]
Moved purple_core_init to cython, added purple debug methods, added checks for core initialization.
FIXES:
- Moved purple_core_init from c_purple.c directly to Cython code. Now only callbacks are done inside c_purple code.
- Added purple debug methods, so we can use it inside code.
- Added check for core initialization.
- Added check to ensure that it has only one instance of libpurple running.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1273
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:07:51 +0000 (20:07 +0000)]
Removed unused files, mixed C-only code with Cython code.
FIXES:
- Moved calls from debug, plugin, util and c_purple.pxd directly into purple.pyx
- Changed Core class name to Purple.
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1272
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:07:23 +0000 (20:07 +0000)]
Removed redundant cdef's, fixed structures declarations.
FIXES:
* Removed redundant cdef's, as functions declared within "cdef extern" block receives this automatically.
* Fixed structures declarations, adding "pass" to them (this can be done only inside "cdef extern" blocks).
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1271
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:06:42 +0000 (20:06 +0000)]
libpurple initialization
Using c_purple.[c,h] to encapsulate all glib functions and structs for libpurple intialization.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1270
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:06:14 +0000 (20:06 +0000)]
Added GsourceFunc implementation
Added GSourceFunc implementation used on PurpleEventLoopUiOps callbacks).
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1269
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:05:56 +0000 (20:05 +0000)]
PurpleCoreUiOps implementation
Implementing PurpleCoreUiOps bindings.
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1268
596f6dd7-e928-0410-a184-
9e12fd12cf7e
Ragner Magalhaes [Tue, 2 Dec 2008 20:05:37 +0000 (20:05 +0000)]
Fix account class
Using cast to encapsulate PurpleAccount into a PyObject.
Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1267
596f6dd7-e928-0410-a184-
9e12fd12cf7e