Commit Graph
80 Commits
Author SHA1 Message Date
Atsushi Eno 161dedcd31 2007-08-22 Atsushi Enomoto <[email protected]>
* ChannelServices.cs : implement ensureSecurity support in
	  RegisterChannel(IChannel,bool). Note that we don't have secure
	  channels in Sys.Runtime.Remoting.dll yet.

	* ChannelServicesTest.cs : new test fixture.

	* corlib_test.dll.sources : added ChannelServicesTest.cs.


svn path=/trunk/mcs/; revision=84605
2007-08-22 10:36:47 +00:00
Atsushi Eno 854b977d68 a set of cosmetic part of 2.0 remoting API fixes.
svn path=/trunk/mcs/; revision=84134
2007-08-15 05:47:35 +00:00
Atsushi Eno 936dfc332b clearing ComVisibleAttribute noises in 2.0 API.
svn path=/trunk/mcs/; revision=81245
2007-07-03 12:28:53 +00:00
Robert Jordan 77920dff63 2007-06-05 Robert Jordan <[email protected]>
* ChannelServices.cs (CreateClientChannelSinkChain):
	Provide the URI when channel data is not IChannelDataStore,
	otherwise the channels won't be able to obtain the URI.
	Fixes #81811.


svn path=/trunk/mcs/; revision=78667
2007-06-05 19:39:16 +00:00
Lluis Sanchez 5bd76c1d73 2007-02-12 Lluis Sanchez Gual <[email protected]>
* ChannelServices.cs: Added conditional calling of StartListener,
	  to keep old software compatible with mono.


svn path=/trunk/mcs/; revision=72665
2007-02-12 15:49:53 +00:00
Lluis Sanchez c6c003744f 2006-12-18 Lluis Sanchez Gual <[email protected]>
* ChannelServices.cs: Don't call StartListening for registered
	  channels (MS.NET doesn't do it).


svn path=/trunk/mcs/; revision=69703
2006-12-19 01:17:33 +00:00
Lluis Sanchez 8e5a32897d Fix typo.
svn path=/trunk/mcs/; revision=68316
2006-11-22 01:48:42 +00:00
Lluis Sanchez 3c1c605b5e 2006-11-22 Lluis Sanchez Gual <[email protected]>
* ChannelServices.cs: Then creating a client sink chain by calling
	  CreateMessageSink, provide a null URL if there is channel data.
	  Needed because some third party channels check for a null URL before
	  looking into the channel data.


svn path=/trunk/mcs/; revision=68314
2006-11-22 01:16:34 +00:00
Miguel de Icaza 8a1af5fd38 2006-11-16 Miguel de Icaza <[email protected]>
* DirectoryInfo.cs (GetFiles): Implement option with SearchOptions
	== AllDirectories

And a lot of MonoTODOs updated as well


svn path=/trunk/mcs/; revision=67998
2006-11-16 14:14:01 +00:00
Gert Driesen 60722a8bf8 * CrossAppDomainChannel.cs: Fixed line endings. Set eol-style to native.
svn path=/trunk/mcs/; revision=66923
2006-10-24 15:34:47 +00:00
Miguel de Icaza e048674661 Two more small patches to build Phalanger PHP compiler
svn path=/trunk/mcs/; revision=62936
2006-07-24 23:17:59 +00:00
Miguel de Icaza 9a316029f9 Two more small patches to build Phalanger PHP compiler
svn path=/trunk/mcs/; revision=62934
2006-07-24 22:54:42 +00:00
Robert Jordan 278c92941f 2005-11-05 Robert Jordan <[email protected]>
* ISecurableChannel.cs: Added.


svn path=/trunk/mcs/; revision=52624
2005-11-06 13:23:51 +00:00
Lluis Sanchez ffb37a20b1 2005-10-17 Lluis Sanchez Gual <[email protected]>
* ChannelServices.cs: RegisteredChannels should not include the
	hidden cross app domain channel. Fixes bug #76454. 


svn path=/trunk/mcs/; revision=51800
2005-10-17 12:20:17 +00:00
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Lluis Sanchez 7a439e8066 2005-06-01 Lluis Sanchez Gual <[email protected]>
* TransportHeaders.cs: This collection turns out to be case insensitive
	AND culture insensitive.


svn path=/trunk/mcs/; revision=45300
2005-06-01 15:49:33 +00:00
Lluis Sanchez 4453c8a2ff 2005-05-31 Lluis Sanchez Gual <[email protected]>
* TransportHeaders.cs: This collection turns out to be case insensitive.


svn path=/trunk/mcs/; revision=45269
2005-05-31 20:04:47 +00:00
Raja R Harinath e0cfa4925e Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)


