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

5103 Коммитов

Автор SHA1 Сообщение Дата
shugo b9db231cbd * lib/net/imap.rb (send_string_data): wait command continuation
requests before sending octet data of literals.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 15:06:17 +00:00
nagai de804fe235 * ext/tk/lib/tk/variable.rb: TkVariable#ref returns a TkVariable object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 14:57:33 +00:00
akira 02771a7aed * lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 13:14:35 +00:00
nobu 95439d0741 * parse.y (stmt): not to show same error messages twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 09:29:59 +00:00
matz 83fa0928d7 * string.c (rb_str_match_m): String#match should also take
optional argument.  [ruby-core:03205]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 08:02:20 +00:00
matz eabd490119 * re.c (rb_reg_match_m): add optional second argugment "pos" to
specify match start point.  [ruby-core:03203]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 06:28:10 +00:00
eban 545bbcf272 2004-07-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 05:09:32 +00:00
matz 15ba9f85cf * 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/trunk@6656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 02:23:52 +00:00
dave 9c54f61a50 Incorporate Micheal Neumanns client-side imagemap patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 20:28:43 +00:00
nagai 9c376bc5e8 * rename files to avoid application (cvs and so on) troubles
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 13:58:43 +00:00
gotoyuzo 97094af3ca * 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/trunk@6650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 05:56:44 +00:00
eban 449ca256cc 2004-07-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 04:48:03 +00:00
nobu 428228fe22 * 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/trunk@6644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 02:17:59 +00:00
nagai 108db34fa3 * ext/tk/lib/tk.rb(module TkObjecct): extend TkCore module
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 02:12:58 +00:00
nobu 4a56a0ef5d * lib/optparse.rb (OptionParser#warn, OptionParser#abort): Exception
no longer has to_str method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 14:54:01 +00:00
shugo 068b58b5e8 * ext/readline/extconf.rb: added dir_config for curses, ncurses,
termcap.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 14:04:09 +00:00
nobu acd44f6e1e years added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 13:01:06 +00:00
ocean 5a54353598 fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 11:49:45 +00:00
ocean 5d67732de3 * class.c: rdoc patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 11:46:00 +00:00
why 3ac79892be * lib/yaml.rb (YAML::load_file, YAML::parse_file): added.
* ext/syck/token.c: re2c compiled with bit vectors now.
* ext/syck/implicit.c: ditto.
* ext/syck/bytecode.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 05:04:49 +00:00
nagai 13d4e3b5cd * ext/tk/sample/tkextlib/tktable/spreadsheet.rb: add a new sample
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 04:49:01 +00:00
eban 07aef3a89c 2004-07-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 02:18:43 +00:00
nagai ce1b23b7a5 * 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/trunk@6630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-15 01:18:57 +00:00
matz 6c6a24826c * enum.c (enum_min_by): new method Enum#min_by. added Enum#max_by
as well.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14 14:51:42 +00:00
gotoyuzo 1a760a6f76 * 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/trunk@6626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14 09:09:36 +00:00
ocean b9bfdbb13e * 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/trunk@6625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-14 03:32:20 +00:00
ocean b956b4a450 * array.c: rdoc patch - unified margin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 16:21:23 +00:00
eban 038ed182dd 2004-07-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 15:51:54 +00:00
ocean 208b771b48 * 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/trunk@6622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 15:34:34 +00:00
dave 30f3576610 Minor parse problem if hyperlink text starts \w+:...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 12:37:40 +00:00
akira f461a6b8e5 * 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/trunk@6620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 10:50:26 +00:00
knu db850b21fd * 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/trunk@6619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 06:54:01 +00:00
eban b34c210128 2004-07-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 03:01:52 +00:00
eban a2b021fb45 * ChangeLog: re-formatted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 03:01:45 +00:00
dave 1811324f30 Allow optional : before call-seq:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 17:21:21 +00:00
dave e191fde02e Use real right arrow for -> in call-seq
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 16:03:11 +00:00
dave 68b5d42563 Commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 15:54:25 +00:00
dave dcfe4ecff8 Support call-seq: for Ruby methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 15:52:35 +00:00
eban 9f519d661c 2004-07-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 14:57:03 +00:00
dave 67eb473942 Allow multiple words in braces before a link
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 12:20:51 +00:00
nahi c868c85dc4 2004-07-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-10 00:36:22 +00:00
nahi 519531dd9a * 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/trunk@6609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-10 00:35:02 +00:00
nagai e55330c9c4 * 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/trunk@6608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 19:29:29 +00:00
ocean 29c3cb6d20 * 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/trunk@6607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 13:38:34 +00:00
akr 704d798615 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/trunk@6606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 10:33:25 +00:00
nobu fea3684d5e * 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/trunk@6605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 05:29:45 +00:00
eban eb8cee076e 2004-07-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09 01:51:40 +00:00
nagai b3f8249bab * add entries
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-08 16:59:56 +00:00
nagai afcfca607e * 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/trunk@6602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-08 16:50:07 +00:00
nobu aa4878589c * configure.in (rb_cv_stack_end_address): detect stack end address
variable supplied by system.  [ruby-core:03115]

* gc.c (Init_stack): use system provided address if possible.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-08 10:27:23 +00:00