summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-06* compile.c, insns.def: remove (get|set)instancevariable2 and add ako1
operand is_local to (get|set)instancevariable. * yarvtest/test_class.rb: add a test for class local instance variable. * parse.y (rb_decompose_ivar2): remove unused variable oid. * tool/insns2vm.rb: remove needless require. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-06* lib/net/ftp.rb: check the control connection on EPIPE.shugo
Thanks, Simon Williams. [ruby-core:9547] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-06* complement last commit.ko1
* common.mk (*.inc): use VPATH. * vm_opts.h: renamed from vm_opts.h.base. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-06* common.mk (*.inc): use VPATH.nobu
* vm_opts.h: renamed from vm_opts.h.base. * tool/insns2vm.rb: use vm_opts.h in VPATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-05* proc.c: support Binding#eval.ko1
* yarvtest/test_eval.rb: add a test for above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-05* proc.c: refactoring (remove K&R style, move Binding stuffs fromko1
Init_Proc() to Init_Binding()). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-05* intern.h: prepare rb_last_status_get() and rb_last_status_set().ko1
Use these functions instead of rb_last_status ([ruby-dev:30264]). * process.c: define above functions. * ext/pty/pty.c: use above functins. * io.c (pipe_finalize): ditto. * process.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-05* ruby.h: add a prototype of rb_id2str().ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-05* eval_thread.c, common.mk: remove eval_thread.c.ko1
* yarvcore.c: rename cYarvThread to rb_cThread. * gc.c: remove YARV_* prefix. * gc.h: add an include guard and prototype of rb_gc_set_stack_end(). * inits.c: fix to ANSI prototype style and reorder Init_*(). * io.c (pipe_finalize): TODO: comment out last_status. * process.c, yarvcore.h: fix to use yarv_vm_t#last_status instead of rb_last_status and make last_status_get() to access $?. * yarvcore.c (vm_mark): mark yarv_vm_t#last_status. * ruby.h: add declarations of rb_cISeq and rb_cVM. * thread.c: move eval_thread.c codes to thread.c and remove yarv_* function prefix. * thread.c (thread_start_func_2): use yarv_thread_t#first_func if it is not null. * vm.c: fix copyright year. * yarvcore.c (Init_vm): rename to Init_VM(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-04* parse.y (rb_compose_ivar2): function to create a new ivar2matz
symbol from a symbol and a class. back-ported from matzruby. * parse.y (rb_decompose_ivar2): reverse function of rb_compose_ivar2(). * marshal.c (w_symbol): support class local instance variables. * marshal.c (r_object0): ditto. * compile.c (defined_expr): ditto. * compile.c (iseq_compile_each): ditto. * insns.def: add two new instructions: getinstancevariable2 and setinstancevariable2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-04* insns.def (setclassvariable): remove unnecessary operand.matz
* compile.c (iseq_compile_each): ditto. * common.mk (insns_info.inc): add dependency for insns_info.inc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-04* eval.c (rb_frame_callee): check if prev_cfp can be accessible.matz
a patch from Yoshinori Sano <yoshinori.sano at gmail.com> in [ruby-dev:30252]. solves [ruby-dev:30200] and [ruby-core:9856]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-04* test/rss/rss-assertions.rb: removed needless code for backward compatibility.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-03* 2007-02-04eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-03* lib/cgi.rb (CGI::QueryExtension::read_multipart): Remove a debugknu
print. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-03* ext/win32ole/win32ole.c (ole_val2olevariantdata, ole_val2variant):suke
fix the bug of WIN32OLE_VARIANT.new when variant type is VT_ARRAY. * ext/win32ole/sample/excel1.rb: rewrite using WIN32OLE_VARIANT. * test/win32ole/test_win32ole.rb: add some test. * test/win32ole/test_win32ole_variant.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* common.mk (runruby, benchmark, benchmark-each, tbench): usenobu
PROGRAM for the file to be built. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* lib/mkmf.rb (create_makefile): make object files depend onnobu
extconf.h even if depend file exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,nobu
eval_error.h, eval_jump.h, eval_load.c, eval_thread.c, gc.c, insnhelper.h, insns.def, iseq.c, main.c, numeric.c, parse.y, range.c, regenc.h, ruby.h, signal.c, thread.c, thread_win32.ci, vm.c, vm.h, vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h: fixed indents and non-C90 comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* proc.c (yarv_proc_alloc): needs return.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* 2007-02-03eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* *.def, proc.c, vm_opts.h.base, template/*: set properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* common.mk (bin): add more dependency. a patch from Tadashimatz
Saito <shiba at mail2.accsnet.ne.jp>. [ruby-dev:30245] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* ruby.h (SYMBOL_P): make Symbol immediate again for performance. matz
* string.c: redesign symbol methods. * parse.y (rb_id2str): store Strings for operator symbols. [ruby-dev:30235] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* parse.y (assignable_gen): no need to generate NODE_CVDECL.matz
* compile.c (iseq_compile_each): no NODE_CVDECL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* vm.c (eval_get_cvar_base): destination for class variable accessmatz
is now strictly innermost surrounding class or module. warned if accessed from toplevel. * variable.c (rb_cvar_get): new class variable look-up scheme: 1) look up in the class. 2) if the class is singleton attached to a class (i.e. metaclass) then start look up in the attached class and its ancestors. 3) otherwise, look-up in ancestors of the class. * eval.c (cvar_cbase): destination for class variable access is the class/module that holds the method, or cbase outside of methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* insns.def (setclassvariable): remove warn argument.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* variable.c (rb_cvar_set): remove warn argument.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* common.mk (compile.$(OBJEXT)): add config.h to vm.c andmatz
compile.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02* eval.c: remove duplicated global variables rb_cProc andmatz
rb_cBinding. [ruby-dev:30242] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-31* lib/open-uri.rb (OpenURI::OpenURI.open_uri): revert last change to conform ↵matz
RFC3986. [ruby-dev:30230] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-31* test/ruby/test_iterator.rb (TestIterator::test_block_given_within_iterator):matz
add new test. [ruby-core:10125] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-31* lib/open-uri.rb (OpenURI::OpenURI.open_uri): use user andmatz
password from URI unless http_basic_authentication is specified explicitly. [ruby-core:10114] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-31* 2007-01-31eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-31* ext/tk/sample/images/teapot.ppm: fix the broken file. [ruby-dev:30226]nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-30* string.c (rb_str_sub_bang): calling rb_str_modify() should be justusa
before actually modifying the string. fixed: [ruby-dev:30211] (originally reported by zunda) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-30* numeric.c (int_pred): add Integer#pred correspondingmatz
Integer#succ. [RCR#5] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-30* mkconfig.rb: autoconf 2.61 support. [ruby-core:10016]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-29* ext/tk/sample/tktextio.rb: 'hist_size' option causes error.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-29* 2007-01-30eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-29* tool/compile.rb: replace YARVCore by VM class.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-29* ext/win32ole/win32ole.c: add WIN32OLE.locale=, WIN32OLE.locale,suke
WIN32OLE_VARIANT#vartype. * test/win32ole/test_win32ole.rb: add test for WIN32OLE.locale=, WIN32OLE.locale. * test/win32ole/test_win32ole_variant.rb: add test for WIN32OLE_VARIANT#vartype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-29* tool/parse.rb: replace YARVCore by VM class.matz
http://d.hatena.ne.jp/ysano2005/20070128 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-28* 2007-01-28eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-27* ext/win32ole/win32ole.c: refactoring.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-27* ext/win32ole/win32ole.c (ole_val2olevariantdata): bug fix. suke
WIN32OLE_VARIANT.new check that 1st argument should T_ARRAY when variant type is VT_ARRAY. * test/win32ole/test_win32ole_variant.rb: add some test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-26* 2007-01-27eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-26bug fix of WIN32OLE_VARIANT when variant type is VT_BYREF|VT_VARIANT.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-26* ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,__conv_keyonly_optkeys): nagai
make them private [ruby-dev:30074]. * ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073]. * ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument. * ext/tk/lib/tk/canvas.rb: clarify the including module name [ruby-dev:30080]. * ext/tk/lib/tk/scrollable.rb: change primary name of modules [ruby-dev:30080]. * ext/tk/lib/tkextlib/iwidgets/checkbox.rb: wrong number of arguments [ruby-Bugs-7776]. * ext/tk/lib/tkextlib/iwidgets/radiobox.rb: ditto. * ext/tk/lib/tkextlib/blt/tile/checkbutton.rb: change primary name of class [ruby-dev:30080]. * ext/tk/lib/tkextlib/blt/tile/radiobutton.rb: ditto. * ext/tk/ChangeLog.tkextlib: update. * ext/tk/lib/tkextlib/version.rb: update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e