aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.nahi2005-05-22181-9360/+3163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | == 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
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-05-2231-0/+2817
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-22eban2005-05-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#intialize):gotoyuzo2005-05-223-1/+23
| | | | | | | | | 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
* * bcc32/Makefile.sub: tds files were not deleted when DESTDIRocean2005-05-212-1/+6
| | | | | | | 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
* * lib/rexml/encodings/SHIFT-JIS.rb: encoding and decoding wereocean2005-05-192-2/+7
| | | | | | | 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-19eban2005-05-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Cross-ported the REXML changes from HEAD to the 1.8 branch.ser2005-05-1923-1043/+1339
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-05-191-0/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_exception): reverted to call Exception#initializenobu2005-05-182-1/+6
| | | | | | | 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-18nobu2005-05-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): get rid of using String. [ruby-dev:26180]nobu2005-05-184-73/+100
| | | | | | | | | | * 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
* * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): shouldgotoyuzo2005-05-172-1/+6
| | | | | | | 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
* * ChangeLog: fix typo.usa2005-05-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-17usa2005-05-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (unixtime_to_filetime): use localtime() instaed ofusa2005-05-172-1/+6
| | | | | | | gmtime() when using FileLocalTimeToFileTime(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_class_init_copy): singleton class is disallowed to copy,nobu2005-05-162-1/+7
| | | | | | | 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
* * win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_tnobu2005-05-165-3/+14
| | | | | | | 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
* * win32/win32.{h,c}: define rb_{p,g,u}id_t.ocean2005-05-153-18/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-16eban2005-05-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#unlink): use SystemCallError instead ofakr2005-05-152-1/+7
| | | | | | | | 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
* use raise(exception) [ruby-dev:26164]seki2005-05-152-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefsnobu2005-05-153-20/+10
| | | | | | | 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
* * lib/pathname.rb (Pathname#unlink): unlink a symlink to a directoryakr2005-05-152-3/+8
| | | | | | | 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
* * win32/win32.c (unixtime_to_filetime): deal with DST.nobu2005-05-152-1/+8
| | | | | | | [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-14nobu2005-05-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_exception, {exit,name_err,syserr}_initialize): callnobu2005-05-142-4/+9
| | | | | | | Execption#initialize. fixed: [ruby-talk:142593] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Check for the availability of pid_t, gid_t and uid_t andnobu2005-05-1411-30/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | remove AC_TYPE_UID_T. fixed: [ruby-core:04745] * defines.h: Remove pid_t typedef. * ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with the available system types. * process.c: Change instances of pid_t and gid_t to their rb_* counterparts. * ext/pty/pty.c: Change pid_t to rb_pid_t. * vms/config.h: Define HAVE_{P,G,U}ID_T to 1. * win32/Makefile.sub: Remove #define for {g,u}id_t. * win32/win32.c: Change pid_t to rb_pid_t. * wince/Makefile.sub: Remove #define for {g,u}id_t. * wince/sys/types.h: Remove definitions of {p,g,u}id_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* restored @progressocean2005-05-141-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: keep srcdir unexpanded.nobu2005-05-136-7/+24
| | | | | | | | | | | | * lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary. fixed: [ruby-core:04932] * lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make also INSTALL_PROG and INSTALL_DATA system dependent. fixed: [ruby-core:04931] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (generic_ivar_get): rb_attr_get should not warn.ocean2005-05-132-6/+12
| | | | | | | [ruby-dev:26010] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ChangeLogocean2005-05-131-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb: add test for find_all. (based on Daniel Berger's ↵ocean2005-05-132-0/+12
| | | | | | patch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ChangeLogocean2005-05-131-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_select): can remove argc check. [ruby-core:4911]ocean2005-05-132-7/+6
| | | | | | | (patch from Daniel Berger) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-13usa2005-05-131-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (unknown_node): add volatile directive to prototype.usa2005-05-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for reading an extended fileakr2005-05-121-0/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: update version number to 1.8.3.matz2005-05-121-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (break_jump): break should not cross functions.matz2005-05-122-0/+8
| | | | | | | [ruby-list:40818] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_eof, remain_size, read_all, io_read, appendline)akr2005-05-123-17/+26
| | | | | | | | | | | (swallow, rb_io_each_byte, rb_io_getc): revert previous change. * io.c (rb_io_eof, io_fread, appendline, swallow, rb_io_each_byte) (rb_io_getc, rb_getc): call clearerr before getc to avoid stdio incompatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb: more readability for mixingocean2005-05-122-4/+15
| | | | | | | progress "c..." and warning message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5naruse2005-05-122-11/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_eof, remain_size, read_all, io_read, appendline)akr2005-05-123-10/+23
| | | | | | | | (swallow, rb_io_each_byte, rb_io_getc): don't rely EOF flag. [ruby-talk:141527] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.ocean2005-05-122-0/+16
| | | | | | | [ruby-core:4341] (based on Tilman Sauerbeck's patch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/drb/test_drb{ssl,unix}.rb: can test drbocean2005-05-123-4/+9
| | | | | | | before install. (backported from HEAD) [ruby-dev:26146] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (ruby_show_version): flush for non-tty stdout.nobu2005-05-122-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb, test/drb/drbtest.rb: can test drbocean2005-05-123-9/+21
| | | | | | | before install. (backported from HEAD) [ruby-Bugs-1672] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-12eban2005-05-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (unknown_node): ignore broken NODE to get rid of accessingnobu2005-05-112-3/+16
| | | | | | | | possibly inaccessible address. fixed: [ruby-dev:26122] should emit more useful information like [ruby-dev:26126], though. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e