Commit Graph

22776 Commits

Author SHA1 Message Date
YoshiRulz 00c2a7b016
Add `tastudio.get_branch_index_by_id` 2025-07-12 11:18:39 +10:00
YoshiRulz a073e6b498
Add `branchID` parameter to `tastudio.getmarker` and rewrite docs 2025-07-12 11:18:39 +10:00
YoshiRulz b914bd1a60
Use UUIDs instead of indices for branch params in new functions 2025-07-12 11:18:30 +10:00
YoshiRulz babc51f1f9
Avoid throwing when new functions called with nonexistent branch index 2025-07-12 11:18:29 +10:00
YoshiRulz ac5e389cc9
Return frame numbers, merge branch and non-, rename, and update docs
Co-Authored-By: c7fab <26490633+c7fab@users.noreply.github.com>
2025-07-12 11:18:29 +10:00
YoshiRulz da1b08fac1
Code style fixes 2025-07-12 11:18:29 +10:00
c7fab fff66c3720
Initial implementation of new Lua functions for TAStudio markers 2025-07-12 11:18:29 +10:00
YoshiRulz 6a9b07ecf4
Change `tastudio.getmarker` to return `nil`, not `""`, on fail 2025-07-12 11:18:29 +10:00
Morilli 6284b56e81 bsnes: implement r/w callback value passing
The value will now be passed to the frontend for read callbacks and both read and write callbacks' values can now be changed in the callback.

execute would probably be possible but would require some additional code changes which I'm not sure about
2025-07-10 20:06:29 +02:00
Morilli 6fe1b2d190 remove heuristic A/V desync exception in NutMuxer
- closes #4394

I assume this was meant as a sanity check expecting it to never be hit. Well, turns out if you break games hard enough this does get hit, so just remove it.
2025-07-10 02:41:34 +02:00
Morilli 2f184c99fe use ArrayPool instead of custom ReusableBufferPool in NutMuxer 2025-07-10 02:40:04 +02:00
YoshiRulz e230178b22
GitHub Actions: Specify artifact retention explicitly 2025-07-09 17:45:36 +10:00
Morilli 97031fdc95 "fix" encore build scripts for cmake 4 2025-07-08 00:58:31 +02:00
CasualPokePlayer 21b8331331 Update encore for clang 20 support, rebuild on Linux 2025-07-07 15:13:49 -07:00
CasualPokePlayer 0eb2f9fd64 Update Encore, rebuild
Resolves #4374
2025-07-07 13:25:29 -07:00
Morilli f6c027f10e NLua: remove this[string field] overloads on LuaTable and LuaUserData
- closes #4387

