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