Commit Graph
285 Commits
Author SHA1 Message Date
Alexander Köplinger 0450000dc4 [Cleanup] Removed a bunch of superfluous .csproj and .sln files
Most of these files weren't updated in the last >5 years and serve no purpose today, so they only clutter the repository.
2014-08-06 18:02:30 +02:00
Marek Safar f2df46f68e Merge pull request #1055 from josedonizetti/fix_datacontractserializer_tests
validate if attribute is defined before check IsAny
2014-05-25 09:27:34 +02:00
Miguel de Icaza 60fa2525fb [build] the csproj files can now do a full class libraries build 2014-05-25 00:47:09 -04:00
josedonizetti e30d3314e2 validate if attribute is defined before check IsAny 2014-05-24 21:08:09 -04:00
Miguel de Icaza 3599b97b57 [build] Fresh new csproj files based on the updated build system. 2014-05-23 17:15:53 -04:00
Marek Safar 051ffdfbde Merge pull request #1051 from josedonizetti/bug11916-DataContractSerializer
add IsAny=true support for DataContractSerializer
2014-05-23 06:44:42 +02:00
Jose Donizetti 1690b16a73 add IsAny=true support for DataContractSerializer 2014-05-22 23:01:16 -04:00
Joel Martinez e9068ebf5b [docs] documentation import for 'returns' elements. 2014-05-12 14:52:53 -04:00
Joel Martinez 891e93e1fe [docs] Import of additional member documentation that contain generic parameteres 2014-05-12 14:52:48 -04:00
Joel Martinez d4fcdb95b4 [docs] namespace documentation import. 2014-05-12 14:52:47 -04:00
Joel Martinez 6999270099 [docs] Import of Microsoft BCL Documentation.
The documentation is creative commons licensed.
2014-04-27 21:33:01 -04:00
Miguel de Icaza d79280674b Refreshed the CSProj files to use the new output build directory 2014-04-18 18:15:35 -04:00
Joel Martinez 93f2e9f1f4 docupdate: System.Runtime.Serialization documentation update 2014-03-10 15:14:01 -04:00
Miguel de Icaza d28e7b7955 [System.Runtime.Serialization] Fix from Brendan Zagaeski for bug #17663 2014-02-24 21:16:29 -05:00
Miguel de Icaza 3071b20dc5 Add test for Bug #15572 from pull request #820 2014-02-12 16:06:32 -05:00
Miguel de Icaza 1d1f618de4 Add tests for bug #15574, pull request 819 2014-02-12 15:39:24 -05:00
Miguel de Icaza dc186cf9ef Add tests for bug #15574, pull request 819 2014-02-12 15:39:24 -05:00
Miguel de Icaza c39718bbb3 Merge pull request #820 from brendanzagaeski/master
Bug 15572. Lookup KnownTypeCollection element types in MSSimpleNamespace
2014-02-12 15:31:12 -05:00
Miguel de Icaza 424595ea70 Merge pull request #819 from brendanzagaeski/patch-1
Bug 15574. XML deserialization recursion: add array type to known_types?
2014-02-12 15:30:30 -05:00
Aaron Bockover a66f333246 profiles: define xammac (Xamarin.Mac) profile
Based on the Mobile profile and modeled after
the MonoDroid profile.
2014-01-16 14:16:59 -05:00
brendanzagaeski d0c24d73e5 Bug 15572. Lookup KnownTypeCollection element types in MSSimpleNamespace
This patch prevents the problem in https://bugzilla.xamarin.com/show_bug.cgi?id=15572. This change allows the DataContractSerializer to deserialize DataMembers that use an array KnownType, at least for the test case in the bug report.
2013-11-26 23:09:00 -05:00
brendanzagaeski df9535c5a4 Bug 15574. XML deserialization recursion: add array type to known_types?
One way to prevent https://bugzilla.xamarin.com/show_bug.cgi?id=15574 is to add the problematic array type to the `known_types`.

On the other hand, this might not be the intended use of `known_types`. In that case, perhaps a better fix would be to guard against recursion in the `foreach` loop:

	if (t != type)
		RegisterTypeAsKnown (t);
2013-11-26 22:47:48 -05:00
Miguel de Icaza b6d1b4492f Class libraries: introduce mobile_static profile, for MonoTouch-like static builds, but not limited to iOS (WinStore, Kumpera did the work). 2013-07-30 16:51:38 -04:00
Marek Safar b888cf5f04 Update csproj files 2013-07-02 13:45:15 +02:00
Rodrigo Kumpera ef3f9a6e80 Fix the build. 2013-04-23 17:29:16 -04:00
Atsushi Eno 44f3d6379a quick nullref fix for part of bugfix #11916. 2013-04-24 05:46:48 +09:00
Zoltan Varga add2135688 Fix a test. 2013-04-11 17:25:33 +02:00
Martin Baulig 91f11b20d7 Bug #5829: DataContractSerializer should not check for invalid characters. 2013-03-22 01:00:56 +01:00
Rodrigo Kumpera 9c15b24100 Fix the System.Runtime.Serialization test suite to compile. 2013-03-21 13:18:16 -04:00
Martin Baulig efda0d4c62 Revert "Fixes make dist"
This reverts commit 87e95b46ed.

