summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add some needed constantsJohn (J5) Palmieri2010-04-151-0/+16
|
* add test for python 3 _thread libraryJohn (J5) Palmieri2010-04-151-2/+3
|
* fixed autotools buildJohn (J5) Palmieri2010-04-153-9/+17
| | | | | | | | * some file moved from codegen to codegen/libcodegen - create Makefile.am in libcodegen dir - remove refs to files and add the libcodegen subdir in codegen/Makefile.am * add AM_MAINTAINER_MODE to configure.ac - allows ./autogen.sh to be run without flags
* Hack to disable thread check in configureJohn Ehresman2010-04-151-1/+1
|
* Python 3 support for setup.pyJohn Ehresman2010-04-1521-2909/+2626
|
* Changes for tests to run in python 3John Ehresman2010-04-157-28/+54
|
* No long under python 3John Ehresman2010-04-151-1/+4
|
* METH_KEYWORDS w/o METH_VARARGS is invalid in python 3John Ehresman2010-04-153-18/+18
|
* Don't del a name that doesn't existJohn Ehresman2010-04-151-1/+0
|
* Changes to module init, and to compile under python3. Doesn't work thoughJohn Ehresman2010-04-1512-158/+187
|
* Partially working setup.pyJohn Ehresman2010-04-152-20/+118
|
* Don't pregenerate numerical constants in constants.py; adapted from a John ↵John Ehresman2010-04-155-60/+32
| | | | Stower patch
* Use _PyLong and Py_TYPEJohn Ehresman2010-04-152-3/+3
|
* Run under both Python 2.x and 3.xJohn Ehresman2010-04-152-6/+5
|
* More PyString to _PyUnicode or _PyByteArrayJohn Ehresman2010-04-155-10/+11
|
* Modify codegen code to run under either Python 2.x or 3.xJohn Ehresman2010-04-151-2/+2
|
* Use _PyUnicode or _PyByteArray macrosJohn Ehresman2010-04-1510-33/+33
|
* Return byte array from read_chars iff encoding is NULL, otherwise return a ↵John Ehresman2010-04-151-6/+22
| | | | unicode instance in python 3
* Add PyByteArray macrosJohn Ehresman2010-04-151-1/+7
|
* Remove remaining PyInt & PyString callsJohn Ehresman2010-04-155-20/+20
|
* Make pyglib-python-compat.h a public header and include in pygobject.h Also ↵John Ehresman2010-04-157-4/+16
| | | | #define PyVarObject_HEAD_INIT if not defined (in < python 2.6)
* Fix reference leak when using repr in exception stringsJohn Ehresman2010-04-153-23/+58
|
* Use richcompare slot rather than old compare slot and Py_TYPE macro in ↵John Ehresman2010-04-1520-85/+251
| | | | preparation for py3k support
* codegen/docextract_to_xml.py: One more &...; replacement (&nbsp;).masterJosé Alburquerque2010-04-131-0/+1
| | | | | * codegen/docextract_to_xml.py: Replace &nbsp; which also causes errors with a regular space.
* codegen/docextract_to_xml.py: Replace some &..; that cause errors.José Alburquerque2010-04-131-0/+4
| | | | | * codegen/docextract_to_xml.py (escape_text): Replace some &..; expressions that cause errors with more appropriate output.
* codegen/docextract_to_xml.py: Handle C++ multi-line comments.José Alburquerque2010-04-111-0/+9
| | | | | | | * codegen/docextract_to_xml.py (escape_text): Translate '/*' and '*/' in text to '/ *' and '* /' respectively so that comment errors don't show up when the descriptions that include C++ code with C++ multi-line comments are used in Doxygen blocks.
* codegen/docextract.py: Stop final section processing on first match.José Alburquerque2010-04-111-0/+4
| | | | | | | * codegen/docextract.py (process_final_sections): Modify the final section pattern matching for loop to stop on first match so that it doesn't match both a colon return ('Returns: ...') and a no colon return ('Returns ...') which leads to annotation extraction errors.
* Update doc extraction tool to handle GObjectIntrospection annotations.José Alburquerque2010-04-112-112/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc. (GtkDoc::annotations): Added a list field to store annotations which are 2-tuples of (name, value). (GtkDoc::ret): Modified field to store the return description along with a list of annotations as described above. (GtkDoc::params): Now holds a list of 3-tupples: name, description and annotations (as described above). (GtkDoc::block_type): Add a field to tell if the comment block is a function block, signal block or property block. (GtkDoc::set_type): (GtkDoc::get_type): Add methods for setting/getting the block type. (GtkDoc::add_param): Modified to also accept a list of annotations to be added with the parameter. (GtkDoc::add_annotation): (GtkDoc::get_annotations): Added methods to add/get annotations for the comment block. (GtkDoc::append_description): Renamed to append_to_description(). (GtkDoc::get_param_description): Removed unused method. (GtkDoc::get_description): Added method to get block description. (GtkDoc::add_return): Added method to add a return accepting the first line of the description and its annotations. (GtkDoc::append_return): Renamed to append_to_return(). (Regular expressions): - Made the names of the variables un-abbreviated. - Added 'since', 'deprecated' and 'rename to' regular expressions. - Modified the return matching regular expression so that it doesn't match descriptions that begin with 'Returns ...'. This improves the docs of many function. - Added signal and property comment block identifier matching regular expressions in case those are useful. - Modified existing identifier matching regular expressions (function, signal, and property regular expressions) to properly parse annotations. Also added a regular expression for extracting annotations from the parameter and return descriptions. - Refined the function name matching regular expression to only accept identifiers that begin with a lowercase letter. This eliminates 'SECTION:' matches. - Finally, grouped commonly related expressions like return_pattern, since_pattern, etc. into groups (in lists) so that matching those sections can be done using loops. (Parsing algorithm): Modified the algorithm to use a functional approach to parsing. Extra methods like skip_to_comment() and processs_params() have been added and used in the parse_file() function to now process the comment blocks. (parse_dir): Added file processing output to stderr. * codegen/docextract_to_xml.py (usage): Added function to print out the usage. (print_annotations): Added function to print the given list of annotations. (options): Added --with-signals (-i), with-properties (-p) and --with-annotation (-a) to the existing --source-dir (-s) option. (algorithm): Now prints annotations, if specified. Also, prints signals and properties correctly (using names like Class::signal-one for signals and Classs:property) with xml such as <signal name="...">...</signal>. The return xml is slightly modified with annotations but this would only be exhibited if annotation xml is requested.
* Docs: replace gio.IO_ERROR_* with gio.ERROR_*Paul Bolle2010-04-083-45/+45
| | | | Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
* Bug 613341 - pygobject tests seem to require pygtk causing a circularGian Mario Tagliaretti2010-04-054-718/+0
| | | | | | dependencies problem move tests that require pygtk to pygtk itself
* Don't raise an error in _pygi_import if pygi support is disabledSimon van der Linden2010-02-024-16/+3
| | | | http://bugzilla.gnome.org/show_bug.cgi?id=607674
* Initialize PyGPollFD_Type.fd_obj to NULLTomeu Vizoso2010-01-101-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=606582
* Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distccGian Mario Tagliaretti2010-01-041-14/+13
| | | | Committed a patch from Kevin Pyle
* Wrap gio.Cancellable.make_pollfd() and add a testGian Mario Tagliaretti2010-01-034-0/+56
|
* Make cancellable an optional parameter in many methodsGian Mario Tagliaretti2010-01-021-51/+51
|
* Post release version bump to 2.21.2Gian Mario Tagliaretti2010-01-021-1/+1
|
* Update NEWS and release PyGObject-2.21.1PYGOBJECT_2_21_1Gian Mario Tagliaretti2010-01-021-0/+55
|
* Wrap gio.Volume.eject_with_operation()Gian Mario Tagliaretti2010-01-011-0/+54
|
* gio.Mount.unmount_with_operation() fix a copy/paste leftoverGian Mario Tagliaretti2010-01-011-2/+2
|
* Wrap gio.Mount.eject_with_operation()Gian Mario Tagliaretti2010-01-011-0/+54
|
* Wrap gio.Mount.unmount_mountable_with_operation()Gian Mario Tagliaretti2010-01-011-0/+54
|
* Wrap File.unmount_mountable_with_operation()Gian Mario Tagliaretti2010-01-011-0/+54
|
* Wrap gio.File.stop_mountable()Gian Mario Tagliaretti2010-01-011-0/+52
|
* Wrap gio.File.start_mountable()Gian Mario Tagliaretti2010-01-011-0/+52
|
* Wrap gio.File.replace_readwrite_async()Gian Mario Tagliaretti2010-01-011-0/+55
|
* Wrap gio.File.poll_mountable()Gian Mario Tagliaretti2010-01-011-0/+41
|
* Wrap gio.File.open_readwrite_async()Gian Mario Tagliaretti2010-01-011-0/+44
|
* Wrap gio.File.eject_mountable_with_operation()Gian Mario Tagliaretti2010-01-011-0/+54
|
* Wrap gio.File.create_readwrite_async() and add a testGian Mario Tagliaretti2010-01-012-0/+75
|
* Wrap gio.Drive.stop()Gian Mario Tagliaretti2010-01-011-0/+52
|