eban
8916851b50
2003-01-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-09 06:53:38 +00:00
eban
d6cba99ea5
2003-01-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-08 08:03:45 +00:00
eban
954826f7a8
2003-01-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-07 04:12:52 +00:00
eban
4de3dfd8d3
2003-01-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06 09:35:51 +00:00
nobu
a287a10df7
2003-01-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05 03:06:51 +00:00
nobu
e56b74195c
2003-01-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-03 14:24:47 +00:00
nobu
3ff112ae07
2003-01-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-02 02:01:38 +00:00
knu
59e61e038a
2003-01-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 19:25:48 +00:00
eban
c2e3d3971b
* parse.y (yylex): do not accept " __END__\n". ([ruby-dev:19245])
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 18:19:08 +00:00
nobu
20d146389c
2002-12-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 07:57:25 +00:00
nobu
6189cefb40
2002-12-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 14:52:02 +00:00
eban
96d8d4862f
2002-12-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 17:00:29 +00:00
eban
564b20a38e
2002-12-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 16:55:14 +00:00
matz
1b07582fcc
* regex.c (re_match_exec): fix odd \G behavior based on the patch
...
from Nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-25 07:44:33 +00:00
matz
ee9d5d41d1
021224
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 08:53:56 +00:00
eban
96d28f71d9
2002-12-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 09:02:16 +00:00
nobu
f506e11e10
2002-12-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19 12:28:09 +00:00
nobu
1b6b119e2c
2002-12-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-17 10:43:52 +00:00
nobu
6b5525de2c
2002-12-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-16 06:56:41 +00:00
nobu
b443525215
2002-12-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-15 06:18:27 +00:00
nobu
1d15fa691a
2002-12-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-13 11:18:32 +00:00
nobu
d307881fe4
2002-12-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-12 07:29:30 +00:00
nobu
0733a70c09
2002-12-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-11 09:55:11 +00:00
nobu
4dcd8a95c7
2002-12-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-10 06:20:56 +00:00
nobu
248d27d4fd
2002-12-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-04 13:25:38 +00:00
nobu
0327c4a3ab
2002-12-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-02 13:22:27 +00:00
nobu
8783c9ffcd
2002-12-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-01 13:49:14 +00:00
knu
06a9732674
2002-11-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27 20:07:48 +00:00
nobu
31a57b49db
2002-11-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-26 23:05:01 +00:00
eban
a1250adef3
* dln.c: devert and add the MAXPATHLEN definition on mswin32/mingw32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-24 16:11:53 +00:00
eban
0dcbeda434
* dln.c: move the MAXPATHLEN definition in front.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-24 12:36:01 +00:00
eban
0c71790377
2002-11-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-22 09:50:02 +00:00
nobu
a1ca199bae
2002-11-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-17 14:02:02 +00:00
nobu
e66faf84ce
2002-11-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-14 13:51:40 +00:00
nobu
e60d556321
2002-11-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-13 08:55:49 +00:00
nobu
56cddaf082
2002-11-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-07 01:03:29 +00:00
knu
c960141333
2002-10-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-01 21:44:47 +00:00
nobu
454abc5185
2002-10-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-29 19:11:29 +00:00
eban
8a49ac945b
2002-10-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27 05:05:02 +00:00
knu
2bda19cc0d
2002-10-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-25 19:33:05 +00:00
nobu
57d2e81af5
2002-10-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-24 12:59:07 +00:00
nobu
087671e87c
2002-10-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-23 10:17:51 +00:00
eban
79c8b98fac
* configure.in (RUBY_CPPOUTFILE): fix cache file bug.
...
* lib/mkmf.rb (link_command): put 'opt' after conftest.c for
static linking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 16:09:09 +00:00
nobu
1a9c133987
2002-10-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 14:09:28 +00:00
nobu
8232622071
* parse.y (value_expr0): allow return/break/next/redo/retry in rhs
...
of logical operator. [ruby-dev:18534]
* parse.y (remove_begin): eliminate useless NODE_BEGIN.
[ruby-dev:18535]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-18 14:13:41 +00:00
eban
55068f94f2
2002-10-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-17 07:30:47 +00:00
nobu
b879196e32
2002-10-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-16 04:43:40 +00:00
nobu
eddaabb165
2002-10-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-12 15:49:57 +00:00
eban
129d05ae8d
* ext/tcltklib/stubs.c (ruby_tcltk_stubs): fix memory leak.
...
[ruby-dev:18478]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-10 08:30:52 +00:00
nobu
ca7549b203
* gc.c (gc_sweep): also adjust heaps_limits when free unused heap
...
page. [ruby-core:00526]
* io.c (io_fflush): condition to retry can occur.
* io.c (io_write): returned 0 wrongly if no error occurred.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-09 06:12:54 +00:00
eban
2ececa4291
2002-10-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-08 06:07:45 +00:00
eban
b06720481e
2002-10-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-07 08:15:57 +00:00
nobu
4e30ebe351
2002-10-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-06 16:27:56 +00:00
eban
5c57848093
* configure.in (RUBY_PROG_GNU_LD): check whether the linker is GNU ld.
...
* ext/extmk.rb (create_makefile): add -Wl,-no-undefined to $DLDFLAGS
on Linux if GNU ld is used and --enable-shared is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-04 05:18:05 +00:00
nobu
4b6dffad02
* bcc32/mkexports.rb: to work on cygwin via telnet.
...
[ruby-win32:358]
* ext/tcltklib/tcltklib.c (ip_invoke): requires command name
argument. [ruby-dev:18438]
* eval.c (ruby_init, ruby_options): Init_stack() with local
location. (ruby-bugs-ja:PR#277)
* eval.c (rb_call0): disable trace call. [ruby-dev:18074]
* eval.c (eval, rb_load): enable trace call. [ruby-dev:18074]
* eval.c (rb_f_require): set source file name for extension
libraries. [ruby-dev:18445]
* ruby.c (translate_char): translate a character in a string;
DOSISH only. [ruby-dev:18274]
* ruby.c (ruby_init_loadpath): added argv[0] handling under
Human68K. [ruby-dev:18274]
* ruby.c (proc_options): translate directory separator in $0 to
'/'. [ruby-dev:18274]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-03 11:20:31 +00:00
nobu
395737b732
2002-10-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-01 15:27:51 +00:00
nobu
7627d0cea7
2002-09-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-30 11:35:40 +00:00
nobu
443ed1783d
2002-09-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-29 13:25:58 +00:00
eban
f5ab4eb859
2002-09-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-28 14:11:30 +00:00
knu
f1d7a7783a
2002-09-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-27 09:56:59 +00:00
matz
4b9a7eac05
* io.c (appendline): forget to terminate with nul.
...
* eval.c (ruby_run): should set toplevel visibility again here.
* eval.c (rb_eval): should not rely on ruby_class == rb_cObject
check. Besides allow implicit publicity for attribute set
methods.
* parse.y (primary): need not to check class_nest, just set
whether method is an attrset or not.
* string.c (rb_str_each_line): p might be at the top of the
string.
* class.c (rb_make_metaclass): class of metaclass should be
metaclass of superclass, unless class itself is a metaclass;
class of metaclass of metaclass should point back to self.
eh, confusing, isn't it.
* class.c (rb_singleton_class): check if its class is singleton
AND attached to self.
* eval.c (rb_eval): should define class/module under ruby_cbase.
* eval.c (rb_eval): should set class/module path based on
ruby_cbase, not ruby_class.
* eval.c (module_setup): use ruby_cbase instead of ruby_class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-25 07:03:05 +00:00
nobu
53178fc7db
* eval.c (rb_call0): must not clear ruby_current_node, or
...
backtrace cannot be genetated.
* intern.h (ruby_yyparse): rather than yyparse().
* parse.y (yylex): nextc() returns -1 at end of input, not 0.
* parse.y (newline_node): reduce deplicated newline node.
* parse.y (literal_concat): get rid of warning.
* parse.y (new_evstr): fixed junk code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-23 15:48:42 +00:00
nobu
1eab34576a
2002-09-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-22 15:34:13 +00:00
nobu
5c6ede680b
* eval.c (rb_thread_raise): no need to save dead thread context.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-21 13:30:00 +00:00
nobu
749dea9e7c
* parse.y (block_append): eliminate unused literal nodes.
...
* parse.y (literal_concat): refined literal concatination.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-20 14:03:45 +00:00
eban
dd8e5a9d31
2002-09-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-17 09:41:36 +00:00
nobu
a28c0eecbb
2002-09-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-13 11:57:59 +00:00
knu
e78e79e10f
2002-09-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11 15:45:43 +00:00
nobu
c0d0125bc7
2002-09-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11 01:25:52 +00:00
nobu
fe06b5a0e9
2002-09-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-10 14:38:27 +00:00
eban
58d69379c1
2002-09-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08 11:08:48 +00:00
eban
9d64fd035a
2002-09-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-07 13:50:27 +00:00
eban
3edb155cd1
2002-09-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-06 05:20:53 +00:00
nobu
5a53593f81
2002-09-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05 04:17:31 +00:00
matz
64901cd69b
* class.c (rb_make_metaclass): obj.meta.super.meta should be equal
...
to obj.meta.meta.super (ruby-bugs-ja:PR#324).
* parse.y (yylex): the warning message "invalid
character syntax" was never issued.
* marshal.c (r_bytes): do not use alloca (ruby-bugs:PR#382).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-04 06:37:39 +00:00
matz
6f484e4930
* variable.c (rb_copy_generic_ivar): remove old generic instance
...
variable table if it existes.
* class.c (rb_make_metaclass): metaclass of a metaclass is a
metaclass itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-03 05:20:14 +00:00
eban
d92e76de64
2002-09-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-02 08:09:13 +00:00
nobu
7dd7d17091
2002-08-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-30 10:48:06 +00:00
eban
3bf972993f
* io.c (read_all): should use off_t instead of long.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-29 04:38:37 +00:00
matz
1a44a463af
* string.c (rb_str_delete_bang): should check if str->ptr is 0.
...
* string.c (rb_str_squeeze_bang): ditto.
* string.c (rb_str_count): ditto.
* string.c (rb_str_lstrip_bang): ditto.
* string.c (rb_str_rstrip_bang): ditto.
* string.c (rb_str_intern): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-28 06:01:58 +00:00
matz
c45908e41f
* file.c (rb_find_file): $LOAD_PATH must not be empty.
...
* file.c (rb_find_file_ext): ditto.
* range.c (range_eq): class check should be based on range.class,
instead of Range to work with Range.dup.
* range.c (range_eql): ditto.
* class.c (rb_mod_dup): need to preserve metaclass and flags.
* object.c (rb_cstr_to_dbl): had a buffer overrun.
* marshal.c (w_class): integrate singleton check into a funciton
to follow DRY principle.
* marshal.c (w_uclass): should check singleton method.
* object.c (rb_obj_dup): dmark and dfree functions must be match
for T_DATA type.
* object.c (rb_obj_dup): class of the duped object must be match
to the class of the original.
* re.c (rb_reg_quote): do not escape \t, \f, \r, \n, for they are
not regular expression metacharacters.
* time.c (time_s_alloc): use time_free instead of free (null check,
also serves for type mark).
* time.c (time_s_at): check dfree function too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-27 08:31:08 +00:00
nobu
87c2982847
2002-08-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-24 14:17:45 +00:00
eban
cb8f50c4b5
2002-08-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-23 09:10:04 +00:00
eban
022d1f123c
2002-08-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-21 08:32:09 +00:00
eban
514aa4d976
2002-08-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-20 10:47:49 +00:00
nobu
3b2209d410
2002-08-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-19 00:38:51 +00:00
nobu
800452957d
2002-08-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-15 22:59:10 +00:00
nobu
92ca6c7773
* eval.c (ruby_current_node) : added to set sourceline on demand.
...
* eval.c (error_pos, error_print, rb_longjmp, assign): set source
file/line.
* eval.c (rb_eval): store current node instead of file/line, and
preserve it at return.
* eval.c (module_setup): ditto.
* eval.c (struct thread): store node instead of file/line.
* eval.c (rb_thread_raise): ditto.
* intern.h (ruby_current_node): added.
* intern.h (ruby_set_current_source): added.
* parse.y (stmt, arg): not fix position of assignment.
* parse.y (node_assign): ditto.
* parse.y (yycompile): clear current node.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-15 11:49:40 +00:00
matz
cf5d04f663
* hash.c (rb_hash_replace): should copy ifnone.
...
* hash.c (rb_hash_dup): should preserve HASH_PROC_DEFAULT and
HASH_DELETED flags.
* hash.c (rb_hash_shift): shift from empty hash should not return
its default proc.
* hash.c (rb_hash_default_proc): new method. [new]
* array.c (rb_ary_aref): no need for Bignum check.
* array.c (rb_ary_aset): explicit Bignum check removd.
* numeric.c (fix_aref): normalize bignum before bit-op.
* bignum.c (rb_big_rand): max may be Bignum zero.
* bignum.c (rb_cstr_to_inum): should normalize bignums, to avoid
returning fixable bignum value.
* bignum.c (rb_uint2big): there should be no zero sized bignum.
* ext/extmk.rb.in: extmake() that works properly for both tkutil
(tk/tkutil.so) and digest/sha1.
* hash.c (rb_hash_equal): should check HASH_PROC_DEFAULT too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-13 09:21:18 +00:00
matz
1f99d95729
* bignum.c (rb_big_cmp): use dbl2big() for Floats, instead of
...
big2dbl().
* bignum.c (Init_Bignum): rb_big_zero_p() removed. There may be
Bignum zero.
* eval.c (rb_call0): new argument added for original method name.
preserve original method name in frame->orig_func.
* eval.c (is_defined): use frame->orig_func, not last_func.
* eval.c (rb_eval): ditto.
* eval.c (method_call): supply data->oid also to rb_call0().
* object.c (rb_class_allocate_instance): call rb_obj_alloc() when
called from alias, thus invoke original "allocate".
* eval.c (remove_method): removing allocate from classes should
cause NameError.
* hash.c (rb_hash_equal): should check default values.
* ext/socket/socket.c (s_recvfrom): update RSTRING len.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-12 07:39:12 +00:00
nobu
91d884b86e
* eval.c (rb_eval): set line number from all nodes.
...
* eval.c (proc_to_s): show source file/line if available.
* marshal.c (r_object): register TYPE_BIGNUM regardless real type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-11 00:36:38 +00:00
usa
fc2a1ad79f
* string.c (rb_str_rindex): must return -1 if unmatched.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-06 06:20:43 +00:00
nobu
a38b04836e
2002-08-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-01 14:00:00 +00:00
matz
2b98e10419
* eval.c (rb_undef): undef should be done for klass, not ruby_class.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-31 05:18:43 +00:00
nobu
c67865a2b7
2002-07-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-30 11:01:52 +00:00
eban
ff954d7e17
2002-07-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-29 06:50:26 +00:00
nobu
1d132e648d
2002-07-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-26 03:31:58 +00:00
nobu
5c1ef150d2
2002-07-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-13 11:31:42 +00:00
nobu
bc8d214f76
2002-07-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11 15:10:43 +00:00
nobu
93602810e9
2002-07-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-05 10:31:47 +00:00
nobu
d8fdb2bfde
2002-07-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-02 10:45:14 +00:00
eban
39e205994c
* configure.in (seekdir, telldir): add ac_cv_func_telldir=yes,
...
ac_cv_func_seekdir=yes for MinGW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-30 09:07:54 +00:00
usa
2f2143a2be
* io.c (pipe_finalize, pipe_popen): two-way pipe support for win32.
...
* win32/win32.c (ChildRecord, FindFreeChildSlot): ditto.
* win32/win32.c, win32/win32.h (pipe_exec): new function for two-way
pipe support for win32.
* win32/win32.c, win32/win32.h (FindPipedChildSlot, rb_w32_popen,
rb_w32_pclose): removed functions for two-way pipe support for win32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-28 18:26:01 +00:00
usa
cd6cffa7b6
* pack.c (pack_unpack): change names of local variables because their
...
names are overlapped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-28 14:53:03 +00:00
nobu
0fdfc0bbef
* parse.y (words, qwords): word list literal rules.
...
* parse.y (parse_string): ditto.
* parse.y (yylex): %W: word list literal with interpolation. [new]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-26 08:01:00 +00:00
nobu
6037d1cf3d
2002-06-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-25 09:59:03 +00:00
nobu
33061b45b4
* eval.c (rb_eval): NODE_EVSTR is no longer used.
...
* eval.c (eval): not enforce to make assigned variables dynamic.
* parse.y (string): split rules to strings/xstring/regexp to allow
arbitrary statements inside string interpolation.
* parse.y (here_document): splitted into three phases.
* parse.y (literall_append, literal_concat): added.
append/concatinate string literals.
* sample/test.rb (valid_syntax): adjust line number for BEGIN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-24 07:20:42 +00:00
eban
8d8af5225d
* configure.in (__NO_ISOCEXT): add for mingw-runtime 2.0-2.
...
* configure.in (__MSVCRT__): removed because it is defined
in the GCC specs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20 10:25:11 +00:00
eban
fa1f7befa9
* ext/extmk.rb, lib/mkmf.rb (xsystem): open the log file if xsystem is called.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-19 05:54:24 +00:00
nobu
12c00312aa
* parse.y (yylex): should pushback proper char after '<<'.
...
* parse.y (range_op, cond0, cond): get rid of doubled warnings.
* parse.y (value_expr): reduce recursion level.
* parse.y (logop): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 03:53:23 +00:00
nobu
7ed607e902
2002-06-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-17 02:00:56 +00:00
knu
3a6168af5b
2002-06-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-15 10:25:08 +00:00
nobu
9e1473541d
2002-06-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-14 06:48:32 +00:00
eban
561c59bf64
2002-06-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-13 06:44:00 +00:00
eban
5838e5bc4e
2002-06-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-12 09:33:40 +00:00
eban
65caf01223
2002-06-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 07:27:22 +00:00
nobu
10d0deaa99
2002-06-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-10 10:18:24 +00:00
eban
c0eea52326
2002-06-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-04 07:35:48 +00:00
nobu
2263dbe022
* parse.y (here_document): check if identifier is terminated.
...
(ruby-bugs-ja:PR#239)
* parse.y (yylex): should pushback proper char after '**'.
(ruby-bugs-ja:PR#240)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-02 22:16:55 +00:00
eban
95a5a67142
2002-05-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-30 06:14:02 +00:00
matz
4ab1577db3
* parse.y: yyparse #defines moved from intern.h
...
* ruby.c (proc_options): access prefixed "ruby_yydebug".
* applied modifies to pacify some of gcc -Wall warnings.
* parse.y (arg): no more ugly hack for "**", so that "-2**2" to be
parsed as "(-2)**2", whereas "- 2**2" or "-(2)**2" to be parsed
as "-(2**2)".
* parse.y (yylex): '-2' to be literal fixnum. [new]
* time.c (time_succ): new method for Range support.
* time.c (time_arg): nil test against v[6] (usec).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-29 05:20:39 +00:00
nobu
ff3d6d201d
* eval.c (scope_node): trick to keep the node has a scope.
...
* eval.c (rb_eval): NODE_EVSTR: write back local_tbl to the node.
* eval.c (rb_eval): NODE_SCOPE: hold the scope node in ruby_scope.
* eval.c (module_setup): ditto.
* eval.c (rb_call0): ditto.
* node.h (NEW_DASGN, NEW_DASGN_CURR): remove surplus semicolons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-28 03:20:04 +00:00
matz
6e87a54aec
* ruby.c (proc_options): removed "-*-" support for #! line.
...
* io.c (rb_io_s_sysopen): new method to get a raw file
descriptor. [new]
* ext/socket/socket.c (tcp_sysaccept): new method to return an
accepted socket fd (integer). [new]
* ext/socket/socket.c (unix_sysaccept,sock_sysaccept): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-23 05:35:32 +00:00
nobu
ce3ea1911a
2002-05-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-22 07:51:15 +00:00
matz
edbe98d848
* object.c (Init_Object): should do exact match for Module#==.
...
* compar.c (cmp_eq): returns 'false' if <=> returns 'nil'.
* compar.c (cmp_gt,cmp_ge,cmp_lt,cmp_le,cmp_between): ditto.
* pack.c (pack_pack): should propagate taintedness.
* pack.c (pack_unpack): ditto.
* eval.c (rb_thread_schedule): need to preserve errno before
calling rb_trap_exec().
* regex.c (calculate_must_string): a bug in charset/charset_not
parsing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-21 05:39:19 +00:00
nobu
077d92a044
2002-05-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-20 04:39:50 +00:00
eban
d8a615ed3d
2002-05-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-16 06:17:05 +00:00
eban
c5d6a1ba48
* gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings.
...
* missing/strftime.c (timezone): it should take no argument on Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-14 05:59:35 +00:00
eban
caba4b3d94
2002-05-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-11 19:32:59 +00:00
nobu
592f838016
2002-05-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-11 13:21:57 +00:00
nobu
868d104b49
2002-05-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-09 17:02:36 +00:00
eban
d303a22fcc
2002-05-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-07 08:17:14 +00:00
knu
40225b8cb5
2002-05-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-04 22:01:55 +00:00
knu
5c7b8af937
2002-05-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-03 22:40:52 +00:00
eban
4213a33aa4
2002-05-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-02 09:31:37 +00:00
eban
1d64100b2a
2002-05-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-01 13:23:01 +00:00
nobu
b664645ddc
* eval.c (rb_proc_new): make Proc from C function. [new]
...
* intern.h (rb_proc_new): prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-26 00:38:44 +00:00
nobu
67c8ca36f2
2002-04-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-25 14:33:15 +00:00
matz
e3a8c62630
* io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed.
...
* io.c (rb_io_mode_modenum): ditto.
* gc.c (rb_memerror): rename from mem_error, and exported.
* gc.c (Init_GC): pre-allocate NoMemoryError instance.
* object.c (convert_type): error message changed from "failed to
convert" to "cannot convert", since it does not try to convert
if an object does not respond to the converting method.
* eval.c (block_pass): convert Method to Proc using
rb_check_convert_type().
* object.c (rb_check_convert_type): always convert T_DATA
* eval.c (rb_thread_cleanup): should not terminate main_thread by
Fatal error.
* regex.c (is_in_list): need to not exclude NUL and NEWLINE.
* re.c (rb_reg_expr_str): wrong backslash escapement.
* re.c (rb_reg_expr_str): do not escape embedded space
characters.
* marshal.c (w_object): T_DATA process patch from Joel VanderWerf
<vjoel@PATH.Berkeley.EDU>. This is temporary hack; it remains
undocumented, and it will be removed when marshaling is
re-designed.
* marshal.c (r_object): ditto.
* numeric.c (num_step): Integer#step is moved to Numeric#step;
Fixnum#step is merged into this method.
* numeric.c (int_dotimes): Fixnum#times is merged.
* numeric.c (int_upto): Fixnum#upto is merged.
* numeric.c (int_downto): Fixnum#downto is merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24 04:54:16 +00:00
nobu
b596fbbc37
* ext/stringio/stringio.c (strio_mark): must check if ptr is NULL
...
first. [ruby-talk:38873]
* lib/mkmf.rb (create_makefile): should print depend file when
make is other than nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-23 16:22:25 +00:00
eban
c46d1cdb1e
2002-04-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19 07:30:30 +00:00
nobu
9021157411
2002-04-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-18 09:10:54 +00:00
nobu
23288f8674
* eval.c (assign): convert mrhs to mvalue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-16 00:02:49 +00:00
nobu
7edb39fbfa
2002-04-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-15 09:29:47 +00:00
nobu
b289435872
2002-04-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12 03:32:52 +00:00
eban
2628f376c9
2002-04-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 10:06:01 +00:00
matz
19c42c0740
* variable.c (rb_obj_remove_instance_variable): raise NameError if
...
specified instance variable is not defined.
* variable.c (generic_ivar_remove): modified to check ivar
existence.
* file.c (rb_file_s_extname): new method based on the proposal
(and patch) from Mike Hall. [new]
* eval.c (error_handle): default to 1 unless status is set.
* eval.c (ruby_options): guard error_handle() with PROT_NONE.
* eval.c (ruby_stop): ditto.
* math.c (math_acosh): added. [new]
* math.c (math_asinh): ditto.
* math.c (math_atanh): ditto.
* struct.c (rb_struct_each_pair): method added. [new]
* class.c (rb_singleton_class): wrong condition; was creating
unnecessary singleton class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-10 08:45:26 +00:00
nobu
e223518948
* ext/stringio/stringio.c (check_modifiable): performance
...
improvement. avoid calling rb_str_modify() twice.
* ext/stringio/stringio.c (strio_ungetc): ditto.
* ext/stringio/stringio.c (strio_putc): ditto.
* ext/stringio/stringio.c (strio_write): ditto, and use
rb_str_cat() as possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-09 03:52:39 +00:00
nobu
2a255514a1
2002-04-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-08 07:09:58 +00:00
nobu
07e54ed140
2002-04-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 09:22:13 +00:00