Commit Graph

268 Commits

Author SHA1 Message Date
Frederik Carlier
bdf4351d1d Remove Synchronized attribute - method uses no global resources 2016-05-22 19:12:42 +02:00
Frederik Carlier
844d9f3b12 Remove the BinarySerialization. It's not available anymore on .NET Core, and if you want to serialize a .NET object to byte[] - let the caller specify how it should be done (and pass the byte[] array itself) 2016-05-22 19:12:41 +02:00
Frederik Carlier
cbfb5c8290 .NET Core Compatibility: string.CharEnumeator -> string.ToCharArray().GetEnumerator 2016-05-22 19:12:40 +02:00
Frederik Carlier
f284d2abd0 Don't use SystemException but a PropertyListException to indicate something went wrong. 2016-05-22 19:12:34 +02:00
Frederik Carlier
0a7483ff75 Use using statements around Streams and Readers/Writers instead of manually calling .Close, which is no longer supported on .NET Core 2016-05-22 19:12:26 +02:00
accdc880ae Merge pull request #5 from quamotion/fixes/dotnetinterfaces
NSArray: Implement IList<NSObject>
2016-05-22 15:51:54 +01:00
Frederik Carlier
2bacfb7037 Update the parsing code to match to work with the new NSArray class 2016-05-22 16:37:44 +02:00
Frederik Carlier
df27f9d5ac NSArray: Implement IList<NSObject> 2016-05-22 16:05:33 +02:00
ccfba8ebc1 Merge pull request #2 from quamotion/fixes/binary-plist
Minor enhancements to plist-cil
2016-02-16 14:44:21 +00:00
Frederik Carlier
5a1a9d18d7 Binary format: Even if equivalent arrays (like empty ones) are saved, save them multiple times and use their respective indices 2016-02-10 13:41:54 +01:00
Frederik Carlier
156a55c84a BinaryPropertyListWriter: Allow for multiple occurences of the same UID, to maintain compatibility with the Apple binary format 2016-02-10 01:58:29 +01:00
Frederik Carlier
6f03f99db4 Support serializing empty (0-length) arrays 2016-02-05 19:48:54 +01:00
Frederik Carlier
1d3f49824c Fix order in which object IDs are generated to match the behavior of Apple's PLIST implementation 2016-02-05 19:48:33 +01:00
Frederik Carlier
438c75173b Enable strong name signing of the project 2016-02-05 17:02:36 +01:00
7ceae0ddc3 Corrected copy&paste :p 2015-10-24 01:19:42 +01:00
cf2b51e41d Added Travis job 2015-10-24 01:16:13 +01:00
a469709814 Added gnustep tag to NuSpec 2015-02-25 18:29:34 +00:00
d17e1f56a0 Added summary and better description. 2015-02-25 18:22:29 +00:00
fbd57a18be Update README.md to reflect current NuGet status. 2015-02-25 18:17:30 +00:00
df673df0a9 * plist-cil/plist-cil.nuspec:
* plist-cil/plist-cil.csproj:
	  Added NuGet package.

	* SvnInfo.txt:
	  Sync'ed with svn r114
2015-02-25 18:06:20 +00:00
399a043c62 * plist-cil.sln:
* plist-cil/plist-cil.csproj:
	* plist-cil.test/plist-cil.test.csproj:
	* plist-cil/Properties/AssemblyInfo.cs:
	  Bump to 1.14 (upstream r114).

	* plist-cil/PropertyListParser.cs:
	* plist-cil/ASCIIPropertyListParser.cs:
	  Sync BOM skipping code with upstream.

	* plist-cil/BinaryPropertyListParser.cs:
	  Sync code with upstream.
	Added UTF-8 string decoding on binary property lists.
