head 1.4; access; symbols pkgsrc-2017Q4:1.3.0.54 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.52 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.48 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.46 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.44 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.42 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.40 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.38 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.36 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.34 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.32 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.30 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.28 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.26 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.24 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.22 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.20 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.18 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.16 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.14 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.12 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.10 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.8 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.6 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.2 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q1:1.1.0.2 pkgsrc-2009Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2018.01.23.11.23.13; author adam; state dead; branches; next 1.3; commitid L6x6qUI1qnVEwZnA; 1.3 date 2011.09.14.16.53.38; author hans; state Exp; branches; next 1.2; 1.2 date 2009.06.09.13.25.02; author wiz; state dead; branches; next 1.1; 1.1 date 2009.01.20.17.13.30; author sketch; state Exp; branches; next ; desc @@ 1.4 log @py-gobject: updated to 2.28.7 2.28.7: - Move property and signal creation into _class_init() - gio-types.defs: change some enums to flags - Fix set_qdata warning on accessing NULL gobject property - Disable introspection support by default - Don't install codegen for Python 3 - Ship tests/te_ST@@nouppera in release tarballs for tests to succeed - [gi] Port test_properties from static gio to GI Gio - [python3] fix build. PYcairo_IMPORT doesn't exists anymore - [python3] Fix maketrans import - [gi-overrides] fix MessageBox so it correctly handles the type constructor param - gdbus tests: Fix hang if test case fails - Fix crash in Gtk.TextIter overrides - correctly initialize the _gi_cairo_functions array to be zero filled - [gtk-override] print warning if user imports Gtk 2.0 - Add support for enums in gobject.property @ text @$NetBSD: patch-ad,v 1.3 2011/09/14 16:53:38 hans Exp $ --- gi/gimodule.c.orig 2011-04-18 17:35:33.000000000 +0200 +++ gi/gimodule.c 2011-09-07 13:02:33.039179462 +0200 @@@@ -62,6 +62,7 @@@@ _wrap_pyg_enum_register_new_gtype_and_ad GEnumValue *g_enum_values; GType g_type; const gchar *type_name; + int i; if (!PyArg_ParseTupleAndKeywords (args, kwargs, "O:enum_add_make_new_gtype", @@@@ -79,7 +80,7 @@@@ _wrap_pyg_enum_register_new_gtype_and_ad n_values = g_enum_info_get_n_values (info); g_enum_values = g_new0 (GEnumValue, n_values + 1); - for (int i=0; i < n_values; i++) { + for (i=0; i < n_values; i++) { GIValueInfo *value_info; GEnumValue *enum_value; const gchar *name; @@@@ -149,6 +150,7 @@@@ _wrap_pyg_flags_register_new_gtype_and_a GFlagsValue *g_flags_values; GType g_type; const gchar *type_name; + int i; if (!PyArg_ParseTupleAndKeywords (args, kwargs, "O:flags_add_make_new_gtype", @@@@ -166,7 +168,7 @@@@ _wrap_pyg_flags_register_new_gtype_and_a n_values = g_enum_info_get_n_values (info); g_flags_values = g_new0 (GFlagsValue, n_values + 1); - for (int i=0; i < n_values; i++) { + for (i=0; i < n_values; i++) { GIValueInfo *value_info; GFlagsValue *flags_value; const gchar *name; @ 1.3 log @Fix build on SunOS. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 2.18.0: 2.18.0 24-may-2009 - Improve gio docs with some more classes (Gian) - Wrap gio.OutputStream.splice_async() (Gian) - Add Python ver into installed libpyglib name (Emilio Pozuelo Monfort) - Wrap gio.OutputStream.flush_async() (Gian) - Use 'Requires.private' for libffi in '.pc' files (Josselin Mouette) - Add wrapper for gio.FileAttributeMatcher (Gian) - Mark relevant glib.IOChannel methods as METH_NOARGS (Paul) - Retire hand-written ChangeLog; autocreate from Git history (Paul) - Wrap gio.InputStream.skip_async() (Gian) - Add in codegen -n --namespace option and the code to remove dll API in headers, added documentation (Siavash Safi) - Properly mark glib.get_user_special_dir() as a keywords method (Paul) 2.17.0 30-apr-2009 - Write a good part of the docs for gio (Gian) - Wrap g_mount_guess_content_type g_mount_guess_content_type_finish g_mount_guess_content_type_sync (Gian, #580802) - Swap first two arguments of gio.File.query_info_async (Paul, #580490) - Fix a crash in pyg_type_add_interfaces (Paul, #566571) - Remove an empty structure, use sizeof(PyObject) instead (Paul, #560591) - Wrap four g_get_user_*_dir() functions (Paul, #575999) - Remove 'ltihooks.py' as using deprecated Python module (Paul) - Code maintenance: add .gitignore files (Paul) - CellRendererPixbuf stock-size property has wrong type (Paul, #568499) - Add a doap file after git migration (Johan Dahlin) - missing dep on libffi in pygobject-2.0.pc (Götz Waschk, #550231) - g_volume_monitor_tp_new new function, return the singleton object. (Paul, #555613) - Remove a DeprecationWarning under python 2.6 (James Westby, #573753) - several scripts from codegen directory are not distributed (Krzesimir Nowak) - g_file_copy_async change argument order to keep it consistent with the other methods (Gian) - memory leak in gio.File.copy_async (Paul Pogonyshev, #578870) - g_file_monitor should accept None for cancellable and set the default flag to G_FILE_MONITOR_NONE (Gian) - pyg_notify_free needs to ensure it has GIL before calling Py_XDECREF (Jonathan Matthew) - Wrap g_file_set_display_name_async (Gian) - Add a semi-private method to return the option context C object from an option context wrapper (Tristan Hill) - Converting a negative long Python value to a GUINT64 GValue doesn't error out as it should (Gustavo J. A. M. Carneiro, #577999) - Wrap g_file_set_attributes_async and g_file_set_attributes_finish (Gian) - g_file_query_filesystem_info_async fix a typo (Gian) - Wrap g_file_query_filesystem_info_async (Gian) - Add missing g_file_query_filesystem_info_async and g_file_query_filesystem_info_finish (Gian) - Wrap g_file_eject_mountable (Gian) - g_file_copy callback cannot be optional (Gian) - Swap various kwargs names to reflect the code (Gian) - Update the address of the FSF (Tobias Mueller, #577134) - Add g_volume_should_automount (Gian) - Wrap g_drive_enumerate_identifiers and g_volume_enumerate_identifiers (Gian) - Add a couple of convinence functions to convert from/to a python list and an array of strings (Gian) - Allow setting pytype wrapper class (Mark Lee, John Ehresman, #559001) - Wrap g_file_enumerator_close_async (Gian Mario Tagliaretti) @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2009/01/20 17:13:30 sketch Exp $ d3 7 a9 5 --- gobject/pygobject.c.orig Tue Jan 20 17:08:43 2009 +++ gobject/pygobject.c Tue Jan 20 17:10:08 2009 @@@@ -419,7 +419,7 @@@@ 0 }; d11 5 a15 3 -struct empty {} _empty; +struct empty {char notreally;} _empty; PYGLIB_DEFINE_TYPE("gobject.GPropsDescr", PyGPropsDescr_Type, _empty); d17 22 a38 1 static PyObject * @ 1.1 log @Avoid zero-sized struct. @ text @d1 1 a1 1 $NetBSD$ @