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
adelikat
e4a12c58bc
for Developer builds - Lua functions list - a ToTASVideosWikiMarkup button that copies to clipboard
2014-06-05 00:23:05 +00:00
zeromus
0fe74f95e7
fix LuaConsole PWD-related bugs
2014-06-03 02:39:15 +00:00
adelikat
0649d1c77e
Lua - add some more documentation, add a method that generates tasvideos wiki markup of the documentation and outputs to a file (method not wired to anything, there to save me tons of time when releasing)
2014-06-03 02:19:13 +00:00
adelikat
d037c6ed60
Oops
2014-06-03 01:21:49 +00:00
adelikat
ba4e7d620b
Refactor the LuaDocumentation class to remove a bunch of unnecessary stuff
2014-06-03 00:34:41 +00:00
adelikat
5d79072a38
Lua - Finish strongly typing the Color params in the gui library, Lua Functions List - cleanup display of Color params and some other things
2014-06-02 01:04:13 +00:00
adelikat
58b5163715
Lua Interface - support Strongly typing System.Drawing.Color, and strongly type the color parameters of gui.drawEllipse()
2014-06-02 00:43:25 +00:00
adelikat
83ada011e8
Lua - Refactor how lua libraries are registered by searching assemblies and finding implementations and building a list of these
2014-06-01 22:02:59 +00:00
adelikat
3f675b2053
Lua functions list - don't throw exceptiosn when filtering, don't know why it happens but this will squash it, and it isn't important enough to know why.
2014-06-01 15:44:40 +00:00
adelikat
0782c9820d
Lua - implement event.onexit() - fires when the calling script stops execution, supports multiple callbacks per script
2014-05-26 03:08:16 +00:00
adelikat
4086eee72d
Load Rom - actually pass in the deterministic emulation flag, and change the logic so that the client derives determinstic emulation (currently just if a movie is active), but can be passed in an override if calling code wanted to.
2014-05-24 22:06:08 +00:00
adelikat
5ebc0f5428
Lua Console F1 hotkey assigned to Lua Functions list
2014-05-24 16:54:00 +00:00
adelikat
8dc56b312e
Lua Function List dialog - add a filter box
2014-05-24 13:19:24 +00:00
adelikat
ce6cd2ec5f
rip out the lua writer dialog and deeming it a failed experiment. Lua Console - re-implement the new script dialog so that it calls a save file dialog, and if the user picks a file it creates a new lua script with a minimal while loop, and then invokes a new process with this newly created file for quick editing
2014-05-24 01:59:59 +00:00
adelikat
a89efe9c27
Lua - make form windows have a start position of "Center Parent"
2014-05-22 01:03:18 +00:00
adelikat
b406146ae4
Fix "watch file" to "Lua script file" in save dialog on Lua Writer. To do: delete lua writer
2014-05-21 13:18:54 +00:00
adelikat
e88b7cc93e
one more tweak to make lua library constructors unified
2014-05-21 01:15:52 +00:00
adelikat
17568997bf
Lua - unify constructors and have all libraries receive a lua context and an output callback, simplify some convolved registration code
2014-05-21 00:17:35 +00:00
adelikat
6401e6d719
Refactor LuaLibraryBase to have a Lua context rather than misc libraries being in charge of that when needed. Still todo: clean up the inconsistent constructor logic, vs setting these as public properties
2014-05-20 20:34:51 +00:00
adelikat
f19d15d1ed
Lua - add a Log callback to the LuaLibraryBase class instead of having misc libraries have to build out this behavior when they need it
2014-05-20 20:25:18 +00:00
adelikat
4ee4088c4c
read/write byte range functions - range check, and log warnings if user attempts to access outside the domain range, rather than throw a vague lua exception and crash
2014-05-19 01:42:41 +00:00
adelikat
059952f0a4
Change memory.getmemorydomainlist() to return a lua table instead of a string
2014-05-19 01:06:44 +00:00
adelikat
3d10d67fea
Implement bizstring.split()
2014-05-18 21:06:16 +00:00
adelikat
55b4dcd53c
gui.text - remove hacks that attempt use window size. Better logic is to be pure client space, and let gui.drawText do anything else
2014-05-14 23:44:46 +00:00
adelikat
0b6795fffc
Some misc cleanup of redundant qualifiers
2014-05-04 14:10:28 +00:00
gochaism
0a9039fc60
Set SystemIcons.Application to Lua form icon.
2014-05-02 00:44:14 +00:00
gochaism
3fd9113f0d
Disable maximize/resize of Lua forms, since user cannot do anything on resize anyway.
2014-05-02 00:38:48 +00:00
gochaism
a84b4126f2
Lua: Make console.log(...) a little more prettier.
2014-05-01 00:25:14 +00:00
adelikat
9d7c92fb6e
Oops
2014-04-29 21:25:17 +00:00
adelikat
8f35b29a5c
Remove extra newline in console.log/print
2014-04-29 20:39:19 +00:00
gochaism
38a0a3593e
Lua: Update print and console.log to take variable arguments.
2014-04-29 05:07:43 +00:00
adelikat
8c1c034090
Lua - make Print() be an alias of console.log()
2014-04-29 01:24:06 +00:00
zeromus
c450351801
add tooltip for lua console erase button
2014-04-27 17:49:25 +00:00
adelikat
bbf7c43b6d
Rip out the Alert font from OSD Manager since it wasn't being used for anything useful anymore, Ram Watch on screen display - show frozen addresses in a cyan color instead of red to be consistent with the rest of the system
2014-04-27 13:01:10 +00:00
adelikat
67704b35bf
Lua Console - dont' flag changes when change the on/off status of a script as that leads to being nagged too much (for instance, toggling a lua script at any time during recording and then restarting your movie). Remember the file name when creating a new session as to do a Save As during AskSave()
2014-04-22 21:35:04 +00:00
adelikat
603fd81066
Lua - implement movie.fps() and add MovieTimer.lua script that shows the clock time for a given movie (updates while recording)
2014-04-22 21:27:08 +00:00
zeromus
7adc15d97e
work on opengl display manager: optimized codepaths, user retroshader selection, support for importing a textureID from another core; add erase button to lua console;
2014-04-15 21:46:18 +00:00
adelikat
6adde23553
Lua - also fix client.frameskip()
2014-04-13 18:39:46 +00:00
adelikat
f589a91479
Lua - fix client.setwindowsize() and client.speedmode()
2014-04-13 18:35:27 +00:00
adelikat
9c3a7fec37
Lua - add a gameinfo lua library with getromname(), getromhash(), getdisplaytype(), getindatabase(), getstatus(), getisstatusbad(), getboardtype(), and getoptions() methods
2014-04-13 14:22:13 +00:00
adelikat
5559024757
Lua - Rip out gui.alert() and refactor/simplify things as a result
2014-03-23 17:39:07 +00:00
adelikat
54363e4da1
Lua - fix gui.drawText() (and gui.drawString)
2014-03-23 17:24:06 +00:00
adelikat
1226603697
Lua - Fix gui.Alert() to at least work. However, in trunk the alert font was gimped into regular font with the opengl change, and this is probably for the best. Will remove this lua feature and alert font code in a later commit
2014-03-23 17:12:25 +00:00
adelikat
8ac9f7d2dd
Lua Console - try to use relative paths when saving and loading lua scripts
2014-03-23 14:44:18 +00:00
adelikat
f714093b23
Movies 2.0 - some progress towards supporting floats
2014-02-25 02:56:32 +00:00
adelikat
33fdf03af6
Lua - fix forms.newForm()
2014-02-23 22:47:45 +00:00
adelikat
63e8702242
Lua - gui.text() and gui.Alert() - strongly type the anchor parameters as a string, will still except 0, 1, 2, or 3 as it did previously, for which it will interpret them as string automatically
2014-02-17 01:57:25 +00:00
adelikat
4ca0f5792b
rip out some lua console code I didn't mean to check in
2014-02-16 23:06:14 +00:00
adelikat
5849d2d80d
make the Select All feature built right into VirtualListView instead of writing the same code over and over in the tool dialogs, also make said code faster on large lists
2014-02-15 19:15:04 +00:00
adelikat
05823d3022
fix ButtonCount lua script to use console.log instead of the now deleted console.output, Lua - remove some todos that had been done and some rather useless cleanup
2014-02-14 01:27:38 +00:00
zeromus
96da0880b4
work towards generalizing lua display layers. "emu" and "native" surfaces now work and are accessible from lua.
2014-02-14 00:55:18 +00:00
zeromus
da5daaa989
change lua console to have distinct toggle and refresh functions.. since the refresh icon being a toggle function was misleading me and refresh is what i want 100% of the time anyway
2014-02-13 23:25:36 +00:00
mvl1986
17f17a02fd
Added the display of tooltips for all the methods that are in the lualibraries
...
-MightyMar
2014-02-12 13:28:48 +00:00
adelikat
23f7017651
Some code cleanup tinkerings in Client.Common
2014-02-03 20:48:01 +00:00
adelikat
3dfcd8b22a
drastically cleanup the InputValidate class
2014-02-03 19:37:43 +00:00
adelikat
f3755975a1
Lua - implement Always on Top and Floating Window
2014-01-30 22:32:29 +00:00
mvl1986
c4ffc78224
simpler solution for getting single entries of libraries
2014-01-28 15:44:02 +00:00
mvl1986
c392321bb0
Updated intellisense only shows unique hits and the new files are always added to the console.
2014-01-28 14:04:58 +00:00
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