aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * ext/bigdecimal/bigdecimal.c: [DOC] Add description ofmrkn2014-07-312-0/+20
| | | | | | | | `BigDecimal.new` exceptions. Patched by @joker1007 and @prathamesh-sonpatki [Fixes GH-690] https://github.com/ruby/ruby/pull/690 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE_RECORD#inspect.suke2014-07-312-1/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: addsuke2014-07-312-6/+97
| | | | | | | | | WIN32OLE_RECORD#ole_instance_variable_set and WIN32OLE_RECORD#ole_instance_variable_get git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* symbol.h: move macrosnobu2014-07-312-4/+4
| | | | | | * symbol.h (RSYMBOL): move macros for Symbol from internal.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/configure.bat: revert a commit by accidentnobu2014-07-311-216/+216
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-07-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2014-07-311-216/+216
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-31svn2014-07-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: try without -ObjC optionnobu2014-07-302-3/+5
| | | | | | | * lib/mkmf.rb (have_framework): try without -ObjC option first as MacPorts GCCs do not support it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): like r47006, get rid ofktsj2014-07-302-2/+7
| | | | | | function calls in RSTRING_PTR(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: preserve encodingnobu2014-07-302-10/+15
| | | | | | | * signal.c (rb_f_kill, trap_signm): preserve argument encoding in error messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* get rid of function calls in RSTRING_PTRnobu2014-07-303-7/+12
| | | | | | | | | | | | * process.c (rlimit_resource_type, rlimit_resource_value): get rid of function calls in RSTRING_PTR(), as it evaluates the argument twice. * re.c (match_backref_number): ditto. * signal.c (esignal_init, rb_f_kill, trap_signm): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rlimit_resource_type, rlimit_resource_value):ktsj2014-07-306-8/+21
| | | | | | | | | | | | | | get rid of inadvertent dynamic symbol pin-down. * re.c (match_backref_number): ditto. * signal.c (esignal_init, rb_f_kill, trap_signm): ditto. * transcode.c (econv_opts): ditto. * vm_trace.c (symbol2event_flag): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c, vm_method.c: avoid inadvertent pin-downnobu2014-07-302-2/+2
| | | | | | | | | * thread.c (rb_thread_variable_set): get rid of inadvertent dynamic symbol pin-down. * vm_method.c (obj_respond_to): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: rb_to_symbolnobu2014-07-302-8/+24
| | | | | | | * string.c (rb_to_symbol): new function to convert an object to a symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: fix indentnobu2014-07-301-2/+0
| | | | | | | * thread.c (threadptr_local_aset): fix indent, remove unnecessary braces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_invoke): pass WIN32OLE_RECORD variantsuke2014-07-302-6/+20
| | | | | | | | | | | by reference when invoke OLE methods at first. * ext/win32ole/win32ole.c (olerecord_set_ivar): release IRecordInfo interface before setting another IRecordInfo interface. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-30svn2014-07-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e