summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-09-07* lib/find.rb (Find.find): respect the encodings of arguments.ktsj
[ruby-dev:47530] [Feature #8657] * test/test_find.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-06* common.mk: use RUNRUBY instead of MINIRUBY because MINIRUBY can'tglass
require extension libraries. The patch is from nobu (Nobuyoshi Nakada). * ext/thread/extconf.rb: for build ext/thread/thread.c. * include/ruby/intern.h: ditto. * thread.c: ditto. * lib/thread.rb: removed and replaced by ext/thread/thread.c. * ext/thread/thread.c: Queue, SizedQueue and ConditionVariable implementations in C. This patch is based on patches from panaggio (Ricardo Panaggio) and funny_falcon (Yura Sokolov) and ko1 (Koichi Sasada). [ruby-core:31513] [Feature #3620] * test/thread/test_queue.rb (test_queue_thread_raise): add a test for ensuring that killed thread should be removed from waiting threads. It is based on a code by ko1 (Koichi Sasada). [ruby-core:45950] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-05* lib/optparse.rb: The Integer acceptable now allows binary anddrbrain
hexadecimal numbers per the documentation. [ruby-trunk - Bug #8865] DecimalInteger, OctalInteger, DecimalNumeric now validate their input before converting to a number. [ruby-trunk - Bug #8865] * test/optparse/test_acceptable.rb: Tests for the above, tests for all numeric acceptables for existing behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-03* lib/rexml/parsers/treeparser.rb (REXML::Parsers::TreeParser#parse):kou
Add source information to parse exception on no close tag error. [Bug #8844] [ruby-dev:47672] Patch by Ippei Obayashi. Thanks!!! * test/rexml/parser/test_tree.rb: Add a test for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-03* lib/rexml/parsers/treeparser.rb (REXML::Parsers::TreeParser#parse):kou
Remove needless nested parse exception information. [Bug #8844] [ruby-dev:47672] Reported by Ippei Obayashi. Thanks!!! * test/rexml/parser/test_tree.rb: Add a test for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-03* lib/thread.rb: [DOC] CV#wait typo by @avdi [Fixes GH-386]zzak
https://github.com/ruby/ruby/pull/386 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-31* lib/securerandom.rb (random_bytes): Use Process.clock_gettime.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-27timeout.rb: raise given exceptionnobu
* lib/timeout.rb (Timeout#timeout): skip rescue clause only when no exception class is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-26* lib/rubygems: Import RubyGems 2.1.0 Release Candidatedrbrain
* test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-26timeout.rb: skip rescuenobu
* lib/timeout.rb (Timeout#timeout): should not be caught by rescue clause. [Bug #8730] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-20fix `<module:MiniTest>': Unit is not a module (TypeError)naruse
http://u64b.rubyci.org/~chkbuild/ruby-trunk/log/20130819T183302Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-19* lib/test/: [DOC] Document Test::Unit, hide most submodules andzzak
classes from rdoc. Since lib/test is only present as a compatibility layer with the legacy test suite many test/unit users will be using minitest or the test/unit gem instead. It is recommended to use one of these alternatives for writing new tests. This patch was based on a patch submitted by Steve Klabnik. [ruby-core:56694] [Bug #8778] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-19* lib/rss/rss.rb: [DOC] Document for constants by Steve Klabnikzzak
[ruby-core:56705] [Bug #8798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-19* lib/rss/xmlparser.rb: [DOC] Hide legacy constant from rdoczzak
Patch by Steve Klabnik [ruby-core:56708] [Bug #8799] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42630 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* 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-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* 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* 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-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* lib/rexml/parsers/baseparser.rbkou
(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
2013-08-10* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser):kou
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
2013-08-10* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser):kou
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
2013-08-10* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::SYSTEM):kou
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
2013-08-10* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::PUBLIC):kou
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
2013-08-09* lib/rss/trackback.rb: [DOC] Hide RSS::Trackback from rdoczzak
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
2013-08-09* lib/rss/rexmlparser.rb: Remove needless REXML version check.kou
Both RSS Parser and REXML are bundled in Ruby. RSS Parser can always use the latest REXML. [Bug #8754] [ruby-core:56454] Patch by Steve Klabnik. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-08range.c: revert r42400nobu
* range.c (range_last): revert r42400. [Bug #8739] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-07* lib/webrick/httpresponse.rb: Allow #body to be an IO-like objectdrbrain
that responds to #readpartial and #read. [ruby-trunk - Feature #8155] * NEWS: NEWS for above * test/webrick/test_httpresponse.rb: Tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-06* lib/rss/utils.rb: [DOC] RSS::Utils by Steve Klabnik [Bug #8745]zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-06* lib/rss/1.0.rb: [DOC] Document RSS110 by Steve Klabnik [Bug #8740]zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-06net/http/header.rb: remove a hacknobu
* lib/net/http/header.rb (Net::HTTPHeader#set_range): remove a hack for the bug fixed at [Bug #8739]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-05* lib/rss/0.9.rb: [DOC] Typo in example [Bug #8732]zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-05* lib/rss/2.0.rb: [DOC] Document RSS::Rss by Steve Klabnik #8740zzak
* lib/rss/atom.rb: [DOC] Typo in rdoc by Steve Klabnik git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-04* lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-04* lib/rexml/attribute.rb: [DOC] Update example for #namespacezzak
Patch by Ippei Obayashi [Bug #8685] [ruby-core:56173] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-31options.rb: include root for out-place buildnobu
* lib/rdoc/options.rb (RDoc#finish): include root path in include paths, to work in another directory than the source directory. [ruby-core:56282] [Bug #8712] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-31* lib/uri/common.rb (URI.decode_www_form_component): Use String#b.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-31* lib/uri/common.rb (URI.decode_www_form_component):sorah
Don't raise error when str includes multibyte characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-31* lib/set.rb: [DOC] Add a couple of notes on Hash as storage.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-31* lib/set.rb: [DOC] Fix example result. Hash is now ordered.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-31Use the term "sorted" instead "ordered" when mentioning SortSet.knu
* lib/set.rb: [DOC] Use the term "sorted" instead "ordered" when mentioning SortSet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-31* lib/rubygems.rb: [DOC] typo in url patch by @Red54 [Fixes #369]zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-30* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-30* lib/rubygems: Import RubyGems from master as of commit 523551cdrbrain
* test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e