Граф коммитов

152 Коммитов

Автор SHA1 Сообщение Дата
seki 4e6c7c602a import test_rinda.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 13:44:06 +00:00
usa 44284f71c9 * test/ruby/test_sprintf.rb: added tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 09:09:21 +00:00
nahi ffd075fad5 * test/ruby/marshaltestlib.rb: common marshal testcase added.
* test/ruby/test_marshal.rb: use above testsuite.

        * test/soap/marshal/test_marshal.rb: ditto.

        * test/soap/marshal/cmarshal.rb: removed (not used).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 14:15:37 +00:00
nahi 3fd10dc40c * sample/soap/calc/httpd.rb, sample/soap/exchange/httpd.rb,
sample/soap/sampleStruct/httpd.rb, sample/wsdl/googleSearch/httpd.rb:
          use soap/property instead of getopts for configuring DocumentRoot
          and port# of httpd.  see samplehttpd.conf below.

        * sample/soap/calc/samplehttpd.conf,
          sample/soap/exchange/samplehttpd.conf,
          sample/soap/sampleStruct/samplehttpd.conf,
          sample/wsdl/googleSearch/samplehttpd.conf: added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 11:50:02 +00:00
eban 34a18bb526 MANIFEST:
Added files:
    ruby/lib/irb/cmd:
      help.rb
    ruby/sample/drb:
      README.rd README.rd.ja darray.rb darrayc.rb dbiff.rb
      dcdbiff.rb dchatc.rb dchats.rb dhasen.rb dhasenc.rb dlogc.rb
      dlogd.rb dqin.rb dqlib.rb dqout.rb dqueue.rb drbc.rb drbch.rb
      drbm.rb drbmc.rb drbs-acl.rb drbs.rb drbssl_c.rb drbssl_s.rb
      extserv_test.rb gw_ct.rb gw_cu.rb gw_s.rb holderc.rb
      holders.rb http0.rb http0serv.rb name.rb namec.rb
      old_tuplespace.rb rinda_ts.rb rindac.rb rindas.rb ring_echo.rb
      ring_inspect.rb ring_place.rb simpletuple.rb speedc.rb
      speeds.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 14:13:42 +00:00
nobu ec47d11179 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,
runruby.rb: run rdoc, test and so on with compiled extension
  libraries.  [ruby-dev:22688]

* ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated
  directory, similar to the actual directory structure.

* lib/fileutils.rb (FileUtils.copy_file): use the mode of the original
  file to create new file.

* lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected
  influence by envirionment variable.

* bcc32/configure.bat, win32/configure.bat: add install-doc options.

* win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime
  bug which returns wrong mode.  [ruby-dev:22846]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 08:55:14 +00:00
eban 81d1f5f866 MANIFEST:
Removed files:
    ruby/sample/rss:
      articles.rss content.xml index.rdf.ja news.rss php.rss
      raa-rdf10.xml rnn.rdf rss.xml rss2dc.xml
      rssMarkPilgrimExample.xml rssTwoExample.xml sampleRss.xml
      slashdot.rdf slashdotorg.rdf w3c.rdf wiliki.rss
    ruby/test/rss:
      each_parser.rb test.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 13:59:53 +00:00
eban 7df9c8ca51 * MANIFEST: don't need a directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-28 04:11:57 +00:00
matz 693a26ac74 * add lib/rss file entries to MANIFEST.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-28 03:50:41 +00:00
dave c88e3627cf Add one_page_html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-25 20:19:16 +00:00
nahi 290034fde8 * lib/soap/wsdlDriver.rb, lib/wsdl/soap/operation.rb: add support of
"parts" attribute of soap:body element in WSDL.

        * lib/wsdl/xmlSchema/schema.rb: friendly warning message for
          simpleType element which is not supported for now.

        * test/wsdl/soap/{soapbodyparts.wsdl,test_soapbodyparts.wsdl}: new
          files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 11:10:18 +00:00
