summaryrefslogtreecommitdiffstats
path: root/cython/plist.pyx
AgeCommit message (Collapse)AuthorFilesLines
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 Bassen1-10/+45
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
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: 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 Udvare1-0/+35
2019-07-11cython: Implement load()/loads() to match up with plistlib (Python 3.4)Gravatar Andrew Udvare1-0/+55
2018-12-17cython: Fix Node.to_bin() decodeGravatar Shane Garrett1-1/+1
Don't convert the string to UTF-8, just bytes. Fixes #109.
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-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-03-19cython: added PLIST_UID supportGravatar Nikias Bassen1-0/+51
2013-03-19cython: use uint64_t instead of int for Integer get_value and __repr__Gravatar Nikias Bassen1-2/+2
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 Bassen1-0/+75
2013-03-18added PLIST_KEY support to cython bindingsGravatar Nikias Bassen1-0/+2
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 Bassen1-26/+25
2011-09-26More qualifiers.Gravatar Bryan Forbes1-15/+19
2011-09-26Changed bool to bint in Cython functions. Added some more type qualifiers.Gravatar Bryan Forbes1-14/+14
2011-09-26Fixed some memory leaks and unicode handling.Gravatar Bryan Forbes1-39/+67
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 Forbes1-0/+699