summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-13random.c: coerce before check negativenobu
* 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
2013-08-13object.c: undef Module#prepend_features on Classnobu
* 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
2013-08-13fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* 2013-08-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* doc/syntax/literals.rdoc: [DOC] String literal concat by @cknadlerzzak
[Fixes GH-380] https://github.com/ruby/ruby/pull/380 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12 * gc.c (gc_marks_test): inhibit gc for st's operation.tarui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12parse.y: CR in middlenobu
* 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
2013-08-12* class.c (rb_prepend_module): make T_ICLASS object shady becauseko1
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
2013-08-12* process.c: [DOC] RDoc formatting of Process.clock_gettimezzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* lib/yaml/dbm.rb: [DOC] Document call-seq for YAML::DBMzzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* ext/dbm/extconf.rb: [DOC] Hide from RDoczzak
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
2013-08-12* ext/dbm/dbm.c: [DOC] Reformat headings of DBM classzzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* lib/yaml.rb, lib/yaml/: [DOC] Document YAML::DBM#key and addzzak
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
2013-08-12fix r42527 again; [Bug #8760] [ruby-dev:47608] [ruby-dev:47609]naruse
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
2013-08-12refix r42525 set stdio_file only if stdionaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11* 2013-08-12svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11* ext/readline/readline.c (readline_s_set_input): on OS X with editline,naruse
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
2013-08-11file.c: OSX path encodingnobu
* 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
2013-08-11test_require.rb: __FILE__ encoding on Windowsnobu
* 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
2013-08-11* test/rexml/parser/test_sax2.rb: Expand abbreviated class name.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11* lib/rexml/sax2listener.rb (REXML::SAX2Listener#notationdecl): Fixkou
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
2013-08-11* lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrongkou
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
2013-08-11* lib/rexml/parsers/sax2parser.rbkou
(REXML::Parsers::SAX2Parser#handle_entitydecl): Extract. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11* lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):kou
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
2013-08-11* ChangeLog: Fix wrong description about entity declarations.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11* lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):kou
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
2013-08-11* lib/rexml/parsers/baseparser.rbkou
(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
2013-08-11* NEWS (REXML::Parsers::SAX2Parser): Add about this change.kou
* 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
2013-08-11* NEWS (REXML::Parsers::SAX2Parser): Add about this change.kou
* 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
2013-08-11* test/rexml/parser/test_sax2.rb: Add SAX2 API test.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11Revert r42502 "ext/-test-/*/depend: TEST_INIT_FUNCS"nobu
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
2013-08-11file.c: internal functionnobu
* 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
2013-08-11parse.y: non-local/const attrsetnobu
* 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
2013-08-11* include/ruby/encoding.h: Reduce ENCODING_INLINE_MAX to 127 as thischarliesome
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
2013-08-11* file.c (rb_str_normalize_ospath): fix mixed code and declaration warningcharliesome
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11[DOC] update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11ML ref. added.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11* process.c (rb_clock_gettime): New method.akr
This is accepted in the meeting: https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130809 This method is accepted as a CRuby feature. I.e. Other Ruby implementations don't need to implement it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-11* lib/time.rb: [DOC] Correcting rdoc visibility of time.rb constantszzak
Reported by Tanaka Akira [ruby-core:56517] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10ext/-test-/*/depend: TEST_INIT_FUNCSnobu
* ext/-test-/{bignum,debug,exception,string}/depend: TEST_INIT_FUNCS is created by globbing in extconf.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10dir.c: normalizationnobu
* dir.c (glob_helper): re-enalbe normalization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10* doc/syntax/literals.rdoc: Use single quotes instead of double quotescharliesome
[Bug #8766] [ruby-core:56514] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10* file.c (rb_str_normalize_ospath):naruse
HFS Plus (Mac OS Extended) uses a variant of Normal Form D in which U+2000 through U+2FFF, U+F900 through U+FAFF, and U+2F800 through U+2FAFF are not decomposed (this avoids problems with round trip conversions from old Mac text encodings). http://developer.apple.com/library/mac/qa/qa1173/_index.html Therefore fix r42457 to exclude the range. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10* bignum.c (bitsize): Fix a conditional expression.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10* lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377]zzak
https://github.com/ruby/ruby/pull/377 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10* 2013-08-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10* configure.in: Revert r42458.akr
It removes the HAVE_CLOCK_GETTIME from config.h. http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130809T044800Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10* numeric.c: [DOC] fix typo.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e