python-purple
15 years agoFixed buddy.pyx return types and plugin.pyx list free.
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

15 years agoAdding _write_im_cb to MainWindow class
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

15 years agoAdded misssing structures on blist.pxd and glib.pxd.
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

15 years agoBuddy list update
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

15 years agoInitial nullclient-ecore implementation
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

15 years agoFix for accountopt, cosmetics and fix for union definition.
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

15 years agoImproves calls to set proxy's options of the Account
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

15 years agoSetting proxy and protocols'options
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

15 years agoAdding support to new class of protocols
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

15 years agoAdding hack method get_protocol_options
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

15 years agoAdding bind to PurpleAccountOption
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

15 years agoAdding enum PurplePrefType
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

15 years agoFixed connection callbacks arguments used by nullclient.
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

15 years agoFixed parameters passed as argument to signals used by pidgin-carman.
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

15 years agoAdded missing structures on connection.pxd.
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

15 years agoAdded missing structures on conversation.pxd.
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

15 years agoAdded missing structures on blist.pxd.
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

15 years agoAdding Classes Plugin and PluginInfo
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

15 years agoAdding struct PurplePluginProtocolInfo
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

15 years agoFixed definition of union inside PurplePresence structure, added missing structure...
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

15 years agoFixed blist.pxd recursive call from other .pxd files.
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

15 years agoFixed accounts.pxd recursive call from other .pxd files.
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

15 years agoAdded libpurple/value.pxd. (UPDATE)
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

15 years agoFixed high cpu usage by glib iteration.
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

15 years agoAdded missing definitions on blist.pxd.
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

15 years agoAdded signal callbacks used by pidgin-carman.
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

15 years agoAdded PurpleRequestUiOps callbacks. (UPDATE)
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

15 years agoAdded PurpleNotifyUiOps callbacks.
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

15 years agoAdded PurpleBlistUiOps callbacks.
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

15 years agoMore cosmetics.
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

15 years agoAdded PurpleConnectionUiOps callbacks.
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

15 years agoAdded PurpleAccountUiOps callbacks. (Updated)
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

15 years agoCosmetics.
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

15 years agoAdded initial support for user-specified conversation callbacks.
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

15 years agoAdd get/set proxyinfo methods to Account class
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

15 years agoAdd class ProxyInfo
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

15 years agoSimplifyed definitions call, moved signal callback example to Cython code.
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

15 years agoCosmetics.
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

15 years agoFix get_buddies_online
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

15 years agoAll includes now uses cimport. Moved .pxd files from root dir to .pyx files, fixed...
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

15 years agoGet buddies function
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

15 years agoGet buddies bindings
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

15 years agoAdded missing UI operation structures.
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

15 years agoAdd support to console's input to nullclient.py
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

15 years agoAdded majority of libpurple functions used by pidgin-carman.
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

15 years agoMore fixes to BFP.
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

15 years agoFixed last BFP.
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

15 years agoBFP, fixes structures definitions, categorizes each c-function into a .pxd file.
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

15 years agoNullclient.py: changing mainloop
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

15 years agoConversation class implementation
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

15 years agoFixed structures definition, removed print line from setup.py.
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

15 years agonullclient.py
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

15 years agoCoding style on core/buddy.pxd
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

15 years agoImplement account connect methods
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

15 years agoConnect signals
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

15 years agoAdded glib iteration inside ecore main loop, fixed wrong function definition.
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

15 years agoMoved all Purple class callbacks inside, moved blist and pounce inside Purple.
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

15 years agoMoved debug methods outside Purple class, added core ui ops callback examples.
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

15 years agoBuddy class
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

15 years agoImplementing core/account.pxd
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

15 years agoMoved purple core ui ops to Cython code.
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

15 years agoMoved purple_core_init to cython, added purple debug methods, added checks for core...
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

15 years agoRemoved unused files, mixed C-only code with Cython code.
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

15 years agoRemoved redundant cdef's, fixed structures declarations.
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

15 years agolibpurple initialization
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

15 years agoAdded GsourceFunc implementation
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

15 years agoPurpleCoreUiOps implementation
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

15 years agoFix account class
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

15 years agoInitial account class implementation
Ragner Magalhaes [Tue, 2 Dec 2008 20:05:13 +0000 (20:05 +0000)]
Initial account class implementation

Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br>
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Signed-off-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br>
Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
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@1266 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdded glib.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 20:04:49 +0000 (20:04 +0000)]
Added 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@1265 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoUpdate: Removed deprecated python-libpurple folder (to avoid mistakes), created class...
Ragner Magalhaes [Tue, 2 Dec 2008 20:04:04 +0000 (20:04 +0000)]
Update: Removed deprecated python-libpurple folder (to avoid mistakes), created classes for all current .pxd files.

FIXES:
* Removed deprecated python-libpurple/ folder, to avoid mistakes.
* Created classes for all current .pxd files.
* Fixed correct .pxd call from inside purple.pyx.
* Fixed "const char *" calls (vide http://wiki.cython.org/FAQ#head-af019db12f683abe6bc226926e8a2a92425b8e57 ).

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@1263 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoInitial python-purple commit.
Anderson Briglia [Sat, 28 Feb 2009 21:10:29 +0000 (17:10 -0400)]
Initial python-purple commit.

Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org>

15 years agoAdded python-purple/core/connection.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 20:04:26 +0000 (20:04 +0000)]
Added python-purple/core/connection.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@1264 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agowelcome
www-data [Thu, 26 Feb 2009 14:30:28 +0000 (16:30 +0200)]
welcome