summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * file.c (rb_file_s_extname): empty string for path name ending with anobu2005-09-162-6/+21
| | | | | | | | | | period. fixed: [ruby-core:05651] * file.c (rb_file_join): smarter behavior at edge cases. fixed: [ruby-core:05706] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/node.c (syck_replace_str): was using return from thematz2005-09-162-1/+7
| | | | | | | | void function. a patch from MIYAMUKO Katsuyuki <miyamuko@mtb.biglobe.ne.jp>. [ruby-dev:27111] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: patch from "NATORI Shin"matz2005-09-162-8/+43
| | | | | | | (u-tokyo.ac.jp) applied to fix rounding bug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: fix typo on MultiTkIp#bg_eval_stringnagai2005-09-163-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_resolver_transfer): remove C++ stylematz2005-09-164-5/+13
| | | | | | | comment (//). [ruby-core:05793] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/logger/test_logger.rb: unintentionally overwritten changes bynahi2005-09-152-0/+7
| | | | | | | Usa. reverted. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-09-16eban2005-09-151-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to update some files in the previous soap4r-1.5.5 import.nahi2005-09-152-60/+112
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should setgotoyuzo2005-09-152-0/+6
| | | | | | | $stdout.binmode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5.nahi2005-09-1554-599/+902
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #nnn is a ticket number at http://dev.ctor.org/soap4r * SOAP * allow to configure an envelope namespace of SOAP request. (#124) TemporaryNamespace = 'http://www.w3.org/2003/05/soap-envelope' @client.options["soap.envelope.requestnamespace"] = TemporaryNamespace @client.options["soap.envelope.responsenamespace"] = TemporaryNamespace @client.do_proc(...) * let SOAP request XML indent space configuable. see "soap.envelope.no_indent" option. (#130) * let external CES configuable. ex. client["soap.mapping.external_ces"] = 'SJIS'. $KCODE is used by default. (#133) external CES ::= CES used in Ruby object of client and server internal CES ::= CES used in SOAP/OM * add iso-8859-1 external CES support. (#106) * fixed illegal 'qualified' handling of elements. it caused ASP.NET inteoperability problem. (#144) * added 'soap.envelope.use_numeric_character_reference' (boolean) option to let query XML use numeric character reference in XML, not plain UTF-8 character. !GoogleSearch server seems to not allow plain UTF-8 character since 2005-08-15 update. (#147) * SOAP::Header::SimpleHeader (de)serialization throws an exception on !SimpleHeader.on_(in|out)bound when header is a String. so we could not use a simple single element headerItem. fixed. thanks to emil. (#129) * out parameter of rpc operation did not work. (#132) * follow HTTP redirect only if using http-access2. (#125) (#145) * add a workaround for importing an WSDL whose path begins with drive letter. (#115) * WSDL * SOAP Data which is defined as a simpletype was not mapped correctly to Ruby obj when using wsdl2ruby.rb generated classdef file. (#123) * rpc/literal support. (#118) * re-implemented local element qualify/unqualify control. handles elementFormDefault and form in WSDL. (#119) * Array of an element which has simpleType causes a crash. (#128) * prarmeterOrder may not contain return part so it can be shorter than parts size. Thanks to Hugh. (#139) * Samples * added !BasicAuth client sample. (#117) * added Base64 client/server sample. * added Flickr SOAP interface client sample. (#122) * added !SalesForce client sample. (#135) * updated Thawte CA certificate for !GoogleAdWords sample. * updated a client script with the newer version made by Johan. thanks! * shortened long file names. (#120) * fixed typo in authheader sample. (#129) * updated deprecated method usage. (#138) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-09-1529-0/+2953
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h (rb_w32_stat): added prototype.ocean2005-09-152-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (test_exit_action): skip the test usingusa2005-09-152-0/+15
| | | | | | | fork on fork-less platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/dialog.rb: If a dialog does not show up yet,nagai2005-09-153-7/+13
| | | | | | | TkDialogObj#name raises an exception. [ruby-talk:156109] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (Rinda::TemplateEntry::initialize): pull up method. Tabs converted to spaces.seki2005-09-142-108/+105
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: updated.matz2005-09-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread withmatz2005-09-142-1/+6
| | | | | | | readpartial. [ruby-talk:127641] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (ruby_glob): glob function not using ruby exception system.nobu2005-09-144-52/+67
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-09-14eban2005-09-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/https.rb: backported from trunk, rev 1.3. [ruby-dev:25673] ↵aamine2005-09-135-246/+17
| | | | | | | | | | | (again), [ruby-dev:26617] (again), [ruby-dev:27062] * ext/openssl/lib/net/https.rb: removed. * ext/openssl/lib/net/protocols.rb: removed. * lib/net/http.rb: #use_ssl?, #use_ssl are moved from net/https. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (Logger): added formatter accessor to logger fornahi2005-09-133-83/+111
| | | | | | | | | | | | | | | | dictating the way in which the logger should format the messages it displays. Thanks to Nicholas Seckar (cf. [ruby-talk:153391]) and Daniel Berger. * lib/logger.rb (Logger): added VERSION constant. * lib/logger.rb: removed document for LogDevice. It is an implementation detail and is not a public interface. * test/logger/test_logger.rb: added tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (BEGIN_CALLARGS): pop halfly pushed status.nobu2005-09-132-4/+11
| | | | | | | fixed: [ruby-dev:26881] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-09-13nobu2005-09-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: backported from trunk, rev 1.128. [ruby-dev:25673] ↵aamine2005-09-135-456/+795
| | | | | | | | | | | | [ruby-dev:26617] * lib/net/protocol.rb: backported from trunk, rev 1.78. * lib/net/protocol.rb: new method #old_open to support net/smtp and net/pop. * lib/net/smtp.rb: use #old_open. * lib/net/pop.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: reworking YAML::Stream to use the newwhy2005-09-130-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | emitter. * lib/yaml/stream.rb: ditto. * lib/yaml/rubytypes.rb: added Object#yaml_new. * lib/yaml/tag.rb: the tag_subclasses? method now shows up in the class. allow taguri to be set using an accessor. continue support of Object#to_yaml_type. * ext/syck/rubyext.c: new emitter code. yaml_new and yaml_initialize get called, should they be present. consolidated all the diaspora of internal node types into the family below YAML::Syck::Node -- Map, Seq, Scalar -- all of whom are SyckNode structs pointing to Ruby data. moved Object#yaml_new into the node_import and made it the default behavior. the target_class is always called wih yaml_new, prepended a parameter, which is the klass. loaded nodes through GenericResolver show their style. new Resolver#tagurize converts type ids to taguris. * ext/syck/implicit.re: were 'y' and 'n' seriously omitted?? * ext/syck/emitter.c: renovated emitter, walks the tree in advance. consolidated redundant block_styles struct into the scalar_style struct. (this means loaded nodes can now be sent back to emitter and preserve at least its very basic formatting.) * ext/syck/gram.c: headless documents of any kind allowed. * ext/syck/node.c: new syck_replace_str methods and syck_empty_* methods for rewriting node contents, while keeping the ID and other setup info. added syck_seq_assign. * ext/syck/syck.h: reflect block_styles and new node functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-09-131-0/+86
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: reworking YAML::Stream to use the newwhy2005-09-1321-2594/+4242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | emitter. * lib/yaml/stream.rb: ditto. * lib/yaml/rubytypes.rb: added Object#yaml_new. * lib/yaml/tag.rb: the tag_subclasses? method now shows up in the class. allow taguri to be set using an accessor. continue support of Object#to_yaml_type. * ext/syck/rubyext.c: new emitter code. yaml_new and yaml_initialize get called, should they be present. consolidated all the diaspora of internal node types into the family below YAML::Syck::Node -- Map, Seq, Scalar -- all of whom are SyckNode structs pointing to Ruby data. moved Object#yaml_new into the node_import and made it the default behavior. the target_class is always called wih yaml_new, prepended a parameter, which is the klass. loaded nodes through GenericResolver show their style. new Resolver#tagurize converts type ids to taguris. * ext/syck/implicit.re: were 'y' and 'n' seriously omitted?? * ext/syck/emitter.c: renovated emitter, walks the tree in advance. consolidated redundant block_styles struct into the scalar_style struct. (this means loaded nodes can now be sent back to emitter and preserve at least its very basic formatting.) * ext/syck/gram.c: headless documents of any kind allowed. * ext/syck/node.c: new syck_replace_str methods and syck_empty_* methods for rewriting node contents, while keeping the ID and other setup info. added syck_seq_assign. * ext/syck/syck.h: reflect block_styles and new node functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pkcs7.rb (test_enveloped): skip this testgotoyuzo2005-09-122-0/+13
| | | | | | | | | to avoid a bug of PKCS7_enctypt() (only if ext/openssl is compiled with OpenSSL-0.9.7d or earlier versions). http://www.mail-archive.com/openssl-dev@openssl.org/msg17376.html git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dbm/test_dbm.rb: remove locking test, which may not bematz2005-09-123-83/+9
| | | | | | | supported on some platforms. [ruby-dev:27030] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/dl.c (rb_io_to_ptr): merged a patch for DragonFly BSDmatz2005-09-122-0/+9
| | | | | | | from Takahiro Kambe <taca@back-street.net>. [ruby-dev:27023] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-09-12matz2005-09-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set ERB#filename so that it is used when reporting syntax/runtime errors.seki2005-09-112-75/+82
| | | | | | | Tabs converted to spaces. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-09-11seki2005-09-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tiny ChangeLog fixocean2005-09-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_engine.c (ossl_engine_s_by_id):gotoyuzo2005-09-102-3/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | OpenSSL::Engine.by_id calls given block before calling ENGINE_init (block parameter is the return value of this method itself). this functionality is useful to load dynamic shared engines. the following code is a sample of loading a key using OpenSC PKCS #11 module. require "openssl" pkcs11 = OpenSSL::Engine.by_id("dynamic"){|e| e.ctrl_cmd("SO_PATH", "/usr/lib/opensc/engine_pkcs11.so") e.ctrl_cmd("LIST_ADD", "1") e.ctrl_cmd("LOAD") } pkcs11.ctrl_cmd("PIN", "secret") key = pkcs11.load_private_key * ext/openssl/ossl_engine.c (ossl_engine_ctrl_cmd): new method OpenSSL::Engine#ctrl_cmd. it wraps ENGINE_ctrl_cmd_string. * ext/openssl/ossl_engine.c (ossl_engine_get_cmds): new method OpenSSL::Engine#cmds. it returms engine command definitions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* these files were forgotten in last commit.gotoyuzo2005-09-102-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (asn1str_to_str): new function.gotoyuzo2005-09-103-16/+174
| | | | | | | | | | | | | | * ext/openssl/ossl_pkcs7.c: new class OpenSSL::PKCS7::RecipientInfo. this class wraps PKCS7_RECIP_INFO struct. * ext/openssl/ossl_pkcs7.c: OpenSSL::PKCS7::Signer is renamed to OpenSSL::PKCS7::SignerInfo. ("Signer" remains as an alias of SignerInfo.) * test/openssl/test_pkcs7.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): assume thatgotoyuzo2005-09-102-3/+46
| | | | | | | | | | | the argument is a DER string if Base64 decoding failed. * ext/openssl/ossl_ns_pki.c (ossl_spki_to_der): new method. * test/openssl/test_ns_spki.rb: add new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-09-102-0/+207
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.gotoyuzo2005-09-102-2/+16
| | | | | | | | | | these features are enabled if this library is compiled with OpenSSL 0.9.8 or later. * test/openssl/test_digest.rb: add test for new digests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (ossl_raise): should use ERR_peek_last_errorgotoyuzo2005-09-106-7/+79
| | | | | | | | | | | | | | | | | | | | | | | | | to get last error on the current thread. And should report errors are on the stack while OpenSSL.debug is true. * ext/openssl/ossl.c (ossl_get_errors): new method for debugging this library. * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message. * ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid of unused variable. * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should set @time to avoid warning. * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths, X509_STORE_add_cert, X509_STORE_add_crl): should raise error if wrapped functions failed. * test/openssl/test_x509store.rb: add test for errors. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-09-10gotoyuzo2005-09-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): prohibit calling tainted method (>2) whenmatz2005-09-093-9/+27
| | | | | | | | | | $SAFE == 0. * sprintf.c (rb_f_sprintf): warn "too many argument" on verbose mode (-v/-w); backported from 1.9. [ruby-dev:26963] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_try), ext/iconv/extconf.rb: get rid of metanobu2005-09-093-4/+10
| | | | | | | characters in command line option. fixed: [ruby-talk:155369] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-09-09nobu2005-09-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_times): make empty strings to keep taintness,nobu2005-09-092-5/+9
| | | | | | | and a little improvement. [ruby-dev:26900] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * merged a patch from Takahiro Kambe <taca@back-street.net> tomatz2005-09-086-12/+27
| | | | | | | | | | | | | | support DragonFly BSD. [ruby-dev:26984] * object.c (rb_mod_cvar_get, rb_mod_cvar_set): document fix from sheepman <sheepman@sheepman.sakura.ne.jp>; a bug in visibility description. [ruby-dev:26965] * sprintf.c (rb_f_sprintf): warn "too many argument" on verbose mode (-v/-w); backported from 1.9. [ruby-dev:26963] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-09-08matz2005-09-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: abolish mod === tempfile to avoid a problemakr2005-09-072-2/+7
| | | | | | | [ruby-dev:26967]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_switch): convert all exceptions tonobu2005-09-072-0/+12
| | | | | | | | | | SystemExit. fixed: [ruby-core:05724] * eval.c (rb_thread_terminated): show backtrace before propagate exceptions to main thread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e