YoshiRulz
03d4c51c47
Replace .Where(pred).Count() with .Count(pred)
2019-03-27 14:40:55 +10:00
YoshiRulz
c82ff6077a
Remove ToList call when the returned List is used as an IEnumerable
2019-03-27 13:56:10 +10:00
YoshiRulz
90623d36e2
Replace .Where(pred).FirstOrDefault() with .FirstOrDefault(pred)
...
In FirmwareDatabase.LookupFirmwareRecord and MDS_Format.LoadMDSToDisc, first
convert LINQ DSL to method chain
2019-03-25 02:21:37 +10:00
alyosha-tas
c4b3a7c3b8
TAStudio: Update window name when using saveas, Fixes #1444
2019-01-19 14:47:12 -06:00
alyosha-tas
6e1a19b5f8
TAStudio: Ask to override existing bk2 file when exporting
2019-01-19 14:02:45 -06:00
alyosha-tas
2bddf3663e
TAStudio: Fix some bugs in new from menues
2019-01-19 13:30:42 -06:00
feos
56e77f4907
tastudio: allow to actually unbind markers from input, and unbind by default
2019-01-05 21:48:40 +03:00
feos
c85bb39d98
tastudio: branch loading now can behave as it does for regular rerecording!
...
Old control scheme for Branches ON:
- Loading in read+write (recording) mode restores the branch input and truncates it after the branch frame
- Loading in read-only (playback) mode only makes emulation jump to the frame of the branch, disregarding its savestate and timeline
Old control scheme for Branches OFF:
- Loading a branch ALWAYS restores its entire input
TASEditor adds to this that you only start recording after you load a branch in rec mode, but I don't think this is important here.
2018-12-04 00:16:14 +03:00
feos
731584344d
tastudio: BranchesRestoreEntireMovie and LoadBranchOnDoubleclick
2018-12-03 22:33:42 +03:00
feos
fbdea8282d
add missing zxs mnemonics
...
tastudio: properly handle Show X menu items
2018-09-10 20:22:41 +03:00
feos
47a66db995
tastudio: break keys into as many menus as needed, and show their ranges
...
the code looks somewhat crazy
2018-09-09 21:13:42 +03:00
feos
1b6d6988fc
tastudio: break the keys menu into 2 dropdowns
...
WIP
2018-09-09 19:46:55 +03:00
feos
0893d96a7e
tastudio: menus for keys
2018-09-09 17:41:57 +03:00
feos
ef89b7bf67
tastudio: don't create player menus if we don't even have players
2018-09-09 16:48:25 +03:00
feos
61bf9b67a8
tastudio: a whole bunch of actions shouldn't be possible with no selection
2018-03-12 21:41:11 +03:00
feos
e8103a1c53
tastudio macros: don't die from colons in paths when saving to file
...
disable macros menu items when there's no selection
2018-03-08 22:58:18 +03:00
feos
40e28f2f98
tastudio: enable paste menu items when clipboard is available
2018-03-08 19:23:26 +03:00
feos
bf8c21663d
State manager decay ( #1128 )
...
* Finally use exponential decay algorithm for greenzone
* Works in both directions (unlike fceux taseditor)
* Stop using last accesses states for anything
* When dropping states per project save, account for state gap better
* Use _states.Keys[i] instead of _states.ElementAt{i).Key in speedy parts, because it's apparently tons faster
* Use StateIsMarker() where it's supposed to be used
* Markers are still left untouched
* Branch states are still dead (probably forever)
2018-03-08 12:24:35 +03:00
feos
0fe703c9b7
tsm: redo the algo from scratch, probably not last time
2018-02-27 01:28:24 +03:00
vadosnaprimer
d074880242
tastudio: MarkerView.ShrinkSelection()
2018-01-10 22:06:43 +03:00
feos
7529570ab8
tastudio: unbreak things if user cancels movie conversion on file open
2017-10-07 23:17:02 +03:00
adelikat
b03e224c5e
TAStudio cleanup
2017-05-24 10:49:35 -05:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
adelikat
1184e8ed05
lua - implement tastudio.getselection(), tastudio.insertframes(), tastudio.deleteframes()
2017-04-22 20:50:03 -05:00
J.D. Purcell
b53502eed8
Spaces -> tabs.
2017-04-15 16:37:30 -04:00
feos
e99b52342c
tastudio: bind autosave and screenshot popup timers to controls
...
also annihilate _saveBackgroundWorker
2017-03-17 21:55:43 +03:00
feos
a9cda4a21f
tastudio: dynamically resize usertext column
2017-03-15 21:46:46 +03:00
feos
868c02175c
some more topmosts and sound mutes
2017-03-14 22:13:51 +03:00
feos
5d3435e6e6
tastudio: update caption as well
2017-02-04 23:36:17 +03:00
feos
ae15073180
tastudio: fix regular movie opening from tastudio
2017-02-04 22:33:52 +03:00
feos
37a44c2b17
tastudio: fix and tweak clipboard and selection display
2017-01-26 20:21:48 +03:00
feos
74adace569
tastudio: file opener improvements
...
- fix opening and conversion of a regular movie
- fancy ofn filter, suggesting all available files first
2017-01-20 02:00:27 +03:00
adelikat
5258f9385c
Tastudio - use the Emulator property not Global.Emulator, fix another CoreExension method
2016-12-04 12:30:51 -06:00
feos
f59ebfe126
tastudio: refactor restore logic again, fixes some more bugs
...
(_autoRestoreFrame completely replaced by LastPositionFrame)
2016-11-21 23:59:12 +03:00
feos
3ea3012aa7
tastudio:
...
- properly setup autoloaded and normally loaded project columns
- actually call the callback that updates scrollbars and other stuff
2016-11-19 00:50:40 +03:00
feos
2a9bd175d8
tastudio: kill zombie denoteStatesWithBGColor and co. in InputRoll, having them in Settings is enough
2016-11-17 20:25:06 +03:00
feos
175862a5f3
tastudio analog editing:
...
- mouse dragging during float edit mode updates the displayed value and fires restore on mouse up
- Enter key exits float edit mode after applying the dragged value, while Escape exits it after ignoring the dragged value (should Escape cancel all changes?)
- currently disabled switch to enter float edit mode by single click
2016-11-12 17:53:15 +03:00
feos
60950f1148
tastudio paste: clipboard input would give an extra empty line after splicing for whatever reason. Iterate thorough one less line.
2016-11-10 00:29:14 +03:00
feos
9714aa5cc9
tastudio:
...
- preserve branch text per update (unless default text has changed)
- remove redundant code from paste functions, rely on global clipboard fully with cut/copy too
2016-10-10 19:00:59 +03:00
feos
0a554a984f
tastudio: fix infinite pasting loop
2016-10-09 16:21:01 +03:00
feos
f52d8a526b
tastudio: global clipboard has preference over internal
2016-10-09 15:51:47 +03:00
feos
5ed5613826
tastudio: paste from OS clipboard if _tasClipboard is empty
2016-10-01 20:12:50 +03:00
Kyle Howell
3d88f77ec6
Fixed TAStudio crash when deselecting "Show Player X". The horizontal scrollbar was not updated which caused an exception when scrolling to the right.
2016-09-25 16:55:34 -06:00
feos
7d1084bf98
tastudio: change internals of editing input during scrolling.
...
for now it only makes a single edit per click, since we only recalculate OnMouseDown if scrolling. this is required to get rid of scrolling recursion caused by various actions.
also ClearLeftMouseStates before saving dialog pops up
2016-09-08 22:22:33 +03:00
feos
05feca4e4e
tastudio: GlobalWin.MainForm alias
...
almost 100 cases of usage is worth it
make "recent rom not found" window topmost
2016-08-29 19:38:36 +03:00
feos
2894bb908d
tastudio: stop copying nothing on Cut command.
2016-08-01 20:41:33 +03:00
feos
2d2efba150
tastudio: option to do autorestore not only on mouseup.
...
doesn't affect rerecord counter
2016-06-13 18:29:29 +03:00
feos
1a11f34c13
tastudio: bind insert/delete/clone/clear.
2016-06-13 16:40:13 +03:00
feos
346c4e56b3
tastudio autosave:
...
- switch to appropriate method for backups
- option to save backup per file save
- menu command to save backup
2016-06-12 16:41:27 +03:00
feos
3e02e271fc
tastudio: promote some links
...
bizbox: fix contributors link
2016-06-11 19:40:25 +03:00