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

6535 Коммитов

Автор SHA1 Сообщение Дата
akr f27ff52d1e add a test for file descriptor passing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-04 02:40:40 +00:00
akr 8a85b8bef1 fix another IPv6 issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 20:40:39 +00:00
akr a1782f4e6a avoid IPv6 issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 18:03:52 +00:00
akr 0ad0462183 add ML number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 17:14:06 +00:00
akr ea0a08fddd set verify_mode to avoid a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:49:56 +00:00
akr 49f4ef7d03 * test/sdbm/test_sdbm.rb: renamed from ext/sdbm/testsdbm.rb with
modification to use test/unit.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:43:39 +00:00
eban 6c4d802e14 * 2005-06-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:17:17 +00:00
akr f7298a29ea add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:11:40 +00:00
akr 5794d80d53 add a test for [ruby-dev:26128].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 14:39:15 +00:00
nobu c9d126aec9 * intern.h (rb_fdset_t): deal with fd bit sets over FD_SETSIZE.
fixed: [ruby-dev:26187]

* eval.c (rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr,
  rb_fd_isset, rb_fd_copy): ditto.

* io.c (rb_io_wait_readable, rb_io_wait_writable, rb_f_select): ditto.

* ext/io/wait/wait.c (io_wait): ditto.

* ext/socket/socket.c (wait_connectable, unix_recv_io): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 14:23:17 +00:00
eban f0ede6b31c * 2005-06-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 05:19:49 +00:00
nagai dc5a620aa0 * ext/tk/lib/multi-tk.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 05:08:40 +00:00
nobu d2a81a3aa3 * parse.y: pragma support on ripper. [ruby-dev:26266]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-02 14:43:10 +00:00
matz 34adacb036 * parse.y (method_call): new experiment: "(expr)(args...)" to
invoke "expr.call(args...)".  [EXPERIMENTAL]

* parse.y (command): revert implicit "call" for local variables.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-02 07:26:10 +00:00
eban f2469dc78a * 2005-06-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 15:11:04 +00:00
aamine 3aa5496c98 * struct.c: accessing >10 member caused segmentation fault. [ruby-dev:26247]
* test/ruby/test_struct.rb: test it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 15:03:09 +00:00
eban a9543d64f1 * 2005-06-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 03:13:54 +00:00
ocean ec98300405 * bcc32/Makefile.sub: can use single quote character in DESTDIR.
[ruby-dev:26205]

* bcc32/Makefile.sub: Dir.glob in 1.9 doesn't treat \ as path separator.
  [ruby-dev:26254]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 02:35:35 +00:00
eban fe473adee7 * 2005-05-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-31 06:56:41 +00:00
gotoyuzo 3894044308 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should
break the loop if the socket reached to EOF. [ruby-talk:142285]

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): send response
  without reading the whole request body if keep-alive is diabled.
  [experimental]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-31 06:53:58 +00:00
