summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Wrap new GFile methods.Gian Mario Tagliaretti2009-04-043-3/+118
| | | | | | | | | | | | | 2009-04-04 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_set_attributes_async) (_wrap_g_file_set_attributes_finish) Wrap new GFile methods. * tests/test_gio.py: Test the above methods. svn path=/trunk/; revision=1053
* Fix a typo.Gian Mario Tagliaretti2009-03-302-1/+6
| | | | | | | | | | 2009-03-31 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_query_filesystem_info_async) Fix a typo. svn path=/trunk/; revision=1052
* Wrap new GFile method.Gian Mario Tagliaretti2009-03-302-0/+53
| | | | | | | | | | 2009-03-31 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_query_filesystem_info_async) Wrap new GFile method. svn path=/trunk/; revision=1051
* Add missing g_file_query_filesystem_info_async andGian Mario Tagliaretti2009-03-302-12/+28
| | | | | | | | | | 2009-03-31 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gio.defs: Add missing g_file_query_filesystem_info_async and g_file_query_filesystem_info_finish svn path=/trunk/; revision=1050
* Swap kwargs names to reflect the code.Gian Mario Tagliaretti2009-03-302-1/+6
| | | | | | | | | | 2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_mount_mountable) Swap kwargs names to reflect the code. svn path=/trunk/; revision=1049
* Swap kwargs names to reflect the code.Gian Mario Tagliaretti2009-03-302-1/+6
| | | | | | | | | | 2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_mount_enclosing_volume) Swap kwargs names to reflect the code. svn path=/trunk/; revision=1048
* Wrap new GFile method.Gian Mario Tagliaretti2009-03-302-1/+51
| | | | | | | | | | 2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_find_enclosing_mount_async) Wrap new GFile method. svn path=/trunk/; revision=1047
* Wrap new GFile method.Gian Mario Tagliaretti2009-03-302-1/+52
| | | | | | | | | | 2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_eject_mountable) Wrap new GFile method. svn path=/trunk/; revision=1046
* revert previous commit.Gian Mario Tagliaretti2009-03-292-1/+5
| | | | | | | | | 2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_copy) revert previous commit. svn path=/trunk/; revision=1045
* callback cannot be optional.Gian Mario Tagliaretti2009-03-292-1/+5
| | | | | | | | | 2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfile.override: (_wrap_g_file_copy) callback cannot be optional. svn path=/trunk/; revision=1044
* svn path=/trunk/; revision=1043Gian Mario Tagliaretti2009-03-292-2/+6
| | | | | | | | | 2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/reference/pygio-volumemonitor.xml: svn path=/trunk/; revision=1043
* Add gio.VolumeMonitor in docs.Gian Mario Tagliaretti2009-03-294-1/+855
| | | | | | | | | | | | 2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-volumemonitor.xml: Add gio.VolumeMonitor in docs. svn path=/trunk/; revision=1042
* Add gio.Volume in docs.Gian Mario Tagliaretti2009-03-295-1/+771
| | | | | | | | | | | | 2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-constants.xml: * docs/reference/pygio-volume.xml: Add gio.Volume in docs. svn path=/trunk/; revision=1041
* should accept None for mount_operation.Gian Mario Tagliaretti2009-03-292-6/+24
| | | | | | | | | | 2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gvolume.override: (_wrap_g_volume_mount) should accept None for mount_operation. svn path=/trunk/; revision=1040
* Swap kwargs names to reflect the code.Gian Mario Tagliaretti2009-03-292-1/+5
| | | | | | | | | 2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gvolume.override: Swap kwargs names to reflect the code. svn path=/trunk/; revision=1039
* Update the address of the FSF, by replacing old bits of the address withTobias Mueller2009-03-2963-63/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-29 Tobias Mueller <tobiasmue@gnome.org> Update the address of the FSF, by replacing old bits of the address with new ones. Fixes bug 577134 * ltihooks.py: * pygtk.py: * COPYING: * gobject/pygparamspec.h: * gobject/pygpointer.c: * gobject/ffi-marshaller.h: * gobject/pygtype.c: * gobject/__init__.py: * gobject/pygpointer.h: * gobject/pygtype.h: * gobject/pygflags.c: * gobject/pyginterface.c: * gobject/pygflags.h: * gobject/pygboxed.c: * gobject/gobjectmodule.c: * gobject/pygenum.c: * gobject/pyginterface.h: * gobject/pygboxed.h: * gobject/pygobject.c: * gobject/constants.py.in: * gobject/pygenum.h: * gobject/propertyhelper.py: * gobject/pygparamspec.c: * gobject/ffi-marshaller.c: * glib/pygmainloop.c: * glib/pygoptioncontext.h: * glib/pygmainloop.h: * glib/pyglib-private.h: * glib/__init__.py: * glib/pygoptiongroup.c: * glib/pygspawn.c: * glib/pygmaincontext.c: * glib/pygoptiongroup.h: * glib/pygspawn.h: * glib/pygmaincontext.h: * glib/option.py: * glib/pygsource.c: * glib/glibmodule.c: * glib/pygiochannel.h: * glib/pygsource.h: * glib/pyglib.c: * glib/pyglib.h: * glib/pyglib-python-compat.h: * glib/pygoptioncontext.c: * gio/gfileinfo.override: * gio/gappinfo.override: * gio/__init__.py: * gio/gfileattribute.override: * gio/gvolume.override: * gio/gio.override: * gio/ginputstream.override: * gio/goutputstream.override: * gio/unix.override: * gio/gfile.override: * gio/gvolumemonitor.override: * gio/gapplaunchcontext.override: * gio/giomodule.c: * gio/gfileenumerator.override: * gio/pygio-utils.c: * gio/unixmodule.c: * gio/pygio-utils.h: * gio/gicon.override: svn path=/trunk/; revision=1038
* Add g_volume_should_automountGian Mario Tagliaretti2009-03-282-0/+10
| | | | | | | | | 2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gio.defs: Add g_volume_should_automount svn path=/trunk/; revision=1037
* Add gio.Drive in docs.Gian Mario Tagliaretti2009-03-284-0/+557
| | | | | | | | | | | | 2009-03-28 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-drive.xml: Add gio.Drive in docs. svn path=/trunk/; revision=1036
* add a couple of convinence functions to convert from/to a python list andGian Mario Tagliaretti2009-03-289-153/+349
| | | | | | | | | | | | | | | | | | | | | | 2009-03-28 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/pygio-utils.[hc]: (strv_to_pylist) (pylist_to_strv) add a couple of convinence functions to convert from/to a python list and an array of strings. * gio/Makefile.am * gio/gdrive.override: * gio/gio.override: Strip GDrive overrides and wrap g_drive_enumerate_identifiers * tests/test_gio.py: * gio/gvolume.override: wrap g_volume_enumerate_identifiers * gio/gio.defs: add missing g_drive_get_identifier and g_drive_enumerate_identifiers svn path=/trunk/; revision=1035
* Add gio.SimpleAsyncResult in docs.Gian Mario Tagliaretti2009-03-244-1/+328
| | | | | | | | | | | | 2009-03-25 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-simpleasyncresult.xml: Add gio.SimpleAsyncResult in docs. svn path=/trunk/; revision=1034
* Fix the order and a typo.Gian Mario Tagliaretti2009-03-243-2/+7
| | | | | | | | | | 2009-03-24 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/reference/pygio-classes.xml: * docs/reference/pygio-icon.xml: Fix the order and a typo. svn path=/trunk/; revision=1033
* Add gio.AsyncResult in docs.Gian Mario Tagliaretti2009-03-244-0/+126
| | | | | | | | | | | 2009-03-24 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-asyncresult.xml: Add gio.AsyncResult in docs. svn path=/trunk/; revision=1032
* Add gio.AppInfo and gio.FileAttributeInfo in docs.Gian Mario Tagliaretti2009-03-246-3/+952
| | | | | | | | | | | | | | 2009-03-24 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-appinfo.xml: * docs/reference/pygio-constants.xml: * docs/reference/pygio-fileattributeinfo.xml: Add gio.AppInfo and gio.FileAttributeInfo in docs. svn path=/trunk/; revision=1031
* Bug 559001 – Allow setting pytype wrapper classmarklee2009-03-223-1/+53
| | | | | | | | | | | | initial patch by: John Ehresman <jpe@wingware.com> * gobject/pygtype.c (_wrap_g_type_wrapper__set_pytype): New function. * tests/test_gtype.py (GTypeTest.assertPyType), (GTypeTest.setInvalidPyType), (GTypeTest.testPyType), (GTypeTest.testInvalidPyType): Two new testcases to test the above, with accompanying helper methods. svn path=/trunk/; revision=1030
* Add gio.FileIcon and gio.FileEnumerator in docs.Gian Mario Tagliaretti2009-03-228-7/+834
| | | | | | | | | | | | | | | | | | 2009-03-22 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-fileicon.xml: * docs/reference/pygio-fileenumerator.xml: Add gio.FileIcon and gio.FileEnumerator in docs. * docs/reference/pygio-constants.xml: Add gio.ERROR_* constants. * docs/reference/pygio-applaunchcontext.xml: * docs/reference/pygio-emblemedicon.xml: Fix a couple of typos. svn path=/trunk/; revision=1029
* Add g_file_enumerator_get_container, new in 2.18Gian Mario Tagliaretti2009-03-222-0/+13
| | | | | | | | | 2009-03-22 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gio.defs: Add g_file_enumerator_get_container, new in 2.18 svn path=/trunk/; revision=1028
* gio/gfileenumerator.override (_wrap_g_file_enumerator_close_async) wrapGian Mario Tagliaretti2009-03-223-0/+69
| | | | | | | | | | | | | 2009-03-22 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gfileenumerator.override (_wrap_g_file_enumerator_close_async) wrap new method. * tests/test_gio.py (TestGFileEnumerator.testCloseFilesAsync): Test the above. svn path=/trunk/; revision=1027
* Create a dedicated Changelog for the docs and move the latest entries inGian Mario Tagliaretti2009-03-097-34/+348
| | | | | | | | | | | | | | | | | | | 2009-03-09 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/reference/Changelog: Create a dedicated Changelog for the docs and move the latest entries in there. 2009-03-09 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-emblemedicon.xml: * docs/reference/pygio-icon.xml: * docs/reference/pygio-emblem.xml: Add gio.EmblemedIcon and gio.Icon in docs, fix a couple of typos. svn path=/trunk/; revision=1026
* Add gio.Emblem and constants in docs.Gian Mario Tagliaretti2009-03-095-2/+248
| | | | | | | | | | | | 2009-03-09 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygio-constants.xml: * docs/reference/pygio-emblem.xml: Add gio.Emblem and constants in docs. svn path=/trunk/; revision=1025
* Complete cancellable docs.Gian Mario Tagliaretti2009-03-083-0/+137
| | | | | | | | | | 2009-03-08 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/reference/pygio-classes.xml: * docs/reference/pygio-cancellable.xml: Complete cancellable docs. svn path=/trunk/; revision=1024
* Add few gio classes.Gian Mario Tagliaretti2009-03-086-1/+379
| | | | | | | | | | | | | 2009-03-08 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pygio-classes.xml: * docs/reference/pygobject-ref.xml: * docs/reference/pygio-applaunchcontext.xml: * docs/reference/pygio-cancellable.xml: Add few gio classes. svn path=/trunk/; revision=1023
* add g_cancellable_make_pollfdGian Mario Tagliaretti2009-03-082-0/+13
| | | | | | | | | 2009-03-08 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gio.defs: add g_cancellable_make_pollfd svn path=/trunk/; revision=1022
* docs/reference/pyglib-classes.xml docs/reference/pygobject-ref.xml SplitGian Mario Tagliaretti2009-03-085-6/+26
| | | | | | | | | | | | | 2009-03-08 Gian Mario Tagliaretti <gianmt@gnome.org> * docs/Makefile.am: * docs/reference/pyglib-classes.xml * docs/reference/pygobject-ref.xml * docs/reference/pygobject-classes.xml: Split glib and gobject doc sections. svn path=/trunk/; revision=1021
* pull in changes from pygtk (updating license header from GPL to LGPL).James Henstridge2009-02-202-9/+14
| | | | | | | | | 2009-02-20 James Henstridge <james@jamesh.id.au> * ltihooks.py: pull in changes from pygtk (updating license header from GPL to LGPL). svn path=/trunk/; revision=1012
* Change comment to avoid false positives when grep'ing for deprecated gtkAndre Klapper2009-02-182-1/+7
| | | | | | | | | | | 2009-02-18 Andre Klapper <a9016009@gmx.de> * gobject/pygobject.h: Change comment to avoid false positives when grep'ing for deprecated gtk functions svn path=/trunk/; revision=1011
* Bug 556250 again. I screwed up and gave misinformation about how to fixGustavo J. A. M. Carneiro2009-02-174-18/+26
| | | | | | | | | | * gio/gfile.override, gio/gio.defs, gio/gio.override: Bug 556250 again. I screwed up and gave misinformation about how to fix it. It must be pyg_begin/end_allow_threads, pyg_block/unblock_threads is only to be used for async callbacks. svn path=/trunk/; revision=1005
* release the thread lock on non-async functions.Gian Mario Tagliaretti2009-02-164-0/+61
| | | | svn path=/trunk/; revision=1004
* Add 2.18 gio API.Gian Mario Tagliaretti2009-02-104-0/+244
| | | | svn path=/trunk/; revision=1003
* huge patch to fix memory leaks all over the place, fixes #568427Gian Mario Tagliaretti2009-02-088-21/+301
| | | | svn path=/trunk/; revision=1002
* :write_enum_defs(): Prevent an exception when the prefix is empty.Murray Cumming2009-02-062-1/+6
| | | | | | | | | 2009-02-06 Murray Cumming <murrayc@murrayc.com> * codegen/h2def.py DefsWriter::write_enum_defs(): Prevent an exception when the prefix is empty. svn path=/trunk/; revision=1001
* Bug 569350 – Inconsistent use of tabs and spaces in pygtk.pyPaul Pogonyshev2009-01-292-3/+9
| | | | | | | | | | 2009-01-29 Paul Pogonyshev <pogonyshev@gmx.net> Bug 569350 – Inconsistent use of tabs and spaces in pygtk.py * pygtk.py: Replace all tabs with spaces. svn path=/trunk/; revision=1000
* Bug 567792 – gio.InputStream.read_async can cause memory corruptionPaul Pogonyshev2009-01-293-94/+96
| | | | | | | | | | | | | | | | | | | | | | | 2009-01-29 Paul Pogonyshev <pogonyshev@gmx.net> Bug 567792 – gio.InputStream.read_async can cause memory corruption * gio/gio.override (py_decref_callback): Remove (unused now). (pygio_notify_allocate_buffer, pygio_notify_attach_to_result) (pygio_notify_get_attached): New functions. (async_result_callback_marshal): Attach to the result object if asked and then don't free self. Fix reference leak (spotted by Gustavo). * gio/ginputstream.override (async_result_callback_marshal_read): Remove. Use new attachment functionality in async_result_callback_marshal() instead. (_wrap_g_input_stream_read_async): Use the new functions (also those mentioned in the cleanup log below). (_wrap_g_input_stream_read_finish): Use the new functions. svn path=/trunk/; revision=999
* Do not escape the ampersand "&" in entity references (bug #568485).Daniel Elstner2009-01-272-7/+18
| | | | | | | | * codegen/docextract_to_xml.py (escape_text): Do not escape the ampersand "&" in entity references (bug #568485). Replace some unusual entity references in the output with their literal values. svn path=/trunk/; revision=998
* Bug 566571 – gtk.Buildable interface method override is not recognizedPaul Pogonyshev2009-01-143-100/+106
| | | | | | | | | | | | | | | | 2009-01-14 Paul Pogonyshev <pogonyshev@gmx.net> Bug 566571 – gtk.Buildable interface method override is not recognized * gobject/gobjectmodule.c (pyg_type_add_interfaces): New function, break out code repetition out of pyg_type_register(). * tests/test_subtype.py (TestSubType.test_gtk_buildable_virtual_method): New test case (inactive). svn path=/trunk/; revision=997
* Bug 566706 – cleanup GIO overridesPaul Pogonyshev2009-01-149-414/+455
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-14 Paul Pogonyshev <pogonyshev@gmx.net> Bug 566706 – cleanup GIO overrides * gio/gio.override (pygio_notify_new) (pygio_notify_using_optional_callback) (pygio_notify_callback_is_valid_full) (pygio_notify_callback_is_valid) (pygio_notify_reference_callback): New functions. (pygio_notify_free): Rename from pygio_free_notify() and extend. (async_result_callback_marshal): Warn if new `referenced' field is not set (programming error). (_wrap_g_drive_eject, _wrap_g_drive_poll_for_media) (_wrap_g_mount_unmount, _wrap_g_mount_eject) (_wrap_g_mount_remount): Lots of cleanup: use new functions instead of repeating code, unify and fix error handling. * gio/gfile.override (_wrap_g_file_read_async) (_wrap_g_file_load_contents_async) (_wrap_g_file_enumerate_children_async) (_wrap_g_file_mount_mountable, _wrap_g_file_unmount_mountable) (_wrap_g_file_mount_enclosing_volume, _wrap_g_file_copy) (_wrap_g_file_copy_async, _wrap_g_file_move) (_wrap_g_file_append_to_async, _wrap_g_file_create_async) (_wrap_g_file_replace_async, _wrap_g_file_query_info_async) (_wrap_g_file_replace_contents_async): Similar cleanup. * gio/gfileenumerator.override (_wrap_g_file_enumerator_next_files_async): Similar cleanup. * gio/gicon.override (_wrap_g_loadable_icon_load_async): Similar cleanup. * gio/ginputstream.override (_wrap_g_input_stream_close_async): Similar cleanup. * gio/goutputstream.override (_wrap_g_output_stream_write_async) (_wrap_g_output_stream_close_async): Similar cleanup. * gio/gvolume.override (_wrap_g_volume_mount) (_wrap_g_volume_eject): Similar cleanup. * tests/test_gio.py (TestFile.test_copy_async): Fix the test. svn path=/trunk/; revision=996
* Add a comment explaining why the two for loops for registering interfaces.Gustavo J. A. M. Carneiro2009-01-092-0/+34
| | | | | | | | * gobject/gobjectmodule.c (pyg_type_register): Add a comment explaining why the two for loops for registering interfaces. svn path=/trunk/; revision=995
* Bug 566744 – _wrap_g_input_stream_read_async() argument parsing hasPaul Pogonyshev2009-01-072-1/+9
| | | | | | | | | | | | 2009-01-07 Paul Pogonyshev <pogonyshev@gmx.net> Bug 566744 – _wrap_g_input_stream_read_async() argument parsing has incorrect keyword args * gio/ginputstream.override (_wrap_g_input_stream_read_async): Fix keyword list to be in sync with positional arguments. svn path=/trunk/; revision=994
* Bad -I ordering can break build fixes #566737Gian Mario Tagliaretti2009-01-065-8/+18
| | | | svn path=/trunk/; revision=993
* Define methods.Mads Chr. Olesen2009-01-044-0/+157
| | | | | | | | | | | | | 2009-01-04 Mads Chr. Olesen <gnome-bugzilla@shiyee.dk> * gio/gio.defs (gio.File.copy_async, gio.File.copy_finish): Define methods. * gio/gfile.override (_wrap_g_file_copy_async): New function. * tests/test_gio.py (TestFile.test_copy_async): Test the methods. svn path=/trunk/; revision=990
* Bug 563714 – GNOME Goal: Clean up GLib and GTK+ includesPrzemysław Grzegorczyk2009-01-043-2/+9
| | | | | | | | | | | 2009-01-04 Przemysław Grzegorczyk <pgrzegorczyk@gmail.com> Bug 563714 – GNOME Goal: Clean up GLib and GTK+ includes * gobject/generate-constants.c: * glib/pygspawn.c: Only include toplevel <glib.h>. svn path=/trunk/; revision=989