Adding new functions to get protocol's default options Adding new functions to return the default values to protocol options and protocol options labels. Also defining __id and __exists as object to fix execution's failure. Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> Acked-by: Bruno Abinader <bruno.abinader@indt.org.br> Acked-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1425 596f6dd7-e928-0410-a184-9e12fd12cf7e
Removind Account's dependency and adding _get_structure() function Removind Account's dependency and fixing get function Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> Acked-by: Bruno Abinader <bruno.abinader@indt.org.br> Acked-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1423 596f6dd7-e928-0410-a184-9e12fd12cf7e
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
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
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
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