Граф коммитов

1504 Коммитов

Автор SHA1 Сообщение Дата
usa eecf7fdcde * win32/mkexports.rb: remove unnecessary exports. (ruby-dev:17418)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 10:23:31 +00:00
nobu 1b8b699d9f unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 07:01:46 +00:00
matz 1979d9ae1f * parse.y (yylex): obsolete '?<whitespace>'; use '?\s', '?\n',
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
2002-06-18 06:29:07 +00:00
nobu 12c00312aa * parse.y (yylex): should pushback proper char after '<<'.
* 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
2002-06-18 03:53:23 +00:00
eban 9c44d6a05c * dln.c (dln_load): rb_notimplement takes no argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-17 13:42:15 +00:00
nobu 7ed607e902 2002-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-17 02:00:56 +00:00
nobu 7138dfa325 * dln.c (dln_load): need to preserve dln_strerror() result,
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-17 01:54:51 +00:00
knu 3a6168af5b 2002-06-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-15 10:25:08 +00:00
knu 7297827ec6 * dir.c (glob_helper): Use lstat() instead of stat() so it catches
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
2002-06-15 10:24:38 +00:00
H_Konishi 42c59aa317 *bcc32 fix for win9x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-14 12:21:50 +00:00
nobu 9e1473541d 2002-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-14 06:48:32 +00:00
nobu aa79984980 * parse.y (read_escape): deny zero-width hexadecimal character.
(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-14 06:27:18 +00:00
eban 561c59bf64 2002-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-13 06:44:00 +00:00
matz 8a6092725d ext/exmk.rb.in, lib/singleton.rb: remove nested ""s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-13 04:53:39 +00:00
matz b3ecbfaa01 * eval.c (svalue_to_avalue): v may be Qundef. This fix was
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
2002-06-13 03:55:44 +00:00
eban a2020f907a * lib/mkmf.rb: typo fix(RUBY_PLAT_FORM -> RUBY_PLATFORM).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-13 02:21:53 +00:00
suke 698e61aaa7 avoid some warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-12 12:23:10 +00:00
eban 5838e5bc4e 2002-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-12 09:33:40 +00:00
akira b8be8d535a merged differences between uri-0.9.6 and uri-0.9.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-12 09:32:35 +00:00
matz 91511afa9c * parse.y (yylex): 'do' should return kDO_BLOCK on EXPR_ENDARG.
* 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
2002-06-12 09:22:20 +00:00
nobu 94f86651d6 * parse.y (stmt): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 17:39:38 +00:00
ttate 28b8274e51 Include ctype.h for isdigit().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 14:59:43 +00:00
ttate 2690939122 Check the length of proto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 14:54:51 +00:00
ttate 5434d73ef7 Get rid of STR2CSTR. (Thanks N.Nakada)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 14:44:53 +00:00
ttate 176542da7f bugfix. (Thanks U.Nakamura)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 11:16:56 +00:00
eban 7f80a1800f * configure.in (LIBRUBY): rename to lib$(LIBRUBY_SO).a on Cygwin/MinGW.
* 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-11 10:26:13 +00:00
eban 65caf01223 2002-06-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 07:27:22 +00:00
eban 6e01d2e2f5 * parse.y (%%): remove '%%' line on the end of the file(parse error).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 07:26:03 +00:00
matz 22010642b2 * eval.c (rb_eval): ruby_frame->last_func may be null, if it's
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
2002-06-11 07:02:23 +00:00
shugo a5fd4cec84 * lib/net/ftp.rb (noop): new method.
* lib/net/ftp.rb (site): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 04:20:11 +00:00
usa ec16af8173 * bcc32/Makefile.sub: set PROCESSOR_LEVEL to 6 if it's too big value.
* win32/Makefile.sub: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 04:16:58 +00:00
H_Konishi 0b67be50a5 * bcc32/configure.bat fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 03:41:52 +00:00
H_Konishi d0b3651906 new platform [bccwin32] merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 01:27:48 +00:00
ttate ceade7b926 bugfix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-10 18:23:39 +00:00
ttate 5c1bdda10c Add DL::Importable::Internal::callback().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-10 17:47:48 +00:00
akr be87030ea8 fix PR#.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-10 13:02:00 +00:00
nobu 10d0deaa99 2002-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-10 10:18:24 +00:00
nobu d94aa88749 *** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-10 10:16:13 +00:00
nobu 31de741673 * numeric.c (fix_lshift): negative shift count means right shift.
* numeric.c (fix_rshift): return -1 when left side operand is
  negative.

* parse.y (yylex): `0_' should be an error. (ruby-bugs-ja:PR#239)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-10 10:06:12 +00:00
ttate abca067fb6 dl.c (rb_dl_scan_callback_args): memcpy() -> cast and substitution
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-10 07:52:10 +00:00
ttate 48bd82e993 Get rid of rb_dl_set_callback() and rb_dl_get_callback().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-09 17:56:34 +00:00
ttate 2d5b7f7365 * ext/dl: change the callback mechanism.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-09 17:47:34 +00:00
aamine d5ceb6ef82 modify typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-09 02:44:32 +00:00
H_Konishi 96654ce041 * sample/biorhythm.rb (getPosiiton,etc)
fix at changing Date module ( Date is changed Fixnum to Rational )


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-06 11:14:04 +00:00
usa 564edcce18 * win32/Makefile.sub (config.status): use sub! instead of []= because
[]= causes exception.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-06 03:06:11 +00:00
nobu a7a2b1d8f3 typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-06 02:46:18 +00:00
nobu d760f97172 * lib/thread.rb (Queue::pop): get rid of race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-06 02:43:02 +00:00
michal 6956135b4b Trivial: GCC3.1 fix (not worth to mention in ChangeLog)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-05 06:10:57 +00:00
nagai a9f672c47b * tcltklib.c:
Stop the running zombi-eventloop when mainloop_watchdog is killed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-05 01:56:47 +00:00
eban 160a9f79ef * ext/Win32API/extconf.rb: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-04 09:52:28 +00:00