| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-06 Johan Dahlin <johan@gnome.org>
* gio/gfile.override:
* gio/gio.defs:
Move the progress callback for move/copy so it's consistent with
the documentation and positional arguments. Update documentation as well
svn path=/trunk/; revision=928
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-06 Johan Dahlin <johan@gnome.org>
* glib/pyglib.c (pyglib_enable_threads):
* gobject/gobjectmodule.c (pyg_threads_init),
(pygobject_enable_threads):
Add a pygobject_enable_threads wrapper around pyglib_threads_enable
and return 0/-1 which existing gobject based applications expect.
svn path=/trunk/; revision=927
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-06 Johan Dahlin <johan@gnome.org>
* glib/pyglib.c (pyglib_init):
return in case of error instead of trying to access the internal
types.
svn path=/trunk/; revision=926
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
* gio/gio.override: Add 'pygio_do_icon_richcompare' prototype to
header.
(_wrap_g_file_icon_tp_repr, _wrap_g_themed_icon_tp_repr): Fix
return value type in signature.
svn path=/trunk/; revision=925
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-05 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 546135 – GIcon and implementations improvements
* gio/gio-types.defs (FileIcon): New 'define-object'.
* gio/gio.override (pygio_do_icon_richcompare)
(_wrap_g_icon_tp_richcompare, _wrap_g_icon_tp_hash)
(_wrap_g_file_icon_tp_richcompare, _wrap_g_file_icon_tp_hash)
(_wrap_g_file_icon_tp_repr, _wrap_g_themed_icon_tp_richcompare)
(_wrap_g_themed_icon_tp_hash, _wrap_g_themed_icon_tp_repr): New
functions.
svn path=/trunk/; revision=924
|
|
|
|
| |
svn path=/trunk/; revision=923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-03 Paul Pogonyshev <pogonyshev@gmx.net>
* glib/pyglib.h:
* glib/pyglib.c (pyglib_enable_threads): Change return value from
'gboolean' to 'int' and changed semantics to Pythonic: restores
backwards compatibility.
* gobject/gobjectmodule.c (pyg_threads_init): Treat return value
accordingly (bug #544946).
svn path=/trunk/; revision=922
|
|
|
|
| |
svn path=/trunk/; revision=921
|
|
|
|
| |
svn path=/trunk/; revision=920
|
|
|
|
| |
svn path=/trunk/; revision=919
|
|
|
|
| |
svn path=/trunk/; revision=918
|
|
|
|
| |
svn path=/trunk/; revision=917
|
|
|
|
| |
svn path=/trunk/; revision=916
|
|
|
|
| |
svn path=/trunk/; revision=915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* codegen/docgen.py:
Remove SGML support, require python 2.4, modernize,
PEP-8ify. Make it run on gio.
* codegen/definitions.py:
Make property iterable
* gio/gio.defs:
Include the gio-types.defs file.
svn path=/trunk/; revision=914
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* glib/glibmodule.c (pyglib_set_prgname):
* glib/pygoptioncontext.c (pyg_option_context_init),
(pyg_option_context_set_help_enabled),
(pyg_option_context_set_ignore_unknown_options),
(pyg_option_context_set_main_group),
(pyg_option_context_add_group):
* glib/pygoptiongroup.c (arg_func), (pyg_option_group_add_entries),
(pyg_option_group_set_translation_domain),
(pyg_option_group_compare), (pyglib_option_group_register_types):
Fix compilation warnings, clean up style and indentation.
svn path=/trunk/; revision=913
|
|
|
|
| |
svn path=/trunk/; revision=912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* gio/gfileinfo.override:
* gio/gio.override:
* glib/glibmodule.c (pyglib_get_current_time):
* glib/pyglib.c (pyglib_float_from_timeval):
* glib/pyglib.h:
Add pyglib_float_from_timeval and use it
svn path=/trunk/; revision=911
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* docs/Makefile.am:
* docs/reference/pyglib-constants.xml:
* docs/reference/pyglib-functions.xml:
* docs/reference/pyglib-maincontext.xml:
* docs/reference/pyglib-mainloop.xml:
* docs/reference/pygobject-classes.xml:
* docs/reference/pygobject-constants.xml:
* docs/reference/pygobject-functions.xml:
* docs/reference/pygobject-maincontext.xml:
* docs/reference/pygobject-mainloop.xml:
Separate the glib and gobject bindings in the manual.
svn path=/trunk/; revision=910
|
|
|
|
| |
svn path=/trunk/; revision=909
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* gio/gio.defs:
* gio/gfile.override:
* tests/test_gio.py:
Wrap gio.File.move
svn path=/trunk/; revision=908
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* gio/Makefile.am:
* gio/gfile.override:
* gio/gio.defs:
* gio/gio.override:
* gio/gvolume.override:
Wrap gio.Volume.mount and gio.Volume.eject
svn path=/trunk/; revision=907
|
|
|
|
| |
svn path=/trunk/; revision=906
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-01 Johan Dahlin <johan@gnome.org>
Bug 545861 – g_file_info_get_modification_time is missing
* gio/gfileinfo.override:
* gio/gio.defs:
* tests/test_gio.py:
Wrap, add test and documentation
svn path=/trunk/; revision=905
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-01 Johan Dahlin <johan@gnome.org>
Bug 545846 – g_vfs_get_supported_uri_schemes is missing
* gio/gio.defs:
* gio/gio.override:
* tests/test_gio.py:
Wrap, add test and documentation
svn path=/trunk/; revision=904
|
|
|
|
|
|
|
|
|
|
| |
2008-08-01 Johan Dahlin <johan@gnome.org>
* glib/glibmodule.c (pyglib_set_application_name):
Use %r instead of %s, this is not python!
svn path=/trunk/; revision=903
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-31 Johan Dahlin <johan@gnome.org>
* glib/glibmodule.c (pyglib_set_prgname)
(pyglib_set_application_name): Use METH_O instead of METH_VARARGS.
(_glib_functions): Add doc strings for idle_add, timeout_add,
timeout_add_seconds, io_add_watch, child_watch_add, source_remove,
main_depth and main_context_default.
svn path=/trunk/; revision=902
|
|
|
|
|
|
| |
g_file_query_settable_attributes methods.
svn path=/trunk/; revision=901
|
|
|
|
| |
svn path=/trunk/; revision=900
|
|
|
|
| |
svn path=/trunk/; revision=899
|
|
|
|
|
|
| |
g_app_launch_context_get_display and g_app_launch_context_get_startup_notify_id
svn path=/trunk/; revision=898
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-29 Johan Dahlin <johan@gnome.org>
* examples/gio/downloader.py:
* gio/giomodule.c (init_gio):
Add gio.FILE_ATTRIBUTE_* constants and update the examples to use them.
svn path=/trunk/; revision=897
|
|
|
|
| |
svn path=/trunk/; revision=896
|
|
|
|
| |
svn path=/trunk/; revision=895
|
|
|
|
|
|
| |
reuse it in a real application
svn path=/trunk/; revision=894
|
|
|
|
| |
svn path=/trunk/; revision=893
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-29 Johan Dahlin <johan@gnome.org>
* examples/gio/downloader.py:
Add a new example
* gio/ginputstream.override:
Use a string internally instead of a PyStringObject when
in read_async. Create a new python string in finish and
honor the number of bytes read.
svn path=/trunk/; revision=892
|
|
|
|
| |
svn path=/trunk/; revision=891
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-28 Johan Dahlin <johan@gnome.org>
* glib/pyglib-python-compat.h:
* gobject/pygobject-private.h:
Move all compatibility into the same place, fixes build
on python 2.4.
svn path=/trunk/; revision=890
|
|
|
|
| |
svn path=/trunk/; revision=889
|
|
|
|
| |
svn path=/trunk/; revision=888
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* glib/option.py:
Remove tabs. Use sys.exc_info()[1] to fetch the exception value
* gobject/__init__.py:
* gobject/propertyhelper.py:
Import gobject._gobject instead of just gobject.
* gobject/Makefile.am:
* gobject/constants.py.in:
* gobject/generate-constants.c (main):
Don't add long suffix if python >= 3.0
svn path=/trunk/; revision=887
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* glib/pyglib-python-compat.h:
* gobject/gobjectmodule.c (pyg_object_new),
(pyg__install_metaclass):
* gobject/pygboxed.c (pyg_boxed_dealloc), (pyg_boxed_init),
(pyg_register_boxed):
* gobject/pygenum.c (pyg_enum_reduce):
* gobject/pyginterface.c (pyg_interface_init),
(pyg_register_interface):
* gobject/pygobject.c (pygobject_get_inst_data),
(pygobject_register_class), (pygobject_new_with_interfaces),
(pygobject_dealloc), (pygobject_repr), (pygobject_emit),
(pygobject_chain_from_overridden), (pygobject_weak_ref_notify):
* gobject/pygparamspec.c (pygobject_paramspec_register_types):
* gobject/pygpointer.c (pyg_pointer_dealloc), (pyg_pointer_init),
(pyg_register_pointer):
* gobject/pygtype.c (pyg_type_from_object),
(pyg_value_array_from_pyobject), (pyg_value_from_pyobject),
(pyg_object_descr_doc_get):
Use the Py_TYPE macro everywhere.
svn path=/trunk/; revision=886
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* glib/pyglib-python-compat.h:
Add a Py_TYPE macro for accessing ob_type.
* glib/glibmodule.c (pyglib_register_constants):
* gobject/gobjectmodule.c (pygobject__g_instance_init),
(pyg_integer_richcompare):
* gobject/pygenum.c (pyg_enum_repr), (pyg_enum_from_gtype),
(pyg_enum_add), (pyg_enum_get_value_name),
(pyg_enum_get_value_nick):
* gobject/pygflags.c (pyg_flags_repr), (pyg_flags_from_gtype),
(pyg_flags_add), (pyg_flags_and), (pyg_flags_or), (pyg_flags_xor),
(pyg_flags_get_first_value_name), (pyg_flags_get_first_value_nick),
(pyg_flags_get_value_names), (pyg_flags_get_value_nicks):
Use Py_TYPE and PyLong macros to access struct fields
svn path=/trunk/; revision=885
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* gobject/gobjectmodule.c (pyg_param_spec_from_object),
(add_properties), (pyg_signal_new), (pyg_signal_list_ids),
(pyg_signal_lookup), (pyg_signal_query):
* gobject/pygenum.c (pyg_enum_richcompare), (pyg_enum_new),
(pyg_enum_from_gtype), (pyg_enum_add), (pyg_enum_reduce),
(pygobject_enum_register_types):
* gobject/pygflags.c (pyg_flags_richcompare), (pyg_flags_new),
(pyg_flags_from_gtype), (pyg_flags_add), (pyg_flags_and),
(pyg_flags_or), (pyg_flags_xor), (pygobject_flags_register_types):
* gobject/pygobject-private.h:
* gobject/pygobject.c (pygobject_disconnect_by_func),
(pygobject_handler_block_by_func),
(pygobject_handler_unblock_by_func), (pygobject_get_refcount):
* gobject/pygparamspec.c (pyg_param_spec_getattr):
* gobject/pygtype.c (_wrap_g_type_wrapper__get_depth),
(pyg_type_from_object), (pyg_enum_get_value),
(pyg_flags_get_value), (pyg_value_from_pyobject),
(pyg_value_as_pyobject):
Use _PyLong macros.
svn path=/trunk/; revision=884
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* gobject/pygboxed.c (pygobject_boxed_register_types):
* gobject/pygenum.c (pygobject_enum_register_types):
* gobject/pygflags.c (pygobject_flags_register_types):
* gobject/pygobject.c (pygobject_object_register_types):
* gobject/pygparamspec.c (pygobject_paramspec_register_types):
* gobject/pygpointer.c (pygobject_pointer_register_types):
* gobject/pygtype.c (pygobject_type_register_types):
Use PYGLIB_DEFINE_TYPE macro and move struct field initialization
to the registration methods.
svn path=/trunk/; revision=883
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* glib/pyglib-python-compat.h:
Add _PyUnicode_Type macro
* gobject/gobjectmodule.c (pyg_type_name), (pyg_type_from_name),
(_pyg_signal_accumulator), (add_signals), (add_properties),
(get_type_name_for_class), (pyg_signal_list_names),
(pyg_signal_name), (pyg_signal_query), (pyg_object_new),
(pyg_add_emission_hook), (pyg_remove_emission_hook):
* gobject/pygboxed.c (pyg_boxed_repr):
* gobject/pygenum.c (pyg_enum_repr), (pyg_enum_add),
(pyg_enum_get_value_name), (pyg_enum_get_value_nick):
* gobject/pygflags.c (pyg_flags_repr), (pyg_flags_add),
(pyg_flags_get_first_value_name), (pyg_flags_get_first_value_nick),
(pyg_flags_get_value_names), (pyg_flags_get_value_nicks):
* gobject/pygobject.c (build_parameter_list), (PyGProps_getattro),
(PyGProps_setattro), (pygobject_register_class), (pygobject_repr),
(pygobject_init), (pygobject_get_properties),
(pygobject_set_properties), (pygobject_connect),
(pygobject_connect_after), (pygobject_connect_object),
(pygobject_connect_object_after), (pygobject_emit),
(pygobject_stop_emission), (pygobject_disconnect_by_func),
(pygobject_handler_block_by_func),
(pygobject_handler_unblock_by_func),
(pygobject_object_register_types):
* gobject/pygparamspec.c (pyg_param_spec_repr),
(pyg_param_spec_getattr):
* gobject/pygpointer.c (pyg_pointer_repr):
* gobject/pygtype.c (pyg_type_wrapper_repr),
(_wrap_g_type_wrapper__get_name), (pyg_type_from_object),
(pyg_enum_get_value), (pyg_flags_get_value),
(pyg_value_from_pyobject), (pyg_value_as_pyobject),
(object_doc_descr_get), (_pyg_strv_from_gvalue),
(_pyg_strv_to_gvalue):
Use _PyUnicode_* macros in the gobject module
svn path=/trunk/; revision=882
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* gobject/Makefile.am:
* gobject/gobjectmodule.c (PYGLIB_MODULE_START):
* gobject/pygobject-private.h:
Use glib macros to define the module, update export regexp.
svn path=/trunk/; revision=881
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* gobject/Makefile.am:
* gobject/gobjectmodule.c (init_gobject):
* gobject/pygboxed.c (pygobject_boxed_register_types):
* gobject/pygboxed.h:
* gobject/pygenum.c (pygobject_enum_register_types):
* gobject/pygenum.h:
* gobject/pygflags.c (pygobject_flags_register_types):
* gobject/pygflags.h:
* gobject/pygpointer.c (pygobject_pointer_register_types):
* gobject/pygpointer.h:
Split out quark and type registration to the respective
implementation source files, add headers.
svn path=/trunk/; revision=880
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-27 Johan Dahlin <johan@gnome.org>
* gobject/Makefile.am:
* gobject/gobjectmodule.c (pygobject_register_api),
(pygobject_register_constants), (pygobject_register_features),
(pygobject_register_version_tuples), (pygobject_register_warnings),
(init_gobject):
* gobject/pygobject-private.h:
* gobject/pygobject.c (pyobject_copy), (pyobject_free),
(pygobject_object_register_types):
* gobject/pygtype.c (_pyg_strv_from_gvalue), (_pyg_strv_to_gvalue),
(pygobject_type_register_types):
* gobject/pygtype.h:
Move off a bit more to separate functions, cleaning up the init_glib
a bit more.
svn path=/trunk/; revision=879
|