Permalink
Switch branches/tags
Commits on Aug 13, 2013
  1. random.c: coerce before check negative

    nobu committed Aug 13, 2013
    * random.c (rb_random_ulong_limited): coerce before check negative.
      [Fixes GH-379]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. object.c: undef Module#prepend_features on Class

    nobu committed Aug 13, 2013
    * object.c (Init_Object): undef Module#prepend_features on Class, as
      well as Module#append_features.  [Fixes GH-376]
    * test_class.rb: Added test for above. And ensure type checking
      on similar methods as module_function.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. fix a typo

    znz committed Aug 13, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. fix a typo

    znz committed Aug 13, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 12, 2013
  1. * 2013-08-13

    matzbot committed Aug 12, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * doc/syntax/literals.rdoc: [DOC] String literal concat by @cknadler

    zzak committed Aug 12, 2013
      [Fixes GH-380] ruby#380
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * gc.c (gc_marks_test): inhibit gc for st's operation.

    tarui committed Aug 12, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. parse.y: CR in middle

    nobu committed Aug 12, 2013
    * parse.y (parser_whole_match_p): treat CR in middle of a line as a
      mere whitespace.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * class.c (rb_prepend_module): make T_ICLASS object shady because

    ko1 committed Aug 12, 2013
      this T_ICLASS object seems to share method table with other class
      objects. It was causes WB miss.
      TODO: need to know the data structure.
    * test/ruby/test_module.rb: add a test for WB miss.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * process.c: [DOC] RDoc formatting of Process.clock_gettime

    zzak committed Aug 12, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * lib/yaml/dbm.rb: [DOC] Document call-seq for YAML::DBM

    zzak committed Aug 12, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * ext/dbm/extconf.rb: [DOC] Hide from RDoc

    zzak committed Aug 12, 2013
      Some libraries might want to document extconf.rb so RDoc treats it
      like any other ruby program. However, DBM users shouldn't care about
      these methods.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * ext/dbm/dbm.c: [DOC] Reformat headings of DBM class

    zzak committed Aug 12, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * lib/yaml.rb, lib/yaml/: [DOC] Document YAML::DBM#key and add

    zzak committed Aug 12, 2013
      references to similar methods with more detail. This patch brings
      lib/yaml to 100% documentation coverage.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. fix r42527 again; [Bug #8760] [ruby-dev:47608] [ruby-dev:47609]

    nurse committed Aug 12, 2013
    Remove check rl_instream != ifp->stdio_file.
    rl_instream is made from duped fd and we cannnot compare.
    This fix seems still buggy when rl_instream is manually changed from
    other extension libraries.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. refix r42525 set stdio_file only if stdio

    nurse committed Aug 12, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 11, 2013
  1. * 2013-08-12

    matzbot committed Aug 11, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * ext/readline/readline.c (readline_s_set_input): on OS X with editline,

    nurse committed Aug 11, 2013
      Readline.readline doesn't work because readline_get doesn't use
      rl_getc. The difference is introduced by r42402 [ruby-dev:47509]
      [Bug #8644]. Before it rb_io_stdio_file set ifp->stdio_file.
      Therefore add manually setting the value.
    
    * ext/readline/readline.c (readline_s_set_onput): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. file.c: OSX path encoding

    nobu committed Aug 11, 2013
    * file.c (rb_str_encode_ospath): OS path encoding on Mac OS X is also
      fixed.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. test_require.rb: __FILE__ encoding on Windows

    nobu committed Aug 11, 2013
    * test/ruby/test_require.rb (assert_require_nonascii_path): OS path
      encoding on Windows is fixed, so encoding of __FILE__ should be it.
      [ruby-core:56498] [Bug #8764]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * test/rexml/parser/test_sax2.rb: Expand abbreviated class name.

    kou committed Aug 11, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * lib/rexml/sax2listener.rb (REXML::SAX2Listener#notationdecl): Fix

    kou committed Aug 11, 2013
      wrong number of arguments in the template listener.
      [Bug #8731] [ruby-dev:47582]
      Reported by Ippei Obayashi.
    * test/rexml/parser/test_sax2.rb: Add tests for parsing notation
      declarations with SAX2 API.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrong

    kou committed Aug 11, 2013
      examples. [Bug #8731] [ruby-dev:47582]
      Reported by Ippei Obayashi.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * lib/rexml/parsers/sax2parser.rb

    kou committed Aug 11, 2013
      (REXML::Parsers::SAX2Parser#handle_entitydecl): Extract.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):

    kou committed Aug 11, 2013
      Fix wrong "%" position in parameter entity declaration event argument.
    * test/rexml/parser/test_sax2.rb: Add tests for the above case.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * ChangeLog: Fix wrong description about entity declarations.

    kou committed Aug 11, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):

    kou committed Aug 11, 2013
      Support NDATA in external entity declaration.
    * test/rexml/parser/test_sax2.rb: Add tests for the above case.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. * lib/rexml/parsers/baseparser.rb

    kou committed Aug 11, 2013
      (REXML::Parsers::BaseParser#pull_event): Support optional NDATA
      in parameter entity declaration.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. * NEWS (REXML::Parsers::SAX2Parser): Add about this change.

    kou committed Aug 11, 2013
    * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
      Fix wrong number of arguments. Document says "an array of the
      entity declaration" but it passes two or more arguments.
      This is a bug but it break backward compatibility.
      Reported by Ippei Obayashi. [Bug #8731] [ruby-dev:47582]
    * lib/rexml/sax2listener.rb (REXML::SAX2Listener#entitydecl): ditto.
      The listener template accepted two arguments.
    * test/rexml/parser/test_sax2.rb: Add tests for external ID case.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. * NEWS (REXML::Parsers::SAX2Parser): Add about this change.

    kou committed Aug 11, 2013
    * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
      Fix wrong number of arguments. Document says "an array of the
      entity declaration" but it passes two or more arguments.
      This is a bug but it break backward compatibility.
      Reported by Ippei Obayashi. [Bug #8731] [ruby-dev:47582]
    * lib/rexml/sax2listener.rb (REXML::SAX2Listener#entitydecl): ditto.
      The listener template accepted two arguments.
    * test/rexml/parser/test_sax2.rb: Add tests for external ID case.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  15. * test/rexml/parser/test_sax2.rb: Add SAX2 API test.

    kou committed Aug 11, 2013
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  16. Revert r42502 "ext/-test-/*/depend: TEST_INIT_FUNCS"

    nobu committed Aug 11, 2013
    Makefiles should be re-configured by extract_makefile.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  17. file.c: internal function

    nobu committed Aug 11, 2013
    * file.c (rb_str_normalize_ospath0): make the internal function
      static.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  18. parse.y: non-local/const attrset

    nobu committed Aug 11, 2013
    * parse.y (rb_enc_symname_type): allow ID_ATTRSET for ID_INSTANCE,
      ID_GLOBAL, ID_CLASS, ID_JUNK too.  [Bug #8756]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  19. * include/ruby/encoding.h: Reduce ENCODING_INLINE_MAX to 127 as this

    charliesome committed Aug 11, 2013
      should be sufficient to represent all the encodings Ruby supports.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e