Commit Graph
56 Commits
Author SHA1 Message Date
Atsushi Eno 4a4e0ecb23 2009-09-17 Atsushi Enomoto <[email protected]>
* WebScriptServiceHostFactory.cs : do tasks in previous change only
	  if it is done under ASP.NET environment.


svn path=/trunk/mcs/; revision=142127
2009-09-17 18:09:09 +00:00
Atsushi Eno 7dcf3d38a6 2009-09-17 Atsushi Enomoto <[email protected]>
* UriTemplateTable.cs : do not raise an error when MatchSingle() did
	  not result in any match. Match methods should reject empty table.

	* UriTemplateTableTest.cs : new test file.

	* System.ServiceModel.Web_test.dll.sources :
	  added UriTemplateTableTest.cs.


svn path=/trunk/mcs/; revision=142114
2009-09-17 14:44:26 +00:00
Atsushi Eno 0431791d2b 2009-09-15 Atsushi Enomoto <[email protected]>
* SyndicationElementExtension.cs : make it ready for 2.1 build.


svn path=/trunk/mcs/; revision=141983
2009-09-15 18:58:08 +00:00
Atsushi Eno 437ac6f7c7 2009-09-15 Atsushi Enomoto <[email protected]>
* JsonWriter.cs : use Stream as its output directly and avoid
	  extraneous preamble output. Fix interop with .NET.


svn path=/trunk/mcs/; revision=141934
2009-09-15 09:34:51 +00:00
Atsushi Eno b7b8e92332 2009-09-15 Atsushi Enomoto <[email protected]>
* WebHttpBehaviorTest.cs : enable working test.


svn path=/trunk/mcs/; revision=141927
2009-09-15 06:45:12 +00:00
Atsushi Eno f7306fc799 2009-09-07 Atsushi Enomoto <[email protected]>
* DataContractJsonSerializerTest.cs : fix non-datacontract
	  serialization test. It depended on IPAddress field internals
	  (runtime serialization incompatibility).


svn path=/trunk/mcs/; revision=141412
2009-09-07 09:47:23 +00:00
Atsushi Eno 559e9dc912 2009-09-07 Atsushi Enomoto <[email protected]>
* JsonReaderWriterFactory.cs : check null stream (fix test failure).


svn path=/trunk/mcs/; revision=141411
2009-09-07 09:46:09 +00:00
Atsushi Eno 1eb212f5cf 2008-09-07 Atsushi Enomoto <[email protected]>
* UriTemplate.cs, UriTemplateMatch.cs : add support for wildcard.

	* UriTemplateTest.cs : add test for wildcard.


svn path=/trunk/mcs/; revision=141410
2009-09-07 08:58:58 +00:00
Atsushi Eno d8cd2bea1a 2008-09-07 Atsushi Enomoto <[email protected]>
* UriTemplate.cs : implement IsEquivalentTo().
	* UriTemplateEquivalenceComparer.cs : implement.

	* UriTemplateEquivalenceComparerTest.cs : new test.

	* System.ServiceModel.Web_test.dll.sources :
	  added UriTemplateEquivalenceComparerTest.cs.


svn path=/trunk/mcs/; revision=141409
2009-09-07 08:21:16 +00:00
Atsushi Eno 401f5e15eb 2008-09-07 Atsushi Enomoto <[email protected]>
* UriTemplate.cs : add BindByName() overloads with Dictionary.


svn path=/trunk/mcs/; revision=141408
2009-09-07 08:09:13 +00:00
Atsushi Eno bc0a1d8633 2008-09-07 Atsushi Enomoto <[email protected]>
* UriTemplate.cs : implemented Defaults and IgnoreTrailingSlash.

	* UriTemplateTest.cs :
	  added tests for IgnoreTrailingSlash and Defaults.


svn path=/trunk/mcs/; revision=141405
2009-09-07 07:57:48 +00:00
Atsushi Eno f469ce8ab5 2009-09-07 Atsushi Enomoto <[email protected]>
* UriTemplateTest.cs : fixed a couple of tests to match 3.5 SP1
	  behavior.

	* UriTemplate.cs : Fixed a couple of parse/match behavior to match
	  3.5 SP1 (except for Defaults which misses implementation).


svn path=/trunk/mcs/; revision=141403
2009-09-07 07:03:15 +00:00
Atsushi Eno 39fa97993e 2009-09-07 Atsushi Enomoto <[email protected]>
* Rss20FeedFormatter.cs, CategoriesDocument.cs,
	  AtomPub10ServiceDocumentFormatter_1.cs,
	  AtomPub10CategoriesDocumentFormatter.cs,
	  AtomPub10ServiceDocumentFormatter.cs : a couple of corcompare fixes.


