Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove remaining PyInt & PyString calls | John Ehresman | 2010-04-15 | 5 | -20/+20 |
| | |||||
* | Make pyglib-python-compat.h a public header and include in pygobject.h Also ↵ | John Ehresman | 2010-04-15 | 7 | -4/+16 |
| | | | | #define PyVarObject_HEAD_INIT if not defined (in < python 2.6) | ||||
* | Fix reference leak when using repr in exception strings | John Ehresman | 2010-04-15 | 3 | -23/+58 |
| | |||||
* | Use richcompare slot rather than old compare slot and Py_TYPE macro in ↵ | John Ehresman | 2010-04-15 | 20 | -85/+251 |
| | | | | preparation for py3k support | ||||
* | codegen/docextract_to_xml.py: One more &...; replacement ( ).master | José Alburquerque | 2010-04-13 | 1 | -0/+1 |
| | | | | | * codegen/docextract_to_xml.py: Replace which also causes errors with a regular space. | ||||
* | codegen/docextract_to_xml.py: Replace some &..; that cause errors. | José Alburquerque | 2010-04-13 | 1 | -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é Alburquerque | 2010-04-11 | 1 | -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é Alburquerque | 2010-04-11 | 1 | -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é Alburquerque | 2010-04-11 | 2 | -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 Bolle | 2010-04-08 | 3 | -45/+45 |
| | | | | Signed-off-by: Paul Bolle <pebolle@tiscali.nl> | ||||
* | Bug 613341 - pygobject tests seem to require pygtk causing a circular | Gian Mario Tagliaretti | 2010-04-05 | 4 | -718/+0 |
| | | | | | | dependencies problem move tests that require pygtk to pygtk itself | ||||
* | Don't raise an error in _pygi_import if pygi support is disabled | Simon van der Linden | 2010-02-02 | 4 | -16/+3 |
| | | | | http://bugzilla.gnome.org/show_bug.cgi?id=607674 | ||||
* | Initialize PyGPollFD_Type.fd_obj to NULL | Tomeu Vizoso | 2010-01-10 | 1 | -0/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=606582 | ||||
* | Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc | Gian Mario Tagliaretti | 2010-01-04 | 1 | -14/+13 |
| | | | | Committed a patch from Kevin Pyle | ||||
* | Wrap gio.Cancellable.make_pollfd() and add a test | Gian Mario Tagliaretti | 2010-01-03 | 4 | -0/+56 |
| | |||||
* | Make cancellable an optional parameter in many methods | Gian Mario Tagliaretti | 2010-01-02 | 1 | -51/+51 |
| | |||||
* | Post release version bump to 2.21.2 | Gian Mario Tagliaretti | 2010-01-02 | 1 | -1/+1 |
| | |||||
* | Update NEWS and release PyGObject-2.21.1PYGOBJECT_2_21_1 | Gian Mario Tagliaretti | 2010-01-02 | 1 | -0/+55 |
| | |||||
* | Wrap gio.Volume.eject_with_operation() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+54 |
| | |||||
* | gio.Mount.unmount_with_operation() fix a copy/paste leftover | Gian Mario Tagliaretti | 2010-01-01 | 1 | -2/+2 |
| | |||||
* | Wrap gio.Mount.eject_with_operation() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+54 |
| | |||||
* | Wrap gio.Mount.unmount_mountable_with_operation() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+54 |
| | |||||
* | Wrap File.unmount_mountable_with_operation() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+54 |
| | |||||
* | Wrap gio.File.stop_mountable() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+52 |
| | |||||
* | Wrap gio.File.start_mountable() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+52 |
| | |||||
* | Wrap gio.File.replace_readwrite_async() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+55 |
| | |||||
* | Wrap gio.File.poll_mountable() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+41 |
| | |||||
* | Wrap gio.File.open_readwrite_async() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+44 |
| | |||||
* | Wrap gio.File.eject_mountable_with_operation() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+54 |
| | |||||
* | Wrap gio.File.create_readwrite_async() and add a test | Gian Mario Tagliaretti | 2010-01-01 | 2 | -0/+75 |
| | |||||
* | Wrap gio.Drive.stop() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+52 |
| | |||||
* | Wrap gio.Drive.start() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+52 |
| | |||||
* | Add more remainders on missing methods of gio.Socket and related types | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+3 |
| | |||||
* | Wrap gio.SocketListener.accept_socket_async|finish() and add a test | Gian Mario Tagliaretti | 2010-01-01 | 2 | -2/+108 |
| | |||||
* | Wrap gio.SocketListener.accept_finish() and add a test | Gian Mario Tagliaretti | 2010-01-01 | 2 | -2/+66 |
| | |||||
* | Wrap gio.SocketListener.accept_async() | Gian Mario Tagliaretti | 2010-01-01 | 1 | -0/+42 |
| | |||||
* | Wrap gio.SocketListener.accept_socket() and add a test | Gian Mario Tagliaretti | 2010-01-01 | 2 | -1/+60 |
| | |||||
* | Wrap gio.SocketListener.accept() and add a test | Gian Mario Tagliaretti | 2009-12-31 | 2 | -1/+58 |
| | |||||
* | Make cancellable optional in gio.SocketClient.connect_to_host() | Gian Mario Tagliaretti | 2009-12-31 | 1 | -1/+1 |
| | |||||
* | Wrap gio.SocketListener.add_address() and add a test | Gian Mario Tagliaretti | 2009-12-31 | 2 | -1/+65 |
| | |||||
* | Add more remainders on missing methods of gio.Socket and related types | Gian Mario Tagliaretti | 2009-12-31 | 1 | -0/+8 |
| | |||||
* | Wrap gio.SocketClient.connect_to_service_async() | Gian Mario Tagliaretti | 2009-12-31 | 1 | -0/+47 |
| | |||||
* | Wrap gio.SocketClient.connect_to_host_async() | Gian Mario Tagliaretti | 2009-12-31 | 1 | -0/+48 |
| | |||||
* | Wrap gio.SocketClient.connect_async() | Gian Mario Tagliaretti | 2009-12-31 | 1 | -0/+45 |
| | |||||
* | Wrap gio.SocketAddressEnumerator.next_async() and add a test | Gian Mario Tagliaretti | 2009-12-30 | 2 | -0/+58 |
| | |||||
* | Add a missing object gio.InetSocketAddress new in GIO 2.22 | Gian Mario Tagliaretti | 2009-12-30 | 2 | -0/+38 |
| | |||||
* | Make cancellable optional for gio.SocketAddressEnumerator.next() | Gian Mario Tagliaretti | 2009-12-30 | 1 | -1/+1 |
| | |||||
* | Add a remainder of the Socket methods that needs manual wrapping still | Gian Mario Tagliaretti | 2009-12-30 | 1 | -0/+5 |
| | |||||
* | Wrap gio.Socket.condition_wait() and add a test | Gian Mario Tagliaretti | 2009-12-30 | 2 | -1/+32 |
| | |||||
* | Wrap gio.Socket.condition_check() and add a test | Gian Mario Tagliaretti | 2009-12-30 | 4 | -0/+64 |
| |