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