svn path=/trunk/mcs/; revision=141401
2009-09-07 04:55:14 +00:00
Atsushi Eno 5091bf6144 2009-09-04 Atsushi Enomoto <[email protected]>
* OutgoingWebResponseContext.cs : add missing methods.


svn path=/trunk/mcs/; revision=141317
2009-09-04 10:43:30 +00:00
Atsushi Eno 62776aadf3 2009-09-04 Atsushi Enomoto <[email protected]>
* WebScriptServiceHostFactory.cs : endpoints are automatically added
	  and if they are added through configuration, it is an error
	  (as documented).


svn path=/trunk/mcs/; revision=141294
2009-09-04 07:45:49 +00:00
Atsushi Eno f8705002b6 2009-09-02 Atsushi Enomoto <[email protected]>
* WebMessageFormatter.cs : it was not returning value with correct
	  wrapper name/namespace. Fix interop with .NET client.


svn path=/trunk/mcs/; revision=141121
2009-09-02 11:41:43 +00:00
Atsushi Eno fb98aedb8e 2009-09-02 Atsushi Enomoto <[email protected]>
* WebMessageEncodingBindingElement.cs : implement GetProperty<T>().


svn path=/trunk/mcs/; revision=141119
2009-09-02 11:16:45 +00:00
Atsushi Eno b231dcede6 2009-09-02 Atsushi Enomoto <[email protected]>
* WebMessageFormatter.cs : Made the same prohibition for dispatch
	  formatters too. Support WebMessageBodyStyle on dispatcher side too.


svn path=/trunk/mcs/; revision=141117
2009-09-02 11:04:52 +00:00
Atsushi Eno d64b10b0c7 2009-09-02 Atsushi Enomoto <[email protected]>
* WebHttpBehavior.cs : now message formatters are pairs of request/
	  reply formatters.

	* WebMessageFormatter.cs : override some serialization methods as
	  prohibited.

	* WebHttpBehaviorTest.cs : some message formatters tests.


svn path=/trunk/mcs/; revision=141112
2009-09-02 10:35:08 +00:00
Atsushi Eno 36942bc07b 2009-09-02 Atsushi Enomoto <[email protected]>
* WebHttpDispatchOperationSelector.cs : use common extension method.
	* WebMessageFormatter.cs : support WebMessageBodyStyle(.Wrapped*).
	  Cache serializers.


svn path=/trunk/mcs/; revision=141102
2009-09-02 08:53:30 +00:00
Atsushi Eno 0504367a09 2009-09-02 Atsushi Enomoto <[email protected]>
* Makefile : use System.Core.


svn path=/trunk/mcs/; revision=141101
2009-09-02 08:48:19 +00:00
Atsushi Eno 2f38d535fb 2009-09-02 Atsushi Enomoto <[email protected]>
* WebHttpBehavior.cs : BodyStyle is operation specific.


svn path=/trunk/mcs/; revision=141100
2009-09-02 08:47:23 +00:00
Atsushi Eno ec2607604c 2009-09-02 Atsushi Enomoto <[email protected]>
* JsonQueryStringConverterTest.cs : comment out one cosmetic case
	  that is not working under .NET.


svn path=/trunk/mcs/; revision=141099
2009-09-02 08:44:31 +00:00
Atsushi Eno bdc9b8e0aa 2009-09-01 Atsushi Enomoto <[email protected]>
* WebHttpBehavior.cs : on validation, check wrapped parameter style.


svn path=/trunk/mcs/; revision=141044
2009-09-01 13:11:17 +00:00
Atsushi Eno e0606b9a87 2009-09-01 Atsushi Enomoto <[email protected]>
* WebOperationContext.cs : Current is automatically created (even
	  without WebHttpBehavior or WebChannelFactory).
	* IncomingWebRequestContext.cs, IncomingWebResponseContext.cs:
	  WebOperationContext could be created regardless of whether it is
	  request or not. So do not premise incoming members existence.

	* WebOperationContextTest.cs : new test.
	* WebInvokeAttributeTest.cs : new test, not working.

	* System.ServiceModel.Web_test.dll.sources :
	  added WebOperationContextTest.cs.


svn path=/trunk/mcs/; revision=141005
2009-09-01 07:07:30 +00:00
Atsushi Eno 760543f402 2009-08-11 Atsushi Enomoto <[email protected]>
* WebChannelFactory.cs : added missing constructors.


