Commit Graph

128 Commits

Author SHA1 Message Date
zeromus 2275ec234f massive displaymanager/renderpanel refactor. All useful logic is now compact and in DisplayManager. Also, remove the old filter infrastructure, its totally outdated now 2014-01-28 04:39:27 +00:00
adelikat 7fac499996 Lua - finish up documentation and strongly type some more params 2014-01-27 20:19:08 +00:00
zeromus 25cab541b1 assorted cleanup and quick restore of DIspBlurry and Vsync settings 2014-01-27 06:03:18 +00:00
adelikat 7417ea7b8f Lua - more documentation and more strong typing of parameters, more fixups to display of parameter types in the Lua functions list 2014-01-27 03:16:05 +00:00
zeromus a2ba761ae1 BizwareGL! 2014-01-27 00:02:21 +00:00
adelikat 157f092aa2 Lua clean up Bit and Client libraries by using strongly typed numbers as a proof of concept that we can 2014-01-26 20:36:00 +00:00
adelikat 70feebf229 Add documentation to as many lua function as I can sanely do in one sitting 2014-01-26 18:36:27 +00:00
adelikat 91fdad9d45 LUa - whack now unused code 2014-01-26 16:21:20 +00:00
adelikat 5f9757d7d0 Lua - finish up refactoring remaining lua libraries 2014-01-26 16:15:45 +00:00
adelikat bce8320b85 Lua - new Register method on some more libraries 2014-01-26 13:30:45 +00:00
adelikat 583be2516c Lua - new registration system added to NES and SNES libraries 2014-01-26 03:26:52 +00:00
adelikat ac9e4c1d3d Lua - same to movie library 2014-01-26 02:50:26 +00:00
adelikat 988ed03198 ditto for Memory library 2014-01-26 02:43:28 +00:00
adelikat 94d20e92f4 Lua - new register system for Main Memory library and a bunch of cleanup for that lib 2014-01-26 01:48:32 +00:00
adelikat c6859a6d4f Lua ditto for joypad library and slight fix documentation 2014-01-26 00:01:40 +00:00
adelikat c66e529fb7 lua - ditto to Events library 2014-01-25 21:37:25 +00:00
adelikat 65d50ca329 Lua - refactor emu library to use the new registration method, documentation is all "TODO" 2014-01-25 21:10:51 +00:00
adelikat 06c0417f96 some Lua documentation related cleanup and support column sorting on Description in Lua Functions list 2014-01-25 20:27:51 +00:00
adelikat e22227160d show descriptions in Lua functions list 2014-01-25 20:04:26 +00:00
mvl1986 73de95d65e LuaWriter LineNumbers now work with scrolling, fixed an exception that was happening if a keyword was longer than the length of the line it checked it against.
AutoCompleteView now resizes depending on how many items are in the list.

-mightyMar
2014-01-25 16:25:05 +00:00
adelikat 4701b319be Lua - add a new way to do reflection to get method names, now the function list simply needs to match the method name, and the method name does not need to redundantly specificy the library name. Only the Bit library hooked up currenlty. 2014-01-25 15:05:53 +00:00
mvl1986 0a494c386e LuaConsole now updates when a new Luascript is saved in the LuaWriter.
LineNumbers can now be shown in the Writer, only updates when a selectionchanged event occurs, not on the scrolling of the screen.

Option to toggle LineNumbers on and off

-MightyMar
2014-01-24 12:44:55 +00:00
adelikat 8ab655d963 A better fix for something I broke 2014-01-21 16:31:12 +00:00
adelikat 9df0821fcd Lua Console - convert spaces to tabs and remove a todo 2014-01-21 16:25:51 +00:00
mvl1986 a177a111b9 Line 53:
changed: LuaImp = new EmuLuaLibrary(this);
into:    LuaImp = new EmuLuaLibrary();     

