aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/yaml.rb, lib/yaml/: [DOC] Document YAML::DBM#key and addzzak2013-08-123-2/+18
| | | | | | | | 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
* fix r42527 again; [Bug #8760] [ruby-dev:47608] [ruby-dev:47609]naruse2013-08-121-7/+2
| | | | | | | | | 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
* refix r42525 set stdio_file only if stdionaruse2013-08-121-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-08-12svn2013-08-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_s_set_input): on OS X with editline,naruse2013-08-112-0/+12
| | | | | | | | | | | 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
* file.c: OSX path encodingnobu2013-08-113-1/+8
| | | | | | | * 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
* test_require.rb: __FILE__ encoding on Windowsnobu2013-08-112-2/+18
| | | | | | | | * 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
* * test/rexml/parser/test_sax2.rb: Expand abbreviated class name.kou2013-08-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/sax2listener.rb (REXML::SAX2Listener#notationdecl): Fixkou2013-08-113-1/+61
| | | | | | | | | | | 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
* * lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrongkou2013-08-112-6/+12
| | | | | | | | 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
* * lib/rexml/parsers/sax2parser.rbkou2013-08-112-24/+33
| | | | | | | (REXML::Parsers::SAX2Parser#handle_entitydecl): Extract. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):kou2013-08-113-2/+65
| | | | | | | | 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
* * ChangeLog: Fix wrong description about entity declarations.kou2013-08-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):kou2013-08-113-0/+36
| | | | | | | | 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
* * lib/rexml/parsers/baseparser.rbkou2013-08-112-1/+8
| | | | | | | | (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
* * NEWS (REXML::Parsers::SAX2Parser): Add about this change.kou2013-08-114-4/+37
| | | | | | | | | | | | | | * 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
* * NEWS (REXML::Parsers::SAX2Parser): Add about this change.kou2013-08-111-0/+12
| | | | | | | | | | | | | | * 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
* * test/rexml/parser/test_sax2.rb: Add SAX2 API test.kou2013-08-112-0/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r42502 "ext/-test-/*/depend: TEST_INIT_FUNCS"nobu2013-08-114-4/+0
| | | | | | 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
* file.c: internal functionnobu2013-08-111-1/+1
| | | | | | | * 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
* parse.y: non-local/const attrsetnobu2013-08-113-13/+29
| | | | | | | * 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
* * include/ruby/encoding.h: Reduce ENCODING_INLINE_MAX to 127 as thischarliesome2013-08-112-2/+7
| | | | | | 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
* * file.c (rb_str_normalize_ospath): fix mixed code and declaration warningcharliesome2013-08-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] update doc.akr2013-08-111-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ML ref. added.akr2013-08-111-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_clock_gettime): New method.akr2013-08-115-4/+230
| | | | | | | | | | | 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
* * lib/time.rb: [DOC] Correcting rdoc visibility of time.rb constantszzak2013-08-112-16/+10
| | | | | | | Reported by Tanaka Akira [ruby-core:56517] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/-test-/*/depend: TEST_INIT_FUNCSnobu2013-08-104-0/+4
| | | | | | | * 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
* dir.c: normalizationnobu2013-08-101-1/+1
| | | | | | * dir.c (glob_helper): re-enalbe normalization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/literals.rdoc: Use single quotes instead of double quotescharliesome2013-08-101-1/+1
| | | | | | [Bug #8766] [ruby-core:56514] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-08-100-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_str_normalize_ospath):naruse2013-08-108-4/+183
| | | | | | | | | | | 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
* * bignum.c (bitsize): Fix a conditional expression.akr2013-08-102-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377]zzak2013-08-102-0/+18
| | | | | | | 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-11svn2013-08-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Revert r42458.akr2013-08-102-1/+8
| | | | | | | | | 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
* * numeric.c: [DOC] fix typo.ktsj2013-08-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: non-local/const attrsetnobu2013-08-103-21/+42
| | | | | | | | * parse.y (rb_id_attrset): allow other than ID_ATTRSET. * parse.y (intern_str): ditto. try stem ID for ID_INSTANCE, ID_GLOBAL, ID_CLASS, ID_JUNK too. [Bug #8756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/baseparser.rbkou2013-08-102-1/+7
| | | | | | | | (REXML::Parsers::BaseParser::CDATA_END): Use "\A" instead of "^". It is not an used constant but I fix it. (Or shuold I remove it?) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser):kou2013-08-102-2/+9
| | | | | | | | Fix wrong constant name. "]>" pattern match is the same but it is used for "<!DOCTYPE" end mark not "<![CDATA[" end mark. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser):kou2013-08-102-7/+15
| | | | | | | | | | Use "\A" instead of "^" in document type declaration patterns because they are used as the head match in content not the head match in line. They don't cause any problems in the current code but it should be fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/parse/test_document_type_declaration.rb: Add tests forkou2013-08-102-0/+52
| | | | | | | parsing document type declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add missing "Patch by". Sorry. Thanks to Ippei Obayashi!!!kou2013-08-101-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::SYSTEM):kou2013-08-102-1/+8
| | | | | | | | | Fix loose "head" match regular expression. It doesn't cause any problem in the current code but it should be fixed because readers may confuse it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/parse/test_notation_declaration.rb (#test_system_public):kou2013-08-102-0/+14
| | | | | | | Add a test for PUBLIC notation and SYSTEM notation order case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::PUBLIC):kou2013-08-103-1/+21
| | | | | | | | | | | Fix loose "head" match regular expression. [Bug #8701] [ruby-dev:47551] Patch by Ippei Obayashi. Thanks!!! * test/rexml/parse/test_notation_declaration.rb (#test_system_public): Add a test for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: [DOC] typo in example reported by @moreteazzak2013-08-102-1/+6
| | | | | | | https://github.com/ruby/ruby/commit/a39e724#commitcomment-3831489 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c: [DOC] rdoc code formattingzzak2013-08-102-23/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: check for attrnobu2013-08-102-0/+27
| | | | | | | * parse.y (rb_id_attrset): check if the argument is valid type as an attribute. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/trackback.rb: [DOC] Hide RSS::Trackback from rdoczzak2013-08-092-1/+8
| | | | | | | Patch by Steve Klabnik [Bug #8755] [ruby-core:56456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e