scepheo
860227ee66
LuaConsole: Actually stop and restart script upon tool restart.
2015-01-29 14:50:09 +00:00
adelikat
6f2488aa57
Lua - clear out lua drawing surface on restart
2015-01-29 03:36:19 +00:00
adelikat
307845b3b5
Lua - recover from a locked drawing surface exception and log to the console, rather than crash the emulator
2015-01-29 02:14:39 +00:00
adelikat
24a517d293
Lua - properly re-inject core dependencies on restart
2015-01-28 14:38:06 +00:00
adelikat
09072acb3b
Lua Console - immediate box - in some situations wrap the text in a console.log(), such as if the user simply types a variable name
2015-01-27 23:27:44 +00:00
adelikat
3b13ea4a8f
spaces to tabs, good ol whitespace commit
2015-01-27 23:18:48 +00:00
goyuken
82fcd0bc5e
refactor IVideoProvider into a service. uses in mainform and friends are still hacky
2015-01-14 22:37:37 +00:00
christoph.boehmwalder
99f9d91671
LuaConsole - Fixed tooltip of Duplicate button.
2015-01-03 22:40:11 +00:00
jdpurcell
cf7815adc9
Fix anchoring of new textbox.
2015-01-02 22:02:00 +00:00
christoph.boehmwalder
879302710e
Lua Console - Attempt to fix scaling horror
2015-01-02 20:01:01 +00:00
christoph.boehmwalder
e11811e2f8
Lua - Added an input box to the script console for on-the-fly command input
...
Set ImageScaling to None for all buttons in the toolbar in order to fix scaling issues
2015-01-02 19:36:32 +00:00
adelikat
4e0e5958ed
Lua - Convert Gui library to service injection system
2015-01-01 21:44:49 +00:00
adelikat
a7c91ddcdd
Lua - convert to the Client library to the service injection system
2015-01-01 20:58:57 +00:00
adelikat
72893a10f3
EmuLuaLibrary - remove some commented code that should have been deleted
2015-01-01 19:19:51 +00:00
adelikat
b8d667812b
convert Lua Console to IToolFormAutoConfig
2015-01-01 17:48:25 +00:00
adelikat
a2bee4f88a
Lua Console - move "Autoload Session" to the recent session menu
2015-01-01 17:28:34 +00:00
goyuken
cfaf59f887
lua: internal infrsatructure changes to nes library
2014-12-17 23:03:58 +00:00
goyuken
ecf8728de6
factor out serviceinjector to emulation.common
2014-12-17 18:17:16 +00:00
goyuken
08d09bc64f
a few more itoolform cleanups
2014-12-15 18:13:54 +00:00
adelikat
685756ea8e
Remove LoadTraceLogger() from ToolManager since it was simply a wrapper to manage availability logic, most of those types of properties should be removed now
2014-12-14 01:39:15 +00:00
scepheo
769cbeb1a0
- IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
...
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
adelikat
21889bba58
Lua Console - replace a NullEmulator check with a Global.Game != null check as that is more precisely why a check is happening
2014-11-30 18:44:20 +00:00
adelikat
4681fef0c2
Add an IsNull() extension method to IEmulator (checks for null and if NullEmulator) and replace EmuHawk NullEmulator checks with this method instead
2014-11-30 14:18:44 +00:00
adelikat
96b626434f
Lua Console - on drag and drop, don't be case sensitive with the file extension
2014-11-26 17:42:30 +00:00
adelikat
d7596684c2
Lua - Expose tastudio library in non-developer builds
2014-11-19 16:17:40 +00:00
adelikat
e4cd7a3449
Lua Console - when reporting a script error, update the number of active scripts label
2014-11-18 01:09:06 +00:00
adelikat
252ea85f99
Lua Console - add a duplicate script menu and toolbar item, functions similarly to new script except it starts with the text from the highlighted script
2014-11-09 16:18:09 +00:00
adelikat
5c92adcaaa
Wire up the Log callback into lua libraries, this got lost in the last refactor I did, and so errors were not getting reported
2014-11-08 14:54:00 +00:00
adelikat
d0aee55059
Tastudio - a bit of simplifying some code
2014-10-20 19:04:59 +00:00
scepheo
bad2bda4f4
Added Lua functions to work with the letterboxing of the emulator, and for transforming emulator space points to client space.
2014-10-10 11:02:18 +00:00
zeromus
1358294a5c
ladies and gentlemen, it is my extreme pleasure to you, for tonight's entertainment to present, the lua DrawText without cleartype. May you all enjoy it as much as I have.
2014-10-04 02:09:25 +00:00
adelikat
7a1fe8d51d
lua/tastudio - implement tastudio.islag() and tastudio.hasstate()
2014-09-22 21:58:45 +00:00
adelikat
8b212da594
tastudio/lua - implement tastudio.getmarker(), tastudio.setmarker(), and tastudio.removemarker()
2014-09-21 15:17:29 +00:00
adelikat
538c4632af
Add a LuaLibraryAttributes attribute to lua libraries with a Released property, only register libraries that are released except in Developer Builds, set tastudio library Released flag to false
2014-09-20 01:00:50 +00:00
adelikat
ad16be7712
Start a tastudio lua library
2014-09-19 21:43:16 +00:00
adelikat
afdfe11c7e
lua - forms.label - add an optional fixedwidth font param
2014-09-07 02:42:44 +00:00
kylelyk
321c8c64bf
Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region.
2014-08-19 19:24:17 +00:00
adelikat
fe09023ef6
When closing the lua console - clear the lua surface
2014-08-16 20:09:57 +00:00
adelikat
bcd78cc4b8
Round 1 of Movie loading system overhaul, this fixes the problem of loading sram when a movie is loaded. Still todo: some cleanup of some hacks that are no longer needed, and restoring the ability to open the play movie dialog and other things, while a movie is active
2014-08-02 15:32:48 +00:00
adelikat
43d9f77fd6
this is mostly a hack, but fixes loading a rom when a movie is still running
2014-08-01 01:34:40 +00:00
adelikat
7ec866ced5
add some extensions to the ControlExtension class for converting cruddy .NET 1.0 collection objects to IEnumerable<T>, and start removing some code in specific forms that work around cruddy .NET 1.0 stuff
2014-07-28 03:01:57 +00:00
adelikat
5d4ff76ed6
Convert a copy/pasted method in a bunch of tool dialogs to an extension method
2014-07-28 02:31:51 +00:00
adelikat
ce4ce0bacc
Convert some static methods in ToolHelpers to extension methods
2014-07-28 01:51:11 +00:00
adelikat
0397ea1ff4
Remove the CustomControls/Util file and move all the classes into the Form Extensions file, since they were all extension methods for window form objects
2014-07-27 15:22:30 +00:00
adelikat
22ea422530
Lua documentation - fix anchoring on a button (a dev only button, this has no impact on release builds)
2014-07-27 12:08:28 +00:00
adelikat
5f1df3224c
fix some dangling references to BizHawk.Multiclient mostly in comments, but also in some client facing tooltip and lua documentation
2014-07-27 01:19:33 +00:00
adelikat
570f77cc68
Implement FastUpdate() on IToolForm. The intent here is for tools to do the minimum amount necessary when updating. This allows them to avoid slow things like drawing, but do critical activities such as Ram tools incrementing change counters, and loggers can continue logging. When Turboing, instead of bypassing tool updates, the client will run the fast update instead. Note: a few tools still need to be thought out as to what they need to do in a fast update
2014-07-25 01:55:21 +00:00
adelikat
7e768eacb1
When rewinding show << and <<<< symbols (not sure when those ever got removed). Tastudio - disable rewind on load, and restore it (if it was on) when closed
2014-07-11 17:14:45 +00:00
adelikat
1964f3754a
Merge InputValidate into StringExtensions
2014-07-03 16:00:57 +00:00
adelikat
ab5cfab035
remove redundant code throughout the emuhawk project
2014-06-29 02:28:48 +00:00