Commit Graph

471 Commits

Author SHA1 Message Date
Christoph Reiter 43b71439fa ci: move the py27 win32 build from appveyor to azure-pipelines 2019-02-24 15:57:52 +01:00
Christoph Reiter a54e7dbcd4 tests: fix a pytest deprecation warning
https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec
2019-02-13 17:02:47 +01:00
Christoph Reiter 56a7bd5b61 meson: install .egg-info to platlib
See https://gitlab.gnome.org/GNOME/pygobject/commit/28132d8111
2019-01-27 10:24:48 +01:00
Christoph Reiter 3c39f6b7a5 getting_started: add Python devel packages to install commands
Otherwise one gets "Python.h: File or folder not found" on install.
2019-01-27 10:17:31 +01:00
Christoph Reiter 91241aff52 docs: getting started: add instructions on how to install pkg-config. See #137 2018-12-08 19:46:50 +01:00
Christoph Reiter 24a0f8cbbe docs: add some instructions for building/installing pycairo. See #136 2018-11-27 16:46:42 +01:00
Christoph Reiter fb102522b7 ci: move vs2017 jobs from appveyor to azure
and clean things up a bit
2018-11-20 17:04:03 +01:00
Christoph Reiter c6821da67d ci: don't fail on codecov errors, it's flaky atm 2018-11-07 20:55:40 +01:00
Christoph Reiter 1d852d8638
Merge pull request #134 from cvtsi2sd/master
Fix typo in context.rst (loosing -> losing)
2018-11-07 17:33:39 +01:00
Matteo Italia 41aea39b09 Fix typo in context.rst (loosing -> losing) 2018-11-07 16:20:52 +01:00
Christoph Reiter 3be0603bf6 version bump 2018-11-04 11:55:34 +01:00
Christoph Reiter c666979e51 release 2018-11-04 11:52:06 +01:00
Christoph Reiter d07aa4e613 docs: add CAIRO_VERSION_STRING 2018-11-04 11:49:51 +01:00
Christoph Reiter 416d4b97c7 build: drop Python 3.3 support
It might still work, but we don't test it any longer.
2018-11-04 11:18:47 +01:00
Christoph Reiter d879361d67 meson: use new copy arg for configure_file and require meson 0.47 2018-11-04 11:00:27 +01:00
Christoph Reiter 025ed8278f Expose compile-time version macros 2018-11-04 10:16:42 +01:00
Christoph Reiter e79dea507e
Merge pull request #127 from mgorny/pkgconfig-install-dir
setup.py: Support overriding pkg-config install directory
2018-11-03 10:39:01 +01:00
Christoph Reiter d9aa39256f
Merge pull request #130 from pygobject/cairo-1.16-api
Add new cairo 1.16 API
2018-11-03 10:27:54 +01:00
Michał Górny 430c6ffb65 setup.py: Support specifying custom --pkgconfigdir
Support overriding --pkgconfigdir for whenever the autodetection
gives incorrect result (e.g. PyPy).  Fixes #119.
2018-11-02 16:48:57 +01:00
Christoph Reiter 7473215210 Add new cairo 1.16 API
Plus some mime type constants from 1.14 which I forgot.