usa 55b4f43958 * MANIFEST: add test/net/test_httpheader.rb. (commit miss?)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-14 00:35:33 +00:00
gotoyuzo 16291a0db7 * sample/webrick/*: new files.
* MANIFEST: add sample/webrick/*


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 12:22:19 +00:00
nahi cd97e6e333 * lib/soap/{attachment.rb,mimemessage.rb}: added from soap4r/1.5.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 05:28:02 +00:00
dave 96ff9b04c1 Split out ri display code and make pluggable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 05:59:31 +00:00
nahi 79c0e644a1 * test/inlinetest.rb, test/{test_generator.rb,test_ipaddr.rb,
test_pathname.rb,test_pp.rb,test_prettyprint.rb,test_set.rb,
          test_time.rb,test_tsort.rb: added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 02:34:24 +00:00
dave 88c127c19b Finish documenting internal stuff. See Changelog for other details
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-02 06:01:12 +00:00
nahi 6dc12f6f74 * test/csv/test_csv.rb: generate bom.csv and mac.csv files on the fly.
[ruby-talk:88852]

        * test/csv/{bom.csv,mac.csv}: removed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 03:52:15 +00:00
usa f573bcd129 * MANIFEST: add vms/config.h and remove vms/config.h_in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26 01:59:42 +00:00
eban d05b3b1e48 * MANIFEST:
Added file:
    ruby/lib/rdoc/generators/template/html/old_html.rb
  Removed file:
    ruby/lib/rdoc/generators/template/html/css2.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 04:49:58 +00:00
gotoyuzo 1702e82e02 * lib/webrick/cgi.rb: add file. (yet another CGI library)
* MANIFEST: add lib/webrick/cgi.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 18:01:26 +00:00
dave 1c1d2b9c34 Add pager support to ri, and start implementing command line options
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-17 05:43:17 +00:00
dave c5bbcadbe6 Initial load of support for ri/rdoc integration
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 05:44:25 +00:00
ser 47c59bb62b REXML changes:
* Took out the duplicate Shift-JIS entries, for OSes that don't understand
  case sensitive file names.
* Fixed some bugs in the encodings


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12 21:17:41 +00:00
ser 6c64ca5076 Added downcased shift-jis declarations. The old, all upper case declarations
are deprecated, but I need some Shift-JIS encoded documents to test against
before I remove them.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-09 02:43:05 +00:00
nahi 1ed39b7392 * lib/soap/netHttpClient.rb: proxy support did not work. fixed.
* lib/soap/property.rb: add class methods for loading property from
          stream/file/propertyfile.  propertyfile is a file which is located at
          somedir in $:.

        * lib/soap/soap.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb,
          lib/wsdl/importer.rb: load property from propertyfile 'soap/property'
          e.g. /usr/local/lib/ruby/site_ruby/1.8/soap/property.

        * test/soap/test_property.rb, test/soap/test_streamhandler.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-05 13:26:26 +00:00
nobu 47dfa853ef MANIFEST: add files.
test/ruby/test_pipe.rb
test/ruby/ut_eof.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-05 02:59:22 +00:00
nahi 20fa0df5cd * lib/soap/soap.rb: add SOAP::Env module for environment repository
such as HTTP_PROXY.

        * lib/soap/property.rb: property implementation.

        * lib/soap/streamHandler.rb, lib/soap/wsdlDriver.rb,
          lib/soap/rpc/driver.rb: use soap/property.rb.

        * lib/wsdl/importer.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb:
          use SOAP::Env.

        * lib/soap/netHttpClient.rb: add basic_auth, ssl_config, and cookie
          management interface, but ignored for now.

        * lib/xsd/charset.rb: add XSD::Charset.encoding= interface to set
          wiredump charset explicitly.  it was fixed to 'utf-8' when iconv or
          uconv module was found.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 04:05:51 +00:00
nobu 73bc1204e4 MANIFEST: add lib/rdoc/dot/dot.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 04:55:57 +00:00
nobu b1fd732b4f * ext/extmk.rb (MTIMES): let makefiles depend to mkmf.rb.
* lib/mkmf.rb (configuration): DLDFLAGS was duplicated.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 02:36:48 +00:00
nobu 0f54ad5f6c * sample/optparse/opttest.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 08:14:38 +00:00
nahi d268bf305e * lib/soap/encodingstyle/soapHandler.rb: refactoring - Simplifying
Conditional Expressions.

        * lib/wsdl/soap/definitions.rb: refactoring - Move Method.

        * test/xsd/{test_noencoding.rb,noencoding.xml}: new files.  test for
          encoding unspecified XML file parsing.

        * test/wsdl/{test_fault.rb,map,datetime}: new files.  test of
          SOAPFault, dateTime and Apache's Map.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-30 04:33:02 +00:00
usa 275d6a5775 * test/ruby/test_env.rb: add tests for ENV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-28 09:00:48 +00:00
nahi 42bca643c3 * lib/soap/streamHandler.rb: drop unused http parameters.
* lib/soap/encodingstyle/soapHandler.rb, lib/soap/mapping/factory.rb,
  lib/soap/mapping/mapping.rb, lib/soap/mapping/registry.rb,
  lib/wsdl/soap/complexType.rb: ApacheSOAP's map support was broken under WSDL
  dynanic client environment.  fixed.

* test/wsdl/raa/*: add tests.

* lib/xsd/datatypes.rb: dateTime precision bug fix (at least, I hope.)  bug of
  soap4r.  XSDDateTimeImple.to_time passed a Float to Time.local/Time.gm as an
  usec, and NUM2LONG(rb_num2long for Float) causes rounding error.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-28 05:53:16 +00:00
nahi f1d89b24da * test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: removed. this
test requires extra libraries in soap4r/1.5.*.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-25 07:44:41 +00:00
nahi 6a09e1d966 * lib/soap/**/*.rb, lib/wsdl/**/*.rb, lib/xsd/**/*.rb: changed license; GPL2 -> Ruby's.
* lib/soap/rpc/driver.rb, lib/soap/wsdlDriver.rb, lib/soap/streamHandler.rb: add interface to streamhandler.

* lib/soap/marshal.rb: raise error if parse fails.

* lib/soap/netHttpClient.rb: add https support.  Patched by Oliver M. Bolzer.

