[pypy-commit] cffi buffer_richcompare: Add tests for buffer comparisons

2017-02-06 Thread coronafire
Author: Andrew Leech Branch: buffer_richcompare Changeset: r2882:84ec6d83b6fe Date: 2017-02-03 13:03 +1100 http://bitbucket.org/cffi/cffi/changeset/84ec6d83b6fe/ Log:Add tests for buffer comparisons diff --git a/testing/cffi0/backend_tests.py b/testing/cffi0/backend_tests.py --- a/testing/cf

[pypy-commit] cffi buffer_richcompare: Add tp_richcompare from 3.5 bytearray to minibuffer (ffi.buffer)

2017-02-06 Thread coronafire
Author: Andrew Leech Branch: buffer_richcompare Changeset: r2881:d52ba2920e1c Date: 2017-02-03 13:01 +1100 http://bitbucket.org/cffi/cffi/changeset/d52ba2920e1c/ Log:Add tp_richcompare from 3.5 bytearray to minibuffer (ffi.buffer) diff --git a/c/minibuffer.h b/c/minibuffer.h --- a/c/minibuff

[pypy-commit] cffi buffer_richcompare: Enable the richcompare function in minibuffer

2017-02-06 Thread coronafire
Author: Andrew Leech Branch: buffer_richcompare Changeset: r2883:262d319d4f4b Date: 2017-02-05 12:59 +1100 http://bitbucket.org/cffi/cffi/changeset/262d319d4f4b/ Log:Enable the richcompare function in minibuffer diff --git a/c/minibuffer.h b/c/minibuffer.h --- a/c/minibuffer.h +++ b/c/minibu

[pypy-commit] cffi calculate_variable_array_length: Add some initial test assertions to check length details on variable length structs

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: calculate_variable_array_length Changeset: r2790:f97bac9fc85c Date: 2016-09-13 10:12 +1000 http://bitbucket.org/cffi/cffi/changeset/f97bac9fc85c/ Log:Add some initial test assertions to check length details on variable length structs diff --git a/c/test_c

[pypy-commit] cffi new_struct_allocated_size: When getting ffi.buffer() on CDataObject_own_structptr, use length field for buffer size

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: new_struct_allocated_size Changeset: r2787:7e2189722b1d Date: 2016-09-12 14:45 +1000 http://bitbucket.org/cffi/cffi/changeset/7e2189722b1d/ Log:When getting ffi.buffer() on CDataObject_own_structptr, use length field for buffer size diff --git a/c/_cffi_b

[pypy-commit] cffi new_struct_allocated_size: Add length field to CDataObject_own_structptr to hold the size of the memory block allocated for the struct.

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: new_struct_allocated_size Changeset: r2786:8e7211a884bd Date: 2016-09-12 14:02 +1000 http://bitbucket.org/cffi/cffi/changeset/8e7211a884bd/ Log:Add length field to CDataObject_own_structptr to hold the size of the memory block allocated for the struct. Thi

[pypy-commit] cffi calculate_variable_array_length: Detect and mark the final variable array in a varsized struct with BS_VARSIZESTRUCT_ARRAY

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: calculate_variable_array_length Changeset: r2791:3a9e42446693 Date: 2016-09-14 16:56 +1000 http://bitbucket.org/cffi/cffi/changeset/3a9e42446693/ Log:Detect and mark the final variable array in a varsized struct with BS_VARSIZESTRUCT_ARRAY Use this when re

[pypy-commit] cffi calculate_variable_array_length: When using a variable length struct, calculate and enforce the length of the varsized_array when accessing this field.

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: calculate_variable_array_length Changeset: r2789:d269f72d4a9a Date: 2016-09-13 09:19 +1000 http://bitbucket.org/cffi/cffi/changeset/d269f72d4a9a/ Log:When using a variable length struct, calculate and enforce the length of the varsized_array when accessing

[pypy-commit] cffi new_struct_allocated_size: When getting repr on CDataObject_own_structptr, use length field for owned bytes

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: new_struct_allocated_size Changeset: r2788:9d05a8fc0297 Date: 2016-09-12 15:10 +1000 http://bitbucket.org/cffi/cffi/changeset/9d05a8fc0297/ Log:When getting repr on CDataObject_own_structptr, use length field for owned bytes diff --git a/c/_cffi_backend.c