svn path=/trunk/mcs/; revision=44558
2005-05-16 12:23:26 +00:00
Zoltan Varga a4f4469e03 2005-03-10 Zoltan Varga <[email protected]>
* CrossAppDomainChannel.cs: Remove call to ResetDataStoreStatus ().

svn path=/trunk/mcs/; revision=41652
2005-03-10 16:24:28 +00:00
Lluis Sanchez bb8f939efd * CrossAppDomainChannel.cs: Added getter for the target domain Id.
svn path=/trunk/mcs/; revision=35961
2004-11-10 11:50:45 +00:00
Lluis Sanchez ff5c907233 * CrossAppDomainChannel.cs: In CreateMessageSink, ignore the url
parameter, it is not needed.

svn path=/trunk/mcs/; revision=34468
2004-09-28 08:16:41 +00:00
Raja R Harinath 97553bb62e cvs ignores, sorry about the spam
svn path=/trunk/mcs/; revision=33874
2004-09-14 09:59:51 +00:00
Lluis Sanchez 56b8f97ad6 * ChannelServices.cs: In RegisterChannel, ignore name colisions if the
channel name is "". This fixes bug #61592.

svn path=/trunk/mcs/; revision=31172
2004-07-15 09:43:56 +00:00
Lluis Sanchez 8b677cc9ec * ChannelServices.cs: In UnregisterChannel, look for registered channels
using reference compares.

svn path=/trunk/mcs/; revision=30671
2004-07-02 14:08:17 +00:00
Gert Driesen b301575dd6 * TransportHeaders.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29634
2004-06-15 18:40:13 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Lluis Sanchez 7a4f5a1080 * ChannelServices.cs: ExceptionFilterSink should be internal.
svn path=/trunk/mcs/; revision=29194
2004-06-10 14:56:27 +00:00
Lluis Sanchez 94ede21d42 * AggregateDictionary.cs: Moved to System.Runtime.Remoting.Channels
namespace.
	* BaseChannelObjectWithProperties.cs: format.
	* BaseChannelWithProperties.cs: Implemented.

svn path=/trunk/mcs/; revision=27319
2004-05-13 23:40:11 +00:00
Lluis Sanchez 96b8f0bb74 * ChannelServices.cs: Configure delayed load channels when a chanel lookup
fails.

svn path=/trunk/mcs/; revision=27101
2004-05-11 13:25:21 +00:00
Lluis Sanchez 2ddb1c0348 * ChannelServices.cs: Implemented partial support for CustomErrors
configuraiton option.

svn path=/trunk/mcs/; revision=26005
2004-04-26 18:36:04 +00:00
Lluis Sanchez 404ff940ef * GetChannelSinkProperties.cs: Implemented GetChannelSinkProperties().
* ServerDispatchSink.cs: Removed some TODOs.
	* AggregateDictionary.cs: Added.

svn path=/trunk/mcs/; revision=20134
2003-11-17 20:35:55 +00:00
Lluis Sanchez e8c214fd18 * ChannelServices.cs: Removed some TODOs. Implemented AsyncDispatchMessage.
svn path=/trunk/mcs/; revision=20082
2003-11-16 22:13:49 +00:00
Lluis Sanchez 33dee9905b ChannelServices.cs: Catch errors when creating configured channels.
svn path=/trunk/mcs/; revision=19942
2003-11-13 16:50:56 +00:00
Lluis Sanchez 15038483fb * ChannelServices.cs: Added support for creating channels from configuration
files. Added some locks.
	* SinkProviderData.cs: Implemented.

svn path=/trunk/mcs/; revision=19886
2003-11-12 15:30:01 +00:00
Lluis Sanchez f2f83ab1a6 * CrossAppDomainChannel.cs: Implemented support for async calls.
* ClientChannelSinkStack.cs, ServerDispatchSinkProvider.cs: Removed some TODOs

