summaryrefslogtreecommitdiffstats
path: root/version.h
Commit message (Collapse)AuthorAgeFilesLines
* * test/ruby/test_regexp.rb: add tests.mame2008-05-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c: add workarround for Unicode to CP932.naruse2008-05-281-3/+3
| | | | | | | U+2015->0x815C, U+2225->0x8161, U+FF0D->0x817C, U+FF3C->0x815F, U+FF5E->0x8160, U+FFE0->0x8191, U+FFE1->0x8192, U+FFE2->0x81CA git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (BUFCHECK): wrong condition. [ruby-core:16921]usa2008-05-271-3/+3
| | | | | | | | * 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
* * hash.c (env_each_value): Do not call env_values() twice.knu2008-05-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.c: renamed from vm_method.c. "vm_method.c" is includedko12008-05-241-3/+3
| | | | | | | | | | | | | | | 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
* * transcode.c (rb_str_transcode): argc is 1, and argv is &to.naruse2008-05-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h,ko12008-05-221-3/+3
| | | | | | | | 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
* * insns.def, vm_insnhelper.c: specify "const".ko12008-05-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c, include/ruby/encodng.h (rb_str_transcode):naruse2008-05-201-3/+3
| | | | | | | | | | C API of encoding conversion for Ruby object. VALUE rb_str_transcode(VALUE str, VALUE to). * transcode.c (str_encode, str_encode_bang): rename from rb_tr_transcode or rb_str_transcode_bang. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assignable_gen): when "self = 1" was evalueted, unnecessarymame2008-05-191-3/+3
| | | | | | | error message was output, which might cause null pointer access. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: fix strange change by version.h update tool.ko12008-05-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling.ko12008-05-191-4/+4
| | | | | | | | | | | | | | VM value stack frame of block contains cref information. (dfp[-1] points CREF) * compile.c, eval_intern.h, eval_method.c, load.c, proc.c, vm_dump.h, vm_core.h: ditto. * include/ruby/ruby.h, gc.c: remove T_VALUES because of above changes. * bootstraptest/test_eval.rb, test_knownbug.rb: move solved test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): check errno to detect error of ruby_strtoul.mame2008-05-171-3/+3
| | | | | | | | | * pack.c (pack_unpack): ditto. * test/ruby/test_pack.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sort_bang): stop memory leak. [ruby-dev:34726]matz2008-05-161-3/+3
| | | | | | | | | | | | | | * re.c (rb_reg_search): need to free allocated buffer in re_register. * regexec.c (onig_region_new): more pedantic malloc check. * regexec.c (onig_region_resize): ditto. * regexec.c (STATE_CHECK_BUFF_INIT): ditto. * regexec.c (onig_region_copy): use onig_region_resize. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (to_flo): rb_Float() accepts even strings for input.matz2008-05-161-3/+3
| | | | | | | | | | | * complex.c (nucomp_to_f): fix wrong message. * complex.c (nucomp_to_r): ditto. * object.c (rb_Float): do not check NaN for error. NaN is a part of valid float values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): support for alternative data streamnobu2008-05-151-3/+3
| | | | | | | | | | | and ignored trailing garbages of NTFS. * file.c (rb_file_s_basename): ditto. * file.c (rb_file_s_extname): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.c (rb_add_method): fix check for warning whenmame2008-05-131-3/+3
| | | | | | | Object#initialize is redefined. (same as 1.8) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cat): fixed buffer overrun reported bymatz2008-05-131-3/+3
| | | | | | Christopher Thompson <cthompson at nexopia.com> in [ruby-core:16746] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (load_full_rubygems_library, const_missing): preventnobu2008-05-121-3/+3
| | | | | | | infinite recursion. [ruby-dev:34539] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): should check src size, not str size.matz2008-05-101-3/+3
| | | | | | [ruby-dev:34637] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): zero length record separator shouldmatz2008-05-101-3/+3
| | | | | | | | split a string into paragraphs. [ruby-dev:34586] * string.c (rb_str_each_line): RDoc updated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): operator assignment "a += b rescue c" should bematz2008-05-081-3/+3
| | | | | | | parsed as "a += (b rescue c)" just like normal assignment. [ruby-talk:301000] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): should squeeze properly. [ruby-dev:34587]matz2008-05-071-3/+3
| | | | | | | | | | | | | * string.c (tr_trans): had a bug in treating multi-byte character replacement. * string.c (rb_str_delete_bang): need not to do anything for empty strings. * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_delete): add test for empty receiver. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzreader_gets): may cause infinite loop.matz2008-05-061-3/+3
| | | | | | [ruby-reference-manual:762] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): should call compile_cpath() formatz2008-05-051-3/+3
| | | | | | | | modules as well. [ruby-dev:34585] * insns.def (defineclass): add undef handling. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_cpath): use Qundef to denote cbase lookup.matz2008-05-051-3/+3
| | | | | | | | | | | * insns.def (defineclass): Qudef is passed for cbase. * insns.def (setconstant): ditto. * vm_insnhelper.c (vm_check_if_namespace): use rb_inspect() instead of rb_obj_as_string() for better description. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): remove MatchData#select. [ruby-dev:34563]matz2008-05-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-05-01usa2008-05-011-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-04-30usa2008-04-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (method_name): should return symbols instead of strings.matz2008-04-281-3/+3
| | | | | | [ruby-dev:34531] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_set_argv): ARGV should be locale encoding.naruse2008-04-261-3/+3
| | | | | | [ruby-list:44861] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-04-26usa2008-04-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-04-25usa2008-04-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): set safe_level before loading script.matz2008-04-241-1/+1
| | | | | | [ruby-dev:34421] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_settracefunc.rb: add a test for set_trace_func.mame2008-04-231-3/+3
| | | | | | | | | | | | * test/ruby/envutil.rb: move "rubyexec" method from test_rubyoptions.rb. * test/ruby/test_rubyoptions.rb: use rubyexec in envutil.rb. * test/ruby/test_thread.rb: add tests to achieve over 90% test coverage of thread.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): Improve tests of ↵kazu2008-04-221-4/+4
| | | | | | Symbol#to_proc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (eaccess): workaround for recent msvcrt's behavior.usa2008-04-221-3/+3
| | | | | | | | [ruby-core:16460] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_xmalloc): use size_t for malloc argument instead of long.usa2008-04-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix for splat in when and rescue.nobu2008-04-201-3/+3
| | | | | | | | a patch from wanabe <s.wanabe AT gmail.com> in [ruby-dev:34429]. [ruby-core:14537] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-04-18usa2008-04-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_rlimit_nofile): reset RLIMIT_NOFILEmame2008-04-161-3/+3
| | | | | | | | | before exit (for gcov). * test/ruby/test_rubyoptions.rb: new tests for option of ruby interpreter, to achieve over 95% test coverage of ruby.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): dln_find_file returns the pointer to anobu2008-04-151-3/+3
| | | | | | | static buffer, so should copy it. [ruby-dev:34409] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_search): make search reentrant. [ruby-dev:34223]matz2008-04-141-3/+3
| | | | | | | * test/ruby/test_parse.rb (TestParse::test_global_variable): should preserve $& variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_parse.rb: add tests to achieve over 95% test coveragemame2008-04-131-3/+3
| | | | | | | of parse.y. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (lock_func): should not check interrupts innobu2008-04-131-3/+3
| | | | | | | blocking region. [ruby-dev:34378] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_basename, rb_file_s_dirname, rb_file_s_extname):nobu2008-04-111-3/+3
| | | | | | | copy encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): add volatile to avoid potential GC bug. amatz2008-04-101-3/+3
| | | | | | | patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp> in [ruby-dev:34311]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_sleep): sleep_cond is initialized atnobu2008-04-101-3/+3
| | | | | | | creation. [ruby-Patches-19361]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_thread.rb: new tests from Sylvain Joyeux innobu2008-04-091-3/+3
| | | | | | | [ruby-Patches-19361]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_provided): check expanded path for relative pathnobu2008-04-071-3/+3
| | | | | | | | | | features, loading or loaded features are already expanded in 1.9. * variable.c (rb_autoload_load): no needs to check if provided before rb_require_safe. [ruby-dev:34266] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e