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