Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed code style on sbkenum.cpp | Hugo Parente Lima | 2012-03-08 | 1 | -9/+4 |
| | | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Fixed regression that made enums not hashable. | Hugo Parente Lima | 2012-03-08 | 1 | -1/+5 |
| | |||||
* | Removes printfs and fixes str test. | Marcelo Lira | 2012-03-08 | 1 | -2/+0 |
| | | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | fix shiboken enum. | Renato Filho | 2012-03-08 | 1 | -8/+19 |
| | |||||
* | Update enum implemantation. | Renato Filho | 2012-03-08 | 1 | -16/+86 |
| | |||||
* | Fixed regressions caused on python2.x. | Renato Filho | 2012-03-08 | 1 | -8/+18 |
| | |||||
* | Implemented support to py3k on Shiboken::Enum. | Renato Filho | 2012-03-08 | 1 | -14/+133 |
| | |||||
* | Use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT. | Hugo Parente Lima | 2012-03-08 | 1 | -2/+1 |
| | |||||
* | Using Py_TYPE macro instead of direct access to ob_type to work with Python ↵ | Hugo Parente Lima | 2012-03-08 | 1 | -1/+1 |
| | | | | | | 2.x and 3.x. Enclosing PyCObject uses inside #ifdefs | ||||
* | Replaced all PyString_* by PyBytes_* as preparation for a Python 3.x port. | Hugo Parente Lima | 2012-03-08 | 1 | -4/+4 |
| | |||||
* | Creates type registers for enums in createScopedEnum and createGlobalEnum. | Marcelo Lira | 2012-03-08 | 1 | -19/+17 |
| | | | | Instead of generating the register code. | ||||
* | Added functions to provide a cleaner enum and flags initialization. | Marcelo Lira | 2012-03-08 | 1 | -0/+75 |
| | | | | | | | | | | | The functions are: Shiboken::Enum::createGlobalEnum() Shiboken::Enum::createScopedEnum() Shiboken::Enum::createGlobalEnumItem() Shiboken::Enum::createScopedEnumItem() Also updated the generator to make use of them. | ||||
* | Now the generated code stores the enum cpp name on the PyThon type. | Renato Filho | 2012-03-08 | 1 | -7/+30 |
| | | | | | | | | | | | | This is necessary for finding out the enum name during the signal match function. Fixed the signal register function for signals with default values. Fixes bug #903. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Fixed enum repr, print functions. | Renato Filho | 2012-03-08 | 1 | -13/+18 |
| | | | | | | | fixes bug #654. Reviewer: Lauro Moura <lauro.neto@openbossa.org> Hugo Parente <hugo.lima@openbossa.org> | ||||
* | Fixed enum __repr__ function. | Renato Araujo Oliveira Filho | 2012-03-08 | 1 | -9/+32 |
| | | | | | | | fixes bug #617. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Shiboken enums now have a tp_print representation. | Marcelo Lira | 2012-03-08 | 1 | -1/+15 |
| | | | | | | | | | | This fixes the bug #611[1], and an unit test was also added. [1] http://bugs.openbossa.org/show_bug.cgi?id=611 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org> | ||||
* | Create enum python types on the fly, avoiding generation of structs and ↵ | Hugo Parente Lima | 2012-03-08 | 1 | -38/+111 |
| | | | | duplication of many C functions. | ||||
* | pyenum.{h|cpp} moved to sbkenum.{h|cpp} | Hugo Parente Lima | 2012-03-08 | 1 | -0/+141 |