* lib/soap/netHttpClient.rb: dump HTTP response message body by itself.

* lib/soap/rpc/driver.rb, lib/soap/rpc/proxy.rb, lib/soap/wsdlDriver.rb: add driver#mandatorycharset interface to foce using charset for parsing response from buggy server.

* lib/soap/encodingstyle/soapHandler.rb: support Apache Axis's half typed multi-ref array.

* lib/soap/mapping/factory.rb, lib/soap/mapping/registry.rb: map SOAPStruct which has multi-accessors which name are the same, to an array.

* lib/soap/rpc/element.rb: fixed illegal parameter order.

* lib/soap/rpc/element.rb: element name of response message could have the name other than 'return'.

* lib/wsdl/operation.rb, lib/wsdl/operationBinding.rb, lib/wsdl/soap/classDefCreator.rb, lib/wsdl/soap/methodDefCreator.rb, lib/wsdl/soap/methodDefCreatorSupport.rb: WSDL/1.1 allows plural fault definition in a operation. [ruby-talk:84948]

* test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: add test for above fix.

* lib/wsdl/soap/complexType.rb: support WSDL array definition with maxOccures="unbound".

* lib/xsd/charset.rb: use cp932 under emx.  Patched by Siena. / SHINAGAWA, Norihide in [ruby-dev:21972]

* lib/xsd/xmlparser/parser.rb: set @charset nil by default.  Nil means 'follow encoding declaration in XML'.

* sample/soap/digraph.rb, sample/wsdl/amazon/wsdlDriver.rb, sample/wsdl/googleSearch/sampleClient.rb, sample/wsdl/googleSearch/wsdlDriver.rb, test/wsdl/test_emptycomplextype.rb, test/wsdl/marshal/test_wsdlmarshal.rb, test/xsd/test_xmlschemaparser.rb: use File.open(...) { |f| f.read } instead of File.open(...).read. [ruby-dev:21964]

* test/wsdl/emptycomplextype.wsdl, test/wsdl/test_emptycomplextype.rb: simplify the test case.

* test/wsdl/axisArray/*: add tests for axis's array encoding.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-25 07:31:33 +00:00
eban 17db383050 MANIFEST: add test/stringio/test_stringio.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-18 12:08:55 +00:00
eban c531a61f38 MANIFEST: add this file:
+lib/test/unit/ui/gtk2/testrunner.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17 07:42:25 +00:00
shugo 64446f023c * test/monitor/test_monitor.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12 04:01:21 +00:00
eban a2aed07f6a * MANIFEST: added these files:
+test/wsdl/raa/RAA.rb
+test/wsdl/raa/README.txt
+test/wsdl/raa/raa.wsdl
+test/wsdl/raa/server.rb
+test/wsdl/raa/test_raa.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 12:35:58 +00:00
eban abc10cc28e * MANIFEST: add these files:
+test/optparse/test_noarg.rb
+test/optparse/test_optarg.rb
+test/optparse/test_optparse.rb
+test/optparse/test_placearg.rb
+test/optparse/test_reqarg.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 09:23:15 +00:00
matz a4934a42cb * io.c (read_all): fptr->f may be NULL, if IO is closed in the
signal handler.

* io.c (io_read): ditto.

* string.c (get_pat): remove 1.8.0 warning code.

* string.c (rb_str_match): extend warning until 1.8.2.

* string.c (rb_str_match2): ditto.

* class.c (class_instance_method_list): remove 1.8.0 warnings.
  method_list now recurs.  [ruby-dev:21816]

* class.c (rb_obj_singleton_methods): ditto.

* array.c (rb_ary_select): remove select with block.
  [ruby-dev:21824]

* hash.c (rb_hash_select): ditto.

* hash.c (env_select): ditto.

* re.c (match_select): ditto.

* struct.c (rb_struct_select): ditto.

* process.c (check_uid_switch): remove duplicated error messages.

* process.c (check_gid_switch): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-04 09:13:57 +00:00
matz d0244508c2 * test/drb/drbtest.rb: import drb common test utilities.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 15:04:39 +00:00
seki bc867112ec import drb/runit/*.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 15:24:00 +00:00
usa c7d278adb9 * test/ruby/test_range.rb: added.
* MANIFEST: add test/ruby/test_range.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-17 02:18:01 +00:00
knu b215f2fdb9 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14 20:14:53 +00:00
knu 6d9c20d6a3 * test/digest/test_digest.rb: Moved from ext/digest/test.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14 19:34:46 +00:00
eban 45b46d78fa * MANIFEST: add these files:
lib/rexml/encodings/ICONV.rb
  lib/rexml/encodings/UTF-8.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-10 13:26:03 +00:00
ser ece4dc43e5 * Forgot to update the MANIFEST, WRT the removal of files from the
rexml/encodings directory
* Missed a regexp speed optimization in rexml/parsers/baseparser.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-10 12:58:23 +00:00
eban 540653f474 * MANIFEST: add these files:
lib/test/unit/autorunner.rb
  lib/test/unit/collector.rb
  lib/test/unit/collector/dir.rb
  test/testunit/collector/test_dir.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-08 13:28:54 +00:00