summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version bumppygobject-3-32Christoph Reiter2019-06-232-2/+2
|
* release3.32.2Christoph Reiter2019-06-231-0/+8
|
* test_overrides_gtk: be less strict re gtk window heightsChristoph Reiter2019-06-231-5/+1
| | | | | | | This depends on whether CSD is used or not and theme related things. We only know for sure that it's larger than the inlcuded button. Fixes the test suite under wayland.
* setup.py: add python_requiresChristoph Reiter2019-06-161-0/+2
| | | | | | | | | | | It gets used by pip>=9 to decide which version from pypi to install. Which means we can more easily drop older Python versions without having to worry about breaking anyones setup. Sadly our oldest supported system, Ubuntu Xenial, only has pip 8, so it will install the newest version and fail anyway if we drop Python 3.5 support. We can at least point users to update their pip in their virtual environments then. https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
* build: don't use -Wdeclaration-after-statement with Python 3Christoph Reiter2019-06-132-2/+11
| | | | | | | | The headers of Python 3.8 trigger the warning and PEP7 states that Python is depending on this now. As far as I remember this was mostly added to keep the code compatible with ancient py2 MSVC, so only use it with Python 2.
* build: drop some checks for unsupported Python versionsChristoph Reiter2019-06-132-11/+2
|
* Don't use PyTypeObject.tp_print with Python 3Christoph Reiter2019-06-131-1/+4
| | | | | | It was only used with Python 2 and unused/reserved with Python 3. Python 3.8 has renamed the slot and is now using it for something different which breaks our build.
* tests: remove usage of time.clock(), no longer available in py3.8Christoph Reiter2019-06-131-3/+3
|
* CI: disable lcov under MSYS2Christoph Reiter2019-06-071-6/+7
| | | | It doesn't support gcc9 yet
* version bumpChristoph Reiter2019-04-202-2/+2
|
* release3.32.1Christoph Reiter2019-04-201-0/+10
|
* pygi-array: fix leak of transfer-full/container C arrays. Fixes #322Christoph Reiter2019-04-191-1/+1
| | | | | | We did not free the array passed to us after marshalling, only the helper garray. Patch by Tomasz Miąsko
* pygi_error_marshal_to_py: Fix error return handling. Fixes #315Christoph Reiter2019-04-191-14/+13
| | | | | | | | | It returned NULL in case no error was set or if creating the error result failed and this wasn't checked by the callers. Change it to return Py_None in case no error was set and NULL in case of an error. In pygi_error_check() we can't really forward the error, so just print it and raise RuntimeError instead.
* meson: tests: pass --quiet to g-ir-scannerTim-Philipp Müller2019-04-191-1/+2
| | | | | | Suppresses spammy output. We'll still get output for scanner warnings and failures, just don't output anything any longer when everything's fine.
* Add Bool option for testsAdam Duskett2019-04-192-0/+4
| | | | | | Currently, there is no way to prevent tests from building using meson. When cross-compiling, building the tests aren't necessary, and would require gobject-introspection also to be made with tests.
* gimarshallingtestsextra.c/h: relicense to LGPLv2.1+. Fixes #320Christoph Reiter2019-04-122-16/+16
| | | | | | | | These files had contributions from Thibault Saunier, Aurelien Jarno, Mathieu Duponchelle and me. All agreed to provide their contribution under the LGPLv2.1+, see #320 for details. This makes the file licenses match the project license.
* version bumpChristoph Reiter2019-03-102-2/+2
|
* release3.32.0Christoph Reiter2019-03-103-2/+8
|
* version bumpChristoph Reiter2019-03-072-2/+2
|
* release3.31.4Christoph Reiter2019-03-071-0/+8
|
* Add cairo_matrix_t converter to GValue.Renato Florentino Garcia2019-02-222-0/+36
|
* Add Cairo Pattern foreign struct.Renato Florentino Garcia2019-02-214-0/+134
|
* ci: add pypy3.6Christoph Reiter2019-02-192-2/+9
|
* tests: more pygtkcompat coverageChristoph Reiter2019-02-162-22/+104
|
* docs: update travis-ci example to Ubuntu xenialChristoph Reiter2019-02-151-2/+2
| | | | | Real changes here: https://github.com/pygobject/pygobject-travis-ci-examples/commit/6a462f528 This gives us a newer gtk/pygobject so update the version info in the docs.
* docs: document GObject.Object.weak_ref(). Fixes #245Christoph Reiter2019-02-143-1/+28
|
* tests: add tests for GObject.Object.weak_refChristoph Reiter2019-02-141-0/+49
|
* GTK+ -> GTKChristoph Reiter2019-02-1317-47/+47
|
* getting started: add a note for the tutorial and the API referenceChristoph Reiter2019-02-131-0/+5
| | | | | So that there is a clear path on what to do after successfully getting the example app running.
* ci: enable pycairo for PyPyChristoph Reiter2019-02-131-7/+3
| | | | It can use pycairo as a subproject now
* ci: update to PyPy 7.0 and update CPython to the latest stable releasesChristoph Reiter2019-02-135-17/+17
|
* version bumpChristoph Reiter2019-02-022-2/+2
|
* release3.31.3Christoph Reiter2019-02-021-0/+13
|
* ci: add a timeout multiplier for meson testsChristoph Reiter2019-02-011-1/+1
| | | | Sometimes the CI machines are slow
* docs: getting_started: Include instructions for installing with pip. Fixes #297Christoph Reiter2019-01-291-42/+66
| | | | | Installing in a virtualenv is quite common and it's not clear what the build dependencies needed are.
* docs: getting_started: remove all Python 2 related instructionsChristoph Reiter2019-01-291-7/+7
| | | | Everyone should start with Python 3 nowadays.
* gtk: raise in case Gtk.Window is instantiated after init failed. See #298Christoph Reiter2019-01-281-4/+12
| | | | | | | | | gtk crashes if gtk_init() fails and we can't do much about it. This assumes the Gtk.Window() is the first instantiated widget and raises an exception in case init failed. We already had such a check but it was removed in 86a37d67455d for some reason (maybe because it only helps in some cases)
* test_atoms: handle missing axes labels. Fixes #300Christoph Reiter2019-01-281-2/+2
|
* examples: fix new flake8 warningsChristoph Reiter2019-01-272-8/+8
|
* Merge branch 'egg-info' into 'master'Christoph Reiter2019-01-271-1/+1
|\ | | | | | | | | Install .egg-info directory to arch'd dir. See merge request GNOME/pygobject!109
| * Install .egg-info directory to arch'd dir.Elliott Sales de Andrade2019-01-271-1/+1
|/ | | | | All the rest of the Python code ends up in arch'd directories, except for the .egg-info directory, which should do the same.
* tests: don't depend on the order of objects returned by ↵Christoph Reiter2019-01-201-1/+2
| | | | | | Gtk.Builder.get_objects(). Fixes #287 With gnome master things have changed (I assume due to glib hashing changes)
* tests: add a test for stripping return values from event methods. Fixes #85Christoph Reiter2019-01-191-0/+10
| | | | | | | | As pointed out in #85 we don't use strip_boolean_result() for the main Gdk.Event struct while we do for the member structs. But at this point int time I'm afraid that changing it will break existing code, so just add some tests to document the difference and make sure it doesn't change.
* Merge branch 'warn-init-dbus-boxed-info-types' into 'master'Christoph Reiter2019-01-192-9/+83
|\ | | | | | | | | | | | | gio overrides: emit a warning when creating various dbus types without a constructor. Fixes #15 Closes #15 See merge request GNOME/pygobject!107
| * gio overrides: emit a warning when creating various dbus types without a ↵Christoph Reiter2019-01-182-9/+83
| | | | | | | | | | | | | | | | constructor. Fixes #15 We zero slice allocate them and the boxed copy/free functions don't handle that. They just use ref counting which leads to double free because we start with a zero refcount and the free funcs use g_free() while we allocate it with g_slice_alloc().
* | Value.get/set_value: use _gvalue_get/set in more casesChristoph Reiter2019-01-192-99/+184
| | | | | | | | | | | | | | It's a bit faster and is a good chance to make sure both marshalling paths behave the same and add some tests. No functional change intended.
* | Value.set_value: allow None for TYPE_STRINGChristoph Reiter2019-01-192-4/+4
| | | | | | | | set_string() allows it too
* | basic: allow None for boolean parametersChristoph Reiter2019-01-193-2/+10
| | | | | | | | | | It already allows everything which can be passed to bool() except None. I don't see a good reason for that so allow None as well.
* | GObject.Value: add a static helper for fetching the GTypeChristoph Reiter2019-01-184-5/+30
| | | | | | | | | | | | | | | | The field marshalling code is slow and doesn't do any caching at all which in turn makes accessing Value.g_type slow. Add a static helper function for fetching the GType and use that instead. This reduced the time for creating a GValue + setting it by ~30%
* | GObject.Value: a bit more test coverageChristoph Reiter2019-01-181-0/+26
| |