aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * irb 0.9keiju2002-07-0936-482/+1271
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-07-05nobu2002-07-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enum.c: Fix bug in enum_sort_by and some code indentsmichal2002-07-052-52/+60
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI#initialize): improvement for mod_ruby.wakou2002-07-052-1/+10
| | | | | | | | thanks to Sean Chittenden <sean@ruby-lang.org>, Shugo Maeda <shugo@modruby.net> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: remove useless function str_extend_p().aamine2002-07-042-18/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (get): new method.shugo2002-07-032-6/+35
| | | | | | | | | * lib/net/ftp.rb (putt): ditto. * lib/net/ftp.rb (binary): ditto. * lib/net/ftp.rb (binary=): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (getbinaryfile): the second argument (localfile)shugo2002-07-032-2/+9
| | | | | | | | is now optional. * lib/net/ftp.rb (gettextfile): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: use &block and yield for speed.shugo2002-07-032-49/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* expand TABs.akr2002-07-031-130/+130
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI#initialize): improvement for mod_ruby.wakou2002-07-032-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI#header): accept any type as value.wakou2002-07-022-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-07-02nobu2002-07-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: rb_Integer reformat, nil#to_f added to rb_define_method.michal2002-07-023-20/+8
| | | | | | | | parse.y: Clean unused vars. range.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (seekdir, telldir): add ac_cv_func_telldir=yes,eban2002-06-303-2/+9
| | | | | | | ac_cv_func_seekdir=yes for MinGW. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* made object address test to compare inspect's result.akr2002-06-301-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix object address test.akr2002-06-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_finalize, pipe_popen): two-way pipe support for win32.usa2002-06-285-139/+214
| | | | | | | | | | | | | * win32/win32.c (ChildRecord, FindFreeChildSlot): ditto. * win32/win32.c, win32/win32.h (pipe_exec): new function for two-way pipe support for win32. * win32/win32.c, win32/win32.h (FindPipedChildSlot, rb_w32_popen, rb_w32_pclose): removed functions for two-way pipe support for win32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): change names of local variables because theirusa2002-06-283-18/+23
| | | | | | | names are overlapped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_expr_str): need to process backslashes properly.matz2002-06-2814-63/+117
| | | | | | | | | | | | | | | | | | * object.c (rb_any_to_a): declare Object#to_a to be obsolete. * object.c (rb_Array): do not convert nil into [] automagically. * object.c (rb_Integer): use "to_int" instead of "to_i". [experimental] * object.c (nil_to_f): new method. * object.c (rb_Integer): Symbols and nil should cause error. * object.c (rb_Float): nil should cause error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/pp.rb: fix object address.akr2002-06-282-7/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* missing ;nobu2002-06-271-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Importable::symbol.ttate2002-06-271-39/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_stat): fix buffer overflow. (ruby-bugs:PR#329)usa2002-06-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/prettyprint.rb, lib/pp.rb: convenience methods added.akr2002-06-273-258/+297
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine previous change.akr2002-06-271-10/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/prettyprint.rb: re-implemented for incremental output to handleakr2002-06-273-290/+294
| | | | | | | | | huge data. API is changed a bit. * lib/pp.rb: adapt new pretty printing API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (literal_concat_string): non-string last expression innobu2002-06-262-2/+8
| | | | | | | #{} was ignored when followed by literal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (words, qwords): word list literal rules.nobu2002-06-264-125/+149
| | | | | | | | | * parse.y (parse_string): ditto. * parse.y (yylex): %W: word list literal with interpolation. [new] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-06-25nobu2002-06-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (string1, xstring, regexp): moved lex_strnestnobu2002-06-252-10/+17
| | | | | | | initialization to string_contents/xstring_contents. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c: remove definition rb_loaderror().H_Konishi2002-06-252-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c: remark definition rb_loaderror().H_Konishi2002-06-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (string_dvar): allow back references in interpolation.nobu2002-06-242-6/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): __END__ should not be effective withinmatz2002-06-244-9/+23
| | | | | | | | | | string literals. * parse.y (here_document): should be aware of __END__ within here documents. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): get rid of nested string.nobu2002-06-242-2/+6
| | | | | | | * lib/mkmf.rb (install_rb): site-install didn't work properly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): NODE_EVSTR is no longer used.nobu2002-06-248-613/+661
| | | | | | | | | | | | | | | | | * eval.c (eval): not enforce to make assigned variables dynamic. * parse.y (string): split rules to strings/xstring/regexp to allow arbitrary statements inside string interpolation. * parse.y (here_document): splitted into three phases. * parse.y (literall_append, literal_concat): added. append/concatinate string literals. * sample/test.rb (valid_syntax): adjust line number for BEGIN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated to the new version (based on date2 3.3).tadf2002-06-226-135/+185
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_readline): get rid ofnobu2002-06-202-0/+8
| | | | | | | libreadline's bug. (ruby-bugs-ja:PR#268) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (__NO_ISOCEXT): add for mingw-runtime 2.0-2.eban2002-06-203-3/+8
| | | | | | | | * configure.in (__MSVCRT__): removed because it is defined in the GCC specs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ftools.rb (compare): don't return with a file openedeban2002-06-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ftool.rb (BUFSIZE): tuning, set buffer length to 8192.eban2002-06-202-26/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb (xsystem): open the log file if xsystem is called.eban2002-06-194-6/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): ? followed by successive word charaters isnobu2002-06-182-1/+8
| | | | | | | ternary operator not numeric literal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): commands after break/next/rescue can takenobu2002-06-182-0/+6
| | | | | | | arguments. (ruby-bugs-ja:PR#265) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: remove unnecessary exports. (ruby-dev:17418)usa2002-06-182-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unused variable.nobu2002-06-181-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): obsolete '?<whitespace>'; use '?\s', '?\n',matz2002-06-186-17/+77
| | | | | | | | | | | | | | | | etc, instead. * parse.y (yylex): no here document after a dot. * parse.y (yylex): should have set lex_state after '`'. * parse.y (yylex): should have set lex_state properly after tOP_ASGN. * bignum.c (rb_big2dbl): return canonical HUGE_VAL for infinity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): should pushback proper char after '<<'.nobu2002-06-183-38/+65
| | | | | | | | | | | * parse.y (range_op, cond0, cond): get rid of doubled warnings. * parse.y (value_expr): reduce recursion level. * parse.y (logop): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_load): rb_notimplement takes no argument.eban2002-06-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-06-17nobu2002-06-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e