Those overloads try to imitate lua's "a.b" parsing by navigating tables recursively, e.g. `table["a.b"]` == `table.a.b`. This is not what's intended by 100% of the use cases of these overloads, so I've removed them.
2025-07-07 18:26:54 +02:00
Morilli b01ae4b757 fix nlua build with analyzers 2025-07-07 18:11:06 +02:00
Morilli e4cf5d2955 fix virtu keyboard serialization
- closes #4392
2025-07-07 15:21:44 +02:00
Morilli fa77b408ff fix virtu build with analyzers 2025-07-07 15:21:25 +02:00
YoshiRulz 8486b56395
Explicitly disable many Roslynator rules 2025-07-07 15:55:43 +10:00
YoshiRulz 6381c93a61
Explicitly enable some Roslynator rules 2025-07-07 15:51:57 +10:00
YoshiRulz 1a5bb54b8a
Enable RCS1249 and fix noncompliance
"Unnecessary null-forgiving operator"
2025-07-07 15:51:57 +10:00
YoshiRulz 64ab7a6663
Enable RCS1246 and fix noncompliance
"Use element access" (indexer, instead of LINQ)
2025-07-07 15:51:57 +10:00
YoshiRulz 734038dc97
Fix some typos in doc comments and enable RCS1243
"Duplicate word in a comment"
2025-07-07 15:51:50 +10:00
YoshiRulz 45b9e30328
Enable RCS1240 and fix noncompliance
"Operator is unnecessary" (`Array.Length` can't be negative)
2025-07-07 15:49:17 +10:00
YoshiRulz 002fb15db4
Enable RCS1236 and fix noncompliance
"Use exception filter" (`catch when`)
2025-07-07 15:47:58 +10:00
YoshiRulz 7df0cef0db
Enable RCS1226, except in Cores, and mute 2 other existing violations
"Add paragraph to documentation comment" (line break without markup
results in collapsed space, like in HTML)
2025-07-07 15:39:58 +10:00
YoshiRulz 5d76b92a41
Reformat docs of `IController.To{BoolButton,AxisControl}NameList` 2025-07-07 15:39:50 +10:00
YoshiRulz 9c452a42ce
Enable RCS1224, muting existing violations
"Make method an extension method"
2025-07-07 15:38:36 +10:00
YoshiRulz f3882d1eec
Remove unused method `StringExtensions.CharCodepointsToString` 2025-07-07 15:38:36 +10:00
YoshiRulz ea710e8387
Enable RCS1195 and fix noncompliance 2025-07-07 15:33:29 +10:00
YoshiRulz c4eb5f98da
Enable RCS1160 and fix noncompliance
"Abstract type should not have public constructors"
2025-07-07 15:27:37 +10:00
YoshiRulz 14fa099cdf
Enable RCS1130 and fix noncompliance
"Bitwise operation on enum without Flags attribute"
2025-07-07 14:52:15 +10:00
YoshiRulz 5a6f95a131
Enable RCS1157 and RCS1191 and fix noncompliance
"Composite enum value contains undefined flag"
and "Declare enum value as combination of names"
2025-07-07 14:48:35 +10:00
YoshiRulz 2a1ee02a21
Dispose `IEnumerator` in `CollectionExtensions.Unanimity`
fixes b4105f942
2025-07-07 14:43:18 +10:00
YoshiRulz deaee2a648
Fix buttons named `"."` being given the mnemonic `'.'` (fixes #4391)
see a41817b70
2025-07-07 14:41:46 +10:00
Morilli 8f01fb755e BSNESv115+: update from upstream 2025-07-06 01:26:03 +02:00
YoshiRulz c9bbb81c15
Blindly attempt to wire up screen reader support for OSD messages
no pun intended
2025-07-06 08:24:46 +10:00
YoshiRulz 6d34456cd7
Ensure OSD messages go via `IDialogController.AddOnScreenMessage` 2025-07-06 07:55:04 +10:00
YoshiRulz 00d2a51ed9
Allow EmuHawk to run with a missing gamedb (resolves #2939) 2025-07-06 07:10:06 +10:00
YoshiRulz e25253f3f1
Ban `ToString` w/o format on `Guid` 2025-07-04 07:12:59 +10:00
YoshiRulz 906937b3f2
Refactors to UUID handling in Lua libs 2025-07-04 07:12:49 +10:00
YoshiRulz 86c1a84fd7
Extract helper `Util.GetRandomUUIDStr` 2025-07-04 07:03:48 +10:00
YoshiRulz 83d04b0481
Fix `NLuaTableHelper.EnumerateValues` not working under .NET 8
fixes 7bd9e218c
not sure why the one in `CollectionExtensionTests` doesn't also fail,
but I've fixed it just in case
will look into writing an Analyzer for this after we bump SDK version
2025-07-03 11:17:40 +10:00
SuuperW 979233512b Fix: Copy/paste hotkeys in TAStudio would not work if the Edit sub menu had been opened with no rows selected. 2025-07-01 03:33:50 -05:00
Morilli de403967aa Nix expr: Regen NuGet lockfile 2025-06-29 16:24:21 +00:00
Morilli 48af5c7f1a bump sharpcompress 2025-06-29 18:22:16 +02:00
Morilli a33021354a Add CI script to update nix dependencies 2025-06-29 18:21:34 +02:00
feos 5a105a156f dsda: full vision option
I was unable to make it launch with full vision on the very first frame unless it's set during init. which means there will be savestate problems if we allow switching this on the fly. setting it on init only is probably fine too.
2025-06-28 23:45:44 +03:00
feos 396d67caac dsda: drop strict mode setting
nobody's gonna use hawk for making doom demos for dsda site, so we don't need to restrict users to whatever their rules ban

cleanup
2025-06-28 23:45:44 +03:00