Commit graph

7022 commits

Author SHA1 Message Date
eban
39053cfbbd * 2005-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-29 05:17:10 +00:00
akr
2b245b9aa5 add a test for [ruby-dev:26127].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-29 04:55:56 +00:00
gotoyuzo
6794f52b80 * test/openssl/test_x509store.rb: add test for expired CRL
and refine some assertions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-28 07:41:36 +00:00
eban
33356cc8ae * 2005-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-28 02:14:07 +00:00
gotoyuzo
76d714d88a * 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/branches/ruby_1_8@8532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27 20:20:29 +00:00
gotoyuzo
63c32170e7 * 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/branches/ruby_1_8@8531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27 17:16:06 +00:00
eban
4eae21a92d * 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/branches/ruby_1_8@8530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27 07:49:06 +00:00
eban
476f4239d9 * 2005-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-26 12:58:55 +00:00
nobu
fc2d1043b9 * ChangeLog: fix entry format.
* eval.c (ruby_init): fix indent.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 23:09:05 +00:00
nagai
d6c818d699 * ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 21:11:13 +00:00
shugo
a9be3e4f03 * lib/irb/input-method.rb: do not use Readline::HISTORY.pop.
(backported from HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 13:53:41 +00:00
shugo
01ad1e82b5 * ext/readline/readline.c: supported libedit. (backported from HEAD)
* ext/readline/extconf.rb: ditto.

* test/readline/test_readline.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 13:01:56 +00:00
nagai
9130381a8c * 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/branches/ruby_1_8@8521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 11:09:59 +00:00
eban
cdea7dd4ed * 2005-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 04:39:08 +00:00
akr
9b1bec6228 * 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/branches/ruby_1_8@8518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 04:03:20 +00:00
matz
c33063f42d * 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/branches/ruby_1_8@8515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-24 14:52:05 +00:00
eban
df18044d22 * lib/getopts.rb: should warn only if verbose mode.
fixed: [ruby-dev:26201]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-24 03:01:17 +00:00
nobu
c2afc0880b * 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/branches/ruby_1_8@8512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 21:46:18 +00:00
eban
fbd6251943 * 2005-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 15:41:59 +00:00
nahi
bc315949ed * 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/branches/ruby_1_8@8509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 15:40:01 +00:00
nagai
4e8ec8f2fa * ext/tcltklib/extconf.rb: Framework support on MacOS X Tiger.
* ext/tcltklib/README.1st: add description of Framework support options.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 07:27:37 +00:00
eban
a2d4a3a9be * 2005-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 04:08:37 +00:00
matz
b27c743763 * 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/branches/ruby_1_8@8504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 03:24:28 +00:00
nahi
b5fed06c2a failed to add some test directories in the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 13:28:00 +00:00
nahi
991d0c409c * 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/branches/ruby_1_8@8502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 13:20:28 +00:00
(no author)
15b7d43988 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 13:20:28 +00:00
eban
7c95e34533 * 2005-05-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 10:25:26 +00:00
gotoyuzo
736460bf9f * 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/branches/ruby_1_8@8498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 10:18:41 +00:00
ocean
06b7b801ff * bcc32/Makefile.sub: tds files were not deleted when DESTDIR
included '\' path delimiter. [ruby-dev:26193]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-21 01:26:02 +00:00
ocean
57afbdb7d1 * lib/rexml/encodings/SHIFT-JIS.rb: encoding and decoding were
swapped. [ruby-core:4772]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19 10:08:11 +00:00
eban
79a2ce59c5 * 2005-05-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19 03:56:51 +00:00
ser
ed512acb2f Cross-ported the REXML changes from HEAD to the 1.8 branch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19 03:51:53 +00:00
(no author)
d4d497dd86 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19 03:51:53 +00:00
nobu
44f0517a13 * error.c (exc_exception): reverted to call Exception#initialize
directly.  fixed: [ruby-dev:26177]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18 14:43:03 +00:00
nobu
16c878227e * 2005-05-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18 14:42:53 +00:00
nobu
a5f61654e9 * dir.c (glob_helper): get rid of using String. [ruby-dev:26180]
* dir.c (push_braces): should skip balanced braces.

* eval.c (ruby_options), win32/win32.c (NtInitialize): move argument
  intialization back.  [ruby-dev:26180]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18 14:39:27 +00:00
gotoyuzo
2866bd642f * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should
break the loop if the socket reached to EOF. [ruby-talk:142285]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-17 06:31:54 +00:00
usa
0b2defb077 * ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-17 03:13:12 +00:00
usa
363109a140 * 2005-05-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-17 02:53:09 +00:00
usa
3279381758 * win32/win32.c (unixtime_to_filetime): use localtime() instaed of
gmtime() when using FileLocalTimeToFileTime().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-17 02:52:43 +00:00
nobu
297cb521c1 * class.c (rb_class_init_copy): singleton class is disallowed to copy,
from its definition.  fixed: [ruby-talk:142749]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16 13:28:59 +00:00
nobu
73cc4a2cd7 * win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
to get rid of redefinition warnings on mingw.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16 13:22:09 +00:00
ocean
49e9468085 * win32/win32.{h,c}: define rb_{p,g,u}id_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 23:53:17 +00:00
eban
7583b6296b * 2005-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 15:41:58 +00:00
akr
be2210bbbd * lib/pathname.rb (Pathname#unlink): use SystemCallError instead of
Errno::EISDIR because EISDIR is not portable.
  [ruby-core:5001]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 15:32:35 +00:00
seki
381751042c use raise(exception) [ruby-dev:26164]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 13:14:11 +00:00
nobu
ad76d75ea5 * configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefs
to get rid of types which might not be defined yet.  [ruby-dev:26165]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 09:56:53 +00:00
akr
21e22f8f96 * lib/pathname.rb (Pathname#unlink): unlink a symlink to a directory
was failed.  [ruby-core:4992]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 05:50:45 +00:00
nobu
ab59e8a6cc * win32/win32.c (unixtime_to_filetime): deal with DST.
[ruby-talk:141817]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 00:57:49 +00:00
nobu
2026678e21 * 2005-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 15:00:12 +00:00