aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/gi/gi-test.py
AgeCommit message (Collapse)AuthorFilesLines
2016-05-17Enable g-ir-scanner to scan ScintillaObject signalsThomas Martitz1-0/+9
Currently, the ScintillaObject signals can't be used from python code via gobject-introspection. This is because g-ir-scanner does not properly scan the signals. For signals, there is the additional requirement that parameters have are registered GTypes. For the sci-notify signal, this can be accomplished by boxing SCNotification. In addition, g-ir-scanner also runs on Scintilla.h where it picks up additional structs. test/gi/ is updated accordingly. The test python script is enhanced to showcase the signals (some fixes to the makefile are included as well).
2016-05-17Backed out changeset: 89cda794d0dd as fixed changeset will be sent by author.Neil1-9/+0
2016-04-26Enable g-ir-scanner to scan ScintillaObject signalsThomas Martitz1-0/+9
Currently, the ScintillaObject signals can't be used from python code via gobject-introspection. This is because g-ir-scanner does not properly scan the signals. For signals, there is the additional requirement that parameters have are registered GTypes. For the sci-notify signal, this can be accomplished by boxing SCNotification. In addition, g-ir-scanner also runs on Scintilla.h where it picks up additional structs. test/gi/ is updated accordingly. The test python script is enhanced to showcase the signals (some fixes to the makefile are included as well).
2015-12-13Fix issues raised by review and some moreThomas Martitz1-1/+7
- remove any notion of deprecation of legacy symbol names - make sure typelib search path is set for test program - add separate test target to test/gi/makefile - improve g-ir-scanner call command line - fixed gtk2 support of test test/gi/gi-test.py
2015-09-30Add a test suite to check gobject-introspection dataThomas Martitz1-0/+11
The test suite acts also as an example for downstream projects to generate gobject-introspection data. A known-good .gir file is checked in for checking results in the future. Lastly, a small python uses the gobject-introspection data to create a small editor window. The change to gtk/makefile is because scintilla needs to be in a shared library for the python program. Therefore scintilla.a has to be compiled with -fPIC.