Commit Graph

6846 Commits

Author SHA1 Message Date
José J. Placencia Bobadilla 6285387bdd Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2022-05-29 19:26:25 -07:00
Luna Lyday 9306510023 Qt: Update translation (Polish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2022-05-29 19:26:25 -07:00
LucentW b4df69c0f9 Qt: Update translation (Italian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2022-05-29 19:26:25 -07:00
Vicki Pfau 0c02f2798a GBA Video: Fix sprites with mid-frame palette changes in GL (fixes #2476) 2022-05-29 18:49:40 -07:00
Vicki Pfau 511a12c507 GBA Video: Fix highlighting for sprites with mid-frame palette changes 2022-05-29 18:46:34 -07:00
Vicki Pfau 81289cdb62 Scripting: More MSVC fixes 2022-05-29 14:32:51 -07:00
Vicki Pfau 4358364830 CMake: Fix Lua build with older versions 2022-05-29 13:53:04 -07:00
Vicki Pfau b6ec54dadf Merge branch 'feature/scripting' 2022-05-29 13:29:20 -07:00
Vicki Pfau 8e617556e9 Scripting: Get docgen to print to file, fix some warnings 2022-05-29 02:44:17 -07:00
Vicki Pfau 2471648dd0 Scripting: Start bringing up composite wrapper types 2022-05-29 02:44:17 -07:00
Vicki Pfau 6ebe735a73 Scripting: Add filename parameter to emu:screenshot 2022-05-29 02:44:17 -07:00
Vicki Pfau 64fba235b2
Merge pull request #2452 from ahigerd/alh/nicer-logging-checkboxes
Clean up rendering of logging grid checkboxes
2022-05-28 23:39:22 -07:00
Vicki Pfau 38299f397f GBA: Overdue constant prefixing 2022-05-28 20:58:57 -07:00
Vicki Pfau c8978fd425 Util: Rebalance non-hashed Tables too 2022-05-28 19:03:27 -07:00
Vicki Pfau 21e2ccb025 Qt: Improve cheat parsing (fixes #2297) 2022-05-28 15:04:18 -07:00
Vicki Pfau edc2e1b7f5 Scripting: Pass back old buffers when reopening view 2022-05-27 20:19:29 -07:00
Vicki Pfau 997adecddc Scripting: Add MRU 2022-05-27 20:19:29 -07:00
Vicki Pfau df60b17639 Scripting: Expose core reset 2022-05-27 20:19:29 -07:00
Vicki Pfau ccc7cd4d7f Scripting: Expose more save state functionality 2022-05-27 20:19:29 -07:00
Vicki Pfau fd202105ef Scripting: Improve docs 2022-05-27 20:19:29 -07:00
Vicki Pfau ced8fb516c Scripting: Expose more key functionality 2022-05-27 20:19:29 -07:00
Vicki Pfau 85b619dc78 Scripting: Add register information to docgen 2022-05-27 20:19:29 -07:00
Vicki Pfau 42efdc46eb Scripting: Add class-level docstrings 2022-05-27 20:19:29 -07:00
Vicki Pfau fc34b72741 Scripting: Add prototype documentation generator, outputs to YAML 2022-05-27 20:19:29 -07:00
Vicki Pfau c6e68f7224 Scripting: Expose information about the memory domains 2022-05-27 20:19:29 -07:00
Vicki Pfau 98c371b769 Scripting: Rename mScriptCallbackAdapter to mScriptCallbackManager 2022-05-27 20:19:28 -07:00
Vicki Pfau f739c28b5f Scripting: Rename mScriptMemoryAdapter to mScriptMemoryDomain 2022-05-27 20:19:28 -07:00
Vicki Pfau 6b2fa8fe67 Scripting: Add more docstrings 2022-05-27 20:19:28 -07:00
Vicki Pfau e69be0cc6f Scripting: Add reset menu opiton 2022-05-27 20:19:28 -07:00
Vicki Pfau b3476a997a Scripting: Pass filenames down to scripting engines 2022-05-27 20:19:28 -07:00
Vicki Pfau b84a549e8c Scripting: Expose mCore.checksum function 2022-05-27 20:19:28 -07:00
Vicki Pfau 7a6b16dc41 Scripting: Fix up Lua tables 2022-05-27 20:19:28 -07:00
Vicki Pfau 7bc7656988 Scripting: Memory fixes 2022-05-27 20:19:28 -07:00
Vicki Pfau 304d8d1a4d Scripting: More API cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 7e36a71953 Scripting: Fix segment addressing 2022-05-27 20:19:28 -07:00
Vicki Pfau a747545014 Scripting: Improve Lua error reporting 2022-05-27 20:19:28 -07:00
Vicki Pfau d15bd4969e Res: Add WIP example Pokemon script 2022-05-27 20:19:28 -07:00
Vicki Pfau 28d7bfdffc Scripting: Add prototype "buffer" pseudo-TUI interface 2022-05-27 20:19:28 -07:00
Vicki Pfau f570786d78 Scripting: Add memory range reading 2022-05-27 20:19:28 -07:00
Vicki Pfau 9c6068a526 Scripting: Start bringing up lists in lua 2022-05-27 20:19:28 -07:00
Vicki Pfau 31a7f09b8a Scripting: Add register read/write 2022-05-27 20:19:28 -07:00
Vicki Pfau 4a345fb07c Scripting: Add casting STR to CHARP 2022-05-27 20:19:28 -07:00
Vicki Pfau 93cadacb18 Scripting: Allow null values to be wrapped in Lua as nil 2022-05-27 20:19:28 -07:00
Vicki Pfau 304a8d1655 Scripting: Split macros into separate header 2022-05-27 20:19:28 -07:00
Vicki Pfau 82c97e5dc3 Scripting: Add key input functions 2022-05-27 20:19:28 -07:00
Vicki Pfau e70a9b2f41 Scripting: Add more informational functions 2022-05-27 20:19:28 -07:00
Vicki Pfau 1895ed34fc Scripting: Add making strings from non-UTF8-clean text 2022-05-27 20:19:28 -07:00
Vicki Pfau 98f5298e04 Scripting: Add __pairs implementation for tables 2022-05-27 20:19:28 -07:00
Vicki Pfau 5c84278667 Scripting: Start exporting some constants 2022-05-27 20:19:28 -07:00
Vicki Pfau 303fc17e77 Scripting: Add screenshots, delimit categories 2022-05-27 20:19:28 -07:00
Vicki Pfau cb9d45caee Scripting: Add savestate slot access 2022-05-27 20:19:28 -07:00
Vicki Pfau e228857eef Scripting: Add default arguments 2022-05-27 20:19:28 -07:00
Vicki Pfau fa847b1e63 Qt: Add basic scripting view 2022-05-27 20:19:28 -07:00
Vicki Pfau 48f49b74b1 Scripting: Make memory blocks weakrefs 2022-05-27 20:19:28 -07:00
Vicki Pfau f3ba5f7692 Scripting: API cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau ca073379fb Scripting: Add Table iteration 2022-05-27 20:19:28 -07:00
Vicki Pfau c14fb54a74 Scripting: Add callback API 2022-05-27 20:19:28 -07:00
Vicki Pfau a59349af8a Scripting: Fix some bugs with context globals 2022-05-27 20:19:28 -07:00
Vicki Pfau e8e9a3e3c3 Scripting: Bring up lists 2022-05-27 20:19:28 -07:00
Vicki Pfau 5eb25876b4 Scripting: Add memory adapter for access to memory regions 2022-05-27 20:19:28 -07:00
Vicki Pfau 076299a5f6 Scripting: Start bringing up constructors/destructors 2022-05-27 20:19:28 -07:00
Vicki Pfau bbf6d94fe2 Scripting: More table scaffolding 2022-05-27 20:19:28 -07:00
Vicki Pfau c6e18b2a59 Scripting: Lua memory fixes 2022-05-27 20:19:28 -07:00
Vicki Pfau deff3585bd Scripting: Default "get" handling a la Python and casting a struct into one of its members 2022-05-27 20:19:28 -07:00
Vicki Pfau aa91ffabfd Scripting: Revamp pointer handling, struct casting 2022-05-27 20:19:28 -07:00
Vicki Pfau c296ea79ff Scripting: Add flag for freeing the value buffer 2022-05-27 20:19:28 -07:00
Vicki Pfau 0c28e34a7e Scripting: Remove static members 2022-05-27 20:19:28 -07:00
Vicki Pfau 17d2373975 Scripting: Add "console" logger bridge 2022-05-27 20:19:28 -07:00
Vicki Pfau e3758597f8 Scripting: Hook up Lua strings and add context autodrain pool 2022-05-27 20:19:28 -07:00
Vicki Pfau af44a65c3d Scripting: Add weak references for opaque runtime access 2022-05-27 20:19:28 -07:00
Vicki Pfau 7bb051b01d Scripting: Start hooking things together 2022-05-27 20:19:28 -07:00
Vicki Pfau cdfa6ac54b Scripting: Fix unsetting globals in Lua 2022-05-27 20:19:28 -07:00
Vicki Pfau b9f88061ca Scripting: Add error reporting 2022-05-27 20:19:28 -07:00
Vicki Pfau 66142ab4dc Scripting: Hook up memory access 2022-05-27 20:19:28 -07:00
Vicki Pfau 8c45d51b8e Scripting: Code cleanup, add parameter names 2022-05-27 20:19:28 -07:00
Vicki Pfau 421c645e14 Scripting: More testing sugar 2022-05-27 20:19:28 -07:00
Vicki Pfau ce3710323b Scripting: Start working on mCore bridge 2022-05-27 20:19:28 -07:00
Vicki Pfau 7226b7ee31 Scripting: Interface cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 5c67c3b600 Scripting: Lua method calling cleanup and testing 2022-05-27 20:19:28 -07:00
Vicki Pfau 16bad9f141 Scripting: Testing sugar 2022-05-27 20:19:28 -07:00
Vicki Pfau 4dae4d8f7f Scripting: Start hooking up objects in Lua 2022-05-27 20:19:28 -07:00
Vicki Pfau edb07e23c8 Scripting: Fix leaks in Lua test 2022-05-27 20:19:28 -07:00
Vicki Pfau 7c9ea1ec9b Scripting: Add basic inheritance + struct struct member access + const casting 2022-05-27 20:19:28 -07:00
Vicki Pfau 9ddada00f2 Scripting: Add struct setter 2022-05-27 20:19:28 -07:00
Vicki Pfau b0567832f8 Scripting: More const bringup 2022-05-27 20:19:28 -07:00
Vicki Pfau 3179419f52 Scripting: Add static dispatch to classes 2022-05-27 20:19:28 -07:00
Vicki Pfau e912450e85 Scripting: Attempt to add const structs 2022-05-27 20:19:28 -07:00
Vicki Pfau 1a6fa25a33 Scripting: Add struct dynamic dispatch binding 2022-05-27 20:19:28 -07:00
Vicki Pfau af2e226cc4 Scripting: First pass on structs/classes 2022-05-27 20:19:28 -07:00
Vicki Pfau c8848876fa Scripting: Add 8/16-bit integer types for struct interop 2022-05-27 20:19:28 -07:00
Vicki Pfau 4c1e736915 Scripting: Fix cast failure 2022-05-27 20:19:28 -07:00
Vicki Pfau 7fb7d53c5d Scripting: Add Lua function call thunk 2022-05-27 20:19:28 -07:00
Vicki Pfau 9d92c185c6 Scripting: Minor cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 36efaf6330 Scripting: Add Lua setGlobal, make sure calling run twice works 2022-05-27 20:19:28 -07:00
Vicki Pfau 2c11c4806a Scripting: Add calling Lua functions 2022-05-27 20:19:28 -07:00
Vicki Pfau ce97d86906 Scripting: Start bringing up Lua bindings 2022-05-27 20:19:28 -07:00
Vicki Pfau 512572769e Scripting: Rework functions; add wrapper type for stack references 2022-05-27 15:57:38 -07:00
Vicki Pfau c507157ab8 Scripting: Start bringing up execution contexts 2022-05-27 15:57:38 -07:00
Vicki Pfau 2a81e5a1ba Scripting: Add 64-bit types 2022-05-27 15:57:38 -07:00
Vicki Pfau cbae6a61e5 Scripting: Start adding type-aware casting 2022-05-27 15:57:38 -07:00