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
c39a8e326a
* string.c (rb_str_substr): should share the shared string if
...
present, instead of the original string. (ruby-bugs:PR#528)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 07:55:17 +00:00
nobu
3d2ddca6b2
* ext/socket/socket.c (tcp_svr_init): local host to
...
init_inetsock() is VALUE but not pointer.
* ext/socket/socket.c (sock_s_unpack_sockaddr_in): get rid of
gcc-3 -O3 warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 20:14:51 +00:00
nobu
f0371138ee
* file.c (rb_file_s_chmod): get rid of gcc-3 -O3 warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 18:14:22 +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
nobu
05b990b7c1
* gc.c (gc_sweep): adjust GC trigger.
...
* dln.c (init_funcname_len): get rid of gcc-3 -O3 warning.
* eval.c (copy_node_scope): ditto.
* hash.c (rb_hash_foreach, delete_if_i, select_i, each_value_i,
each_key_i, each_pair_i, envix): ditto.
* range.c (range_each_func): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 14:51:22 +00:00
aamine
0569c8422c
add location.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 06:32:09 +00:00
aamine
8b034b5f3d
forgot to commit ChangeLog.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 06:29:52 +00:00
aamine
4ff3371f88
* lib/fileutils.rb: should not inherit ftools.rb's misfeature.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 06:24:56 +00:00
usa
4a1c7e5f6d
* lib/fileutils.rb (cmp): return false if file size differs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-28 20:11:35 +00:00
eban
2672d0cc28
* instruby.rb: remove junk args.
...
* lib/mkmf.rb (create_makefile): remove a trouble library
before making a shared library.
* win32/Makefile.sub: invoke instruby.rb with the --make-flags option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-28 10:32:05 +00:00
wakou
025723b978
* lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA
...
<zn@mbf.nifty.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 18:12:36 +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
3902064314
* instruby.rb: use getopts.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 16:28:10 +00:00
eban
c40c0f726b
* {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options.
...
nmake quotes args if included `=' in args.
* instruby.rb: use getopts.rb.
* ext/dbm/extconf.rb: substitute ' with ".
* ext/gdbm/gdbm.c: add prototypes to avoid VC++ warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 16:13:56 +00:00
nobu
212d3ebfff
* bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir from
...
CPP input or UNC path will be removed as a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 12:42:06 +00:00
uema2
e0006c665d
* wince/config, wince/configure.bat: replace 1.7 with 1.8
...
in macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 08:55:31 +00:00
aamine
46f9785468
* instruby.rb: fileutils.rb accepts only one argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 04:23:52 +00:00
aamine
585cf46325
* lib/fileutils.rb (fu_parseargs): reject illegal options correctly.
...
* lib/fileutils.rb (uptodate?): parameter declaration was wrong.
* lib/fileutils.rb: change coding styles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 04:21:27 +00:00
nobu
888b9a9739
* instruby.rb: check only `-' option, and use fileutils instead of
...
ftools.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 18:01:34 +00:00
wakou
2c5e792dd2
* lib/net/telnet.rb: Telnet#print not add "\n".
...
* lib/cgi.rb: cgi['key'] is equal cgi['key'][0]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 17:48: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
eban
cdefda39b4
commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 15:15:44 +00:00
eban
c7976a64fc
* configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 15:12:06 +00:00
eban
220a9926c5
* ext/extmk.rb (create_makefile): check only `-' option.
...
* configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS.
* win32/win32.h: prototypes for isinf, isnan are not needed on MinGW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 14:59:35 +00:00
usa
b90bdc3e25
* win32/setup.mak (-prologue-): moved srcdir macro definition.
...
[ruby-win32:420].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 10:27:57 +00:00
gotoken
c66a0f7cc6
exiled historical RD inclusion, wrong [ruby-dev:19191]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-25 17:22:58 +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
nobu
25fa63dc04
* bcc32/setup.mak (-generic-): removed garbages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-25 02:08:24 +00:00
usa
8b79dd5e82
* bcc32/Makefile.sub, win32/Makefile.sub (RUBY_SO_NAME, config.h):
...
use $(MAJOR) and $(MINOR). based on Nobu's patch. [ruby-win32:413]
* bcc32/setup.mak, win32/setup.mak (-prologue-): define MAJOR, MINOR
and TEENY from version.h. based on Nobu's patch. [ruby-win32:413]
* win32/Makefile.sub (config.h): add HAVE_FLOAT_H.
* win32/Makefile.sub (parse.obj): depend on win32/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-25 01:49:27 +00:00
knu
e08fca8bc0
Synchronize with reality.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 17:36:08 +00:00
knu
58e53cddef
* lib/irb/completion.rb: Use Object#class rather than Object#type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 14:50:10 +00:00
knu
36dbbb1b6a
* lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do not
...
pass to split() a bare string longer than 2 characters as
separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 14:42:38 +00:00
usa
96737482af
* numeric.c (DBL_MAX_10_EXP): fix typo. [ruby-dev:36826]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 10:20:29 +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
matz
e274c3ab76
* class.c (ins_methods_i): should not show ID_ALLOCATOR.
...
* class.c (ins_methods_prot_i): ditto.
* class.c (ins_methods_priv_i): ditto.
* class.c (ins_methods_pub_i): ditto.
* eval.c (call_trace_func): ditto.
* eval.c (rb_undefined): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 08:02:00 +00:00
knu
2b334012fc
Convert RD to Rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 05:29:04 +00:00
knu
51c4390f68
* lib/README: Synchronize with reality.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-23 17:13:25 +00:00
knu
9ec0a96ad4
* MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-23 17:07:49 +00:00
knu
80a319d347
Rename an argument name to avoid a potential clash.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-23 14:48:14 +00:00
usa
ec827b7112
* ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-21 19:08:50 +00:00
usa
b469f3155a
* array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc),
...
file.c (rb_stat_s_alloc), hash.c (hash_alloc), io.c (io_alloc),
object.c (rb_module_s_alloc, rb_class_allocate_instance),
re.c (match_alloc, rb_reg_s_alloc), string.c (str_alloc),
time.c (time_s_alloc), ext/digest/digest.c (rb_digest_base_alloc),
ext/tcltklib/tcltklib.c (ip_alloc),
ext/win32ole/win32ole.c (fole_s_allocate, fev_s_allocate)
: add prototype to get rid of VC++ warnings.
* ext/sdbm/init.c (fsdbm_alloc): allocator takes only one argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-21 18:02:01 +00:00
eban
a36b7eea8a
* lib/mkmf.rb (create_makefile): accept pure ruby libraries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-21 15:42:10 +00:00
nobu
d0527b05d8
* misc/ruby-mode.el (ruby-parse-partial): keywords must not be
...
preceded by @ or $.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 22:27:30 +00:00
nobu
85ce703fab
ditto.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 11:30:13 +00:00
nobu
3780ede6ef
* ext/curses/curses.c, ext/digest/digest.c, ext/dl/handle.c,
...
ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c, ext/iconv/iconv.c,
ext/stringio/stringio.c, ext/strscan/strscan.c,
ext/tcltklib/tcltklib.c, ext/win32ole/win32ole.c:
use rb_define_alloc_func().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 11:23:40 +00:00
nobu
5b615c70eb
* io.c (rb_io_fwrite): separated from io_write().
...
* marshal.c (w_byten): use rb_io_fwrite() to support non-blocking
IO, and added error check.
* rubyio.h: prototypes; rb_io_fwrite
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 09:29:41 +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
matz
71ef585f4e
* object.c (Init_Object): should not remove Class#allocate.
...
* lib/profiler.rb: separate profiling functions, without
trace_func and at_exit setting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 09:00:10 +00:00
matz
bc49bc7c6b
* parse.y (do_block): split "do" block and tLBRACE_ARG block.
...
* parse.y (cmd_brace_block): new tLBRACE_ARG block rule
* parse.y (command): can take optional cmd_brace_block; use %prec
to resolve shift/reduce conflict. (ruby-bugs-ja PR#372)
* eval.c (ruby_finalize): trace_func should be cleared here (after
executing exit procs and finalizers).
* eval.c (rb_define_alloc_func): new allocation framework, based
on Nobu's work [ruby-dev:19116]. "allocate" method is no longer
used for object allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 08:33:17 +00:00