svn path=/trunk/mcs/; revision=19803
2003-11-11 00:59:49 +00:00
Zoltan Varga bc788c5b07 2003-11-01 Zoltan Varga <[email protected]>
* CrossAppDomainChannel.cs (SyncProcessMessage): Use the new
	InvokeInDomain function instead of calling SetDomain.

svn path=/trunk/mcs/; revision=19525
2003-11-01 18:15:49 +00:00
Lluis Sanchez aa1eeeea39 * CrossAppDomainChannel.cs: Before the domain switch, save and reset
thread's datastore. Restore it on return. This fixes bug #49774.

svn path=/trunk/mcs/; revision=19338
2003-10-23 11:34:21 +00:00
Lluis Sanchez 6d12ea30d8 * ChannelServices.cs: Call context management moved to RemotingServices.
svn path=/trunk/mcs/; revision=18039
2003-09-11 23:40:57 +00:00
Lluis Sanchez a746d73296 * ClientChannelSinkStack.cs: Implemented DispatchException.
svn path=/trunk/mcs/; revision=17577
2003-08-25 11:23:33 +00:00
Lluis Sanchez cfcea8822b * ChannelServices.cs: Set call context info for the incoming
remote call, and restore the context after the call.

svn path=/trunk/mcs/; revision=17339
2003-08-14 19:38:30 +00:00
Duncan Mak 4bcbe166d0 * TransportHeaders.cs: Added Serializable attribute.
* ClientChannelSinkStack.cs: Added no-param constructor.

* ContextAttribute.cs: Removed constructor.

* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.

* BinaryFormatter.cs (WriteBinaryHeader): changed from public to
private.

* Formatter.cs (WriteSByte): Added CLSCompliant attribute.

svn path=/trunk/mcs/; revision=16785
2003-07-28 19:48:38 +00:00
Lluis Sanchez dd602fcc13 * ChannelServices.cs: Implemented GetChannel() and GetUrlsForObject()
svn path=/trunk/mcs/; revision=16479
2003-07-21 12:16:23 +00:00
Lluis Sanchez b96d07f2cc * ChannelDataStore.cs: renamed some members to match MS.NET.
* ChannelServices.cs: renamed ChannelInfoStore an its members to match MS.NET.
	* CrossAppDomainChannel.cs: Renamed CrossAppDomainChannelData to match MS.NET.
	  Added processId property to CrossAppDomainData. Now it is checked in CreateSink.

svn path=/trunk/mcs/; revision=13477
2003-04-10 16:29:13 +00:00
Gonzalo Paniagua Javier b3e576e72f 2003-03-15 Lluis Sanchez Gual <[email protected]>
* System/AppDomain.cs:
	* System.Runtime.Remoting/RemotingServices.cs:
	* System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs: fixes bugs
	#39380 and #39331.

svn path=/trunk/mcs/; revision=12542
2003-03-15 16:34:21 +00:00
Lluis Sanchez ae2aa396a8 * ChannelServices.cs: Minor corrections.
* CrossAppDomainChannel.cs: Context is now restored when exiting the domain.

svn path=/trunk/mcs/; revision=12136
2003-03-03 16:40:35 +00:00
Lluis Sanchez c99ad0afa1 * ChannelServices.cs: Added static property for getting the CrossContextChannel.
svn path=/trunk/mcs/; revision=11724
2003-02-19 12:37:19 +00:00
Lluis Sanchez 36b567c8c9 * ChannelServices.cs: Added new constructor in ChannelInfoStore, that is used by
ObjRef to create a ChannelInfoStore with user provided channel info.

svn path=/trunk/mcs/; revision=11293
2003-02-07 11:14:23 +00:00
Lluis Sanchez 53653fa9f7 CrossAppDomainChannel.cs: Corrected CADSerializer.DeserializeMessage.
Now it uses the method DeserializeMethodResponse to deserialize the message when the msg is provided.

svn path=/trunk/mcs/; revision=11221
2003-02-05 01:20:23 +00:00
Lluis Sanchez 1a2726468d ChannelServices.cs: Modified to work with new types of identities.
svn path=/trunk/mcs/; revision=11197
2003-02-04 12:52:48 +00:00
Patrik Torstensson 740b00069e 2003-02-03 Patrik Torstensson
* CrossAppDomainChannel.cs: Implemented cross appdomain marshalling via cross
	app domain messages (smuggling objects between domains)

svn path=/trunk/mcs/; revision=11162
2003-02-03 11:37:44 +00:00