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