summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-08* ext/psych/lib/psych.rb (parse_stream, load_stream): if a block istenderlove
given, documents will be yielded to the block as they are parsed. [ruby-core:42404] [Bug #5978] * ext/psych/lib/psych/handlers/document_stream.rb: add a handler that yields documents as they are parsed * test/psych/test_stream.rb: corresponding tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08* enumerator.c (lazy_initialize, enumerable_lazy): no additionalnobu
arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08* enumerator.c: add Enumerable#lazy. based on the patch bynobu
Innokenty Mikhailov at <https://github.com/ruby/ruby/pull/101> [ruby-core:37164] [Feature #4890] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08* enumerator.c (enumerator_each, generator_each): pass arguments tonobu
the block with yielder. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08* 2012-03-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08* array.c (rb_ary_cat): new function to concat objects into array.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08* 2012-03-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08* .gdbinit (rb_numtable_entry): update for recent refactoring ofnobu
st_table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-07* lib/xmlrpc/client.rb (module XMLRPC): fix typo.nagachika
* test/xmlrpc/test_client.rb (test_async_call): add test for XMLRPC::Client#call_async to check above fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-07* error.c (rb_load_fail): should honor encoding.nobu
* load.c (load_failed): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-07* load.c (load_failed): no need to guard fname, it's stored in the exception ↵nobu
to be raised. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-07* ChangeLog: commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-07rb_load_failnobu
* error.c (rb_load_fail): use path as a string, not char*. * internal.h: (rb_load_fail): moved from ruby/intern.h. * ruby.c (load_file_internal): fname cannot be NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-07* test/xmlrpc/data/blog.xml: property.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06updating changelog with ruby-core numbertenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* error.c (rb_loaderror_with_path): Adding the missing file as antenderlove
instance variable to the LoadError exception. * load.c: call rb_loaderror_with_path so that the missing path is added to the exception. * ruby.c: call rb_loaderror rather than raising our own LoadError exception. * include/ruby/intern.h: add declaration for rb_loaderror_with_path. * test/ruby/test_require.rb: add supporting test for LoadError#path method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06use factory method for constructing Net::HTTP objectstenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* lib/xmlrpc/parser.rb: support i8 types. Thanks Stas Kelvich!tenderlove
[ruby-core:29246] [Feature #3090] * test/xmlrpc/test_client.rb: supporting test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* lib/xmlrpc/client.rb: assume servers that do not send a Content-Typetenderlove
header are sending 'text/xml'. Thanks Nathan Leavitt! [ruby-core:41204] [Bug #5660] * test/xmlrpc/test_client.rb: supporting test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* 2012-03-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* test/xmlrpc/test_client.rb: adding a test for performing an XMLRPCtenderlove
call. * test/xmlrpc/data/blog.xml: supporting XML document for the response. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06Fix typo.naruse
reported by Nobuhiro IMAI.$ https://twitter.com/no6v/status/176959588531314688 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06Comment out unused lines.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* parse.y (parser_tokadd_string): escape simple regexp metanobu
character termninators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* string.c (rb_str_aref): Improve rdoc, as per [bug #6106]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOKnobu
bits too. * ext/io/console/console.c (echo_p): ignore ECHOE and ECHOK bits. [ruby-dev:45309] [Bug #6116] * ext/io/console/console.c (console_raw): fix rdoc. * ext/io/console/console.c (console_set_echo): mentioned about platform dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* lib/xmlrpc/client.rb: switch net/http post2 calls to moderntenderlove
`request_post` methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05only run `test_key` on ruby 2.0.0 or uptenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loadedtenderlove
in order to stop method pollution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* parse.y (block_call): rules for block_call after block_call.nobu
based on a patch by pasberth https://github.com/ruby/ruby/pull/102 [ruby-dev:45308][Bug #6115] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* parse.y (block_command, block_call): simplified rules.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* 2012-03-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05assert_valid_syntaxnobu
* test/ruby/test_syntax.rb (assert_valid_syntax): new assertion to validate syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bugnobu
that causes YAML serialization problem for Exception. Exception#initialize doesn't use visible instance variable for the exception message, so call the method with the message. patched by Jingwen Owen Ou <jingweno AT gmail.com>. http://github.com/ruby/ruby/pull/41 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* ext/socket/extconf.rb: fix typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): syntax error.usa
* test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): call uname only on linux because it's a workaround for linux only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05Remove unused variables.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05Fix condition of r34897.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* st.c (unpack_entries): chain entries directly. based on a patchnobu
by Sokolov Yura <funny.falcon AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* st.c (unpack_entries): use union instead of casted pointer.nobu
patched by Sokolov Yura <funny.falcon AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* st.c: use PACKED_ENT and FIND_ENTRY. patched by Sokolovnobu
Yura <funny.falcon AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* st.c (unpack_entries): reallocate bins if packed array sizenobu
is not same as initial bins size. based on a patch by Sokolov Yura <funny.falcon AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* ext/bigdecimal/lib/bigdecimal/math.rb: remove description aboutnaruse
BigMath#log. patched by Sho Hashimoto [ruby-dev:45307] [Bug #6112] * string.c (str_byteslice): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* 2012-03-05svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05Old linux (at least CentOS 5.6, kernel 2.6.18) wakes up 4.99 sec.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-04* parse.y (parser_tokadd_string): regexp engine doesn't neednobu
terminators to be escaped. [ruby-core:40364][Bug #5484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-04* hash.c: remove trailing spaces.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-04* 2012-03-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-04* ChangeLog: fix a typonagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e