summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-27 * win32/win32.c: get rid of STRNDUPA(). It's dangerous API.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 * win32/win32.c (rb_w32_aspawn): get rid of too huge alloca().kosaki
[Bug #4330] [ruby-core:34898] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 * win32/win32.c (rb_w32_spawn): get rid of too huge alloca().kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 * win32/win32.c (open_dir_handle): get rid of too huge alloca().kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 * file.c (w32_io_info): get rid of too huge alloca().kosaki
[Bug #4313] [ruby-core:34830] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 * win32/win32.c (wstati64): get rid of too huge alloca().kosaki
[Bug #4316] [ruby-core:34834] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): fixed previous commit. sorry.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): get rid of too hugeusa
alloca(). this is the real fix of [ruby-core:34833]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27* process.c (ALLOC_ARGV_WITH_STR): fix void pointer arithmetic.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26* process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec)nobu
(proc_spawn_n, proc_spawn): get rid of too huge alloca(). [ruby-core:34827], [ruby-core:34833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26* include/ruby/ruby.h (ALLOCV): new API for exception-safenobu
temporary buffer. [ruby-core:34844] * string.c (rb_alloc_tmp_buffer, rb_free_tmp_buffer): implementation of the API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26* dln_find.c (dln_find_1): use rb_warning and return immediatelynobu
if fname is longer than buffer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26 * class.c (clone_method): add GC guard to prevent intermediatenagachika
variable from GC. [Bug #4321] [ruby-dev:43107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26* template/id.h.tmpl: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26 * vm_eval.c (rb_throw_obj): add GC guard to prevent intermediatenagachika
variable from GC. [Bug #4322] [ruby-dev:43108] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26 * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): OpenSSL::ASN1.decodenahi
should reject indefinite length primitive encodings as that is illegal. Patch by Martin Bosslet. See #4324. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26* 2011-01-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26* string.c (=~): documentation fix; the return value is nil whennaruse
it doesn't match. patched by Andrei Kulakov [ruby-core:34562] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* dln_find.c (dln_find_1): omit too long pathnames.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* string.c (rb_str_resize): get rid of out-of-bound access.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* test/ruby/test_thread.rb: remove unused variables.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* test/ruby/test_thread.rb (TestThread#test_condvar_nolock_2): get rid of ↵kazu
method redefined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24move under correct classkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* string.c (rb_string_value_cstr): rb_str_modify can changenobu
RSTRING_PTR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24 * test/ruby/test_thread.rb: Added various ConditionVariable tests.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* 2011-01-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24 * object.c (rb_str_to_dbl): Fix again. use rb_str_tmp_new()kosaki
instead ALLOC_N. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* vm_insnhelper.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24 * object.c (rb_str_to_dbl): use ALLOC_N instead ALLOCA_N becausekosaki
ALLOC_N may cause stack overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* 2011-01-24svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24* error.c (rb_invalid_str): prevent intermediate variable from GC.nobu
[ruby-core:34820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-23 * test/io/console/test_io_console.rb: Don't run test if the systemkosaki
don't support io/console. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-23 * test/fiddle/test_fiddle.rb: Don't run test if the system don't supportkosaki
fiddle. * test/fiddle/test_function.rb: ditto. * test/fiddle/test_closure.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-23* vm_exec.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-23* template/fake.rb.in (ruby): suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22 * string.c (str_nth_len, str_utf8_nth): return the rest length together.nobu
* string.c (rb_str_substr): get rid of measure the length always to improve performance for huge string. [ruby-core:34648] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22* string.c (str_nth_len, str_utf8_nth): return the rest length together.nobu
* string.c (rb_str_substr): get rid of measure the length always to improve performance for huge string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22reverting r30628 since this seems like a bug in libyamltenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22* 2011-01-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22 * test/test_syslog.rb: Fix to make a lot of test failure ifkosaki
the platform doesn't support syslog. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22* ext/psych/lib/psych/visitors/to_ruby.rb: fixing merge key supporttenderlove
when multiple merge keys are specified. * test/psych/test_merge_keys.rb: tests for multi-merge key support git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22* ext/psych/lib/psych/visitors/to_ruby.rb: merge keys are actuallytenderlove
part of YAML 1.1, so they should be supported. Remove warning and merge keys to parent. [ruby-core:34679] * test/psych/test_merge_keys.rb: test for merge keys git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22* ext/psych/parser.c (parse): fixing off-by-one error on line numberstenderlove
in parse exceptions. [ruby-core:34690] * test/psych/test_parser.rb: test for error git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22fixed a bug in the test suite. Thanks Benoit Daloze! [ruby-core:34641]tenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22* ext/psych/parser.c (parse): add the file name to the exception whentenderlove
parse errors occur. * test/psych/test_parser.rb: test for parse error file name git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22* ext/psych/parser.c (parse): fix assertion error when reusing atenderlove
parser after an exception has been raised * test/psych/test_parser.rb: test for assertion error git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-21* ext/psych/lib/psych/nodes/node.rb: Make Psych::Nodes::Nodetenderlove
enumerable. * ext/psych/lib/psych/visitors/depth_first.rb: Add a depth-first visitor to enumerate over a YAML AST in a depth-first fashion * test/psych/nodes/test_enumerable.rb: test for enumerating nodes * test/psych/visitors/test_depth_first.rb: test for depth-first visitor git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-21* 2011-01-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-21* vm_core.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e