2010-04-01 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel.Channels / ChangeLog
1 2010-04-01  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * FaultConverter.cs : use addressing version from the message.
4
5 2010-03-30  Atsushi Enomoto  <atsushi@ximian.com>
6
7         * FaultConverter.cs : check envelope version, not addressing version.
8
9 2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>
10
11         * FaultConverter.cs : implemented TryCreateException().
12
13 2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>
14
15         * MessageFault.cs : cosmetic method name clarification.
16
17 2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>
18
19         * XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
20           fix BodyWriter buffering that dropped in-scope namespaces and thus
21           caused problem on resolving QNames.
22
23 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
24
25         * FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
26           with certain Exception types.
27
28 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
29
30         * Message.cs : fix explanation on CreateMessage() overloads.
31
32 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
33
34         * MessageFault.cs : Write Subcode element correctly and fix wrong
35           Code/Value/Subcode element relationship. Give better error message.
36
37 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
38
39         * HttpRequestChannel.cs : ok, no need for conditional code path.
40
41 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
42
43         * AddressingVersion.cs : add fault action namespace.
44
45 2010-03-26  Sebastien Pouliot  <sebastien@ximian.com>
46
47         * HttpRequestChannel.cs: There is no WebHeaderCollection.Add 
48         method in SL API
49
50 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
51
52         * MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().
53
54 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
55
56         * HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
57           for fault message.
58
59 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
60
61         * HttpRequestChannel.cs : create HttpResponseMessageProperty.
62
63 2010-03-25  Atsushi Enomoto  <atsushi@ximian.com>
64
65         * HttpRequestContext.cs : removed HTTP status rewriting for
66           commented reason.
67
68 2010-03-25  Atsushi Enomoto  <atsushi@ximian.com>
69
70         * HttpRequestChannel.cs : handle only 4xx errors as to not process
71           content stream.
72
73 2010-03-25  Atsushi Enomoto  <atsushi@ximian.com>
74
75         * MessageFault.cs : do not use SOAP11 namespace for fault contents.
76
77 2010-03-24  Atsushi Enomoto  <atsushi@ximian.com>
78
79         * ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
80           Patch by Matt Dargavel.
81
82 2010-03-24  Atsushi Enomoto  <atsushi@ximian.com>
83
84         * HttpListenerManager.cs : use lock object which is subject to
85           change. Fix by Matt Dargavel.
86
87 2010-03-24  Atsushi Enomoto  <atsushi@ximian.com>
88
89         * HttpListenerManager.cs : remove consumed HttpListenerContext from
90           the pending queue. Compare "wsdl" request in case insensitive
91           manner. Patch by Matt Dargavel.
92
93 2010-03-24  Atsushi Enomoto  <atsushi@ximian.com>
94
95         * HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
96           supposed to provide detailed 400 error message.
97
98 2010-03-24  Atsushi Enomoto  <atsushi@ximian.com>
99
100         * TransactionFlowBindingElement.cs: revamp the previous change to
101           not regress regarding service metadata.
102
103 2010-03-24  Atsushi Enomoto  <atsushi@ximian.com>
104
105         * ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix 
106           GetProperty<T>() bug that fails to retrieve properties. (This may
107           be rewritten later if an ongoing change proposal is to take place.)
108
109 2010-03-18  Atsushi Enomoto  <atsushi@ximian.com>
110
111         * ReliableSessionBindingElement.cs,
112           PrivacyNoticeBindingElement.cs,
113           RemoteEndpointMessageProperty.cs : added some missing types.
114
115 2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>
116
117         * MessageHeaders.cs :
118           why does it filter out most of the headers? kill it.
119
120 2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>
121
122         * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
123           HttpListenerManager.cs : refactoring on acquiring SvcHttpHandler
124           to not raise "not found" error (see bug #573795).
125
126 2010-03-16  Jb Evain  <jbevain@novell.com>
127
128         * HttpRequestChannel.cs, HttpTransportBindingElement.cs: use
129         MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
130
131 2010-03-09  Atsushi Enomoto  <atsushi@ximian.com>
132
133         * HttpListenerManager.cs : For ASP.NET, use correct GenericIdentity
134           type, and use null password unless we find a chance to get password
135           in ASP.NET HttpContext.
136
137 2010-03-03  Atsushi Enomoto  <atsushi@ximian.com>
138
139         * HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
140           HttpListenerManager.cs : ongoing authentication support. It returns
141           401 as expected, but somehow fails to retrieve user info.
142
143 2010-02-10  Atsushi Enomoto  <atsushi@ximian.com>
144
145         * HttpListenerManager.cs : this change (along with HttpListener
146           implementation) somehow fixes basic auth. connection error...
147
148 2010-02-10  Atsushi Enomoto  <atsushi@ximian.com>
149
150         * MessageHeaders.cs : add !NET_2_1.
151
152 2010-02-10  Atsushi Enomoto  <atsushi@ximian.com>
153
154         * MessageHeader.cs, MessageHeaders.cs : add nasty workaround for
155           typed UniqueId output.
156
157 2010-02-10  Atsushi Enomoto  <atsushi@ximian.com>
158
159         * MessageHeader.cs : no need to treat EndpointAddress as a special
160           case here too.
161
162 2010-02-10  Atsushi Enomoto  <atsushi@ximian.com>
163
164         * MessageHeaders.cs : remove duplicate constant.
165
166 2010-02-10  Atsushi Enomoto  <atsushi@ximian.com>
167
168         * MessageHeader.cs, MessageHeaders.cs: MessageHeader does not treat
169           EndpointAddress as a special case. Instead, each MessageHeaders
170           property should convert it to appropriate serializable objects.
171
172           (Our DataContractSerializer fails to reject EndpointAddress as
173           serializable type, so it's rather a preparation step.)
174
175 2010-02-10  Atsushi Enomoto  <atsushi@ximian.com>
176
177         * MessageHeader.cs, Message.cs : use dictionary string whenever
178           applicable. The binary output on #577139 is getting closer (no
179           idea if it is really about binary output though).
180
181 2010-02-10  Atsushi Enomoto  <atsushi@ximian.com>
182
183         * BinaryMessageEncoder.cs : moved soap_dictionary to Constants.
184
185 2010-02-05  Atsushi Enomoto  <atsushi@ximian.com>
186
187         *  HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
188
189 2010-02-05  Atsushi Enomoto  <atsushi@ximian.com>
190
191         *  HttpRequestChannel.cs, HttpTransportBindingElement.cs :
192           enable authentication schemes on monotouch.
193
194 2010-02-04  Atsushi Enomoto  <atsushi@ximian.com>
195
196         * SvcHttpHandler.cs : a wait handle could be used for more than one
197           requests and hence it sometimes blocked one reply channel. Now
198           it creates a wait handle for each ASP.NET request so that such
199           multiple use should not occur. This should fix blocking on
200           concurrent requests (it indeed fixes as long as I can see).
201
202 2010-02-04  Atsushi Enomoto  <atsushi@ximian.com>
203
204         * AspNetReplyChannel.cs : remove garbage output.
205
206 2010-02-04  Atsushi Enomoto  <atsushi@ximian.com>
207
208         * SvcHttpHandler.cs : Use lock when it tries to create the service
209           host.
210
211 2010-02-02  Atsushi Enomoto  <atsushi@ximian.com>
212
213         * SvcHttpHandlerFactory.cs : lock when it tries to acquire
214           HttpHandler.
215
216 2010-02-02  Atsushi Enomoto  <atsushi@ximian.com>
217
218         * HttpListenerManager.cs : add another workaround for blocking
219           concurrent calls.
220
221 2010-02-02  Atsushi Enomoto  <atsushi@ximian.com>
222
223         * HttpListenerManager.cs : small refactoring.
224
225 2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>
226
227         * TcpDuplexSessionChannel.cs : added a workaround receiver delay
228           that somehow makes callback client to not cause infinite loop.
229
230 2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>
231
232         * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
233           DuplexChannelBase.cs : Receive() should rather use TryReceive().
234           It should not be in reverse order.
235
236 2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>
237
238         * HttpReplyChannel.cs, HttpListenerManager.cs :
239           Implement async cancellation in the expected manner (though with
240           some hack). This mostly removed nunit blockers.
241
242 2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>
243
244         * CommunicationObject.cs : fix wrong status changes.
245
246 2010-01-20  Atsushi Enomoto  <atsushi@ximian.com>
247
248         * AddressHeader.cs : XmlSchema.InstanceNamespace didn't exist in 2.1 :(
249
250 2010-01-20  Atsushi Enomoto  <atsushi@ximian.com>
251
252         * AddressHeader.cs : implement remaining bits.
253           Eliminate dependency on NetDataContractSerializer.
254
255 2010-01-20  Atsushi Enomoto  <atsushi@ximian.com>
256
257         * CommunicationObject.cs : in Fault(), do similar work as previous
258           change does.
259
260 2010-01-19  Atsushi Enomoto  <atsushi@ximian.com>
261
262         * CommunicationObject.cs : when process state changes, lock the
263           object to make sure the state transition is valid.
264           Change OnClosed/OnClosing to do the way OnOpened/OnOpening does.
265
266 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
267
268         * MessageHeaders.cs : implement SetAction().
269
270 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
271
272         * ChannelFactoryBase.cs : fix build.
273
274 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
275
276         * ChannelBase.cs : cosmetic API fix for SL3.
277
278 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
279
280         * ChannelFactoryBase.cs :
281           implement On{Begin/End}Close() on the generic type.
282
283 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
284
285         * HttpChannelFactory.cs, TcpChannelFactory.cs,
286           ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
287           PeerChannelFactory.cs, HttpRequestChannel.cs:
288           fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
289           type and made required changes.
290
291 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
292
293         * HttpCookieContainerBindingElement.cs : new.
294         * IHttpCookieContainer.cs : fix type name.
295         * HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
296
297 2010-01-07  Atsushi Enomoto  <atsushi@ximian.com>
298
299         * TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
300           does not happen when communicating with .NET client but happens with
301           mono). Seealso FIXME comment.
302         * TcpDuplexSessionChannel.cs : do not try to close session when it
303           failed to read sized message. The connection is already dead.
304
305           Fixed bug #567949.
306
307 2010-01-07  Atsushi Enomoto  <atsushi@ximian.com>
308
309         * TcpDuplexSessionChannel.cs :
310           Write EndRecord only when the connection is available.
311           Remove hack - do let ChannelDispatcher close the channel.
312         * TcpBinaryFrameManager.cs :
313           The socket may be disconnected when trying to read a sized message,
314           so check some socket exceptions.
315           In case the client silently shuts down without EndRecord and
316           reconnects to the server with preamble while expecting a sized
317           message (which is so lame, but that's what .NET often does), refresh
318           preamble and continue.
319
320           This fixes some cases of bug #567949 but not all.
321
322 2010-01-06  Atsushi Enomoto  <atsushi@ximian.com>
323
324         * BinaryMessageEncoder.cs : enable workaround buffering only when
325           the argument stream does *not* support seek. This fixes some
326           net.tcp connection problem.
327
328 2009-12-26  Atsushi Enomoto  <atsushi@ximian.com>
329
330         * TcpBinaryFrameManager.cs : If preamble byte is not available from
331           the client stream, detect it to close the reply or input channel.
332         * TcpRequestChannel.cs : send preamble at each request time.
333           It differentiates communication behavior on such cases that involve
334           single open and multiple requests.
335         * TcpReplyChannel.cs : close the channel only when the channel is
336           oeprated to close i.e. do not close the socket every time.
337           Process preambles on each request (the same as request channel).
338
339 2009-12-26  Atsushi Enomoto  <atsushi@ximian.com>
340
341         * TcpBinaryFrameManager.cs : unsized envelope record may have more
342           than one data block, so consume them accordingly. This should fix
343           large buffer consumption.
344
345 2009-12-21  Atsushi Enomoto  <atsushi@ximian.com>
346
347         * MessageFault.cs : support EnvelopeVersion.None as well, as almost
348           the same as SOAP12.
349
350 2009-12-17  Atsushi Enomoto  <atsushi@ximian.com>
351
352         * HttpRequestContext.cs : for DestinationUnreachable message, this
353           channel returns 400 in .NET.
354
355 2009-12-16  Atsushi Enomoto  <atsushi@ximian.com>
356
357         * BinaryMessageEncoder.cs : added workaround for strange stream
358           consumption error raised by HttpTransport + Binary encoder example.
359         * BinaryMessageEncodingBindingElement.cs:
360           only SOAP 1.2 is allowed for this encoder.
361
362 2009-12-14  Atsushi Enomoto  <atsushi@ximian.com>
363
364         * XmlReaderBodyWriter.cs : don't try to write empty xml.
365
366 2009-12-10  Atsushi Enomoto  <atsushi@ximian.com>
367
368         * HttpRequestChannel.cs : avoid adding duplicate headers. Basically
369           default WebHeaderCollection items are overwritten.
370
371 2009-12-10  Atsushi Enomoto  <atsushi@ximian.com>
372
373         * HttpRequestChannel.cs : when HTTP response was error, do not try
374           to read message but just raise an error.
375
376 2009-12-10  Atsushi Enomoto  <atsushi@ximian.com>
377
378         * MessageHeaders.cs : null can be set as a WS-Addressing header item.
379
380 2009-12-10  Atsushi Enomoto  <atsushi@ximian.com>
381
382         * HttpRequestChannel.cs : WebException.Response might be null.
383
384 2009-12-04  Atsushi Enomoto  <atsushi@ximian.com>
385
386         * ReplyChannelBase.cs : added listener property.
387         * SecurityChannelListener.cs : quick async impl, as ServiceHost has
388           been updated to prefer async by default, a while ago.
389
390 2009-12-04  Atsushi Enomoto  <atsushi@ximian.com>
391
392         * HttpTransportBindingElement.cs : finished all GetProperty() values.
393
394 2009-12-04  Atsushi Enomoto  <atsushi@ximian.com>
395
396         * HttpRequestChannel.cs : disabled carelessly added
397           "UseDefaultCredentials = false" line. It blocked basic auth.
398
399 2009-12-04  Atsushi Enomoto  <atsushi@ximian.com>
400
401         * HttpRequestChannel.cs, HttpChannelFactory.cs,
402           HttpChannelListener.cs, HttpListenerManager.cs :
403           implemented http client authentication and some of corresponding
404           service code. Only client works so far.
405
406 2009-12-03  Atsushi Enomoto  <atsushi@ximian.com>
407
408         * HttpsTransportBindingElement.cs, HttpChannelListener.cs :
409           added URI scheme check.
410
411 2009-12-03  Atsushi Enomoto  <atsushi@ximian.com>
412
413         * TransportSecurityBindingElement.cs : fix 2.1 build.
414
415 2009-12-03  Atsushi Enomoto  <atsushi@ximian.com>
416
417         * HttpsTransportBindingElement.cs :
418           RequireClientCertificate is false by default.
419           Remove extra #if NET_2_1.
420         * SecurityBindingElement.cs :
421           Implement some transport security factory methods.
422         * TransportSecurityBindingElement.cs :
423           It is not ISecurityCapabilities anymore.
424
425 2009-11-25  Atsushi Enomoto  <atsushi@ximian.com>
426
427         * MessageHeaders.cs
428           SecurityBindingElement.cs
429           LocalClientSecuritySettings.cs
430           TransportSecurityBindingElement.cs
431           FaultConverter.cs : They are now part of SL3 API.
432
433 2009-11-17  Atsushi Enomoto  <atsushi@ximian.com>
434
435         * BinaryMessageEncodingBindingElement.cs : changes for 2.1 build.
436
437 2009-11-05  Geoff Norton  <gnorton@novell.com>
438
439         * HttpsTransportBindingElement.cs: Implement basic https transport
440         binding support for Moonlight and MonoTouch
441
442 2009-10-22  Atsushi Enomoto  <atsushi@ximian.com>
443
444         * HttpListenerManager.cs : remove CWLs.
445
446 2009-10-22  Atsushi Enomoto  <atsushi@ximian.com>
447
448         * SvcHttpHandler.cs : move back previous listener selector code in
449           ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
450           and differentiate requests to deeper paths (such as /jsdebug), so
451           we need such refinement here.
452
453 2009-10-22  Atsushi Enomoto  <atsushi@ximian.com>
454
455         * HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
456           changes.
457
458 2009-10-22  Atsushi Enomoto  <atsushi@ximian.com>
459
460         * SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
461           HttpChannelListener.cs, HttpListenerManager.cs :
462           Similar refactoring on ASP.NET side to the previous one.
463           Added ASP.NET implementation of HttpListenerManager and use some
464           part of it in SvcHttpHandler (ASP.NET stack does not fully make use
465           of the manager yet).
466           Rewrote AspNetReplyChannel to become almost the same as
467           HttpSimpleReplyChannel, to hopefully unify them later.
468           Now it dispatches requests to *.svc for wsdl, help and SOAP as long
469           as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
470           are still broken.
471
472 2009-10-20  Atsushi Enomoto  <atsushi@ximian.com>
473
474         * HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
475           Refactoring on listener manager to correctly handle wsdl and help
476           requests for such case that they conflict in addressing. Now it
477           can correctly distinguish service calls, WSDL requests and help
478           requests when all of them point to "http://localhost/foo.svc"
479           (which is very common case that the user does not change Http*Url).
480
481 2009-10-16  Atsushi Enomoto  <atsushi@ximian.com>
482
483         * ChannelListenerBase.cs : add Properties property to add arbitrary
484           properties handy (only inside this assembly).
485
486 2009-10-16  Atsushi Enomoto  <atsushi@ximian.com>
487
488         * HttpReplyChannel.cs : fix warning.
489
490 2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>
491
492         * HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.
493
494 2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>
495
496         * HttpReplyChannel.cs : make sure to release wait lock.
497         * HttpChannelListener.cs : session channels are not supported, so
498           remove relevant NIEs.
499
500 2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>
501
502         * HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
503         support contexts so we call the non-overloaded WaitOne method 
504         (which defaults to false).
505
506 2009-10-13  Atsushi Enomoto  <atsushi@ximian.com>
507
508         * SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
509           significant rewrite to cooperate wcf handler and asp.net handler
510           to not mix multiple WCF listener within the asp.net handler.
511           So far it mostly works when 1) there are no ChannelDispatchers
512           that have an identical listen Uri and 2) MaxConcurrentSessions is
513           1 (must be explicitly set).
514
515 2009-10-13  Atsushi Enomoto  <atsushi@ximian.com>
516
517         * CommunicationObject.cs : give better state error description.
518
519 2009-10-09  Atsushi Enomoto  <atsushi@ximian.com>
520
521         * CommunicationObject.cs : OnOpening() and OnOpened() require calls
522           to base methods. This resulted in not a few changes everywhere.
523
524 2009-10-07  Atsushi Enomoto  <atsushi@ximian.com>
525
526         * IHttpCookieContainer.cs : new 2.1-only interface (no use).
527
528 2009-10-06  Atsushi Enomoto  <atsushi@ximian.com>
529
530         * SvcHttpHandler.cs : use file path given by the factory to
531           construct BaseAddresses. Requests to "test.svc/jsdebug" should
532           not be handled as request to "jsdebug" file, it's rather an
533           "argument" to "test.svc".
534
535 2009-10-06  Atsushi Enomoto  <atsushi@ximian.com>
536
537         * SvcHttpHandler.cs, HttpChannelListener.cs : some significant
538           rewrite to handle shutdown situation better. The listeners should
539           not close channels that it opened. Instead, just stop accepting
540           further requests. Removed blocking mutex on WaitForRequest().
541           Now xsp shuts down as expected.
542
543 2009-10-06  Atsushi Enomoto  <atsushi@ximian.com>
544
545         * HttpReplyChannel.cs : lock list when releasing its content contexts.
546         * AspNetReplyChannel.cs : send EndRequest() to handler when it is
547           closing.
548
549 2009-10-06  Atsushi Enomoto  <atsushi@ximian.com>
550
551         * SvcHttpHandlerFactory.cs : remove todo.
552         * ReplyChannelBase.cs : add comment.
553
554 2009-10-02  Atsushi Enomoto  <atsushi@ximian.com>
555
556         * HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
557           revert the change, to use internal asp.net state again.
558         * SvcHttpHandler.cs : add VirtualPathExtension.
559
560 2009-10-02  Atsushi Enomoto  <atsushi@ximian.com>
561
562         * HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
563           asp.net response was not written correctly.
564           Fill HttpRequestMessageProperty to get handle WSDL requests
565           processed in ServiceMetadataExtension without NRE.
566           Remove wrong HttpListenerContext iteration at Abort and Close in
567           common base class and move it to non-asp derived channel.
568
569 2009-10-02  Atsushi Enomoto  <atsushi@ximian.com>
570
571         * SvcHttpHandler.cs : remove unused code.
572
573 2009-09-30  Jb Evain  <jbevain@novell.com>
574
575         * HttpRequestChannel.cs: When compiling for MonoTouch, avoid
576         to use any of the remoting features.
577
578 2009-09-30  Atsushi Enomoto  <atsushi@ximian.com>
579
580         * SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
581           use AspNetCompatibilityEnabled.
582         * SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
583           at ServiceHostBase.
584         * AspNetReplyChannel.cs : remove extra field.
585
586 2009-09-29  Atsushi Enomoto  <atsushi@ximian.com>
587
588         * HttpReplyChannel.cs : remove extra field.
589
590 2009-09-29  Atsushi Enomoto  <atsushi@ximian.com>
591
592         * AspNetRequestContext.cs : remove CWL.
593
594 2009-09-29  Atsushi Enomoto  <atsushi@ximian.com>
595
596         * AspNetReplyChannel.cs, AspNetRequestContext.cs : close HttpContext
597           only after AspNetRequestContext is closed. Do not close it
598           immediately after receiving the context. (HttpRuntime destructs it
599           and further uses then becomes impossible.)
600
601 2009-09-29  Atsushi Enomoto  <atsushi@ximian.com>
602
603         * AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
604         * SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
605           Make sure that AspNetChannelListener is bound to correct
606           SvcHttpHandler, regardless of specific request URI. It is required
607           for both WSDL requests and RESTful binding requests.
608
609 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
610
611         * MessageProperties.cs : fix CopyProperties() behavior to not
612           clear existing items. Make all properties call this[name].
613
614 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
615
616         * HttpTransportBindingElement.cs : fix 2.1 build.
617
618 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
619
620         * TransportBindingElement.cs : another GetProperty fix, iterate
621           other binding elements.
622
623 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
624
625         * HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
626           some GetProperty() implementation.
627
628 2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>
629
630         * HttpListenerManager.cs : release HttpListener and avoid extra
631           close process more than once.
632
633 2009-09-11  Atsushi Enomoto  <atsushi@ximian.com>
634
635         * HttpChannelListener.cs : do not iterate channel list to close
636           channels which in turn removes them from the list while iteration.
637
638 2009-09-06  Atsushi Enomoto  <atsushi@ximian.com>
639
640         * HttpRequestChannel.cs : Fix message version member comparison.
641           Double-quote SOAPAction. Remove extra Exception.
642         * HttpReplyChannel.cs : ditto for version comparison. Unquote above.
643         * HttpRequestContext.cs : when addressing is None, remove action
644           from the message.
645
646 2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>
647
648         * SvcHttpHandler.cs : set Uri property based on baseAddresses and
649           path, to pick those endpoints that are added at custom factories.
650
651 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
652
653         * SvcHttpHandler.cs : apply configuration, and if there is still no
654           endpoint, then add default one.
655
656 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
657
658         * SvcHttpHandler.cs : another URL to make relative.
659
660 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
661
662         * SvcHttpHandlerFactory.cs : some GetHandler changes.
663         * SvcHttpHandler.cs : significant changes on receiver structure. Now
664           ProcessRequest() stores pending requests (this might be extraneous,
665           but maybe useful when it implements async handler). Also removed
666           reply_channel field as it may become to handle multiple requests.
667         * HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
668         * AspNetReplyChannel.cs : make it receive requests like
669           HttpReplyChannel (for HttpListener) to make them consistent.
670
671 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
672
673         * AspNetRequestContext.cs, HttpRequestContext.cs :
674           fix NRE on HttpListenerContext for AspNetRequestContext (mismatch)
675           by splitting HttpListener-based context out from common code base.
676
677 2009-09-03  Atsushi Enomoto  <atsushi@ximian.com>
678
679         * SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
680           relative or absolute. new Uri ("/foobar") doesn't work on non-unix
681           environment.
682
683 2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>
684
685         * SvcHttpHandlerFactory.cs : make use of BuildManager aid. Now it
686           loads types from system assemblies appropriately.
687
688 2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>
689
690         * XmlReaderBodyWriter.cs : implement OnCreateBufferedCopy()
691           for XmlReader input.
692
693 2009-09-02  Atsushi Enomoto  <atsushi@ximian.com>
694
695         * HttpRequestMessageProperty.cs : fix default values.
696
697 2009-08-31  Atsushi Enomoto  <atsushi@ximian.com>
698
699         * HttpChannelFactory.cs, HttpRequestChannel.cs,
700           ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
701           Check ManualAddressing value and reject address-missing ones.
702
703 2009-08-31  Atsushi Enomoto  <atsushi@ximian.com>
704
705         * HttpChannelFactory.cs : reject URI mismatch cases when required.
706
707 2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>
708
709         * PeerDuplexChannel.cs : When received Connect() from neighbor,
710           add the peer to its internal list.
711           Finally ChatApplication got working.
712
713 2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>
714
715         * PeerDuplexChannel.cs : since the channel factory is per instance,
716           do not reuse factory that is tied to different callback instance.
717           It resolved the issue that mono callback client didn't receive
718           messages from the client itself.
719
720 2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>
721
722         * PeerDuplexChannel.cs : in the Welcome response, return the NodeId
723           of the receiver, not the requestor. It resolved the issue that
724           .NET client didn't send further messages to mono server.
725
726 2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>
727
728         * PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
729         * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
730           TcpReplyChannel.cs, TcpRequestChannel.cs,
731           NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
732           rename EndRecord handling method to appropriate one.
733           Write EndRecord from recipient too.
734
735 2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>
736
737         * PeerDuplexChannel.cs : add PeerFlooder header (see comment).
738           Process PeerTo header to upgrade Message To header. Now mono
739           service accepts mono client (somehow not true for .NET client).
740
741 2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>
742
743         * TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
744           NamedPipeRequestChannel.cs : no need to add ReplyTo headers.
745
746 2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>
747
748         * PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.
749
750 2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>
751
752         * TcpDuplexSessionChannel.cs : check channel state before processing
753           Send and Receive.
754
755 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
756
757         * NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs,
758           NamedPipeChannelFactory.cs, NamedPipeChannelListener.cs :
759           ongoing works, not working at all yet.
760
761 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
762
763         * TcpChannelListener.cs, TcpReplyChannel.cs :
764           cosmetic cleanup and corrections.
765
766 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
767
768         * TcpChannelFactory.cs : use expected Via uri.
769           Remove extra NIE stuff that are implemented in base.
770
771 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
772
773         * TcpDuplexSessionChannel.cs : remove extra code.
774
775 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
776
777         * PeerDuplexChannel.cs : ongoing implementation towards get callback
778           replies on peer connector clients (not working as duplex client
779           callback is not working yet).
780
781 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
782
783         * TcpDuplexSessionChannel.cs : in callback client channels,
784           OperationContext.IncomingMessageHeaders is null.
785
786 2009-08-20  Atsushi Enomoto  <atsushi@ximian.com>
787
788         * MessageHeaders.cs : duplicate check was sloppy.
789
790 2009-08-18  Atsushi Enomoto  <atsushi@ximian.com>
791
792         * Message.cs, MessageImpl.cs, BodyWriter.cs :
793           Implement BodyWriter.OnCreateBufferedCopy() and use it.
794
795 2009-08-18  Atsushi Enomoto  <atsushi@ximian.com>
796
797         * ReplyChannelBase.cs : initialize field.
798
799 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
800
801         * ReplyChannelBase.cs, DuplexChannelBase.cs, RequestChannelBase.cs:
802           implement GetProperty<T>() and return its channel manager.
803
804 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
805
806         * PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
807           destination address in Connect() request. To repeat sending
808           request, use buffered copy. Set some peer-channel specific
809           header items. (todo: and consume them.)
810
811 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
812
813         * Message.cs : state is set only after WriteBodyContents().
814
815 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
816
817         * MessageHeaders.cs : eliminate wrong use of
818           ReadElementContentAsString() (it is not always simple string).
819
820 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
821
822         * MessageHeaders.cs : when the value is null, do not try to
823           deserialize EndpointAddress.
824
825 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
826
827          * MessageHeader.cs : add Value property. (Forgot dependent change.)
828
829 2009-08-17  Atsushi Enomoto  <atsushi@ximian.com>
830
831          * MessageHeaders.cs : GetHeader<T>() could mostly skip extra
832            serialization and deserialization of values.
833
834 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
835
836         * PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
837           Now simply use connector contract.
838
839 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
840
841         * PeerDuplexChannel.cs : handle Disconnect(). Fix URLs a bit.
842
843 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
844
845         * TcpChannelListener.cs : do not try to compare dead connection's
846           IPEndPoint (it raises an error).
847
848 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
849
850         * MessageHeaders.cs : allow null header value on each specific setter.
851
852 2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
853
854         * DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
855           get local and remote address of connected counterpart to get
856           callback channel connected.
857         * PeerDuplexChannel.cs : remove FIXME wrt above.
858
859 2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>
860
861         * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
862
863 2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>
864
865         * MessageHeader.cs : fill IsReferenceParameter.
866
867 2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>
868
869         * ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
870           implement remaining async methods and LocalAddress.
871
872 2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>
873
874         * PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
875           ServiceHost to process neighbor connection (not sure if this is
876           right way to go though ...).
877
878 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
879
880         * PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
881           connection part to use new internal IPeerConnectorContract for
882           neighbor connection.
883
884 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
885
886         * ChannelListenerBase_1.cs, TcpChannelListener.cs,
887           PeerChannelListener.cs, HttpChannelListener.cs :
888           support ListenUri accordingly too so that it could be used when
889           it is different from LocalAddress.Uri.
890
891 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
892
893         * TcpChannelFactory.cs, TcpDuplexSessionChannel.cs,
894           TcpRequestChannel.cs : use Via uri to validate and connect.
895
896 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
897
898         * RequestChannelBase.cs, DuplexChannelBase.cs :
899           Return endpoint address Uri when no explicit Via uri is specified.
900         * ChannelFactoryBase.cs : Remove extra async close methods.
901           Add async open methods. Reject null EndpointAddress.
902         * PeerChannelFactory.cs : remove async open methods (now in base).
903
904 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
905
906         * PeerDuplexChannel.cs : set correct message endpoint (To header).
907
908 2009-07-31  Atsushi Enomoto  <atsushi@ximian.com>
909
910         * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
911           DuplexChannelBase.cs : set LocalAddress property at base.
912
913 2009-07-30  Atsushi Enomoto  <atsushi@ximian.com>
914
915         * PeerDuplexChannel.cs : ongoing refactoring to work both as
916           listener and client. Now it creates a listening peer node, and
917           creates a set of TCP client channels for each peer in the mesh.
918
919           (EndpointAddress must be fixed to not filter out correct inputs).
920
921 2009-07-30  Atsushi Enomoto  <atsushi@ximian.com>
922
923         * PeerChannelListener.cs : do not accept more than one channel
924           which results in lots of listening peer node. Only one is enough.
925
926 2009-07-30  Atsushi Enomoto  <atsushi@ximian.com>
927
928         * DuplexChannelBase.cs : fix wrong loop implementation.
929
930 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
931
932         * TcpChannelListener.cs : to avoid creating two or more channels
933           for one remote endpoint, check existing remote endpoints and
934           ignore such connections (it must be handled in different thread
935           fired by ChannelDispatcher loop).
936
937 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
938
939         * TcpReplyChannel.cs : make sure to not try to receive request when
940           it is already closed.
941
942 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
943
944         * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
945           some mannerless clients [*1] do not send EndRecord accordingly, but
946           such channels at listener side should not be kept open. So, close
947           disconnected channels when the listener needs to accept another
948           one.
949           [*1] see olive/samples/wcf/clientbase/samplecli4.cs.
950
951 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
952
953         * TcpDuplexSessionChannel.cs :
954           Remove extra NIE overrides.
955           Implement OnAbort() apart from OnClose().
956           For duplex session channel, unlike reply channel, it must acquire
957           TCP connection before OnOpen(), otherwise ChannelDispatcher
958           releases the connection acceptance WaitHandle and the detected
959           live connection may be stolen by another channel acceptor.
960
961 2009-07-28  Atsushi Enomoto  <atsushi@ximian.com>
962
963         * HttpRequestChannel.cs : implement OnAbort().
964
965 2009-07-24  Atsushi Enomoto  <atsushi@ximian.com>
966
967         * PeerChannelListener.cs : set source field. Remove unnecessary NIE.
968         * DuplexChannelBase.cs : comment out some extra fields (so far).
969         * PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
970
971 2009-07-24  Atsushi Enomoto  <atsushi@ximian.com>
972
973         * PeerCustomResolverBindingElement.cs : add some null checks.
974
975 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
976
977         * TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
978           Acquire TcpClient for each request/reply. Now it is fully
979           interoperable with .NET.
980
981 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
982
983         * TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
984           ReplyTo and MessageId (though it is session-less), and it expects
985           EndRecord at weird stage, inconsistent with [MC-NMF]...
986           Now .NET service accepts one mono client request.
987
988 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
989
990         * TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
991           Send and receive unsized message terminator at once.
992           Send EndRecord mutually. Got one .net client request working.
993
994 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
995
996         * BinaryMessageEncoder.cs : revert the previous dictionary change.
997           They are indeed used for non-in-band-dictionary messages.
998
999 2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>
1000
1001         * TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
1002           split out binary frame manager class into separate file.
1003
1004 2009-07-21  Atsushi Enomoto  <atsushi@ximian.com>
1005
1006         * TcpReplyChannel.cs : new reply channel implementation.
1007         * TcpChannelListener.cs : use above for streamed reply channel.
1008         * TcpDuplexSessionChannel.cs : more streaming mode support.
1009         * TcpRequestChannel.cs : a couple of updates to get it working
1010           with the reply channel above. Still some issues on .NET interop.
1011
1012 2009-07-21  Atsushi Enomoto  <atsushi@ximian.com>
1013
1014         * RequestContext.cs : added internal derived class that implements
1015           some members.
1016
1017 2009-07-21  Atsushi Enomoto  <atsushi@ximian.com>
1018
1019         * BinaryMessageEncoder.cs : for non-session reader and writer, do not
1020           use dictionary.
1021
1022 2009-07-17  Atsushi Enomoto  <atsushi@ximian.com>
1023
1024         * PeerDuplexChannel.cs: add the registered node itself to peer list.
1025           (The messaging must be done as TCP request/reply pattern, so it's
1026           not working yet.)
1027
1028 2009-07-17  Atsushi Enomoto  <atsushi@ximian.com>
1029
1030         * TcpRequestChannel.cs : new channel file (TCP for request/reply
1031           messaging pattern). The messaging part is not working yet.
1032         * TcpChannelFactory.cs : support IRequestChannel.
1033         * TcpDuplexSessionChannel.cs : add unsized message support.
1034
1035 2009-07-17  Atsushi Enomoto  <atsushi@ximian.com>
1036
1037         * HttpRequestChannel.cs, RequestChannelBase.cs :
1038           A couple of async members are now implemented in the base class.
1039           Ditto for EndpointAddress and Via.
1040
1041 2009-07-10  Atsushi Enomoto  <atsushi@ximian.com>
1042
1043         * PeerDuplexChannel.cs : now it implements some of node management
1044           functionality and Send operation. The receiver part is not yet.
1045
1046 2009-07-10  Atsushi Enomoto  <atsushi@ximian.com>
1047
1048         * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
1049           timeout to channel constructor. it does not make sense.
1050
1051 2009-07-10  Atsushi Enomoto  <atsushi@ximian.com>
1052
1053         * PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
1054           as common interface member, and use binary encoder (not text).
1055
1056 2009-07-09  Atsushi Enomoto  <atsushi@ximian.com>
1057
1058         * PeerDuplexChannel.cs : PeerNode constructor argument changes.
1059
1060 2009-07-08  Atsushi Enomoto  <atsushi@ximian.com>
1061
1062         * PeerDuplexChannel.cs, PeerChannelListener.cs, PeerOutputChannel.cs,
1063           PeerInputChannel.cs, PeerChannelFactory.cs : those channels are
1064           going to be unified to PeerDuplexChannel. And it is likely that
1065           input and output functionalities are to be unified too.
1066
1067 2009-07-08  Atsushi Enomoto  <atsushi@ximian.com>
1068
1069         * TcpChannelFactory.cs : (TcpChannelInfo) ease type restriction. I
1070           may have to reuse it for peer transport.
1071         * PeerChannelListener.cs : add binding member.
1072         * PeerDuplexChannel.cs : remove NIE overrides. Fill fields a bit.
1073
1074 2009-07-08  Atsushi Enomoto  <atsushi@ximian.com>
1075
1076         * ChannelFactoryBase.cs, HttpChannelFactory.cs,
1077           PeerChannelFactory.cs : close opened channels at OnClose() as
1078           documented. Implement async methods.
1079         * PeerChannelListener.cs : removed some NIE overrides.
1080
1081 2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>
1082
1083         * DuplexChannelBase.cs : some more async methods.
1084
1085 2009-06-29  Atsushi Enomoto  <atsushi@ximian.com>
1086
1087         * TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
1088           (almost) no time.
1089         * TcpChannelListener.cs : accept multiple channels at a time.
1090
1091 2009-06-29  Atsushi Enomoto  <atsushi@ximian.com>
1092
1093         * TcpDuplexSessionChannel.cs : do not output all (stored) writer
1094           session strings but output only those new ones in current message.
1095           This fixes inconsistent body output in repetitive use of sender.
1096
1097 2009-06-26  Atsushi Enomoto  <atsushi@ximian.com>
1098
1099         * TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
1100           operation that does not involve session.
1101           Preserve writer session as well as reader session.
1102         * MessageHeaders.cs : take name and namespace into consideration
1103           when creating a serializer.
1104
1105 2009-06-25  Atsushi Enomoto  <atsushi@ximian.com>
1106
1107         * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1108           Made required changes for repeated use of message exchanges.
1109           Hold binary reader session. The channels use it incrementally.
1110           Preambles are handled at Open, and EndRecords are handled at
1111           Close, Add session shutdown hook here (not working yet though).
1112
1113 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
1114
1115         * ChannelListenerBase_1.cs : added cancellation hook here too.
1116           HttpChannelListener.cs : use above.
1117           Do not allow parallel channel creation (this listener does not
1118           allow more than one AcceptChannel().
1119
1120 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
1121
1122         * ReplyChannelBase.cs, HttpReplyChannel.cs :
1123           Add cancellation hook for async TryReceiveRequest.
1124
1125 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
1126
1127         * HttpChannelListener.cs, HttpListenerManager.cs :
1128           slightly improved BuildChannelListener().
1129           Implement OnAbort() and differentiate it from OnClose().
1130
1131 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
1132
1133         * TcpDuplexSessionChannel.cs : remove NIE stubs.
1134
1135 2009-06-18  Atsushi Enomoto  <atsushi@ximian.com>
1136
1137         * DuplexChannelBase.cs : simple async delegate calls here too.
1138
1139 2009-06-16  Atsushi Enomoto  <atsushi@ximian.com>
1140
1141         * ReplyChannelBase.cs : cosmetic dependency reduction on listener.
1142
1143 2009-06-16  Atsushi Enomoto  <atsushi@ximian.com>
1144
1145         * HttpReplyChannel.cs : cosometic simplification.
1146
1147 2009-06-16  Atsushi Enomoto  <atsushi@ximian.com>
1148
1149         * HttpRequestChannel.cs : Fixed timeout handling. It was causing
1150           infinite block in 2.0 profile.
1151
1152 2009-06-12  Atsushi Enomoto  <atsushi@ximian.com>
1153
1154         * TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
1155           more careful close to avoid NRE.
1156
1157 2009-06-12  Atsushi Enomoto  <atsushi@ximian.com>
1158
1159         * HttpChannelListener.cs : do not Close() more than once (though
1160           it is allowed to call it twice, we don't reject it; just ignore).
1161
1162 2009-06-12  Atsushi Enomoto  <atsushi@ximian.com>
1163
1164         * CustomBinding.cs : copy timeouts from argument binding in copy ctr.
1165
1166 2009-06-11  Atsushi Enomoto  <atsushi@ximian.com>
1167
1168         * HttpReplyChannel.cs : reject multiple WaitForRequest calls.
1169           Temporarily disable HTTP Keep-Alive since it somehow results in
1170           wrong reuse of connection (shown as NRE in HttpConnection).
1171           Make sure to close RequestContext which was created from it.
1172         * HttpRequestContext.cs : simplify.
1173
1174 2009-06-11  Atsushi Enomoto  <atsushi@ximian.com>
1175
1176         * HttpChannelListener.cs, TcpChannelListener.cs,
1177           ChannelListenerBase_1.cs : put common internal listener base
1178           and let it handle those async stuff.
1179
1180 2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>
1181
1182         * ReplyChannelBase.cs : fix wrong null delegate check point.
1183
1184 2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>
1185
1186         * HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
1187           now implemented as virtual in base class. Remove NIEs in http.
1188
1189 2009-06-10  Atsushi Enomoto  <atsushi@ximian.com>
1190
1191         * HttpChannelListener.cs : hack async implementation.
1192
1193 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
1194
1195         * HttpListenerManager.cs : oops, extra line removal.
1196
1197 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
1198
1199         * HttpChannelManager.cs, HttpListenerManager.cs : rename file too.
1200
1201 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
1202
1203         * HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
1204           "ChannelManager" is confusing (there is ChannelManagerBase).
1205
1206 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
1207
1208         * HttpChannelManager.cs, HttpTransportBindingElement.cs,
1209           HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
1210           they should be split into separate listener->reply channel lines
1211           (remove "if (HostingEnvironment.IsAspNet)".)
1212
1213 2009-06-08  Atsushi Enomoto  <atsushi@ximian.com>
1214
1215         * CommunicationObject.cs : OnClosed() requires call to base method.
1216           Close() could rather abort the channel, and Abort() does not
1217           always invke OnAbort().
1218         * ChannelBase.cs : add call to base as above.
1219
1220 2009-06-05  Sebastien Pouliot  <sebastien@ximian.com>
1221
1222         * ClientAccessPolicy.cs: Removed
1223         * CrossDomainAccessManager.cs: Removed
1224         * CrossDomainPolicy.cs: Removed
1225         * HttpRequestChannel.cs: Remove call to CrossDomainAccessManager 
1226         since this is now done inside the BeginGetResponse call (outside
1227         this assembly) for Moonlight (NET_2_1)
1228
1229 2009-06-04  Alan McGovern  <amcgovern@novell.com>
1230
1231         * HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
1232         instead of the sync apis. Prevents a possible deadlock condition in
1233         moonlight. 
1234
1235 2009-06-03  Atsushi Enomoto  <atsushi@ximian.com>
1236
1237         * HttpRequestChannel.cs : that SL2/ML2 does not seem to allow null
1238           callbacks, so add hacky ones.
1239
1240 2009-06-01  Atsushi Enomoto  <atsushi@ximian.com>
1241
1242         * TcpDuplexSessionChannel.cs : WaitForMessage() should not return
1243           true when socket input is not available.
1244
1245 2009-05-29  Atsushi Enomoto  <atsushi@ximian.com>
1246
1247         * TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
1248           I cannot precisely identify when EndRecord should be consumed,
1249           so allow it at either at the end of ReadSizedMessage() or on
1250           consuming preamble (it's likely handling EndRecord of previous
1251           message though).
1252
1253           Now duplex IPeerResolverContract communication works between
1254           either of .NET/Mono client and .NET/Mono server.
1255
1256 2009-05-29  Atsushi Enomoto  <atsushi@ximian.com>
1257
1258         * TcpDuplexSessionChannel.cs : looks like I have added some bogus
1259           code. Handle preamble ack on ReadSizedMessage() only at server.
1260           Consume EndRecord from server, at client side. Though it is likely
1261           changed as it's blocking when mono is at server side.
1262
1263 2009-05-29  Atsushi Enomoto  <atsushi@ximian.com>
1264
1265         * TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
1266           different protocol than existing code with related to preamble ack.
1267           So changed it to work fine with .NET client (finally).
1268
1269 2009-05-28  Atsushi Enomoto  <atsushi@ximian.com>
1270
1271         * MessageBufferImpl.cs : do not output Action twice.
1272
1273 2009-05-28  Atsushi Enomoto  <atsushi@ximian.com>
1274
1275         * MessageBufferImpl.cs : it did not copy headers.
1276         * Message.cs : remove 2_1 conditional implementation for buffered
1277           copy and hence remove bogus code.
1278
1279 2009-05-28  Atsushi Enomoto  <atsushi@ximian.com>
1280
1281         * MessageProperties.cs : copy argument is wrong.
1282
1283 2009-05-27  Atsushi Enomoto  <atsushi@ximian.com>
1284
1285         * PeerCustomResolverBindingElement.cs : some argument check.
1286
1287 2009-05-27  Atsushi Enomoto  <atsushi@ximian.com>
1288
1289         * BinaryMessageEncoder.cs : the serializer somehow leaves binary
1290           xml open, so close the writer as well as open elements.
1291         * TcpDuplexSessionChannel.cs : clear write buffer on each operation.
1292           Do not output EndRecord and SizedMessage at a time.
1293
1294 2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>
1295
1296         * TcpDuplexSessionChannel.cs : there was a miscalculation on the
1297           length of the SizedMessage in the output.
1298
1299 2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>
1300
1301         * CommunicationObject.cs : use sane default timeout.
1302         * PeerCustomResolverBindingElement.cs : check timeout arg sanity.
1303         * TcpDuplexSessionChannel.cs : ditto.
1304
1305 2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>
1306
1307         * TcpDuplexSessionChannel.cs : It seems that buffered stream channel
1308           only accepts buffered messages, so do as such for write buffers.
1309           Add RelatesTo header.
1310
1311 2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>
1312
1313         * DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
1314           rename from former to latter.
1315
1316 2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>
1317
1318         * TcpDuplexSessionChannel.cs : reader does not always return full
1319           buffer (depending on the stream).
1320
1321 2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>
1322
1323         * PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
1324
1325 2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>
1326
1327         * PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
1328           could be null.
1329
1330 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
1331
1332         * ChannelManagerBase.cs : there was annoying non-2.1 stuff.
1333
1334 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
1335
1336         * TcpChannelListener.cs, TcpChannelFactory.cs : get reader quotas.
1337
1338 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
1339
1340         * ChannelManagerBase.cs : fix wrong session channel detection.
1341
1342 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
1343
1344         * BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
1345           This encoder factory implements CreateSessionEncoder() and binary
1346           encoder does support session transmit, in different media type.
1347         * ChannelManagerBase.cs : added utility method to create appropriate
1348           encoder.
1349         * HttpChannelFactory.cs, HttpChannelListener.cs,
1350           MsmqChannelFactory.cs, MsmqChannelListener.cs,
1351           PeerChannelFactory.cs, PeerChannelListener.cs,
1352           TcpChannelFactory.cs, TcpChannelListener.cs : use above.
1353
1354 2009-05-22  Atsushi Enomoto  <atsushi@ximian.com>
1355
1356         * TcpDuplexSessionChannel.cs : add ReplyTo header.
1357
1358 2009-05-21  Atsushi Enomoto  <atsushi@ximian.com>
1359
1360         * DuplexSessionBase.cs : new file, for session implementation.
1361         * TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
1362           DuplexSessionChannelBase.cs : changed sync/async implementation
1363           pattern. Now async methods call sync methods using delegates.
1364
1365 2009-05-21  Atsushi Enomoto  <atsushi@ximian.com>
1366
1367         * InputChannelBase.cs, TransportBindingElement.cs, RequestContext.cs:
1368           a few minor API fixes.
1369
1370 2009-05-21  Atsushi Enomoto  <atsushi@ximian.com>
1371
1372         * MessageEncoderFactory.cs : implement CreateSessionEncoder().
1373
1374 2009-05-19  Atsushi Enomoto  <atsushi@ximian.com>
1375
1376         * TcpDuplexSessionChannel.cs : add To header.
1377
1378 2009-05-19  Atsushi Enomoto  <atsushi@ximian.com>
1379
1380         * MessageFault.cs : fix several SOAP12 fault deserialization in xml
1381           parsing.
1382
1383 2009-05-18  Atsushi Enomoto  <atsushi@ximian.com>
1384
1385         * FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
1386
1387 2009-05-15  Atsushi Enomoto  <atsushi@ximian.com>
1388
1389         * MessageFault.cs : Reason is mandatory. raise XmlException, and
1390           CommunicationException in each CreateFault().
1391
1392 2009-05-15  Atsushi Enomoto  <atsushi@ximian.com>
1393
1394         * TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
1395           Open(). Some (but not all yet) continuous communication works now.
1396           Use ProtocolException. Remove dummy binary session string.
1397
1398 2009-05-14  Atsushi Enomoto  <atsushi@ximian.com>
1399
1400         * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
1401           sending/receiving SizedMessageRecord parts to manager class.
1402           Handle writer session, though it is likely broken at dictionary
1403           writer part (no string is written so far).
1404         * BinaryMessageEncoder.cs : add writer session and rename reader
1405           session.
1406
1407 2009-05-14  Atsushi Enomoto  <atsushi@ximian.com>
1408
1409         * TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
1410           is mandatory in initiator preamble packet. Handle Fault reply in
1411           initiator preamble.
1412
1413 2009-05-14  Atsushi Enomoto  <atsushi@ximian.com>
1414
1415         * TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
1416           based communication under TcpBinaryFrameManager class.
1417
1418 2009-05-13  Jb Evain  <jbevain@novell.com>
1419
1420         * MessageHeader.cs: use a SL friendly way of creating an XmlReader
1421         from a StringReader.
1422
1423 2009-05-13  Atsushi Enomoto  <atsushi@ximian.com>
1424
1425         * MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
1426           actually eliminate DOM-based implementation too in 2.0.
1427
1428 2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>
1429
1430         * TcpDuplexSessionChannel.cs : implement in-band dictionary support
1431           in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
1432           comments for magic numbers based on [MC-NMF].
1433
1434 2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>
1435
1436         * BinaryMessageEncoder.cs : implement part of in-band dictionary
1437           support for [MC-NBFSE] record in [MC-NMF], in this class.
1438
1439 2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>
1440
1441         * BinaryMessageEncodingBindingElement.cs : clear extra public members.
1442
1443 2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>
1444
1445         * TcpDuplexSessionChannel.cs : implemented some channel methods.
1446
1447 2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>
1448
1449         * BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].
1450
1451 2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>
1452
1453         * ChannelManagerBase.cs : implement Open/CloseTimeout correctly.
1454
1455 2009-04-23  Atsushi Enomoto  <atsushi@ximian.com>
1456
1457         * BinaryMessageEncoder.cs : use quotas in binding element.
1458           Implement WriteMessage().
1459
1460 2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>
1461
1462         * PeerCustomResolverBindingElement.cs : do initialize field.
1463
1464 2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
1465
1466         * PeerCustomResolverBindingElement.cs :
1467           implement full custom resolver.
1468
1469 2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
1470
1471         * PeerDuplexChannel.cs, PeerChannelListener.cs,
1472           PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
1473           PeerChannelFactory.cs : ongoing p2p channel implementation.
1474
1475 2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
1476
1477         * PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
1478
1479 2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>
1480
1481         * BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
1482           ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
1483           implement GetProperty<T>(). Return documented objects or null.
1484
1485 2009-04-20  Atsushi Enomoto  <atsushi@ximian.com>
1486
1487         * PeerChannelFactory.cs, PeerChannelListener.cs,
1488           PeerCustomResolverBindingElement.cs, PeerDuplexChannel.cs
1489           PeerInputChannel.cs, PeerOutputChannel.cs :
1490           new; ongoing peer transport implementation.
1491         * DuplexSessionChannelBase.cs, InputChannelBase.cs
1492           MsmqOutputChannel.cs, OutputChannelBase.cs,
1493           PeerResolverBindingElement.cs, PeerTransportBindingElement.cs,
1494           PnrpPeerResolverBindingElement.cs, TcpDuplexSessionChannel.cs :
1495           several internal changes (either required or for simplification)
1496           for ongoing peer transport implementation.
1497
1498 2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>
1499
1500         * PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
1501
1502 2009-04-07  Atsushi Enomoto  <atsushi@ximian.com>
1503
1504         * TcpTransportBindingElement.cs : check build-ability before
1505           actually building channels.
1506         * ConnectionOrientedTransportBindingElement.cs : fixed build-ability
1507           conditions according to MSDN.
1508
1509 2009-03-05  Atsushi Enomoto  <atsushi@ximian.com>
1510
1511         * MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
1512           handle headers in SL2. Slightly changed 3.0 code too.
1513
1514 2009-03-04  Atsushi Enomoto  <atsushi@ximian.com>
1515
1516         * HttpRequestChannel.cs : use cross domain access manager.
1517
1518 2009-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1519
1520         * Message.cs : (in CreateBufferedCopy) do not pass the entire
1521           message as BodyWriter.
1522           (in GetReaderAtBodyContents) just write body contents.
1523         * MessageImpl.cs : do not try to read body at ctor (fixed tons
1524           of test failures).
1525           Add some state check in GetReaderAtBodyContents().
1526         * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.
1527
1528 2009-02-18  Atsushi Enomoto  <atsushi@ximian.com>
1529
1530         * Message.cs : do not forget to flush.
1531         * HttpRequestChannel.cs : give more exact error info.
1532
1533 2009-02-18  Atsushi Enomoto  <atsushi@ximian.com>
1534
1535         * Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
1536           make buffered copy in ML2 really buffered.
1537
1538 2009-02-12  Atsushi Enomoto  <atsushi@ximian.com>
1539
1540         * Message.cs : if there is no header item to write, do not write
1541           SOAP header element.
1542
1543 2009-01-22  Alan McGovern  <amcgovern@novell.com>
1544
1545         * MessageHeaders.cs : List<T>.RemoveAll(Predicate<T>) doesn't exist in Silverlight.
1546         Rewrite to avoid usage of it.
1547
1548 2009-01-14  Atsushi Enomoto  <atsushi@ximian.com>
1549
1550         * ChannelParameterCollection.cs : implement, rather than NIE.
1551
1552 2008-05-22  Noam Lampert <noaml@mainsoft.com>
1553
1554         * MessageFault.cs: Correctly serialize ExceptionDetails. Expose SimpleMessageFault to allow
1555           internal users to know the type of the detail. 
1556         
1557 2008-05-20  Noam Lampert <noaml@mainsoft.com>
1558
1559         * Message.c: Use private setter for state private variable to ease debugging.
1560                                  Modify ToString not to change the state, as it is called quite often by VS debugger
1561                                  
1562 2008-04-21  Roei Erez <roeie@mainsoft.com>
1563
1564         * HttpChannleManager: Fix for multithreaded use.
1565         * HttpReplyChannel: Fix crash during sutdown.
1566
1567 2008-04-17  Igor Zelmanovich <igorz@mainsoft.com>
1568
1569         * HttpChannleManager: ensure trailing slash in uri.
1570
1571 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1572
1573         * added: HttpChannleManager,
1574         * HttpChannelListener: added use of HttpChannelManager
1575
1576 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1577
1578         * MessageEncodingBindingElement.cs: fixed ctor
1579
1580 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1581
1582         * XmlReaderBodyWriter.cs: fixed ctor, skip xml declaration
1583
1584 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1585
1586         * HttpReplyChannel.cs: fixed TryReceiveRequest, fix message header To
1587
1588 2008-04-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
1589
1590         * MessageFault.cs: fixed CreateFault11, implemented "detail"
1591
1592 2008-04-17  Noam Lampert <noaml@mainsoft.com>
1593
1594         * HttpReplyChannel.cs: fix API - Fix crash during service shutdown.
1595
1596 2008-04-13  Igor Zelmanovich <igorz@mainsoft.com>
1597
1598         * BindingElementCollection.cs: fix API - .ctor's signature.
1599
1600 2008-04-10  Eyal Alaluf <eyala@mainsoft.com>
1601
1602         * XmlSerializerBodyWriter.cs: Removed.
1603
1604 2008-03-25  Vladimir Krasnov  <vladimirk@mainsoft.com>
1605
1606         * MessageFault.cs: fixed WriteReason, .net XmlWriter compatible
1607
1608 2008-02-20  Atsushi Enomoto  <atsushi@ximian.com>
1609
1610         * DuplexSessionChannelBase.cs : made it non-session (more reusable).
1611         * TcpChannelFactory.cs, TcpChannelListener.cs :
1612           unify factory and listener into TcpChannelInfo for use in
1613           TCP channel implementation. Do not store stream in the listener.
1614           Factory now uses BinaryMessageEncoder.
1615         * TcpDuplexSessionChannel.cs : changes explained above, and now it
1616           holds TcpClient that the listener has accepted.
1617
1618           tcp-transport-binding-element sample now communicates (though
1619           only when both sides are mono: there seems binary mismatch).
1620
1621 2008-02-20  Atsushi Enomoto  <atsushi@ximian.com>
1622
1623         * TcpTransportBindingElement.cs, TcpConnectionPoolSettings.cs :
1624           clone connection pool settings too.
1625         * NamedPipetransportBindingElement.cs,
1626           NamedPipeConnectionPoolSettings.cs : let's clean them up too (not
1627           being likely implemented though).
1628
1629 2008-02-20  Atsushi Enomoto  <atsushi@ximian.com>
1630
1631         * ConnectionOrientedTransportBindingElement.cs, 
1632           TcpTransportBindingElement.cs : some API updates.
1633           Initialize default values.
1634         * TcpConnectionPoolSettings.cs : new file.
1635
1636 2008-02-18  Atsushi Enomoto  <atsushi@ximian.com>
1637
1638         * ServiceHostParser.cs, SvcHttpHandlerFactory.cs, SvcHttpHandler.cs:
1639           added support for "factory" attribute.
1640
1641 2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1642
1643         * HttpRequestContent.cs : consider HttpResponseMessageProperty.
1644
1645 2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1646
1647         * HttpRequestChannel.cs : pass response ContentType to ReadMessage().
1648
1649 2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1650
1651         * HttpRequestChannel.cs : create WebRequest against To message header
1652           item (if exists).
1653           Consider HttpRequestMessageProperty.
1654           Do not output body when suppressed or the method is GET.
1655
1656 2008-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1657
1658         * HttpChannelListener.cs : BindingContext may not have listenUri
1659           at its .ctor() step.
1660
1661 2008-02-08  Atsushi Enomoto  <atsushi@ximian.com>
1662
1663         * BindingContext.cs : RemainingBindingElements is not just a dummy
1664           collection but is actually user-controlled.
1665
1666 2008-02-08  Atsushi Enomoto  <atsushi@ximian.com>
1667
1668         * TcpChannelFactory.cs, TcpChannelListener.cs, 
1669           HttpChannelFactory.cs, HttpChannelListener.cs,
1670           MsmqChannelFactory.cs, MsmqChannelListener.cs,
1671           TextMessageEncodingBindingElement.cs,
1672           BinaryMessageEncodingBindingElement.cs,
1673           MtomMessageEncodingBindingElement.cs :
1674           message encoder should be retrieved only through public API.
1675         * BindingContext.cs : so my old guess was wrong.
1676
1677         See also: http://blogs.msdn.com/drnick/archive/2006/05/10/594134.aspx
1678
1679 2008-02-05  Atsushi Enomoto  <atsushi@ximian.com>
1680
1681         * HttpTransportBindingElement.cs : implemented copy constructor.
1682
1683 2007-08-20  Atsushi Enomoto  <atsushi@ximian.com>
1684
1685         * HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
1686           header when AddressingVersion is None.
1687
1688 2007-08-20  Atsushi Enomoto  <atsushi@ximian.com>
1689
1690         * MessageHeaders.cs : AddressingVersion.None rejects some WSA
1691           property setters.
1692
1693 2007-08-19  Atsushi Enomoto  <atsushi@ximian.com>
1694
1695         * OneWayBindingElementImporter.cs
1696           CompositeDuplexBindingElementImporter.cs : new files.
1697
1698 2007-08-17  Atsushi Enomoto  <atsushi@ximian.com>
1699
1700         * MessageHeaders.cs : due to the DataContractSerializer.ReadObject()
1701           semantic change, its bool parameter must be false, not true.
1702
1703 2007-07-13  Atsushi Enomoto  <atsushi@ximian.com>
1704
1705         * InputChannelBase.cs, MsmqChannelListener.cs, MsmqInputChannel.cs :
1706           new files. Msmq transport listener Implementation.
1707         * MsmqOutputChannel.cs : implemented Send(). Not sure if it works
1708           (wait for System.Messaging impl.)
1709         * HttpReplyChannel.cs : added comment
1710
1711 2007-07-06  Atsushi Enomoto  <atsushi@ximian.com>
1712
1713         * MsmqChannelFactory.cs MsmqOutputChannel.cs OutputChannelBase.cs :
1714           new files. internal stuff for msmq channel.
1715         * BinaryMessageEncoder.cs : added another .ctor().
1716         * MsmqTransportBindingElement.cs :
1717           implemented [Can]BuildChannelFactory().
1718
1719 2007-07-06  Atsushi Enomoto  <atsushi@ximian.com>
1720
1721         * MsmqBindingElementBase.cs MsmqTransportBindingElement.cs :
1722           initialize some fields.
1723
1724 2007-07-05  Atsushi Enomoto  <atsushi@ximian.com>
1725
1726         * MsmqBindingElementBase.cs MsmqMessageProperty.cs
1727           MsmqTransportBindingElement.cs ITransactedBindingElement.cs :
1728           couple of msmq stubs.
1729
1730 2007-04-02  Atsushi Enomoto  <atsushi@ximian.com>
1731
1732         * SecureMessageGenerator.cs : SecurityContextToken support (though
1733           it is still regarded as invalid by WCF).
1734
1735 2007-03-13  Atsushi Enomoto  <atsushi@ximian.com>
1736
1737         * WSSecurityMessageHeader.cs, SecureMessageGenerator.cs :
1738           make header.Contents.Add() more strict.
1739           Use HasAsymmetricKey to determine whether to use asymmetric algorithm
1740           or not.
1741           Added some hack to allow ssl token external mode.
1742           Commented out such lines that always premised asymmtric key.
1743
1744 2007-03-08  Atsushi Enomoto  <atsushi@ximian.com>
1745
1746         * TransactionFlowBindingElement.cs : forgot necessary Clone().
1747
1748 2007-03-08  Atsushi Enomoto  <atsushi@ximian.com>
1749
1750         * MessageSecurityBindingSupport.cs : support check to create
1751           authenticator is now done in both initiator/recipient sides.
1752         * SecurityRequestContext.cs : don't encrypt WS-Trust RSTR.
1753
1754 2007-03-07  Atsushi Enomoto  <atsushi@ximian.com>
1755
1756         * MessageSecurityBindingSupport.cs : for now, comment out the code
1757           that makes authenticator creation optional.
1758         * SecurityRequestContext.cs : don't decrypt message when it is
1759           WS-Trust messages. Also, do not secure SOAP Fault (it is likely
1760           to fail).
1761         * SecurityChannelListener.cs : GetProperty<T>() now returns
1762           MessageSecurityBindingSupport when requested. It is used by
1763           EndpointDispatcher to check if it supports WS-Trust negotiation.
1764         * ChannelListenerBase.cs :
1765           removed extra TODO and field. Implemented GetProperty<T>().
1766         * Message.cs : In CreateMessage() for SOAP Fault, create
1767           SimpleMessage with IsFault = true.
1768
1769 2007-03-07  Atsushi Enomoto  <atsushi@ximian.com>
1770
1771         * SecurityRequestContext.cs : try to reply fault with the inner
1772           channel when an error occurred internally.
1773         * FaultConverter.cs : implemented based on OperationContext (at normal
1774           state it does not seem to create messages, so I implemented it this
1775           way).
1776
1777 2007-03-07  Atsushi Enomoto  <atsushi@ximian.com>
1778
1779         * TransportBindingElement.cs : implemented GetProperty<T>().
1780         * TransactionFlowBindingElement.cs : on building factory or listener,
1781           reject channel types that cannot build.
1782         * SecurityBindingElement.cs : added some TODO comments.
1783         * HttpTransportBindingElement.cs : GetProperty<T>() should rather
1784           delegate to base, not BindingContext.
1785         * SecurityRequestContext.cs : somewhat late decryption.
1786
1787 2007-03-06  Atsushi Enomoto  <atsushi@ximian.com>
1788
1789         * MessageSecurityBindingSupport.cs,
1790           AsymmetricSecurityBindingElement.cs,
1791           SymmetricSecurityBindingElement.cs :
1792           renamed *SecurityBindingElementSupport to *SecurityCapabilities and
1793           implemented ISecurityCapabilities on them. Now those binding
1794           elements support GetProperty<ISecurityCapabilities>().
1795
1796 2007-03-05  Atsushi Enomoto  <atsushi@ximian.com>
1797
1798         * SecurityBindingElement.cs : SetIssuerBindingContextIfRequired()
1799           will work only for predefined parameter types.
1800
1801 2007-03-01  Atsushi Enomoto  <atsushi@ximian.com>
1802
1803         * MessageSecurityBindingSupport.cs :
1804           Set proper MessageDirection to the requirement after creation.
1805           split CreateTokenAuthenticator() as MessageDirection is different.
1806           Removed extra creation of requirement.
1807
1808 2007-03-01  Atsushi Enomoto  <atsushi@ximian.com>
1809
1810         * MessageSecurityBindingSupport.cs : token authenticator is not
1811           always created on channel-opening stage.
1812         * SecurityBindingElement.cs : use SslSecurityTokenParameters for
1813           Sslnego binding factory method.
1814
1815 2007-02-28  Atsushi Enomoto  <atsushi@ximian.com>
1816
1817         * SecureMessageGenerator.cs : inconsistent ReferenceList has caused
1818           signature velification failure.
1819
1820 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1821
1822         * SecureMessageGenerator.cs : encrypt signature confirmations only
1823           when they are required.
1824
1825 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1826
1827         * SecureMessageGenerator.cs : SignatureConfirmation must be encrypted
1828           when [Signature Protection is true i.e. when we use
1829           SignBeforeEncryptAndEncryptSignature.
1830
1831           With this change finally samplesvc.cs/samplecli.cs became
1832           interoperable(!)
1833
1834 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1835
1836         * SecureMessageDecryptor.cs : signature verification was not done
1837           for endorsing supporting tokens.
1838         * SecureMessageGenerator.cs : moved SignatureConfirmation position
1839           in the security header. Don't output empty ReferenceList.
1840
1841 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1842
1843         * SecureMessageGenerator.cs : signingToken was added before being
1844           initialized and thus caused NRE.
1845
1846 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1847
1848         * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1849           SecureMessageGenerator.cs : use SHA1 instead of HMACSHA1. Now we
1850           don't need workaround for symmetric key restoration.
1851
1852 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1853
1854         * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1855           SecureMessageGenerator.cs :
1856           Avoid extra reference search from the request's ReferenceList.
1857           create HMACSHA1 always with the key to compute hash (I'm not sure
1858           it is correct; it is rather to adjust all hash consistent.)
1859
1860 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1861
1862         * SecureMessageDecryptor.cs : verify that endorsing supporting tokens
1863           actually endorsed the primary signature.
1864         * SecureMessageGenerator.cs : implemented endorsing of the primary
1865           signature. So, now supporting tokens are fully implemented.
1866
1867 2007-02-27  Atsushi Enomoto  <atsushi@ximian.com>
1868
1869         * MessageSecurityBindingSupport.cs : so, those supporting tokens are
1870           totally signing tokens.
1871         * SecureMessageGenerator.cs : Endorsing tokens should also be
1872           included in the message. They are just not signed.
1873
1874 2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>
1875
1876         * SecureMessageGenerator.cs : support signing and encryption of
1877           supporting tokens. Some required refactory to do it.
1878         * MessageSecurityBindingSupport.cs : added EncryptedData member.
1879
1880 2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>
1881
1882         * SecureMessageDecryptor.cs : fix exception message.
1883         * WSSecurityMessageHeader.cs, WSSignedXml.cs, WSEncryptedXml.cs :
1884           XmlNamespaceManager is not required for GetIdElement().
1885
1886 2007-02-22  Atsushi Enomoto  <atsushi@ximian.com>
1887
1888         * SecureMessageDecryptor.cs, WSSecurityMessageHeader.cs :
1889           moved decryption part from former file to latter file, to reuse
1890           SignedXml instance (though now I doubt how it actually was good)
1891           which in turn required to replace EncryptedData in
1892           WSSecurityMessageHeader with decrypted one.
1893         * WSEncryptedXml.cs : similar to WSSignedXml.cs, to handle wsu:Id.
1894
1895 2007-02-21  Atsushi Enomoto  <atsushi@ximian.com>
1896
1897         * SecureMessageGenerator.cs : when we create DerivedKeyToken, those
1898           EncryptedData should contain KeyInfo as it is not obvious which key
1899           is used there. .net<->mono DerivedKeyToken introp is done.
1900         * SecureMessageDecryptor.cs : check derived key requirement.
1901           Reduce dom-dependent parts.
1902
1903 2007-02-21  Atsushi Enomoto  <atsushi@ximian.com>
1904
1905         * WSSecurityMessageHeader.cs : ReferenceList needs to be bound to
1906           the related DerivedKeyToken (if any).
1907         * SecureMessageGenerator.cs : largely done with DerivedKeyToken
1908           support. Some refactoring to distinguish deried-token-related
1909           variables.
1910         * SecureMessageDecryptor.cs : removed its own support for derived
1911           key tokens. Now it fully works with DerivedKeySecurityToken.
1912
1913 2007-02-21  Atsushi Enomoto  <atsushi@ximian.com>
1914
1915         * WSSecurityMessageHeader.cs, SecureMessageDecryptor.cs,
1916           SecureMessageDecryptor.cs :
1917           Implemented increment token reading in o:Security, as
1918           DerivedKeyToken could reference to existing wrapped key.
1919           Removed WsscDerivedKeyToken and all relevant code.
1920         * SecureMessageGenerator.cs : replaced WsscDerivedKeyToken with
1921           DerivedKeySecurityToken.
1922
1923 2007-02-16  Atsushi Enomoto  <atsushi@ximian.com>
1924
1925         * SecureMessageGenerator.cs : it was setting security tokens into
1926           incorrect SecurityMessageProperty.
1927           Use correct WrappedKeySecurityToken for EncryptedKeySHA1.
1928           Now it uses SecurityRequestContext instead of just primary key.
1929         * SecureMessageDecryptor.cs : removed extra lines. Limit workarounds
1930           to symmetric reply decryption, which is the only trouble case.
1931           Do not create another SignedXml.
1932         * WSSecurityMessageHeader.cs : SignedXml processing changes above.
1933
1934 2007-02-15  Atsushi Enomoto  <atsushi@ximian.com>
1935
1936         * SecureMessageDecryptor.cs : Now it uses union token resolver and
1937           the resolver works with in-progress token reading in o:Security.
1938         * WSSecurityMessageHeader.cs : now it does not read EncryptedKey
1939           as EncryptedKeyIdentifierClause. It is rather a SecurityToken.
1940         * SecureMessageGenerator.cs : cosmetic refactoring.
1941
1942 2007-02-14  Atsushi Enomoto  <atsushi@ximian.com>
1943
1944         * WSSecurityMessageHeader.cs : read EncryptedKeyIdentifierClause
1945           instead of EncryptedKey.
1946
1947 2007-02-13  Atsushi Enomoto  <atsushi@ximian.com>
1948
1949         * MessageSecurityBindingSupport.cs : SigningToken and EncryptionToken
1950           should not be always prepared at channel Open(). It also caused
1951           that extra token requirements.
1952         * SecureMessageGenerator.cs : use correct key clause for encryption.
1953         * SecureMessageDecryptor.cs : reduce extra key acquisition.
1954
1955 2007-02-06  Atsushi Enomoto  <atsushi@ximian.com>
1956
1957         * MessageSecurityBindingSupport.cs : added CreateTokenAuthenticator()
1958           for supporting 'supporting tokens' .
1959         * SecureMessageGenerator.cs : Supporting token creation is done only
1960           at initiator (not sure if it is supposed that, but for now it is).
1961           Removed extraneous CollectSupportingTokens().
1962         * SecureMessageDecryptor.cs : implemented supporting token
1963           authentication (partly). "Signed" supporting tokens are expected
1964           to work fine.
1965
1966 2007-02-06  Atsushi Enomoto  <atsushi@ximian.com>
1967
1968         * SecureMessageGenerator.cs :
1969           make SignBeforeEncryptAndEncryptSignature working.
1970
1971 2007-02-06  Atsushi Enomoto  <atsushi@ximian.com>
1972
1973         * SecureMessageGenerator.cs : EncryptedKeySHA1 needs key hash, not
1974           the key itself. ProtectionToken is WrappedKey.
1975         * SecureMessageDecryptor.cs : now it is internal encrypted key clause,
1976           not EncryptedKeyIdentifierClause which is not for embedded key.
1977         * MessageProperties.cs : Fixed copy direction in CopyProperties().
1978
1979 2007-02-05  Atsushi Enomoto  <atsushi@ximian.com>
1980
1981         * MessageSecurityBindingSupport.cs : added DefaultKeyWrapAlgorithm
1982           to switch asymmetric and symmetric. Not used yet.
1983         * SecurityRequestChannel.cs : now it pass the request security
1984           property to reply receiver so that it could use the primary key
1985           used at request phase.
1986         * SecurityRequestContext.cs : now it pass the context itself to
1987           reply sender so that it could embed related MessageID.
1988         * SecureMessageGenerator.cs : ongoing changes to support symmetric
1989           binding element. Add RelatesTo output and remove MessageID when
1990           replying to the sender. Added some hacks to get symmetric binding
1991           (kind of) working.
1992         * SecureMessageDecryptor.cs : ditto. Handle embedded encryption key
1993           in SecurityTokenReference (it also involved existing encrypted key 
1994           retrieval). In reply receiver, reuse the key that was used at
1995           request phase. It needs significant token resolution refactoring.
1996
1997 2007-02-02  Atsushi Enomoto  <atsushi@ximian.com>
1998
1999         * MessageSecurityBindingSupport.cs : cosmetic refactoring.
2000         * SecureMessageDecryptor.cs : store token and its authentication
2001           policies into the security property, and reuse it on reply.
2002           Some code refactoring; there is at most one o:Security to solve at
2003           one endpoint (depends on Actor). Some attempt to use correct
2004           token parameters (but for now I have only samples that use x509).
2005         * SecureMessageGenerator.cs : For replying message, use initiator's
2006           signing token as the encryption token. Simply reuse security
2007           property from the input message.
2008
2009           I have some nasty workaround at decryptor for initiator that could
2010           not retrieve decryption key.
2011
2012 2007-02-02  Atsushi Enomoto  <atsushi@ximian.com>
2013
2014         * SecureMessageGenerator.cs, SecurityChannelListener.cs,
2015           SecurityRequestContext.cs, MessageSecurityBindingSupport.cs:
2016           several refactoring on token acquisition. Large part of
2017           MessageSecurityBindingSupport code is unified.
2018
2019 2007-02-02  Atsushi Enomoto  <atsushi@ximian.com>
2020
2021         * MessageProperties.cs : Security property should be one of the items.
2022           Actually many other properties should be similar as well.
2023         * MessageImpl.cs, MessageBufferImpl.cs, Message.cs :
2024           when copying a message, copy properties as well.
2025         * SecurityRequestContext.cs : on replying, pass input 
2026           SecurityMessageProperty to the security generator.
2027         * SecureMessageGenerator.cs : both of above, for SignatureConfirmation
2028           support.
2029         * WSSecurityMessageHeader.cs : fixed lazy .ctor() that did nothing.
2030
2031 2007-02-01  Atsushi Enomoto  <atsushi@ximian.com>
2032
2033         * WSSignedXml.cs:
2034           MessageHeader.cs, Message.cs, WSSecurityMessageHeader.cs,
2035           SecureMessageDecryptor.cs, SecureMessageGenerator.cs:
2036           use new WSSignedXml instead of SignedXml, and remove coexisting
2037           Id and wsu:Id. Now we can live only with wsu:Id and therefore
2038           - our reply messages could be consumed by .NET, and
2039           - .NET signature could be verified.
2040
2041 2007-02-01  Atsushi Enomoto  <atsushi@ximian.com>
2042
2043         * SecureMessageDecryptor.cs : The signing key must be passed as
2044           CheckSignature() argument, not SigningKey.
2045
2046 2007-01-31  Atsushi Enomoto  <atsushi@ximian.com>
2047
2048         * MessageImpl.cs : don't read attribute after ReadStartElement().
2049
2050 2007-01-31  Atsushi Enomoto  <atsushi@ximian.com>
2051
2052         * MessageSecurityBindingSupport.cs : some Release() refactoring.
2053         * SecureMessageGenerator.cs : use correct signing key clause for
2054           SecurityTokenReferenceKeyInfo to be serialized.
2055         * SecureMessageDecryptor.cs : now it can try to parse signature.
2056
2057 2007-01-31  Atsushi Enomoto  <atsushi@ximian.com>
2058
2059         Ongoing changes to support signature confirmation
2060         * SecureMessageGenerator.cs :
2061           Don't output ReplyTo onto reply message.
2062           Write SignatureConfirmation if needed.
2063         * SecureMessageDecryptor.cs :
2064           Some refactoring for header cunsumption. Added commented-out
2065           signature verification part (not working yet, on client side due
2066           to incorrect reply from service and insufficient clause reader).
2067         * WSSecurityMessageHeader.cs :
2068           Added SignatureConfirmation support.
2069           KeyInfoClause for o:SecurityTokenReference should be replaced with
2070           SecurityTokenReferenceKeyInfo.
2071
2072 2007-01-29  Atsushi Enomoto  <atsushi@ximian.com>
2073
2074         * SecureMessageGenerator.cs : support Timestamp signature.
2075           Removed unused code, and extra argument in CreateReference().
2076         * WSSecurityMessageHeader.cs : Timestamp also needs Id for SignedXml.
2077
2078 2007-01-29  Atsushi Enomoto  <atsushi@ximian.com>
2079
2080         * SecureMessageGenerator.cs :
2081           Several fixes to make asymmetric binding working:
2082           - Differentiate signing and encryption token in several areas.
2083           - Fixed signing keyinfo.
2084           Use SenderIdPrefix.
2085           Added initial SecurityMessageProperty handling, not sure if it is
2086           appropriate here though.
2087         * HttpRequestChannel.cs : (some debugging lines)
2088
2089 2007-01-26  Atsushi Enomoto  <atsushi@ximian.com>
2090
2091         Woohoo! Here is a very basic WS-Security compliant message which could
2092         be allowed by Indigo.
2093         * MessageHeader.cs : added Id support for writing.
2094         * Message.cs : added internal BodyId for signature reference.
2095         * MessageImpl.cs : write Body Id if required.
2096         * SecureMessageGenerator.cs : Before signing, the target elements must
2097           be given wsu:Id. Since I still use System.Security.dll, I need some
2098           trick for signing (I give both Id and wsu:Id, former to sign and
2099           latter to be consumed). Maybe I will have to replace xmldsig/xmlenc
2100           implementation later. Now singning mechanism works except for
2101           wsu:Timestamp (which is kind of mandatory).
2102
2103         I can's still consume replies from Indigo but it's a big progress :)
2104
2105 2007-01-26  Atsushi Enomoto  <atsushi@ximian.com>
2106
2107         * MessageHeaderInfo.cs : added internal Id.
2108         * MessageHeader.cs : read and write wsu:Id.
2109         * Message.cs : output wsu namespace if Id exists in any header.
2110         * HttpReplyChannel.cs : (some debugging lines.)
2111         * SecureMessageDecryptor.cs : (remove debugging lines.)
2112         * MessageImpl.cs : removed obsolete code.
2113         * WSSecurityMessageHeader.cs : output "o" prefix.
2114         * SecureMessageGenerator.cs : replaced XmlElement-based header
2115           signing with MessageHeader-based signing, to support Id correctly.
2116
2117 2007-01-15  Atsushi Enomoto  <atsushi@ximian.com>
2118
2119         * SecureMessageGenerator.cs : some more refactoring and code comments.
2120         * MessageSecurityUtility.cs : made decryptor into an instance class,
2121           like I've done for SecureMessageGenerator.
2122         * SecurityRequestContext.cs, SecurityRequestChannel.cs :
2123           dependent changes for above.
2124
2125 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
2126
2127         * SecureMessageGenerator.cs : fixed derived keysize. derived key was
2128           causing NRE due to the lack of token reference.
2129           No need to pass doc to SignedXml.ctor() anymore.
2130           Moved ReferenceList before the signature(s).
2131
2132 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
2133
2134         * SecureMessageGenerator.cs : add wsu:Timestamp to signing target.
2135           Moved signing key generation code to non-HMACSHA1 signing part.
2136           Don't try to sign wss:Security.
2137           Pass document itself to SignedXml.ctor().
2138           Use temporary DataObjects to avoid adding Ids (not sure what is the
2139           expected processing yet).
2140         * WSSecurityMessageHeader.cs : to support timestamp signing, add
2141           WriteTo() method in WsuTimestamp.
2142
2143 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
2144
2145         * SecureMessageGenerator.cs : wrong key was used for signing.
2146           Omit KeyInfo for now - it seems that .net (sometimes?) omits it.
2147
2148 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
2149
2150         * SecureMessageGenerator.cs :
2151           Now ID generation process does not modify input message.
2152           Moved derived key generation part into (virtual) signing loop.
2153           MessagePartSpecification support for signing is done.
2154
2155 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
2156
2157         * SecureMessageGenerator.cs : some reordering to handle signing and
2158           encryption with supporting tokens. Fixed XPath query bug for
2159           soap header contents (we want s:Header/*, not s:Header).
2160
2161 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
2162
2163         * MessageSecurityBindingSupport.cs : more refactoring.
2164           Made it abstract and added Initiator- and Recipient- classes.
2165           Several members were moved to those derived types.
2166         * AsymmetricSecurityBindingElement.cs, 
2167           SymmetricSecurityBindingElement.cs
2168           SecurityChannelFactory.cs, SecurityChannelListener.cs,
2169           SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2170           SecurityRequestContext.cs, SecureMessageGenerator.cs :
2171           All dependent changes by above. Removed ISecurityChannelSource
2172           which became useless.
2173
2174 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
2175
2176         * SecureMessageGenerator.cs : encryption parts should exist too.
2177         * AsymmetricSecurityBindingElement.cs
2178           SymmetricSecurityBindingElement.cs,
2179           MessageSecurityBindingSupport.cs : some refactoring.
2180           Split MessageSecurityBindingSupport into security binding element
2181           specific parts and made MessageSecurityBindingSupport concrete.
2182           It is likely split again, next time based on initiator/recipient.
2183
2184 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
2185
2186         * MessageSecurityUtility.cs, SecureMessageGenerator.cs :
2187           split encryptor part in the former file into latter file, and
2188           make it nonstatic.
2189         * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2190           SecurityRequestContext.cs : apply the change above.
2191
2192 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
2193
2194         * MessageSecurityBindingSupport.cs :
2195           Fixed incorrect TrgGetValue() use.
2196           Added CollectRecipientSupportingTokens().
2197
2198 2007-01-11  Atsushi Enomoto  <atsushi@ximian.com>
2199
2200         * MessageSecurityUtility.cs: acctually ReferenceList was inside
2201           EncryptedKey. So, when a key itself is used to encrypt data,
2202           ReferenceList is contained by itself.
2203         * MessageSecurityBindingSupport.cs :
2204           added CollectInitiatorSupportingTokens().
2205
2206 2007-01-10  Atsushi Enomoto  <atsushi@ximian.com>
2207
2208         * MessageSecurityUtility.cs: it should support ReferenceList-less
2209           messages.
2210
2211 2007-01-10  Atsushi Enomoto  <atsushi@ximian.com>
2212
2213         * WSSecurityMessageHeader.cs : reverted previous unnecessary change.
2214         * MessageSecurityUtility.cs : there already was uuid.
2215
2216 2007-01-09  Atsushi Enomoto  <atsushi@ximian.com>
2217
2218         * MessageSecurityUtility.cs : replaced EncryptedKey with
2219           WrappedKeySecurityToken, which seems to be in actual use in .net.
2220         * WSSecurityMessageHeader.cs : added internal Guid so that it
2221           could be shared between header items.
2222
2223 2006-12-14  Atsushi Enomoto  <atsushi@ximian.com>
2224
2225         * HttpRequestContext.cs, TextMessageEncoder.cs :
2226           some null arg check.
2227
2228 2006-12-08  Atsushi Enomoto  <atsushi@ximian.com>
2229
2230         * MessageSecurityUtility.cs : reducing DOM dependency. Use KeyInfoNode
2231           for SecurityTokenReference resolution.
2232
2233 2006-12-08  Atsushi Enomoto  <atsushi@ximian.com>
2234
2235         * MessageSecurityUtility.cs : fixed EncryptedData decryption to
2236           consider DerivedKeyTokens correctly.
2237           When creating LocalId, don't add '#' here.
2238
2239 2006-12-07  Atsushi Enomoto  <atsushi@ximian.com>
2240
2241         * MessageSecurityUtility.cs :
2242           handle key mapping for each wsse:Security.
2243
2244 2006-12-07  Atsushi Enomoto  <atsushi@ximian.com>
2245
2246         * WSSecurityMessageHeader.cs : use prefix "c" for ws-secureconv.
2247
2248 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
2249
2250         * WSSecurityMessageHeader.cs : write top-level ReferenceList in
2251           wsse:Security.
2252         * MessageSecurityUtility.cs :
2253           Now ReferenceList is placed under wsse:Security as WS-Security 1.1 
2254           suggests, and it is used to dereference decryption targets.
2255           Now it premises multiple wsse:Security elements to read.
2256
2257 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
2258
2259         * WSSecurityMessageHeader.cs : don't write o:SecurityTokenReference
2260           manually (and actually the namespace URI was wrong).
2261
2262 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
2263
2264         * WSSecurityMessageHeader.cs : improved DerivedKeyToken writing
2265           and reading.
2266         * MessageSecurityUtility.cs : DerivedKeyToken creation.
2267
2268 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
2269
2270         * SecurityBindingElement.cs,
2271           SymmetricSecurityBindingElement.cs,
2272           AsymmetricSecurityBindingElement.cs :
2273           implemented SetKeyDerivation().
2274
2275 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
2276
2277         * MessageSecurityUtility.cs : don't add KeyInfoClause to EncryptedKey
2278           more than once.
2279
2280 2006-12-06  Atsushi Enomoto  <atsushi@ximian.com>
2281
2282         * MessageBufferImpl.cs : XmlReader-based buffer is not possible, so
2283           don't use it.
2284
2285 2006-12-05  Atsushi Enomoto  <atsushi@ximian.com>
2286
2287         * MessageSecurityUtility.cs : u:Timestamp will be encrypted/signed,
2288           thus move it in front of encryption/signing.
2289
2290 2006-12-04  Atsushi Enomoto  <atsushi@ximian.com>
2291
2292         * TransactionFlowBindingElement.cs : OnOpen()/OnClose() should not
2293           check state by themselves (btw it's not really working).
2294         * HttpChannelListener.cs : If the url does not end with '/' add it
2295           so that it could be fed to HttpListener.
2296
2297 2006-12-04  Atsushi Enomoto  <atsushi@ximian.com>
2298
2299         * HttpChannelFactory.cs : check scheme on CreateChannel.
2300         * MessageHeader.cs : finish IsMessageVersionSupported().
2301
2302 2006-12-04  Atsushi Enomoto  <atsushi@ximian.com>
2303
2304         * FaultConverter.cs : new file, not used yet though.
2305
2306 2006-10-21  Atsushi Enomoto  <atsushi@ximian.com>
2307
2308         * SvcHttpHandler.cs : set GET URL to ServiceMetadataBehavior.
2309
2310 2006-10-20  Atsushi Enomoto  <atsushi@ximian.com>
2311
2312         * SvcHttpHandler.cs : once AspNetReplyChannel get working with HTTP
2313           GET as well as HttpReplyChannel, configuration would be ready now.
2314
2315 2006-10-18  Ankit Jain  <jankit@novell.com>
2316
2317         * TextMessageEncoder.cs (MediaType): Use 'application/soap+xml' for
2318         EnvelopeVersion.Soap12 and 'text/xml' for others.
2319         * HttpReplyChannel.cs (TryReceiveRequest): Revert earlier patch for GET
2320         handling.
2321         Strip '?' from the query string.
2322
2323 2006-10-13  Ankit Jain  <jankit@novell.com>
2324
2325         * MessageVersion.cs (None): Set AddressingVersion.None
2326
2327 2006-10-12  Atsushi Enomoto  <atsushi@ximian.com>
2328
2329         * SvcHttpHandler.cs : added config-based endpoint addition code.
2330           Though due to some weird bug in mono-core it does not seem to work,
2331           so commented out for now.
2332         * HttpReplyChannel.cs : handle wsdl query parameter. btw creating
2333           mex request message might just be wrong.
2334           Use expected MessageVersion by the channel.
2335         * AspNetReplyChannel.cs : ditto. Plus, HTTP GET support.
2336
2337 2006-10-12  Atsushi Enomoto  <atsushi@ximian.com>
2338
2339         * MessageSecurityBindingSupport.cs : added DefaultSignatureAlgorithm
2340           which differs depending on whether it is asymmetric or symmetric.
2341         * SecurityRequestChannel.cs, SecurityRequestContext.cs :
2342           simplify SecureMessage() and DecryptMessage() arguments (just
2343           take MessageSecurityBindingSupport instead of several parameters).
2344         * MessageSecurityUtility.cs :
2345           - simplify SecureMessage() and DecryptMessage() arguments (just
2346             take MessageSecurityBindingSupport instead of several parameters).
2347           - Take token inclusion mode into account. Don't include them when
2348             it is not expected. Also, change the token reference style.
2349           - add wsa:MessageID to the headers.
2350           - For hmac-sha1 signing (default for symmetric binding), use
2351             symmetric key created for encryption as well to create HMACSHA1.
2352           - add Id to wsu:Timestamp.
2353           - start to handle SecurityMessageProperty.
2354         * WSSecurityMessageHeader.cs :
2355           Added Id to WsuTimestamp. Also use prefixes for its XML output.
2356           Changed date format.
2357
2358 2006-10-06  Atsushi Enomoto  <atsushi@ximian.com>
2359
2360         * CommunicationObject.cs : reject faulted state on Open()/Close().
2361         * MessageHeaders.cs : removed extra fields.
2362
2363 2006-10-06  Ankit Jain  <jankit@novell.com>
2364
2365         * HttpReplyChannel.cs (TryReceiveRequest): Handle HTTP GET.
2366
2367 2006-10-05  Atsushi Enomoto  <atsushi@ximian.com>
2368
2369         * MessageSecurityUtility.cs, SecurityRequestContext.cs :
2370           added some FIXMEs and additional arg.
2371
2372 2006-10-05  Atsushi Enomoto  <atsushi@ximian.com>
2373
2374         * MessageSecurityUtility.cs : remove duplicate Action header.
2375
2376 2006-10-05  Atsushi Enomoto  <atsushi@ximian.com>
2377
2378         * MessageFault.cs : partly implemented CreateFault(Message, int).
2379         * Message.cs, MessageImpl.cs, MessageBufferImpl.cs :
2380           handle IsFault correctly in each implementation.
2381
2382 2006-10-04  Ankit Jain  <jankit@novell.com>
2383
2384         * HttpRequestChannel.cs (ProcessRequest): Read till the end.
2385
2386 2006-10-04  Ankit Jain  <jankit@novell.com>
2387
2388         * HttpRequestChannel.cs (ProcessRequest): Temporary workaround for a bug
2389         in WebConnectionStream.
2390
2391 2006-10-04  Ankit Jain  <jankit@novell.com>
2392
2393         * MessageHeaders.cs (To): Use GetHeader<string> till
2394         DataContractSerializer gets ISerializable support.
2395         * CustomBinding.cs (.ctor): Get scheme from TransportBindingElement.
2396
2397 2006-10-04  Ankit Jain  <jankit@novell.com>
2398
2399         * ServiceHostParser.cs (Parse):
2400         (Split): Add some error checks.
2401
2402 2006-10-03  Atsushi Enomoto  <atsushi@ximian.com>
2403
2404         * SslStreamSecurityBindingElement.cs : updated API to Sep. CTP.
2405         * StreamUpgradeAcceptor.cs : Fix AcceptUpgrade().
2406         * SslStreamSecurityUpgradeProvider.cs,
2407           SslStreamSecurityUpgradeAcceptor.cs :
2408           new files for Ssl upgrade provider implementation.
2409         * MessageSecurityUtility.cs :
2410           Create proper C14NTransform. Don't use enveloped signature
2411           transform but sign every significant bits. On securing messages
2412           use ChannelProtectionRequirements.
2413         * SecurityRequestContext.cs : pass ChannelProtectionRequirements to
2414           SecureMessage().
2415         * MessageEncoder.cs : fix API (missing constraint).
2416         * WSSecurityMessageHeader.cs : it is MustUnderstand.
2417         * StreamUpgradeProvider.cs : API fix and implemented .ctor().
2418         * AsymmetricSecurityBindingElement.cs : default protection order is
2419           SignBeforeEncryptAndEncryptSignature.
2420
2421 2006-09-29  Ankit Jain  <jankit@novell.com>
2422
2423         * SvcHttpHandlerFactory.cs (GetTypeFromSvc): Extract and move code to
2424         ServicHostParser and use that here.
2425         (PrivateBinPath): New.
2426         (GetTypeFromBin): New. Load assembly from PrivateBinPath.
2427         (RemovedCallback): Remove and close the SvcHttpHandler when its
2428         corresponding file (.svc) changes.
2429         * SvcHttpHandler.cs (Close): New. Close the ServiceHost.
2430
2431         * ServiceHostParser.cs : New.
2432         * CachingCompiler.cs : New. Code extracted from
2433         System.Web.Compilation.CachingCompiler
2434         * CompilationException.cs : New. From System.Web.Compilation
2435         * HtmlizedException.cs : New. Likewise.
2436
2437 2006-09-29  Atsushi Enomoto  <atsushi@ximian.com>
2438
2439         * MessageSecurityBindingSupport.cs : For client side, it is always
2440           InitiatorServiceModelSecurityTokenRequirement which should be
2441           created. Fixed wrong client encryption key acquisition.
2442
2443 2006-09-29  Atsushi Enomoto  <atsushi@ximian.com>
2444
2445         * SecurityChannelListener.cs, SecurityRequestContext.cs,
2446           MessageSecurityBindingSupport.cs : made similar changes as factories
2447           to listener so that session channels and input channels would work.
2448           Added authenticator creation.
2449
2450 2006-09-29  Atsushi Enomoto  <atsushi@ximian.com>
2451
2452         * Binding.cs : added missing members.
2453
2454 2006-09-28  Atsushi Enomoto  <atsushi@ximian.com>
2455
2456         * SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2457           MessageSecurityUtility.cs, MessageSecurityBindingSupport.cs :
2458           reduce code duplication between request and output channels.
2459           The common parts are now in MessageSecurityBindingSupport.
2460           Now reduced several arguments in SecureMessage() for client.
2461
2462 2006-09-28  Atsushi Enomoto  <atsushi@ximian.com>
2463
2464         * ChannelFactoryBase.cs : implemented ValidateCreateChannel().
2465
2466 2006-09-28  Atsushi Enomoto  <atsushi@ximian.com>
2467
2468         * AsymmetricSecurityBindingElement.cs,
2469           SecurityChannelListener.cs,
2470           SecurityRequestContext.cs,
2471           SymmetricSecurityBindingElement.cs,
2472           SecurityRequestChannel.cs,
2473           SecurityOutputChannel.cs,
2474           SecurityChannelFactory.cs,
2475           MessageSecurityBindingSupport.cs : 1) Refactoring. 
2476           IMessageSecurityBindingSupport now becomes a class and contains
2477           all the members which resided in ISecurityChannelSource.
2478           Now it takes more constructor params.
2479           Made dependent changes on all sources above.
2480
2481           2) Added SecurityTokenAuthenticator creation in
2482           SecurityRequestChannel (SecurityOutputChannel should do the same).
2483
2484 2006-09-27  Atsushi Enomoto  <atsushi@ximian.com>
2485
2486         * SecurityRequestChannel.cs : ongoing improvements on conditional
2487           key creation. Actually there must be some part that creates an
2488           authenticator (WinFX does that).
2489
2490 2006-09-27  Ankit Jain  <jankit@novell.com>
2491
2492         Add suport for handling .svc files.
2493         * SvcHttpHandlerFactory.cs: New.
2494         * SvcHttpHandler.cs: New.
2495
2496         * HttpChannelListener.cs (PopulateChannel): Use AspNetReplyChannel if in
2497         asp.net environment.
2498         (OnOpen): Do nothing in asp.net environment.
2499         (OnClose): Likewise.
2500         * HttpReplyChannel.cs (HttpRequestContext): Move to ..
2501         * HttpRequestContext.cs: .. here.
2502
2503         * AspNetReplyChannel.cs: New.
2504         * AspNetRequestContext.cs: New.
2505
2506 2006-09-26  Atsushi Enomoto  <atsushi@ximian.com>
2507
2508         * MessageSecurityUtility.cs :
2509           Significantly rewritten decryption parts to respect ReferenceList
2510           to decrypt (so no workaround anymore).
2511           Now e:ReferenceList inside o:Security is treated as the referenced
2512           EncryptedType items are encrypted by 1) the derived key which is
2513           immediately in front of it, or 2) the default key (it is according
2514           to WS-SecureConversation section 9.1). Thus removed immediately
2515           previous hack to auto-fill wsu:Id attributes.
2516
2517           On securing a message, generate correct Id and add DataReference
2518           to ReferenceList properly.
2519
2520 2006-09-26  Atsushi Enomoto  <atsushi@ximian.com>
2521
2522         * WSSecurityMessageHeader.cs : handle ReferenceList. It is being
2523           practically used.
2524
2525 2006-09-26  Atsushi Enomoto  <atsushi@ximian.com>
2526
2527         * WSSecurityMessageHeader.cs : handle DerivedKeyToken as a header content.
2528           Actually WSSecurityTokenSerializer should be able to consume it, but after
2529           spending a lot of time I still cannot successfully read it on WinFX.
2530           Skip ReferenceList for now.
2531         * MessageSecurityUtility.cs :
2532           Replaced some string literals with constants.
2533           Added some workaround for DerivedKeyToken retrieval.
2534           WinFX somehow sends incomplete ISO10126 padding which contains
2535           bigger number than the key size and is rejected by EncryptedXml,
2536           so added DecryptLax() which processes such ones in PaddingMode.None
2537           to workaround it (only for cross-connection between mono and winfx).
2538           Added some incomplete implicit wsu:Id processing.
2539           Don't try to replace SignedXml with EncryptedData. It is not added
2540           to the document tree.
2541
2542 2006-09-25  Atsushi Enomoto  <atsushi@ximian.com>
2543
2544         * MessageSecurityUtility.cs : support message signature encryption. Some
2545           more refactoring.
2546
2547 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
2548
2549         * SecurityBindingElement.cs : implement Clone(). Remove some MonoTODOs.
2550
2551 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
2552
2553         * MessageSecurityUtility.cs : fix warnings.
2554
2555 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
2556
2557         * MessageSecurityUtility.cs : actually there would be more than one
2558           EncryptedData. Decrypt all.
2559
2560 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
2561
2562         * MessageSecurityUtility.cs : supply correct URIs in SecureMessage().
2563           Use ISO10126 padding mode (it is not required but in manner).
2564
2565 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
2566
2567         * MessageSecurityUtility.cs : now that EncryptedXml decryption bug is
2568           fixed, remove 16 bytes workaround (we still need encryption bugfix in
2569           that class to make it work fine with mono client).
2570           Removed buggy lines that reset decryption key to AES.
2571           Modified GetKey() argument to take EncryptedData/EncryptedKey element.
2572         * WSSecurityMessageHeader.cs :
2573           (SecurityTokenReferenceKeyInfo) support LoadXml.
2574
2575 2006-09-20  Atsushi Enomoto  <atsushi@ximian.com>
2576
2577         * TransactionMessageProperty.cs : new file.
2578
2579 2006-09-20  Atsushi Enomoto  <atsushi@ximian.com>
2580
2581         * ChannelPoolSettings.cs, OneWayBindingElement.cs : build fix, as
2582           gmcs happened to report wrong code.
2583
2584 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2585
2586         * SecurityChannelFactory.cs, SecurityChannelListener.cs :
2587           .ctor() now requires ChannelProtectionRequirements which will be
2588           supplied via BindingParameterCollection.
2589         * SymmetricSecurityBindingElement.cs,
2590           AsymmetricSecurityBindingElement.cs : thus add
2591           ChannelProtectionRequirement parameter to factory/listener.
2592         * SecurityRequestChannel.cs : use recipient token requirement to
2593           create an encryption token. Thus differentiate the logic from
2594           signing (initiator) token.
2595
2596 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2597
2598         * SymmetricSecurityChannelFactory.cs, SecurityChannelFactory.cs :
2599           renamed former to latter.
2600         * SymmetricSecurityChannelListener.cs, SecurityChannelListener.cs :
2601           ditto.
2602
2603 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2604
2605         * MessageSecurityBindingSupport.cs : new internal types to commonize
2606           AsymmetricSecurityBindingElement and SymmetricSecurityBindingElement
2607           and thus make internal factory and listener reusable.
2608         * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs,
2609           SecurityRequestChannel.cs, SecurityOutputChannel.cs,
2610           SymmetricSecurityChannelListener.cs : rewrote dependent parts on
2611           SymmetricSecurityBindingElement, using the new types above.
2612         * SymmetricSecurityBindingElement.cs :
2613           Use SymmetricMessageSecurityBindingSupport.
2614         * AsymmetricSecurityBindingElement.cs :
2615           thus implemented, using AsymmetricMessageSecurityBindingSupport.
2616
2617 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2618
2619         * ChannelFactoryBase.cs : more RC1 update.
2620
2621 2006-09-19  Atsushi Enomoto  <atsushi@ximian.com>
2622
2623         * MessageEncoder.cs, BinaryMessageEncoder.cs, MtomMessageEncoder.cs,
2624           TextMessageEncoder.cs : updated ReadMessage() API to RC1.
2625         * ChannelListenerBase.cs, ChannelListenerBase_1.cs,
2626           ChannelBase.cs : RC1 API updates.
2627         * MessageImpl.cs : implemented Properties.
2628         * HttpReplyChannel.cs : added HttpRequestMessageProperty support.
2629
2630 2006-09-18  Ankit Jain  <jankit@novell.com>
2631
2632         * MessageHeaders.cs (MessageId):
2633         (RelatesTo): UniqueId is not serializable, serialize it as a string.
2634
2635 2006-09-17  Atsushi Enomoto  <atsushi@ximian.com>
2636
2637         * ChannelParameterCollection.cs : new file.
2638         * LayeredOutputChannel.cs, SecurityOutputChannel.cs :
2639           new files for IOutputChannel implementation.
2640         * OneWayBindingElement.cs : hacky implementation.
2641         * SymmetricSecurityChannelFactory.cs : support IOutputChannel.
2642         * MessageSecurityUtility.cs : now create identifier from the security
2643           token and the token parameters which is added as an argument.
2644         * SecurityRequestContext.cs,
2645           SecurityRequestChannel.cs : SecureMessage() argument changes.
2646           Set MessageSecurityVersion (SecurityTokenVersion) to the token
2647           requirement.
2648
2649 2006-09-17  Atsushi Enomoto  <atsushi@ximian.com>
2650
2651         * HttpRequestChannel.cs : close the HttpWebRequest.
2652
2653 2006-09-17  Atsushi Enomoto  <atsushi@ximian.com>
2654
2655         * HttpRequestChannel.cs,
2656           HttpChannelFactory.cs : implement async request/reply.
2657         * HttpChannelFactory.cs :
2658           verify factory state when creating a channel.
2659
2660 2006-09-17  Atsushi Enomoto  <atsushi@ximian.com>
2661
2662         * MessageEncoder.cs, TextMessageEncoder.cs, MtomMessageEncoder.cs,
2663           BinaryMessageEncoder.cs : added message version mismatch check.
2664
2665 2006-09-15  Atsushi Enomoto  <atsushi@ximian.com>
2666
2667         * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs :
2668           Making incomplete changes to handle different tokens for encryption
2669           and signature.
2670         * SymmetricSecurityChannelFactory.cs, SecurityRequestChannel.cs :
2671           split channel implementation classes out to the latter file.
2672         * MessageSecurityUtility.cs : seems like there is
2673           TimeStampValidityDuration property, so use it (incomplete; a server
2674           needs another love).
2675
2676 2006-09-12  Atsushi Enomoto  <atsushi@ximian.com>
2677
2678         * MessageSecurityUtility.cs, SymmetricSecurityChannelFactory.cs,
2679           SecurityRequestContext.cs : now that we have key identifier clause
2680           and working ResolveKeyIdentifierClause(), just create keys inside
2681           SecureMessage(). Add KeyInfo to the xmldsig.
2682
2683 2006-09-12  Atsushi Enomoto  <atsushi@ximian.com>
2684
2685         * SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2686           pass SecurityKeyIdentifierClause to SecureMessage().
2687         * SecurityBindingElement.cs : set X509ReferenceStyle as Thumbprint
2688           for IssuedToken binding element.
2689         * SymmetricSecurityChannelListener.cs : removed hack to just create
2690           X509 security token, and implemented correct token creation.
2691         * WSSecurityMessageHeader.cs : added new KeyInfoClause type that
2692           wraps SecurityTokenReference element.
2693         * MessageSecurityUtility.cs : use the above.
2694
2695 2006-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2696
2697         * MessageSecurityUtility.cs : raise MessageSecurityException when it
2698           could not find a security header.
2699         * SymmetricSecurityChannelFactory.cs : now it also supports
2700           IRequestSessionChannel. Extracted SecurityRequestChannel out from
2701           the factory type.
2702
2703 2006-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2704
2705         * SecurityRequestContext.cs : moved securing message part to
2706           MessageSecurityUtility.cs.
2707         * MessageSecurityUtility.cs : the change above.
2708           use DateTime.Now for timestamp basis. Don't append signature to
2709           the document. Instead it is added to the header. Capture body
2710           content instead of the body itself.
2711         * SymmetricSecurityChannelFactory.cs : decrypt reply message to
2712           be processed by upper layers.
2713
2714 2006-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2715
2716         * MessageSecurityUtility.cs, WSSecurityMessageHeader.cs,
2717           SymmetricSecurityChannelListener.cs,
2718           SymmetricSecurityChannelFactory.cs, SecurityRequestContext.cs :
2719           more refactoring. Request serialization became much more conformant
2720           and add required header items.
2721           Security Token retrieval is needed to send it in the request.
2722           Fixed wrong key encryption.
2723
2724 2006-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2725
2726         * SecurityRequestContext.cs : the workaround was not functional.
2727
2728 2006-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2729
2730         * SecurityRequestContext.cs : some more refactoring. Use EncryptedXml
2731           API, especially ReplaceData(), instead of native crypto stuff.
2732         * WSSecurityMessageHeader.cs : handle dsig:Signature as well (for
2733           MessageProtectionOrder.SignBeforeEncrypt).
2734
2735 2006-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2736
2737         * SecurityRequestContext.cs : label should be combined of both
2738           the client's and the server's.
2739
2740 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2741
2742         * SecurityRequestContext.cs : enable key derivation (though for now
2743           GenerateDerivedKey() is unimplemented). Create meaningful,
2744           decrypted request message to be consumed by the upper layer.
2745
2746 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2747
2748         * SecurityRequestContext.cs : implement Close() and Reply().
2749           ongoing implementation of Reply(TimeSpan).
2750         * MessageSecurityUtility.cs : new file to collect utility methods.
2751         * SymmetricSecurityChannelFactory.cs : moved securing message code
2752           to the above file.
2753         * SymmetricSecurityChannelListener.cs : tiny renaming.
2754
2755 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2756
2757         * SecurityRequestContext.cs : security header is also stored.
2758           removed NotImpl.
2759         * WSSecurityMessageHeader.cs : read EncryptedKey and EncryptedData
2760           as well.
2761
2762 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2763
2764         * SymmetricSecurityChannelFactory.cs : tiny progress on securing
2765           message.
2766
2767 2006-09-05  Atsushi Enomoto  <atsushi@ximian.com>
2768
2769         * SymmetricSecurityChannelFactory.cs : specify KeyUsage.Exchange
2770           so that it retrieves the security key in that manner.
2771
2772 2006-09-05  Atsushi Enomoto  <atsushi@ximian.com>
2773
2774         * Binding.cs : MessageVersion is null when there is no
2775           MessageEncodingBindingElement.
2776         * Message.cs : null arg check.
2777
2778 2006-09-05  Atsushi Enomoto  <atsushi@ximian.com>
2779
2780         * ChannelPoolSettings.cs, OneWayBindingElement.cs : new files.
2781
2782 2006-09-04  Atsushi Enomoto  <atsushi@ximian.com>
2783
2784         * SymmetricSecurityChannelListener.cs, SecurityRequestContext.cs, 
2785           LayeredReplyChannel.cs, LayeredCommunicationObject.cs,
2786           LayeredRequestChannel.cs : some refactoring.
2787         * SymmetricSecurityChannelFactory.cs :
2788           ongoing secure message creation implementation.
2789
2790 2006-09-01  Atsushi Enomoto  <atsushi@ximian.com>
2791
2792         * SymmetricSecurityBindingElement.cs :
2793           pass specific ServiceCredentialsSecurityTokenManager type to
2794           SymmetricSecurityChannelListener as it needs ServiceCertificate.
2795         * SymmetricSecurityChannelListener.cs :
2796           get service certificate. It's a temporary hack.
2797           Move RequestContext code to below.
2798         * SecurityRequestContext.cs : new file.
2799         * WSSecurityMessageHeader.cs : implementing Read(), but to finish
2800           it I have to finish decryption of the incoming message.
2801
2802 2006-08-31  Atsushi Enomoto  <atsushi@ximian.com>
2803
2804         * MessageImpl.cs : don't write attributes on the first body content
2805           element *on soap Body element*.
2806         * MessageBufferImpl.cs : don't throw ArgumentNullException.
2807           ObjectDisposedException is appropriate.
2808         * MessageHeader.cs : (RawMessageHeader) don't write element itself
2809           in OnWriteHeader*Contents*().
2810
2811 2006-08-31  Atsushi Enomoto  <atsushi@ximian.com>
2812
2813         * WSSecurityMessageHeader.cs : new file.
2814         * SymmetricSecurityChannelFactory.cs :
2815           moved WSSecurityHeader and related types to the above.
2816         * SymmetricSecurityChannelListener.cs :
2817           reject SOAP-env-less message.
2818
2819 2006-08-31  Atsushi Enomoto  <atsushi@ximian.com>
2820
2821         * SecurityChannelListener.cs, SymmetricSecurityChannelListener.cs :
2822           renamed former to latter.
2823         * SymmetricSecurityChannelFactory.cs :
2824           create requirements every time. It is also likely that I need
2825           another requirement instance to get service credentials here.
2826
2827 2006-08-30  Atsushi Enomoto  <atsushi@ximian.com>
2828
2829         * SymmetricSecurityBindingElement.cs : make BuildChannelListener()
2830           similar to BuildChannelFactory() (set credentials, issuer binding
2831           context etc.).
2832         * SecurityChannelListener.cs :
2833           more ongoing security support implementation.
2834         * SymmetricSecurityChannelFactory.cs :
2835           moved GetSecurityKey() to SymmetricSecurityRequestChannel.
2836
2837 2006-08-29  Atsushi Enomoto  <atsushi@ximian.com>
2838
2839         * SecurityChannelListener.cs, SymmetricSecurityBindingElement.cs :
2840           Renamed SecurityChannelListener to SymmetricSecurityChannelListener.
2841           Implementation is underway.
2842         * LayeredReplyChannel.cs :
2843           like LayeredRequestChannel, use ChannelListenerBase to provide
2844           default timeouts.
2845
2846 2006-08-29  Atsushi Enomoto  <atsushi@ximian.com>
2847
2848         * MessageHeader.cs : added another implementation type that uses
2849           XmlElement, for buffering purpose.
2850         * MessageImpl.cs : Header item types are user-driven by
2851           MessageHeader.GetHeader<T>(int), so at storing phase just store
2852           nodes as XmlElement.
2853         * MessageHeaders.cs : avoid dumping XmlNode to string to create
2854           another XmlReader.
2855
2856 2006-08-28  Atsushi Enomoto  <atsushi@ximian.com>
2857
2858         * SymmetricSecurityBindingElement.cs : find ClientCredentials from
2859           BindingParameterCollection, not from binding element properties.
2860
2861 2006-08-28  Atsushi Enomoto  <atsushi@ximian.com>
2862
2863         * SecurityChannelFactory.cs, SymmetricSecurityChannelFactory.cs :
2864           renamed former to latter.
2865
2866 2006-08-25  Atsushi Enomoto  <atsushi@ximian.com>
2867
2868         * SecurityBindingElement.cs : SetIssuerBindingContext should also
2869           work for SslSecurityTokenParameters.
2870
2871 2006-08-24  Atsushi Enomoto  <atsushi@ximian.com>
2872
2873         * SecurityBindingElement.cs :
2874           Added SetIssuerBindingContextIfRequired().
2875         * SecurityChannelFactory.cs :
2876           Changed .ctor() arg again, just to receive binding element.
2877         * SymmetricSecurityBindingElement.cs :
2878           Call SetIssuerBindingContextIfRequired() in BuildChannelFactory().
2879           SymmetricSecurityChannelFactory .ctor() arg changes.
2880           "ProtectionTokenParameters" is not passed now.
2881
2882 2006-08-23  Atsushi Enomoto  <atsushi@ximian.com>
2883
2884         * SymmetricSecurityBindingElement.cs : requirements should be
2885           filled at InitializeSecurityTokenParameters as long as possible.
2886           SymmetricSecurityChannelFactory<T> now does not receive
2887           requirements (it now creates one inside it) at .ctor().
2888         * SecurityChannelFactory.cs : remove requirement argument.
2889
2890 2006-08-23  Atsushi Enomoto  <atsushi@ximian.com>
2891
2892         * SymmetricSecurityBindingElement.cs : implemented copy constructor.
2893
2894 2006-08-22  Atsushi Enomoto  <atsushi@ximian.com>
2895
2896         * SymmetricSecurityBindingElement.cs :
2897           MessageSecurityVersion property is of type SecurityTokenVersion.
2898         * SecurityBindingElement.cs :
2899           Implemented CreateSecureConversationBindingElement().
2900           For CreateIssuedTokenBindingElement(), ProtectionTokenParameters is
2901           the argument IssuedSecurityTokenParameters itself.
2902
2903 2006-08-22  Atsushi Enomoto  <atsushi@ximian.com>
2904
2905         * SymmetricSecurityBindingElement.cs :
2906           CreateSecurityTokenManager() can be directly used now. 
2907           Use CallInitializeSecurityTokenRequirement() to fill requirement
2908           properties.
2909
2910 2006-08-16  Atsushi Enomoto  <atsushi@ximian.com>
2911
2912         * ChannelFactoryBase.cs : GetProperty() is virtual.
2913
2914 2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
2915
2916         * SymmetricSecurityBindingElement.cs : in BuildChannelFactory(),
2917           create token manager, token parameters and token requirements,
2918           and fill some requirements.
2919         * TransportBindingElement.cs, HttpTransportBindingElement.cs,
2920           TextMessageEncodingBindingElement.cs : workaround to not throw NIE.
2921         * BindingContext.cs : implemented RemainingBindingElements.
2922           kill "no remaining binding element" error in GetInnerProperty()
2923         * SecurityChannelFactory.cs : now it became 
2924           SymmetricSecurityChannelFactory, thus soon to be renamed.
2925           Several ongoing actual security resolution is on.
2926
2927 2006-08-11  Atsushi Enomoto  <atsushi@ximian.com>
2928
2929         * CommunicationObject.cs :
2930           add GetCommunicationObjectType() and use it.
2931         * ChannelFactoryBase.cs, ChannelListenerBase_1.cs :
2932           use ThrowIfDisposedOrNotOpen().
2933         * LayeredCommunicationObject.cs : have similar ThrowIf...() methods
2934           to CommunicationObject. Make it IDisposable.
2935         * LayeredRequestChannel.cs : use above.
2936         * SecurityChannelFactory.cs : removed state check as it is done at
2937           above class.
2938
2939 2006-08-10  Atsushi Enomoto  <atsushi@ximian.com>
2940
2941         * SecurityBindingElement.cs : (CanBuildChannelFactory and
2942           CanBuildChannelListener) directly dispatch to BindingContext.
2943         * SymmetricSecurityBindingElement.cs : require protection token
2944           parameters before building a channel or a listener.
2945         * ChannelFactoryBase.cs : raise an error when a channel is being
2946           created without opening the factory.
2947         * ChannelListenerBase_1.cs : ditto for the listener.
2948         * SecurityChannelFactory.cs : before sending a request, it must be
2949           opened.
2950
2951 2006-08-07  Atsushi Enomoto  <atsushi@ximian.com>
2952
2953         * MessageBufferImpl.cs : initialize fields.
2954           workaround BufferSize just to return 0.
2955         * MessageImpl.cs : for BodyWriter, don't use DefaultMessageBuffer
2956           which does not support multi time write.
2957         * Message.cs : implemented State.
2958
2959 2006-08-07  Atsushi Enomoto  <atsushi@ximian.com>
2960
2961         * Message.cs : OnGetBodyAttribute() cannot return anything unless it
2962           is consuming XmlReader.
2963           Implemented OnCreateBufferedCopy(), to return XPathMessageBuffer.
2964         * MessageBuffer.cs : implemented CreateNavigator().
2965         * MessageBufferImpl.cs : added XPathMessageBuffer class.
2966
2967         I kinda know that MS heavily depends on binary XmlReader and may have
2968         XPathNavigator implementation based on the binary stuff, but at
2969         least for now we have almost no motivation to mimick it.
2970
2971 2006-08-07  Atsushi Enomoto  <atsushi@ximian.com>
2972
2973         * SecurityChannelFactory.cs : a bit more of security header code.
2974
2975 2006-08-04  Atsushi Enomoto  <atsushi@ximian.com>
2976
2977         * SymmetricSecurityBindingElement.cs :
2978           set default MessageProtectionOrder in every construction.
2979
2980 2006-08-03  Atsushi Enomoto  <atsushi@ximian.com>
2981
2982         * LayeredRequestChannel.cs, SecurityChannelFactory.cs : 
2983           changed to require ChannelFactoryBase to support default timeout.
2984           Made some methods non-virtual. Preparing code to add security
2985           headers (empty yet).
2986         * SecurityBindingElement.cs : implemented several factory methods
2987           that return SymmetricSecurityBindingElement.
2988
2989 2006-08-02  Atsushi Enomoto  <atsushi@ximian.com>
2990
2991         * IStreamUpgradeBindingElement.cs,
2992           StreamUpgradeBindingElement.cs : renamed from former to latter.
2993
2994 2006-08-02  Atsushi Enomoto  <atsushi@ximian.com>
2995
2996         * IStreamUpgradeBindingElement.cs : API update, soon to be renamed.
2997
2998 2006-07-31  Ankit Jain  <jankit@novell.com>
2999
3000         * MessageHeaders.cs (From): Use Constants.WSA1
3001         (MessageId): Implement the same pattern as other properties (From etc).
3002
3003 2006-07-28  Atsushi Enomoto  <atsushi@ximian.com>
3004
3005         * LocalClientSecuritySettings.cs : initialize IdentityVerifier as well.
3006         * SecurityBindingElement.cs : some cosmetic changes.
3007
3008 2006-07-28  Atsushi Enomoto  <atsushi@ximian.com>
3009
3010         * SecurityBindingElement.cs : LocalClientSettings and 
3011           LocalServiceSettings returns an instance for each.
3012         * LocalClientSecuritySettings.cs : initialized fields.
3013
3014 2006-07-28  Atsushi Enomoto  <atsushi@ximian.com>
3015
3016         * LocalClientSecuritySettings.cs : moved from S.SM.Description, and
3017           kinda implemented Clone() just with MemberwiseClone().
3018
3019 2006-07-27  Ankit Jain  <jankit@novell.com>
3020
3021         * MessageHeaders.cs (set_To): Use Uri.AbsoluteUri .
3022         * MessageHeader.cs (knownTypes): New. Known type array containing
3023         EndpointAddress10.
3024         (CreateHeader): Use knownTypes with the DataContractSerializer .ctor
3025
3026 2006-07-21  Atsushi Enomoto  <atsushi@ximian.com>
3027
3028         * LayeredRequestChannel.cs, LayeredReplyChannel.cs,
3029           LayeredCommunicationObject.cs,
3030           SecurityChannelFactory.cs, SecurityChannelListener.cs :
3031           new files to support security channels, though right now they
3032           just pass inner channels through.
3033         * SymmetricSecurityBindingElement.cs : use above.
3034
3035 2006-07-21  Atsushi Enomoto  <atsushi@ximian.com>
3036
3037         * AsymmetricSecurityBindingElement.cs,
3038           SymmetricSecurityBindingElement.cs :
3039           Default SecurityTokenParameters is null.
3040
3041 2006-07-20  Atsushi Enomoto  <atsushi@ximian.com>
3042
3043         * AsymmetricSecurityBindingElement.cs : remove NotImpl for now.
3044
3045 2006-07-20  Atsushi Enomoto  <atsushi@ximian.com>
3046
3047         * Message.cs : When EnvelopeVersion is None, don't write SOAP
3048           envelope.
3049         * MessageHeader.cs : don't write headers when EnvelopeVersion is None.
3050         * MessageHeaders.cs : When EnvelopeVersion is None, don't output
3051           headers. When AddressingVersion is None, don't output addressing
3052           headers as well, except for Action which is still needed by
3053           service dispatcher.
3054
3055 2006-07-20  Atsushi Enomoto  <atsushi@ximian.com>
3056
3057         * MessageHeaders.cs : changed specific properties to find it from
3058           headers as Action property does (local variables won't be set by
3059           setter). Cache serializers. Check null serializer arguments.
3060           For EndpointAddress, GetHeader<T>() shouldn't use serializer.
3061
3062 2006-07-19  Atsushi Enomoto  <atsushi@ximian.com>
3063
3064         * MessageHeader.cs : WriteTo() should treat EndpointAddress to not
3065           use XmlObjectSerializer (since it is not data contract type).
3066
3067 2006-07-18  Atsushi Enomoto  <atsushi@ximian.com>
3068
3069         * MessageImpl.cs : Improved ReadHeaders().
3070           For certain header items, use EndpointAddress.ReadFrom().
3071
3072 2006-07-18  Atsushi Enomoto  <atsushi@ximian.com>
3073
3074         * AsymmetricSecurityBindingElement.cs :
3075           it is not ISecurityCapabilities anymore.
3076
3077 2006-07-18  Atsushi Enomoto  <atsushi@ximian.com>
3078
3079         * MessageVersion.cs : added None.
3080
3081 2006-07-14  Atsushi Enomoto  <atsushi@ximian.com>
3082
3083         * Message.cs : GetReaderAtBodyContents() implementation using
3084           writer methods.
3085
3086 2006-07-13  Atsushi Enomoto  <atsushi@ximian.com>
3087
3088         * Message.cs : CreateMessage(version,action,xmlReader) incorrectly
3089           used MessageVersion.Default.
3090
3091 2006-07-12  Duncan Mak  <duncan@novell.com>
3092
3093         * MessageBuffer.cs (MessageContentType): Return
3094         "application/soap+msbin1".
3095
3096         * MessageImpl.cs (EmptyMessage.OnCreateBufferedCopy):
3097         (SimpleMessage.OnCreateBufferedCopy):
3098         (XmlReaderMessage.OnCreateBufferedCopy): Hook up with the new
3099         MessageBuffer implementations.
3100
3101         * MessageBufferImpl.cs: Concrete implmentations for MessageBuffer.
3102         (DefaultMessageBuffer): Used by EmptyMessage and SimpleMessage.
3103         (XmlReaderMessageBuffer): Used by XmlReaderMessage.
3104
3105 2006-07-12  Atsushi Enomoto  <atsushi@ximian.com>
3106
3107         * MessageImpl.cs : Action should be added in request messages. Omit
3108           it only in reply message, thus moved to dispatcher logic.
3109
3110 2006-07-12  Ankit Jain  <jankit@novell.com>
3111
3112         * HttpRequestChannel.cs (HttpRequestChannel.Request): Workaround for a
3113         bug in WebConnectionStream.
3114         * MessageHeaders.cs (MessageHeaders.From):
3115         (MessageHeaders.ReplyTo):
3116         (MessageHeaders.To): Add the corresponding MessageHeader on set.
3117
3118 2006-07-11  Atsushi Enomoto  <atsushi@ximian.com>
3119
3120         * MessageImpl.cs : when AddressingVersion is None (e.g. POX), don't
3121           add SOAP Action to the response at any time.
3122
3123 2006-07-10  Atsushi Enomoto  <atsushi@ximian.com>
3124
3125         * SymmetricSecurityBindingElement.cs,
3126           SecurityBindingElement.cs : They are not ISecurityCapabilities now.
3127           Implemented .ctor() and some properties.
3128
3129 2006-07-10  Atsushi Enomoto  <atsushi@ximian.com>
3130
3131         * TransactionFlowBindingElement.cs : new file.
3132         * HttpTransportBindingElement.cs : added missing KeepAliveEnabled.
3133
3134 2006-07-06  Atsushi Enomoto  <atsushi@ximian.com>
3135
3136         * MessageFault.cs :
3137           DefaultAction vanished. CreateFault() now takes bufferSize arg.
3138         * MessageHeaders.cs : ArgumentException -> MessageHeaderException.
3139         * AddressingVersion.cs : added None. Equals() and GetHashCode()
3140           vanished (there is anyways no way to instantiate this type).
3141         * MessageVersion.cs : added Soap11 and Soap12.
3142         * TextMessageEncoder.cs : silly quotation mark wrapper disappeared
3143           in June CTP. goodie.
3144
3145 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3146
3147         * MtomMessageEncoder.cs, BinaryMessageEncoder.cs, Message.cs :
3148           removed some vanished CreateMessage() overloads.
3149
3150 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3151
3152         * CustomBinding.cs, HttpsTransportBindingElement.cs, 
3153           HttpTransportBindingElement.cs :
3154           They are not ISecurityCapabilities anymore.
3155           Modified code to match June CTP behavior.
3156
3157 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3158
3159         * StreamSecurityUpgradeProvider.cs : Identity -> EndpointIdentity.
3160
3161 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3162
3163         * EmptyFaultException.cs : removed unused code.
3164         * IRequestContext.cs, RequestContext.cs : renamed former to latter.
3165
3166 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3167
3168         * LayeredChannelFactory.cs : removed obsolete class.
3169         * ChannelFactoryBase.cs, HttpChannelFactory.cs,
3170           ChannelListenerBase.cs, HttpChannelListener.cs,
3171           HttpReplyChannel.cs, ChannelManagerBase.cs :
3172           all those changes were brought by ChannelManagerBase changes.
3173
3174 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3175
3176         * ReplyChannelBase.cs, HttpChannelFactory.cs, ChannelBase.cs
3177           CommunicationObject.cs, HttpChannelListener.cs,
3178           ChannelFactoryBase.cs :
3179           CommunicationObject abstract changes brought this madness.
3180
3181 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3182
3183         * BindingContext.cs : listenUri address parameters could be null in
3184           June CTP.
3185
3186 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3187
3188         * IRequestContext.cs :
3189           Now it became a class. File renaming will follow soon.
3190         * IChannelFactory.cs, IInputChannel.cs, IReplyChannel.cs,
3191           IDuplexChannel.cs, IDuplexSessionChannel.cs,
3192           IOutputChannel.cs, IOutputSessionChannel.cs,
3193           IRequestChannel.cs, IRequestSessionChannel.cs :
3194           They are not IDisposable anymore.
3195           For IReplyChannel, IRequestContext -> RequestContext.
3196         * IChannelListener.cs : removed Identity. Added GetProperty().
3197         * ChannelListenerBase.cs, ChannelListenerBase.cs,
3198           ReplyChannelBase.cs, HttpReplyChannel.cs :
3199           Several members disappeared, and dependent changes.
3200         * HttpTransportBindingElement.cs,
3201           HttpChannelListener.cs, :
3202           ChannelListenerBase.SharedChannelListener vanished.
3203
3204 2006-07-05  Atsushi Enomoto  <atsushi@ximian.com>
3205
3206         * MessageEncodingBindingElement.cs
3207           MtomMessageEncodingBindingElement.cs,
3208           TextMessageEncodingBindingElement.cs,
3209           BinaryMessageEncodingBindingElement.cs :
3210           June CTP updates: AddressingVersion -> MessageVersion.
3211         * Binding.cs : June CTP. MessageVersion is added.
3212         * ChannelBase.cs, BindingContext.cs, IChannel.cs
3213           ChannelListenerBase_1.cs,
3214           ChannelListenerBase.cs, IChannelListener.cs,
3215           IChannelFactory.cs,
3216           ChannelFactoryBase.cs, ChannelManagerBase.cs :
3217           June CTP. Several interface changes.
3218         * HttpTransportBindingElement.cs : June CTP. HttpMappingMode is gone.
3219         * IChannelManager.cs, LayeredChannelListener.cs,
3220           GenericWrapperChannelFactory.cs,
3221           GenericWrapperChannelListener.cs : They are not used anymore.
3222
3223 2006-07-04  Atsushi Enomoto  <atsushi@ximian.com>
3224
3225         * MtomMessageEncoder.cs, BinaryMessageEncoder.cs :
3226           sync fix with June CTP API updates.
3227
3228 2006-07-03  Ankit Jain  <jankit@novell.com>
3229
3230         * MessageEncodingBindingElementConverter.cs:
3231         * StandardBindingConverter.cs:
3232         * TransportBindingElementConverter.cs:
3233         * TransactionFlowBindingElementConverter.cs:
3234         * ReliableSessionBindingElementConverter.cs:
3235         * SecurityBindingElementConverter.cs:
3236         Rename *Converter.cs to *Importer.cs
3237
3238         * TransferMode.cs: Move to System.ServiceModel
3239
3240 2006-06-22  Atsushi Enomoto  <atsushi@ximian.com>
3241
3242         * CommunicationObject.cs : make sure to change State before
3243           OnClosing/OnClosed/OnOpening/OnOpened when they are overriden.
3244
3245 2006-06-20  Atsushi Enomoto  <atsushi@ximian.com>
3246
3247         * Message.cs : output WSAddressing xmlns only when Action is
3248           specified (To should be affected, but seems like it is ignored).
3249
3250 2006-06-20  Atsushi Enomoto  <atsushi@ximian.com>
3251
3252         * MessageImpl.cs : don't set Action when it is null.
3253
3254 2006-06-12  Ankit Jain  <jankit@novell.com>
3255
3256         * TransportBindingElementConverter.cs (ImportEndpoint): Implement.
3257
3258 2006-05-29  Atsushi Enomoto  <atsushi@ximian.com>
3259
3260         * SecurityBindingElement.cs, SecurityBindingElementConverter.cs :
3261           some updated API fixes.
3262
3263 2006-05-29  Atsushi Enomoto  <atsushi@ximian.com>
3264
3265         * EnvelopeVersion.cs : moved back to S.SM.
3266
3267 2006-05-29  Atsushi Enomoto  <atsushi@ximian.com>
3268
3269         * IBindingManualAddressing.cs : vanished in beta2.
3270         * HostedTransportConfiguration.cs, EnvelopeVersion.cs,
3271           LocalClientSecuritySettings.cs, LocalServiceSecuritySettings.cs :
3272           namespace changes.
3273         * SecurityBindingElement.cs :
3274           SecurityStandardsManager -> SecurityTokenSerializer.
3275
3276 2006-05-29  Atsushi Enomoto  <atsushi@ximian.com>
3277
3278         * XmlSerializerBodyWriter.cs : new file to handle 
3279           TypedMessageConverter.ToMessage().
3280
3281 2006-04-26  Ankit Jain  <jankit@novell.com>
3282
3283         * TransportBindingElementConverter.cs (BeforeImport): Remove
3284         NotImplementedException.
3285         (ImportContract): Likewise.
3286         * CustomBinding.cs (.ctor): Use scheme from the binding parameter.
3287
3288 2006-04-14  Atsushi Enomoto  <atsushi@ximian.com>
3289
3290         * HttpRequestChannel.cs, HttpChannelFactory.cs : message encoder 
3291           being used was not reflecting that of Binding elements.
3292
3293 2006-04-07  Atsushi Enomoto  <atsushi@ximian.com>
3294
3295         * HttpReplyChannel.cs : when SOAP action is not set as a header item,
3296           just assume that it is in the message.
3297
3298 2006-04-06  Atsushi Enomoto  <atsushi@ximian.com>
3299
3300         * HttpReplyChannel.cs : actually HTTP header item might be null.
3301
3302 2006-04-06  Atsushi Enomoto  <atsushi@ximian.com>
3303
3304         * HttpReplyChannel.cs : under SOAP 1.1 SOAP Action is sent as HTTP
3305           header.
3306
3307 2006-04-06  Atsushi Enomoto  <atsushi@ximian.com>
3308
3309         * TextMessageEncoder.cs : for SOAP 1.1 content type is text/xml.
3310
3311 2006-04-06  Atsushi Enomoto  <atsushi@ximian.com>
3312
3313         * MessageFault.cs : Fixed SOAP12 reason output.
3314
3315 2006-04-05  Atsushi Enomoto  <atsushi@ximian.com>
3316
3317         * HttpReplyChannel.cs : no need to set response ContentEncoding since
3318           MessageEncoder.ContentType explicitly contains encoding.
3319         * AddressingVersion.cs : added ActionNotSupported property. Not sure
3320           if it is SOAP version dependent.
3321
3322 2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>
3323
3324         * HttpReplyChannel.cs : actually I could just workaround bug #77816.
3325
3326 2006-03-16  Atsushi Enomoto  <atsushi@ximian.com>
3327
3328         * HttpChannelFactory.cs BindingContext.cs
3329           HttpChannelListener.cs HttpTransportBindingElement.cs :
3330           Now BindingContext holds MessageEncoder, and non-custom
3331           channel factory/listener should use it.
3332         * MtomMessageEncodingBindingElement.cs
3333           TextMessageEncodingBindingElement.cs
3334           BinaryMessageEncodingBindingElement.cs : BuildChannelFactory()/
3335           -Listener() now sets internal BindingContext.MessageEncoder.
3336           Fixed some public API.
3337
3338 2006-03-15  Atsushi Enomoto  <atsushi@ximian.com>
3339
3340         * BindingContext.cs : CanBuildChannelXXX() should not raise error
3341           for insufficient elements.
3342         * DispatchRuntime.cs : OperationDescription name is not action. So
3343           OperationSelector is created by name, not by action.
3344         * TextMessageEncodingBindingElement.cs : Feb. CTP API fixes.
3345
3346 2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>
3347
3348         * MessageFaultBodyWriter.cs
3349           XmlReaderBodyWriter.cs
3350           XmlObjectSerializerBodyWriter.cs : made internal.
3351         * SecurityBindingElement.cs
3352           AsymmetricSecurityBindingElement.cs
3353           SymmetricSecurityBindingElement.cs : API fixes.
3354         * TransportBindingElementConverter.cs : ditto.
3355         * TextMessageEncodingBindingElement.cs : added set_AddressingVersion.
3356         * WindowsStreamSecurityBindingElement.cs
3357           SslStreamSecurityBindingElement.cs
3358           TransportSecurityBindingElement.cs : new files.
3359
3360 2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>
3361
3362         * MessageImpl.cs : according to the W3C REC, mustUnderstand when
3363           reading can be any xs:boolean value.
3364
3365 2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>
3366
3367         * Message.cs MessageImpl.cs : more sorting out the role of each
3368           write method.
3369         * MessageHeader.cs : use envelope namespace, not addressing namespace.
3370
3371 2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>
3372
3373         * Message.cs : don't write body contents if it is empty.
3374           Moved WriteStartElement(,"Header",) to OnWriteStartHeaders().
3375         * MessageImpl.cs : implemented XmlReaderMessage.OnWriteBodyContents().
3376         * TextMessageEncoder.cs : WriteMessage() should close XmlWriter.
3377         * HttpRequestChannel.cs : close request stream before GetResponse().
3378
3379 2006-03-13  Atsushi Enomoto  <atsushi@ximian.com>
3380
3381         * TextMessageEncoderFactory.cs
3382           TextMessageEncoder.cs : encoder does not hold reference to the
3383           factory anymore. Use MessageVersion property in CreateMssage().
3384         * HttpChannelListener.cs : now it holds message encoder.
3385         * HttpReplyChannel.cs : now it uses listener's shared message encoder.
3386         * MessageImpl.cs : header is optional.
3387         * EnvelopeVersion.cs : namespace URI is missing.
3388
3389 2006-03-10  Atsushi Enomoto  <atsushi@ximian.com>
3390
3391         * CustomBinding.cs : removed Initialize().
3392         * Message.cs : renamed ForwardingMessage -> XmlReaderMessage.
3393         * MessageImpl.cs : renamed ForwardingMessage to XmlReaderMessage (used
3394           by Message.CreateMessage(MessageVersion,XmlReader,int) and
3395           implemented Headers, IsEmpty and GetReaderAtBodyContents().
3396
3397 2006-03-08  Atsushi Enomoto  <atsushi@ximian.com>
3398
3399         * MessageHeaders.cs : implemented GetReaderAtHeader() and Action (it
3400           could be also added by Add() method and could be reset by Remove()).
3401         * MessageImpl.cs : implemented more. As noted above, Now we don't 
3402           have to add Action header explicitly.
3403         * MessageHeader.cs : recovered Writer methods and ToString() from
3404           commented old version. Use prefixes for writing.
3405           Use WriteObjectContent() rather than WriteObject() (it needs
3406           DataContractSerializer fix btw).
3407
3408 2006-03-08  Atsushi Enomoto  <atsushi@ximian.com>
3409
3410         * MessageHeader.cs : added missing IsReferenceParameter.
3411         * MessageHeaderInfo.cs : added missing IsReferenceParameter.
3412         * MessageHeaders.cs : avoid NullRef when actors is null.
3413         * MessageImpl.cs : (MessageImplBase) add Action header in .ctor().
3414           (ForwardingMessage) reader consumer is being added (not done).
3415         * MtomMessageEncodingBindingElement.cs : simply use Mtom factory.
3416         * MtomMessageEncoder.cs : updated ContentType value to Feb. CTP.
3417         * HttpRequestChannel.cs : this channel automatically call Open()
3418           when Request() is called. Set content length for request.
3419           Use MessageEncoder's ContentType to also handle charset.
3420
3421 2006-03-07  Atsushi Enomoto  <atsushi@ximian.com>
3422
3423         * MessageImpl.cs : make them internal.
3424         * HttpReplyChannel.cs : set HttpListenerResponse properties correctly.
3425
3426 2006-03-07  Atsushi Enomoto  <atsushi@ximian.com>
3427
3428         * ChannelManagerBase.cs : cleanup MonoTODO and unused field.
3429         * HttpChannelListener.cs : removed commented line.
3430         * RequestChannelBase.cs : new base class for request channel classes.
3431         * ChannelListenerBase.cs : OnEndClose() is rather NotImplemented yet.
3432         * HttpReplyChannel.cs : WaitHandle accepts limited timeout value.
3433         * Message.cs : default IsEmpty and IsFault false by default.
3434         * LayeredChannelListener.cs : removed Uri (no chance to set).
3435         * ChannelBase.cs : reimplemented timeout properties.
3436         * HttpRequestChannel.cs : now it is mostly based on
3437           RequestChannelBase. Some more attempt to implement Request().
3438
3439 2006-03-07  Atsushi Enomoto  <atsushi@ximian.com>
3440
3441         * Binding.cs CustomBinding.cs : removed OnApplyConfiguration() and
3442           OnInitialize(). Added more BuildChannelListener() overloads.
3443
3444 2006-03-06  Atsushi Enomoto  <atsushi@ximian.com>
3445
3446         * Binding.cs : added some more missing members especially to support
3447           listener creation.
3448         * HttpChannelListener.cs : Uri should not be null.
3449         * HttpTransportBindingElement.cs : implemented
3450           CanBuildChannelFactory() and CanBuildChannelListener().
3451         * ServiceHostBase.cs : make Initialize() practically work at OnOpen().
3452
3453 2006-03-06  Atsushi Enomoto  <atsushi@ximian.com>
3454
3455         * Binding.cs : updated default namespace property value to Feb. CTP.
3456
3457 2006-03-03  Atsushi Enomoto  <atsushi@ximian.com>
3458
3459         * AddressHeader.cs : avoid null reference when value is null.
3460         * BindingContext.cs : check null ListenUri args.
3461
3462 2006-03-03  Atsushi Enomoto  <atsushi@ximian.com>
3463
3464         * MessageFault.cs : Fixed default action name. Null arg check.
3465
3466 2006-03-03  Atsushi Enomoto  <atsushi@ximian.com>
3467
3468         * BindingElement.cs : Dequeue elements in BindingContext directly.
3469         * BindingContext.cs : Added GetProperty<T>().
3470         * GenericWrapperChannelFactory.cs GenericWrapperChannelListener.cs :
3471           Now we don't need these extra classes, so marked as deprecated.
3472
3473 2006-03-03  Atsushi Enomoto  <atsushi@ximian.com>
3474
3475         * Binding.cs : null arg check.
3476         * AddressingVersion.cs : fixed constants to pass the tests.
3477         * BindingElement.cs : tiny meessage fix.
3478
3479 2006-03-02  Atsushi Enomoto  <atsushi@ximian.com>
3480
3481         * MessageEncodingBindingElement.cs
3482           BinaryMessageEncodingBindingElement.cs
3483           TextMessageEncodingBindingElement.cs
3484           MtomMessageEncodingBindingElement.cs
3485           MessageEncodingBindingElementConverter.cs : several API fixes.
3486         * BindingElement.cs : now if we use generic wrapper it causes
3487           infinite loop, so for now replace it with most-possible-but-
3488           untested logic.
3489
3490 2006-03-02  Atsushi Enomoto  <atsushi@ximian.com>
3491
3492         (back to normal "record-ChangeLogs" mode after the big API change mess)
3493         * HttpTransportBindingElement.cs : fixed minor API differences.
3494
3495 2006-02-23  Atsushi Enomoto  <atsushi@ximian.com>
3496
3497         * AsymmetricSecurityBindingElement.cs SecurityBindingElement.cs
3498           SymmetricSecurityBindingElement.cs :
3499           Dependent fixes for System.IdentityModel reorgainzation.
3500
3501 2006-02-23  Atsushi Enomoto  <atsushi@ximian.com>
3502
3503         * InputChannelBase.cs.notused IInputSession.cs IOutputSession.cs
3504           IProxyFormatter.cs WSHttpBindingBase.cs 
3505           PnrpPeerResolverBindingElement.cs IMessageHeaderInfo.cs
3506           MessageInterceptorEventArgs.cs WSHttpBinding.cs
3507           WSFederationBinding.cs ISessionChannel.cs
3508           CompositeDuplexBindingElement.cs MessageVersion.cs
3509           MessageHeader.cs IRequestSessionChannel.cs 
3510           BindingElementCollection.cs IReplySessionChannel.cs
3511           MessageProperties.cs IDuplexClientChannel.cs
3512           IInputSessionChannel.cs MessageImpl.cs IDuplexSessionChannel.cs
3513           TcpTransportBindingElement.cs EmptyFaultException.cs
3514           IBindingRuntimePreferences.cs AddressHeaderCollection.cs
3515           IStubFormatter.cs AsymmetricSecurityBindingElement.cs
3516           ConnectionOrientedTransportBindingElement.cs
3517           IProxyOperationSelector.cs MessageBuffer.cs IChannel.cs
3518           PeerResolverBindingElement.cs Message.cs
3519           HttpsTransportBindingElement.cs BindingElement.cs
3520           NamedPipetransportBindingElement.cs IBindingManualAddressing.cs
3521           MessageFaultBodyWriter.cs IReplyChannel.cs
3522           IBindingCapabilities.cs AddressHeader.cs IInputChannel.cs
3523           IMessageProperty.cs IOutputChannel.cs NetPeerTcpBinding.cs
3524           IRequestContext.cs IInputSessionShutdown.cs
3525           SecurityBindingElement.cs PeerTransportBindingElement.cs
3526           IDuplexSession.cs IChannelInitializer.cs
3527           IProxyMessageInspector.cs IChannelListener.cs NetTcpBinding.cs
3528           AddressingVersion.cs FaultException.cs
3529           IRequestChannel.cs MtomMessageEncodingBindingElement.cs
3530           TransportBindingElement.cs BinaryMessageEncodingBindingElement.cs
3531           TextMessageEncodingBindingElement.cs IChannelFactory.cs Binding.cs
3532           ITransportBindingElement.cs IChannelManager.cs MessageFault.cs
3533           MessageHeaders.cs IStubMessageInspector.cs UnderstoodHeaders.cs
3534           BindingParameterCollection.cs IInstanceProvider.cs
3535           WSDualHttpBinding.cs ISession.cs IErrorHandler.cs
3536           MessageEncodingBindingElement.cs HttpTransportBindingElement.cs
3537           IDuplexChannel.cs CustomBinding.cs IOutputSessionChannel.cs
3538           MessageContractAttribute.cs SymmetricSecurityBindingElement.cs :
3539           moved from System.ServiceModel due to the API changes.
3540
3541 2006-02-23  Atsushi Enomoto  <atsushi@ximian.com>
3542
3543         * ChannelFactoryBase.cs ChannelListenerBase.cs HttpChannelFactory.cs
3544           HttpChannelListener.cs HttpRequestChannel.cs
3545           LayeredChannelListener.cs PeerMessagePropagationFilter.cs
3546           PeerNode.cs ReplyChannelBase.cs :
3547           Feb. CTP API changes - chapter 1.
3548
3549 2006-02-15  Atsushi Enomoto  <atsushi@ximian.com>
3550
3551         * ChannelBase.cs : OnOpen() and OnClosed() do nothing.
3552         * ReplyChannelBase.cs : now it is based on ChannelBase.
3553         * ChannelListenerBase_1.cs : use DefaultCommunicationTimeouts.Instance
3554           and check null argument in .ctor().
3555         * HttpReplyChannel.cs : several changes.
3556           Non-async members are mostly implemented.
3557         * HttpChannelListener.cs : no need to receive 
3558           IDefaultCommunicationTimeouts.
3559         * HttpRequestChannel.cs : maxSizeOfHeaders is used in MessageHeaders
3560           to allocate buffer array and int.MaxValue causes OutOfMemory.
3561
3562 2006-02-15  Atsushi Enomoto  <atsushi@ximian.com>
3563
3564         * ClientFramingDecoderState.cs : added missing enum.
3565         * HttpRequestMessageProperty.cs HttpResponseMessageProperty.cs :
3566           added missing bits.
3567         * ChannelBase.cs, LayeredChannelListener.cs : tiny API fixes.
3568
3569 2006-02-15  Atsushi Enomoto  <atsushi@ximian.com>
3570
3571         * HttpChannelListener.cs : Added GetChannels() and OnClose().
3572           AcceptChannel() has some code now but it needs more love.
3573
3574 2006-02-14  Atsushi Enomoto  <atsushi@ximian.com>
3575
3576         * CommunicationObject.cs : Close() does not call Begin/EndClose().
3577         * ChannelManagerBase.cs : implemented AbortChannel and CloseChannel.
3578         * ChannelListenerBase.cs : implemented OnAbort and OnClose.
3579
3580 2006-02-10  Atsushi Enomoto  <atsushi@ximian.com>
3581
3582         * HttpRequestChannel.cs : close the streams.
3583         * HttpListener.cs
3584           HttpChannelListener.cs : renamed from former to latter.
3585
3586 2006-02-09  Atsushi Enomoto  <atsushi@ximian.com>
3587
3588         * ReplyChannelBase.cs : new file for IReplyChannel implementations.
3589         * HttpReplyChannel.cs : new file for HTTP IReplyChannel.
3590         * HttpListenerFactory.cs : removed obsolete file.
3591         * HttpListener.cs : hacky WaitForChannel and AcceptChannel.
3592         * ChannelListenerBase_1.cs : implemented virtual stuff.
3593         * CommunicationObject.cs : Open() should not call BeginOpen() and
3594           EndOpen(). Instead, invoke events individually.
3595         * ChannelListenerBase.cs : its Open() is WaitForChannel().
3596
3597 2006-02-08  Atsushi Enomoto  <atsushi@ximian.com>
3598
3599         * HttpRequestChannel.cs : call Flush() after serializing message
3600           into HTTP stream.
3601
3602 2006-02-08  Atsushi Enomoto  <atsushi@ximian.com>
3603
3604         * HttpRequestChannel.cs : implemented pretty hacky Request().
3605
3606 2006-02-02  Atsushi Enomoto  <atsushi@ximian.com>
3607
3608         * HttpRequestChannel.cs : Manager is HttpChannelFactory.
3609
3610 2006-02-01  Atsushi Enomoto  <atsushi@ximian.com>
3611
3612         * ChannelFactoryBase.cs : removed some NotImplementedException for
3613           further internal implementation.
3614
3615 2006-01-26  Atsushi Enomoto  <atsushi@ximian.com>
3616
3617         * HttpRequestChannel.cs : new file. mostly not implemented.
3618         * HttpChannelFactory.cs : Implemented CanCreateChannel().
3619           Partly implemented CreateChannel().
3620
3621 2006-01-26  Atsushi Enomoto  <atsushi@ximian.com>
3622
3623         * HttpChannelFactory.cs : (.ctor())
3624           Don't take ChannelBuildContext.
3625
3626 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3627
3628         * StreamSecurityUpgradeInitiator.cs PeerMessageOrigination.cs
3629           ChannelBase.cs StreamSecurityUpgradeAcceptor.cs
3630           PeerMessagePropagation.cs : updated to Nov. CTP.
3631
3632 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3633
3634         * ChannelListenerBase.cs, ChannelManagerBase.cs,
3635           ChannelListenerBase_1.cs, LayeredChannelListener.cs,
3636           StreamSecurityUpgradeAcceptor.cs,
3637           StreamSecurityUpgradeInitiator.cs :
3638           Updated to Nov. CTP API.
3639
3640 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3641
3642         Now we can rename ListenerFactoryBase.cs to ChannelListenerBase.cs.
3643
3644 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3645
3646         renamed ChannelListenerBase.cs to ChannelListenerBase_1.cs.
3647
3648 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3649
3650         * ChannelBase.cs : tiny filename fix.
3651         * ChannelListenerBase.cs : added more .ctor()s.
3652
3653 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3654
3655         * HttpListenerFactory.cs LayeredChannelListener.cs HttpListener.cs
3656           ListenerFactoryBase.cs ChannelListenerBase.cs :
3657           updated IListener related stuff to Nov. CTP.
3658           file renaming will come soon.
3659
3660 2005-11-21  Atsushi Enomoto  <atsushi@ximian.com>
3661
3662         * ListenerBase.cs, ChannelListenerBase.cs :
3663           moved from former to latter.
3664         * LayeredListenerFactory.cs, LayeredChannelListener.cs :
3665           moved from former to latter.
3666
3667 2005-11-20  Atsushi Enomoto  <atsushi@ximian.com>
3668
3669         * SessionFaultedException.cs : removed in Nov. CTP
3670
3671 2005-11-20  Atsushi Enomoto  <atsushi@ximian.com>
3672
3673         * CommunicationObject.cs : updated to Nov. CTP.
3674         * SessionFaultedException.cs : removed (in Nov. CTP)
3675
3676 2005-11-03  Atsushi Enomoto  <atsushi@ximian.com>
3677
3678         * TextMessageEncoder.cs : kinda implemented (untested; Message is not
3679           working).
3680
3681 2005-11-03  Atsushi Enomoto  <atsushi@ximian.com>
3682
3683         * MtomMessageEncoder.cs, BinaryMessageEncoderFactory.cs,
3684           TextMessageEncoderFactory.cs, BinaryMessageEncoder.cs,
3685           TextMessageEncoder.cs, MtomMessageEncoderFactory.cs : new files.
3686         * MessageEncoder.cs : largely implemented.
3687
3688 2005-11-02  Atsushi Enomoto  <atsushi@ximian.com>
3689
3690         * IRequestReplyCorrelator.cs : new file.
3691
3692 2005-11-02  Atsushi Enomoto  <atsushi@ximian.com>
3693
3694         * CommunicationObject.cs : OnClose() and OnError() are not virtual.
3695         * DirectionalAction.cs : implemented IComparable<DirectionalAction>.
3696         * MessageEncoder.cs : added misssing ToString().
3697
3698 2005-11-02  Atsushi Enomoto  <atsushi@ximian.com>
3699
3700         * ChannelBehaviorCollection.cs : moved to sys.sm.
3701
3702 2005-10-28  Atsushi Enomoto  <atsushi@ximian.com>
3703
3704         * HttpListenerFactory.cs, HttpListener.cs : new files.
3705         * ListenerFactoryBase.cs, ChannelManagerBase.cs,
3706           CommunicationObject.cs, ChannelFactoryBase.cs,
3707           StreamUpgradeProvider.cs, ChannelBase.cs : timeouts are now
3708           protected internal.
3709         * CommunicationObject.cs : Aborted is bool. Added InternalClose()
3710         * ListenerFactoryBase.cs : kinda implemented GetListeners().
3711
3712 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
3713
3714         * ListenerFactoryBase.cs : some implementation.
3715
3716 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
3717
3718         * CommunicationObject.cs : more state fixes.
3719
3720 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
3721
3722         * CommunicationObject.cs : some state machine fixes.
3723
3724 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
3725
3726         * PeerNode.cs, ChannelManagerBase.cs :
3727           several API fixes detected by improved corcompare.
3728
3729 2005-10-25  Atsushi Enomoto  <atsushi@ximian.com>
3730
3731         * LayeredListenerFactory.cs : added missing generic class constraint.
3732
3733 2005-10-25  Atsushi Enomoto  <atsushi@ximian.com>
3734
3735         * ListenerFactoryBase.cs,
3736           ListenerBase.cs : class constraints were missing for generic args.
3737
3738 2005-10-24  Atsushi Enomoto  <atsushi@ximian.com>
3739
3740         * StreamUpgradeInitiator.cs : tiny API fix.
3741
3742 2005-10-23  Atsushi Enomoto  <atsushi@ximian.com>
3743
3744         * PeerMessagePropagationFilter.cs : tiny build fix.
3745
3746 2005-10-23  Atsushi Enomoto  <atsushi@ximian.com>
3747
3748         * HttpRequestMessageProperty.cs, HttpResponseMessageProperty.cs :
3749           added Name. fixed StatusCode type.
3750         * StreamSecurityUpgradeInitiator.cs, StreamUpgradeAcceptor.cs,
3751           PeerNode.cs, StreamSecurityUpgradeAcceptor.cs,
3752           StreamUpgradeProvider.cs, StreamUpgradeInitiator.cs,
3753           DirectionalAction.cs, HostedTransportConfiguration.cs,
3754           StreamSecurityUpgradeProvider.cs, SessionFaultedException.cs,
3755           PeerMessagePropagationFilter.cs : added missing files.
3756         * Dummy.cs : removed. MSMQ stuff can be added later.
3757
3758 2005-10-21  Atsushi Enomoto  <atsushi@ximian.com>
3759
3760         * DeliveryStatus.cs, DeliveryFailure.cs,
3761           HttpRequestMessageProperty.cs, PeerMessageOrigination.cs,
3762           PeerMessagePropagation.cs, HttpResponseMessageProperty.cs :
3763           new files.
3764         * Dummy.cs : removed above.
3765
3766 2005-10-18  Atsushi Enomoto  <atsushi@ximian.com>
3767
3768         * ChannelFactoryBase.cs : tiny .ctor() delegation fix.
3769
3770 2005-10-09  Atsushi Enomoto  <atsushi@ximian.com>
3771
3772         * MessageEncoderFactory.cs, LayeredListenerFactory.cs,
3773           MessageEncoder.cs, BufferManager.cs : new files.
3774         * Dummy.cs : removed above.
3775
3776 2005-10-09  Atsushi Enomoto  <atsushi@ximian.com>
3777
3778         * ChannelBase.cs, ChannelBehaviorCollection.cs : new channel files.
3779         * Dummy.cs : removed above.
3780         * CommunicationObject.cs, ListenerFactoryBase.cs : added missing bits.
3781
3782 2005-10-09  Atsushi Enomoto  <atsushi@ximian.com>
3783
3784         * HttpChannelFactory.cs : new file.
3785
3786 2005-10-08  Atsushi Enomoto  <atsushi@ximian.com>
3787
3788         * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs:
3789           moved to ../System.ServiceModel (correct location).
3790         * ChannelFactoryBase.cs, LayeredChannelFactory.cs, TransferMode.cs:
3791           new files for channels.
3792         * Dummy.cs : reflected above changes.
3793         * ChannelManagerBase.cs : added a bit of code and todos.
3794
3795 2005-10-04  Atsushi Enomoto  <atsushi@ximian.com>
3796
3797         * ChannelManagerBase.cs, ListenerBase.cs, ListenerFactoryBase.cs :
3798           added listener support files.
3799         * Dummy.cs : removed above.
3800
3801 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
3802
3803         * IReplyChannel.cs, IRequestContext.cs, IRequestChannel.cs :
3804           added request/reply channel interfaces.
3805         * Dummy.cs : removed above.
3806         * CommunicationObject.cs : FIXME comments.
3807
3808 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
3809
3810         * CommunicationObject.cs : implemented some members.
3811
3812 2005-09-29  Atsushi Enomoto  <atsushi@ximian.com>
3813
3814         * CommunicationObject.cs : some signature fixes.
3815