summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * ext/syck/rubyext.c (syck_resolver_transfer): remove C++ stylematz2005-09-161-0/+1
| | | | | | | comment (//). [ruby-core:05793] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9176 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-151-0/+1
| | | | | | | $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-1545-583/+799
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #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
* (Rinda::TemplateEntry::initialize): pull up method. Tabs converted to spaces.seki2005-09-141-108/+100
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread withmatz2005-09-141-1/+1
| | | | | | | readpartial. [ruby-talk:127641] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/https.rb: backported from trunk, rev 1.3. [ruby-dev:25673] ↵aamine2005-09-132-9/+5
| | | | | | | | | | | (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-131-78/+64
| | | | | | | | | | | | | | | | 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
* * lib/net/http.rb: backported from trunk, rev 1.128. [ruby-dev:25673] ↵aamine2005-09-134-456/+781
| | | | | | | | | | | | [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
* 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-138-720/+428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * lib/open-uri.rb: abolish mod === tempfile to avoid a problemakr2005-09-071-2/+2
| | | | | | | [ruby-dev:26967]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (what_type?): guesstimate type.nobu2005-09-061-0/+55
| | | | | | | | * ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be char*. fixed: [ruby-core:05470] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: a patch from Florian Gross <florgro@gmail.com>matz2005-09-051-11/+30
| | | | | | | | merged to allow recursive inspect (and to_s) for OpenStruct. [ruby-core:05532] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: do not use __send__ to access private methods. [ruby-dev:26935]nobu2005-09-0214-40/+44
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb: make IRB -I option that is same befavior for ruby.keiju2005-09-012-1/+12
| | | | | | | | | | [ruby-dev:26872], [ruby-dev: 26920] * lib/irb/locale.rb: support to print help message when OS locale is ja_JP.utf-8. [ruby-dev:26872] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.nobu2005-08-301-18/+18
| | | | | | | | | | * lib/mkmf.rb (link_command, cc_command, cpp_command): expand variables at once, and quote hdrdir. fixed: [ruby-core:05680] * lib/mkmf.rb (libpathflag): quote paths. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/usage.rb: supress warning.ocean2005-08-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870]ocean2005-08-291-15/+22
| | | | | | | | * lib/rdoc/usage.rb: support the case when non-ruby code exists before shebang. (this is needed when ri.bat is executed on windows) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.parse): extract fractional seconds usingakr2005-08-281-35/+48
| | | | | | | Date._parse. [ruby-talk:153859] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/wsdl/xmlSchema/importer.rb (WSDL::XMLSchema::Importer#fetch): addnahi2005-08-201-1/+7
| | | | | | | | a workaround for importing an WSDL whose path begins with drive letter. [ruby-dev:26242] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (write, shift_log?, shift_log): file shifting racenahi2005-08-201-65/+64
| | | | | | | | | condition bug fixed. [ruby-dev:26764] * test/logger/test_logger.rb: tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.apply_offset): fix a problem with last day ofakr2005-08-191-1/+7
| | | | | | | month. reported by Lucas Nussbaum. [ruby-talk:152866] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Fixed the inheritance bug in the pull parser that James Britt found.ser2005-08-1215-821/+827
| | | | | | | | | | | | | | * Indentation changes, and changed some exceptions to runtime exceptions. * Backed out the patch that changed the versions * Wasn't including Text class. * Fixes issue:25 (Trac) * Fixes ticket:3 (Issue38 in Roundup.) * Numerous fixes in the XPath interpreter correcting, among other things, ordering bugs and some incorrect behavior. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/1.0.rb (RSS::RDF::Channel#setup_maker_attributes):kou2005-08-114-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | removed self. * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#<=>): use #date instead of @date. (RSS::Maker::Base::self.def_array_element): added #size. * lib/rss/maker/1.0.rb (RSS::Maker::RSS10::Channel#to_rss, RSS::Maker::RSS10::Items::Item#to_rss): cleared dc_dates set upped by using #date. * lib/rss/maker/dublincore.rb (RSS::Maker::ChannelBase, RSS::Maker::ItemsBase::ItemBase): fixed opposite alias. * test/rss/test_setup_maker_1.0.rb (RSS::TestSetupMaker10::test_setup_maker_items_sort): added some tests for RSS::Maker::ItemsBase#do_sort. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): need to convert path separetorusa2005-08-051-1/+11
| | | | | | | before invoking install command. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ping.rb (Ping.pingecho): should rescue StandardError.gotoyuzo2005-08-011-1/+1
| | | | | | | [ruby-dev:26677] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use private_methods and protected_methods instead of respond_to? to checkseki2005-07-311-13/+12
| | | | | | | method visibility. [ruby-dev:26616] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb: fix `irb --readline` option. [ruby-list:40955]keiju2005-07-311-4/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-07-221-0/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb: moved copyright description to lib/rss.rb.kou2005-07-221-7/+0
| | | | | | | | | | | | | | | | * lib/rss.rb: added for convenience. * sample/rss/re_read.rb: added #to_s sample. * sample/rss/blend.rb: use 'require "rss"' instead of 'require "rss/*"'. * sample/rss/list_description.rb: ditto. * sample/rss/rss_recent.rb: ditto. * sample/rss/tdiary-plugin/rss-recent.rb: ditto. * sample/rss/tdiary-plugin/rss-recent.rb: 0.0.6 -> 0.0.7. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb (RSS::Parser#initialize): accept HTTP/FTPkou2005-07-221-1/+31
| | | | | | | | | | URI and local file path too. * test/rss/test_parser.rb (RSS::TestParser#test_parse): test for the above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* document fix [ruby-dev:26516] (patch from Kazuhiro NISHIYAMA)ocean2005-07-161-4/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (handle_class_module): handle anobu2005-07-151-15/+39
| | | | | | | | | | | | module enclosed in a built-in module. fixed: [ruby-talk:148239] * lib/rdoc/parsers/parse_c.rb (find_body): allow macros as methods. * lib/rdoc/parsers/parse_c.rb (find_call_seq): allow :nodoc: modifier in C. [ruby-core:04572] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/server.rb (WEBrick::GenericServer#accept_client):gotoyuzo2005-07-143-1/+15
| | | | | | | | | | | | | sockets should be non-blocking mode. [ruby-dev:26405] * lib/webrick/utils.rb (WEBrick::Utils.set_non_blocking): new method. * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_chunked): should call sock.read repeatedly until the preferred size data is obtained. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: keep curdir unexpanded.nobu2005-07-121-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (XMLRPC::Server): Switch from GServer over tomneumann2005-07-101-96/+43
| | | | | | | | WEBrick. This makes file lib/xmlrpc/httpserver.rb obsolete (at least it is no further used by the XML-RPC library). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):gotoyuzo2005-07-101-2/+2
| | | | | | | | mistook in merging the patch of [ruby-dev:26235] at revision 1.4.2.6. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#unlink): try Dir.unlink first toakr2005-07-101-2/+2
| | | | | | | | avoid unlink a directory by root. cf. [ruby-dev:26237] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb (debug_command): added a deficient format specifier.nobu2005-07-101-1/+1
| | | | | | | fixed: [ruby-core:05419] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::VERSION): 0.1.4 -> 0.1.5.kou2005-07-082-3/+3
| | | | | | | | | | | | | | | * test/rss/test_version.rb (RSS::TestVersion#test_version): ditto. * lib/rss/0.9.rb (RSS::Rss::Channel::Item::Category): domain attribute of <category> is optional. Thanks to Chris Lee <clee@kde.org>. * test/rss/test_parser.rb (RSS::TestParser#test_category20): adjusted test case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc fix.akr2005-07-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_http): refine post_connection_checkakr2005-07-011-3/+8
| | | | | | | call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator::respond_to): respond_to? must checkmatz2005-06-301-0/+9
| | | | | | | destination object. [ruby-talk:146894] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb (RubyLex::identify_number): alternative implementskeiju2005-06-301-8/+14
| | | | | | | for [ruby-dev:26410]. And support a numeric form of 0d99999. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb (RubyLex::identify_number): should not treatmatz2005-06-301-2/+3
| | | | | | | plain zero as an octal number. [ruby-dev:26410] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): pre-evaluate argument for unambiguousmatz2005-06-302-0/+9
| | | | | | | | | | | | | | evaluation order. [ruby-dev:26383] * lib/delegate.rb (Delegator::method_missing): forward unknown method to the destination. suggested by <christophe.poucet@gmail.com>. [ruby-talk:146776] * process.c (detach_process_watcher): terminate process watcher thread right after rb_waitpid() succeed. [ruby-talk:146430] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_query): shouldgotoyuzo2005-06-251-0/+1
| | | | | | | discard if key=val pair is empty. patch from Gary Wright. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/*, test/xmlrpc/*: backported changes from HEAD into 1.8mneumann2005-06-246-60/+88
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb, lib/uri/generic.rb: fixed typo in documents andakira2005-06-242-19/+19
| | | | | | | replaced some existent domain name with "example.com". git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e