<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libplist, branch 1.4</title>
<subtitle>Library to handle Apple Property List format files in binary or XML</subtitle>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/'/>
<entry>
<title>Bump version to 1.4 for release</title>
<updated>2011-03-20T16:45:21+00:00</updated>
<author>
<name>Martin Szulecki</name>
</author>
<published>2011-03-20T16:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=f7a8ea7215d9c21b772af6a4af310d06883d61da'/>
<id>f7a8ea7215d9c21b772af6a4af310d06883d61da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change pkg-config file "Requires" into "Requires.private"</title>
<updated>2011-03-20T16:42:42+00:00</updated>
<author>
<name>Martin Szulecki</name>
</author>
<published>2011-03-20T16:42:42+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=bf39826fe19ef37e116f8987b2500287a4d0f3fc'/>
<id>bf39826fe19ef37e116f8987b2500287a4d0f3fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add NEWS file with list of changes</title>
<updated>2011-03-20T16:32:33+00:00</updated>
<author>
<name>Martin Szulecki</name>
</author>
<published>2011-03-20T16:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=ab7a6f4382f12ac3cf13dae83d721120b093dbe2'/>
<id>ab7a6f4382f12ac3cf13dae83d721120b093dbe2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Plugging memory leak in write_unicode</title>
<updated>2011-03-16T22:24:00+00:00</updated>
<author>
<name>Christophe Fergeau</name>
</author>
<published>2011-03-16T22:21:27+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=00df38d1b370584ed07e2d1b9179df4d4178b0d3'/>
<id>00df38d1b370584ed07e2d1b9179df4d4178b0d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure install_name_tool on OSX picks up library install path</title>
<updated>2011-02-12T17:48:42+00:00</updated>
<author>
<name>Martin Szulecki</name>
</author>
<published>2011-02-12T17:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=5e44b6bfc0ba2ee36c594caf1999eaf5d26133ed'/>
<id>5e44b6bfc0ba2ee36c594caf1999eaf5d26133ed</id>
<content type='text'>
This allows dylib to correctly find the library and fixes linking on OSX.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows dylib to correctly find the library and fixes linking on OSX.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Dictionary copy constructor</title>
<updated>2011-02-12T13:17:47+00:00</updated>
<author>
<name>Christophe Fergeau</name>
</author>
<published>2010-10-03T10:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=be225ca1b627eb4dfc1c2e718f3f392695baeb22'/>
<id>be225ca1b627eb4dfc1c2e718f3f392695baeb22</id>
<content type='text'>
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", &amp;b);
	a.Insert("Another Key", &amp;c);
	std::cout &lt;&lt; a.ToXml() &lt;&lt; std::endl;

	d.Insert("dictionary", &amp;a); //CRAAAAAAAAASH!
	std::cout &lt;&lt; d.ToXml() &lt;&lt; std::endl;
	return 0;
}
/* Output:
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
	&lt;key&gt;Key&lt;/key&gt;
	&lt;string&gt;Hello&lt;/string&gt;
	&lt;key&gt;Another Key&lt;/key&gt;
	&lt;string&gt;Hi!&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
*/

Signed-off-by: Martin Szulecki &lt;opensuse@sukimashita.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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", &amp;b);
	a.Insert("Another Key", &amp;c);
	std::cout &lt;&lt; a.ToXml() &lt;&lt; std::endl;

	d.Insert("dictionary", &amp;a); //CRAAAAAAAAASH!
	std::cout &lt;&lt; d.ToXml() &lt;&lt; std::endl;
	return 0;
}
/* Output:
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
	&lt;key&gt;Key&lt;/key&gt;
	&lt;string&gt;Hello&lt;/string&gt;
	&lt;key&gt;Another Key&lt;/key&gt;
	&lt;string&gt;Hi!&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
*/

Signed-off-by: Martin Szulecki &lt;opensuse@sukimashita.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update README with new official source repository location</title>
<updated>2011-02-12T12:56:33+00:00</updated>
<author>
<name>Martin Szulecki</name>
</author>
<published>2011-02-12T12:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=0866710e35d54ce6d6913cc64998f414096f50d1'/>
<id>0866710e35d54ce6d6913cc64998f414096f50d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update AUTHORS from git log history</title>
<updated>2011-02-12T12:54:04+00:00</updated>
<author>
<name>Martin Szulecki</name>
</author>
<published>2011-02-12T12:54:04+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=b4bbddf6512c0d6c2628349fbb816045576211a7'/>
<id>b4bbddf6512c0d6c2628349fbb816045576211a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes the xml export.</title>
<updated>2010-08-23T06:41:49+00:00</updated>
<author>
<name>Dogbert</name>
</author>
<published>2010-08-23T06:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=9ed6e05b5578a6eb83c593249153b1b5ac7bc780'/>
<id>9ed6e05b5578a6eb83c593249153b1b5ac7bc780</id>
<content type='text'>
Apple's activation server refuses XML tickets when this patch isn't applied.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apple's activation server refuses XML tickets when this patch isn't applied.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unicode binary writing.</title>
<updated>2010-07-29T16:40:41+00:00</updated>
<author>
<name>Jonathan Beck</name>
</author>
<published>2010-07-29T16:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=bd6ce8830f699f890e20faa4c16e24106ee59506'/>
<id>bd6ce8830f699f890e20faa4c16e24106ee59506</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
