aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
Commit message (Collapse)AuthorAgeFilesLines
* * compile.c (compile_massign_opt): fix to skip massign optimizationko12007-08-241-3/+3
| | | | | | | | | with global variables. * bootstraptest/test_massign.rb: add some tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_send_bang): abandon the name funcall for privatematz2007-08-241-3/+3
| | | | | | aware method call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/strtod.c: removed. [ruby-dev:31588]matz2007-08-221-3/+3
| | | | | | * LEGAL: updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: add Fiber#resume and Fiber.yield.ko12007-08-211-3/+3
| | | | | | | | | | | and Fiber::Core class to realize Coroutine. * include/ruby/intern.h: declare rb_fiber_yield(), rb_fiber_resume(), * enumerator.c: use above api. * test/ruby/test_fiber.rb: fix and add tests for above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (next_i): fix to return with Fiber#yield atko12007-08-201-3/+3
| | | | | | | | | | | the end of each block. [ruby-dev:31470] * enumerator.c (enumerator_next_p): call init_next if not initialized. [ruby-dev:31514] * test/ruby/test_enumerator.rb: add tests for Enumerator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (struct rb_thread_struct): removed first_func_arg andnobu2007-08-201-3/+3
| | | | | | | reuse first_args instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_callee_setup_arg): fix to mark enough VM stack.ko12007-08-191-3/+3
| | | | | | | | [ruby-dev:31492] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (frame_func_id): return proper method ID.nobu2007-08-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (throw): insert a RUBY_VM_CHECK_INTS(). [ruby-dev:31361]ko12007-08-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_fiber_m_yield): added. use this functionko12007-08-151-3/+3
| | | | | | | | for Fiber#yield instead of rb_fiber_yield. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_getc): should returnsmatz2007-08-151-3/+3
| | | | | | | | | | | | | | | one-character string. * ext/stringio/stringio.c: remove unnecessary prototypes. * ext/stringio/stringio.c (strio_getbyte): new method. * ext/stringio/stringio.c (strio_readbyte): new method. * ext/stringio/stringio.c (strio_ungetc): should take a string as an input. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: change test order (test -> btest).ko12007-08-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/yasmdata.rb.tmpl: fix type and name.ko12007-08-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_start_func_2): not re-raise to main thread if it isnobu2007-08-101-3/+3
| | | | | | | joining the current thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (internal_id_gen): internal ID must be bigger thannobu2007-08-091-3/+3
| | | | | | | tLAST_TOKEN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_cycle): typo fixed. a patch from Kazuhiromatz2007-08-081-3/+3
| | | | | | NISHIYAMA <zn AT mbf.nifty.com>. [ruby-dev:31362] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (btest-miniruby, test-sample): split the test targetnobu2007-08-081-3/+3
| | | | | | | so that -k option works. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_cycle): new method to cycle enumerable forever.matz2007-08-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (INSNS): not chdir to srcdir.nobu2007-08-061-3/+3
| | | | | | | | * lib/vm/instruction.rb (RubyVM::SourceCodeGenerator): --destdir option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open_v, pipe_open_s): separate array and stringnobu2007-08-041-3/+3
| | | | | | | cases. [ruby-dev:31344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: more verbose message. [ruby-Bugs-12766]nobu2007-08-021-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): should not check positional number asnobu2007-08-021-3/+3
| | | | | | | width. [ruby-core:11838] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * generic.rb (URI::Generic::merge_path): behave as RFC 3986.nobu2007-08-011-4/+4
| | | | | | | [ruby-talk:252052] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_aref): check for Bignum index range.nobu2007-07-301-3/+3
| | | | | | | [ruby-dev:31271] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest.rb (Digest::self.const_missing): avoidmatz2007-07-281-3/+3
| | | | | | infinite recursive const_missing call. [ruby-talk:262193] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (conv_to_posix_path): removed.nobu2007-07-261-3/+3
| | | | | | | | | | | | | * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return VALUE instead of a pointer to static buffer. * ruby.c (push_include_cygwin): fixed buffer overflow. [ruby-dev:31297] * ruby.c (ruby_init_loadpath): not convert built-in paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regint.h (USE_MATCH_RANGE_IS_COMPLETE_RANGE): undef to achieve oldmatz2007-07-231-3/+3
| | | | | | rindex behavior. [ruby-dev:31265] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (value_expr_gen): warn for empty expression ().matz2007-07-231-3/+3
| | | | | | [ruby-dev:31252] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (is_ruby_native_thread): made an int function asnobu2007-07-221-3/+3
| | | | | | | | | | well as version 1.8. * include/ruby/ruby.h (is_ruby_native_thread): moved prototype from intern.h as well as version 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.nobu2007-07-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (get_result_string): check $?.coredump? nobu2007-07-201-3/+3
| | | | | | | | | | first. * bootstraptest/runner.rb (cleanup_coredump, check_coredump): see stackdump file too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_lshift, rb_big_rshift): separated functionsnobu2007-07-191-3/+3
| | | | | | | | | | to get rid of infinite recursion. fixed calculation in edge cases. [ruby-dev:31244] * numeric.c (rb_fix_lshift, rb_fix_rshift): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_succ): Time#succ should return a time object in thematz2007-07-171-3/+3
| | | | | | same timezone mode to the original. [ruby-talk:260256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb (Base64::b64encode): should not specify /o optionmatz2007-07-161-3/+3
| | | | | | for regular expression. [ruby-dev:31221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): removed invariant variable. [ruby-dev:31236]nobu2007-07-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (get2comp): do nothing for empty Bignum. [ruby-dev:31225]nobu2007-07-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_round): should not return false, but self.matz2007-07-131-3/+3
| | | | | | [ruby-dev:31212] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expandnobu2007-07-131-3/+3
| | | | | | | ::CONFIG which is an alias of MAKEFILE_CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (FIX2ULONG): drop sign bit for LLP64 platform.usa2007-07-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.nobu2007-07-101-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-07-09usa2007-07-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_yield_setup_args), vm.c, insns.def:ko12007-07-071-3/+3
| | | | | | | | | | fix to pass nil as block parameter to yielded block. [ruby-dev:31147] * bootstraptest/test_block.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: fix to invoke nil.to_splat on NODE_ARGSCAT.ko12007-07-051-3/+3
| | | | | | | | | [ruby-dev:31138]. * bootstraptest/test_literal.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/st.h, st.c (st_init_table, st_init_table_with_size):nobu2007-07-051-3/+3
| | | | | | | constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_massign): fix massign compilationko12007-07-031-3/+3
| | | | | | | | | (example: a, *v, (*x) = ...). [ruby-dev:31107] * bootstraptest/test_massign.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_save_machine_stack): clear saved_thread.machine_stack*.ko12007-07-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h, compile.c, insnhelper.ci, iseq.c, vm.c:ko12007-07-011-3/+3
| | | | | | | | | | | | rename structure names and field names. * insnhelper.h, insns.def: add GET_CONST_INLINE_CACHE(). * iseq.c: add rb_iseq_build_for_ruby2cext(). * yarvcore.h, vm.h: move declaration of rb_insn_func_t to yarvcore.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.h: rename insn_func_type to rb_insn_func_type.ko12007-06-301-4/+4
| | | | | | | | | | * vm_evalbody.ci: ditt. * insns.def: add opt_call_native_compiled instruction instead of opt_call_native_compiled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): return non-valid token for an invalidnobu2007-06-291-3/+3
| | | | | | | | instance/class variable name. a patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym): return non-null NODE even if yyerror(). based on anobu2007-06-291-3/+3
| | | | | | | patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31085] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e