1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

14 commits

Author SHA1 Message Date
matz
c0a8089044 * eval.c (Init_eval): rename #invoke_method and
#invoke_functional_method to __send and __send! respectively.

* eval.c (remove_method): prohibit removing __send and __send!.

* eval.c (rb_undef): prohibit undef'ing  __send and __send!.

* eval.c (rb_eval): prohibit redefining  __send and __send!.

* lib/delegate.rb (Delegator): preserve __send.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 09:40:05 +00:00
matz
6645b92826 * object.c (inspect_obj): unintended space removal.
[ruby-dev:25810]

* eval.c (rb_exec_recursive): should not use NODE in disclosed
  context.  [ruby-dev:25812]

* io.c (rb_f_open): need not to check if to_open value is a
  T_FILE.  [ruby-dev:25812]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-07 02:05:08 +00:00
matz
ce44928d2b * error.c (Init_Exception): remove Exception#to_str. [Ruby2]
* eval.c (error_print): should no call "to_str" anymore use
  "message" method instead.

* io.c (rb_f_open): Kernel#open() calls "to_open" if the first
  argument responds to it. [Ruby2]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:55:09 +00:00
matz
4b41d18b6c * sprintf.c (rb_f_sprintf): preserve original val for
format_integer. [ruby-talk:92975]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 15:26:03 +00:00
matz
c748f7f8ca 031031
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 17:55:51 +00:00
matz
a526e3fe02 * object.c (copy_object): copy finalizers as well if any.
* gc.c (rb_gc_copy_finalizer): new function to copy finalizers.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-04 07:39:32 +00:00
eban
8d6981cfcb .cvsignore: add autom4te*.cache.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 06:44:52 +00:00
knu
69b7b77ceb Let cvs ignore libruby.so.*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-12 12:02:08 +00:00
matz
1f904eed44 * dir.c (glob_helper): replace lstat() by stat() to follow symlink
in the case like 'symlink/*'.

* dir.c (glob_helper): gave warning too much.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-19 03:20:24 +00:00
knu
c7b4e9f262 Ignore configure and rbconfig.rb too.
Don't ignore .cvsignore itself.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-09 17:19:05 +00:00
matz
08ec02b92b changes from personal modifies -- matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-12-28 05:00:47 +00:00
eban
1fc61ca55f mswin32 DLEXT2
O_BINARY


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-16 15:50:49 +00:00
eban
7366756079 escape `/'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-13 17:22:08 +00:00
matz
62e41d3f2e Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1998-01-16 12:19:09 +00:00