185 Commits
Author SHA1 Message Date
Egor Bogatov 51935465ae Delete unused files in BCL (#9288)
The following files in `mcs/class/*.cs` are not used anywhere (*.csproj/*.source).
2018-06-25 11:15:20 +02:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Chris Hamons b044a27fe0 Create xammac_net_4_5 profile for XM 4.5 Unified to remove references to unshippable assmblies 2015-06-18 13:31:04 -05:00
Alex Rønne Petersen 43a0088f3f Remove some leftover old 1.x, 2.x, 3.x profile ifdefs.
We no longer support these profiles so these code paths are dead.
2015-02-03 03:41:14 +01:00
Alexander Köplinger d4d7374efc [bcl] Remove ONLY_1_1 defines from class libs
This is not used anymore.
2015-01-21 17:18:30 +01:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Etienne CHAMPETIER 227b0d1b55 [cleanup] System.Web*: remove TARGET_J2EE
done using unifdef
git grep -l TARGET_J2EE | grep -v ChangeLog | xargs -n1 unifdef -m -UTARGET_J2EE

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2014-12-01 23:57:18 +01:00
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
APS e4620ee888 [FIX] Bug 267: wsdl fails with "Argument is out of range."
This fix bug 267
https://bugzilla.xamarin.com/show_bug.cgi?id=267

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2013-09-20 14:24:59 +02:00
Martin Baulig e5fd73b545 [#6041][WebServices]: Don't crash if an operation doesn't have <wsdl:output>. 2012-09-20 06:33:34 +02:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Ankit Jain 736d225d76 [webservices] Extensions can be unknown XmlElements also, fix.
* class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs:
Extensions can be XmlElement or ServiceDescriptionFormatExtension.
* class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:
(AddExtensionNamespaces): Likewise. Also, ignore namespaces from
XmlElement, as we retain and write them out as-is.
(WriteExtension): Emit the XmlElement as-is.
* class/System.Web.Services/Test/System.Web.Services.Description/ServiceDescriptionTest.cs:
Update to write out the wsdl also.
2011-02-04 01:02:09 +05:30
Jb Evain b2b1e43507 Fix the monodroid and monotouch profile builds 2010-09-08 18:48:36 +02:00
Jb Evain 41f67f6409 Enable the System.Web.Services build for monodroid 2010-09-08 18:48:30 +02:00
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Lluis Sanchez 2adc0863aa 2010-03-03 Lluis Sanchez Gual <[email protected]>
* ServiceDescriptionCollection.cs: When looking for bindings and other
	items, look in the list instead of the namespace table, since the
	collection may have several description documents with the same
	namespace.
	* ProtocolImporter.cs: Same as above. A schemas collection can have
	more than one schema with the same name, so we can use the namespace
	indexer to find schemas.
	* BasicProfileChecker.cs: Added null check.


svn path=/trunk/mcs/; revision=152948
2010-03-03 16:22:56 +00:00
Jb Evain 3008f09da1 fix build
svn path=/trunk/mcs/; revision=150641
2010-02-01 14:34:53 +00:00
Jb Evain ccb97a9136 2010-02-01 Jb Evain <[email protected]>
* SoapProtocolImporter.cs: properly generate the SoapHeader
	attribute on NET_2_0.

svn path=/trunk/mcs/; revision=150632
2010-02-01 13:15:02 +00:00
Miguel de Icaza 9175bdd20a 2009-09-30 Miguel de Icaza <[email protected]>
* ExtensionManager.cs: Initialize the NET_2_0 pieces with
	MonoTouch, but do not register any of the System.Configuration
	depending extensions.

	BuildExtensionImporters, BuildExtensionReflectors: empty methods
	for MOnoTouch.

	* ServiceDescriptionImporter.cs, WebReference.cs: Remove
	codegeneration features for MonoTouch

2009-09-30  Miguel de Icaza  <[email protected]>

	* Methods.cs: Empty extensions for MonoTouch for now.

	* ServerType.cs: On MonoTouch, we do not support HttpGet or
	HttpPost variations yet.

	* SoapExtension.cs: Avoid System.Configuration features.

svn path=/trunk/mcs/; revision=142956
2009-09-30 04:11:38 +00:00
Atsushi Eno 752b91ca2e 2008-12-18 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : /definitions/message/part could omit
	  name attribute and it should not cause null key error.


svn path=/trunk/mcs/; revision=121828
2008-12-19 03:57:03 +00:00
Atsushi Eno a9c2b070ba 2008-12-09 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : reimplemented R2305 that turned out to
	  be wrong on fixing bug #443095 (fixed).

	* 443095.wsdl, WebServicesInteroperabilityTest.cs : added
	  new test for R2305 checker.


svn path=/trunk/mcs/; revision=121095
2008-12-09 13:47:07 +00:00
Atsushi Eno dc51e346bf 2008-10-28 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : use indexer instead of Add() for
	  collected MessagePart table. Fixed bug #434892.


svn path=/trunk/mcs/; revision=117243
2008-10-28 09:32:46 +00:00
Atsushi Eno f0da894969 2008-07-07 Atsushi Enomoto <[email protected]>
* ServiceDescriptionSerializerBase2.cs,
	  ServiceDescriptionSerializerBase.cs : regenerated with the latest
	  sys.xml(.serialization).


svn path=/trunk/mcs/; revision=107373
2008-07-07 11:54:56 +00:00
Atsushi Eno 1dab419f95 2008-07-02 Atsushi Enomoto <[email protected]>
* ProtocolImporter.cs : make event stuff public.


svn path=/trunk/mcs/; revision=107040
2008-07-02 05:38:34 +00:00
Atsushi Eno 29a6d49636 2008-07-01 Atsushi Enomoto <[email protected]>
* BasicProfileChecker.cs : it does not really resolve relative URI in
	  <import> element. It caused error, which should be reported, but
	  .net ignores it. It must be LAMESPEC. Anyways added comments.

	* WebServicesInteroperabilityTest.cs : new test. wsdl with <import>
	  should not result in an error.
	* check-import.wsdl, check-import2.wsdl : test helper files.

	* System.Web.Services_test.dll.sources :
	  added WebServicesInteroperabilityTest.cs.
	* Makefile: updated EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=107006
2008-07-01 20:17:46 +00:00
Atsushi Eno 186f4869c4 2008-07-01 Atsushi Enomoto <[email protected]>
* ServiceDescription.cs : fill RetrievalUrl by string.Empty
	  by default.

	* ServiceDescriptionTest.cs : check RetrievalUrl before/after Read().
	  Sadly it does not provide the actual URL...


svn path=/trunk/mcs/; revision=107004
2008-07-01 20:09:33 +00:00
Atsushi Eno 492ee760e1 2008-07-01 Atsushi Enomoto <[email protected]>
* ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
	  SoapProtocolImporter.cs : make classes partial in 2.0 profile.


svn path=/trunk/mcs/; revision=106980
2008-07-01 13:56:49 +00:00
Vladimir Krasnov 241ad24e2e * ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declaration when non-default binding used, #345449
svn path=/trunk/mcs/; revision=105410
2008-06-10 11:50:43 +00:00
Lluis Sanchez 363ca995f8 * ProtocolImporter.cs: Use the binding name as class name for the
proxy.
* SoapProtocolImporter.cs: Use the element name as field name for soap
  headers. In 2.0, generate a property for accessing the field.

svn path=/trunk/mcs/; revision=99514
2008-04-01 14:22:17 +00:00
Atsushi Eno c721ee4746 2008-02-22 Atsushi Enomoto <[email protected]>
* ProtocolReflector.cs : reverted previous change, which caused
	  several regressions.

	* TypeStubManager.cs : reverted 2007-12-11 change as it caused
	  several regressions.

	* ServiceDescriptionReflectorTest.cs : mark Bug345448() NotWorking.


svn path=/trunk/mcs/; revision=96408
2008-02-22 03:54:18 +00:00
Vladimir Krasnov 3a71efc83c * ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declaration when non-default binding used, #345449
* TypeStubManager.cs: fixed TypeStubInfo ctor, default binding name is wrong, when declared in WebServiceBindingAttribute, but not used. fixes #345448 

svn path=/trunk/mcs/; revision=91075
2007-12-11 08:57:00 +00:00
Gert Driesen f3d1905da9 * SoapProtocolImporter.cs: Only output Required argument for
SoapHeaderAttribute on .NET 1.0, since it is not used in .NET 1.1 and
higher. Avoids numerous warnings when compiling generated code.

svn path=/trunk/mcs/; revision=88644
2007-11-01 13:40:59 +00:00
Atsushi Eno 9192e5f7ef 2007-10-05 Atsushi Enomoto <[email protected]>
* HttpWebClientProtocol.cs : implemented EnableDecompression.

	* WebService.cs : [ComVisible].

	* DiscoveryClientProtocol.cs : [ComVisible]

	* ServiceDescriptionCollection.cs : added missing members.


svn path=/trunk/mcs/; revision=86951
2007-10-05 06:52:27 +00:00
Gert Driesen d6eb48a3c0 * ServiceDescription.cs: Do not require write access to file.
* DiscoveryRequestHandler.cs: Do not require write access to file.

svn path=/trunk/mcs/; revision=85136
2007-08-31 15:23:26 +00:00
Konstantin Triger 8e179a3fe6 set current ServiceDescription to the ConformanceCheckContext
svn path=/trunk/mcs/; revision=77899
2007-05-24 09:49:27 +00:00
Konstantin Triger ed6aafbf02 init context with current checker
svn path=/trunk/mcs/; revision=77721
2007-05-20 14:36:40 +00:00
Atsushi Eno 6a9479d40f 2007-05-11 Atsushi Enomoto <[email protected]>
* ProtocolImporter.cs, ServiceDescriptionImporter.cs : when there
	  is no binding item for a supported protocol in a WSDL, skip such
	  protocol and try next protocol, so that it can match HTTPGET-only
	  WSDLs. Part of fix for #81457.

	* ServiceDescriptionImporterTest.cs : added ignored test for #81457.


svn path=/trunk/mcs/; revision=77240
2007-05-11 13:15:28 +00:00
Atsushi Eno 56befb8af5 2007-05-08 Atsushi Enomoto <[email protected]>
* XmlReturnReader.cs
	  XmlReturnWriter.cs
	  TypeStubManager.cs
	  ServerType.cs
	  SoapServerType.cs
	  Methods.cs
	  HttpSimpleTypeStubInfo.cs
	  HttpGetTypeStubInfo.cs
	  HttpPostTypeStubInfo.cs :
	  I once replaced LogicalTypeInfo with ServerType. It was kind of
	  wrong, since ServerType could be instantiated at any time, while
	  LogicalTypeInfo used to be a singleton per static context.
	  Here I re-introduced LogicalTypeInfo and replaced most of
	  ServerType use with this.

	* HttpSimpleProtocolReflector.cs : ServerType -> LogicalTypeInfo.


svn path=/trunk/mcs/; revision=76968
2007-05-08 19:41:38 +00:00
Adar Wesley 5e4dc3f744 2007-05-07 Adar Wesley <[email protected]>
* ProtocolReflector.cs: added missing method ReflectDescription.
        implementation throws NotImplementedException. (forgot ifdef NET_2_0 in previous commit).


svn path=/trunk/mcs/; revision=76818
2007-05-07 09:32:11 +00:00
Adar Wesley 4b88ed9e56 2007-05-07 Adar Wesley <[email protected]>
* ProtocolReflector.cs: added missing method ReflectDescription.
        implementation throws NotImplementedException.


svn path=/trunk/mcs/; revision=76815
2007-05-07 09:21:52 +00:00
Konstantin Triger 586fedb02d enable looking the documents up by namespace
svn path=/trunk/mcs/; revision=74746
2007-03-21 16:01:49 +00:00
Konstantin Triger 09aeb135e0 fix validation of the R2401 rule
svn path=/trunk/mcs/; revision=74064
2007-03-11 13:31:48 +00:00
Konstantin Triger e9b44ea8e7 make FindAll(Type) consistent with Find(Type)
svn path=/trunk/mcs/; revision=74063
2007-03-11 13:29:42 +00:00
Atsushi Eno eef4be3681 2007-02-28 Atsushi Enomoto <[email protected]>
* ServiceDescriptionSerializeBase2.cs : regenerated with the latest
	  genxs.


svn path=/trunk/mcs/; revision=73528
2007-02-28 08:43:49 +00:00
Konstantin Triger 0b6c785a14 emit conformance claims when required
svn path=/trunk/mcs/; revision=73523
2007-02-28 07:08:10 +00:00
Konstantin Triger 0bb596802e undo r73469
svn path=/trunk/mcs/; revision=73470
2007-02-27 14:43:37 +00:00
Konstantin Triger c3fba7e77c consider empty string as nothing for documentation
svn path=/trunk/mcs/; revision=73469
2007-02-27 14:41:22 +00:00
Konstantin Triger e54f1bcd5c Ensure the schemas are available for validation
svn path=/trunk/mcs/; revision=72354
2007-02-06 14:58:57 +00:00
Konstantin Triger 4cda161b68 * ProtocolReflector.cs: throw if not conformant, but declared to be.
* TypeStubManager.cs, Methods.cs: refactor BindingInfo contruction to contain
	either declared Bindings or a default one.

svn path=/trunk/mcs/; revision=72089
2007-02-01 12:52:47 +00:00