svn path=/trunk/mcs/; revision=139699
2009-08-11 11:08:13 +00:00
Atsushi Eno e4b8b41c57 2009-08-06 Atsushi Enomoto <[email protected]>
* WebScriptEnablingBehavior.cs : revert GetQueryStringConverter().
	  (MSDN missing entry issue.)


svn path=/trunk/mcs/; revision=139461
2009-08-06 03:39:11 +00:00
Atsushi Eno 14c172a9e2 2009-08-05 Atsushi Enomoto <[email protected]>
* WebHttpBehavior.cs, WebScriptEnablingBehavior.cs :
	  implemented properties as in documented way.
	  Remove extra derived GetQueryStringConverter().


svn path=/trunk/mcs/; revision=139395
2009-08-05 09:54:14 +00:00
Atsushi Eno 17c5d00055 2009-08-05 Atsushi Enomoto <[email protected]>
* WebHttpBehavior.cs, WebScriptEnablingBehavior.cs :
	  mostly implemented Validate().


svn path=/trunk/mcs/; revision=139394
2009-08-05 09:28:31 +00:00
Atsushi Eno fb60368a09 2009-07-28 Atsushi Enomoto <[email protected]>
* OutgoingWebRequestContext.cs : implement.

	* WebMessageFormatter.cs : apply OutgoingRequest if available.


svn path=/trunk/mcs/; revision=138782
2009-07-28 03:21:20 +00:00
Jb Evain 875472ae3a add monotouch sources files
svn path=/trunk/mcs/; revision=138222
2009-07-20 15:59:30 +00:00
Jb Evain 7d441b75f6 2009-07-20 Jb Evain <[email protected]>
* Makefile: filter the valid profile on the framework version,
	to make it easier to have custom variants.


svn path=/trunk/mcs/; revision=138203
2009-07-20 09:06:08 +00:00
Marek Safar 6f1d5e5874 More work on 4.0 profile
svn path=/trunk/mcs/; revision=135454
2009-06-04 16:56:17 +00:00
Sebastien Pouliot 1afdb9c729 2009-04-22 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.ServiceModel.Web.dll.sources: Remove the common
	Const, Locale and MonoTODO since we can now get them from mscorlib.dll


svn path=/trunk/mcs/; revision=132407
2009-04-22 21:32:30 +00:00
Atsushi Eno a7cbc14542 2009-04-15 Atsushi Enomoto <[email protected]>
* ServiceDocument.cs : remove Utility class. It is not precise
	  implementation to write extensions.
	* ServiceDocumentFormatter.cs : virtual extension writer methods
	  should call possibly overriden Write[Element/Attribute]Extensions()
	  in possibly derived document item classes.
	  Implemented LoadElementExtensions().
	* AtomPub10CategoriesDocumentFormatter.cs,
	  AtomPub10ServiceDocumentFormatter.cs : Implemented GetSchema().

	* AtomPub10CategoriesDocumentFormatterTest.cs,
	  AtomPub10ServiceDocumentFormatterTest.cs : aded GetSchema() and
	  WriteElementExtensions() tests.


svn path=/trunk/mcs/; revision=131737
2009-04-15 08:18:12 +00:00
Atsushi Eno 7dd3ce9331 2009-04-06 Atsushi Enomoto <[email protected]>
* ServiceDocumentFormatter.cs
	  Workspace.cs
	  Atom10FeedFormatter.cs
	  AtomPub10ServiceDocumentFormatter.cs
	  ResourceCollectionInfo.cs
	  CategoriesDocument.cs
	  ServiceDocument.cs : implemented most of reader parts.

	* AtomPub10ServiceDocumentFormatterTest.cs : add ReadFrom() test.


svn path=/trunk/mcs/; revision=131133
2009-04-06 16:43:50 +00:00
Atsushi Eno b3852bc8a5 2009-04-06 Atsushi Enomoto <[email protected]>
* Workspace.cs, ResourceCollectionInfo.cs,
	  CategoriesDocument.cs, ServiceDocument.cs : use common internal
	  SyndicationExtension class for extensions.


svn path=/trunk/mcs/; revision=131111
2009-04-06 12:37:50 +00:00
Atsushi Eno 3d7552a35f 2009-04-06 Atsushi Enomoto <[email protected]>
* AtomPub10CategoriesDocumentFormatter.cs, Atom10FeedFormatter.cs,
	  CategoriesDocument.cs : ongoing implementation (handle categories).

	* AtomPub10CategoriesDocumentFormatterTest.cs : new test.
	* AtomPub10ServiceDocumentFormatterTest.cs : add reader tests.

	* System.ServiceModel.Web_test.dll.sources : added
	  AtomPub10CategoriesDocumentFormatterTest.


