Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 534

Show
Ignore:
Timestamp:
05/25/02 10:54:45 (6 years ago)
Author:
nahi
Message:

for 1.4.5

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RELEASE_en.html

    r487 r534  
    1919 
    2020<p class="status"> 
    21 Last modified: May 6, 2002<br /> 
     21Last modified: May 25, 2002<br /> 
    2222Created: July 17, 2000 
    2323</p> 
     
    3434 
    3535<p> 
    36 Target SOAP4R version: SOAP4R/1.4.4.1 
     36Target SOAP4R version: SOAP4R/1.4.5 
    3737</p> 
    3838 
     
    5454 
    5555<p> 
    56 SOAP4R/1.4.4 still had a bug around detecting XML processor. 
    57 SOAP4R/1.4.4.1 fixes this problem.  REXML users should update to 1.4.4.1. 
    58 I'm sorry for unstable and frequent release. 
    59 </p> 
    60  
    61 <p> 
    62 This is a bug fix release. 
    63 Following users should update. 
    64 </p> 
    65  
    66 <ul> 
    67 <li>Users who use DateTime datatype.</li> 
    68 <li>Developers of SOAP client/server which works under multi-thread condition.</li> 
    69 <li>REXML users.</li> 
    70 </ul> 
    71  
    72 <p> 
    73 Fixed bugs. 
    74 </p> 
    75  
    76 <ul> 
    77 <li>XSDDataTime: Changed variable name usec to sec_frac.  It's not a micro sec so name usec is misleading.</li> 
    78 <li>XSDTime: Fixed bugs in usec part.</li> 
    79 <li>date.rb in standard library and date2 version 3 conflicts because date2.rb is a successor of date.rb and not designed for dual use. 
    80 (ex. using a module which requires date.rb like DBI and another module which requires date2.rb). 
    81 Added a workaround for this.</li> 
    82 <li>SOAP::Processor was not MT-safe.  Fixed. 
    83 Projected feature regards to MT are follows. 
    84 At least I hope so.  Tell me if you find these wrong. 
    85 <ul> 
    86 <li>Driver: safe</li> 
    87 <li>Proxy: safe</li> 
    88 <li>Server: safe</li> 
    89 <li>CGIStub: safe</li> 
    90 <li>StandaloneServer: safe</li> 
    91 <li>RPCRouter: safe</li> 
    92 <li>StreamHandler: safe</li> 
    93 <li>Processor: safe</li> 
    94 <li>SOAPParser: unsafe</li> 
    95 <li>SOAPGenerator: unsafe</li> 
    96 <li>EncodingStyleHandler: unsafe</li> 
    97 </ul> 
    98 </li> 
    99 <li>SOAP4R/1.4.3 supports REXML/2.1.3 but it did not detect REXML processor automatically.</li> 
    100 </ul> 
     56This version has these enhancements; 
     57</p> 
     58<ul> 
     59<li>Supports all primitive datatypes of XML Schema Part2 Datatypes except NOTATION. 
     60Added types are Duration, gYearMonth, anyURI, QName and so on.</li> 
     61<li>Runs much faster than earlier versions. 
     62Some performance check and tuning has been done.</li> 
     63<li>Supports all Ruby objects marshalling/unmarshalling 
     64except some special objects.  See below for more detail.</li> 
     65</ul> 
     66 
     67<p> 
     68CAUTION: This version requires 
     69<a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=date2">[RAA:date2]</a> version 3.2 or later and 
     70<a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F. 
     71Please make sure the versions you use. 
     72</p> 
     73 
     74<p> 
     75Here is detail of change. 
     76</p> 
     77 
     78<dl> 
     79<dt>Datatypes (XMLSchemaDatatypes.rb and baseData.rb)</dt> 
     80<dd> 
     81<ul> 
     82<li>Added duration, gYearMonth, gYear, gMonthDay, gDay, gMonth, anyURI and QName datetypes. 
     83All primitive datatypes in XML Schema Part 2 section 3.2 except NOTAION are supported now.</li> 
     84<li>Modified XSDDataTime, XSDDate and XSDTime implementation.  These use a DataTime as a data holder.</li> 
     85<li>Follow date/3.2: date2.rb -&gt; date.rb.</li> 
     86<li>Changed to_s representations of single float and double float.  Thanks to gotoken.</li> 
     87<li>XSDFloat: Add '0' if given str ends with 'E'.  Float( "-1.4E" ) might fail on some system.</li> 
     88<li>Added SOAPRawString class.  Given string is embedded into XML instance directly. 
     89You can use this class to embed (numeric) character references manually.</li> 
     90<li>Fixed UTF8 regexp bug.  XSDString uses this regexp to check a given string.</li> 
     91<li>Added UT for XMLSchemaDatatypes.rb.  See test/xsd_ut.rb and test/baseData_ut.rb.</li> 
     92</ul></dd> 
     93 
     94<dt>SOAP &lt;-&gt; Ruby object mapping (mappingRegistry.rb and rpcUtils.rb)</dt> 
     95<dd> 
     96<ul> 
     97<li>Exception raised from server side could not be mapped to specific exception.  Fixed.</li> 
     98<li>Refactoring to avoid *_eval.  Reduced warnings.</li> 
     99<li>Added Range marshalling support.</li> 
     100<li>Regexp#options support under ruby/1.6.</li> 
     101<li>Supports cyclic Range such as; 
     102<pre> 
     103  class Foo 
     104    attr_accessor :foo 
     105    def succ; end 
     106    def &lt;=&gt;( rhs ); end 
     107  end 
     108 
     109  o1 = Foo.new 
     110  o2 = Foo.new 
     111  r = o1..o2 
     112  o1.foo = r 
     113 
     114  p SOAPMarshal.load( SOAPMarshal.dump( r )) 
     115</pre></li> 
     116<li>Supports some instance variable of ruby standard class. 
     117But instance variable of Array, Hash, String, Float and Bignum are not supported because of restriction of SOAP encoding format...</li> 
     118<li>Alias ::SOAPMarshal to ::SOAP::Marshal.</li> 
     119<li>Added Marshal.load and Marshal.dump as aliases to Marshal.unmarshal and 
     120  Marshal.unmarshal.</li> 
     121</ul></dd> 
     122 
     123<dt>misc</dt> 
     124<dd> 
     125<ul> 
     126<li>Dumps what parser is used when $DEBUG.  Try 'ruby -d -rsoap/processor -e 0'</li> 
     127<li>Added CGI samples in sample/.</li> 
     128<li>Some performance check and tuning has been done on both client and server side. 
     129One bottle neck is Kernel.methods which SOAP4R use(d) while mapping SOAP Data Model &lt;-&gt; Ruby object. 
     130I replaced it with Object.respond_to? . 
     131Another bottle neck of client side is delegate.rb which is used by http-access2. 
     132Get <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F. 
     133</ul> 
     134</dd> 
     135</dl> 
    101136 
    102137<h2 id="install" name="install">2. Install</h2> 
     
    211246<li><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=NQXML">[RAA:NQXML]</a></li> 
    212247<li><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=XMLParser">[RAA:XMLParser]</a></li> 
    213 <li><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=REXML">[RAA:REXML]</a></li> 
    214 </ul></dd> 
    215  
    216 <dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=date2">[RAA:date2]</a></dt> 
     248<li><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=REXML">[RAA:REXML]</a> version 2.1.3 or later</li> 
     249</ul></dd> 
     250 
     251<dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=date2">[RAA:date2]</a> version 3.2 or later</dt> 
    217252<dd>Date and DateTime implementation by Todayoshi Funaba. 
    218253Note: This module is scheduled to be included in standard distribution instead of lib/date.rb.  Ruby/1.7 or later.</dd> 
     
    221256<dd>Logging utility by NaHi.</dd> 
    222257 
    223 <dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a></dt> 
     258<dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F or later</dt> 
    224259<dd>Yet another HTTP client implementation by NaHi.</dd> 
    225260 
     
    296331This module responds 'add', 'sub', 'multi' and 'div'.</dd> 
    297332<dt>server.rb</dt> 
    298 <dd>It requires calc.rb and serve module methods of this module. 
     333<dd>Standalone server. 
     334It requires calc.rb and serve module methods of this module. 
    299335To run this server; 
    300336<pre class="path"> 
     
    302338</pre> 
    303339</dd> 
     340<dt>server.cgi</dt> 
     341<dd>CGI version. 
     342To run this server, copy server.cgi and calc.rb to suitable directory 
     343of your WWW server. 
     344</dd> 
    304345<dt>client.rb</dt> 
    305 <dd>It connects to server.rb and hit methods served by calc.rb. 
     346<dd>It connects to server.rb or server.cgi, 
     347and hit methods served by calc.rb. 
    306348To run the client; 
    307349<pre class="path"> 
     
    325367this sample register the method '+' as 'add', '-' as 'sub', and so on. 
    326368</dd> 
     369<dt>server2.cgi</dt> 
     370<dd>CGI version. 
     371To run this server, copy server2.cgi and calc2.rb to suitable directory 
     372of your WWW server. 
     373</dd> 
    327374<dt>client2.rb</dt> 
    328 <dd>It connects to server2.rb
     375<dd>It connects to server2.rb or server2.cgi
    329376Set a value at first and call methods like 'puts objAtServer + 2'.</dd> 
    330377</dl> 
     
    354401</pre> 
    355402</dd> 
     403<dt>server.cgi</dt> 
     404<dd>CGI version. 
     405To run this server, copy server.cgi and exchange.rb to suitable directory 
     406of your WWW server. 
     407</dd> 
    356408<dt>client.rb</dt> 
    357409<dd>It connects to server.rb. 
     
    387439</pre> 
    388440</dd> 
     441<dt>server.cgi</dt> 
     442<dd>CGI version. 
     443To run this server, copy server.cgi and sampleStruct.rb to suitable directory 
     444of your WWW server. 
     445</dd> 
    389446<dt>client.rb</dt> 
    390447<dd>It connects to server.rb. 
     
    538595 
    539596<dl> 
     597<dt>1.4.5 - May 25, 2002</dt> 
     598<dd> 
     599This version has these enhancements; 
     600<ul> 
     601<li>Supports all primitive datatypes of XML Schema Part2 Datatypes except NOTATION. 
     602Added types are Duration, gYearMonth, anyURI, QName and so on.</li> 
     603<li>Runs much faster than earlier versions. 
     604Some performance check and tuning has been done.</li> 
     605<li>Supports all Ruby objects marshalling/unmarshalling 
     606except some special objects.  See below for more detail.</li> 
     607</ul> 
     608 
     609CAUTION: This version requires 
     610<a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=date2">[RAA:date2]</a> version 3.2 or later and 
     611<a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F. 
     612Please make sure the versions you use. 
     613<br/><br/> 
     614 
     615Here is detail of change. 
     616<dl> 
     617<dt>Datatypes (XMLSchemaDatatypes.rb and baseData.rb)</dt> 
     618<dd> 
     619<ul> 
     620<li>Added duration, gYearMonth, gYear, gMonthDay, gDay, gMonth, anyURI and QName datetypes. 
     621All primitive datatypes in XML Schema Part 2 section 3.2 except NOTAION are supported now.</li> 
     622<li>Modified XSDDataTime, XSDDate and XSDTime implementation.  These use a DataTime as a data holder.</li> 
     623<li>Follow date/3.2: date2.rb -&gt; date.rb.</li> 
     624<li>Changed to_s representations of single float and double float.  Thanks to gotoken.</li> 
     625<li>XSDFloat: Add '0' if given str ends with 'E'.  Float( "-1.4E" ) might fail on some system.</li> 
     626<li>Added SOAPRawString class.  Given string is embedded into XML instance directly. 
     627You can use this class to embed (numeric) character references manually.</li> 
     628<li>Fixed UTF8 regexp bug.  XSDString uses this regexp to check a given string.</li> 
     629<li>Added UT for XMLSchemaDatatypes.rb.  See test/xsd_ut.rb and test/baseData_ut.rb.</li> 
     630</ul></dd> 
     631 
     632<dt>SOAP &lt;-&gt; Ruby object mapping (mappingRegistry.rb and rpcUtils.rb)</dt> 
     633<dd> 
     634<ul> 
     635<li>Exception raised from server side could not be mapped to specific exception.  Fixed.</li> 
     636<li>Refactoring to avoid *_eval.  Reduced warnings.</li> 
     637<li>Added Range marshalling support.</li> 
     638<li>Regexp#options support under ruby/1.6.</li> 
     639<li>Supports cyclic Range such as; 
     640<pre> 
     641  class Foo 
     642    attr_accessor :foo 
     643    def succ; end 
     644    def &lt;=&gt;( rhs ); end 
     645  end 
     646 
     647  o1 = Foo.new 
     648  o2 = Foo.new 
     649  r = o1..o2 
     650  o1.foo = r 
     651 
     652  p SOAPMarshal.load( SOAPMarshal.dump( r )) 
     653</pre></li> 
     654<li>Supports some instance variable of ruby standard class. 
     655But instance variable of Array, Hash, String, Float and Bignum are not supported because of restriction of SOAP encoding format...</li> 
     656<li>Alias ::SOAPMarshal to ::SOAP::Marshal.</li> 
     657<li>Added Marshal.load and Marshal.dump as aliases to Marshal.unmarshal and 
     658  Marshal.unmarshal.</li> 
     659</ul></dd> 
     660 
     661<dt>misc</dt> 
     662<dd> 
     663<ul> 
     664<li>Dumps what parser is used when $DEBUG.  Try 'ruby -d -rsoap/processor -e 0'</li> 
     665<li>Added CGI samples in sample/.</li> 
     666<li>Some performance check and tuning has been done on both client and server side. 
     667One bottle neck is Kernel.methods which SOAP4R use(d) while mapping SOAP Data Model &lt;-&gt; Ruby object. 
     668I replaced it with Object.respond_to? . 
     669Another bottle neck of client side is delegate.rb which is used by http-access2. 
     670Get <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F. 
     671</ul> 
     672</dd> 
     673</dl> 
     674</dd> 
     675 
    540676<dt>1.4.4 - May 6, 2002</dt> 
    541677<dd>