eban 6622dfe58f * 2005-05-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-30 14:59:30 +00:00
nagai bd47024ab6 * ext/tk/lib/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk Extension.
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tk/winpkg.rb: ditto.
* ext/tk/lib/tkextlib/*: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-30 14:53:52 +00:00
eban 99cdce85f2 * 2005-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-29 05:17:10 +00:00
akr 89d21d118d add a test for [ruby-dev:26127].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-29 04:55:56 +00:00
gotoyuzo 1e0f2f7ca8 * test/openssl/test_x509store.rb: add test for expired CRL
and refine some assertions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-28 07:41:36 +00:00
eban ca144bc192 * 2005-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-28 02:14:07 +00:00
gotoyuzo 313799a022 * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_time): should
not set internal flag directry.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27 20:20:29 +00:00
gotoyuzo 2530fa50e9 * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):
ENV["REQUEST_URI"] is better to get correct Request-URI
  than ENV["SCRIPT_NAME"] + ENV["PATH_INFO"].  [ruby-dev:26235]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27 17:16:06 +00:00
eban aee4253e70 * lib/mkmf.rb: use the semicolon as the path separator
in the environment of MSYS.  fixed: [ruby-dev:26232]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27 07:49:06 +00:00
eban d44aad5715 * 2005-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-26 12:58:55 +00:00
aamine 98855e4a27 * lib/fileutils.rb (remove_entry_secure): add documentation.
* lib/fileutils.rb (remove_entry_secure): should not invoke unlink(2) against a directory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-26 11:33:16 +00:00
nobu 0d5b973720 * vms/vmsruby_private.c, vms/vmsruby_private.h: private routines
for VMS port are added.

* eval.c (ruby_init): change to call VMS private intialization routine.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 23:35:25 +00:00
aamine 55ec2ad163 * lib/fileutils.rb (rm_r): use lchown(2), not chown(2). [ruby-dev:26226]
* lib/fileutils.rb (cd): remove :noop option. (FEATURE CHANGE)
* lib/fileutils.rb (cp_r): should copy symlink as symlink, for also tree root. (FEATURE CHANGE)
* lib/fileutils.rb (cp_r): new option :dereference_root.
* lib/fileutils.rb: new method remove_entry.
* lib/fileutils.rb: new method remove_entry_secure.
* lib/fileutils.rb: add documentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 22:41:32 +00:00
nagai 87cad12ae8 * ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 21:11:13 +00:00
nagai 90537dbe3c * ext/tk/lib/tk.rb: TkComm#tk_split_*list fail to split a kind of SJIS
strings. To avoid the trouble, add arguments to control converting
  encoding, and do split on a UTF8 string.
* ext/tk/lib/multi-tk.rb: modify to attend encoding.
* ext/tk/lib/remote-tk.rb: ditto.
* ext/tk/lib/tk/itemconfig.rb: ditto.
* ext/tk/lib/tk/listbox.rb: ditto.
* ext/tk/lib/tk/namespace.rb: ditto.
* ext/tk/lib/tk/panedwindow.rb: ditto.
* ext/tk/lib/tk/text.rb: ditto.
* ext/tk/lib/tk/textmark.rb: ditto.
* ext/tk/lib/tk/texttag.rb: ditto.
* ext/tk/lib/tk/variable.rb: ditto.
* ext/tk/lib/tk/winfo.rb: ditto.
* ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb: ditto.
* ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: ditto.
* ext/tk/lib/tk.rb: add TkWindow#lower_window/raise_window and
  Tk#lower_window/raise_window by reason of method-name conflict
* ext/tk/lib/tk/canvas.rb: bug fix on TkCanvas#delete when given
  non-TkcItem arguments.
* ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 11:09:59 +00:00
aamine ac5925d2ab * lib/fileutils.rb (rm_r): does chown(2). [ruby-dev:26199]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 10:50:14 +00:00
akr 71a80abc7c * lib/open-uri.rb (OpenURI::Meta::RE_QUOTED_STRING): a content of
quoted-string should be zero or more characters.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 04:03:20 +00:00
eban 2ca35a8bfe * 2005-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-24 15:25:52 +00:00
matz d3a0ec7636 * numeric.c (fix_pow): support Fixnum ** Float case directly
without coercing.  [ruby-talk:142697] [ruby-talk:143054]

* ruby.c (require_libraries): caused SEGV when continuation jumped
  in to the required library code.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-24 15:24:23 +00:00
shugo 6e02769837 * test/readline/test_readline.rb: do not test libedit.
fixed: [ruby-dev:26217]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-24 08:48:41 +00:00
nobu f7ca291dd1 * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): string
literals to be matched non-greedy.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 21:46:18 +00:00
eban 0162e83dfa * version.h: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 15:45:01 +00:00
eban b38dcb30b4 * 2005-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 15:41:59 +00:00
nahi 087ff5d6e7 * test/soap/calc: method name 'set' was able to crash with a class Set.
[ruby-dev:26210]

        * test/wsdl/document/test_rpc.rb: dateTime comparison failed under
          TZ=right/Asia/Tokyo (with leap second.) [ruby-dev:26208]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 15:40:01 +00:00
nagai 94aa5943bb * ext/tk/extconf.rb: Framework support on MacOS X Tiger.
* ext/tk/README.tcltklib: add description of Framework support options.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 07:27:08 +00:00
usa 34075ed209 * win32/Makefile.sub ($(PROGRAM)): add dependency on $(LIBRUBY_SO).
[experimental]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 06:10:32 +00:00
eban d7fcba730c * 2005-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 04:08:37 +00:00
matz d11b15eb8c * re.c (make_regexp): should not return junk address during
compile time.  [ruby-dev:26206]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 03:24:28 +00:00
nahi eb3f829be9 * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.
== SOAP client and server ==

	  === for both client side and server side ===

	  * improved document/literal service support.
	    style(rpc,document)/use(encoding, literal) combination are all
	    supported.  for the detail about combination, see
	    test/soap/test_style.rb.

	  * let WSDLEncodedRegistry#soap2obj map SOAP/OM to Ruby according to
	    WSDL as well as obj2soap.  closes #70.

	  * let SOAP::Mapping::Object handle XML attribute for doc/lit service.
	    you can set/get XML attribute via accessor methods which as a name
	    'xmlattr_' prefixed (<foo name="bar"/> -> Foo#xmlattr_name).

	  === client side ===

	  * WSDLDriver capitalized name operation bug fixed.  from
	    1.5.3-ruby1.8.2, operation which has capitalized name (such as
	    KeywordSearchRequest in AWS) is defined as a method having
	    uncapitalized name. (converted with GenSupport.safemethodname
	    to handle operation name 'foo-bar').  it introduced serious
	    incompatibility; in the past, it was defined as a capitalized.
	    define capitalized method as well under that circumstance.

	  * added new factory interface 'WSDLDriverFactory#create_rpc_driver'
	    to create RPC::Driver, not WSDLDriver (RPC::Driver and WSDLDriver
	    are merged).  'WSDLDriverFactory#create_driver' still creates
	    WSDLDriver for compatibility but it warns that the method is
	    deprecated.  please use create_rpc_driver instead of create_driver.

	  * allow to use an URI object as an endpoint_url even with net/http,
	    not http-access2.

	  === server side ===

	  * added mod_ruby support to SOAP::CGIStub.  rename a CGI script
	    server.cgi to server.rb and let mod_ruby's RubyHandler handles the
	    script.  CGIStub detects if it's running under mod_ruby environment
	    or not.

	  * added fcgi support to SOAP::CGIStub.  see the sample at
	    sample/soap/calc/server.fcgi.  (almost same as server.cgi but has
	    fcgi handler at the bottom.)

	  * allow to return a SOAPFault object to respond customized SOAP fault.

	  * added the interface 'generate_explicit_type' for server side
	    (CGIStub, HTTPServer).  call 'self.generate_explicit_type = true'
	    if you want to return simplified XML even if it's rpc/encoded
	    service.

	  == WSDL ==

	  === WSDL definition ===

	  * improved XML Schema support such as extension, restriction,
	    simpleType, complexType + simpleContent, ref, length, import,
	    include.

	  * reduced "unknown element/attribute" warnings (warn only 1 time for
	    each QName).

	  * importing XSD file at schemaLocation with xsd:import.

	  === code generation from WSDL ===

	  * generator crashed when there's '-' in defined element/attribute
	    name.

	  * added ApacheMap WSDL definition.

	* sample/{soap,wsdl}: removed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 13:03:38 +00:00
gotoyuzo 7aea792d3b * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#intialize):
should initialize session id context. [ruby-core:4663]

* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): add session id support.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 10:18:41 +00:00