summaryrefslogtreecommitdiffstats
path: root/cython
AgeCommit message (Collapse)AuthorFilesLines
2024-05-13Revert "Change API around #PLIST_DATA to use uint8_t instead of char arrays"Gravatar Nikias Bassen1-4/+4
This reverts commit a91f5740d100414a76959714b819422ee5b2d8a8.
2024-04-14Change API around #PLIST_DATA to use uint8_t instead of char arraysGravatar Nikias Bassen1-4/+4
This makes it more obvious that it is arbitrary data and not necessarily a string value.
2023-11-26Fix dictionary key deletion in CythonGravatar Dave Nicolson1-1/+1
2023-11-26Fix Cython dump methodGravatar Dave Nicolson1-1/+3
2023-01-16Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()Gravatar Nikias Bassen2-11/+47
This properly supports getting and setting signed or unsigned integer values. Also, a new helper function plist_int_val_is_negative() was added to determine if a given #PLIST_INT node has a negative value or not. The old type PLIST_UINT is defined as a macro with the value of PLIST_INT for backwards compatibility. This commit also adds int vs. uint support to the C++ interface, and the python bindings in a hopefully useful way.
2022-09-05cython: Fix 2 warnings with `-Wbad-function-cast`Gravatar Nikias Bassen1-2/+4
2022-02-07cython: Fix Windows buildGravatar Nikias Bassen1-0/+4
2022-02-07cython: Fix for LibTool compilation and Python 3 libintlGravatar Rick Mark1-1/+1
On Python 3.9 `libpython` no longer is linkable as a static library due to the fact that `libpython` now depends on `libintl`. This would mean we would have to import `libintl` to create a fully linked .la It is better to be explicit that we are building a .so (really a .dylib but autotools uses linux file conventions) that doesn't have to be fully resolved.
2021-06-09cython: Add -no-undefined to linker flags for shared python libGravatar Nikias Bassen1-1/+1
2020-06-14Add API version to library and pkgconfig file for proper linkingGravatar Nikias Bassen1-1/+1
2020-06-09Unfold automake variables into multiple lines for maintainabilityGravatar Martin Szulecki1-8/+28
2020-04-14cython: Fix get_value for Data nodesGravatar Nikias Bassen1-5/+1
2020-04-13cython: Fix handling of Date nodes (needs MACH_EPOCH)Gravatar Nikias Bassen1-0/+4
2019-08-08cython: Make sure plist.pxd is installed correctlyGravatar Nikias Bassen1-0/+3
2019-08-08cython: Remove unused variableGravatar Nikias Bassen1-1/+0
2019-08-08cython: Fix compilationGravatar Nikias Bassen1-0/+4
2019-07-11cython: Implement dump()/dumps() to match up with plistlib (Python 3.4)Gravatar Andrew Udvare2-0/+37
2019-07-11cython: Implement load()/loads() to match up with plistlib (Python 3.4)Gravatar Andrew Udvare2-0/+58
2019-05-11cython: use PYTHON_LIBS instead of PYTHON_LDFLAGSGravatar Yves-Alexis Perez1-1/+1
New version of AX_PYTHON_DEVEL macro defines PYTHON_LIBS and not PYTHON_LDFLAGS, so adjust where needed
2018-12-17cython: Fix Node.to_bin() decodeGravatar Shane Garrett1-1/+1
Don't convert the string to UTF-8, just bytes. Fixes #109.
2017-04-20build: Make sure plist.pxd is included in tarballsGravatar Christophe Fergeau1-3/+2
When generating a tarball on a system without cython installed, plist.pxd was missing, causing build failures later on when trying to use cython. This seems to be caused by EXTRA_DIST being inside a if HAVE_CYTHON block rather than being outside of it.
2017-04-20cython: Remove references to libxml2 flags from Makefile.amGravatar Nikias Bassen1-2/+2
2016-04-20cython: Fix module build with libplist already installedGravatar Elan Ruusamäe1-1/+1
see https://github.com/pld-linux/libplist/commit/a4a4e4b04caef3f9875b598d64ffb1fb388e699e
2014-10-14cython: Enforce default symbol visibility to make bindings loadableGravatar Martin Szulecki1-1/+1
2014-10-14cython: Use output variables instead of relative paths in MakefileGravatar Martin Szulecki1-2/+2
2014-07-30cython: Fix compiler warning by actually using the Uid factoryGravatar Martin Szulecki1-0/+2
2014-07-30cython: Replace old Pyrex for-from loop with normal one to fix compiler warningGravatar Martin Szulecki1-1/+1
2014-07-30cython: Fix Python library import fail due to removed 'plist_set_type' symbolGravatar Martin Szulecki1-4/+1
2014-07-30cython: Do not export plist_new_key() which should not be used directlyGravatar Martin Szulecki1-1/+0
2014-07-30cython: Fix compiler warning about uninitialized struct tm fieldGravatar Martin Szulecki1-9/+8
2014-03-22cython: Make sure to use plist_dict_set_item() instead of deprecated ↵1.11Gravatar Nikias Bassen1-2/+2
plist_dict_insert_item()
2014-02-11Force all dictionaries keys to be UTF-8 in Python 3Gravatar Andrew Udvare1-8/+7
2014-02-11Add URL for creditGravatar Andrew Udvare1-0/+1
2014-02-11Hopefully bridge between Python 3 and 2 for stringsGravatar Andrew Udvare1-2/+11
2013-12-13change build system to autotoolsGravatar Nikias Bassen2-30/+31
2013-03-19cython: added PLIST_UID supportGravatar Nikias Bassen2-0/+55
2013-03-19cython: use uint64_t instead of int for Integer get_value and __repr__Gravatar Nikias Bassen2-4/+6
2013-03-19cython: return correct Key_factory in plist_t_to_nodeGravatar Nikias Bassen1-1/+1
2013-03-19cython: removed unused return statementsGravatar Nikias Bassen1-3/+0
2013-03-19cython: get rid of ctypedefs and use libc.stdint insteadGravatar Nikias Bassen1-11/+1
2013-03-19cython: fixed missing class definition for PLIST_KEY typeGravatar Nikias Bassen2-1/+76
2013-03-18added PLIST_KEY support to cython bindingsGravatar Nikias Bassen2-0/+6
2012-03-22cython: Fix broken String plist handling in PythonGravatar Martin Szulecki1-5/+5
2011-09-26cython: use bint instead of bool, fix deprecated stuffGravatar Nikias Bassen2-28/+27
2011-09-26More qualifiers.Gravatar Bryan Forbes2-19/+23
2011-09-26Changed bool to bint in Cython functions. Added some more type qualifiers.Gravatar Bryan Forbes2-16/+16
2011-09-26Fixed some memory leaks and unicode handling.Gravatar Bryan Forbes2-43/+72
2011-09-26If the plist type is none, return None.Gravatar Bryan Forbes1-0/+2
2011-09-26Removed a call to __dealloc__ and added initialization of _array.Gravatar Bryan Forbes1-1/+1
2011-09-26Added cython bindings.Gravatar Bryan Forbes5-0/+837