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