This puts DataContractJsonSerializerSettings.cs back into
mcs/class/System.ServiceModel.Web/System.Runtime.Serialization.Json.

Let's please not have a single file from this namespace in another
directory, either move the entire System.Runtime.Serialization.Json
stuff into System.Runtime.Serialization or leave it here.
2013-03-15 18:14:44 -04:00
Marek Safar 87e95b46ed Fixes make dist 2013-03-14 17:42:45 +01:00
Martin Baulig 54f7c82d2b DataContractSerializer changes for .NET 4.5.
* Move System.Runtime.Serialization.Json from System.ServiceModel.Web.dll
  into System.Runtime.Serialization.dll on the mobile profile.

* Add DataContractJsonSerializerSettings and DataContractSerializerSettings..
2013-03-12 21:15:56 -04:00
Martin Baulig 35992e86c7 System.Runtime.Serialization.DateTimeFormat 2013-03-12 17:23:00 -04:00
Marek Safar a4915d561e Update mobile tests 2013-03-07 16:34:24 +01:00
Marek Safar 02482bef43 Fix binary serialization on mobile 2013-03-07 16:34:23 +01:00
Marek Safar cf650fb3fb Update 4.5 bcl solution files 2013-02-21 17:25:06 +01:00
Marek Safar 8063eb0963 Remove broken profile files 2013-02-12 10:19:10 +01:00
Rodrigo Kumpera 9b9effd98a Kill the MOONLIGHT define in System.Runtime.Serialization. 2013-02-11 13:01:10 -05:00
Marek Safar 78318771d5 Update csproj files 2013-02-07 16:34:23 +01:00
Marek Safar a61f1d1c1d ifdef same extension method which exists in 4.5 mscorlib 2012-12-04 18:47:01 +01:00
Atsushi Eno 62bf3c73c5 fix bug #7957: empty dictionary should not be read siblings as content. 2012-10-24 11:57:57 +09:00
Zoltan Varga a4cbf28314 Fix make check PROFILE=net_2_0 in System.Runtime.Serialization. 2012-10-18 12:54:40 +02:00
Martin Baulig ea570f3a76 [WCF,Serialization] Improve and fully implement support for collection types.
* System.Runtime.Serialization/XsdDataContractImporter:
      Check ImportOptions.ReferencedCollectionTypes to determine the proxy type.

* System.ServiceModel.Description/MetadataImporter.cs:
      Very simply implementation of the 'State' property.

* System.ServiceModel.Description/DataContractSerializerMessageContractImporter.cs:
      Use it here.

* Test/Resources/WSDL: Added some sample .wsdl files for the new tests; adding
      these as resources to the test dll.

* Test/System.Runtime.Serialization: Added WsdlHelper.cs,
      XsdDataContractImporterTest2.cs and XsdDataContractExportTest2.cs
2012-10-09 23:04:08 +02:00
Marek Safar 6ed3d8f113 Upadte csproj files 2012-09-26 18:11:24 +01:00
Martin Baulig e5e80eeae1 [#7299][Serialization]: Fixed and improved collection serialization.
* Implement "Interchangeable Collections" and Collection Interface Types.
  (see http://msdn.microsoft.com/en-us/library/aa347850.aspx)

* Add element type check for arrays.

* Identify custom collection types (must have a public parameterless
  constructor and an "Add" method with the correct argument type) and
  distinguish them from types which implement one or more of the
  collection interfaces without being a custom collection type.

* Add some checks for [CollectionDataContract].

* Added some NUnit tests for that.
2012-09-25 03:23:19 +02:00
Marek Safar 2d2796f07b Fix System.Core reference in VS projects 2012-06-26 13:26:56 +01:00
Marek Safar a97b3ca8f0 Update VS project files 2012-06-26 13:26:55 +01:00
Marek Safar 0201ee4db6 Fix more failing tests 2012-06-07 12:19:58 +01:00
Vinicius Jarina b7b6bbea57 Added unit test for the bug #242 2012-05-30 16:03:02 -03:00
Vinicius Jarina 82570e8ac9 Fix issue #242 DataContractSerializer fails to deserialize List<T> properties 2012-05-30 16:03:01 -03:00