* lib/net/imap.rb: add document and example code.
596 lines of code changed in:
* lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.
7 lines of code changed in:
* ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to C
rules for the mswin32 platforms.
37 lines of code changed in:
* ext/extmk.rb.in, lib/mkmf.rb: move C++ rules to the right place.
22 lines of code changed in:
* object.c (rb_str2cstr): warn if string contains \0 and length
value is ignored.
* class.c (rb_singleton_class_clone): should copy class constant
table as well.
* class.c (rb_include_module): sometimes cache was mistakenly left
uncleared - based on the patch by K.Kosako.
* ruby.h: all Check_SafeStr()'s are replaced by SafeStr() to
ensure 'to_str' be always effective.
114 lines of code changed in:
* win32/Makefile.sub: disable global optimization.
5 lines of code changed in:
* eval.c (rb_mod_define_method): should have clear method cache.
* eval.c (rb_mod_define_method): should have raised exception for
type error.
* ruby.h: changed "extern INLINE" to "static inline".
124 lines of code changed in:
* time.c (rb_strftime): check whether strftime returns empty string.
5 lines of code changed in:
* lib/net/imap.rb: added example.
5 lines of code changed in:
* lib/net/imap.rb: supports response handlers and multiple commands.
167 lines of code changed in:
* ext/md5/md5init.c (md5i_new): remove rb_scan_args().
0 lines of code changed in:
* eval.c: remove TMP_PROTECT_END to prevent C_ALLOCA crash.
* file.c (rb_file_flock): do not trap EINTR.
* missing/flock.c (flock): returns the value from lockf(2)
directly.
* eval.c (ev_const_defined): should ignore toplevel cbase (Object).
* eval.c (ev_const_get): ditto.
* ext/md5/md5.h: replace by independent md5 implementation
contributed by L. Peter Deutsch (thanks).
* ext/md5/md5init.c: adopted to Deutsch's md5 implementation.
* pack.c (pack_unpack): string from P/p should be tainted.
* ext/curses/curses.c: curses on Mac OS X public beta does not
have _maxx etc.
* marshal.c (w_object): should truncate trailing zero short for
bignums.
* object.c (sym_intern): new method.
547 lines of code changed in:
* eval.c: remove TMP_PROTECT_END to prevent C_ALLOCA crash.
* ext/Win32API/Win32API.c: remove Init_win32api().
* file.c (rb_file_flock): do not trap EINTR.
* missing/flock.c (flock): returns the value from lockf(2)
directly.
* eval.c (ev_const_defined): should ignore toplevel cbase (Object).
* eval.c (ev_const_get): ditto.
* ext/md5/md5.h: replace by independent md5 implementation
contributed by L. Peter Deutsch (thanks).
* ext/md5/md5init.c: adopted to Deutsch's md5 implementation.
* pack.c (pack_unpack): string from P/p should be tainted.
* ext/curses/curses.c: curses on Mac OS X public beta does not
have _maxx etc.
* marshal.c (w_object): should truncate trailing zero short for
bignums.
* object.c (sym_intern): new method.
44 lines of code changed in:
* ext/Win32API/Win32API.c: remove Init_win32api().
7 lines of code changed in:
* ext/Win32API/extconf.rb: add -fno-omit-frame-pointer.
5 lines of code changed in:
* eval.c (rb_mod_nesting): should not include Object at the
toplevel.
6 lines of code changed in:
* ruby.h: better inline function support.
* configure.in (NO_C_INLINE): check if inline is available for the
C compiler.
* marshal.c (r_object): len calculation patch was wrong for
machines SIZEOF_BDIGITS == SIZEOF_SHORT.
* gc.c: alloca prototype reorganized for C_ALLOCA machine.
36 lines of code changed in:
* win32/win32.c (isUNCRoot): multibyte character support.
10 lines of code changed in:
* win32/win32.c (win32_stat): WinNT/2k "//host/share" support.
26 lines of code changed in:
rb_iglob -> rb_globi
2 lines of code changed in:
* ruby.h: rb_sys_stat -> stat
11 lines of code changed in:
* gc.c (id2ref): sometimes confused symbol and reference.
* dir.c (glob_helper): breaks loop after calling recusive
glob_helper; all wild cards should be consumed; no need for
further match.
* dir.c (dir_s_glob): gives warning if no match found.
* object.c (sym_inspect): did allocate extra byte space.
* marshal.c (shortlen): shortlen should return number of bytes
written.
* eval.c (ev_const_defined): need not to check if cbase->nd_class
is rb_cObject.
* eval.c (ev_const_get): ditto.
* time.c (time_zone): return "UTC" for UTC time objects.
* eval.c (THREAD_ALLOC): flags should be initialized.
* signal.c (rb_f_kill): should use FIX2INT, not FIX2UINT.
99 lines of code changed in:
* win32/dir.h: replace missing/dir.h .
* win32/win32.h: ditto.
* win32/win32.c: ditto.
34 lines of code changed in:
* win32/win32.c (win32_stat): UNC support.
* dir.c (extract_path): fix "./*" problem.
39 lines of code changed in:
* dir.c (glob_helper): replace lstat() by stat() to follow symlink
in the case like 'symlink/*'.
* dir.c (glob_helper): gave warning too much.
106 lines of code changed in:
very sorry check miss.
1 lines of code changed in:
sorry erase miss.
1 lines of code changed in:
Sun Mar 18 08:58:18 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/net/cgi.rb: // === '' --> //.match('')
* lib/net/cgi.rb: cgi#header(): improvement for mod_ruby.
* lib/net/cgi.rb: cgi#rfc1123date(): improvement.
thanks to TADA Tadashi <sho@spc.gr.jp>.
* lib/net/cgi.rb: cgi#rfc1123date(): document bug fix.
thanks to Kazuhiro NISHIYAMA <zn@mbf.nifty.com>.
* lib/net/cgi.rb: cgi#header(): bug fix.
thanks to IWATSUKI Hiroyuki <don@na.rim.or.jp>.
35 lines of code changed in:
* dir.c (dir_s_chdir): block form of Dir.chdir. (RCR#U016).
53 lines of code changed in:
* configure.in: Set SOLIBS properly for all ELF and
FreeBSD/NetBSD/OpenBSD a.out platforms so that the shlib
dependencies are recorded in the libruby shlib.
14 lines of code changed in:
* eval.c (rb_thread_schedule): raise FATAL just once to
THREAD_TO_KILL.
16 lines of code changed in:
* eval.c (rb_yield_0): 0 (= Qfalse) is a valid value, so that
default self should be checked by klass == 0.
* bignum.c (rb_cstr2inum): should disallow '++1', '+-1', etc.
14 lines of code changed in:
* eval.c (ev_const_defined): add new parameter self for special
const fallback.
* eval.c (ev_const_get): ditto.
16 lines of code changed in:
* dir.c (rb_glob_helper): fix drive letter handling on DOSISH.
13 lines of code changed in:
garvage is included.
0 lines of code changed in:
* parse.y: warn -> rb_warn
1 lines of code changed in:
aamine
* lib/net/http.rb: add HTTPRequest#basic_auth.
* lib/net/smtp.rb: raise if only account or password is given.
* lib/net/protocol.rb: WriteAdapter#<< returns self.
25 lines of code changed in:
* io.c (argf_seek_m): wrong calling sequence of rb_io_seek().
* parse.y (cond0): no special treatment of string literal in
condition.
* math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math.
* configure.in: check hypot availablility.
* missing/hypot.c: public domain rewrite of hypot.
* parse.y (warn_unless_e_option): warning condition was wrong.
* parse.y (warning_unless_e_option): ditto.
* enum.c (enum_all): new method 'all?', which returns true if
block returns true for all elements.
* enum.c (enum_any): new method 'any?', which returns true if
block retruns true for any of elements.
* marshal.c (marshal_load): do not give warning unless explicitly
set to verbose.
* eval.c (rb_exit): give string value "exit" to SystemExit.
* ruby.c (proc_options): -v should not print version if
proc_options called via moreswitches().
* parse.y (stmt): while/until modifier must work for empty body.
266 lines of code changed in:
* lib/mkmf.rb (create_makefile): save/restore $libs and $LIBPATH.
10 lines of code changed in:
* lib/mkmf.rb (install_rb): fix handling of destination path.
7 lines of code changed in:
* math.c (math_log, math_log10): use nan() instead of 0.0/0.0 on Cygwin.
8 lines of code changed in:
aamine
* lib/net/protocol.rb: one write(2) per one line.
26 lines of code changed in:
* math.c (math_log, math_log10): should return NaN if x < 0.0
on Cygwin.
12 lines of code changed in:
* lib/monitor.rb: fixed the example code.
35 lines of code changed in:
* parse.y (primary): rescue and ensure clauses should be allowed
to appear in singleton method body.
171 lines of code changed in:
* eval.c (proc_eq): compare Procs using blocktag equality.
78 lines of code changed in:
2001-03-05
2 lines of code changed in:
* win32/win32.c (gettimeofday): use GetLocalTime() instead of ftime()
for high-resolution timing.
20 lines of code changed in:
Fill a missed ChangeLog entry.
5 lines of code changed in:
* string.c (trnext): support backslash escape in String#tr.
11 lines of code changed in: