summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Wrap gio.Drive.start()Gian Mario Tagliaretti2010-01-011-0/+52
|
* Add more remainders on missing methods of gio.Socket and related typesGian Mario Tagliaretti2010-01-011-0/+3
|
* Wrap gio.SocketListener.accept_socket_async|finish() and add a testGian Mario Tagliaretti2010-01-012-2/+108
|
* Wrap gio.SocketListener.accept_finish() and add a testGian Mario Tagliaretti2010-01-012-2/+66
|
* Wrap gio.SocketListener.accept_async()Gian Mario Tagliaretti2010-01-011-0/+42
|
* Wrap gio.SocketListener.accept_socket() and add a testGian Mario Tagliaretti2010-01-012-1/+60
|
* Wrap gio.SocketListener.accept() and add a testGian Mario Tagliaretti2009-12-312-1/+58
|
* Make cancellable optional in gio.SocketClient.connect_to_host()Gian Mario Tagliaretti2009-12-311-1/+1
|
* Wrap gio.SocketListener.add_address() and add a testGian Mario Tagliaretti2009-12-312-1/+65
|
* Add more remainders on missing methods of gio.Socket and related typesGian Mario Tagliaretti2009-12-311-0/+8
|
* Wrap gio.SocketClient.connect_to_service_async()Gian Mario Tagliaretti2009-12-311-0/+47
|
* Wrap gio.SocketClient.connect_to_host_async()Gian Mario Tagliaretti2009-12-311-0/+48
|
* Wrap gio.SocketClient.connect_async()Gian Mario Tagliaretti2009-12-311-0/+45
|
* Wrap gio.SocketAddressEnumerator.next_async() and add a testGian Mario Tagliaretti2009-12-302-0/+58
|
* Add a missing object gio.InetSocketAddress new in GIO 2.22Gian Mario Tagliaretti2009-12-302-0/+38
|
* Make cancellable optional for gio.SocketAddressEnumerator.next()Gian Mario Tagliaretti2009-12-301-1/+1
|
* Add a remainder of the Socket methods that needs manual wrapping stillGian Mario Tagliaretti2009-12-301-0/+5
|
* Wrap gio.Socket.condition_wait() and add a testGian Mario Tagliaretti2009-12-302-1/+32
|
* Wrap gio.Socket.condition_check() and add a testGian Mario Tagliaretti2009-12-304-0/+64
|