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