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