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