All the API is only exposed when building with cairo 1.15.10+ (Ubuntu 18.04)
except the font variation stuff which is 1.15.12+ (Ubuntu 18.10)
2018-11-02 15:03:04 +01:00
Christoph Reiter 425ec3094e docs: use python3 for building; reference the latest 2/3 docs instead of specific versions 2018-11-02 12:50:23 +01:00
Christoph Reiter c89635f4f0 travis: switch to the xcode9.4 image, homebrew Python is broken on the older one 2018-11-02 09:45:03 +01:00
Christoph Reiter 8bdd928dfa surface: fix wrong argument type name
Both types are the same so this doesn't make a difference.
2018-11-01 13:54:02 +01:00
Christoph Reiter ec7006268f ci: make ci fail if the msvc build fails. Fixes #122 2018-10-02 00:58:48 +02:00
Christoph Reiter d02631ed31 ci: move msys2 builds to azure 2018-10-02 00:25:15 +02:00
Christoph Reiter 8ff6525a38 azure: rename, it doesn't detect it.. 2018-10-01 23:22:12 +02:00
Christoph Reiter be1f0be034 Add a basic azure pipelines config 2018-10-01 23:17:49 +02:00
Christoph Reiter 278671c398
Merge pull request #126 from lazka/typing-ctx-manager
typing: add annotations for __enter__/__exit__. Fixes #125
2018-09-30 16:41:48 +02:00
Christoph Reiter c969d76970 typing: add annotations for __enter__/__exit__. Fixes #125 2018-09-30 15:07:06 +02:00
Christoph Reiter dc601544c9 appveyor: pass --force when updating msys2
To avoid file conflict errors
2018-09-30 15:06:04 +02:00
Christoph Reiter 08e271372a
Merge pull request #124 from nikolas/patch-1
docs: Remove broken link to hamster library
2018-09-29 09:43:24 +02:00
nikolas abdd40a8e0
docs: Remove broken link to hamster library
I can't find any active link for this library, and it looks like the tbaugis github user isn't around anymore, so I'm just removing this.
2018-09-28 16:14:39 -04:00
Christoph Reiter 337f4020a2
Merge pull request #121 from fanc999/pycairo.msvc
meson builds: Improve support for Visual Studio builds
2018-09-27 10:30:32 +02:00
Chun-wei Fan 706924b851 cairo/surface.c: Silence MSVC compiler warnings
Use the macros we just added in private.h to temporarily disable
and to re-enable deprecation warnings.  This will silence C4068 warnings
on Visual Studio builds, and achive the same effect as the existing
GCC-specific #pragma directives.
2018-09-27 13:23:23 +08:00
Chun-wei Fan 1da7ee8b60 cairo/private.h: Add macro for controlling deprecation warnings
Define macros that are used to disable temporarily and re-enable
deprecation warnings, for both GCC and Visual Studio
2018-09-27 13:21:23 +08:00
Chun-wei Fan aedda1f364 meson builds: Improve support Visual Studio builds
Check for the Cairo headers and libraries manually if Cairo's pkg-config
files cannot be found for Visual Studio builds, and just force-include
msvc_recommended_pragmas.h instead of checking for the gcc/CLang-
specific CFlags when we are building on Visual Studio, as
msvc_recommended_pragmas.h should cover the compile-time checks that we
want to look out for during the build.
2018-09-26 18:07:45 +08:00
Christoph Reiter 1f9f0a4af8
Merge pull request #120 from pygobject/meson-dont-link-libpython
meson: Don't link against libpython on non-Windows systems
2018-09-07 11:08:43 +02:00
Christoph Reiter 9f09c90f69 meson: Don't link against libpython on non-Windows systems
see https://github.com/mesonbuild/meson/issues/4117
2018-09-07 10:27:23 +02:00
Christoph Reiter 754069bd1d build: work around new gcc8 warnings re function casts 2018-07-20 07:51:08 +02:00
Christoph Reiter 4958f3d778 version bump 2018-07-07 18:05:52 +02:00
Christoph Reiter df9b51e344 release 2018-07-07 18:04:39 +02:00
Christoph Reiter a10af0bb9f travis-ci: add Python 3.7, drop 3.3 2018-07-07 16:33:50 +02:00
Christoph Reiter 7328cb9882 meson: install an .egg-info file 2018-06-24 15:00:07 +02:00
Christoph Reiter 9d88806bc9 meson: add a pycairo_dep dependency object
So it can be used as a subproject
2018-06-23 22:22:58 +02:00
Christoph Reiter 6a8f727e34
Merge pull request #115 from lazka/meson
meson support
2018-06-23 21:34:16 +02:00
Christoph Reiter f3342173c1 meson support. Fixes #114 2018-06-23 21:31:31 +02:00
Christoph Reiter b61e3c7704 version bump 2018-04-15 12:18:55 +02:00
Christoph Reiter 910ee82a5c release 2018-04-15 12:15:22 +02:00
Christoph Reiter 064571b9dd update .gitignore 2018-04-15 12:14:59 +02:00
Christoph Reiter 2131602d7e setup.py: default to setuptools 2018-04-15 11:10:21 +02:00