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