summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * string.c (rb_str_sub_bang): calling rb_str_modify() should be justusa2007-01-301-0/+6
| | | | | | | | before actually modifying the string. fixed: [ruby-dev:30211] (originally reported by zunda) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_pred): add Integer#pred correspondingmatz2007-01-301-0/+5
| | | | | | Integer#succ. [RCR#5] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: autoconf 2.61 support. [ruby-core:10016]nobu2007-01-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile.rb: replace YARVCore by VM class.matz2007-01-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE.locale=, WIN32OLE.locale,suke2007-01-291-0/+11
| | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@11588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/parse.rb: replace YARVCore by VM class.matz2007-01-291-0/+5
| | | | | | http://d.hatena.ne.jp/ysano2005/20070128 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: refactoring.suke2007-01-271-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_val2olevariantdata): bug fix. suke2007-01-271-0/+8
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@11581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bug fix of WIN32OLE_VARIANT when variant type is VT_BYREF|VT_VARIANT.suke2007-01-261-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,__conv_keyonly_optkeys): nagai2007-01-261-0/+15
| | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@11577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_init_copy): need to copy internalmatz2007-01-251-0/+5
| | | | | | structure on clone and dup. [ruby-dev:30192] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb: removed a needless workaround.kou2007-01-241-0/+4
| | | | | | | approved by ko1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fixmatz2007-01-241-0/+5
| | | | | | regexp font-lock bug. [ruby-talk:235758] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): use == insteadmatz2007-01-231-0/+5
| | | | | | of ===. [ruby-dev:30176] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,usa2007-01-231-0/+5
| | | | | | | setup.mak}: add --with-baseruby configure option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: fix errors in socket sample code.matz2007-01-221-0/+5
| | | | | | [ruby-core:09992] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_proc.c (method_receiver): add new method to get the boundmatz2007-01-201-0/+11
| | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@11551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* WIN32OLE.codepage= accepts installed codepage.suke2007-01-201-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify WIN32OLERuntimeError message.suke2007-01-201-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE_VARIANT::Empty, WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.suke2007-01-191-1/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* IN32OLE_VARIANT.new accepts nil as first argument for some VARIANT TYPE. fix ↵suke2007-01-181-0/+10
| | | | | | memory leak. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * some refactoring around yarvcore and proc.ko12007-01-171-0/+30
| | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@11541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (eval_search_super_klass): rename to search_super_klass() andko12007-01-161-0/+7
| | | | | | | | | use it by th_call_super(). * insns.def: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: fix ruby script path.ko12007-01-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (invoke_block): fix to specify self.ko12007-01-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * env.h: removedko12007-01-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_proc.c (rb_proc_new): added.ko12007-01-161-0/+11
| | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@11536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix memory leak of win32ole.suke2007-01-131-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_replace): use ptr and len of orig instead ofnobu2007-01-091-0/+5
| | | | | | | shared. fixed: [ruby-dev:30116] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r11523@ruby: shyouhei | 2007-01-09 15:57:58 +0900shyouhei2007-01-091-3/+5
| | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@11521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file): should not call fpath_check() with NULL.usa2007-01-091-0/+5
| | | | | | | fixed: [ruby-core:09867] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): use RSTRING_LEN().matz2007-01-081-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): String#upto from empty string makesmatz2007-01-081-0/+5
| | | | | | inifinite loop. [ruby-core:09864] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_stop_timer_thread(), rb_thread_reset_timer_thread(),ko12007-01-071-0/+15
| | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@11509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: add a "compare" rule and fix MATZRUBY variableko12007-01-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add some test. update comment for rdoc.suke2007-01-071-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge RDoc updates from matzruby 11502, 11503, 11504drbrain2007-01-071-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 4.0.1.tadf2007-01-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline_fast, rb_io_getline): increase linenonobu2007-01-061-130/+138
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@11498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (send) : fix to optimize send() with Symbol.ko12007-01-061-0/+6
| | | | | | | * yarvtest/test_method.rb : add another test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk : add PHONY dependency to some rulesko12007-01-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_read): fix wrong replacement. [ruby-dev:30070]matz2007-01-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def : support direct method dispatch with "send" or "funcall".ko12007-01-061-0/+19
| | | | | | | | | | | | | | | | This means that "obj.send :m" skips "BasicObject#send" invocation (method frame creation, etc) and "obj.m" invokes directly. If you make backtrace, there are no enties of "send" method. * compile.c (iseq_specialized_instruction) : fix to support above * eval.c : ditto (remove "static" from rb_f_send and rb_f_funcall * yarvcore.c : ditto (add a external IDs for compiler) * yarvcore.h : ditto (add a VM_CALL_SEND_BIT macro) * yarvtest/test_method.rb : add tests for above changes * eval.c : remove unused "Kernel#send" declaration git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_EMPTY.suke2007-01-051-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/run.rb : change option formatko12007-01-051-0/+6
| | | | | | | * common.mk : ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/bm_app_pentomino.rb : use Array#dup instead ofko12007-01-051-0/+21
| | | | | | | | | | | | | | | | | Array#clone * benchmark/bmx_temp.rb : removed * benchmark/run.rb : use run.rb instead of run_rite.rb * common.mk : ditto * benchmark/run_rite.rb : removed * common.mk : use $(srcdir)/test.rb to run a test program with "make run" * benchmark/bmx_temp.rb : removed and set svn:ignore (bmx_*.rb) to benchmark/ * test.rb : set svn:ignore git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvtest/yarvtest.rb : fix to compare resultsko12007-01-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, compile.h : add ADD_CALL_RECEIVER() macro.ko12007-01-051-0/+13
| | | | | | | | | | | | * insns.def (send) : use GET_SELF() direct if FCALL. * eval.c (rb_f_send) : check method dispatch type to permit nvoking private method when dispatch type is FCALL/VCALL * insns.def (opt_ltlt) : remove useless statement. * vm.h : remove unused macros. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/run_rite.rb : fix to use readlines instead ofko12007-01-051-0/+5
| | | | | | | read(...).lines (because 1.8 doesn't have String#lines). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.ci (rb_thread_reset_timer_thread) :ko12007-01-051-0/+5
| | | | | | | | added ([ruby-dev:30086]). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e