* lib/matrix.rb: resolve 'ruby -w' warnings.
* lib/irb/locale.rb: resolve 'ruby -w' warnings.
* lib/irb/multi-irb.rb: resolve 'ruby -w' warnings.
* lib/irb/ruby-lex.rb: fix problem for "\\M-\\..." and "\\C-\\..."
and resolve 'ruby -w' warnings.
* lib/irb/ruby-token.rb: fix typo
* lib/shell/command-processor.rb: resolve 'ruby -w' warnings.
27 lines of code changed in:
* protocol.rb,smtp.rb,pop.rb,http.rb: modify document.
189 lines of code changed in:
sorry, check in miss.
2 lines of code changed in:
aamine
* lib/net/pop.rb: new methods POP3.auth_only, POP3#auth_only
* lib/net/http.rb: HTTP.Proxy returns self if ADDRESS is nil.
* lib/net/protocol.rb: new method ProtocolError#response
* lib/net/protocol.rb,smtp.rb,pop.rb,http.rb: add document.
742 lines of code changed in:
* ext/tcltklib/stubs.c (ruby_tcltk_stubs): fix a typo in comment
1 lines of code changed in:
* eval.c (svalue_to_avalue): new conversion scheme between single
value and array values.
* eval.c (avalue_to_svalue): ditto.
* eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return
and yield too.
* eval.c (rb_yield_0): use avalue_to_svalue().
* eval.c (proc_invoke): Proc#call gives avaules, whereas
Proc#yield gives mvalues.
* eval.c (bmcall): convert given value (svalue) to avalue.
88 lines of code changed in:
* ext/readline/readline.c (readline_event): a non-void function
should return a value.
6 lines of code changed in:
* ext/socket/socket.c (ruby_connect): typo
1 lines of code changed in:
* ext/socket/socket.c (ruby_connect): workaround for the setup of
Cygwin socket.
13 lines of code changed in:
* lib/irb/locale.rb: fix for require "kconv" problem
18 lines of code changed in:
* eval.c (rb_yield_0): no mvalue_to_svalue conversion here.
* eval.c (massign): takes svalue, convert it to mvalue inside.
* eval.c (rb_eval): parameters for yield/return are always
svalues now.
* eval.c (svalue_to_mvalue): more strict conversion.
* eval.c (mvalue_to_svalue): ditto.
* st.c (new_size): prime hash size enabled.
* ext/socket/socket.c (Init_socket): SO_* constants added.
155 lines of code changed in:
* gc.c (rb_setjmp): avoid GCC 3.0 warnings.
22 lines of code changed in:
2001-06-19
2 lines of code changed in:
* ext/readline/readline.c: add new methods:
Readline::completion_append_character and
Readline::completion_append_character=.k
56 lines of code changed in:
* eval.c (svalue_to_mvalue): new function to convert from svalue
to mvalue. [experimental]
* eval.c (mvalue_to_svalue): new function to convert from mvalue
to svalue.
* eval.c (rb_eval): use mvalue_to_svalue().
* eval.c (rb_yield_0): use mvalue_to_svalue().
* eval.c (proc_invoke): proper mvalue handling.
89 lines of code changed in:
Update.
5 lines of code changed in:
* eval.c (rb_f_require): searches ".rb" and ".so" at the same
time. previous behavior (search ".rb", then ".so") has a
security risk (ruby-bugs#PR140).
* array.c (rb_ary_to_ary): new function to replace internal
rb_Array(), which never calls to_a, but to_ary (rb_Array() might
call both). [new]
* regex.c (PUSH_FAILURE_POINT): push option status again.
* regex.c (re_compile_pattern): avoid pushing unnecessary
option_set.
* eval.c (rb_load): tainted string is OK if wrapped *and*
$SAFE >= 4.
* eval.c (rb_thread_start_0): should not nail down higher blocks
before preserving original context (i.e. should not alter
original context).
* eval.c (proc_yield): new method equivalent to Proc#call but no
check for number of arguments. [new]
248 lines of code changed in:
* dir.c (Init_Dir): add a new method File::fnmatch? along with
File::Constants::FNM_*. While I am here, FNM_NOCASE is renamed
to FNM_CASEFOLD which is commonly used by *BSD and GNU libc.
51 lines of code changed in:
Update.
4 lines of code changed in:
* eval.c (method_eq): new method Method#==. [new]
* gc.c (STR_NO_ORIG): STR_NO_ORIG value was different between
string.c and gc.c
* eval.c (rb_eval): should convert *non-array at the end of
arguments by using Array().
* hash.c (ruby_setenv): readline library leaves their environment
strings uncopied. "free" check revised.
54 lines of code changed in:
* lib/mkmf.rb: target_prefix is only for installation, not for
build.
22 lines of code changed in:
* confgure.in: add RUBY_CANONICAL_BUILD.
7 lines of code changed in:
* ext/extmk.rb.in: Use -F and -T for mswin32 because cl.exe doesn't support -o officially and cl.exe considers that *.cc and *.cxx are OBJs.
* lib/mkmf.rb: ditto.
* win32/Makefile.sub: Use del instead of rm. All these changes are derived from Nobuyoshi Nakada's patch. Thanks.
142 lines of code changed in:
Add an entry.
4 lines of code changed in:
remove debug printf
0 lines of code changed in:
* gc.c (Init_stack): avoid __builtin_frame_address(2) to retrieve
stack bottom line.
* st.c (numhash): should shuffle bits by dividing by prime number.
* eval.c (rb_eval): multiple assignment behavior fixed, which
results "*a = nil" makes "a == []" now.
* eval.c (rb_f_require): should set SCOPE_PUBLIC before calling
dln_load().
170 lines of code changed in:
* parse.y (yylex): incomplete fix.
2 lines of code changed in:
* parse.y (yylex): exclude kDO_BLOCK too much by false condition.
14 lines of code changed in:
* lib/sync.rb: bug fix if obj.initialize has parameters when
obj.extend(Sync_m)
* lib/mutex_m.rb: modified bit
54 lines of code changed in:
bug fix for obj.extend(Mutex_m).
This is patched by akira yamada.
21 lines of code changed in:
* eval.c (rb_load): should check if tainted even when wrap is
specified.
* regex.c (re_compile_pattern): too much optimization for the
cases like /(.|a)b/.
12 lines of code changed in:
* parse.y (aref_args): "*arg" should always be expanded by REXPAND.
* variable.c (fc_i): removed vast string allocation.
81 lines of code changed in:
Update.
32 lines of code changed in:
* error.c (Init_Exception): NameError went under StandardError,
and NoMethodError went under NameError.
* parse.y (rb_intern): non identifier symbols should be
categorized as ID_JUNK. [new]
33 lines of code changed in:
* variable.c (rb_mod_const_at): use hash table as internal
data. [new]
* variable.c (rb_mod_const_of): ditto.
* variable.c (rb_const_list): new function to convert internal
data (hash table) to array of strings.
* eval.c (rb_mod_s_constants): data handling scheme has changed.
* eval.c (rb_add_method): should not call rb_secure(), for
last_func may not be set.
* io.c (rb_io_ctl): ioctl should accept any integer within C long
range.
* marshal.c (r_object): wrong type check for modules.
* marshal.c (w_object): should not dump anonymous classes/modules.
* io.c (rb_open_file): use rb_file_sysopen_internal() if the 3rd
argument (permission flags) is given. [new, should be backported?]
* io.c (rb_io_mode_binmode): mode string (e.g. "r+") to flags to
open(2).
* eval.c (rb_eval): NODE_REXPAND expand an array of 1 element as
the element itself. [new, should be backported?]
* parse.y (ret_args): should treat "*[a]" in rhs expression as
"a", not "[a]".
* regex.c (re_compile_pattern): should push option modifier at the
right place.
396 lines of code changed in:
* ext/extmk.rb.in, lib/mkmf.rb (xsystem): write log file.
print command line.
9 lines of code changed in:
* ext/etc/extconf.rb: use egrep_cpp.
6 lines of code changed in:
* MANIFEST: add doc/NEWS.
1 lines of code changed in:
Add NEWS, in which we describe the changes that affect users.
261 lines of code changed in:
* lib/shellwords.rb: don't destroy argument.
5 lines of code changed in:
* lib/cgi/session.rb: don't use module_function for Class.
4 lines of code changed in:
* irb messages: fix typos.
8 lines of code changed in:
* hash.c (replace_i): ignore when key == Qundef.
8 lines of code changed in:
* parse.y (call_args2): confusion with list_append() and
list_concat() was fixed.
9 lines of code changed in:
* parse.y (yylex): fixed 'print CGI::bar() {}, "\n"' syntax
breakage, adding new lex_state status. sigh. [new]
* file.c (rb_file_s_unlink): should not allow if $SAFE >= 2.
* range.c (Init_Range): define "to_ary".
30 lines of code changed in:
2001-06-01
2 lines of code changed in:
* configure.in: use waitpid on mingw32.
* ext/dbm/extconf.rb: include <ndbm.h>, not <gdbm.h>.
9 lines of code changed in:
May 2001 »