Permalink
Commits on Mar 3, 2008
  1. add tag v1_8_6_114

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_114@15679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Mar 3, 2008
  2. merge revision(s) 15677:

    	* lib/webrick/httpservlet/filehandler.rb: should normalize path
    	  separators in path_info to prevent directory traversal attacks
    	  on DOSISH platforms.
    	  reported by Digital Security Research Group [DSECRG-08-026].
    	* lib/webrick/httpservlet/filehandler.rb: pathnames which have
    	  not to be published should be checked case-insensitively.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@15678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Mar 3, 2008
Commits on Dec 2, 2007
  1. * test/rss/test_taxonomy.rb, test/rss/test_parser_1.0.rb,

    	  test/rss/test_image.rb, test/rss/rss-testcase.rb: ensured
    	  declaring XML namespaces.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@14091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Dec 2, 2007
  2. patchlevel 112

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@14089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Dec 2, 2007
Commits on Nov 4, 2007
  1. Fixes a bug in the pretty printer related to an incomplete refactoring.

      Fixes another bug related to the formatting code refactoring in 3.1.7
      Fixes ticket:99, and adds Henrik's unit test (with minor modifications)
      Fixes ticket:102.
        Fix provided by kevinj -- thanks!  Great job.
      Implements namespace validation in the baseparser.  This means that, as per
        the XML namespace spec, unbound prefixes generate UndefinedNamespaceException.
        Also, as per the namespace spec, the 'xml' prefix must be bound to 
        http://www.w3.org/XML/1998/namespace, and the 'xmlns' prefix must not be declared. 
        in the XML.
      Fix for ticket:115
      Fixes a bug in the pretty printer related to an incomplete refactoring.
      Merge code cleanups
      Fixes another bug related to the formatting code refactoring in 3.1.7
      Indentation fix.
      lib/rexml/formatters/*.rb: set properties.
      lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.
      lib/rexml/rexml.rb: removed doubled constant.
      lib/rexml/rexml.rb: added encoding.
      Fixes ticket:110
      Missing include for UndefinedNamespaceException was causing errors in some
        cases.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ser committed Nov 4, 2007
Commits on Oct 3, 2007
Commits on Oct 2, 2007
  1. * Fixes a bug in the pretty printer related to an incomplete refactor…

    …ing.
    
    * Fixes another bug related to the formatting code refactoring in 3.1.7
    * Fixes ticket:99, and adds Henrik's unit test (with minor modifications)
    * Fixes ticket:102.
      Fix provided by kevinj -- thanks!  Great job.
    * Implements namespace validation in the baseparser.  This means that, as per
      the XML namespace spec, unbound prefixes generate UndefinedNamespaceException.
      Also, as per the namespace spec, the 'xml' prefix must be bound to 
      http://www.w3.org/XML/1998/namespace, and the 'xmlns' prefix must not be declared. 
      in the XML.
    * Eggbeater missed one.
    * Fix for ticket:115
    * Fixes a bug in the pretty printer related to an incomplete refactoring.
    * Merge code cleanups
    * Fixes another bug related to the formatting code refactoring in 3.1.7
    * Indentation fix.
    * r1342@bean (orig r12846):  nobu | 2007-07-25 17:18:55 -0400
      * lib/rexml/formatters/*.rb: set properties.
    * r1358@bean (orig r12883):  nobu | 2007-08-06 04:36:31 -0400
      * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.
    * r1359@bean (orig r13096):  nobu | 2007-08-18 02:03:45 -0400
      * lib/rexml/rexml.rb: removed doubled constant.
    * r1360@bean (orig r13097):  nobu | 2007-08-18 02:12:48 -0400
      * lib/rexml/rexml.rb: added encoding.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ser committed Oct 2, 2007
Commits on Sep 24, 2007
  1. * lib/net/http.rb: an SSL verification (the server hostname should

    	  be matched with its certificate's commonName) is added.
    	  this verification can be skipped by
    	  "Net::HTTP#enable_post_connection_check=(false)".
    	  suggested by Chris Clark <cclark at isecpartners.com>
    	* lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to
    	  perform SSL post connection check.
    	* ext/openssl/lib/openssl/ssl.c
    	(OpenSSL::SSL::SSLSocket#post_connection_check): refine error message.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 24, 2007
Commits on Sep 23, 2007
  1. * eval.c, intern.h, ext/thread/thread.c: should not free queue while

    	  any live threads are waiting.  [ruby-dev:30653]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 23, 2007
Commits on Sep 22, 2007
  1. * ext/stringio/stringio.c (strio_init): separate from strio_initialize

    	  to share with strio_reopen properly.  [ruby-Bugs-13919]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 22, 2007
  2. * lib/rdoc/options.rb (Options::check_diagram): dot -V output

    	  changed. [ ruby-Bugs-11978 ], Thanks Florian Frank.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 22, 2007
Commits on Sep 19, 2007
  1. * bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound

    	  access.  [ruby-dev:31404]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 19, 2007
Commits on Sep 16, 2007
  1. * ext/thread/thread.c (lock_mutex): should take care of threads

    	  not waiting any longer; there cases of a thread raising
    	  exceptions. [ ruby-Bugs-11901 ]
    
    	* test/thread/test_thread.rb (test_mutex_exception_handling):
    	  test for above.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 16, 2007
  2. * runruby.rb: fix incomplete backport r12339.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 16, 2007
  3. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@1…

    …3459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 16, 2007
  4. * ruby.c (proc_options): -W should be allowed in RUBYOPT

    	  environment variable.  [ruby-core:12118]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 16, 2007
Commits on Sep 7, 2007
  1. * eval.c (rb_thread_start_0): should unset time_thread_alive_p.

      [ruby-talk:257219], [ruby-core:11542], [ruby-dev:31253]
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  2. * array.c (rb_ary_subseq): need integer overflow check.

    	  [ruby-dev:31736]
    	* array.c (rb_ary_splice): ditto.  [ruby-dev:31737]
    	* array.c (rb_ary_fill): ditto.  [ruby-dev:31738]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  3. * array.c (rb_ary_fill): need integer overflow check.

    	  [ruby-dev:31738]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  4. * string.c (rb_str_splice): integer overflow for length.

    	  [ruby-dev:31739]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  5. * configure.in (group_member): check if presents.

    	* configure.in (XCFLAGS): add _GNU_SOURCE on linux.
    	* file.c (group_member): use system routine if available.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  6. * include/ruby/defines.h (flush_register_windows): call "ta 0x03"

    	  even on Linux/Sparc.  [ruby-dev:31674]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  7. * ext/win32ole/win32ole.c (ole_type_progid, reg_enum_key,

    	  reg_get_val, ole_wc2mb): fix the bug. Thanks, arton. 
    	  [ruby-dev:31576]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  8. * eval.c (mnew): should preserve noex as safe_level.

    	* eval.c (rb_call0): tighten security check condition..
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  9. * process.c (detach_process_watcher): should not pass the pointer

    	  to an auto variable to the thread to be created.  pointed and
    	  fix by KUBO Takehiro <kubo at jiubao.org>  [ruby-dev:30618]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  10. * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep

    	  comment lines first.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
  11. * bignum.c (big_lshift): make shift offset long type.

    	  (big_rshift): ditto.
    	  (rb_big_lshift): ditto.
    	  (big_rshift): ditto.
    	  [ruby-dev:31434]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Sep 7, 2007
Commits on Aug 22, 2007
  1. * hash.c (rb_hash_delete_key): delete the entry without calling block.

    	* hash.c (rb_hash_shift): should consider iter_lev too.
    	* hash.c (delete_if_i): use rb_hash_delete_key() so that the block
    	  isn't called twice.  [ruby-core:11556]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 22, 2007
  2. * lib/rinda/tuplespace.rb: fix Rinda::TupleSpace keeper thread bug.

    	  the thread is started too early. [ruby-talk:264062] 
    	* test/rinda/test_rinda.rb: ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 22, 2007
  3. * ext/pty/pty.c (establishShell): handshaking before close slave

    	  device.  [ruby-talk:263410]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 22, 2007
  4. * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.

    	  [ruby-Bugs-12859]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 22, 2007
  5. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@1…

    …3214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 22, 2007