Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 26, 2008
  1. @knu

    Merge from ruby_1_8, including r16205.

    knu authored
    Note that passing a block to a Proc is experimental and partly broken.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 18, 2008
  1. @knu

    Merge -r16241:16456 from ruby_1_8.

    knu authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 6, 2008
  1. * lib/date.rb, lib/date/format.rb: introduced some constants

    tadf authored
    	  (for internal use) and aliases (minute and second).
    
    	* sample/cal.rb: trivial adjustments.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@14904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 2, 2008
  1. use hard tab.

    tadf authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@14844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * sample/cal.rb: just updated with the newest version.

    tadf authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@14837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 21, 2007
  1. @kou

    * lib/rss.rb, lib/rss/, test/rss/, sample/rss/: merged from trunk.

    kou authored
      - 0.1.6 -> 2.0.0.
      - fixed image module URI. Thanks to Dmitry Borodaenko.
      - supported Atom.
      - supported ITunes module.
      - supported Slash module.
    
    * NEWS: added an entry for RSS Parser.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@13747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 18, 2007
  1. @nobu

    * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep

    nobu authored
      comment lines first.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@13085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 16, 2007
  1. * sample: replace TRUE, FALSE with true, false respectively.

    matz authored
      a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>.
      [ruby-dev:30713]
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@12183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 5, 2006
  1. @knu
