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