-MightyMar
2014-01-21 16:24:03 +00:00
adelikat 186503c041 Some formatting cleanup on EmuLuaLibrary, nothing useful here 2014-01-21 00:43:57 +00:00
adelikat 614d457de4 Lua - Implement client.clearautohold() 2014-01-21 00:36:22 +00:00
pasky1382 08504fc25a Added more string lua functions 2014-01-20 17:06:09 +00:00
mvl1986 cb600e5bf7 Updated the AutoCompleteView, now shows possible libraries, possible methods within libraries, replaces halftyped words and adjusts to what you typed. Also made it a bit easier to use 2014-01-20 16:33:45 +00:00
zeromus 7a07a910f8 temporarily fix build by removing lua string library which has a missing file 2014-01-20 05:13:43 +00:00
pasky1382 a2dd821474 Added new EmuLuaLibrary.String, contains decimal to hex string and binary string. 2014-01-19 16:36:43 +00:00
mvl1986 9963518715 Added sorting to the columns in the ListView 2014-01-17 11:51:52 +00:00
adelikat 1626e8b43e oops 2014-01-02 13:51:14 +00:00
adelikat 3fd6da23a6 lua - add client.get/set displayfilter() and get/set scanlineintensity() 2014-01-02 01:11:00 +00:00
adelikat a3a8170c44 Check Global.Config.SupressAskSave in ToolManager instead of doing it in the tool dialogs themselves 2014-01-01 02:09:03 +00:00
adelikat fd56efd33a Some renaming of Save/Load state functions and variables to make them less confusing 2013-12-30 16:49:13 +00:00
zeromus 436881beaf lua: better typecasting for LuaInt and LuaUInt that doesnt throw overflow exceptions; and, render to a null image when the lua script manager Resume process hasnt begun (setting up a render target) but lua scripts run (due to loadstate, for example) 2013-12-30 16:36:15 +00:00
adelikat 213e02ffef Lua - forms.textbox() - add a fixed width option 2013-12-30 14:58:09 +00:00
adelikat dae86e770c Mainform - a round of cleanup 2013-12-29 23:35:42 +00:00
adelikat f122105b42 oops, put Rewinder in Global not GlobalWin 2013-12-27 01:19:38 +00:00
adelikat f090597fbe make MainForm.Rewind.cs into a separate class instead of a partial class of Mainform. Still dependent on the Mainform context so is still a part of the EmuHawk project for now 2013-12-26 23:12:41 +00:00
adelikat 302e71edc3 Rework some input stuff in preparation for moving it to common 2013-12-24 21:37:51 +00:00
adelikat 05e2f67771 Move some tool loading logic from mainform to toolmanager 2013-12-22 23:34:22 +00:00
adelikat 95c619a0b7 Lua Console - a round of code cleanup 2013-12-19 01:17:53 +00:00
adelikat b2b8edb319 Fix removing of registered functions via Lua console 2013-12-19 01:02:50 +00:00
adelikat b604d81d10 Lua Console - refresh things better 2013-12-19 00:54:35 +00:00
pasky1382 ac97e62ed1 Remove registered functions when disabling lua scripts 2013-12-19 00:12:46 +00:00
adelikat 9257cfdc79 Lua textbox - Fix behavior of numeric values when pressing up and down 2013-12-15 04:50:24 +00:00
adelikat 1723f9dc92 Lua forms - make lua textboxes that are set to signed/unsigned/hex types increment/decrement with up/down arrows 2013-12-15 03:41:13 +00:00
adelikat 91063b7ffd Lua forms library - implement forms.dropdown(), forms.checkbox(), and forms.ischecked(). Add support for dropdowns in forms.gettext() (returns the string value of the selected item) 2013-12-15 02:50:50 +00:00
adelikat 1818e6f5fc Lua - forms.textbox() - add multiline parameter 2013-12-02 03:41:29 +00:00
adelikat 9ccc214667 Make an extension method ShowHawkDialog() to use for modal dialog calls that does the Sound Stop/Start methods (and potentially any other EmuHawk specific logic that needs to be done). Use this in the bazillion places we were calling StopSound and StartSound. 2013-11-28 22:39:00 +00:00
adelikat d37f186107 Hex Editor - a bunch of clean up, refactoring, rethinking of stuff, and some slight bug fixes 2013-11-28 20:02:32 +00:00
adelikat b3946082a7 Some code refactoring, mostly in an attempt to pick away at the beast that is Mainform.cs 2013-11-27 23:35:32 +00:00
adelikat 9e521a1f14 Some nitpicky code clean up on lua console, nothing important here 2013-11-27 21:03:48 +00:00
adelikat 788aea970e Lua Console - when removing a script, remove its registered function. Currently however, this behavior will only happen if the script is currently running. If you disable it and then remove it, the functions remain. 2013-11-26 01:21:24 +00:00
adelikat d33d515ae9 Lua Console - don't stop scripts on restart 2013-11-25 23:45:59 +00:00
adelikat 3d48a0b39e Lua Console - fix behavior of Save Changes nag, fix deleting of items 2013-11-25 23:38:10 +00:00
adelikat 5bbed4a58f Fix behavior of Movie Up/Down in tool dialogs 2013-11-25 23:24:26 +00:00
adelikat 92c34c8c2d Refactor Lua Console code to move most of the logic to a custom LuaFile list object. Also fix number of bugs in the process 2013-11-25 21:01:38 +00:00
adelikat 720cf763cd More code refactoring 2013-11-25 02:08:45 +00:00
adelikat 345b628dad Some more misc code cleanup 2013-11-25 00:55:56 +00:00
adelikat 7b244cc87c Lua Console - a round of code cleanup. Some small fixes happened as a result of this cleanup 2013-11-25 00:44:18 +00:00
adelikat fc19fe40a9 Lua console - small nitpicky code cleanup, nothing useful here 2013-11-17 17:17:18 +00:00
adelikat f147cdf75c Lua Console - F12 works now if focused on the output window 2013-11-17 16:58:24 +00:00
adelikat b2e341e2df Lua Registered Functions dialog - fix bug where Call and Remove were affecting the wrong scripts 2013-11-17 16:43:12 +00:00
adelikat 175ed75553 Lua Console - autoscroll the output window as text gets added 2013-11-17 15:55:13 +00:00
adelikat fb78215590 Lua - Implement emu.getregister() and emu.getregisters(). Only implemented in NESHawk right now 2013-11-11 03:20:33 +00:00
adelikat b52ec7e647 Lua Registered Functions dialog - open up in a reasonable location, support multiple selection on Call and Remove buttons. Support hotkeys - Space or Enter = Call, Delete = remove 2013-11-10 23:16:18 +00:00
adelikat 9feb4d0871 Lua Console - make Registered Lua functions hotkey F12 instead of Shift+F12, make Registered Lua Functions dialog modeless 2013-11-10 22:05:03 +00:00
adelikat 2e51e7ad4f Registered Lua Functions dialog - fix so Remove removes MemoryRead/Write events, add a Remove All button 2013-11-10 21:56:02 +00:00
adelikat ded77beb65 Lua - OnInputPoll() - hooked up to the registered lua functions system 2013-11-10 19:19:58 +00:00
adelikat 9e5e477467 move emuversion, releasedate, and interim constants from MainForm to VersionInfo so that they are available to all projects (we can now "interim" things in all projects) 2013-11-10 02:32:47 +00:00
adelikat 8562276320 Change the default Position property of every winform from windows default to center parent 2013-11-08 18:43:24 +00:00
adelikat 56cb2ba538 Refactor CheatList and Cheats to have changed event handlers, and have the client wire up an event handler to update all the relevant dialogs. 2013-11-04 15:52:59 +00:00
adelikat 9751fd5a1a Move interfaces and base implemenations from emulation to emulation.common 2013-11-04 01:39:19 +00:00
adelikat 589758f74d rename GlobalWinF to GlobalWin, yeah, I'm being nitpicky 2013-11-03 16:07:58 +00:00
adelikat c669680e07 Rename Multiclient folder 2013-11-03 04:05:56 +00:00