eban
430eabfe13
* cygwin/GNUmakefile: add forwarding DLL target for cygwin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-07 07:11:50 +00:00
eban
6f059f33ef
* cygwin/GNUmakefile: better --disbale-shared option support.
...
* configure.in: Fix Cygwin specific naming of libraries to
be net distribution compliant. (ruby-bugs PR#1077)
cygwin-ruby18.dll -> cygruby18.dll
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-07 05:43:59 +00:00
matz
3d621a4c3d
* eval.c (rb_f_at_exit): should not be called without a block.
...
block_given check added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-07 04:09:56 +00:00
matz
697af8e54c
* eval.c (rb_call0): forgot to pop ruby_class.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 21:54:46 +00:00
matz
b51416e21f
* eval.c (rb_call0): update ruby_class as well as ruby_cref.
...
(ruby-bugs-ja PR#540)
* eval.c (rb_yield_0): remove ruby_frame->cbase and unify to
ruby_cref. [ruby-talk:78141]
* eval.c: initialize /* OK */ variables by Qnil to stop warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 21:50:06 +00:00
knu
1e51675654
* gc.c: FreeBSD/ia64's mcontext_t is a bit different from that of
...
Linux/ia64. This makes gc.c compile but miniruby coredumps for
the moment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 19:21:24 +00:00
shigek
7ba3a706f2
BigDecimal change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 15:15:41 +00:00
ntalbott
3158b75b0b
* lib/test/unit/testcase.rb: Added equality checking.
...
* lib/test/unit/testsuite.rb: Added equality checking.
* lib/test/unit/assertions.rb: Fixed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 14:03:21 +00:00
nobu
fb5efbaaec
* lib/mkmf.rb (have_library): treat nil function name as "main".
...
(ruby-bugs:PR#1083)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 08:28:52 +00:00
nobu
94d17c1f1f
* ext/extmk.rb (extmake): pass LIBPATH to make ruby. [ruby-dev:21137]
...
* ext/extmk.rb (extmake): set library name as source file name in
Init_ext(). [ruby-dev:21137]
* lib/mkmf.rb (Logging::postpone): postpone logging messages after
heading message as the result of the block.
* lib/mkmf.rb (macro_defined?): append newline to src unless ended
with it.
* lib/mkmf.rb (have_library): allow nil function name to just
append a library. (ruby-bugs:PR#1083)
* lib/mkmf.rb (pkg_config): should append additional libraries to
$libs but not $LIBS. [ruby-dev:21137]
* ext/io/wait/extconf.rb: check DOSISH macro instead of platform.
* ext/digest/sha1/extconf.rb: have_library already appends library
name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 03:11:14 +00:00
usa
6fa004b2e8
* ext/Setup*: add io/wait and openssl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05 19:58:43 +00:00
aamine
5ae5596491
* lib/net/http.rb: update document.
...
* lib/net/pop.rb: ditto.
* lib/net/protocol.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05 16:12:05 +00:00
matz
808aa5f318
* lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):
...
simple typo.
* string.c (str_new4): ptr may refer null_str.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05 09:27:21 +00:00
eban
5e12815fb1
* lib/fileutils.rb (install): should preserve timestamp only.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05 09:09:35 +00:00
nobu
1ea78bb8ff
* eval.c (rb_load): should preserve current source file/line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05 06:47:37 +00:00
matz
816803095d
* doc/NEWS, doc/ChangeLog-1.8.0: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 08:31:24 +00:00
matz
4aaa5493f9
* eval.c (method_proc): should specify YIELD_FUNC_SVALUE.
...
[ruby-dev:21107]
* marshal.c (w_object): should not call w_extended for USRMARSHAL
dump. [ruby-dev:21106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 05:28:50 +00:00
matz
acf543e5a6
* lib/test/unit/ui/console/testrunner.rb: Flushed io in the
...
Console::TestRunner so that it will output immediately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 01:56:17 +00:00
nobu
a9a7ee4be8
* util.h: remove unnecessary parentheses. [ruby-dev:20879]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 01:27:25 +00:00
shugo
594eb2e0fe
* lib/net/imap.rb (receive_responses): raise exception to
...
client_thread. Thanks to William Webber.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 01:02:16 +00:00
shugo
efd9ddc8a9
* lib/net/imap.rb: convert RD to RDoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 00:24:03 +00:00
usa
381ff05505
* win32/win32.c (rb_w32_utime): never use utime() of C runtime.
...
[ruby-talk:77782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-03 17:48:51 +00:00
nobu
096f7a4c89
* eval.c (rb_call_super): should propagate previous block for
...
super call. [ruby-talk:77884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-03 14:56:54 +00:00
dblack
d170fe2cd0
* lib/scanf.rb: import. [back-dated to July 19]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-03 12:11:14 +00:00
nobu
685082d06f
* eval.c (call_trace_func): clear exception flag temporarily.
...
[ruby-dev:21090]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-03 10:25:32 +00:00
eban
d6653222e9
* lib/un.h (help): new. % ruby -run -e help cp
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-03 09:32:23 +00:00
eban
6c526497b6
* regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-03 09:22:50 +00:00
matz
2c225e77e0
* numeric.c (flo_to_s): get rid of buffer overflow.
...
* io.c (appendline): clearerr(3) before raising exception, since
exception may be captured by rescue. [ruby-talk:77794]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 18:05:02 +00:00
gotoyuzo
086830cbac
* lib/webrick/https.rb: change an option name.
...
:SSLCertStore -> :SSLCertificateStore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 12:01:48 +00:00
aamine
ce3fb6ceea
* lib/net/smtp.rb: respond_to? needs 2nd argument. [ruby-talk:77796]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 10:12:22 +00:00
matz
08719ea238
* gc.c: add "#pragma weak" for __libc_ia64_register_backing_store_base.
...
[ruby-dev:21072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 06:45:57 +00:00
eban
1038c25a09
* ext/extmk.rb (--no-undefined): annoying option removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 06:14:53 +00:00
nobu
63f5a7164b
* lib/mkmf.rb (pkg_config): get configuration by pkg-config. [new]
...
* ext/openssl/extconf.rb: use pkg_config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 05:54:00 +00:00
nobu
d7bdf5df56
* variable.c (classname): find regular class name if not set.
...
[ruby-dev:20496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 05:02:43 +00:00
nobu
a138367a97
type fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 00:29:03 +00:00
matz
cdacb127fc
* class.c (rb_obj_singleton_methods): should not go up to
...
ancestors unless the recursive flag is set. [ruby-list:38007]
* hash.c (env_each_key): use env_keys to avoid environment modify
on the fly.
* hash.c (env_each_value): use env_values for safety.
* hash.c (env_each): allocate environment array first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 20:16:53 +00:00
why
c1c349edb6
* lib/yaml/store.rb (YAML::Store#initialize): filename is first
...
argument. Thanks Kent Dahl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 18:23:35 +00:00
aamine
20f4a2f322
forgot to check in.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 15:42:35 +00:00
nobu
dd15b0555b
* gc.c (rb_gc_mark_locations): no need to swap arguments.
...
* gc.c (STACK_LENGTH): insufficient for growing up stack
architectures.
* gc.c (rb_gc, Init_stack) ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 14:57:48 +00:00
seki
5abe0a9b69
set dldpath on darwin
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 14:35:51 +00:00
aamine
a2ef7ef62c
* lib/net/http.rb: convert RD to RDoc. Thanks William Webber. [ruby-doc:456]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 14:01:14 +00:00
matz
070fcde39d
* ext/syck/rubyext.c (syck_emitter_write_m): forgot to declare
...
"self", making it default to "int".
* ext/syck/rubyext.c (syck_emitter_simple_write): ditto.
* gc.c (rb_gc): should mark backing store region on IA64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 10:57:32 +00:00
nobu
2c2e81ff98
* ext/openssl/extconf.rb: should replace literally.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 08:13:29 +00:00
usa
f95261c6b3
Forgot pointer to original mail of ruby-talk.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 07:25:17 +00:00
nobu
e36f44caa8
* io.c (rb_io_check_readable, rb_io_check_writable): ensure not
...
closed at first.
* io.c (rb_io_getline): check readable always. (ruby-bugs:PR#1069)
* io.c (rb_io_each_byte): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 07:23:00 +00:00
nobu
7162db6632
* io.c (READ_DATA_PENDING_PTR): cast to get rid of warnings.
...
* ext/socket/socket.c (unix_send_io, unix_recv_io): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 07:02:54 +00:00
usa
f3999874e4
* win32/win32.c (isInternalCmd): shouldn't return if find end of str.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 06:54:28 +00:00
nobu
fd5bdcd21c
* eval.c (rb_call_super): propagate previous block if a block is
...
given. [ruby-talk:77577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 04:45:19 +00:00
matz
601354bd6b
* eval.c (BEGIN_CALLARGS): should not always reset ruby_iter,
...
need to restore previous value. [ruby-talk:77577]
* array.c (rb_ary_fill): array length may be changed during the
block execution. [ruby-talk:77579]
* array.c (rb_ary_zip): ditto.
* array.c (rb_ary_fill): ditto.
* hash.c (env_reject_bang): length may be changed during the block
execution.
* hash.c (env_clear): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 02:52:21 +00:00
matz
23bcab8d63
* gc.c (Init_stack): IA64 requires STACK_LEVEL_MAX to be less than
...
magic number when optimizer turned on, regardless of rlimit
values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 16:34:07 +00:00
seki
6b43c9bfbf
import erb-2.0.4b4
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 14:49:19 +00:00
usa
fabe115f9b
* ext/etc/etc.c: revert getenv()'s prototype. use it only when _WIN32
...
is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 14:03:34 +00:00
matz
5b9afca5e4
* numeric.c (rb_num_coerce_relop): export function.
...
* marshal.c (w_object): check has been dropped. "_dump must return
string." [ruby-dev:21024]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 08:42:44 +00:00
usa
2047c47d63
* array.c (rb_ary_collect): must get length of array for each
...
iteration. reported on [ruby-talk:77500], and fixed by
K.Sasada <ko1@namikilab.tuat.ac.jp> on [ruby-talk:77504]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 06:30:35 +00:00
gotoyuzo
00dfd7d7cc
* ext/openssl/extconf.rb: move gmake specific features
...
into GNUmakefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 05:22:06 +00:00
seki
f8817c7262
add explicit trim mode
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 03:42:17 +00:00
shugo
1358ec597b
* lib/net/ftp.rb (return_code): obsolete.
...
* lib/net/ftp.rb (last_response_code): new method. lastresp is now
alias to last_response_code.
* lib/net/ftp.rb (last_response): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 15:28:20 +00:00
nobu
59b2d551e8
* lib/mkmf.rb (dir_config): allow multiple directories separated
...
by File::PATH_SEPARATOR.
* lib/mkmf.rb (create_makefile): DLDFLAGS include $LDFLAGS again.
[ruby-talk:76894]
* lib/mkmf.rb (init_mkmf): not default $LDFLAGS to LDFLAGS for
ruby itself, but default $DLDFLAGS to DLDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 13:35:23 +00:00
matz
d468497778
* marshal.c (w_object): marshal_dump should not take any
...
argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 07:24:11 +00:00
matz
029e9449ce
* ruby.c (proc_options): -F set compiled regular expression to $;.
...
[ruby-talk:77381]
* string.c (Init_String): no setter type check for $;
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 07:08:56 +00:00
gotoyuzo
c9b177327d
* ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): should initialize
...
instance variables. [ruby-talk:77362]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 06:58:43 +00:00
nobu
3404b920d6
* error.c (rb_raise): snprintf() termination moved to
...
win32/win32.c.
* win32/win32.c (valid_filename, str_grow): unused.
* win32/win32.c (NTLoginName, ChildRecord): make static.
* win32/win32.c (CreateChild): argument check.
* win32/win32.c (kill): should not call CloseHandle() when
OpenProcess() failed.
* win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): ensure buffer
terminated. [ruby-talk:69672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 06:10:09 +00:00
shugo
e155879b46
* lib/net/ftp.rb (get): fix wrong argument name. Thanks to William
...
Webber.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 01:56:45 +00:00
nobu
5172e595c9
* ext/iconv/iconv.c (iconv_convert): append unchanged portion
...
after overflow. [ruby-dev:21006]
* ext/iconv/extconf.rb: check if iconv() 2nd argument is const.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 01:31:43 +00:00
nobu
db8874aa1b
* configure.in (os2-emx): renamed from os2_emx, add flags to
...
CFLAGS and LDFLAGS, and remove lib prefix. [ruby-dev:20993]
* file.c (rb_file_s_rename): retry with removing new file on
DOSISH. [ruby-dev:21007]
* ext/socket/extconf.rb (sendmsg, recvmsg): check functions.
* ext/socket/socket.c (unix_send_io, unix_recv_io): raise
NotImplementedError unless system calls are available.
* ext/socket/socket.c (sock_initialize): rename from sock_init()
to get rid of conflict with OS/2 socket library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 00:32:03 +00:00
matz
fe13785cc6
* marshal.c (w_object): if object responds to 'marshal_dump',
...
Marshal.dump uses it to dump object. unlike '_dump',
marshal_dump returns any kind of object.
* marshal.c (r_object0): restore instance by calling
'marshal_load' method. unlike '_load', it's an instance
method, to handle cyclic reference.
* marshal.c (marshal_load): all objects read from file should be
tainted. [ruby-core:01325]
* lib/timeout.rb (Timeout::timeout): execute immediately if sec is
zero.
* ext/socket/socket.c (socks_init): typo fixed. [ruby-talk:77232]
* ext/socket/extconf.rb: the default value for --enable-socks is
taken from ENV["SOCKS_SERVER"]. [ruby-talk:77232]
* ruby.c (proc_options): add -W option. -W0 to shut up all warning
messages. [ruby-talk:77227]
* error.c (rb_warn): no message will be printed if the value of
$VERBOSE is "nil", i.e. perfect silence.
* ruby.c (verbose_setter): $VERBOSE value is either true, false,
or nil.
* io.c (Init_IO): no "read" check for $stdin. in addition some
function names has been changed.
* regex.c (re_match_exec): incorrect multibyte match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 18:26:55 +00:00
aamine
f1d9d32a67
* lib/net/smtp.rb (send0): do taint check only when $SAFE > 0
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 13:29:53 +00:00
nobu
42f3ae0286
garbage
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:44:27 +00:00
eban
1a291e4544
* ext/extmk.rb (INSTALL_PROG, INSTALL_DATA): modify verbose messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:38:30 +00:00
eban
de9a5238c3
* MANIFEST: add lib/un.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:31:21 +00:00
eban
3fbbec0c39
* lib/fileutils.rb (install): support preserve timestamp.
...
* instruby.rb (install): use FileUtils::install preserve mode.
* lib/un.rb: new. % ruby -run -e cp -- -p foo bar
* lib/mkmf.rb: use un.rb instead of ftools.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:24:28 +00:00
aamine
23301726b0
* lib/net/smtp.rb: unify coding style.
...
* lib/net/http.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 09:48:30 +00:00
usa
28cbfaba2b
* ruby.h (LLONG_MIN): fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 08:28:54 +00:00
matz
37b2487c70
* lib/net/smtp.rb (Net::SMTP::send0): add taint check.
...
* ruby.h (LLONG_MIN): wrong value.
* io.c (rb_f_getc): $stdin may not be IO. [ruby-dev:20973]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 07:52:55 +00:00
eban
706536ff0f
* instruby.rb (install): preserve the timestamp for Mac OS X ranlib problem.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 07:08:04 +00:00
why
49ad283b97
* ext/syck/token.c: prefixed many constants and definitions with YAML_ to
...
avoid name clash.
* ext/syck/gram.c: ditto.
* ext/syck/gram.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 03:27:01 +00:00
usa
49c85058af
* ChangeLog: tabify.
...
* ext/etc/etc.c: add real prototype to getenv().
* win32/win32.h: add arguments to definitions of functions if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 03:17:13 +00:00
why
0a75581a37
* ext/syck/syck.h: Added 'syck' yacc prefixes.
...
* ext/syck/gram.c: ditto.
* ext/syck/token.c: ditto.
* ext/syck: Added ruby.h reference to source files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 19:27:42 +00:00
gotoyuzo
ea837fc6fe
* ext/openssl/lib/net/https.rb (use_ssl=): raise ProtocolError if
...
connection is set up already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 19:06:31 +00:00
nobu
a644c35a99
* file.c (Init_File): IO should include File::Const.
...
[ruby-dev:20964]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 14:23:12 +00:00
eban
906ab8e25d
* ext/openssl/extconf.rb: check again after pkg-config for MinGW on
...
Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 09:55:12 +00:00
matz
dea1baa169
* ext/stringio/stringio.c (strio_gets): only "gets" should set $_.
...
* ext/stringio/stringio.c (strio_getline): should not set $_ here.
* io.c (argf_to_s): argf.to_s returns "ARGF".
* io.c (set_defout_var, set_deferr_var): make $defout and $deferr
obsolete.
* io.c (set_input_var, set_output_var): allow $stdin, $stdout,
$stderr not to be instance of IO.
* io.c (rb_f_readline): forward method to current_file. gets,
readline, readlines, getc, readchar, tell, seek, pos=, rewind,
fileno, to_io, eof, each_line, each_byte, binmode, and closed?
as well.
* io.c (argf_forward): utility function to forward method to
current_file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-28 07:31:52 +00:00
knu
e4ffaf6ea8
* lib/set.rb: each() should return self.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 18:10:54 +00:00
matz
dbe85f1ef0
* string.c (rb_str_chomp_bang): defer rb_str_modify() to actual
...
modify point. other methods, replace, tr, delete, squeeze,
lstrip, and rstrip as well.
* string.c (rb_str_rstrip_bang): remove trailing '\0' at the end
of string.
* string.c (rb_str_lstrip_bang): do not strip '\0' from the left.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 17:20:29 +00:00
eban
baf3f1cbac
* mkconfig.rb: initialize global variables to avoid warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 12:55:35 +00:00
eban
93f8a40494
* ChangeLog: typo fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 12:20:21 +00:00
eban
39bc97b078
* ext/openssl/extconf.rb: better support MinGW. add
...
dir_config("kerberos") and with_config("pkg-config).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 12:19:18 +00:00
nahi
f5b3d426c8
* lib/debug.rb: fix breakpoint parameter parsing/checking.
...
(?:(file|class):)(line_number|method)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 05:49:03 +00:00
seki
8d64baf2a8
add UNIXFileOwner, UNIXFileGroup
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 01:25:58 +00:00
nobu
f01fe1351e
* io.c (io_reopen): avoid dup2() equal handles not to close itself and
...
to get rid of a msvcrt bug. [ruby-dev:20919]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 18:10:47 +00:00
eban
2dfe646bae
* lib/tmpdir.rb: use GetWindowsDirectory, not GetSystemDirectory. [ruby-talk:77073]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 15:38:58 +00:00
matz
f0b77b0cde
* ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wrongly
...
removed method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 15:03:16 +00:00
usa
b431230396
* io.c (rb_fdopen): set errno if it's zero on win32 platforms.
...
* ext/openssl/ossl_ssl.c (TO_SOCKET): define special version when
_WIN32 is defined. this is ruby's problem, not OpenSSL.
* win32/win32.c: remove some old comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 12:27:04 +00:00
nobu
7a1482c3ee
* ext/stringio/stringio.c: includes Enumerable as well as IO.
...
[ruby-talk:77058]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 05:14:17 +00:00
matz
34ca2ab058
* variable.c (rb_mod_const_missing): "const_missing" should not
...
appear in the caller(); add call frame adjustment.
* eval.c (rb_method_missing): simplify call frame adjustment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 02:26:08 +00:00
seki
eb51666a19
fix: % line lineno
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 22:06:15 +00:00
gotoyuzo
0a39c57489
* ext/openssl/ossl.h: fix comment.
...
* ext/openssl/ossl.c (ossl_debug): should enable if no va-args
macro supplied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 20:40:57 +00:00
gotoyuzo
d89358aba3
* ext/openssl/extconf.rb: refine va-args macro detection.
...
[ruby-talk:76983]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 19:16:19 +00:00
usa
2b15bd05d3
* ext/openssl/ossl_ssl.c (ossl_ssl_setup): need to pass the real
...
socket to SSL_get_fd on native win32 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 16:40:26 +00:00
nahi
ccdc8d302a
* ext/openssl/sample: Add samples.
...
- cert2text.rb: Dump certificate file as text.
- crlstore.rb: CRL store implementation. Fetch CRL via HTTP when
http-access2 is installed.
- certstore.rb: Certificate store implementation.
- cert_store_view.rb: Certificate store viewer with FXRuby. Uses
c_rehash.rb, crlstore.rb and certstore.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 15:12:26 +00:00
gotoyuzo
b35031495a
* ext/openssl/extconf.rb: add check for BN_rand_range() and
...
BN_pseudo_rand_range().
* ext/openssl/ossl_bn.c (ossl_bn_s_rand_range): should raise
NotImplementedError if BN_rand_range() wan not defined.
* ext/openssl/ossl_bn.c (ossl_bn_s_pseudo_rand_range): should raise
NotImplementedError if BN_pseudo_rand_range() wan not defined.
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_s_encrypt): avoid compiler
warning for OpenSSL-0.9.6.
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7si_initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 06:50:55 +00:00
matz
85911c410a
* ext/socket/socket.c (tcp_s_gethostbyname): was using
...
uninitialized size_t value. [ruby-talk:76946]
* Minor cleanups.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 05:36:55 +00:00
nobu
43601a1d17
* re.c (rb_reg_options_m): use rb_reg_options() to mask internal
...
flags.
* re.c (rb_reg_initialize_m): allow nil as third argument and
ignore, and mask code flags if the argument is given.
[ruby-dev:20885]
* re.c (rb_reg_options): get common flags directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-25 04:38:42 +00:00
why
cb5798876e
* lib/yaml/dbm.rb: replace indexes with values_at.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 18:56:09 +00:00
gotoyuzo
c9aad4c098
* ext/openssl/extconf.rb: add check for libsocket and libnsl.
...
* ext/openssl/extconf.rb: use pkg-config to build CFLAGS and LDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 17:58:56 +00:00
why
4d859f926a
* ext/syck/emitter.c (syck_emitter_flush): accepts count
...
of bytes to flush. anchor offsets now functional.
* ext/syck/syck.h (syck_emitter_flush): ditto.
* ext/syck/rubyext.c: ditto.
* ext/syck/token.c: URI escaping now supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 16:30:43 +00:00
nobu
1a890d82c3
* lib/mkmf.rb (have_type): check if a type is defined.
...
* lib/mkmf.rb (check_sizeof): check size of a type.
* ext/dbm/extconf.rb: check if type DBM is defined.
[ruby-talk:76693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 07:41:36 +00:00
nobu
71c9abdd06
* ChangeLog (add-log-time-format): "%c" contains timezone on XEmacs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 07:21:44 +00:00
nobu
7896128822
* configure.in (AC_C_VOLATILE): check if volatile works.
...
* defines.h (volatile): removed.
* eval.c (rb_thread_group): Thread#group. [new]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 07:05:28 +00:00
gotoyuzo
c1008ab51b
* ext/openssl/extconf.rb: add check for win32 OpenSSL libraries.
...
* ext/openssl/extconf.rb: add check for __VA_AEGS__.
* ext/openssl/ossl.h: avoid non C99 compiler errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 06:56:02 +00:00
matz
e02b469de1
* eval.c (thgroup_add): no warning for terminated threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 05:18:47 +00:00
akr
326569b7df
* lib/pathname.rb: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 04:10:35 +00:00
nobu
85aa73835e
* ext/io/wait/extconf.rb: removed unnecessary backward compatibility stuff.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 02:22:32 +00:00
eban
3150436c85
* ext/openssl/extconf.rb: revert use of dir_config.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 02:10:04 +00:00
usa
8861263bcb
Typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 01:05:36 +00:00
usa
7871b3b32a
* ext/Win32API/lib/win32/resolv.rb: added.
...
* lib/resolv.rb: support Win32 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-24 01:03:28 +00:00
gotoyuzo
f00c14ca25
* ext/openssl/ssl.h: undef X509_NAME and PKCS7_SIGNER_INFO to
...
avoid name confliction on mswin32.
* ext/openssl/ssl.c (ossl_protect_obj2bio): avoid VC++ warnings
in function prototype.
* ext/openssl/ssl.c (ossl_protect_membio2str): ditto.
* ext/openssl/ssl.c (ossl_protect_x509_ary2sk): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 19:08:35 +00:00
michal
3f71dcc79b
Cut check for OpenSSL version
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 18:48:07 +00:00
usa
85f1f85868
* ext/tcltklib/tcltklib.c (ip_init): need at least one statement after label.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 18:44:29 +00:00
gotoyuzo
30b4904fd7
* lib/webrick: imported.
...
* MANIFEST: added webrick files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:52:43 +00:00
eban
02f036ddbc
* lib/tmpdir.rb (tmpdir): new method. remove TMPDIR.
...
use GetSystemWindowsDirectory(GetSystemDirectory), not GetTempPath.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:37:35 +00:00
gotoyuzo
231247c010
* ext/openssl: imported.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:12:24 +00:00
eban
528b6c3f64
* file.c (DOSISH): better Cygwin support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 14:09:52 +00:00
seki
e96641be8e
import erb-2.0.4b1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 09:47:16 +00:00
nobu
eb5a52e070
* ext/io/wait: imported.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 09:26:53 +00:00
matz
2436525ed8
* string.c (rb_str_lstrip_bang): strip NUL along with white
...
spaces. [ruby-talk:76659]
* string.c (rb_str_rstrip_bang): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 06:48:52 +00:00
nobu
cabf75ae6a
* lib/mkmf.rb (log_src, checking_for, create_header):
...
Logging.message is printf like format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 05:19:22 +00:00
nobu
0770898bb9
* ext/iconv/iconv.c (check_iconv): check if Iconv instance.
...
* ext/iconv/iconv.c (iconv_convert): stringify argument.
* ext/iconv/iconv.c (iconv_failure_initialize): limit
inspect message. [ruby-dev:20785]
* ext/iconv/iconv.c (rb_str_derive): share with original
string if possible. [ruby-dev:20785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 01:11:20 +00:00
matz
0d1df1cd7d
* variable.c (rb_mod_const_missing): new method. [ruby-core:00441]
...
* variable.c (rb_const_get_at): allow "const_missing" hook.
* variable.c (rb_const_get_0): ditto.
* eval.c (method_missing): rename from rb_undefined to clarify.
* eval.c (ruby_finalize_0): update exit status if any of END proc
raises SystemExit. [ruby-core:01256]
* eval.c (rb_exec_end_proc): reduce rb_protect().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 08:42:47 +00:00
eban
27daa53c54
* MANIFEST (lib/cgi/session/pstore.rb, lib/yaml/baseemitter.rb): added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 08:17:46 +00:00
usa
8f81d082af
* lib/tmpdir.rb: remove charcters after "\000" and regularize path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-22 01:53:58 +00:00
matz
c26663f24b
* numeric.c (num_equal): should not use rb_equal().
...
* object.c (rb_equal): back out the last change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 18:48:58 +00:00
matz
fa284f8127
* string.c (rb_str_equal): should return nil for non string
...
operand to conform comparable convention. [ruby-dev:20759]
* object.c (rb_equal): preserve nil if "==" returns nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 18:37:07 +00:00
matz
2416271405
* lib/tmpdir.rb: new library to get temporary directory path,
...
using GetTempPath on Win32 environment.
* lib/tempfile.rb: now uses tmpdir.rb.
* lib/cgi/session.rb, ib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 15:34:18 +00:00
matz
e4de8e7566
* string.c: use StringValueCStr to retrieve paths to system calls.
...
* string.c (rb_string_value_cstr): check null byte in the string
before retrieving C ptr. accessed via macro StringValueCStr.
* file.c (sys_fail2): raise error for two operand system calls
such as rename, link, symlink. (ruby-bugs PR#1047)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-20 17:17:52 +00:00
katsu
6a867d33b5
* ext/zlib/zlib.c (gzfile_read_header): gz->z.input may be nil after finishing reading a gzip header.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-20 02:06:15 +00:00
matz
fe4de8b4b8
* string.c (rb_str_match2): add warning to "~string".
...
[ruby-list:37751]
* lib/net/ftp.rb (Net::FTP::open): takes block. suggested by Gavin
Sinclair in [ruby-core:01237].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 17:26:04 +00:00
matz
d675dbc279
* lib/xmlrpc: import.
...
* eval.c (thgroup_add): should return group for terminated thread
case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 10:05:54 +00:00
uema2
c7d2ebd71e
* wince/stdlib.c: add bsearch().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 10:02:57 +00:00
matz
adec8b726c
* eval.c (thgroup_add): do not raise ThreadError on terminated
...
thread addition for compatibility. just warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 03:18:44 +00:00
nobu
3b1e7ac785
* ext/iconv/charset_alias.rb, ext/iconv/extconf.rb: make wrapper
...
script which maps charset names. [ruby-dev:20625]
* ext/iconv/iconv.c (charset_map): charset name map.
* ext/iconv/iconv.c (iconv_dfree): no exception while
finalization.
* ext/iconv/iconv.c (iconv_s_conv): new method Iconv.conv.
[ruby-dev:20588]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 19:51:42 +00:00
usa
c88efe5fa2
* ext/Win32API/lib/win32/registry.rb (Win32::Registry::Error):
...
inherit StandardError instead of SystemCallError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 18:11:45 +00:00
nobu
d087821480
* eval.c (rb_attr): extra calls of method_added. [ruby-talk:76361]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 17:00:43 +00:00
nobu
b31bca1b45
* lib/mkmf.rb (init_mkmf): clear $INSTALLFILES. [ruby-dev:20727]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 09:44:28 +00:00
nobu
c1c86a37df
* lib/mkmf.rb (rm_f): use FileUtils.
...
* lib/mkmf.rb (modified?): return mtime of the target if
it exists and newer than times.
* lib/mkmf.rb (install_files): add a current directory
file even if it does not exist yet.
* lib/mkmf.rb (configuration): do not add $LDFLAGS to
DLDFLAGS.
* ext/extmk.rb (extmake): check whether Makefile is newer
than depend and MANIFEST.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 08:34:45 +00:00
usa
5b1008a005
* win32/win32.c (make_cmdvector): recognize quote within string.
...
based on Nobu's patch ([ruby-win32:450]). [ruby-talk:75853]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 06:00:24 +00:00
matz
909c2274f9
* eval.c (rb_f_missing): VCALL is called only for LOCAL_ID. no
...
check required.
* parse.y (primary): pritmary:tFID generates NODE_FCALL.
[ruby-dev:20641]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 05:29:46 +00:00
matz
2d28a9b130
* re.c (match_captures): rename from "groups".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 09:53:16 +00:00
matz
8cee72d5c6
* eval.c (rb_clear_cache_by_class): check both klass and origin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 08:58:16 +00:00
matz
46bf621737
* eval.c (ruby_init): set ruby_running to true after
...
initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 05:23:54 +00:00
eban
06f82d3883
* lib/ftools.rb (File::makedirs): do not handle "//" as a directory.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 04:56:09 +00:00
matz
0eb5a42b91
* eval.c (rb_proc_new): call svalue_to_avalue for yield argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-16 09:23:33 +00:00
matz
7406260aed
* eval.c (rb_disable_super, rb_enable_super): deprecate.
...
* eval.c (thgroup_s_alloc): re-implement group struct.
* eval.c (thgroup_add): add check for enclose and frozen status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-16 07:11:30 +00:00
nobu
0caa77e7bc
* eval.c (rb_add_method, rb_alias): need to clear cache by
...
ID when method defined in parent class is cached for
grand child classes. [ruby-dev:20672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-15 10:50:54 +00:00
matz
9ef8a2a5db
* lib/matrix.rb: remove elements conversion to_f, to_i, to_r.
...
* lib/cgi/session/pstore.rb: add new file.
* process.c (proc_getgroups, proc_setmaxgroups): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-15 07:35:14 +00:00
why
bdfce148a7
* ext/syck/rubyext.c (syck_mark_emitter): forgot to rb_gc_mark the
...
outgoing IO object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-14 20:35:07 +00:00
nobu
40f7baddde
commit miss
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-14 02:32:04 +00:00
usa
dbb2e33eef
* struct.c (struct_entry): add prototype to avoid VC++ warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-12 08:02:26 +00:00
why
a1e257ec48
* ext/syck/emitter.c: new emitter code.
...
* ext/syck/rubyext.c: Emitter class.
* lib/yaml.rb: Load Syck emitter, if available.
* lib/yaml/stream.rb: ditto.
* lib/yaml/baseemitter.rb: underlying class for all emitters.
* lib/yaml/rubytypes.rb: use BaseEmitter abstraction.
* lib/yaml/emitter.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 22:52:14 +00:00
nobu
c649dcc857
addition
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 16:37:05 +00:00
nobu
b2ffc1fcab
* eval.c (avalue_to_svalue): typo.
...
* eval.c (rb_load): rb_prohibit_interrupt should not underflow.
* parse.y (NODE_STRTERM, tokadd_string, parse_string): moved string
nest level from a static variable to NODE_STRTERM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 16:22:01 +00:00
nobu
bc7a97c826
* configure.in (aix): needs ruby.imp even with gcc.
...
(ruby-bugs:PR#1007)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 13:37:22 +00:00
eban
b2d25f72c8
* ChangeLog: typo fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 09:40:53 +00:00
eban
3ed23a541f
* instruby: do not handle directories. [ruby-dev:20613]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 09:39:09 +00:00
matz
538e8190bc
* util.c (ruby_strtod): exp should be less than MDMAXEXPT.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 07:10:14 +00:00
eban
28595a72a9
* math.c (math_log): nan takes a dummy argument on Cygwin 1.5.0.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-10 05:48:43 +00:00
matz
662e3cf1f9
* eval.c (rb_load): put rb_load_file() in a thread critical
...
section. [ruby-dev:20490]
* eval.c (compile): put rb_compile_string() in a thread critical
section.
* variable.c (rb_const_get_0): should not warn if constant is not
defined. (ruby-bugs-ja PR#509)
* bignum.c (rb_big2dbl): give a warning on overflow.
(ruby-bugs-ja PR#510)
* util.c (ruby_strtod): change MDMAXEXPT from 511 to 308.
* pack.c (utf8_to_uv): long is sufficient. LONG_LONG is not
required.
* bignum.c (rb_big2str): support 32 bit (without `long long' type)
machines. (ruby-bugs-ja PR#512)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-09 22:28:42 +00:00
nobu
d54accfe3f
* regex.c (mbctab_sjis): 0x80 is not shift jis first byte.
...
[ruby-dev:20516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-09 14:52:20 +00:00
eban
eeba4b02e8
* mkconfig.rb: support text-mount on Cygwin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-09 09:27:40 +00:00
eban
039fd6a8f9
* instruby.rb: do not install shared libraries as man pages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-09 06:45:45 +00:00
usa
3d43a19c74
* re.c (match_entry): add prototype to avoid VC++ warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-09 02:16:42 +00:00
matz
3de67ca69d
* eval.c (rb_call_super): k->super maybe NULL if klass is Kernel.
...
[ruby-dev:20519]
* gc.c (obj_free): clear method cache when freeing class/module.
* eval.c (rb_mod_remove_method): allow "remove_method" to accept
multiple arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-07 08:28:19 +00:00
eban
444d4435ba
* ext/dbm/extconf.rb (gdbm_compat, qdbm): add check for gdbm_compat
...
and qdbm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-07 01:30:02 +00:00
matz
9ae79bfcb9
* node.h (NEW_NODE): cast arguments to rb_node_newnode().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-04 15:30:35 +00:00
nobu
2c58277c5b
* ext/syck/rubyext.c, ext/syck/syck.c, ext/syck/syck.h,
...
ext/syck/token.c: C++ style comments are not allowed.
(ruby-bugs:PR#1008)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-04 12:54:38 +00:00
matz
cc4dec0701
* Changelog, lib/debug.rb: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 15:58:03 +00:00
akr
554f524ee5
* lib/timeout.rb: add optional exception argument for compatibility
...
function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 14:44:46 +00:00
matz
9d22a06ea0
* array.c (rb_values_at): extract common procedure from
...
rb_ary_values_at. follow DRY principle.
* re.c (match_values_at): values_at should understand ranges.
* struct.c (rb_struct_values_at): ditto.
* struct.c (inspect_struct): inspect format changed; add "struct "
at the top.
* sprintf.c (rb_f_sprintf): "%p" specifier for inspect output.
(RCR#68)
* eval.c (rb_mod_undef_method): allow "undef_method" to accept
multiple arguments. (RCR#146)
* lib/timeout.rb: put timeout in Timeout module. (RCR#121)
[ruby-talk:61028]
* re.c (match_groups): new method added. (RCR#139)
* variable.c (rb_mod_const_of): should exclude constant defined
in Object, unless retrieving constants of Object.
* string.c (rb_str_new4): do not allocate new string if original
is frozen or already have copy-on-write entry. [ruby-talk:74940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 11:02:53 +00:00
eban
a11ab83884
* lib/mkmf.rb (VPATH): convert from Windows form to Unix form on
...
MinGW. This fixes the build with GNU make 3.80-1 for Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 03:20:32 +00:00
matz
447578a8a0
* string.c (rb_str_shared_replace): clear flags before copy.
...
* string.c (rb_str_replace): ditto.
* eval.c (rb_yield_0): override visibility mode for module_eval
etc. (ruby-bugs-ja PR#505)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 04:27:29 +00:00
aamine
f261bdf66c
* lib/net/smtp.rb: synchronize document with source code.
...
* lib/net/pop.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 02:39:53 +00:00
aamine
c20ecb1ba4
* lib/net/smtp.rb: unify SMTP and SMTPCommand.
...
* lib/net/smtp.rb: new exception class SMTPError.
* lib/net/smtp.rb: new exception class SMTPAuthenticationError.
* lib/net/smtp.rb: new exception class SMTPServerBusy.
* lib/net/smtp.rb: new exception class SMTPSyntaxError.
* lib/net/smtp.rb: new exception class SMTPFatalError.
* lib/net/smtp.rb: new exception class SMTPUnknownError.
* lib/net/smtp.rb: change critical section protect algorithm.
* lib/net/smtp.rb (SMTP#do_start): check authentication args before all.
* lib/net/smtp.rb: new method send_message (alias send_mail).
* lib/net/smtp.rb: new method open_message_stream (alias ready).
* lib/net/pop.rb: POPBadResponse is a POPError.
* lib/net/pop.rb (POPMail#pop): ban ReadAdapter.
* lib/net/pop.rb (POPMail#top): ditto.
* lib/net/pop.rb (POP3Command): change critical section protect algorithm.
* lib/net/pop.rb (POP3Command#auth): USER and PASS should be one critical block.
* lib/net/pop.rb (POP3Command#retr): ban `dest' argument using iterator.
* lib/net/pop.rb (POP3Command#top): ditto.
* lib/net/protocol.rb: #read_message_to -> #each_message_chunk
* lib/net/protocol.rb: #D -> #LOG
* lib/net/protocol.rb: #D_off -> #LOG_off
* lib/net/protocol.rb: #D_on -> #LOG_on
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 02:34:39 +00:00
aamine
f473140e62
* lib/net/http.rb: set old class aliases for backward compatibility. [ruby-talk:74863]
...
* lib/net/protocol.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 02:05:35 +00:00
eban
2e4fc59d1c
* lib/net/pop.rb (Net::POP3#start): typofix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 16:34:58 +00:00
eban
e8aa990f92
* parse.y (rb_intern): should use mbclen instead of mblen.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 10:03:04 +00:00
nobu
442c836bfe
* class.c (rb_define_class, rb_define_module): also set constant under
...
Object. [ruby-dev:20445]
* object.c (boot_defclass): ditto.
* variable.c (rb_const_get_at, rb_const_get_0, rb_mod_const_at,
rb_const_defined, mod_av_set, rb_const_assign): toplevel constants
are now under Object, rb_class_tbl remains for GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 01:36:25 +00:00
nobu
6e85f9c99c
* eval.c (mnew): ignore metaclasses have no influence, for rklass.
...
[ruby-talk:74706]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-30 08:53:10 +00:00
seki
d5f31755fc
import drb-2.0.4 (use LocalJumpeError#reason)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-28 22:03:41 +00:00
nobu
e5a9dcb9d8
* configure.in (rb_cv_stack_grow_dir): check stack growing direction.
...
* eval.c (rb_thread_restore_context): prior configuration macro.
* gc.c (ruby_stack_length): always return the address of lower edge.
* gc.c (rb_gc_mark_locations): remove margin. [ruby-dev:20462]
* gc.c (rb_gc, Init_stack): prior configuration macro.
* gc.c (Init_stack): add safety margin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-28 03:29:00 +00:00
nobu
057dcc0495
* string.c (rb_str_split_m): remove white spaces on the head of
...
the last element, when limit is specified. [ruby-talk:74506]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-27 05:41:28 +00:00
nobu
7a425f71e3
* io.c (io_fflush): need to check if closed after thread switch.
...
[ruby-dev:20351]
* io.c (fptr_finalize): ditto.
* string.c (rb_str_rindex_m): fixed wrong fix. should move backward
first only when matching from the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-26 18:24:58 +00:00
nobu
8c8e4f59c2
* class.c (class_instance_method_list): get rid of warning about
...
arguement type mismatch, and inline method_list().
[ruby-core:01198]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-26 12:34:51 +00:00
matz
dff438fba3
* class.c (rb_generic_class_instance_methods): merge argument
...
check (and warning) into one function; following DRY principle.
[ruby-core:01193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-25 07:12:10 +00:00
matz
0c4fe2b522
* variable.c (autoload_delete): should delete Qundef from iv_tbl.
...
(ruby-bugs-ja PR#504)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-25 05:28:24 +00:00
why
b60ba59429
* lib/yaml/types.rb: replaced Kernel::Hash reference with Object::Hash
...
from [ruby-talk:74270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 14:12:03 +00:00
nobu
5f80d051a6
* eval.c (rb_yield_0): show yielded block position not only yielding
...
point. [ruby-dev:20441]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 08:59:34 +00:00
aamine
170aaabe4b
* lib/net/http.rb (HTTPHeader#proxy_basic_auth): missing `@'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 07:42:46 +00:00
aamine
9fa20b9973
* config.guess: have wrongly returned "alphaev56-unknown-linux-" on Linux/Alpha.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 05:26:18 +00:00
aamine
2f7fde4e4e
* configure.in: always add -mieee for gcc/alpha. [ruby-dev:20429]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 19:54:41 +00:00
nobu
d749616333
* array.c (rb_ary_unshift_m): need to check number of arguments.
...
[ruby-talk:74189]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 17:40:14 +00:00
aamine
9d05b9a4b3
* io.c (io_close): missing prototype.
...
* ext/socket/socket.c (bsock_do_not_rev_lookup_set): ditto.
* ext/win32ole/win32ole.c (foletype_guid, foletype_progid): ditto.
* error.c (syserr_initialize): length argument of sprintf() is an int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 14:55:09 +00:00
eban
30235cd14e
* MANIFEST: add wince files.
...
* ext/tk/MANIFEST: add sample/tkmenubutton.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 14:30:27 +00:00
nobu
69459d98ef
* dir.c (find_dirsep): get rid of warnings.
...
* eval.c (error_print): temporary value might be disposed by GC.
* hash.c (env_has_value, env_index): should not increment NULL.
* io.c (io_read, rb_io_sysread): not read when length is 0.
* io.c (rb_io_reopen): ensure initialized IO.
* io.c (rb_io_init_copy): sychronize file pointer.
* io.c (rb_io_s_pipe): make exception proof.
* string.c (rb_str_rindex_m): Fixnum 0 matched end of string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 08:41:07 +00:00
akr
2aba26fa52
* io.c (rb_open_file): initialize flags.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 07:19:03 +00:00
matz
67dcad92b7
* string.c (rb_str_upto): generate sequence according to "succ"
...
order. formerly check was done by dictionary order.
[ruby-talk:74138]
* string.c (rb_string_value): fill constant empty string along
with setting ELTS_SHARED if str->ptr is NULL. [ruby-core:01179]
* string.c (rb_string_value_ptr): ditto.
* string.c (rb_check_string_type): ditto.
* string.c (str_gsub): move END(0) check before mbclen2().
* string.c (scan_once): reduce END(0) check.
* io.c (rb_io_initialize): accept fixnum mode.
* eval.c (error_print): replace strchr() by memchr(), einfo may
contain "\0".
* pack.c (pack_unpack): range check for "@" move; initialize check
for "m".
* error.c (syserr_initialize): avoid buffer overflow.
* file.c (rb_file_s_readlink): expand buffer until readlink
succeed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 06:52:39 +00:00
akr
41e018a46d
* time.c (time_arg): initialize v[6] even when argc is 10 to
...
avoid valgrind error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 04:47:30 +00:00
nobu
25f8578b13
typo in date, reported by daz.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-22 10:40:05 +00:00
matz
47b57348e6
* eval.c (proc_invoke): should not propagate distination tag if
...
tag is already handled in this level. (ruby-bugs-ja PR#501)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-21 15:36:06 +00:00
matz
9060b3355a
* object.c (str_to_id): check for empty string before intern.
...
[ruby-talk:74006]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-21 14:51:21 +00:00
nobu
f96ab4131c
* object.c (rb_to_id): use rb_str_intern() instead of rb_intern()
...
directly, for sanity check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-21 12:27:21 +00:00
uema2
aa49df66ae
* wince/Makefile.sub: undefine HAVE__SETJMP.
...
* wince/resource.rb: include winver.h in wince3.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-21 04:55:59 +00:00
matz
0347d29810
* eval.c (proc_invoke): should not propagate TAG_BREAK and
...
TAG_RETURN from orphan Proc object. [ruby-core:01148]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-20 17:22:27 +00:00
matz
f289fddace
* parse.y (new_yield): distinguish "yield 1,2" and "yield [1,2]".
...
[ruby-dev:20360]
* eval.c (rb_eval): support new_yield() change.
* variable.c (rb_const_get_0): warn for Foo::BAR when BAR is a
toplevel constant (i.e. a constant defined under Object).
[ruby-list:36935]
* parse.y (no_blockarg): separate no block argument check and
ret_args argument processing.
* range.c (rb_range_beg_len): out_of_range check after adjusting
end point. [ruby-dev:20370]
* parse.y (call_args): the first argument to arg_cancat() should
be NODE_LIST. [ruby-core:01151]
* eval.c (rb_eval): should dispatch based on ID type.
* eval.c (rb_yield_0): should restore scope_vmode during yield.
[ruby-dev:20361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-20 07:11:44 +00:00
usa
65ba3eba64
* defines.h (PATH_ENV): name of PATH environment. [new].
...
* defines.h (ENV_IGNORECASE): define for case insensitive platforms
to access environment variables.
* dln.c (dln_find_exe): use PATH_ENV instead of "PATH".
* hash.c (env_delete, rb_f_getenv, env_fetch, rb_env_path_tainted,
env_aset): ditto.
* ruby.c (proc_options): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-20 06:22:50 +00:00
nahi
13e15cecf3
* lib/csv.rb: Import csv module.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-19 16:08:52 +00:00
seki
8fa0e58e61
import from drb-2.0.4b3
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-19 14:00:31 +00:00
eban
bbd5c60e18
* rubytest.rb: add library path to include standard libraries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-19 07:16:58 +00:00
usa
7bb51e6ce9
* hash.c (env_delete, rb_f_getenv, env_fetch): case insensitive to
...
access environment variables on DOSISH platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-19 04:21:25 +00:00
katsu
34cdb70d14
added changelogs about zlib
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-18 14:51:53 +00:00
why
d21bd1c06d
* ext/syck/rubyext.c (rb_syck_load_handler): merge key implemented.
...
* ext/syck/rubyext.c (transfer_find_i): removed use of String#=~ in favor
of Regexp#match.
* lib/yaml.rb: YAML::try_implicit returns.
* lib/yaml/rubytypes.rb: Regexps added for type matching.
* lib/yaml/emitter.rb: fix String + nil error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-18 01:06:00 +00:00
why
ae28f1b6b3
* ext/syck/gram.c: added grammar for certain empty sequence entries.
...
* ext/syck/handler.c, ext/syck/syck.c, ext/syck/syck.h: track bad anchors.
* ext/syck/token.c: added pause token, tag possible circular references.
* lib/yaml/rubytypes.rb: parsing YMD time as Date instance.
* ext/syck/rubyext.c: ditto. DomainType, PrivateType, BadAlias classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-17 16:55:54 +00:00
usa
77e941269f
* win32/win32.c (rb_w32_opendir): need to set errno. [ruby-talk:73761]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-17 12:30:15 +00:00
matz
f7afa61a0a
* eval.c: remove rb_cBlock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-17 03:12:28 +00:00
eban
ae6fd90c18
* numeric.c (rb_fix2uint): renamed from rb_fix2int on IA64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 09:10:17 +00:00
nobu
401805ec13
* eval.c (proc_invoke): format the message for localjump_error().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 08:03:03 +00:00
usa
51e7fc687e
* ext/dl/dl.c (rb_dl_callback): use rb_block_proc() instead of
...
rb_block_new().
* ext/win32ole/win32ole.c (ev_on_event): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 07:25:38 +00:00
matz
590a37880c
* eval.c (proc_alloc): re-unification of Block and Proc. Block
...
class is no longer available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 07:14:50 +00:00
eban
5fb3efb267
* bcc32/Makefile.sub: undefine HAVE_GETGROUPS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 05:44:22 +00:00
matz
aabb785197
* regex.c (calculate_must_string): should handle option_set
...
properly. [ruby-talk:73481]
* regex.c (re_compile_fastmap): a bug in flag manipulation.
[ruby-talk:73549]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 04:49:25 +00:00
matz
d616f6005c
* eval.c (method_arity): should handle NODE_BMETHOD and
...
NODE_DMETHOD. [ruby-core:01138]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-14 13:41:29 +00:00
shugo
e0a5ffa941
* lib/net/ftp.rb (storebinary): seek correctly. Thanks, William Webber.
...
* lib/net/ftp.rb (putbinaryfile): rescue FTPPermError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-13 00:26:51 +00:00
why
e921ea2d78
* ext/syck/token.c: preserve newlines prepended to a block.
...
* ext/syck/implicit.c (syck_match_implicit): added !merge and !default.
* lib/yaml/constants.rb: remove '\z' escape.
* lib/yaml/emitter.rb: ensure reset of @seq_map shortcut flag.
* lib/yaml/encoding.rb: remove Unicode translation methods.
* lib/yaml/rubytypes.rb: improved round-tripping of Strings.
[ruby-core:1134]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 14:15:27 +00:00
matz
373a59b95b
* lib/irb.rb (IRB::Irb::eval_input): warn and exit if $SAFE >=3
...
after input evaluation.
* lib/irb.rb (IRB::Irb::eval_input): untaint input string. now
irb works for levels 1 and 2.
* ext/syck/rubyext.c (syck_loader_transfer): should not use
rb_cProc directly, since type_proc may be Proc, Block, or
Method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 05:22:17 +00:00
nobu
1fe598da35
* configure.in: checks presence of grp.h and setgroups().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-09 10:02:36 +00:00
nobu
31094808f9
* process.c (proc_getgroups, proc_setgroups): raise
...
NotImplementedError unless available. [ruby-talk:73014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-09 04:27:17 +00:00
uema2
32bd3c5679
* wince/setup.mak: set SUBSYSTEM in each platform.
...
* wince/stdlib.c: fix mblen() bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-08 04:38:06 +00:00
matz
9481face42
* parse.y (value_expr0): class and module statements should not be
...
warned for "void value expression". [ruby-talk:72989]
* gc.c (add_final): should determine type by respond_to?
* gc.c (define_final): ditto.
* io.c (rb_io_ctl): should not depend on respond_to?
* range.c (range_step): rb_check_string_type().
* process.c (proc_setgroups): new functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-07 15:34:31 +00:00
nobu
fb81dcb863
* eval.c (error_print): needs to be exception proof.
...
* eval.c (error_handle, rb_longjmp): bails out when exception
reentered. (ruby-bugs-ja:PR#487), [ruby-core:01119],
[ruby-core:01122]
* eval.c (Init_Proc): pre-allocates critical error objects.
* parse.y (cmd_brace_block, do_block, brace_block): initialize block
variables at the beginning of the block. [ruby-talk:72521]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 11:29:20 +00:00
matz
bad7546f15
* gc.c (define_final): eliminate rb_f_lambda() call.
...
* class.c (rb_scan_args): ditto.
* signal.c (sig_trap): ditto.
* hash.c (rb_hash_initialize): ditto.
* variable.c (rb_f_trace_var): ditto.
* ext/dl/dl.c (rb_dl_callback): ditto.
* ext/win32ole/win32ole.c (ev_on_event): ditto.
* eval.c (ruby_cleanup): $SAFE is turned off in the finalization.
Each END proc should preserve its own $SAFE level. [ruby-core:01119]
* marshal.c (marshal_load): remove unused variable "hash".
[ruby-core:01120]
* hash.c (env_str_new): freeze strings from ENV. [ruby-talk:72860]
* array.c (rb_ary_first): optional argument to retrieve first n
elements.
* array.c (rb_ary_last): optional argument to retrieve last n
elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 09:44:22 +00:00
matz
9e77e91a13
* eval.c (ruby_cleanup): $SAFE is turned off in the finalization.
...
Each END proc should preserve its own $SAFE level. [ruby-core:01119]
* marshal.c (marshal_load): remove unused variable "hash".
[ruby-core:01120]
* hash.c (env_str_new): freeze strings from ENV. [ruby-talk:72860]
* array.c (rb_ary_first): optional argument to retrieve first n
elements.
* array.c (rb_ary_last): optional argument to retrieve last n
elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 09:24:59 +00:00
aamine
1fa5c630cd
* lib/net/http.rb: define Net::HTTPResponse#to_ary for backward compatibility. [ruby-talk:72927]
...
* lib/net/protocol.rb: add warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06 07:05:52 +00:00
why
56796022a6
* ext/syck/rubyext.c (syck_parser_mark): was a bit heavy on the GC.
...
* lib/yaml.rb (YAML::transfer): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 17:42:06 +00:00
uema2
b5d717afda
* wince/stdlib.c: add mblen().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 12:33:19 +00:00
usa
b1937a53e6
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(MISSING): link with missing/erf.c.
* missing.h (erf, erfc): fix prototype.
* missing/erf.c: new. [ruby-list:37753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 09:38:01 +00:00
eban
d9f893b70b
* ext/curses/curses.c (window_s_allocate,curses_finalize):
...
avoid VC++ warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 09:36:30 +00:00
matz
c004ecfa1e
* math.c (math_erf,math_erfc): new function. [ruby-list:37753]
...
* eval.c (ruby_finalize): no longer need to turn off $DEBUG in the
finalizer. (ruby-bugs-ja PR#473)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 06:40:42 +00:00
why
bd368e9749
* ext/syck/rubyext.c: using GC nodes caused segfault. [ruby-core:1071]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 05:40:03 +00:00
why
017d4ff10a
* ext/syck/token.c: directives choked on a period.
...
* ext/syck/gram.y: anchors work above a collection. [ruby-core:1071]
* ext/syck/handler.c, ext/syck/syck.c: ensure a fresh strtable between
parser iterations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 04:43:05 +00:00
matz
45c7ea552d
* eval.c (rb_call_super): should search superclass method based on
...
orig_func, not last_func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-03 13:57:06 +00:00
matz
c5fc4bca6d
* eval.c (rb_call_super): inheritance line adjustment moved from
...
rb_call(). [ruby-core:01113]
* eval.c (rb_eval): use rb_call_super() to follow DRY principle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-03 09:40:21 +00:00