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