Commit graph

5108 commits

Author SHA1 Message Date
nobu
0c01821d43 * parse.y (stmt): not to show same error messages twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 09:29:59 +00:00
eban
30d2be2101 2004-07-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 05:09:32 +00:00
matz
e98d5d4f66 * eval.c (THREAD_ALLOC): th->thread should be initialized to NULL.
[ruby-talk:106657]  The solution was found by Guy Decoux.

* file.c (rb_stat_dev_major): new methods File::Stat#dev_major and
  #dev_minor. [ruby-core:03195]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 02:23:52 +00:00
dave
865cd4fc39 Incorporate Micheal Neumanns client-side imagemap patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 20:28:43 +00:00
nagai
82e7aedf25 * rename files to avoid application (cvs and so on) troubles
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 13:58:43 +00:00
nobu
56e149c769 * lib/base64.rb (Deprecated): super in bound method calls original
name method in stable version.  [ruby-dev:23916]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 06:24:01 +00:00
nobu
e1ae794e73 * eval.c (return_jump, break_jump): raise unexpceted local jump
exception directly.  [ruby-dev:23740]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 06:21:39 +00:00
gotoyuzo
5fb266b5c0 * test/openssl/ssl_server.rb, test/openssl/test_ssl.rb: workaround to
terminate child process.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 05:56:44 +00:00
usa
cc01e4ee92 ChangeLog fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 02:37:02 +00:00
ocean
8ece526786 * lib/test/unit/ui/{fox,gtk,gtk2}/testrunner.rb: remove
garbage (patch from akira yamada) [ruby-dev:23911]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 02:33:31 +00:00
usa
16d5fd2aae 2004-07-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 02:20:54 +00:00
usa
a12e0a991b * sprintf.c (rb_f_sprintf): fix output of NaN, Inf and -Inf with
"%f" or etc on MSVCRT platforms. (backported from HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 02:20:00 +00:00
nobu
797aea65cb * error.c (exit_initialize): use EXIT_SUCCESS instead of 0.
[ruby-dev:23913]

* error.c (exit_success_p): new method SystemExit#success?.
  [ruby-dev:23912]

* error.c (syserr_initialize): initialization for subclasses.
  [ruby-dev:23912]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 02:17:59 +00:00
nagai
7aa94d4025 * ext/tk/lib/tk.rb(module TkObjecct): extend TkCore module
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 02:12:58 +00:00
nobu
b2afa63f41 * lib/optparse.rb (OptionParser#warn, OptionParser#abort): Exception
no longer has to_str method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 14:54:01 +00:00
shugo
17676bfc5e * ext/readline/extconf.rb: added dir_config for curses, ncurses,
termcap. (backported from HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 14:11:38 +00:00
nobu
b17cbcd26c junk removed, and years added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 13:00:09 +00:00
ocean
99a04c1adf * class.c, error.c, eval.c, intern.h, object.c, variable.c:
do not set path if it is a singleton class.  [ruby-dev:22588]
  (backport from 1.9)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 11:42:51 +00:00
nagai
61817f40af * ext/tk/sample/tkextlib/tktable/spreadsheet.rb: add a new sample
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 04:49:01 +00:00
eban
6e59780cb9 2004-07-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 02:18:43 +00:00
eban
0976d83ad0 ext/socket/socket.c (s_recvfrom): remove C++ style comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 02:16:53 +00:00
nagai
1ac70e2f77 * ext/tk/, ext/tcltklib/: bug fix
* ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks.
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tk/variable.rb: ditto.
* ext/tk/lib/tk/timer.rb: ditto.
* ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd()
  to define validatecommand methods easier
* ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext classes
* ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type check
  for items (e.g. canvas items; depends on the class) to avoid some troubles
  on Tk extension widget class definition.
* ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support
* ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 01:18:57 +00:00
matz
6e918be6b1 * gc.c, parse.y, lib/cgi.rb, lib/date.rb: last minute backports from HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14 14:22:11 +00:00
dave
91c9ac216a minor rdoc typo in enum#min
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14 13:02:27 +00:00
gotoyuzo
03fc2ae03e * ext/openssl/ossl_asn1.c (ossl_asn1cons_to_der): fix type of
argument. [ruby-dev:23891]

* test/openssl/test_x509store.rb: prune tests for CRL checking
  unless X509::V_FLAG_CRL_CHECK is defined.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14 09:09:36 +00:00
ocean
956b1f9c82 * util.c (ruby_strtod): should not convert string in the form of
"-I.FE-X" which both "I" and "F" are ommitted. [ruby-dev:23883]

* test/ruby/test_float.rb (test_strtod): add test for bug fix.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14 03:32:20 +00:00
ocean
faade8050a * array.c: rdoc patch - unified margin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 16:21:23 +00:00
eban
04149f3ccf 2004-07-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 15:51:54 +00:00
ocean
71df3a6f8a * array.c: rdoc patch. merged patch from Johan Holmberg
<holmberg@iar.se> [ruby-core:3170]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 15:34:34 +00:00
dave
ec00c7e6fb Minor parse problem if hyperlink text starts \w+:...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 12:37:40 +00:00
akira
35ef4bab8e * lib/uri/generic.rb (URI::Generic#merge_path):
"URI('http://www.example.com/foo/..') + './'" should return
  "URI('http://www.example.com/')".  [ruby-list:39838]
  "URI('http://www.example.com/') + './foo/bar/..'" should return
  "URI('http://www.example.com/foo/')".  [ruby-list:39844]

* test/uri/test_generic.rb (TestGeneric#test_merge): added tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 10:50:26 +00:00
knu
4e11d565d3 * lib/mkmf.rb (init_mkmf): Do not add $(libdir) to $LIBPATH in
extmk mode.

* lib/mkmf.rb (dir_config): Prepend a new library path instead of
  appending so it is tried first.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 06:54:01 +00:00
eban
cbd0d606a0 2004-07-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 03:01:52 +00:00
eban
dab86ed89c * ChangeLog: re-formatted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 03:01:45 +00:00
dave
353b6c6d03 Allow optional : before call-seq:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 17:21:21 +00:00
dave
fbaf7e98cb Use real right arrow for -> in call-seq
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 16:03:11 +00:00
dave
c874753bb2 Commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 15:54:25 +00:00
dave
e6de7978a1 Support call-seq: for Ruby methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 15:52:35 +00:00
eban
4437be2c64 2004-07-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 14:57:03 +00:00
dave
70462a011e Allow multiple words in braces before a link
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 12:20:51 +00:00
nahi
99f94a1215 2004-07-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-10 00:36:22 +00:00
nahi
0b0d082d1c * test/soap/marshal/test_struct.rb: use qualified build-tin class name
(::Struct) to avoid name crash.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-10 00:35:02 +00:00
nagai
24d2225afd * ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks.
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tk/variable.rb: ditto.
* ext/tk/lib/tk/timer.rb: ditto.
* ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd()
  to define validatecommand methods easier


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 19:29:29 +00:00
ocean
703f913426 * array.c, enum.c, pack.c: rdoc patch from Johan Holmberg
<holmberg@iar.se> [ruby-core:3132] [ruby-core:3136]

* numeric.c: rdoc patch.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 13:38:34 +00:00
akr
c4d8f782a4 lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to notice https is not supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 10:33:25 +00:00
nobu
7808175f0f * eval.c (rb_thread_raise): accept third argument as well as
Kernel#raise, and evaluate the arguments to create an exception in
  the caller's context.  [ruby-talk:105507]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 05:29:45 +00:00
eban
32c6d794f4 2004-07-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 01:51:40 +00:00
nagai
d6cdf320b7 * add entries
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-08 16:59:56 +00:00
nagai
9945dd1adf * ext/tk/lib : bug fix
* ext/tk/lib/tkextlib/itcl : add [incr Tcl] support
* ext/tk/lib/tkextlib/itk  : add [incr Tk] support
* ext/tk/lib/tkextlib/iwidgets : midway point of [incr Widgets] support
* ext/tk/sample/tkextlib/iwidgets : very simple examples of [incr Widgets]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-08 16:50:07 +00:00
kou
1909f5f1b1 * lib/rss/{rss,parser,0.9,1.0,2.0}.rb: supported RSS 0.9x/2.0
validation and validation which disregard order of elements.
  * test/rss/test_parser.rb: added tests for RSS 0.9x/2.0
    validation.
  * test/rss/{test_trackback,rss-testcase}.rb: fixed no good method
    name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-08 13:54:07 +00:00