summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
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-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* 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-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-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
2007-01-25* enumerator.c (enumerator_init_copy): need to copy internalmatz
structure on clone and dup. [ruby-dev:30192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-24* test/ruby/test_iterator.rb: removed a needless workaround.kou
approved by ko1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-24* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fixmatz
regexp font-lock bug. [ruby-talk:235758] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-23* lib/cgi.rb (CGI::QueryExtension::read_multipart): use == insteadmatz
of ===. [ruby-dev:30176] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-23* Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,usa
setup.mak}: add --with-baseruby configure option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-22* ext/socket/socket.c: fix errors in socket sample code.matz
[ruby-core:09992] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-20* eval_proc.c (method_receiver): add new method to get the boundmatz
receiver of the method object. [ruby-talk:234949] * eval_proc.c (method_name): new method to get the name of a method. * eval_proc.c (method_owner): a new method to get the class or module that defines the method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-20WIN32OLE.codepage= accepts installed codepage.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-20modify WIN32OLERuntimeError message.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-19add WIN32OLE_VARIANT::Empty, WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-18IN32OLE_VARIANT.new accepts nil as first argument for some VARIANT TYPE. fix ↵suke
memory leak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-17* some refactoring around yarvcore and proc.ko1
* eval_proc.c: renamed to proc.c. * common.mk: ditto. * yarvcore.h, yarvcore.c: rename or remove some global variables removed: mYarvCore, mYarvInsns renamed: cYarvISeq -> rb_cISeq, cYarvProc -> rb_cProc, cYarvBinding -> rb_cBinding ::YarvCore module is removed and ::YarvCore::VM class becomes ::VM. And change/remove some functions which added with YARV. * compile.c: ditto. * eval.c: ditto. * iseq.c: ditto. * vm.c: ditto. * inits.c: rename Init_yarvcore to Init_vm. * yarvcore.c, proc.c: move some functions and initialization from yarvcore.c to proc.c. * intern.h, proc.c: add global function rb_binding_new(void). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-16* vm.c (eval_search_super_klass): rename to search_super_klass() andko1
use it by th_call_super(). * insns.def: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-16* common.mk: fix ruby script path.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-16* vm.c (invoke_block): fix to specify self.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-16* env.h: removedko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-16* eval_proc.c (rb_proc_new): added.ko1
* string.c (sym_to_proc): supported. * vm.c (invoke_block, th_invoke_yield, th_invoke_proc): fix to support rb_proc_new. * yarvcore.c: add a test code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-13fix memory leak of win32ole.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-09* array.c (rb_ary_replace): use ptr and len of orig instead ofnobu
shared. fixed: [ruby-dev:30116] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-09 r11523@ruby: shyouhei | 2007-01-09 15:57:58 +0900shyouhei
* ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly convert uid/gid from VALUE. * ext/etc/etc.c (etc_getpwuid): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-09* file.c (rb_find_file): should not call fpath_check() with NULL.usa
fixed: [ruby-core:09867] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-08* string.c (rb_str_upto): use RSTRING_LEN().matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-08* string.c (rb_str_upto): String#upto from empty string makesmatz
inifinite loop. [ruby-core:09864] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07* thread.c (rb_thread_stop_timer_thread(), rb_thread_reset_timer_thread(),ko1
rb_thread_start_timer_thread()): added. * thread_pthread.ci: add a native_thread_join() and move rb_thread_reset_timer_thread() definition to thread.c. * thread_win32.ci: ditto * process.c: fix before_exec(), after_exec() to stop timer thread (and restart timer thread if exec failed). and fix to reset timer thread information when forked child process starts (to fix [ruby-core:09822]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07* common.mk: add a "compare" rule and fix MATZRUBY variableko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07add some test. update comment for rdoc.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07Merge RDoc updates from matzruby 11502, 11503, 11504drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07updated based on date2 4.0.1.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-06* io.c (rb_io_getline_fast, rb_io_getline): increase linenonobu
when met the delimiter or EOF. fixed: [ruby-dev:30081] * io.c (prepare_getline_args, rb_io_getline_1): split preparation of arguments and reading. [ruby-dev:30085] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-06* insns.def (send) : fix to optimize send() with Symbol.ko1
* yarvtest/test_method.rb : add another test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-06* common.mk : add PHONY dependency to some rulesko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-06* io.c (argf_read): fix wrong replacement. [ruby-dev:30070]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e