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