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