hsbt
8d7fa2291c
* lib/xmlrpc/parser.rb: added new parser class using libxml-ruby gem.
...
[Feature #9379 ][ruby-core:59633]
* lib/xmlrpc/config.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-13 08:53:16 +00:00
hsbt
e5c9e56893
* lib/gserver.rb: removed unmaintained code.
...
[ruby-core:40313][Feature #5480 ]
* lib/xmlrpc/httpserver.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15 01:21:18 +00:00
tmm1
3ef5adb45b
xmlrpc/client: fix documentation typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-02 00:43:29 +00:00
naruse
fc3b4d06ca
* lib/xmlrpc/client.rb (do_rpc): don't check body length.
...
If HTTP content-encoding is used, the length may be different.
[Bug #8182 ] [ruby-core:53811]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-06 22:26:55 +00:00
zzak
94f35c9bc7
* lib/xmlrpc/client.rb: [DOC] Remove note about SSL package on RAA
...
Since RAA has been deprecated, and the SSL package has been replaced
with net/https this statement is entirely false and should be
deleted. [Bug #9152 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-13 05:57:35 +00:00
a_matsuda
28fd53d2de
* lib/xmlrpc/httpserver.rb: [DOC] Fix typo
...
s/authentification/authentication/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-09 07:04:43 +00:00
a_matsuda
2aa57843f2
* lib/xmlrpc/client.rb: [DOC] Fix typo
...
s/explicitely/explicitly/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-08 03:51:11 +00:00
a_matsuda
7a9f701692
* ext/tk/lib/tk/canvas.rb: [DOC] Fix typo (s/paramter/parameter/)
...
* ext/tk/lib/tk/text.rb: Ditto.
* ext/tk/lib/tkextlib/blt/component.rb: Ditto.
* ext/tk/lib/tkextlib/blt/tree.rb: Ditto.
* ext/tk/lib/tkextlib/blt/treeview.rb: Ditto.
* ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: Ditto.
* lib/xmlrpc/server.rb: Ditto.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-07 10:27:27 +00:00
hsbt
86d6d4d57c
* lib/webrick/compat.rb, lib/xmlrpc/datetime.rb: [DOC] fix typo by @vipulnsward [fix GH-464]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-06 02:10:11 +00:00
zzak
c366a99cc5
* lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341]
...
Patch by Dave Worth https://github.com/ruby/ruby/pull/341
* lib/webrick.rb: ditto
* lib/scanf.rb: ditto
* lib/xmlrpc/config.rb: ditto
* lib/resolv.rb: ditto
* lib/e2mmap.rb: ditto
* lib/fileutils.rb: ditto
* lib/mkmf.rb: ditto
* lib/cgi/session.rb: ditto
* lib/yaml.rb: ditto
* lib/erb.rb: ditto
* lib/irb.rb: ditto
* lib/tracer.rb: ditto
* lib/net/http.rb: ditto
* ext/syslog/lib/syslog/logger.rb: ditto
* sample/pty/expect_sample.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-18 13:50:32 +00:00
kou
2b83a57fcb
* lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for raw
...
Net::HTTP. [ruby-core:55197] [Feature #8461 ]
Reported by Herwin Weststrate. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-13 14:07:28 +00:00
kou
16d5c80678
* lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Support
...
multiple names in a response. [ruby-core:41711] [Bug #5774 ]
Reported by Roman Riha. Thanks!!!
* test/xmlrpc/test_client.rb (XMLRPC::ClientTest#test_cookie_override):
Add a test of the above case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-13 13:46:54 +00:00
kou
102e2cd563
* lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Use
...
guard style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-13 13:36:52 +00:00
kou
007fb3b160
* lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Extract.
...
Sorry for forgetting it in r41236.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-12 11:19:18 +00:00
kazu
c54733e120
fix typos inspired by r40825
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 14:50:47 +00:00
marcandre
6f64d9eb56
* lib/cgi/core.rb: Use symbols instead of strings for
...
{const_,instance_variable_}{get,set}. [#7161 ]
* lib/drb/drb.rb: ditto.
* lib/ipaddr.rb: ditto.
* lib/irb/workspace.rb: ditto.
* lib/monitor.rb: ditto.
* lib/rss/maker/base.rb: ditto.
* lib/rss/rss.rb: ditto.
* lib/xmlrpc/parser.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16 16:55:29 +00:00
zzak
1df7862b2b
* lib/xmlrpc.rb: Documentation for XMLRPC
...
* lib/xmlrpc/datetime.rb: ditto.
* lib/xmlrpc/parser.rb: ditto.
* lib/xmlrpc/client.rb: ditto.
* lib/xmlrpc/utils.rb: ditto.
* lib/xmlrpc/README.rdoc: ditto.
* lib/xmlrpc/create.rb: ditto.
* lib/xmlrpc/base64.rb: ditto.
* lib/xmlrpc/config.rb: ditto.
* lib/xmlrpc/httpserver.rb: ditto.
* lib/xmlrpc/server.rb: ditto.
* lib/xmlrpc/marshal.rb: ditto.
* lib/xmlrpc/README.txt: ditto.
[Bug #6909 ] [ruby-core:47286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 02:22:10 +00:00
nagachika
0c8ae91651
* lib/xmlrpc/client.rb (module XMLRPC): fix typo.
...
* test/xmlrpc/test_client.rb (test_async_call): add test for
XMLRPC::Client#call_async to check above fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-07 13:45:04 +00:00
tenderlove
c95cfa0a16
use factory method for constructing Net::HTTP objects
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06 23:30:15 +00:00
tenderlove
ce2f69862e
* lib/xmlrpc/parser.rb: support i8 types. Thanks Stas Kelvich!
...
[ruby-core:29246] [Feature #3090 ]
* test/xmlrpc/test_client.rb: supporting test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06 23:30:03 +00:00
tenderlove
9e9264c8d5
* lib/xmlrpc/client.rb: assume servers that do not send a Content-Type
...
header are sending 'text/xml'. Thanks Nathan Leavitt!
[ruby-core:41204] [Bug #5660 ]
* test/xmlrpc/test_client.rb: supporting test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06 22:45:43 +00:00
tenderlove
2706b60ccb
* lib/xmlrpc/client.rb: switch net/http post2 calls to modern
...
`request_post` methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05 22:19:35 +00:00
tenderlove
85e866978f
remove another call to Net::HTTP.version_1_2
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-03 01:12:24 +00:00
tenderlove
46e293ec0d
* lib/xmlrpc/client.rb (initialize): net/http defaults to 1_2 in 1.8+,
...
so we can safely remove the call to enable it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-03 01:10:37 +00:00
tenderlove
1836f44fe9
* lib/xmlrpc/client.rb (new2): use URI for uri parsing.
...
* test/xmlrpc/test_client.rb: test that query params are passed to the
client constructor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02 23:46:17 +00:00
tenderlove
cd85cd25b4
* lib/xmlrpc/client.rb (new2): raises an ArgumentError on bad
...
arguments.
* test/xmlrpc/test_client.rb: tests for bad uris
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02 23:21:17 +00:00
tenderlove
60282ebfe5
* lib/xmlrpc/client.rb (new2): fix custom port specification when an
...
SSL uri is used.
* test/xmlrpc/test_client.rb: tests for XMLRPC::Client.new2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02 23:12:32 +00:00
shugo
c3a750ebee
* lib/xmlrpc/client.rb, lib/xmlrpc/server.rb: should use
...
String#bytesize instead of String#size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 04:35:28 +00:00
nahi
2fff0f4f71
* lib/xmlrpc/client.rb: Fix possible HTTP header formatting failure by
...
'Basic' header. Long username caused the base64 String truncation in
HTTP header which is not allowed. See #5046 .
* test/xmlrpc/test_webrick_server.rb: test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-25 13:21:49 +00:00
shyouhei
c0f09a8a35
* lib/xmlrpc/parser.rb (FaultException): fix to_s and inspect
...
* test/xmlrpc/parser.rb: test for the above
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 06:44:48 +00:00
drbrain
7bbf2f3085
* lib: Convert tabs to spaces for ruby files per
...
http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
Patch by Steve Klabnik [Ruby 1.9 - Bug #4730 ]
Patch by Jason Dew [Ruby 1.9 - Feature #4718 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:19:18 +00:00
nobu
7dd49ed5a7
* lib: remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 14:09:38 +00:00
drbrain
83d7aca7f6
* Various .document files: Update .document files to match files which
...
have documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11 22:31:17 +00:00
naruse
d5b4cf7f79
Use Float#finite?.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-22 13:35:43 +00:00
naruse
c853e2d86e
* lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):
...
XML-RPC's int is 32bit int, and Fixnum also may be beyond 32bit.
* lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):
XML-RPC doesn't allow Infinity and NaN.
http://www.xmlrpc.com/spec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-22 02:50:45 +00:00
marcandre
f3e3547407
* lib/*.rb: Remove unused variable warnings.
...
Patch by Run Paint [ruby-core:30991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-08 20:59:01 +00:00
jeg2
fa9da31def
* lib/xmlrpc/utils.rb: Fixing an incompatibility with
...
reflection methods returning Symbols. Patch by
HD Moore. [ruby-core:29821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 18:51:35 +00:00
naruse
e41936441b
Surpress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 03:01:52 +00:00
nobu
c9dd4823d9
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-20 03:30:59 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
nobu
2478f1caaf
* lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded
...
platform names.
* lib/resolv.rb (Resolv::Hosts::DefaultFileName),
(Resolv::DNS::Config.default_config_hash): tries win32/resolv on
mswin64 too.
* lib/rubygems/specification.rb (Gem::Specification#ruby_code):
aded mswin64.
* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
spawn is better to start a process in background.
* ext/extmk.rb: uses FNM_SYSCASE.
* instruby.rb: installs win32.h on mswin64 platform.
[ruby-core:21722]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-01 23:12:52 +00:00
jeg2
cd5c309542
* lib/xmlrpc/server.rb: Restricting method inspection to show only
...
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
trigger XMLRPC::FaultException when used. [ruby-core:20604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17 23:15:56 +00:00
mame
46321a9a31
* lib/xmlrpc, lib/rexml, test/ruby/test_array.rb,
...
test/ruby/test_unicode_escape.rb, test/scanf/test_scanf.rb,
test/rss/rss-assertions.rb: fix indentation to remove warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01 13:46:53 +00:00
nobu
2c0a3f226a
* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requires
...
webrick/cookie. [ ruby-Bugs-21139 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-12 07:02:40 +00:00
kou
17ea268764
* lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403]
...
* test/xmlrpc/test_cookie.rb: add a test for the above fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-15 14:10:18 +00:00
jeg2
d92b461dd9
* lib/xmlrpc/server.rb (XMLRPC::Server#server): Improve signal handling so
...
pressing control-c in the controlling terminal or sending SIGTERM stops
the XML-RPC server.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01 16:01:49 +00:00
jeg2
6b63368278
* lib/xmlrpc/parser.rb (XMLRPC::Convert::dateTime): Fixing a bug that
...
caused time zone conversion to fail for some ISO 8601 date formats.
[ruby-Bugs-12677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24 21:24:09 +00:00
jeg2
7e2c0cbda2
* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly start
...
the HTTP connection to support keepalive requests. [ruby-Bugs-9353]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24 20:00:10 +00:00
jeg2
6f8537cf7f
* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the error
...
message for Content-Type check failures. [ruby-core:12163]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24 19:48:06 +00:00
jeg2
3c15e9efe3
* lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type):
...
Making Content-Type checks case insensitive. [ruby-Bugs-3367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24 18:46:08 +00:00