222 Commits

Author SHA1 Message Date
Jonathan Beck c17b420a7f Tweak Dictioonary interface a bit. 2009-10-18 21:54:33 +02:00
Jonathan Beck d21c7d4a9c Fixes for dates. 2009-10-17 23:03:50 +02:00
Jonathan Beck 33de762cf6 Implement Date object. 2009-10-17 11:10:54 +02:00
Jonathan Beck 68f45cabfa Install C++ binding. 2009-10-17 00:36:30 +02:00
Jonathan Beck 7372d12b5a Fix key valuation in dictionary loop. 2009-10-16 23:33:39 +02:00
Jonathan Beck 32be8ec384 Fix Node lifecycle and change argument as reference to const reference. 2009-10-16 22:26:13 +02:00
Jonathan Beck 8186a9d371 Fix various mistakes in C++ bindings. 2009-10-15 19:28:30 +02:00
Jonathan Beck a922b714c9 Add C++ binding. 2009-10-13 20:04:06 +02:00
Jonathan Beck e492ef675c Add path accessor util function. 2009-10-13 20:03:38 +02:00
Jonathan Beck 3cff5a1603 Fix dict length. 2009-10-11 20:20:23 +02:00
Jonathan Beck 393f1b4b28 Restore plist_dict_get_size function. 2009-10-11 15:49:05 +02:00
Jonathan Beck 583bb24945 Add function to change a node's type. 2009-10-11 14:00:31 +02:00
Jonathan Beck 120b7348e7 Protect plist_free against NULL nodes. 2009-10-11 12:53:49 +02:00
Jonathan Beck 5a7a91d4eb Fix dict iteration. 2009-10-11 12:14:22 +02:00
Jonathan Beck f8ba9f02e3 Abstract iter base type. 2009-10-10 23:09:29 +02:00
Jonathan Beck 97f7caeecd Fix dict iteration. 2009-10-10 22:33:31 +02:00
Jonathan Beck bc08d5f530 Add dict iteration. Add functions to retrieve index and key from node. 2009-10-10 22:10:52 +02:00
Jonathan Beck 009274f4df Reverse argument for dicts to make it clearer. 2009-10-10 19:55:51 +02:00
Jonathan Beck 77b02c9404 Rework public API to make it more consistent. 2009-10-10 18:20:01 +02:00
Jonathan Beck c18c9d0878 Fix boolean length in binary parsing 2009-09-06 23:44:40 +02:00
Jonathan Beck 1b0bcb3434 Fix copy_node to also copy key nodes. 2009-07-18 12:10:07 +02:00
Jonathan Beck 07c1d3c905 Add function to get parent node in API and python bindings. 2009-07-18 12:08:13 +02:00
Martin Szulecki f605777d97 Make sure to also copy string/data buffers when cloning the node data struct 2009-07-14 22:53:59 +02:00
Jonathan Beck 365e1199ee Make copy_plist actually copy plists (previously always returning NULL). 2009-07-09 18:28:26 +02:00
Jonathan Beck 192f335086 Unlink node from tree when freeing. 2009-07-08 19:35:58 +02:00
Jonathan Beck c8a140dce1 Add a deep copy function and value setters for nodes. 2009-07-08 19:30:53 +02:00
Jonathan Beck 07b8041d44 Merge ascii and unicode handling in PLIST_STRING using UTF-8. Remove unicode related declaration in API (breaks API&ABI) 2009-04-28 22:15:39 +02:00
Jonathan Beck 0d301b693a Fix bad type for date element 2009-04-28 20:38:41 +02:00
Martin Szulecki 66614dd5c5 Fix compiler pointer assignment warnings 2009-04-27 19:35:48 +02:00
Jonathan Beck 21e389bca0 Add special accessor for structured types in API. 2009-04-15 22:35:56 +02:00
Jonathan Beck 460f5b42af Fix data buffer retrieval. Bump version to 0.10. 2009-04-12 16:12:51 +02:00
Nikias Bassen 24823e83c7 Fix uninitialized buffer. 2009-04-06 18:56:14 +02:00
Martin Szulecki dbfbb78dbd Fix install libdir for 64bit platform. 2009-04-05 21:10:33 +02:00
Jonathan Beck 26aa1fe88c Remove autotools. 2009-03-27 18:46:59 +01:00
Jonathan Beck c99881e673 Complete and cleanup CMake build system. 2009-03-27 18:43:46 +01:00
Jonathan Beck 623314bb8d Use (void) instead of () in functions prototype. 2009-03-27 17:41:10 +01:00
Jonathan Beck 480fd72fc2 Do not write 3 byte integer nodes. Use standard 4bytes integer instead. 2009-02-15 17:34:07 +01:00
Jonathan Beck bb3097cb22 Add more regression test and fix Integer and Real type handling. 2009-02-15 17:15:29 +01:00
Jonathan Beck 8e9eb83c2a Fix Invalid memory read and match g_free with g_malloc. 2009-02-14 19:09:27 +01:00
Jonathan Beck 3c458d22fd Fix more memory leaks. 2009-02-14 18:49:17 +01:00
Jonathan Beck aa3a4c8d45 Fix some memory leaks. 2009-02-14 17:32:19 +01:00
Jonathan Beck 461c947d12 Only call g_base64_encode if there is data to encode. 2009-02-14 14:41:54 +01:00
Jonathan Beck 7139de793c Fix binary dict indexes. 2009-02-14 14:32:24 +01:00
Jonathan Beck 10f32a551a Add CPack packaging. 2009-02-12 18:46:57 +01:00
Jonathan Beck a716448d1c Add support for 3 bytes offsets. 2009-02-09 21:04:03 +01:00
Jonathan Beck 4278fced57 Add a cmake build system. 2009-02-09 21:03:02 +01:00
Jonathan Beck fa4a22dde8 Make it compile on MSVC 2005. 2009-02-09 21:02:56 +01:00
Jonathan Beck ff1fa73f33 Fix indent. 2009-01-29 22:20:48 +01:00
Jonathan Beck f1d587b73e Add setter and getter for Date and Unicode types. 2009-01-29 20:49:00 +01:00
Jonathan Beck 296a38509d Clean some old stuff. 2009-01-29 19:26:15 +01:00