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