Permalink
Switch branches/tags
Commits on Feb 19, 2012
  1. * gc.c (gc_clear_mark_on_sweep_slots): uses slot_sweep() for

      unsweeped slots, because some dead objects might be marked in
      next the mark phase by false pointers.  [ruby-core:42672]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authorNari committed Feb 19, 2012
  2. * regparse.c: fix warnings.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 19, 2012
Commits on Feb 18, 2012
  1. cosmetic change.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  2. * test/dbm/test_dbm.rb (test_dbmfile_suffix): check magic numbers.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  3. * ext/dbm/extconf.rb: detect GDBM's ndbm.h by testing dbm_clearerr is

      an empty macro.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  4. * regcomp.c, regexec.c: fix-up warnings.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 18, 2012
  5. * 2012-02-19

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Feb 18, 2012
  6. * ext/dbm/extconf.rb: don't choose 'dbm' if _GDB_H_ is defined which

      is available since GDBM 1.9 because 'gdbm_compat' is appropriate
      choise since GDBM 1.8.1.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  7. * random.c: remove a duplicated comment.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mrkn committed Feb 18, 2012
  8. simplify a test.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  9. * ext/dbm/extconf.rb (dblib): prefer recent GDBM over older GDBM.

      (have_declared_libvar): new function to check a declared variable
      exists in a library.
      (have_undeclared_libvar): renamed from renamed from have_libvar.
      (headers.db_check2): check that GDBM version variable if GDBM header
      is choosen.
    
    * ext/dbm/dbm.c (Init_dbm): use HAVE_DECLARED_LIBVAR_GDBM_VERSION and
      HAVE_UNDECLARED_LIBVAR_GDBM_VERSION macro.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  10. * test/dbm/test_dbm.rb (test_dbmfile_suffix): DBM::VERSION should

      be Berkeley DB if foo.db is created by DBM.open.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  11. * test/dbm/test_dbm.rb (test_dbmfile_suffix): test dbm file suffix.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  12. * ext/dbm/dbm.c (DBM::VERSION): define it by detecting _GDBM_H_ or

      _DBM_IOERR.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 18, 2012
  13. * tool/enc-unicode.rb: don't use 1.9 feature on tools.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 18, 2012
Commits on Feb 17, 2012
  1. * 2012-02-18

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Feb 17, 2012
  2. * lib/fileutils.rb: refactored FileUtil methods to use the

      `define_command` API.  Patch from 7rans <transfire@gmail.com>
    * test/fileutils/test_dryrun.rb: corresponding test refactoring
    * test/fileutils/test_nowrite.rb: ditto
    * test/fileutils/test_verbose.rb: ditto
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    tenderlove committed Feb 17, 2012
  3. * ext/dbm/extconf.rb: remove dbm.

    forgotten in r34666.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 17, 2012
  4. * ext/dbm/extconf.rb: refine header/libraty mismatch detection.

      check only for ndbm.h except libc.  check _GDBM_H_ for gdbm.
      check _DBM_IOERR for the original ndbm.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 17, 2012
  5. * ext/dbm/extconf.rb: don't check libdbm. It is not a ndbm

      implementation.  (libdbm in Version 7 Unix is database library
      for single database per process.)
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 17, 2012
  6. * ChangeLog: removed duplicated entry.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 17, 2012
  7. * properties.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 17, 2012
  8. * Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820]

      https://github.com/k-takata/Onigmo
      cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h
      cp oniguruma.h
      cp tool/enc-unicode.rb
      cp -r enc/
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  9. * enum.c (enum_each_slice): arrays to be yielded can be newly

      created in the block.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 17, 2012
  10. * enum.c: move work variables to objects not to let called blocks

      access stack area out of scope.  [Bug #5801]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 17, 2012
  11. * tool/merger.rb: remove borders from the commit message which is used

      when the commit doesn't change ChangeLog.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  12. * common.mk (btest, btest-ruby, test-sample test-knownbugs)

      (test-all, test-ruby): depend on prog.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 17, 2012
  13. * lib/mkmf.rb (create_header): log the content of header.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 17, 2012
  14. * tool/transcode-tblgen.rb (import_ucm): don't use \h because the

      script should work with ruby 1.8.
    
    * tool/enc-unicode.rb: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
Commits on Feb 16, 2012
  1. * enum.c (id_lshift): use constant ID.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 16, 2012
  2. * ext/dbm/extconf.rb: refactored to split too long conditions.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 16, 2012
  3. * test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.

      reported by Bohuslav Kabrda.
      [ruby-core:42685] [Bug #6036]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 16, 2012
  4. * 2012-02-17

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Feb 16, 2012
  5. * ext/dbm/extconf.rb: check _DB_H_ macro unavailable except

      Berkeley DB library.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Feb 16, 2012
Commits on Feb 15, 2012
  1. * insns.def (splatarray): make new array if flag is set.

    * compile.c (iseq_compile_each): make new array with
      splat. [ruby-core:21901][Feature #1125]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 15, 2012