Wayward Heart
a73f9ccc1f
Prevent memory leaks from rb_raise
...
rb_raise calls longjmp, which bypasses C++ destructors, and also keeps the error for catch blocks from being unallocated if passed by reference, which we do for exceptions.
Some of the calls I left can still jump out of try blocks, which you're not supposed to do, but there shouldn't be any objects with destructors initialized at those points so it's probably fine.
2024-08-02 09:26:51 -05:00
Amaryllis Kulla
fae7fa9c4e
Update ancurio's copyright notice ( #29 )
2023-10-04 15:07:34 -04:00
Struma
0f8a140dec
Correct bad GVL ifdefs
2022-07-05 04:21:03 -04:00
Struma
950e62dff1
make reloads after using System.un/mount optional
...
Also, use rb_bool_arg more often.
2022-01-20 19:50:46 -05:00
Struma
8b0bb010ba
Make load_data properly work in threads
2021-08-27 05:08:34 -04:00
Struma
9920de87f8
Make json config accessible from System::CONFIG
2021-06-22 18:32:39 -04:00
Struma
ee010c6d52
Fix brainfart in load_data
2021-06-10 10:48:36 -04:00
Struma
fdb86f2ede
Do not use GVL on possibly time-consuming functions
2021-06-02 08:42:32 -04:00
Struma
48a2393bb8
Speed up load_data & remove encryptedGraphics setting
2021-02-26 08:33:27 -05:00
Struma
2fd585393d
the not-so-great warning purge
2021-02-22 01:22:26 -05:00
Struma
a2a0a05301
Move FileInt.desensitize
to System.desensitize
2020-12-26 13:29:33 -05:00
Struma
f98b1e031f
Reorganize src dir
2020-11-21 01:36:24 -05:00
Struma
89da4f3b8c
Bind checking case insensitive filenames from Ruby
2020-04-19 06:44:41 -04:00
Struma
10b367f76a
Properly use Ruby 2.7 rb_proc_new
2020-02-26 16:10:04 -05:00
Struma
94e063c6c0
OLD_RUBY -> RAPI_MAJOR/RAPI_MINOR/RAPI_TEENY/RAPI_FULL
2020-02-26 12:44:37 -05:00
Struma
429bf753cc
drop deprecated function calls for Ruby 2.7
2020-02-26 11:53:12 -05:00
Struma
dd0f3ade91
Allow specifying ruby install manually
2020-02-25 05:35:30 -05:00
Struma
85640a32a1
add compressedGraphics and openGL4 runtime opts
2020-02-25 01:00:12 -05:00
Inori
392fe91fb5
rb_get_args is annoying
2019-09-21 20:19:34 -04:00
Inori
d63f9958a3
misc additions
2019-09-21 19:47:51 -04:00
Inori
e0236dff6f
heck
2019-09-16 23:13:12 -04:00
Inori
939c601aea
Add Input.joystick
2019-09-16 23:10:46 -04:00
Inori
9c08249992
Remove 'fix_essentials', add 'use_fakeapi'
2019-08-20 05:21:30 -04:00
Inori
47908d0470
load_data
is still too slow to handle overworld
2019-08-08 12:32:10 -04:00
Inori
6b50662b46
Read fileInt fully before loading it with Marshal
2019-08-08 12:20:45 -04:00
Inori
5a4c8dc87c
Make sure load_data returns a string
2019-08-07 08:42:00 -04:00
Inori
13bbe8eb44
Use start_with?
over include?
2019-08-06 11:42:15 -04:00
Inori
b1a58e6f60
Essentials pls
2019-08-06 10:38:15 -04:00
Inori
d963d3bbe5
Fix files in archives not loading for no good reason
2019-08-05 16:24:16 -04:00
Inori
fbcca152f1
Add FileInt.pos method
2019-08-05 12:59:26 -04:00
Inori
8f4489ef70
Fix loading from encrypted archives (RGSSADs)
2019-08-05 11:24:51 -04:00
Inori
18bd8084ec
Use proper Ruby 1.8 header path
2019-08-01 14:55:45 -04:00
Inori
7f3a548755
Remove mruby and null bindings
2019-07-31 08:47:44 -04:00