Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-03-19 | deprecated plist_dict_insert_item in favor of plist_dict_set_item | Nikias Bassen | 1 | -2/+7 | |
2013-10-29 | fixed mavericks compile problem, return iterator of _map.end() instead of ↵ | Jim Koning | 1 | -1/+1 | |
iterator of NULL | |||||
2011-02-12 | Fix Dictionary copy constructor | Christophe Fergeau | 1 | -1/+1 | |
While iterating over all the keys stored in the source Dictionary to copy them to create the copied Dictonary, the name of the key being copied was only set to a non-NULL value for the first key we copy. This was then leading to an assertion when trying to create a std::string from a NULL pointer. Simple test-case: int main() { PList::Dictionary a; PList::String b("Hello"); PList::String c("Hi!"); PList::Dictionary d; a.Insert("Key", &b); a.Insert("Another Key", &c); std::cout << a.ToXml() << std::endl; d.Insert("dictionary", &a); //CRAAAAAAAAASH! std::cout << d.ToXml() << std::endl; return 0; } /* Output: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Key</key> <string>Hello</string> <key>Another Key</key> <string>Hi!</string> </dict> </plist> terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid */ Signed-off-by: Martin Szulecki <opensuse@sukimashita.com> | |||||
2009-11-28 | Remove last includes of non-existing Utils.h | Martin Szulecki | 1 | -1/+0 | |
2009-11-11 | Fix removal of the Utils class. | Jonathan Beck | 1 | -3/+3 | |
2009-11-10 | Do not free plist node twice in Dictionary destructor. | Jonathan Beck | 1 | -1/+0 | |
2009-11-10 | Remove wrongly exposed SetParent method. | Jonathan Beck | 1 | -1/+1 | |
2009-11-04 | Add GetNodeIdex and GetNodeKey methods. | Jonathan Beck | 1 | -0/+10 | |
2009-10-28 | Format sources to ANSI style using AStyle (astyle --style=ansi). | Jonathan Beck | 1 | -39/+39 | |
2009-10-28 | Fix build for MSVC9. | Jonathan Beck | 1 | -0/+1 | |
2009-10-26 | Add Set/Get Parent and a helper to create a Node from a plist_t. | Jonathan Beck | 1 | -99/+7 | |
2009-10-18 | Tweak Dictioonary interface a bit. | Jonathan Beck | 1 | -1/+10 | |
2009-10-16 | Fix key valuation in dictionary loop. | Jonathan Beck | 1 | -1/+1 | |
2009-10-16 | Fix Node lifecycle and change argument as reference to const reference. | Jonathan Beck | 1 | -7/+13 | |
2009-10-15 | Fix various mistakes in C++ bindings. | Jonathan Beck | 1 | -3/+42 | |
2009-10-13 | Add C++ binding. | Jonathan Beck | 1 | -0/+217 | |