Commit Graph
90 Commits
Author SHA1 Message Date
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
Zoltan Varga 9899a5f249 Change some usages of ArrayList to List<T> to avoid calls to the slow ArrayList.ToArray(Type) method. 2011-01-06 13:11:56 +01:00
Gonzalo Paniagua Javier eb2a5490f2 Adapt to new exception in threadpool behavior.
Since an exception in the threadpool can kill the application,
	silently ignore it when we know it is not harmful.
2010-08-11 13:15:39 -04:00
Zoltan Varga 6c43fcfc60 Fix a warning.
svn path=/trunk/mcs/; revision=155699
2010-04-19 08:41:28 +00:00
Marek Safar d02179ed24 Warnings cleanup
svn path=/trunk/mcs/; revision=149459
2010-01-13 13:14:15 +00:00
Miguel de Icaza 3c39ac4586 Jumbo patch for NET_2_0, mscorlib is now clean
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Kornél Pál 3b2b8116a1 CrossAppDomainChannel.cs: Make _ContextID an object that fixes bug #422491.
svn path=/trunk/mcs/; revision=120355
2008-12-01 14:52:19 +00:00
Marek Safar 06f75c9b40 Put back _ContextID
svn path=/trunk/mcs/; revision=112274
2008-09-04 12:39:43 +00:00
Marek Safar cc9c53a109 Warnings cleanup
svn path=/trunk/mcs/; revision=111713
2008-08-27 15:40:13 +00:00
Andreas N d5881ce9a8 2008-07-02 Andreas Nahr <[email protected]>
* IChannelReceiver.cs:
	* ClientChannelSinkStack.cs:
	* ChannelDataStore.cs: Fix parameter names

svn path=/trunk/mcs/; revision=107100
2008-07-02 21:43:24 +00:00
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