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