1. 11 Jan, 2012 1 commit
  2. 26 Sep, 2011 12 commits
  3. 10 Sep, 2011 1 commit
  4. 25 Jun, 2011 4 commits
  5. 13 Jun, 2011 5 commits
  6. 31 May, 2011 1 commit
  7. 29 May, 2011 4 commits
  8. 28 May, 2011 1 commit
  9. 27 May, 2011 5 commits
  10. 20 Mar, 2011 3 commits
  11. 16 Mar, 2011 1 commit
  12. 12 Feb, 2011 2 commits
    • Martin Szulecki's avatar
      Make sure install_name_tool on OSX picks up library install path · 5e44b6bf
      Martin Szulecki authored
      This allows dylib to correctly find the library and fixes linking on OSX.
      5e44b6bf
    • Christophe Fergeau's avatar
      Fix Dictionary copy constructor · be225ca1
      Christophe Fergeau authored
      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: 's avatarMartin Szulecki <opensuse@sukimashita.com>
      be225ca1