svn path=/trunk/mcs/; revision=131105
2009-04-06 10:37:45 +00:00
Atsushi Eno 44bbb1719b 2009-04-03 Atsushi Enomoto <[email protected]>
* ServiceDocumentFormatter.cs
	  Workspace.cs
	  AtomPub10ServiceDocumentFormatter.cs
	  ResourceCollectionInfo.cs
	  CategoriesDocument.cs
	  ServiceDocument.cs : ongoing implementation.

	* System.ServiceModel.Web_test.dll.sources : added
	  ServiceDocumentTest and AtomPub10ServiceDocumentFormatterTest.


svn path=/trunk/mcs/; revision=130991
2009-04-03 17:35:11 +00:00
Atsushi Eno dedaea465d add MIT lines.
svn path=/trunk/mcs/; revision=130955
2009-04-03 09:23:11 +00:00
Atsushi Eno 65d54b9889 2009-04-03 Atsushi Enomoto <[email protected]>
* ServiceDocumentFormatter.cs
	  InlineCategoriesDocument.cs
	  AtomPub10ServiceDocumentFormatter_1.cs
	  Workspace.cs
	  AtomPub10CategoriesDocumentFormatter.cs
	  ReferencedCategoriesDocument.cs
	  CategoriesDocumentFormatter.cs
	  AtomPub10ServiceDocumentFormatter.cs
	  ResourceCollectionInfo.cs
	  CategoriesDocument.cs
	  ServiceDocument.cs : stubs (new in 3.5 SP1).

	* System.ServiceModel.Web.dll.sources : added 3.5 SP1 atompp stuff.


svn path=/trunk/mcs/; revision=130946
2009-04-03 08:20:01 +00:00
Andreia Gaita ae2770b9c3 2009-03-13 Andreia Gaita <[email protected]>
* JsonReader.cs: fix depth calculation
	* JsonReaderTest.cs: test for skip and depth (if depth fails, skip is affected)

svn path=/trunk/mcs/; revision=129240
2009-03-13 03:09:30 +00:00
Geoff Norton a1f68e10a2 whoops
svn path=/trunk/mcs/; revision=129238
2009-03-13 01:09:50 +00:00
Geoff Norton e26db4576d 2009-03-12 Geoff Norton <[email protected]>
* TypeMap.cs: Avoid checking the getter/setter information until after
        checking if we have the required attribute decorated.

svn path=/trunk/mcs/; revision=129232
2009-03-13 00:09:51 +00:00
Andreia Gaita 4302acae88 2009-03-12 Andreia Gaita <[email protected]>
* JsonReaderWriterFactory.cs: try to auto-detect encoding for streams
	without BOM

svn path=/trunk/mcs/; revision=129226
2009-03-12 23:40:03 +00:00
Chris Toshok 53fd125cbe In System.Runtime.Serialization/System.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
	has HasValue.

In System.XML/System.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
	EntityResolvingXmlReader.cs: 2.1 has HasValue.


In System.XML/Mono.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* SubtreeXmlReader.cs, XmlFilterReader.cs: 2.1 has HasValue.

In System.Xml.Linq/System.Xml.Linq:
2009-03-02  Chris Toshok  <[email protected]>

	* XNodeReader.cs: 2.1 has HasValue.

In System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-03-02  Chris Toshok  <[email protected]>

	* JsonReader.cs: 2.1 has HasValue.


svn path=/trunk/mcs/; revision=128406
2009-03-03 00:44:33 +00:00
Geoff Norton 2ad30c4516 2009-02-19 Geoff Norton <[email protected]>
* Fix the build, these all need to loose this #if guard.

svn path=/trunk/mcs/; revision=127378
2009-02-19 07:09:22 +00:00
Atsushi Eno 78c9e57f94 2009-02-02 Atsushi Enomoto <[email protected]>
* JsonReader.cs : show invalid input character in the error
          message.


svn path=/trunk/mcs/; revision=125341
2009-02-02 12:38:03 +00:00
Atsushi Eno 9359270470 2009-02-02 Atsushi Enomoto <[email protected]>
* TypeMap.cs : in 2.1 do not use non-2.1 CreateInstance().


svn path=/trunk/mcs/; revision=125338
2009-02-02 11:35:56 +00:00
Atsushi Eno 276f8e262c 2009-02-02 Atsushi Enomoto <[email protected]>
* TypeMap.cs : allow get-only collections. Note that they are not
	  always deserializable (in .NET either).

	* DataContractJsonSerializerTest.cs : fixed some tests to match
	  .NET RTM behavior. Added read-only collection case, (but [Ignore]d).


svn path=/trunk/mcs/; revision=125332
2009-02-02 10:50:33 +00:00