aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/win32ole/win32ole.c: separate src of WIN32OLERuntimeErrorsuke2014-08-066-84/+111
| | | | | | | | | | | | | from win32ole.c. * ext/win32ole/win32ole.h: ditto * ext/win32ole/depend: ditto. * ext/win32ole/win32ole_error.c: ditto. * ext/win32ole/win32ole_error.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP.proxy_uri): use initializer insteadnaruse2014-08-052-1/+8
| | | | | | of parser to handle IPv6 address. [Bug #9129] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/requests.rb (Net::HTTP::Options::RESPONSE_HAS_BODY):naruse2014-08-052-1/+7
| | | | | | | OPTIONS requests may have response bodies. [Feature #8429] http://tools.ietf.org/html/rfc7231#section-4.3.7 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#exec):naruse2014-08-053-13/+15
| | | | | | | | | | | | handle req['host'] in update_uri. * lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#update_uri): use req['host'] if it is explicitly set. Even if URI is given, it is already used for the initial value of req['host']. Therefore overwritten value should be respected. [Bug #10054] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/generic_request.rbnaruse2014-08-053-14/+34
| | | | | | | | | | (Net::HTTP::GenericRequest#update_uri): handle scheme, host, and port to reflect connection to @uri. * lib/net/http.rb (Net::HTTP#begin_transport): move trivial handling to Net::HTTP::GenericRequest#update_uri. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/generic_request.rbnaruse2014-08-052-9/+14
| | | | | | | (Net::HTTP::GenericRequest#initialize): optimize object allocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove path_querynaruse2014-08-052-6/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic#normalize!): use String#empty?naruse2014-08-052-16/+20
| | | | | | | | * lib/uri/generic.rb (URI::Generic#path_query): optimized. * lib/uri/generic.rb (URI::Generic#to_s): optimized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/http.rb (URI::HTTP#request_uri): optimized.naruse2014-08-052-5/+11
| | | | | | | decrease object allocation, and ensure always create at least one new object for return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warningsnaruse2014-08-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-08-06svn2014-08-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: backwards compatibility fortenderlove2014-08-053-0/+13
| | | | | | | hashes emitted by Syck. Github #198 * test/psych/test_hash.rb: test for change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_invoke): skip VariantClear whensuke2014-08-052-2/+9
| | | | | | | | argument is VT_RECORD variant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-08-05svn2014-08-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gems/bundled_gems: Upgrade to test-unit-3.0.0 and minitest-5.4.0.hsbt2014-08-052-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2014-08-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pack.c (encodes): name a magic numbernobu2014-08-041-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-08-040-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_record.rb: add for WIN32OLE_RECORDsuke2014-08-042-0/+318
| | | | | | | | test(need .NET Framework 3.5 to run test). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix broken encoding.hsbt2014-08-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_invoke): call rb_hash_foreach insteadsuke2014-08-042-12/+34
| | | | | | | | | | of rb_block_call. * ext/win32ole/win32ole.c: add comment for rdoc of WIN32OLE_VARIANT class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable: cleanup to use rb_const_lookupnormal2014-08-044-22/+39
| | | | | | | | | | * variable.c: cleanup to use rb_const_lookup * vm_insnshelper.c: ditto This reduces casting and long lines. This should make it easier to switch to alternatives to st for constant storage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* symbol.c: move macrosnobu2014-08-042-6/+7
| | | | | | | | * symbol.c (SYMBOL_PINNED, SYMBOL_PINNED_P, ID_DYNAMIC_SYM_P), (STATIC_SYM2ID, STATIC_ID2SYM): move from symbol.h as these macros are used only in symbol.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix typo.nagai2014-08-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-08-04svn2014-08-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* openssl: constifynobu2014-08-033-8/+7
| | | | | | | | | | | * ext/openssl/ossl_asn1.c (ossl_asn1_info): constify. * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_sym2typeid): constify and remove sentinel as the count is used. * ext/openssl/ossl_ssl.c (ossl_ssl_method_tab): constify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl_pkcs7.c: consider lengthnobu2014-08-031-5/+5
| | | | | | | * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_sym2typeid): consider length to compare. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rubygems/util.rb: remove unused variablenobu2014-08-031-1/+1
| | | | | | | * lib/rubygems/util.rb (Gem::Util.silent_system): remove unused variable, to fix test failures with verbose flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos [ci skip]kazu2014-08-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* strscan.c: encoding in messagesnobu2014-08-032-10/+7
| | | | | | | * ext/strscan/strscan.c (strscan_aref): preserve argument encoding in error messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: get rid of inadvertent ID creationnobu2014-08-037-16/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: prefer RB_TYPE_P over comparison TYPE with constantsnobu2014-08-039-75/+75
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* transcode.c: use stringnobu2014-08-032-2/+5
| | | | | | | * transcode.c (econv_opts): get rid of inadvertent ID creation, and preserve argument encoding in error messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make symbol conversion functions publicnobu2014-08-036-6/+27
| | | | | | * include/ruby/encoding.h (rb_check_symbol_cstr): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* README.EXT.ja: using commas and periodsnobu2014-08-031-12/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-08-03svn2014-08-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: fix unusable super classnobu2014-08-033-0/+25
| | | | | | | | * vm_insnhelper.c (vm_call_method): unusable super class should cause method missing when BasicObject is refined but not been using. [ruby-core:64166] [Bug #10106] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-08-020-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src filesuke2014-08-027-227/+261
| | | | | | | | | | | | | from win32ole.c * ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_variant_m.c: ditto. * ext/win32ole/win32ole_variant_m.h: ditto. * ext/win32ole/depend: ditto. * ext/.document: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Changelog: fix typo. contribute from @chiastolite.hsbt2014-08-021-1/+1
| | | | | | [fix GH-693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: VERSION 1.7.0 -> 1.7.1suke2014-08-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add coments for rdoc.suke2014-08-022-4/+210
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-08-02svn2014-08-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: Object#itsefnobu2014-08-024-0/+35
| | | | | | | | | * object.c (rb_obj_itself): new method Object#itsef. based on the patch by Rafael França in [ruby-core:64156]. [EXPERIMENTAL] this method may be renamed due to compatibilities. [ruby-core:44704] [Feature #6373] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (folerecord_inititalize): acceptsuke2014-08-012-24/+29
| | | | | | | | only 2 arguments. The 2nd argument should be WIN32OLE object or WIN32OLE_RECORD object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_variant2val): callsuke2014-08-012-2/+7
| | | | | | | folerecord_s_allocate instead of WIN32OLE_RECORD.new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/test_date.rb: remove commented-out code.hsbt2014-08-015-46/+7
| | | | | | | | * test/date/test_date_arith.rb: ditto. * test/date/test_date_attr.rb: ditto. * test/date/test_date_parse.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* numeric.c: 0 % Float::NAN returns Float::NANnobu2014-08-013-1/+18
| | | | | | | * numeric.c (flodivmod): all results are NaN if divisor is NaN. [fix GH-692] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add assertions for division NaNnobu2014-08-012-2/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-08-01svn2014-07-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e