* eval.c (rb_undef): undef should be done for klass, not ruby_class.
12 lines of code changed in:
Get rid of "return".
1 lines of code changed in:
sorry, ditto
2 lines of code changed in:
2002-07-30
2 lines of code changed in:
* misc/ruby-mode.el (ruby-accurate-end-of-block): restrict search
region.
* misc/ruby-mode.el (ruby-parse-partial): reversed wrong patch.
11 lines of code changed in:
range.c: small-cleanup [ruby-core:276]
8 lines of code changed in:
* misc/ruby-mode.el (ruby-accurate-end-of-block): incomplete block
caused infinite loop.
* misc/ruby-mode.el (ruby-parse-partial): returns nil unless
delimiters found.
13 lines of code changed in:
* ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returns
the same address always, so allocate string by ruby_strdup.
* win32/win32.c: prototype; rb_w32_open_osfhandle().
16 lines of code changed in:
* eval.c (rb_thread_join_m): add parameter type declaration.
6 lines of code changed in:
* eval.c (localjump_error): add parameter type declaration.
5 lines of code changed in:
* ext/extmk.rb.in: always use File.expand_path for $top_srcdir.
8 lines of code changed in:
2002-07-29
2 lines of code changed in:
* numeric.c (num_to_int): default to_int implementaion for every
numeric class.
* re.c (rb_reg_quote): initial part of the string was never copied
to the quoted string.
31 lines of code changed in:
* mkconfig.rb: unexpected `"ruby".sub("$","17") == "ruby"'
because of recent change in string.c:get_pat().
1 lines of code changed in:
* eval.c (rb_eval): no need to convert to string twice.
6 lines of code changed in:
* misc/ruby-mode.el (ruby-expr-beg): wrong indent at modifiers
after ?.
10 lines of code changed in:
* sample/mkproto.rb: ditto and fix bug.
4 lines of code changed in:
* ext/extmk.rb.in (create_makefile): use Regexp in gsub.
5 lines of code changed in:
* random.c (N, M): undef for <winnt.h> on MinGW.
3 lines of code changed in:
* random.c: replace with Mersenne Twister RNG.
* eval.c (jump_tag_but_local_jump): preserve retval in
LocalJumpError exceptions.
* parse.y (command): no more check for "super outside of method".
* eval.c (rb_mod_define_method): should set last_class and
last_func in the block->frame.
* eval.c (error_handle): should handle TAG_THROW as well.
* parse.y (yylex): new decimal notation '0d4567'.
* parse.y (yylex): new octal notation '0o777'.
* parse.y (string_content): every string_content node should
return string only. use NODE_EVSTR to coercing.
* eval.c (rb_eval): NODE_EVSTR support.
* re.c (rb_reg_quote): avoid unnecessary string allocation.
* string.c (get_pat): quote metachracters before compiling a
string into a regex.
* string.c (rb_str_split_m): special treatment of strings of size
1, but AWK emulation. now uses get_pat().
* string.c (rb_str_match_m): quote metacharacters.
* string.c (rb_str_match2): ditto.
* ext/socket/socket.c (sock_addrinfo): make all 3 versions of
getaddrinfo happy. [ruby-core:00184]
25 lines of code changed in:
* random.c: replace with Mersenne Twister RNG.
* eval.c (jump_tag_but_local_jump): preserve retval in
LocalJumpError exceptions.
* parse.y (command): no more check for "super outside of method".
* eval.c (rb_mod_define_method): should set last_class and
last_func in the block->frame.
* eval.c (error_handle): should handle TAG_THROW as well.
* parse.y (yylex): new decimal notation '0d4567'.
* parse.y (yylex): new octal notation '0o777'.
* parse.y (string_content): every string_content node should
return string only. use NODE_EVSTR to coercing.
* eval.c (rb_eval): NODE_EVSTR support.
* re.c (rb_reg_quote): avoid unnecessary string allocation.
* string.c (get_pat): quote metachracters before compiling a
string into a regex.
* string.c (rb_str_split_m): special treatment of strings of size
1, but AWK emulation. now uses get_pat().
* string.c (rb_str_match_m): quote metacharacters.
* string.c (rb_str_match2): ditto.
* ext/socket/socket.c (sock_addrinfo): make all 3 versions of
getaddrinfo happy. [ruby-core:00184]
462 lines of code changed in:
2002-07-26
2 lines of code changed in:
* parse.y (yylex): modify to accept a code like "m (a){...}".
10 lines of code changed in:
* misc/ruby-mode.el (ruby-delimiter): include here document.
* misc/ruby-mode.el (ruby-deep-arglist): skips spaces after
parenthesis when 'space.
* misc/ruby-mode.el (ruby-imenu-create-index): fix for nested
classes.
* misc/ruby-mode.el (ruby-accurate-end-of-block): added. scan a
block in the order.
* misc/ruby-mode.el (ruby-expr-beg): support for here document.
* misc/ruby-mode.el (ruby-parse-partial): splitted from
ruby-parse-region.
* misc/ruby-mode.el (ruby-move-to-block): skips RD style comments.
308 lines of code changed in:
optparse imported
4 lines of code changed in:
* lib/net/ftp.rb (set_socket): new method.
14 lines of code changed in:
* parse.y (yylex): fix typo.
6 lines of code changed in:
* parse.y (heredoc_identifier): modify typo.
7 lines of code changed in:
OptionParser
4 lines of code changed in:
2002-07-13
2 lines of code changed in:
* parse.y (literal_concat_string): wrong optimization.
5 lines of code changed in:
import
31 lines of code changed in:
* lib/resolv.rb (Resolv::DNS::open, close): new.
* lib/optparse.rb, lib/optparse: import.
1652 lines of code changed in:
* doc/net/smtp.rd.ja: add note for RubyMail/TMail.
0 lines of code changed in:
* lib/net/http.rb: rename HTTP.get_uri get_response.
* lib/net/http.rb: HTTP.get_print accepts URI objects.
* lib/net/http.rb: HTTP.get did not work with URI.
232 lines of code changed in:
* NEWS: add note for net/http's incompatibility.
5 lines of code changed in:
* string.c (rb_str_match): fix for string match.
5 lines of code changed in:
2002-07-11
2 lines of code changed in:
* ext/stringio/stringio.c (strio_gets_internal): fixed for record
separator longer than 1.
7 lines of code changed in:
* string.c (rb_str_slice_bang): if there's no corresponding
substring, slice! should return nil without exception.
* array.c (rb_ary_insert): type fixed.
* string.c (rb_str_split_m): accept separator value nil as well.
* string.c (rb_str_become): was leaking memory.
* class.c (rb_include_module): should not alter other
classes/modules by inclusion. by this fix, local order may not
be preserved for some cases.
* class.c (include_class_new): module may be T_ICLASS; retrieve
original module information.
141 lines of code changed in:
* lib/resolv.rb: untaint strings read from /etc/hosts and
/etc/resolv.conf to prevent SecurityError when $SAFE==1.
11 lines of code changed in:
* bit changed.
5 lines of code changed in:
* irb 0.9(doc)
75 lines of code changed in:
* irb 0.9
1484 lines of code changed in:
2002-07-05
2 lines of code changed in:
enum.c: Fix bug in enum_sort_by and some code indents
60 lines of code changed in:
* lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
thanks to Sean Chittenden <sean@ruby-lang.org>, Shugo Maeda
<shugo@modruby.net>
10 lines of code changed in:
* parse.y: remove useless function str_extend_p().
4 lines of code changed in:
* lib/net/ftp.rb (get): new method.
* lib/net/ftp.rb (putt): ditto.
* lib/net/ftp.rb (binary): ditto.
* lib/net/ftp.rb (binary=): ditto.
35 lines of code changed in:
* lib/net/ftp.rb (getbinaryfile): the second argument (localfile)
is now optional.
* lib/net/ftp.rb (gettextfile): ditto.
9 lines of code changed in:
* lib/net/ftp.rb: use &block and yield for speed.
20 lines of code changed in:
expand TABs.
130 lines of code changed in:
* lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
5 lines of code changed in:
* lib/cgi.rb (CGI#header): accept any type as value.
5 lines of code changed in:
2002-07-02
2 lines of code changed in:
object.c: rb_Integer reformat, nil#to_f added to rb_define_method.
parse.y: Clean unused vars.
range.c: ditto.
8 lines of code changed in: