aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
Commit message (Collapse)AuthorAgeFilesLines
* * lib/benchmark.rb (Benchmark::Job::item): avoid modifying thenobu2007-05-311-3/+3
| | | | | | | argument unintentionally. [ruby-talk:253676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (open_args, arg_ambiguous, parser_warning): should not usenobu2007-05-291-3/+3
| | | | | | | rb_warning in the parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir, rb_w32_readdir): eliminate magicnobu2007-05-291-3/+3
| | | | | | | numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail.ko12007-05-271-3/+3
| | | | | | | | | | | | | Fiber is known as "Micro Thread", "Coroutine", and other terms. At this time, only Fiber#pass is supported to change context. I want to know more suitable method name/API for Fiber (... do you know more suitable class name instead of Fiber?) as "suspend/resume", "call", "yield", "start/kick/stop/restart", .... * eval.c, eval_intern.h, thread.c, yarvcore.c, yarvcore.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12385 ↵nobu2007-05-251-3/+3
| | | | b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regint.h (include): on some platform, defines.h redefinesusa2007-05-251-3/+3
| | | | | | | | | | | SIZE_OF_LONG_LONG so souldn't re-include config.h after included defines.h. * regint.h (vsnprintf): ruby on windows already have vsnprintf macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: support callcc which everyone love.ko12007-05-231-3/+3
| | | | | | | | | | | | incomplete. please give me bug reports. * common.mk, inits.c, thread.c: ditto. * yarvcore.c: export thread_mark(). * yarvcore.h: disable value cache option. * eval_intern.h: set th_get_ruby_level_cfp to inline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear defaultnobu2007-05-221-3/+3
| | | | | | | | load path to get rid of load pre-installed extensions/libraries. [ruby-core:11017] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_arg0): support RSTRING_LEN on HP-UX. a patch frommatz2007-05-221-3/+3
| | | | | | WATANABE Tetsuya <Tetsuya.WATANABE AT nifty.com>. [ruby-dev:30806] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, vm_macro.def: support tail call optimizationko12007-05-211-3/+3
| | | | | | | | | | | | | (on default, this feature is not enabled). * iseq.c, compile.c, vm_opts.h: add "tailcall_optimization" option. * sample/test.rb (test_ok): fix to adjust tailcall stack layout. * insns.def, vm.c, compile.c, yarvcore.c, yarvcore.h: add opt_gt, opt_le instructions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (Init_File): method definition mismatch.nobu2007-05-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (DllMain, ruby_init_loadpath): use DLL instance handle givennobu2007-05-181-3/+3
| | | | | | | | to DllMain instead of VirtualQuery so that loadpath becomes relative from the DLL on WinCE too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.c (ruby_debug_node): fix to show node line.ko12007-05-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_stdhandle): stderr should be without buffering,usa2007-05-151-3/+3
| | | | | | | | but mswin32 use buffering when stderr is not connected to tty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_choice): should return nil when the array ismatz2007-05-131-3/+3
| | | | | | empty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-05-12eban2007-05-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_data_to_ary): internal IDs must not be exposed.nobu2007-05-111-3/+3
| | | | | | | | | | [ruby-core:11073] * parse.y (internal_id_gen): now returns scope local ID instead of global one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_priority): rdoc fix; the initial value isnobu2007-05-101-3/+3
| | | | | | | inherited from the creating thread. [ruby-core:10607] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-05-09nobu2007-05-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-05-08usa2007-05-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/image.rb, test/rss/test_image.rb: fixed Image modulekou2007-05-071-3/+3
| | | | | | | namespace URI. reported by Dmitry Borodaenko. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-05-06eban2007-05-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Format::Bag#method_missing): get rid ofnobu2007-05-051-3/+3
| | | | | | | modifying orginal argument. [ruby-core:11090] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: copied rdocs from fastthread.nobu2007-05-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): improvement by calculating from MSB and usingnobu2007-05-011-3/+3
| | | | | | | factorization. <http://yowaken.dip.jp/tdiary/20070426.html#p01> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_choice): a new method to choose an elementmatz2007-05-011-0/+2
| | | | | | randomly from an array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h, compile.c (set_arguments): support post arguments.ko12007-05-011-4/+4
| | | | | | | | | | | | * test/ruby/test_method.rb: add tests for above. * test/ruby/test_proc.rb: ditto. * proc.c: fix an arity bug ([ruby-core:11029]). * vm.c, vm.h, insns.def, vm_dump.h: fix bmethod process. * vm.c: support block argument on block parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: support multiple splat (e.g, [a, *b, *c, e, *f]).ko12007-04-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el: new file. C/C++ style for ruby source code.nobu2007-04-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (alloc_event_fook, rb_thread_remove_event_hook): shouldnobu2007-04-251-3/+3
| | | | | | | return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (do_stat, do_lstat, do_opendir): should not warn ENOTDIR.nobu2007-04-241-3/+3
| | | | | | | [ruby-talk:248288] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag): not to append RPATHFLAG to currentnobu2007-04-231-3/+3
| | | | | | | | | | | | directory. * lib/mkmf.rb (init_mkmf): add current directory to default library path with highest priority. [ruby-core:10960] * lib/mkmf.rb (LINK_SO): LIBPATH to be placed before DLDFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): re-send signal. [ruby-dev:30516]nobu2007-04-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval_error.h (error_handle): no message when exiting by signal. * intern.h (rb_thread_signal_raise, ruby_default_signal): prototypes. * signal.c (esignal_init): takes a signal number and an optional signal name. * signal.c (interrupt_init): pass SIGINT always. * signal.c (ruby_default_signal): invoke system default signal handler. * signal.c (rb_f_kill): use NUM2PIDT instead of NUM2INT. * signal.c (rb_signal_exec, trap): handle SIGTERM. [ruby-dev:30505] * thread.c (rb_thread_signal_raise): now takes signal number instead of signal name. * thread.c (rb_thread_signal_exit): since rb_make_exception() calls #exception method, rb_class_new_instance() is not needed here. * yarvcore.h (struct rb_vm_struct), eval_jump.h (terminate_process): exit_code is no longer stored in VM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: fix to override conv proc.ko12007-04-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LDFLAGS): prepend -L. instead appending it tonobu2007-04-171-3/+3
| | | | | | | XLDFLAGS. [ruby-core:10933] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_arg): should allow to specify 24:00.matz2007-04-161-3/+3
| | | | | | [ruby-core:10915] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): check node->nd_state == 1, not !0.ko12007-04-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[ch] (rb_w32_enter_critical, rb_w32_leave_critical): nousa2007-04-111-3/+3
| | | | | | | | | | | | need to reject reentrance. removed. * rubysig.h (RUBY_CRITICAL): follow above changes. * rubysig.h (TRAP_BEG, TRAP_END): no need to save errno. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.ci (native_thread_create): initialize sleep_cond.usa2007-04-101-3/+3
| | | | | | | | fixed: [ruby-dev:30675] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): use ubf_select() as UBF on windows.usa2007-04-091-3/+3
| | | | | | | | | * win32/win32.c (do_select): shouldn't call catch_interrupt() here. fixed: [ruby-dev:30674], reported by wanabe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (defined_expr): test arguments of NODE_CALL and sonobu2007-04-081-3/+3
| | | | | | | on as well as NODE_ATTRASGN. [ruby-core:10886] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-04-06usa2007-04-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_notimplement), io.c (pipe_open): removed definitenobu2007-04-041-3/+3
| | | | | | | articles and UNIX manual section from messages. [ruby-dev:30690] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): raise NotImplementedError for command "-" onnobu2007-04-041-3/+3
| | | | | | | platforms where fork(2) is not available. [ruby-dev:30681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-04-03usa2007-04-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (throw), thread.c, yarvcore.h (throwed_errinfo): fixednobu2007-04-021-4/+4
| | | | | | | typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-03-30eban2007-03-291-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,usa2007-03-231-3/+3
| | | | | | | | | | | | | rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64, rb_w32_get_environ): use strlcpy() and strlcat(). * win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc(). * win32/win32.c (rb_w32_closedir): check NULL before free pointers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-03-22usa2007-03-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big2str0): round up for the most significant digit.nobu2007-03-211-3/+3
| | | | | | | [ruby-core:10686] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e