Permalink
Commits on Apr 15, 2008
  1. Tag for 1.8.7-preview1.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_7_preview1@16054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 15, 2008
  2. typo

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 15, 2008
  3. Add an entry for the 1.8.7 branch point.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 15, 2008
  4. * lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403]

    * test/xmlrpc/test_cookie.rb: add a test for the above fix.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 15, 2008
  5. Begin the 1.8.7 series.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 15, 2008
  6. Fork a branch for the 1.8.7 release off from ruby_1_8.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 15, 2008
  7. * ext/syck/rubyext.c (rb_syck_mktime): Avoid buffer overflow.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 15, 2008
  8. * re.c (match_inspect): backported from 1.9.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Apr 15, 2008
  9. * eval.c (method_receiver, method_name, method_owner): New

      methods; backported from 1.9. bug#19007
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Apr 15, 2008
  10. * lib/uri.rb, lib/uri/ldaps.rb: added LDAPS scheme; backported from 1…

    ….9. bug#19015, [ruby-dev:31896]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Apr 15, 2008
  11. update NEWS

    * net/smtp support SSL/TLS.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Apr 15, 2008
  12. * lib/net/smtp.rb: backported from 1.9. bug#19003

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Apr 15, 2008
  13. * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): add tests.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Apr 15, 2008
  14. * ext/tk/lib/tk/menuspec.rb: option check will fail when

      TkConfigMethod.__IGNORE_UNKNOWN_CONFIGURE_OPTION__ is true.
    
    * ext/tk/lib/tk/palette.rb: bug fix.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagai committed Apr 15, 2008
  15. * signal.c, gc.c: New methods: GC.stress, GC.stress=;

      backported from 1.9. a patch from Tadashi Saito
      in [ruby-dev:34394] and bug#19000
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Apr 15, 2008
  16. * 2008-04-15

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 15, 2008
  17. * array.c (rb_ary_take_while, rb_ary_drop_while): removed unused

      variables.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 15, 2008
  18. * rubyio.h (rb_io_t): renamed from OpenFile.

    * ruby.h (struct RHash), file.c, gc.c, io.c, ext/dl/dl.c,
      ext/io/wait/wait.c, ext/pty/pty.c, ext/readline/readline.c,
      ext/socket/socket.c: ditto.
    
    * win32/win32.h: removed workaround for OpenFile.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 15, 2008
  19. * test/ruby/test_enum.rb: property.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 15, 2008
Commits on Apr 14, 2008
  1. * ext/tk/lib/tk/text.rb: typo. call a wrong method.

    * ext/tk/lib/tk/itemconfig.rb: ditto.
    
    * ext/tk/sample/ttk_wrapper.rb: bug fix.
    
    * ext/tk/sample/tktextio.rb: add binding for 'Ctrl-u' at console mode.
    
    * ext/tk/lib/tk.rb, ext/tk/lib/tk/itemfont.rb, ext/tk/lib/font.rb: 
      support __IGNORE_UNKNOWN_CONFIGURE_OPTION__ about font options.
    
    * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb, 
      ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb, 
      ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: bug fix. 
    
    * ext/tk/lib/tkextlib/tile/tpaned.rb: improve TPaned#add.
    
    * ext/tk/lib/tk/timer.rb: add TkTimer#at_end(proc) to register the 
      procedure which called at end of the timer.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagai committed Apr 14, 2008
  2. Add notes about {Array,Enumerable}#{map,collect}, which still return

    an array for compatibility.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  3. * array.c (rb_ary_flatten, rb_ary_flatten_bang): Take an optional

      argument that determines the level of recursion to flatten;
      backported from 1.9.
    
    * array.c (rb_ary_shuffle_bang, rb_ary_shuffle, rb_ary_choice,
      rb_ary_cycle, rb_ary_permutation, rb_ary_combination,
      rb_ary_product, rb_ary_take, rb_ary_take_while, rb_ary_drop,
      rb_ary_drop_while): New methods: Array#shuffle, #shuffle!,
      #choice, #cycle, #permutation, #combination, #product, #take,
      #take_while, #drop, #drop_while; backported from 1.9.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  4. * ruby.h: New macro: RB_GC_GUARD().

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  5. * random.c (rb_genrand_int32, rb_genrand_real), intern.h: Export.

    * string.c (rb_str_tmp_new), intern.h: New function.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  6. * enum.c (inject_i, inject_op_i): prototype.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Apr 14, 2008
  7. * enum.c New methods: Enumerable#take, #take_while, #drop and

      #drop_while; backported from 1.9.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  8. * enum.c: New methods: Enumerable#one?, #none?, #minmax, #min_by,

      #max_by, #minmax_by and #cycle; backported from 1.9.
    
    * enum.c (enum_find_index): Add support for find_index(obj);
      [ruby-dev:34313]; backported from 1.9.
    
    * enum.c (enum_inject): Add support for Enumerable#inject(:binop);
      backported from 1.9.
    
    * enum.c: Alias Enumerable#reject to #inject; backported from 1.9.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  9. * enum.c (enum_find, enum_reject): Return an enumerator if no

      block is given.
    
    * io.c (rb_io_each_line, rb_io_each_byte, rb_io_s_foreach,
      argf_each_line, argf_each_byte): Ditto.
    
    * string.c (str_gsub): Ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  10. * enum.c (find_index_i, find_index_iter_i): add prototype for VC.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Apr 14, 2008
  11. * array.c (rb_ary_collect_bang, rb_ary_select): Return an

      enumerator if no block is given.
    
    * dir.c (dir_each, dir_foreach): Return an enumerator if no block
      is given.
    
    * enum.c (enum_partition, enum_sort_by): Ditto.
    
    * gc.c (os_each_obj): Ditto.
    
    * hash.c (rb_hash_delete_if, rb_hash_reject_bang, rb_hash_select,
      rb_hash_each_value, rb_hash_each_key, rb_hash_each_pair,
      env_each_key, env_each_value, env_each, env_each_pair,
      env_reject_bang, env_delete_if, env_select): Ditto.
    
    * numeric.c (num_step, int_upto, int_downto, int_dotimes): Ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  12. fix a typo

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  13. * ruby.h (rb_block_call_func): Fix prototype.

    * enumerator.c (enumerator_iter_i, enumerator_each_i): Ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  14. * enum.c (enum_count, enum_find_index): New methods:

      Enumerable#count and #find_index; backported from 1.9.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008
  15. * enumerator.c (enumerator_mark, enumerator_iter_i, enumerator_each_i,

    	  enumerator_allocate): add prototype.
    
    	* enumerator.c (enumerator_each_i): declare unused two arguments.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Apr 14, 2008
  16. * string.c (rb_str_each_char): New methods: String#chars and

      #each_char.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Apr 14, 2008