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

5124 Коммитов

Автор SHA1 Сообщение Дата
eban ae7d870923 2004-07-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-26 02:53:14 +00:00
gotoyuzo 36adf323b6 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape): should
escape space.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-26 02:50:18 +00:00
eban 18789d6b5d 2004-07-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-25 02:55:02 +00:00
ocean 9d07076bef * win32/win32.{h,c} (rb_w32_{f,fd,fs}open): workaround for bcc32's
{f,fd,fs}open bug. set errno EMFILE and EBADF. [ruby-dev:23963]

* test/drb/drbtest.rb: fix method duplication.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-25 02:25:25 +00:00
eban 9a983e5150 * ext/tk/MANIFEST: added.
lib/tkextlib/tclx.rb
  lib/tkextlib/tclx/setup.rb
  lib/tkextlib/tclx/tclx.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-24 12:33:55 +00:00
eban 48071a32c2 2004-07-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-24 09:50:46 +00:00
matz 280d014d6d * range.c (rb_range_beg_len): returns Qnil only when "beg" points
outside of a range.  No boundary check for "end".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-24 09:48:21 +00:00
matz ca14017bb6 * gc.c (define_final): should not disclose NODE* to Ruby world.
[ruby-dev:23957]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-23 07:52:38 +00:00
nagai a32c01d85a * add TclX extension support (partially)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-23 06:31:57 +00:00
eban 0caca522a9 2004-07-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-23 01:54:30 +00:00
shugo 26b9cd878a * lib/net/imap.rb (disconnected?): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-22 23:52:11 +00:00
ocean 2f8bc7be98 2004-07-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-21 04:27:43 +00:00
ttate 1ebcad550f bugfix for Importable.callback().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-20 18:22:03 +00:00
gotoyuzo 4339202266 * lib/webrick/httpservlet/cgihandler.rb
(WEBrick::HTTPServlet::CGIhandler#do_GET): set SystemRoot environment
  variable to CGI process on Windows native platforms. [ruby-dev:23936]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-18 15:59:02 +00:00
gotoyuzo f4991ab795 * test/openssl/test_ssl.rb: add workaround for Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-18 14:40:04 +00:00
ser 94e117da62 r1025 | ser | 2004-07-18 08:18:36 -0400 (Sun, 18 Jul 2004) | 2 lines
@@ Fixed a CDATA pretty-printing bug. (#39) @@
r1026 | ser | 2004-07-18 09:03:02 -0400 (Sun, 18 Jul 2004) | 4 lines
@@ Fixed a buffering bug in Source.rb that affected the SAX parser @@
This bug was related to how REXML determines the encoding of a file, and
evinced itself by hanging on input when using the SAX parser.
r1028 | ser | 2004-07-18 09:06:18 -0400 (Sun, 18 Jul 2004) | 3 lines
* Minor pretty printing fix WRT CDATA segments.
@@ Applied Curt Sampson's optimization improvements @@


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-18 14:04:03 +00:00
nagai b841a6fce5 * TkMsgCatalog.callback: bug fix (wrong number of argument)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-18 07:26:44 +00:00
nobu 6d27ddd289 * sprintf.c (rb_f_sprintf): remove extra sign digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 23:14:52 +00:00
knu e6401638f4 2004-07-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 18:25:18 +00:00
knu 5b42ef645e * dir.c (bracket): use NULL instead of 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 18:20:57 +00:00
shugo 73e0d386b8 * lib/net/imap.rb (receive_responses): return if a LOGOUT response
received.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 17:35:53 +00:00
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