Commits on Jun 20, 2006
  1. * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.

    gotoyuzo authored
    * ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method
      OpenSSL::Cipher.ciphers. it returns all the cipher names.
    
    * ext/openssl/lib/openssl/cipher.rb:
      - add constants AES128, AES192, AES256. [ruby-dev:28610]
      - reimplement without eval()
    
    * ext/openssl/lib/openssl/digest.rb: reimplement without eval().
    
    * test/openssl/test_cipher.rb, test_digest: fix about reimplemented
      features.
    
    * sample/openssl/cipher.rb: rewrite all.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 17, 2006
  1. @kou

    * lib/rss/rss.rb (Hash#merge, Enumerable#sort_by): removed.

    kou authored
    * lib/rss/rss.rb (RSS::RootElementMixin#to_xml): added.
      [ruby-talk:197284]
    
      We can convert RSS version easily like the following:
        rss10 = RSS::Parser.parse(File.read("1.0.rdf"))
        File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))}
    
    * test/rss/test_1.0.rb: added #to_xml test.
    * test/rss/test_2.0.rb: ditto.
    
    * test/rss/rss-testcase.rb: added some helper methods that
      generates sample RSS 2.0.
    
    * sample/rss/convert.rb: added a sample script to convert RSS format.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @kou

    * lib/rss, test/rss: backported from trunk. (2005-11-16 - now)

    kou authored
    * lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS
      Maker.
    * lib/rss/taxonomy.rb: supported RSS Maker.
    * lib/rss/maker.rb: added taxonomy module support.
    
    * lib/rss/rss.rb: adjusted to other element API.
    * lib/rss/1.0.rb: adjusted to other element API but backward
      compatibility is reserved.
    * lib/rss/0.9.rb: ditto.
    
    * test/rss/test_maker_taxo.rb: added test case for taxonomy module
      for RSS Maker.
    * test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic.
    
    * test/rss/test_setup_maker_1.0.rb: added backward compatibility
      test.
    * test/rss/test_setup_maker_0.9.rb: ditto.
    * test/rss/test_setup_maker_2.0.rb: ditto.
    
    * test/rss/rss-testcase.rb: added convenience method for setting
      up taxo:topic.
    * test/rss/rss-assertions.rb: added assertion for taxo:topic.
    
    * sample/rss/blend.rb: followed new API.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 27, 2005
  1. @kou

    * sample/rss/tdiary_plugin: removed. because the plugin

    kou authored
      is imported in the tDiary plugin packages.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 22, 2005
  1. This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.

    (no author) authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @kou

    * lib/rss/rss.rb: moved copyright description to lib/rss.rb.

    kou authored
    * lib/rss.rb: added for convenience.
    
    * sample/rss/re_read.rb: added #to_s sample.
    
    * sample/rss/blend.rb: use 'require "rss"' instead of 'require "rss/*"'.
    * sample/rss/list_description.rb: ditto.
    * sample/rss/rss_recent.rb: ditto.
    * sample/rss/tdiary-plugin/rss-recent.rb: ditto.
    
    * sample/rss/tdiary-plugin/rss-recent.rb: 0.0.6 -> 0.0.7.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 19, 2005
  1. * io.c (rb_io_inspect): replace sprintf() with "%s" format all

    matz authored
      over the place by snprintf() to avoid integer overflow.
    
    * sample/svr.rb: service can be stopped by ill-behaved client; use
      tsvr.rb instead.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 22, 2005
  1. @nahi

    * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.

    nahi authored
    	  == SOAP client and server ==
    
    	  === for both client side and server side ===
    
    	  * improved document/literal service support.
    	    style(rpc,document)/use(encoding, literal) combination are all
    	    supported.  for the detail about combination, see
    	    test/soap/test_style.rb.
    
    	  * let WSDLEncodedRegistry#soap2obj map SOAP/OM to Ruby according to
    	    WSDL as well as obj2soap.  closes #70.
    
    	  * let SOAP::Mapping::Object handle XML attribute for doc/lit service.
    	    you can set/get XML attribute via accessor methods which as a name
    	    'xmlattr_' prefixed (<foo name="bar"/> -> Foo#xmlattr_name).
    
    	  === client side ===
    
    	  * WSDLDriver capitalized name operation bug fixed.  from
    	    1.5.3-ruby1.8.2, operation which has capitalized name (such as
    	    KeywordSearchRequest in AWS) is defined as a method having
    	    uncapitalized name. (converted with GenSupport.safemethodname
    	    to handle operation name 'foo-bar').  it introduced serious
    	    incompatibility; in the past, it was defined as a capitalized.
    	    define capitalized method as well under that circumstance.
    
    	  * added new factory interface 'WSDLDriverFactory#create_rpc_driver'
    	    to create RPC::Driver, not WSDLDriver (RPC::Driver and WSDLDriver
    	    are merged).  'WSDLDriverFactory#create_driver' still creates
    	    WSDLDriver for compatibility but it warns that the method is
    	    deprecated.  please use create_rpc_driver instead of create_driver.
    
    	  * allow to use an URI object as an endpoint_url even with net/http,
    	    not http-access2.
    
    	  === server side ===
    
    	  * added mod_ruby support to SOAP::CGIStub.  rename a CGI script
    	    server.cgi to server.rb and let mod_ruby's RubyHandler handles the
    	    script.  CGIStub detects if it's running under mod_ruby environment
    	    or not.
    
    	  * added fcgi support to SOAP::CGIStub.  see the sample at
    	    sample/soap/calc/server.fcgi.  (almost same as server.cgi but has
    	    fcgi handler at the bottom.)
    
    	  * allow to return a SOAPFault object to respond customized SOAP fault.
    
    	  * added the interface 'generate_explicit_type' for server side
    	    (CGIStub, HTTPServer).  call 'self.generate_explicit_type = true'
    	    if you want to return simplified XML even if it's rpc/encoded
    	    service.
    
    	  == WSDL ==
    
    	  === WSDL definition ===
    
    	  * improved XML Schema support such as extension, restriction,
    	    simpleType, complexType + simpleContent, ref, length, import,
    	    include.
    
    	  * reduced "unknown element/attribute" warnings (warn only 1 time for
    	    each QName).
    
    	  * importing XSD file at schemaLocation with xsd:import.
    
    	  === code generation from WSDL ===
    
    	  * generator crashed when there's '-' in defined element/attribute
    	    name.
    
    	  * added ApacheMap WSDL definition.
    
    	* sample/{soap,wsdl}: removed.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 16, 2005
  1. @kou

    * sample/rss/tdiary_plugin/rss-recent.rb (rss_recent_cache_rss):

    kou authored
      use the first date information of items as site date information
      if channel doesn't have date information.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 9, 2005
  1. This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.

    (no author) authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @kou

    * sample/rss/tdiary_plugin/rss-recent.rb: supported configuration

    kou authored
      via Web browser.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @kou

    * lib/rss: backoported from HEAD.

    kou authored
    * lib/rss: refactored.
      - gave a name to 'x'.
      - undef_method -> remove_method for avoiding a warning in ruby 1.6.
    
    
    * lib/rss/parser.rb: @@setter -> @@setters.
    
    * lib/rss/parser.rb
      (RSS::BaseListener.register_uri)
      (RSS::BaseListener.uri_registered?)
      (RSS::BaseListener.install_get_text_element):
      swapped the first argument and the second argument.
    
    * lib/rss/taxonomy.rb: swapped the first argument and the second
      argument for RSS::BaseListener.install_get_text_element.
    * lib/rss/image.rb: ditto.
    * lib/rss/syndication.rb: ditto.
    * lib/rss/dublincore.rb: ditto.
    * lib/rss/parser.rb: ditto.
    * lib/rss/1.0.rb: ditto.
    * lib/rss/2.0.rb: ditto.
    * lib/rss/0.9.rb: ditto.
    * lib/rss/content.rb: ditto.
    
    * lib/rss/parser.rb
      (RSS::BaseListener.install_setter)
      (RSS::BaseListener.register_uri): changed fallback way.
    
    * lib/rss/parser.rb: added class name registry for complex model
      elements. (ex. have childlen elements, have some attributes and
      a child element and so on.)
    
    
    * lib/rss/dublincore.rb: supported multiple Dublin Core items.
    * lib/rss/maker/dublincore.rb: ditto.
    * lib/rss/maker/image.rb: supproted new Dublin Core API.
    * lib/rss/maker/base.rb: added default current_element implementation.
    * lib/rss/trackback.rb (RSS::TrackBackUtils.new_with_value_if_need):
      moved to RSS::Utils.
    
    * lib/rss/utils.rb (RSS::Utils.new_with_value_if_need):
      moved from RSS::TrackBackUtils.
    
    * lib/rss/maker/image.rb: fixed invalid argument of
      add_need_initialize_variable bug.
    * lib/rss/maker/trackback.rb: ditto.
    
    * lib/rss/rss.rb (Hash#merge): added for ruby 1.6.
    * lib/rss/rss.rb (RSS::BaseModel.date_writer): changed to accept nil
      for date value.
    
    
    * test/test_dublincore.rb: added tests for plural accessor and
      multiple Dublin Core items.
    
    * test/test_setup_maker_1.0.rb: fixed swapped actual and expected
      values.
    
    * test/rss/rss-assertions.rb (assert_multiple_dublin_core): added
      an assertion for testing multiple Dublin Core items.
    
    * test/rss/test_maker_dc.rb (test_rss10_multiple): added a test
      for making multiple Dublin Core items.
    
    * test/rss/test_maker_dc.rb (test_date): added a test for #date=
      and #dc_date=.
    
    
    * sample/rss/tdiary_plugin/rss-recent.rb:
      new option: @options['rss-recent.use-image-link']:
      use image as link instread of text if available.
    
    * sample/rss/tdiary_plugin/rss-recent.rb (RSS_RECENT_VERSION):
      0.0.5 -> 0.0.6.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 7, 2005
  1. * lib/webrick/server.rb (WEBrick::GenericServer#start): should

    gotoyuzo authored
      restore @token if accept failure. suggested by Dominique Brezinski.
      [ruby-core:04518]
    
    * sample/webrick/httpsd.rb: fix typo in comment. suggested by
      Kazuhiko Shiozaki.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 3, 2005
  1. @kou
Commits on Feb 23, 2005
  1. * array.c (rb_ary_s_create): no need for negative argc check.

    matz authored
      [ruby-core:04463]
    
    * array.c (rb_ary_unshift_m): ditto.
    
    * lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
      of StandardError class, not Exception class.  [ruby-core:04429]
    
    * lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
      fixed: [ruby-core:04444]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 18, 2005
  1. This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.

    (no author) authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 21, 2004
  1. @nahi
Commits on Dec 20, 2004
  1. @nahi

    * added files:

    nahi authored
              * lib/soap/mapping/wsdl*.rb
              * lib/wsdl/soap/element.rb
              * lib/wsdl/xmlSchema/simpleContent.rb
    
            * modified files:
              * lib/soap/*
              * lib/wsdl/*
              * lib/xsd/*
              * test/soap/*
              * test/wsdl/*
              * test/xsd/*
              * sample/soap/*
              * sample/sdl/*
    
            * summary
              * imported from the soap4r repository.  Version: 1.5.3-ruby1.8.2
    
              * added several XSD basetype support: nonPositiveInteger,
                negativeInteger, nonNegativeInteger, unsignedLong, unsignedInt,
                unsignedShort, unsignedByte, positiveInteger
    
              * HTTP client connection/send/receive timeout support.
    
              * HTTP client/server gzipped content encoding support.
    
              * improved WSDL schema definition support; still is far from
                complete, but is making step by step improovement.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.

    (no author) authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 8, 2004
  1. @kou
Commits on Nov 29, 2004
  1. This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.

    (no author) authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 3, 2004
  1. This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.

    (no author) authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nahi

    * added files

    nahi authored
              * lib/soap/attachment.rb
              * lib/soap/header
              * lib/soap/mimemessage.rb
              * lib/soap/rpc/httpserver.rb
              * lib/wsdl/soap/cgiStubCreator.rb
              * lib/wsdl/soap/classDefCreator.rb
              * lib/wsdl/soap/classDefCreatorSupport.rb
              * lib/wsdl/soap/clientSkeltonCreator.rb
              * lib/wsdl/soap/driverCreator.rb
              * lib/wsdl/soap/mappingRegistryCreator.rb
              * lib/wsdl/soap/methodDefCreator.rb
              * lib/wsdl/soap/servantSkeltonCreator.rb
              * lib/wsdl/soap/standaloneServerStubCreator.rb
              * lib/wsdl/xmlSchema/enumeration.rb
              * lib/wsdl/xmlSchema/simpleRestriction.rb
              * lib/wsdl/xmlSchema/simpleType.rb
              * lib/xsd/codegen
              * lib/xsd/codegen.rb
              * sample/soap/authheader
              * sample/soap/raa2.4
              * sample/soap/ssl
              * sample/soap/swa
              * sample/soap/whois.rb
              * sample/soap/calc/samplehttpd.conf
              * sample/soap/exchange/samplehttpd.conf
              * sample/soap/sampleStruct/samplehttpd.conf
              * sample/wsdl/raa2.4
              * sample/wsdl/googleSearch/samplehttpd.conf
              * test/openssl/_test_ssl.rb
              * test/soap/header
              * test/soap/ssl
              * test/soap/struct
              * test/soap/swa
              * test/soap/wsdlDriver
              * test/wsdl/multiplefault.wsdl
              * test/wsdl/simpletype
              * test/wsdl/test_multiplefault.rb
    
            * modified files
              * lib/soap/baseData.rb
              * lib/soap/element.rb
              * lib/soap/generator.rb
              * lib/soap/marshal.rb
              * lib/soap/netHttpClient.rb
              * lib/soap/parser.rb
              * lib/soap/processor.rb
              * lib/soap/property.rb
              * lib/soap/soap.rb
              * lib/soap/streamHandler.rb
              * lib/soap/wsdlDriver.rb
              * lib/soap/encodingstyle/handler.rb
              * lib/soap/encodingstyle/literalHandler.rb
              * lib/soap/encodingstyle/soapHandler.rb
              * lib/soap/mapping/factory.rb
              * lib/soap/mapping/mapping.rb
              * lib/soap/mapping/registry.rb
              * lib/soap/mapping/rubytypeFactory.rb
              * lib/soap/mapping/wsdlRegistry.rb
              * lib/soap/rpc/cgistub.rb
              * lib/soap/rpc/driver.rb
              * lib/soap/rpc/element.rb
              * lib/soap/rpc/proxy.rb
              * lib/soap/rpc/router.rb
              * lib/soap/rpc/soaplet.rb
              * lib/soap/rpc/standaloneServer.rb
              * lib/wsdl/data.rb
              * lib/wsdl/definitions.rb
              * lib/wsdl/operation.rb
              * lib/wsdl/parser.rb
              * lib/wsdl/soap/definitions.rb
              * lib/wsdl/xmlSchema/complexContent.rb
              * lib/wsdl/xmlSchema/complexType.rb
              * lib/wsdl/xmlSchema/data.rb
              * lib/wsdl/xmlSchema/parser.rb
              * lib/wsdl/xmlSchema/schema.rb
              * lib/xsd/datatypes.rb
              * lib/xsd/qname.rb
              * sample/soap/calc/httpd.rb
              * sample/soap/exchange/httpd.rb
              * sample/soap/sampleStruct/httpd.rb
              * sample/soap/sampleStruct/server.rb
              * sample/wsdl/amazon/AmazonSearch.rb
              * sample/wsdl/amazon/AmazonSearchDriver.rb
              * sample/wsdl/googleSearch/httpd.rb
              * test/soap/test_basetype.rb
              * test/soap/test_property.rb
              * test/soap/test_streamhandler.rb
              * test/soap/calc/test_calc.rb
              * test/soap/calc/test_calc2.rb
              * test/soap/calc/test_calc_cgi.rb
              * test/soap/helloworld/test_helloworld.rb
              * test/wsdl/test_emptycomplextype.rb
              * test/wsdl/axisArray/test_axisarray.rb
              * test/wsdl/datetime/test_datetime.rb
              * test/wsdl/raa/test_raa.rb
              * test/xsd/test_xmlschemaparser.rb
              * test/xsd/test_xsd.rb
    
            * summary
              * add SOAP Header mustUnderstand support.
    
              * add HTTP client SSL configuration and Cookies support (works
                completely with http-access2).
    
              * add header handler for handling sending/receiving SOAP Header.
    
              * map Ruby's anonymous Struct to common SOAP Struct in SOAP Object
                Model.  it caused error.
    
              * add WSDL simpleType support to restrict lexical value space.
    
              * add SOAP with Attachment support.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 27, 2004
  1. using "DRb.thread.join" instead of "gets"

    seki authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.