v1.14
2015-02-24 22:53:31 +00:00
7b550748d1 Prettify documentation. v1.13 2015-02-20 03:45:45 +00:00
2a1608a299 Modify some JavaDoc to Xml. 2015-02-20 03:04:40 +00:00
eb05b5032d Implement NSDictionary.CopyTo() 2015-02-20 02:28:27 +00:00
d4b593dab0 Added all missing documentation for public methods. 2015-02-20 02:23:39 +00:00
b03717e877 Remove unused variables and disable warnings that we know are
innocuous.
2015-02-20 01:34:22 +00:00
4706f16cab Added ZIPing release. 2015-02-20 01:27:48 +00:00
583d274a5b Added automatic HTML and MonoDoc documentation generation for
Release.
2015-02-20 01:25:41 +00:00
bcc9c9c072 Add ChangeLog so it is copied on build. 2015-02-20 01:12:00 +00:00
ee056b046c Added README. 2015-02-20 01:11:13 +00:00
79ed8b39b0 * LICENSE:
* plist-cil/plist-cil.csproj:
	  Added MIT License file.

	* SvnInfo.txt:
	* plist-cil.sln:
	  Added file to keep track of mainstream Subversion
	  repository.

	* plist-cil.test/plist-cil.test.csproj:
2015-02-20 00:56:21 +00:00
3836b3549b * plist-cil/ASCIIPropertyListParser.cs:
Remove redundant items.
	Correct same ASCII exceptionfallback issue that appeared in
	  NSString.

	* plist-cil/UID.cs:
	* plist-cil/NSSet.cs:
	* plist-cil/NSDate.cs:
	* plist-cil/NSData.cs:
	* plist-cil/NSArray.cs:
	* plist-cil/NSObject.cs:
	* plist-cil/NSNumber.cs:
	* plist-cil/NSString.cs:
	* plist-cil/NSDictionary.cs:
	* plist-cil/PropertyListParser.cs:
	* plist-cil/XmlPropertyListParser.cs:
	* plist-cil/BinaryPropertyListWriter.cs:
	* plist-cil/BinaryPropertyListParser.cs:
	  Remove redundant items.
2015-02-20 00:42:40 +00:00
49afbe3bdc Reformat code. 2015-02-20 00:00:26 +00:00
46a0c3ddf3 me is @author also :p 2015-02-19 23:54:19 +00:00
5ea7c588af Different API between JUnit and NUnit made TestIssue49() fail.
Solved.
2015-02-19 23:45:44 +00:00
94db473104 Mono encoding fallback for ASCII is not failing on all
non-ASCII characters (as in issue4.plist test file).
	Implemented a simple checker.
2015-02-19 23:44:38 +00:00
d5a51de59c Solve upstream bug, does not recognize UTF-8 XML with
byte-order-mask as XML.
2015-02-19 21:54:14 +00:00
b4c08b0706 More culture corrections. 2015-02-19 21:50:29 +00:00
47726e9e7f double.ToString() should be invariantculture also. 2015-02-19 21:32:21 +00:00
0beafa904b Implement correct equality comparisors. 2015-02-19 21:30:01 +00:00
8b66e8d8aa Typo. 2015-02-19 20:43:05 +00:00
99d374fef2 Should use a serializable object type. 2015-02-19 20:37:49 +00:00
5d4a05ab08 Parse decimal comma always as '.'. 2015-02-19 20:33:49 +00:00
c244212d25 Convert unix date to .net dates.
Array.Equals() does not compare array internals but object
	reference, implement substitute.
	String.Substring() has a different API than Java, correct.
2015-02-19 20:26:05 +00:00
0189f3d859 Implement IssueTest. 2015-02-19 19:35:05 +00:00
4e037a2170 Implement ParseTest 2015-02-19 19:28:42 +00:00
3f95dd4569 Organize test-files in a folder 2015-02-19 19:01:02 +00:00
4c747653cf Add test skeleton. 2015-02-19 18:59:47 +00:00
13f8ee6d73 Added test files 2015-02-19 18:55:30 +00:00
49d3484958 Implement XmlPropertyListParser 2015-02-19 18:52:17 +00:00