| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
is converted to Time object now.
* test/win32ole/test_win32ole_variant.rb (test_s_new_with_nil,
test_conversion_time2date, test_conversion_str2date,
test_conversion_vt_date, test_set_value): ditto.
* ext/win32ole/win32ole.c (rbtime2vtdate): refactoring.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
test_s_locale_set, test_s_locale_change): skip test if Japanese
locale is not installed. [ruby-core:23806]
* test/win32ole/test_win32ole_variant.rb (test_conversion_str2cy):
ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
folevariant_initialize): check argument type of WIN32OLE.connect,
WIN32OLE.new, WIN32OLE_VARIANT.new.
* test/win32ole/test_win32ole.rb (test_s_new_exc, test_s_connect_exc):
ditto.
* test/win32ole/test_win32ole_variant.rb (test_s_new_exc): ditto.
* test/win32ole/test_win32ole_method.rb: add assertion of
WIN32OLE_METHOD.new.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
* test/win32ole/test_win32ole_variant_outarg.rb: add in order
to use ADO instead of Internet Explorer.
remove test/win32ole/test_win32ole_variant_with_ie.rb.
* test/win32ole/orig_data.csv: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
before invoking IConnectionPoint::Release.
* test/win32ole/test_win32ole_event.rb, test/win32ole/err_in_callback.rb,
test/win32ole/test_err_in_callback.rb: Use ActiveX Data Object
Library instead of InternetExplorer.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
CP51932 on cygwin and mingw32. thanks to arton.
* test/win32ole/test_win32ole.rb (test_cp51932): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
ole_wc2mb, ole_vstr2wc, ole_mb2wc): support CP51932 (only mswin32).
* test/win32ole/test_win32ole.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
handler instance variable.
* test/win32ole/test_win32ole_typelib.rb (test_s_typelibs):
fix the warning of shadowing outer local variable.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
of infinite loop.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
be closed.
* test/win32ole/err_in_callback.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
accepts number argument.
* test/win32ole/test_win32ole.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
unless WIN32OLE is defined.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ext/win32ole/win32ole.c (ole_invoke, fole_respond_to, ev_on_event,
fev_off_event): accepts Symbol argument.
* test/win32ole/test_win32ole.rb: ditto.
* test/win32ole/test_win32ole_event.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
some refactoring.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
WIN32OLE_EVENT#handler=, WIN32OLE_EVENT#handler
* test/win32ole/test_win32ole_event.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
exception in WIN32OLE_EVENT callback.
* test/win32ole/test_err_in_callback.rb : ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
WIN32OLE_EVENT#off_event.
* test/win32ole/test_win32ole_event.rb: ditto.
* test/win32ole/test_win32ole_event.rb: some refactoring.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
to set value to the reference argument of event.
* test/win32ole/test_win32ole_event.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
for WIN32OLE_EVENT#on_event_with_outargs
* test/win32ole/test_win32ole_event.rb(teardown): calling
WIN32OLE_EVENT.message_loop
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test/win32ole/test_win32ole_type.rb: ditto.
* test/win32ole/test_win32ole_event.rb: ditto.
* test/win32ole/test_win32ole_param.rb: ditto.
* test/win32ole/test_win32ole_method.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
OLE object does not have default source interface.
* test/win32ole/test_win32ole_event.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
find COCLASS when WIN32OLE object is not COCLASS.
* test/win32ole/test_win32ole_event.rb: ditto
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
WIN32OLE_TYPE#source_ole_types, WIN32OLE_TYPE#default_ole_types,
WIN32OLE_TYPE#default_event_sources.
* test/win32ole/test_win32ole_type.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
more assertions.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
* test/win32ole/test_win32ole.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
to String conversion when negative value.
* test/win32ole/test_win32ole_variant.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
GC. thanks to arton <artonx AT yahoo.co.jp>. [ruby-dev:35313]
* test/win32ole/test_win32ole_event.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
converting String to VT_BSTR in OLE.
* test/win32ole/test_win32ole.rb : ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
according to Encoding.default_external.
* test/win32ole/test_win32ole.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
recursive calling.
* test/win32ole/test_win32ole_variant.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
for m17n.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
should raise WIN32OLERuntimeError.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
foletype_s_typelibs): refactoring.
* test/win32ole/test_win32ole_type.rb: add some test.
* ext/win32ole/win32ole.c (Init_win32ole): change method name
WIN32OLE_TYPELIB.ole_types from WIN32OLE_TYPELIB.ole_classes.
* test/win32ole/test_win32ole_typelib.rb: ditto.
* test/win32ole/test_folderitem2_invokeverb.rb: check create
shortcut string more strictly (This test is invoked in Japanese
Windows environment).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
* test/win32ole/test_win32ole_event.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ProgIDFromCLSID should be freed by CoTaskMemFree. Thanks, arton.
* test/win32ole/test_win32ole.rb (test_raise_message): set negative
compareMode value to raise WIN32OLERuntimeError.
* test/win32ole/test_win32ole_type.rb (test_implemented_ole_types):
support some environment which returns IShellDispatch5 instead
of IShellDispatch.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
[ruby-dev:31576]
* test/win32ole/test_win32ole_type.rb (test_initialize):
remove duplicate assertions.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of RegQueryValueEx.
* ext/win32ole/win32ole.c (typelib_file_from_clsid): fix the bug
that the function always returns Qnil.
* test/win32ole/test_win32ole_type.rb (test_initialize): add some test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
WIN32OLE_TYPELIB#visible?.
* test/win32ole/test_win32ole_typelib.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ole_val2ptr_variant, ole_val2olevariantdata, ole_variant2val,
): fix some bugs of WIN32OLE_VARIANT.new when variant type is
VT_ARRAY|VT_BSTR or VT_BYREF.
* ext/win32ole/win32ole.c (folevariant_s_array, folevariant_initialize):
WIN32OLE_VARIANT#[], WIN32OLE_VARIANT#[]=, WIN32OLE_VARIANT#value=
is defined as instance method of WIN32OLE_VARIANT.
* test/win32ole/test_win32ole_variant.rb: add some test for
VT_ARRAY, VT_BYREF variant type.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
WIN32OLE_VARIANT#value=, refactoring.
* test/win32ole/test_win32ole_variant.rb: add some test for
WIN32OLE_VARIANT.array, WIN32OLE_VARIANT#value=.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
WIN32OLE_VARIANT#new accepts nil when variant type is VT_ARRAY.
* test/win32ole/test_win32ole_variant.rb: ditto.
* ext/win32ole/win32ole.c: small refactoring.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|