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