summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/stringio/stringio.c (strio_each_byte): Return self insteadknu2008-05-271-0/+5
| | | | | | | of nil as the rdoc says. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_to_a): Pass arguments through to #each().knu2008-05-271-0/+6
| | | | | | | | (enum_sort): Follow the enum_to_a signature change. (enum_reverse_each): Add #reverse_each(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove garbageknu2008-05-271-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): Define ARGF.{lines,bytes,chars}.knu2008-05-271-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (BUFCHECK): wrong condition. [ruby-core:16921]usa2008-05-271-0/+6
| | | | | | | | * file.c (file_expand_buf): shouldn't use buflen for length of string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (BUFCHECK): no resize if enough room.nobu2008-05-261-0/+6
| | | | | | | * file.c (file_expand_path): use BUFCHECK. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (struct enumerator, enumerator_init)knu2008-05-261-0/+8
| | | | | | | | | | (enumerator_init_copy, enumerator_each): Eliminate iter. (enumerator_ptr): Do not hardcode the class name. (enumerator_with_index): Delay variable initialization after RETURN_ENUMERATOR(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): add more space for '/'.usa2008-05-261-0/+7
| | | | | | | | | * file.c (file_expand_path): should reset address of p after calling rb_str_resize(). [ruby-dev:34800] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): clear errno at the top of our ownmatz2008-05-261-2/+2
| | | | | | impelementation of strtod(3). [ruby-dev:34834] [ruby-dev:34839] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode): use run-hooks if run-mode-hook ismatz2008-05-261-0/+6
| | | | | | | not available. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:34853]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (ntfs_tail): filename which starts with '.' is valid.usa2008-05-261-0/+6
| | | | | | | | * file.c (file_expand_path): cygwin symlink support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (rb_vm_bugreport): rb_make_backtrace has no arguments.nobu2008-05-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (assert_normal_exit): signal descriptionakr2008-05-251-0/+5
| | | | | | | refined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_each_key, env_each_value, env_reject_bang)knu2008-05-251-0/+5
| | | | | | | (rb_env_clear, env_replace): Omit duplicated secure level check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_each_value): Do not call env_values() twice.knu2008-05-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile): set local_table formame2008-05-251-0/+5
| | | | | | | ISEQ_TYPE_DEFINED_GUARD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_body): remove side effect frommame2008-05-251-0/+5
| | | | | | | VM::InstructionSequence.load. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_modules.rb (remove_json_mixins): change judgmentmame2008-05-241-0/+5
| | | | | | | condition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_modules.rb (test_ancestors, test_included_modules):mame2008-05-241-0/+5
| | | | | | | ignore json mixins. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.c: renamed from vm_method.c. "vm_method.c" is includedko12008-05-241-0/+16
| | | | | | | | | | | | | | | by "vm.c". * vm_eval.c: added. Some codes are moved from "eval.c" * common.mk: fix for above changes. * compile.c: make a vm_eval(0) * eval.c, eval_error.c, eval_intern.h, eval_jump.c, proc.c, vm.c, id.c, id.h, vm_core.h, vm_dump.c, vm_evalbody.c, vm_insnhelper.c, blockinlining.c: fix for above changes. and do some refactoring. this changes improve rb_yield() performance. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_equal): == operator should be transitional. matz2008-05-241-0/+8
| | | | | | | | | [ruby-dev:34808] * error.c (syserr_eqq): === should be able to handle delegated objects as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): should clear errno before callingmatz2008-05-241-0/+5
| | | | | | strtod(3). [ruby-dev:34834] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_exception_table, NODE_WHILE, NODE_NEXT): removemame2008-05-241-0/+7
| | | | | | | | | special handling that decrements sp in CATCH_TYPE_NEXT for NODE_WHILE. * vm.c (vm_eval_body), vm_insnhelper.c (vm_throw): remove unused code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_str_transcode): argc is 1, and argv is &to.naruse2008-05-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a ML ref.akr2008-05-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_slice_bang): Be consistent with Array#slice()knu2008-05-231-0/+7
| | | | | | | | | and String#slice!(). Just return nil when a negative length or out of boundary index is given instead of raising an exception via internal functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (Init_Enumerator): Overrideknu2008-05-231-0/+5
| | | | | | | Enumerable::Enumerator#each_with_index with #with_index. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_num_t): moved form vm.h.nobu2008-05-231-0/+8
| | | | | | | | | * tool/instruction.rb (RubyVM::Instruction#sp_increase_c_expr), tool/instruction.rb (RubyVM::VmBodyGenerator#make_header_operands): omit unused variables. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (rb_iseq_compile_with_option): get rid of segv.nobu2008-05-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* trivial change.kazu2008-05-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_gt|ge|lt|le): use values directly to compare.ko12008-05-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h,ko12008-05-221-0/+5
| | | | | | | | vm.c, vm_core.h, vm_insnhelper.c: remove pointless "const". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (get_destination_insn, get_next_insn, get_prev_insn):mame2008-05-221-0/+5
| | | | | | | peephole optimization should not ignore ISEQ_ELEMENT_ADJUST. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (check_dump_arg, check_load_arg): check if reentered.nobu2008-05-221-0/+5
| | | | | | | [ruby-dev:34802] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_load, iseq_data_to_ary): supportmame2008-05-221-0/+5
| | | | | | | ISEQ_TYPE_DEFINED_GUARD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (sdr, nsdr): define methods only if VMDEBUG is defined.nobu2008-05-221-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_get_ruby_level_cfp): moved from eval_intern.h.nobu2008-05-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_compact_bang): fix reallocation size.akr2008-05-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h, vm_core.h, include/ruby/intern.h, include/ruby/ruby.h,usa2008-05-221-0/+5
| | | | | | | | vm.c: need to add const to prototypes, of course. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, vm.c, vm_core.h, vm_insnhelper.c: specify "const".ko12008-05-221-0/+6
| | | | | | | | * vm_opts.h: add a OPT_TOKEN_THREADED_CODE macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (newhash): fix a variable definition: "const k".akr2008-05-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (flatten): check if reentered. [ruby-dev:34798]nobu2008-05-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (assert_normal_exit): capture stdout and stderrakr2008-05-221-0/+5
| | | | | | | of the child process. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (flatten): free memo hash table before raising exception.matz2008-05-221-0/+5
| | | | | | [ruby-dev:34789] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (flatten): fix memory leak.nagai2008-05-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (nkf_str_caseeql): added.naruse2008-05-211-0/+6
| | | | | | * ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index): use nkf_str_caseeql. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_dup): should copy safe_level from src procmatz2008-05-211-0/+6
| | | | | | | properly. a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com> git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739]shugo2008-05-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb: new tests for library requiring, tomame2008-05-211-0/+10
| | | | | | | | | | | | achieve over 90% test coverage of dln.c. * test/ruby/test_class.rb: add tests to achieve over 90% test coverage of class.c. * test/ruby/test_module.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def, vm_insnhelper.c: specify "const".ko12008-05-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e