summaryrefslogtreecommitdiff
path: root/ext/win32ole/win32ole.c
AgeCommit message (Collapse)Author
2014-08-13* ext/win32ole/win32ole.c: seperate WIN32OLE_VARIANT src fromsuke
win32ole.c. * ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_variant.c: ditto. * ext/win32ole/win32ole_variant.c: ditto. * ext/win32ole/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-13* ext/win32ole/win32ole.c: remove unused variable.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-13* ext/win32ole/win32ole.c(ole_search_handler_method, rescue_callback,suke
folerecord_inspect): use PRIsVALUE in rb_sprintf. * ext/win32ole/win32ole_param.c(foleparam_inspect): ditto. * ext/win32ole/win32ole_variable.c(folevariable_inspect): use PRIsVALUE in rb_sprintf, use rb_inspect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12* ext/win32ole/win32ole.c: seperate WIN32OLE_PARAM src from win32ole.csuke
* ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_param.c: ditto. * ext/win32ole/win32ole_param.h: ditto. * ext/win32ole/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12* ext/win32ole/win32ole.c: refactoring. move some methods suke
into win32ole_type.c / win32ole_method.c * ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_method.c: ditto. * ext/win32ole/win32ole_method.h: ditto. * ext/win32ole/win32ole_type.h: ditto. * ext/win32ole/win32ole_type.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12* ext/win32ole/win32ole.c: refactoring. movesuke
ole_typelib_from_itypeinfo into win32ole_typelib.c. * ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_typelib.h: ditto. * ext/win32ole/win32ole_typelib.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12* ext/win32ole/win32ole.c (ole_create_dcom): use the convertedsuke
result if the argument can be converted to a string, to get rid of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11* ext/win32ole/win32ole.c: seperate WIN32OLE_METHOD src fromsuke
win32ole.c. * ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_method.c: ditto. * ext/win32ole/win32ole_method.h: ditto. * ext/win32ole/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11* ext/win32ole/win32ole.c: seperate WIN32OLE_VARIABLE src fromsuke
win32ole.c * ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_variable.c: ditto. * ext/win32ole/win32ole_variable.h: ditto. * ext/win32ole/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08* ext/win32ole/win32ole.c: separate WIN32OLE_TYPE src from win32ole.c.suke
* ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_type.c: ditto. * ext/win32ole/win32ole_type.h: ditto. * ext/win32ole/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06* ext/win32ole/win32ole.c: separate src of WIN32OLE_TYPELIB fromsuke
win32ole.c * ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_typelib.c: ditto. * ext/win32ole/win32ole_typelib.h: ditto. * ext/win32ole/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06* ext/win32ole/win32ole.c (olerecord_ivar_set): remove rb_str_subseq.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06* ext/win32ole/win32ole.c: separate src of WIN32OLERuntimeErrorsuke
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
2014-08-05* ext/win32ole/win32ole.c (ole_invoke): skip VariantClear whensuke
argument is VT_RECORD variant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-04* ext/win32ole/win32ole.c (ole_invoke): call rb_hash_foreach insteadsuke
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
2014-08-03ext: prefer RB_TYPE_P over comparison TYPE with constantsnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-02* ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src filesuke
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
2014-08-02* ext/win32ole/win32ole.c: VERSION 1.7.0 -> 1.7.1suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-02* ext/win32ole/win32ole.c: add coments for rdoc.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-01* ext/win32ole/win32ole.c (folerecord_inititalize): acceptsuke
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
2014-08-01* ext/win32ole/win32ole.c (ole_variant2val): callsuke
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
2014-07-31* ext/win32ole/win32ole.c: add WIN32OLE_RECORD#inspect.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-31* ext/win32ole/win32ole.c: addsuke
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
2014-07-30* ext/win32ole/win32ole.c (ole_invoke): pass WIN32OLE_RECORD variantsuke
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-29* ext/win32ole/win32ole.c (hash2olerec): ignore WIN32OLE_RECORDsuke
instance variable if the variable is nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-29* ext/win32ole/win32ole.c (folerecord_method_missing): refactoring.suke
divide functionality of folerecord_method_missing into olerecord_ivar_set and olerecord_ivar_get. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-28* ext/win32ole/win23ole.c (folerecord_method_missing): supportsuke
setter of member of WIN32OLE_RECORD object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-27win32ole.c: suppress warningnobu
* ext/win32ole/win32ole.c (ole_rec2variant): cast to suppress a format warning on x86_64-cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-24* ext/win32ole/win32ole.c (Init_win32ole): add WIN32OLE_RECORD#initializesuke
method. * ext/win32ole/win32ole.c (ole_val2variant): convert WIN32OLE_RECORD object to VT_RECORD variant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-18* refactoringsuke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-18* ext/win32ole/win32ole.c (folevariant_initialize): WIN32OLE_VARIANTsuke
does not support VT_RECORD. VT_RECORD should be supported in WIN32OLE_RECORD. * test/win32ole/test_win32ole_variant.rb (test_s_new_vt_record_exc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-18* ext/win32ole/win32ole.c (folevariant_initialize): remove unnecessarysuke
code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-16* ext/win32ole/win32ole.c (ole_variant2val): support array ofsuke
VT_RECORD variant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-16* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-16* ext/win32ole/win32ole.c (fole_record_method_missing): callsuke
rb_hash_fetch instead of rb_hash_aref. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-15* ext/win32ole/win32ole.c: modify document for WIN32OLE_RECORD.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-14* ext/win32ole/win32ole.c: modify WIN32OLE class document andsuke
add comment for constants of WIN32OLE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-12* ext/win32ole/win32ole.c (fole_record_method_missing): correctsuke
fields Hash key. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-11* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-11* ext/win32ole/win32ole.c: add WIN32OLE_RECORD class to supportsuke
VT_RECORD OLE variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-23win32ole.c: suppress warningsnobu
* ext/win32ole/win32ole.c (ole_excepinfo2msg, lcid_installed): cast to suppress warnings, SCODE varies on cygwin and mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-23win32ole.c: fix formatnobu
* ext/win32ole/win32ole.c (ole_excepinfo2msg, lcid_installed): fix format to suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-20win32ole.c: suppress warningsnobu
* ext/win32ole/win32ole.c: use LONG instead of long to suppress incompatible pointer warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-01ext/win32ole/win32ole.c (ole_typedesc2val): add VT_RECORD case.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-19* ext/nkf/nkf-utf8/nkf.c: fix typo by @windwiny [fix GH-506]hsbt
* ext/openssl/ossl_ssl.c: ditto * ext/psych/yaml/scanner.c: ditto * ext/socket/init.c: ditto * ext/socket/socket.c: ditto * ext/tk/tcltklib.c: ditto * ext/win32ole/win32ole.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-12ext: use rb_sprintf() and rb_vsprintf() with PRIsVALUEnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-30win32ole.c: correct declarationnobu
* ext/win32ole/win32ole.c (hash2named_arg): correct declaration to fix build failure. a patch by phasis68 (Heesob Park) at [ruby-core:58710]. [Bug #9184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-29ruby/ruby.h: RB_BLOCK_CALL_FUNC_ARGLISTnobu
* include/ruby/ruby.h (RB_BLOCK_CALL_FUNC_ARGLIST): for declaration argument list of rb_block_call_func. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-08* ext/win32ole/win32ole.c (folevariant_initialize): check type ofsuke
element of array. * test/win32ole/test_win32ole_variant.rb (test_s_new_ary): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23win32ole.c: ID overflownobu
* ext/win32ole/win32ole.c (GetIDsOfNames): check ID overflow against DISPID, aka LONG, which is always 4 bytes. * ext/win32ole/win32ole.c (Invoke): use ID for method name to get rid of losing upper bits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e