Permalink
Commits on Mar 1, 2008
  1. 1.9.0-1

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_0_1@15665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Mar 1, 2008
  2. * svn: ignore transdb.h.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Mar 1, 2008
  3. * io.c (struct argf): packed ARGF stuffs.

    * ruby.c (proc_options): use ruby_set_inplace_mode().
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Mar 1, 2008
  4. * lib/test/unit/collector/dir.rb (recursive_collect): do not always

      include all test_*.rb.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Mar 1, 2008
  5. * tool/make-snapshot: prefixed r makes $revision always true.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Mar 1, 2008
  6. * development snapshot 1.9.0-1 released.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  7. * tool/make-snapshot: make prereq uses MINIRUBY.

    * tool/make-snapshot: allow packaging like 1.9.0-1 by second
      command-line argument.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  8. * test/ruby/allpairs.rb: new file for all pairs method.

    * test/ruby/test_m17n_comb.rb: use allpairs.rb to reduce test cases.
    
    * test/ruby/test_sprintf_comb.rb: ditto.
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Mar 1, 2008
  9. bootstraptest/test_marshal.rb: test updated

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  10. bootstraptest/test_knownbug.rb: add test

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  11. * string.c (sym_inspect): use rb_str_inspect() instead of

      rb_str_dump().  [ruby-dev:33946]
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  12. * eval_method.c (rb_get_method_body): ent->method may be freed by

      GC.  [ruby-dev:31819]
    
    * thread.c (remove_event_hook): should not access freed memory.
      [ruby-dev:31820]
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  13. ChangeLog: typo fixed

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  14. test/test_{string,sprintf}.rb: updated.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  15. * string.c (tr_setup_table, rb_str_split_m, rb_str_chomp_bang):

      simplified with rb_enc_ascget().  [ruby-dev:33944]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Mar 1, 2008
  16. * string.c (rb_str_coderange_scan_restartable): should not return

      offset in the middle of a character.
    
    * string.c (rb_str_coderange_scan_restartable): should not return
      invalid cr value.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
  17. * sprintf.c (rb_str_format): "%#.0o" should keep prefix where

      "%#.0x" should not.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Mar 1, 2008
Commits on Feb 29, 2008
  1. * test/ruby/test_bignum.rb (test_too_big_to_s): skips a test using too

      large memory.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 29, 2008
  2. * bignum.c (big2str_find_n1): check integer overflow.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 29, 2008
  3. * encoding.c (rb_enc_dummy_p): bootstrap encodings can not be dummy.

    * encoding.c (rb_enc_ascget): no needs to call rb_enc_precise_mbclen()
      twice.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 29, 2008
  4. * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_chomp): test

      updated.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Feb 29, 2008
  5. add a test.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 29, 2008
  6. * test/ruby/test_iterator.rb (TestIterator::test_enumerator):

      adjust test for zip behavior reversion.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Feb 29, 2008
  7. * string.c (rb_str_chomp_bang): now works on UTF-16.

    * string.c (tr_setup_table): negation should work on non ASCII
      compatible strings as well.
    
    * string.c (rb_str_split_m): awk split should work on non ASCII
      compatible strings as well.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Feb 29, 2008
  8. * time.c (time_strftime): format should be ascii compatible.

    * parse.y (rb_intern3): non ASCII compatible symbols.
    
    * re.c (rb_reg_regsub): add encoding check.
    
    * string.c (rb_str_chomp_bang): ditto.
    
    * test/ruby/test_utf16.rb (TestUTF16::test_chomp): raises exception.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Feb 29, 2008
  9. * string.c (rb_str_rpartition): calculation was done in byte indexing.

    * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_start_with):
      allow start_with? matching on broken strings.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Feb 29, 2008
  10. * parse.y (opt_block_param): command can start just after block param

      definition.  [ruby-list:44479]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 29, 2008
  11. * test/ruby/test_settracefunc.rb (TestSetTraceFunc#test_raise):

      raise is ignored in backtrace now.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 29, 2008
Commits on Feb 28, 2008
  1. * test/ruby/test_time.rb (test_readers): fix typo.

      (test_strftime): "UTC" is also ok for time.gmtime.strftime("%Z").
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 28, 2008
  2. * string.c (str_new): remove encoding assumption of empty string.

    * hash.c ( rb_f_getenv, env_fetch, env_inspect): result of ENV should
      be always ASCII-8BIT.
    
    * object.c (nil_to_s): nil.to_s should be US-ASCII.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 28, 2008
  3. * ext/tk/lib/tk.rb: forgot to update RELEASE_DATE

    * ext/tk/lib/tk.rb, ext/tk/lib/tk/text.rb,
      ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: remove adhoc check 
      of Ruby's features (use existence of some classes instead of 
      comparing with RUBY_VERSION)
    
    * ext/tk/lib/tk/root.rb, ext/tk/lib/tk/autoload.rb: make TkRoot 
      (Tk::Root) unswitchable
    
    * ext/tk/lib/multi-tk.rb: partial bug fix (still not work!!)
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagai committed Feb 28, 2008
  4. * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): use ASCII-8BIT

      for charset unspecified non-text data.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 28, 2008
  5. * encoding.c (enc_capable): IMMEDIATE_P doesn't include Qnil and Qfalse.

      use SPECIAL_CONST_P.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 28, 2008
  6. * encoding.c (enc_find): check type of argument and convert to String

      if it is StringValue. [ruby-cvs:22866]
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 28, 2008