python-purple
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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>

10 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

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