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