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