[pypy-commit] cffi default: Merged in vyskocilm/cffi (pull request #80)

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r3204:b21780fe49f6 Date: 2019-01-31 09:26 + http://bitbucket.org/cffi/cffi/changeset/b21780fe49f6/ Log:Merged in vyskocilm/cffi (pull request #80) Passing of proper CFLAGS/CXXFLAGS/LDFLAGS is hard and error prone diff --git a/cffi/api.py b/

[pypy-commit] cffi default: Passing of proper CFLAGS/CXXFLAGS/LDFLAGS is hard and error prone

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3189:4e8e9cab26fd Date: 2017-05-22 23:49 +0200 http://bitbucket.org/cffi/cffi/changeset/4e8e9cab26fd/ Log:Passing of proper CFLAGS/CXXFLAGS/LDFLAGS is hard and error prone Add pkg-config wrapper, which is the cross-platform tool telling

[pypy-commit] cffi default: Increase testing coverage and refactor method names

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3195:09ffc07bbde2 Date: 2019-01-08 08:32 +0100 http://bitbucket.org/cffi/cffi/changeset/09ffc07bbde2/ Log:Increase testing coverage and refactor method names Making `pkgconfig.call` function accessible, tests can monkey patch it an

[pypy-commit] cffi default: drop debug print

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3192:e23bbddde57b Date: 2017-05-25 09:26 +0200 http://bitbucket.org/cffi/cffi/changeset/e23bbddde57b/ Log:drop debug print diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -623,7 +623,6 @@ del kwds

[pypy-commit] cffi default: can't link with libraries expects -pthreads or similar flags

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3191:c195b130abef Date: 2017-05-25 09:25 +0200 http://bitbucket.org/cffi/cffi/changeset/c195b130abef/ Log:can't link with libraries expects -pthreads or similar flags read extra_compile_args and extra_link_args fom pkg-config too diff --g

[pypy-commit] cffi default: Improve documentation of pkgconfig_kwargs

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3190:47a70ef16876 Date: 2017-05-25 09:14 +0200 http://bitbucket.org/cffi/cffi/changeset/47a70ef16876/ Log:Improve documentation of pkgconfig_kwargs diff --git a/cffi/pkgconfig.py b/cffi/pkgconfig.py --- a/cffi/pkgconfig.py +++ b/cffi/pkgconfig.py

[pypy-commit] cffi default: add test for pkg-config integration

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3193:95044035f313 Date: 2017-05-25 10:00 +0200 http://bitbucket.org/cffi/cffi/changeset/95044035f313/ Log:add test for pkg-config integration diff --git a/testing/cffi1/test_pkgconfig.py b/testing/cffi1/test_pkgconfig.py new file mode 100644 --- /

[pypy-commit] cffi default: Reduce number of exceptions

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3203:703ab36069d0 Date: 2019-01-11 22:38 +0100 http://bitbucket.org/cffi/cffi/changeset/703ab36069d0/ Log:Reduce number of exceptions diff --git a/cffi/error.py b/cffi/error.py --- a/cffi/error.py +++ b/cffi/error.py @@ -22,14 +22,9 @@ cdef,

[pypy-commit] cffi default: code not compatible with python3

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3194:b72192c28e05 Date: 2017-05-25 10:02 +0200 http://bitbucket.org/cffi/cffi/changeset/b72192c28e05/ Log:code not compatible with python3 use bytes instead of strings diff --git a/cffi/pkgconfig.py b/cffi/pkgconfig.py --- a/cffi/pkgconfi

[pypy-commit] cffi default: merge with latest tip

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3196:48ca9a578dac Date: 2019-01-08 10:29 +0100 http://bitbucket.org/cffi/cffi/changeset/48ca9a578dac/ Log:merge with latest tip diff too long, truncating to 2000 out of 8938 lines diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -12,

[pypy-commit] cffi default: Document version pinning for pkgconfig

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3200:59a7c949248b Date: 2019-01-09 08:46 +0100 http://bitbucket.org/cffi/cffi/changeset/59a7c949248b/ Log:Document version pinning for pkgconfig diff --git a/cffi/pkgconfig.py b/cffi/pkgconfig.py --- a/cffi/pkgconfig.py +++ b/cffi/pkgconfig.py @@

[pypy-commit] cffi default: Define and raise specific hierarchy of exceptions

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3201:93d6970fc206 Date: 2019-01-10 13:28 +0100 http://bitbucket.org/cffi/cffi/changeset/93d6970fc206/ Log:Define and raise specific hierarchy of exceptions * PkgConfigNotFound - not installed * PkgConfigError - base pkg-config erro

[pypy-commit] cffi default: fix encoding of `--libs-only-l` it's about file system names

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3198:428261c7ae2c Date: 2019-01-08 19:58 +0100 http://bitbucket.org/cffi/cffi/changeset/428261c7ae2c/ Log:fix encoding of `--libs-only-l` it's about file system names diff --git a/cffi/pkgconfig.py b/cffi/pkgconfig.py --- a/cffi/pkgconfig.py +++ b

[pypy-commit] cffi default: Real test of a pkgconfig integration

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3197:e0251d298a40 Date: 2019-01-08 11:08 +0100 http://bitbucket.org/cffi/cffi/changeset/e0251d298a40/ Log:Real test of a pkgconfig integration Fix encoding errors Given testing Python program ``` from cffi import FFI ffibuilder =

[pypy-commit] cffi default: Exception based flow

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3199:58d9217d4315 Date: 2019-01-09 08:39 +0100 http://bitbucket.org/cffi/cffi/changeset/58d9217d4315/ Log:Exception based flow Now the with non pkg-config backup would be ``` module_name = "_czmq" source = "#include " try: print(f"

[pypy-commit] cffi default: P: cffi must be compatible with 3.2

2019-01-31 Thread vyskocilm
Author: Michal Vyskocil Branch: Changeset: r3202:d2065033e33b Date: 2019-01-10 13:30 +0100 http://bitbucket.org/cffi/cffi/changeset/d2065033e33b/ Log:P: cffi must be compatible with 3.2 S: can't use u prefixes, as it is syntax error there diff --git a/cffi/pkgconfig.py b/cffi/pkgco

[pypy-commit] cffi default: Tweaks to the pkgconfig support

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r3205:bafc95c0591a Date: 2019-01-31 12:14 +0100 http://bitbucket.org/cffi/cffi/changeset/bafc95c0591a/ Log:Tweaks to the pkgconfig support diff --git a/cffi/__init__.py b/cffi/__init__.py --- a/cffi/__init__.py +++ b/cffi/__init__.py @@ -3,6 +3,7 @@

[pypy-commit] cffi default: Change the API and document it.

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r3206:cfa9cfaf529e Date: 2019-01-31 12:44 +0100 http://bitbucket.org/cffi/cffi/changeset/cfa9cfaf529e/ Log:Change the API and document it. diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -640,15 +640,19 @@ if os.se

[pypy-commit] cffi default: tweak docs

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r3207:32960b92c175 Date: 2019-01-31 12:47 +0100 http://bitbucket.org/cffi/cffi/changeset/32960b92c175/ Log:tweak docs diff --git a/doc/source/cdef.rst b/doc/source/cdef.rst --- a/doc/source/cdef.rst +++ b/doc/source/cdef.rst @@ -445,8 +445,9 @@ If the

[pypy-commit] pypy py3.5: hg merge default

2019-01-31 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r95756:e01a180ee74a Date: 2019-01-31 16:11 + http://bitbucket.org/pypy/pypy/changeset/e01a180ee74a/ Log:hg merge default diff --git a/extra_tests/cffi_tests/cffi0/test_function.py b/extra_tests/cffi_tests/cffi0/test_function.py --- a/extra_tes

[pypy-commit] pypy default: reword this paraphraph, as gc hooks were already in 6.0

2019-01-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r95757:24e4b884491f Date: 2019-01-31 17:38 +0100 http://bitbucket.org/pypy/pypy/changeset/24e4b884491f/ Log:reword this paraphraph, as gc hooks were already in 6.0 diff --git a/pypy/doc/release-v7.0.0.rst b/pypy/doc/release-v7.0.0.rst --- a/pypy/doc/r

[pypy-commit] pypy apptest-file: hg merge default

2019-01-31 Thread rlamy
Author: Ronan Lamy Branch: apptest-file Changeset: r95759:d25403a13858 Date: 2019-01-31 16:10 + http://bitbucket.org/pypy/pypy/changeset/d25403a13858/ Log:hg merge default diff too long, truncating to 2000 out of 15681 lines diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@

[pypy-commit] pypy py3tests: hg merge py3.5

2019-01-31 Thread rlamy
Author: Ronan Lamy Branch: py3tests Changeset: r95758:9e5517b71594 Date: 2019-01-31 16:13 + http://bitbucket.org/pypy/pypy/changeset/9e5517b71594/ Log:hg merge py3.5 diff too long, truncating to 2000 out of 15743 lines diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -30,7

[pypy-commit] pypy release-pypy3.5-7.x: hg merge py3.5

2019-01-31 Thread antocuni
Author: Antonio Cuni Branch: release-pypy3.5-7.x Changeset: r95760:3d229d8603d1 Date: 2019-01-31 17:55 +0100 http://bitbucket.org/pypy/pypy/changeset/3d229d8603d1/ Log:hg merge py3.5 diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -40,16 +40,16 @@ Armin Rigo Maciej Fijalk

[pypy-commit] extradoc extradoc: Add myself

2019-01-31 Thread rlamy
Author: Ronan Lamy Branch: extradoc Changeset: r5942:001cd1e932ba Date: 2019-01-31 18:24 + http://bitbucket.org/pypy/extradoc/changeset/001cd1e932ba/ Log:Add myself diff --git a/sprintinfo/ddorf2019/people.txt b/sprintinfo/ddorf2019/people.txt --- a/sprintinfo/ddorf2019/people.txt +++ b/

[pypy-commit] pypy default: Issue #2945

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r95762:0861546064a7 Date: 2019-01-31 21:39 +0100 http://bitbucket.org/pypy/pypy/changeset/0861546064a7/ Log:Issue #2945 Completely remove the confusing mention of ``-O0`` diff --git a/pypy/doc/build.rst b/pypy/doc/build.rst --- a/pypy/doc/build

[pypy-commit] cffi default: oops thanks BlastRock NA for spotting this

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r3208:8596bb760efa Date: 2019-01-31 21:58 +0100 http://bitbucket.org/cffi/cffi/changeset/8596bb760efa/ Log:oops thanks BlastRock NA for spotting this diff --git a/c/misc_thread_common.h b/c/misc_thread_common.h --- a/c/misc_thread_common.h +++ b/c/misc_

[pypy-commit] cffi default: Reorganize

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r3209:59b8d697b9b9 Date: 2019-01-31 22:36 +0100 http://bitbucket.org/cffi/cffi/changeset/59b8d697b9b9/ Log:Reorganize diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst --- a/doc/source/whatsnew.rst +++ b/doc/source/whatsnew.rst @@ -6,13 +6,

[pypy-commit] pypy default: update to cffi/59b8d697b9b9

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r95763:4c96a83024a4 Date: 2019-01-31 22:42 +0100 http://bitbucket.org/pypy/pypy/changeset/4c96a83024a4/ Log:update to cffi/59b8d697b9b9 diff --git a/extra_tests/cffi_tests/cffi1/test_pkgconfig.py b/extra_tests/cffi_tests/cffi1/test_pkgconfig.py new fil

[pypy-commit] cffi default: Backport 4d18a461a973 from pypy

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r3210:86332166be5b Date: 2019-01-31 22:49 +0100 http://bitbucket.org/cffi/cffi/changeset/86332166be5b/ Log:Backport 4d18a461a973 from pypy diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -592,7 +592,7 @@ if sys

[pypy-commit] pypy default: update to cffi/86332166be5b

2019-01-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r95764:bb047ae33a2f Date: 2019-01-31 22:50 +0100 http://bitbucket.org/pypy/pypy/changeset/bb047ae33a2f/ Log:update to cffi/86332166be5b diff --git a/lib_pypy/cffi/api.py b/lib_pypy/cffi/api.py --- a/lib_pypy/cffi/api.py +++ b/lib_pypy/cffi/api.py @@ -59

[pypy-commit] pypy py3.5: hg merge default

2019-01-31 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r95765:2b258d7b2475 Date: 2019-01-31 22:50 +0100 http://bitbucket.org/pypy/pypy/changeset/2b258d7b2475/ Log:hg merge default diff --git a/extra_tests/cffi_tests/cffi1/test_pkgconfig.py b/extra_tests/cffi_tests/cffi1/test_pkgconfig.py new file mode