ruby/ext/win32ole
Jeremy Evans c5c05460ac Warn on access/modify of $SAFE, and remove effects of modifying $SAFE
This removes the security features added by $SAFE = 1, and warns for access
or modification of $SAFE from Ruby-level, as well as warning when calling
all public C functions related to $SAFE.

This modifies some internal functions that took a safe level argument
to no longer take the argument.

rb_require_safe now warns, rb_require_string has been added as a
version that takes a VALUE and does not warn.

One public C function that still takes a safe level argument and that
this doesn't warn for is rb_eval_cmd.  We may want to consider
adding an alternative method that does not take a safe level argument,
and warn for rb_eval_cmd.
2019-11-18 01:00:25 +02:00
..
lib * ext/win32ole/lib/win32ole.rb (methods): COM method elements should be 2018-09-26 09:33:46 +00:00
sample use true and false [ci skip] 2016-08-09 01:42:48 +00:00
depend * ext/win32ole/win32ole.c: seperate WIN32OLE_EVENT src from 2014-08-15 11:36:12 +00:00
extconf.rb handle ext/ as r53141 2015-12-16 05:31:54 +00:00
win32ole.c Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
win32ole.h ext/win32ole/*.c, ext/win32ole/win32ole.h: use RB_INT2FIX instead of 2016-10-07 10:24:56 +00:00
win32ole_error.c * ext/win32ole/win32ole_error.c: add WIN32OLEQueryInterfaceError. 2017-11-05 00:30:57 +00:00
win32ole_error.h * ext/win32ole/win32ole_error.c: add WIN32OLEQueryInterfaceError. 2017-11-05 00:30:57 +00:00
win32ole_event.c Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
win32ole_event.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00
win32ole_method.c Fix call-seq of OpenSSL.fips_mode and WIN32OLE_METHOD#name [ci skip] 2018-11-01 07:25:50 +00:00
win32ole_method.h ext/win32ole/win32ole_method.c: refactoring. add 2014-10-07 12:44:53 +00:00
win32ole_param.c ext/win32ole/*.c, ext/win32ole/win32ole.h: use RB_INT2FIX instead of 2016-10-07 10:24:56 +00:00
win32ole_param.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00
win32ole_record.c win32ole.c: use rb_sym2str 2015-04-14 03:36:40 +00:00
win32ole_record.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00
win32ole_type.c ext/win32ole/*.c, ext/win32ole/win32ole.h: use RB_INT2FIX instead of 2016-10-07 10:24:56 +00:00
win32ole_type.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00
win32ole_typelib.c ext/win32ole/*.c, ext/win32ole/win32ole.h: use RB_INT2FIX instead of 2016-10-07 10:24:56 +00:00
win32ole_typelib.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00
win32ole_variable.c ext/win32ole/*.c, ext/win32ole/win32ole.h: use RB_INT2FIX instead of 2016-10-07 10:24:56 +00:00
win32ole_variable.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00
win32ole_variant.c no ID cache in Init functions 2018-02-16 08:39:48 +00:00
win32ole_variant.h ext/win32ole/win32ole.c (ole_val2variant, ole_invoke): refactoring. 2014-10-25 22:46:15 +00:00
win32ole_variant_m.c ext/win32ole/*.c, ext/win32ole/win32ole.h: use RB_INT2FIX instead of 2016-10-07 10:24:56 +00:00
win32ole_variant_m.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00