aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * dln.c (dln_load): need to preserve dln_strerror() result,nobu2002-06-172-3/+18
| | | | | | | calling other dl family can clear it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-06-15knu2002-06-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): Use lstat() instead of stat() so it catchesknu2002-06-152-1/+7
| | | | | | | | a dead symlink. Given a dead symlink named "a", Dir.glob("?") did catch it but Dir.glob("a") somehow didn't. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *bcc32 fix for win9x.H_Konishi2002-06-144-40/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-06-14nobu2002-06-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (read_escape): deny zero-width hexadecimal character.nobu2002-06-143-0/+19
| | | | | | | | | | | (ruby-bugs-ja:PR#260) * parse.y (tokadd_escape): ditto. * regex.c (re_compile_pattern): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-06-13eban2002-06-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/exmk.rb.in, lib/singleton.rb: remove nested ""s.matz2002-06-133-7/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (svalue_to_avalue): v may be Qundef. This fix wasmatz2002-06-135-8/+36
| | | | | | | | | | | | | | | | | | | suggested by Guy Decoux. * hash.c (rb_hash_s_create): use rb_hash_aset() instead of calling st_insert() directly, to dup&freeze string keys. * parse.y (yylex): proper error message for "@@0". * parse.y (yylex): paren to parse_string() must be zero for unparenthesized strings. * parse.y (str_extend): broken string when unterminated "#{". * enum.c (enum_sort_by): had a bug in 1 element enumeration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: typo fix(RUBY_PLAT_FORM -> RUBY_PLATFORM).eban2002-06-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid some warningssuke2002-06-122-11/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-06-12eban2002-06-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged differences between uri-0.9.6 and uri-0.9.7akira2002-06-124-11/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): 'do' should return kDO_BLOCK on EXPR_ENDARG.matz2002-06-122-31/+71
| | | | | | | | | | | | | | | | | | | * parse.y (singleton): "def (()).a end" dumped core. * parse.y (range_op): node may be null. * parse.y (match_gen): ditto. * parse.y (arg): void value check for "..", "...", "!", and "not". * parse.y (match_gen): void value check for "=~". * parse.y (value_expr): check NODE_AND and NODE_OR recursively. * parse.y (cond0): void value check added for conditionals. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): fix typo.nobu2002-06-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Include ctype.h for isdigit().ttate2002-06-111-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Check the length of proto.ttate2002-06-111-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of STR2CSTR. (Thanks N.Nakada)ttate2002-06-113-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bugfix. (Thanks U.Nakamura)ttate2002-06-112-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBRUBY): rename to lib$(LIBRUBY_SO).a on Cygwin/MinGW.eban2002-06-113-10/+24
| | | | | | | | * configure.in, cygwin/GNUmakefile: use dllwrap when --disable-shared is specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-06-11eban2002-06-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (%%): remove '%%' line on the end of the file(parse error).eban2002-06-111-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): ruby_frame->last_func may be null, if it'smatz2002-06-118-88/+162
| | | | | | | | | | | | | | | | | | | | | | | | | called outside of a method. * parse.y (arg): use INT2NUM, not INT2FIX for tUMINUS. * parse.y (arg): unnecessary negative tPOW treatment. * parse.y (tokadd_escape): wrong backslash escapement. * parse.y (stmt,arg): too much void value check. * parse.y (stmt,arg): need to check void value on rules which does not use node_assign(). * ext/socket/socket.c (ipaddr): need not to taint hostnames. * range.c (range_include): should be based on "<=>", whereas member? still is based on "each". * range.c (range_min,range_max): redefine methods based on "<=>". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e