summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/curses/curses.c: follow allocation framework.nobu2002-08-042-23/+39
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): set constant in cbase scope.nobu2002-08-032-4/+10
| | | | | | | * eval.c (assign): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove initstate checking.eban2002-08-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: follow allocation framework.aamine2002-08-022-109/+212
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-08-01nobu2002-08-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (tokadd_string): ignore backslashed spaces in %w.matz2002-08-015-6/+23
| | | | | | | | * enum.c (enum_find): do not use rb_eval_cmd(); should not accept a string for if_none. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_undef): undef should be done for klass, not ruby_class.matz2002-07-314-7/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of "return".ttate2002-07-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sorry, dittonobu2002-07-301-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-07-30nobu2002-07-301-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-accurate-end-of-block): restrict searchnobu2002-07-302-3/+11
| | | | | | | | | region. * misc/ruby-mode.el (ruby-parse-partial): reversed wrong patch. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* range.c: small-cleanup [ruby-core:276]michal2002-07-301-6/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-accurate-end-of-block): incomplete blocknobu2002-07-302-4/+13
| | | | | | | | | | caused infinite loop. * misc/ruby-mode.el (ruby-parse-partial): returns nil unless delimiters found. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returnseban2002-07-303-0/+16
| | | | | | | | | the same address always, so allocate string by ruby_strdup. * win32/win32.c: prototype; rb_w32_open_osfhandle(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_join_m): add parameter type declaration.aamine2002-07-302-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (localjump_error): add parameter type declaration.aamine2002-07-292-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in: always use File.expand_path for $top_srcdir.eban2002-07-292-6/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-07-29eban2002-07-291-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_to_int): default to_int implementaion for everymatz2002-07-297-19/+31
| | | | | | | | | | numeric class. * re.c (rb_reg_quote): initial part of the string was never copied to the quoted string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: unexpected `"ruby".sub("$","17") == "ruby"'gotoken2002-07-291-1/+1
| | | | | | | because of recent change in string.c:get_pat(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): no need to convert to string twice.nobu2002-07-262-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-expr-beg): wrong indent at modifiersnobu2002-07-262-3/+10
| | | | | | | after ?. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/mkproto.rb: ditto and fix bug.eban2002-07-262-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (create_makefile): use Regexp in gsub.eban2002-07-262-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (N, M): undef for <winnt.h> on MinGW.eban2002-07-261-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: replace with Mersenne Twister RNG.matz2002-07-261-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: replace with Mersenne Twister RNG.matz2002-07-2614-207/+462
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-07-26nobu2002-07-261-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): modify to accept a code like "m (a){...}".aamine2002-07-262-6/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-delimiter): include here document.nobu2002-07-252-247/+308
| | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* optparse importednobu2002-07-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (set_socket): new method.shugo2002-07-182-1/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): fix typo.aamine2002-07-172-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (heredoc_identifier): modify typo.aamine2002-07-152-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* OptionParsernobu2002-07-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-07-13nobu2002-07-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (literal_concat_string): wrong optimization.nobu2002-07-132-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* importnobu2002-07-123-0/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::open, close): new.nobu2002-07-123-17/+1652
| | | | | | | * lib/optparse.rb, lib/optparse: import. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/net/smtp.rd.ja: add note for RubyMail/TMail.aamine2002-07-111-0/+205
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: rename HTTP.get_uri get_response.aamine2002-07-113-24/+565
| | | | | | | | * lib/net/http.rb: HTTP.get_print accepts URI objects. * lib/net/http.rb: HTTP.get did not work with URI. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add note for net/http's incompatibility.aamine2002-07-111-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_match): fix for string match.nobu2002-07-112-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-07-11nobu2002-07-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_gets_internal): fixed for recordnobu2002-07-112-2/+7
| | | | | | | separator longer than 1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_slice_bang): if there's no correspondingmatz2002-07-1114-75/+141
| | | | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb: untaint strings read from /etc/hosts andshugo2002-07-112-0/+11
| | | | | | | /etc/resolv.conf to prevent SecurityError when $SAFE==1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bit changed.keiju2002-07-101-11/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * irb 0.9(doc)keiju2002-07-092-34/+75
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * irb 0.9keiju2002-07-0936-482/+1271
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e