Commit Graph

  • 8aeef4dd23 Fix header define name; Jonathan Beck 2009-10-16 15:38:38 +02:00
  • 8186a9d371 Fix various mistakes in C++ bindings. Jonathan Beck 2009-10-15 19:28:30 +02:00
  • a922b714c9 Add C++ binding. Jonathan Beck 2009-10-13 20:04:06 +02:00
  • e492ef675c Add path accessor util function. Jonathan Beck 2009-10-13 20:03:38 +02:00
  • 3cff5a1603 Fix dict length. Jonathan Beck 2009-10-11 20:20:23 +02:00
  • 393f1b4b28 Restore plist_dict_get_size function. Jonathan Beck 2009-10-11 15:49:05 +02:00
  • 583bb24945 Add function to change a node's type. Jonathan Beck 2009-10-11 14:00:31 +02:00
  • 120b7348e7 Protect plist_free against NULL nodes. Jonathan Beck 2009-10-11 12:53:49 +02:00
  • 5a7a91d4eb Fix dict iteration. Jonathan Beck 2009-10-11 12:14:22 +02:00
  • f8ba9f02e3 Abstract iter base type. Jonathan Beck 2009-10-10 23:09:29 +02:00
  • 97f7caeecd Fix dict iteration. Jonathan Beck 2009-10-10 22:33:31 +02:00
  • bc08d5f530 Add dict iteration. Add functions to retrieve index and key from node. Jonathan Beck 2009-10-10 22:10:52 +02:00
  • 009274f4df Reverse argument for dicts to make it clearer. Jonathan Beck 2009-10-10 19:55:51 +02:00
  • 77b02c9404 Rework public API to make it more consistent. Jonathan Beck 2009-10-10 18:20:01 +02:00
  • c18c9d0878 Fix boolean length in binary parsing Jonathan Beck 2009-09-06 23:44:40 +02:00
  • a32dc0f657 Bump version number to 0.13 v0.13 Jonathan Beck 2009-07-18 20:42:50 +02:00
  • ef203c8289 Update python binding to use new setters API. Jonathan Beck 2009-07-18 12:19:32 +02:00
  • 365acdbafd Change plist swig allocator name so that it won't collide when included. Jonathan Beck 2009-07-18 12:14:35 +02:00
  • 1b0bcb3434 Fix copy_node to also copy key nodes. Jonathan Beck 2009-07-18 12:10:07 +02:00
  • 07c1d3c905 Add function to get parent node in API and python bindings. Jonathan Beck 2009-07-18 12:08:13 +02:00
  • f605777d97 Make sure to also copy string/data buffers when cloning the node data struct Martin Szulecki 2009-07-10 19:02:47 +02:00
  • 365e1199ee Make copy_plist actually copy plists (previously always returning NULL). Jonathan Beck 2009-07-09 18:28:26 +02:00
  • 192f335086 Unlink node from tree when freeing. Jonathan Beck 2009-07-08 19:35:58 +02:00
  • c8a140dce1 Add a deep copy function and value setters for nodes. Jonathan Beck 2009-07-08 19:30:53 +02:00
  • e925e6f617 Bump version to 0.12 v0.12 Jonathan Beck 2009-05-04 23:09:22 +02:00
  • 07b8041d44 Merge ascii and unicode handling in PLIST_STRING using UTF-8. Remove unicode related declaration in API (breaks API&ABI) Jonathan Beck 2009-04-28 22:15:39 +02:00
  • 0d301b693a Fix bad type for date element Jonathan Beck 2009-04-28 20:38:41 +02:00
  • 66614dd5c5 Fix compiler pointer assignment warnings Martin Szulecki 2009-04-24 17:02:16 +02:00
  • ae1478e276 Plug a few memory leaks in plutil Martin Szulecki 2009-04-24 17:01:23 +02:00
  • 6f7a0ffe80 Bump version to 0.11. v0.11 Jonathan Beck 2009-04-20 18:52:52 +02:00
  • 0a050c5c74 Use CString SWIG library to handle binary buffers. Jonathan Beck 2009-04-19 22:00:21 +02:00
  • 33ca54263e Fix subnode lifecycle (do not free). Always return NULL if node not found. Jonathan Beck 2009-04-18 11:13:01 +02:00
  • 21e389bca0 Add special accessor for structured types in API. Jonathan Beck 2009-04-15 22:35:56 +02:00
  • 2abf518f8e Rework SWIG interface to handle lifecycle of C pointers correctly. Jonathan Beck 2009-04-15 21:46:46 +02:00
  • 4f795b010b Pass C pointer to API instead of swig wrapper in binding. Jonathan Beck 2009-04-15 21:27:37 +02:00
  • fb18f4eb35 Fix python binding install. Jonathan Beck 2009-04-15 19:45:01 +02:00
  • e60af04e9f Add from_xml, from_bin, find_node_by_key and rename AddSubNode in Python API Martin Szulecki 2009-04-15 16:33:40 +02:00
  • 460f5b42af Fix data buffer retrieval. Bump version to 0.10. v0.10 Jonathan Beck 2009-04-12 16:12:51 +02:00
  • 49606077d0 Update AUTHORS. v0.9 libplist_rc2 Jonathan Beck 2009-04-07 20:37:30 +02:00
  • 24823e83c7 Fix uninitialized buffer. Nikias Bassen 2009-04-06 18:56:14 +02:00
  • dbfbb78dbd Fix install libdir for 64bit platform. Martin Szulecki 2009-04-05 21:10:33 +02:00
  • b9d27ab3b3 Fix swig header install. v0.8 libplist_rc1 Jonathan Beck 2009-03-27 19:37:21 +01:00
  • b5528ad981 Fix pkgconfig file install path. Jonathan Beck 2009-03-27 19:28:05 +01:00
  • 5709097015 Fix Python binding install. Jonathan Beck 2009-03-27 19:24:27 +01:00
  • a5cf824688 Add swig autodoc directive to generate Python docstrings. Jonathan Beck 2009-03-27 19:18:04 +01:00
  • 796e1d08be Conform to Python naming rules. Jonathan Beck 2009-03-27 19:03:36 +01:00
  • fe3a734e09 Update README. Jonathan Beck 2009-03-27 18:57:22 +01:00
  • 26aa1fe88c Remove autotools. Jonathan Beck 2009-03-27 18:46:59 +01:00
  • c99881e673 Complete and cleanup CMake build system. Jonathan Beck 2009-03-27 18:43:46 +01:00
  • 623314bb8d Use (void) instead of () in functions prototype. Jonathan Beck 2009-03-27 17:41:10 +01:00
  • 480fd72fc2 Do not write 3 byte integer nodes. Use standard 4bytes integer instead. Jonathan Beck 2009-02-15 17:34:07 +01:00
  • bb3097cb22 Add more regression test and fix Integer and Real type handling. Jonathan Beck 2009-02-15 17:15:29 +01:00
  • 8e9eb83c2a Fix Invalid memory read and match g_free with g_malloc. Jonathan Beck 2009-02-14 19:09:27 +01:00
  • 3c458d22fd Fix more memory leaks. Jonathan Beck 2009-02-14 18:49:17 +01:00
  • aa3a4c8d45 Fix some memory leaks. Jonathan Beck 2009-02-14 17:32:19 +01:00
  • 461c947d12 Only call g_base64_encode if there is data to encode. Jonathan Beck 2009-02-14 14:41:54 +01:00
  • 7139de793c Fix binary dict indexes. Jonathan Beck 2009-02-14 14:32:24 +01:00
  • fabfe89d8b Add some test case. Jonathan Beck 2009-02-12 23:31:40 +01:00
  • d4181ffa30 Fix python binding install dir in cmake build system. Jonathan Beck 2009-02-12 19:32:37 +01:00
  • 10f32a551a Add CPack packaging. Jonathan Beck 2009-02-12 18:46:57 +01:00
  • 37f529e69f Export API symbols in MSVC. Jonathan Beck 2009-02-12 18:45:05 +01:00
  • a716448d1c Add support for 3 bytes offsets. Jonathan Beck 2009-02-09 21:04:03 +01:00
  • 4278fced57 Add a cmake build system. Jonathan Beck 2009-02-09 20:44:11 +01:00
  • fa4a22dde8 Make it compile on MSVC 2005. Jonathan Beck 2009-02-09 20:39:14 +01:00
  • ff1fa73f33 Fix indent. Jonathan Beck 2009-01-29 22:20:48 +01:00
  • 7bb672f801 Add documentation to the public API. Jonathan Beck 2009-01-29 22:08:44 +01:00
  • f1d587b73e Add setter and getter for Date and Unicode types. Jonathan Beck 2009-01-29 20:49:00 +01:00
  • 296a38509d Clean some old stuff. Jonathan Beck 2009-01-29 19:26:15 +01:00
  • 8c2751f8c7 Add some static declarations. Jonathan Beck 2009-01-29 19:20:40 +01:00
  • 23b1e32008 Remove duplicate uint64_t accessor. Jonathan Beck 2009-01-29 19:03:48 +01:00
  • ddf3e321b1 Remove dangerous functions from pulic API. Jonathan Beck 2009-01-29 18:59:28 +01:00
  • 6d2cd169b0 Make pointer argument in API const when possible. Jonathan Beck 2009-01-29 18:54:18 +01:00
  • ecfe5f4ece Rename pkgconfig from libplist-1.0 to libplist. Jonathan Beck 2009-01-29 18:46:22 +01:00
  • bfd57eb1cf Add Unicode support. Jonathan Beck 2009-01-22 22:18:43 +01:00
  • 8da4dac2e6 add sanity check. Jonathan Beck 2009-01-19 20:54:50 +01:00
  • 0b89580643 Add stdint swig declaration in interface. Jonathan Beck 2009-01-13 22:57:57 +01:00
  • 1a46027966 Ship SWIG interface file with dev headers. Jonathan Beck 2009-01-12 20:05:13 +01:00
  • c0c27eb5dc Add a function to find a key node by its value. Jonathan Beck 2009-01-12 20:04:40 +01:00
  • 74dae54b1b Add a pythyon binding to the library (using SWIG). Jonathan Beck 2009-01-11 20:44:33 +01:00
  • ed5f0b7154 fix offset writing and add experimental padding to mimic Apple files. Jonathan Beck 2009-01-08 23:44:30 +01:00
  • e0b6a20b79 fix length of basic types while parsing binary plist. Jonathan Beck 2009-01-08 22:19:44 +01:00
  • d174ba080c Add edition and reading fonctions so that handling plist is less confusing. Fix indent. Jonathan Beck 2009-01-08 21:42:52 +01:00
  • c8d5e261b3 revert to 60 cols for data base64 encoded buffers Jonathan Beck 2009-01-04 21:10:57 +01:00
  • a835ed062a handle date tag. Jonathan Beck 2009-01-04 20:56:05 +01:00
  • a3c6acf863 more warning fixes. Jonathan Beck 2009-01-04 16:51:53 +01:00
  • 5d9e97d407 fix wrong binary dict parsing. Jonathan Beck 2009-01-04 14:57:34 +01:00
  • 66df32eec2 fix some warnings and correct binary tag enum (false and true were inverted). Jonathan Beck 2009-01-04 14:56:30 +01:00
  • ca40090460 Setup warning flags and fixes missing static attribute for local funtions. Jonathan Beck 2009-01-04 12:31:41 +01:00
  • 135e43c176 Add sanity check on indexes when building plist tree. Jonathan Beck 2008-12-13 19:59:00 +01:00
  • 2a51497604 Fix node length while parsing XML. Jonathan Beck 2008-12-13 18:10:39 +01:00
  • 3f0dfcf5f7 complete find function to take length into account. Jonathan Beck 2008-12-13 17:06:06 +01:00
  • c39685d3a8 Refine API and fix some warnings. Jonathan Beck 2008-12-13 16:16:58 +01:00
  • e220e2cf08 Add plutil and do some cleaning. Jonathan Beck 2008-12-13 13:56:55 +01:00
  • 3fdd24aea0 Fork libiphone and remove anything non plist specific. Update library and make related files acordingly . Jonathan Beck 2008-12-13 12:21:03 +01:00
  • 3d8ba053de Change from Base64 encoded buffers to real buffers. Base64 decoding/encoding only happens in xml plists. Jonathan Beck 2008-12-12 23:39:33 +01:00
  • 9ca887308d Fix some bugs in binary plist generation. Jonathan Beck 2008-12-12 22:05:44 +01:00
  • 31379321ce dissect plists in three file (abstract binary xml) Jonathan Beck 2008-12-11 23:05:29 +01:00
  • 18d1ee3b0f move stuff around to make code more organized. Jonathan Beck 2008-12-11 23:03:21 +01:00
  • cd95e9bc6e fix minor programming erro plus enhance plutil to convert bin to xml and xml to bin. Jonathan Beck 2008-12-10 23:42:21 +01:00
  • 625633203a add bplist writting capability. Jonathan Beck 2008-12-10 23:22:12 +01:00