1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
matz 6d481a4ae4 * hash.c (env_clear): new Hash compatible method.
* hash.c (env_shift): ditto.

* hash.c (env_invert): ditto.

* hash.c (env_replace): ditto.

* hash.c (env_update): ditto.

* array.c (rb_ary_join): dispatch based on "to_str".

* array.c (rb_ary_times): ditto.

* array.c (rb_ary_equal): ditto.

* process.c (rb_f_exec): dispatch based on "to_ary".

* eval.c (umethod_bind): exact class match is not required.  relax
  the restriction to subclasses.

* eval.c (rb_eval): call "inherited" before executing class body.

* class.c (rb_define_class): call "inherited" after defining the
  constant.

* class.c (rb_define_class_under): ditto.

* eval.c (massign): expand first element if RHS is an array and
  its size is 1, and LHS has concrete assignment target (i.e. LHS
  has target(s) other than *var).

* eval.c (massign): avoid unnecessary avalue/svalue conversion.

* eval.c (rb_yield_0): ditto

* array.c (rb_ary_update): do not allocate unused array if rpl is
  nil (i.e. merely removing elements).

* io.c (io_read): should resize supplied string if it's shorter
  than expected.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-07 07:36:40 +00:00
..
cgi Delete final.rb, which was obsoleted long ago. 2002-12-19 18:55:32 +00:00
date use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
irb * lib/irb/completion.rb: Use Object#class rather than Object#type. 2002-12-24 14:50:10 +00:00
net * lib/net/telnet.rb: Telnet#print not add "\n". 2002-12-26 17:48:29 +00:00
optparse * lib/optparse.rb (OptionParser::Switch::parse_arg): require block 2002-08-07 23:48:47 +00:00
racc use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
shell use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
uri * removed URI::Generic#to_ary. 2002-12-16 00:52:32 +00:00
base64.rb This commit was generated by cvs2svn to compensate for changes in r372, 1999-01-20 04:59:39 +00:00
benchmark.rb exiled historical RD inclusion, wrong [ruby-dev:19191] 2002-12-25 17:22:58 +00:00
cgi-lib.rb * lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do not 2002-12-24 14:42:38 +00:00
cgi.rb * lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA 2002-12-27 18:12:36 +00:00
complex.rb * range.c (range_step): iteration done using "+" if elements are 2002-05-30 06:12:29 +00:00
date.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
date2.rb matz - date/date2 integration 2000-07-18 07:37:02 +00:00
debug.rb DEBUGGER__::Context::debug_print_help: Typo fix of help message. 2002-11-09 15:34:20 +00:00
delegate.rb * math.c (math_acos): check errno after operation. ditto for 2002-11-14 06:18:59 +00:00
e2mmap.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
English.rb * lib/English.rb: typo 2002-01-11 09:22:04 +00:00
Env.rb * eval.c (proc_call): should not modify ruby_block->frame.iter 2001-02-26 05:29:06 +00:00
erb.rb * erb.rb: fix def_class bug. 2002-11-21 14:39:26 +00:00
eregex.rb 2000-02-23 2000-02-23 05:23:12 +00:00
fileutils.rb * lib/fileutils.rb (ln): add ' -f' in the verbose message. 2003-01-06 09:34:16 +00:00
finalize.rb * class.c (rb_define_method): do not set NOEX_CFUNC if klass is 2002-11-07 19:18:16 +00:00
find.rb * gc.c (id2ref): sometimes confused symbol and reference. 2001-03-21 03:41:45 +00:00
forwardable.rb * matrix.rb (Matrix#column_vectors, Matrix#row_vectors): ditto bug. 2001-11-03 13:41:57 +00:00
ftools.rb * lib/ftools.rb (compare): don't return with a file opened 2002-06-20 08:59:59 +00:00
getoptlong.rb * io.c (io_read): takes optional second argument to specify a 2002-12-11 09:32:41 +00:00
getopts.rb * lib/getopts.rb: Do not choke on characters that cannot be used 2002-11-03 19:05:33 +00:00
importenv.rb * eval.c (proc_call): should not modify ruby_block->frame.iter 2001-02-26 05:29:06 +00:00
ipaddr.rb * MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough. 2002-12-23 17:07:49 +00:00
irb.rb * array.c (rb_ary_zip): iterates over items in the receiver. 2002-11-19 08:07:51 +00:00
jcode.rb * lib/jcode.rb: fixup quote handing. 2001-09-06 08:12:24 +00:00
mailread.rb * ext/socket/socket.c (unix_addr): getsockname(2) may result len = 0. 2001-10-02 04:31:23 +00:00
mathn.rb forgot some checkins. 2001-05-06 15:06:00 +00:00
matrix.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
mkmf.rb * Makefile.in, {win32,bcc32}/Makefile.sub: add new target: 2002-12-31 12:31:12 +00:00
monitor.rb * lib/monitor.rb (wait): fix timeout support. 2001-04-02 05:27:49 +00:00
mutex_m.rb * lib/sync.rb: bug fix if obj.initialize has parameters when 2001-06-06 14:19:33 +00:00
observer.rb * observer.rb: raise NoMethodError instead of NameError. [ruby-dev:18788] 2002-11-14 22:46:00 +00:00
open-uri.rb Add a missing ||. 2002-12-18 19:22:46 +00:00
open3.rb * file.c (rb_stat_rdev_major): added. [new] 2002-01-29 07:16:09 +00:00
optparse.rb renamed OptionParser#new to #define. 2002-12-02 09:40:44 +00:00
ostruct.rb * instruby.rb: not rewrite installed scripts when dry-run mode. 2002-11-18 20:09:46 +00:00
parsearg.rb * numeric.c (num_to_int): default to_int implementaion for every 2002-07-29 06:14:10 +00:00
parsedate.rb use Array#select instead of Array#indexes. 2002-05-18 12:57:54 +00:00
ping.rb * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:22:18 +00:00
pp.rb * lib/pp.rb (PP.singleline_pp): new method. 2002-12-02 16:16:05 +00:00
prettyprint.rb * lib/prettyprint.rb (PrettyPrint.singleline_format): new method. 2002-10-08 01:58:34 +00:00
profile.rb * object.c (Init_Object): should not remove Class#allocate. 2002-12-20 09:00:10 +00:00
profiler.rb * object.c (Init_Object): should not remove Class#allocate. 2002-12-20 09:00:10 +00:00
pstore.rb * hash.c (env_clear): new Hash compatible method. 2003-01-07 07:36:40 +00:00
rational.rb * lib/rational.rb(Rational#hash): modify algorism for hash-function. 2002-08-15 07:36:35 +00:00
readbytes.rb 1.4.0 1999-08-13 05:45:20 +00:00
README * lib/README: Synchronize with reality. 2002-12-23 17:13:25 +00:00
resolv-replace.rb * ruby.c (proc_options): unexpected SecurityError happens when -T4. 2001-05-30 09:10:30 +00:00
resolv.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
set.rb Convert RD to Rdoc. 2002-12-24 05:29:04 +00:00
shell.rb * lib/shell.rb (Shell::expand_path): relative to @cwd. 2002-02-25 04:35:12 +00:00
shellwords.rb * lib/shellwords.rb: don't destroy argument. 2001-06-03 19:25:07 +00:00
singleton.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
sync.rb * lib/sync.rb: bug fix if obj.initialize has parameters when 2001-06-06 14:19:33 +00:00
tempfile.rb Rename an argument name to avoid a potential clash. 2002-12-23 14:48:14 +00:00
thread.rb * file.c (rb_find_file): $LOAD_PATH must not be empty. 2002-08-27 08:31:08 +00:00
thwait.rb matz 2000-09-25 09:15:08 +00:00
time.rb * lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness. 2002-08-24 05:18:08 +00:00
timeout.rb * lib/timeout.rb (timeout): new optional argument to specify an 2002-01-16 03:37:23 +00:00
tracer.rb * class.c (rb_define_method): do not set NOEX_CFUNC if klass is 2002-11-07 19:18:16 +00:00
tsort.rb * pp.rb (ARGF.pretty_print): implemented. 2002-09-11 12:29:17 +00:00
uri.rb * removed URI::Generic#to_ary. 2002-12-16 00:52:32 +00:00
weakref.rb * lib/weakref.rb (WeakRef::@@final): use Hash#delete. 2002-10-10 07:00:07 +00:00

English.rb	lets Perl'ish global variables have English names
Env.rb		loads importenv.rb
README		this file
base64.rb	encodes/decodes base64 (obsolete)
benchmark.rb	a benchmark utility
cgi-lib.rb	simple CGI support library (old style)
cgi.rb		CGI support library
cgi/session.rb	CGI session class
complex.rb	complex number suppor
date.rb		date object
date/format.rb	date parsing and formatting
date2.rb	date object (obsolete; use date)
debug.rb	ruby debugger
delegate.rb	delegates messages to other object
e2mmap.rb	exception utilities
erb.rb		tiny eRuby library
eregex.rb	extended regular expression (just a proof of concept)
fileutils.rb	file utilities
finalize.rb	adds finalizer to the object
find.rb		traverses directory tree
forwardable.rb	explicit delegation library
ftools.rb	file tools
getoptlong.rb	GNU getoptlong compatible
getopts.rb	parses command line options (use getoptlong)
importenv.rb	imports environment variables as global variables
ipaddr.rb	defines the IPAddr class
irb.rb		interactive ruby
jcode.rb	Japanese text handling (replace String methods)
mailread.rb	reads mail headers
mathn.rb	extended math operation
matrix.rb	matrix calculation library
mkmf.rb		Makefile maker
monitor.rb	exclusive region monitor for thread
mutex_m.rb	mutex mixin
net/ftp.rb	ftp access
net/http.rb	HTTP access
net/imap.rb	IMAP4 access
net/pop.rb	POP3 access
net/protocol.rb	abstract class for net library (DO NOT USE)
net/smtp.rb	SMTP access
net/telnet.rb	telnet library
observer.rb	observer desing pattern library (provides Observable)
open-uri.rb     easy-to-use network interface using URI and Net
open3.rb	opens subprocess connection stdin/stdout/stderr
ostruct.rb	python style object
parsearg.rb	argument parser using getopts
parsedate.rb	parses date string
ping.rb		checks whether host is up, using TCP echo.
pp.rb		pretty print objects
prettyprint.rb	pretty printing algorithm
profile.rb	runs ruby profiler
profiler.rb	ruby profiler module
pstore.rb	persistent object strage using marshal
racc/parser.rb	racc (Ruby yACC) runtime
rational.rb	rational number support
readbytes.rb	define IO#readbytes
resolv-replace.rb	replace Socket DNS by resolve.rb
resolv.rb	DNS resolver in Ruby
set.rb		defines the Set class
shell.rb	runs commands and does pipeline operations like shell
shellwords.rb	split into words like shell
singleton.rb	singleton design pattern library
sync.rb		2 phase lock
tempfile.rb	temporary file with automatic removal
thread.rb	thread support
thwait.rb	thread syncronization class
time.rb		RFC2822, RFC2616, ISO8601 style time formatting/parsing
timeout.rb	provides timeout
tracer.rb	execution tracer
tsort.rb	topological sorting
uri.rb		URI support
uri/ftp.rb	ftp scheme support
uri/http.rb	http scheme support
uri/https.rb	https scheme support
uri/ldap.rb	ldap scheme support
uri/mailto.rb	mailto scheme support
weakref.rb	weak reference class