Stephen Anthony
024b228fdc
Missed a few brace-initializations.
2020-12-27 21:52:13 -03:30
Stephen Anthony
4e7aa3e9e4
Merge branch 'master' into feature/full-on-sqlite
2020-12-27 20:21:51 -03:30
Stephen Anthony
6ad467d657
Fixed a few more unused variables warnings.
2020-12-27 18:54:51 -03:30
Stephen Anthony
5bab1a10c1
Fix warning with unused variables.
...
I left most of them there commented out, since they may be needed in the future.
2020-12-27 15:03:04 -03:30
thrust26
572e6ffe0c
fixed copy & paste error
2020-12-27 19:14:03 +01:00
thrust26
eeba0c9050
centralized some dialog constants
2020-12-27 19:00:28 +01:00
Stephen Anthony
9c39540a21
Improved BrowserDialog usage, eliminating redundant code in several places.
...
This class now uses a lambda function to do the work when clicking OK or Cancel.
This commit also adds the changes from the previously reverted commit.
2020-12-27 12:42:53 -03:30
Stephen Anthony
d1fe35cdfa
Revert "cleaned up code for use of fonts for BrowserDialog"
...
This reverts commit 1be26f2984
.
2020-12-27 11:32:23 -03:30
thrust26
1be26f2984
cleaned up code for use of fonts for BrowserDialog
2020-12-27 09:14:41 +01:00
Stephen Anthony
f94d8f925f
Fix compile issue with LoggerDialog.
2020-12-26 11:19:51 -03:30
thrust26
b2f4a8d2ab
fixed scrollbar alignment issues
2020-12-26 13:47:21 +01:00
thrust26
eb0350dbfb
fixed selection issue when switching input event filters
2020-12-26 11:02:45 +01:00
thrust26
969d772b72
added missing changes in LoggerDialog
2020-12-26 10:33:00 +01:00
Stephen Anthony
4e87dadf45
Fix issues with About dialog in dark mode on macOS ( fixes #748 ).
...
Note that this only works with macOS 10.14 and above. Someone with more Mac experience will have to fix it for older versions.
2020-12-26 00:13:14 -03:30
Stephen Anthony
e8cc3a1413
Fix ZIP files in Windows not finding last path correctly.
2020-12-25 17:44:23 -03:30
thrust26
854d8459ec
Merge remote-tracking branch 'remotes/origin/feature/dbg-save-as-dialog'
2020-12-25 09:39:41 +01:00
thrust26
717a678a03
minor doc updates
2020-12-25 09:38:37 +01:00
thrust26
b976bd95ca
enhanced and cleaned up OS specific path code
...
improved mouse double click marking
added file list resizing in browser dialog
2020-12-25 09:15:58 +01:00
Stephen Anthony
38afecce4a
Fix overzealous TV detection in ROM filenames. Fixes #747 .
2020-12-24 11:51:53 -03:30
thrust26
dfee070324
fixed a saveses bug
...
renamed browser titles
2020-12-24 14:50:26 +01:00
thrust26
99af3abd16
Merge remote-tracking branch 'remotes/origin/master' into feature/dbg-save-as-dialog
2020-12-24 12:35:02 +01:00
thrust26
6356d56c58
refactored directory names, removed default load dir
...
updated docs
2020-12-24 12:24:23 +01:00
thrust26
b9cb829390
added "userdir" settings which can be used to overwrite default save (and load) directories
2020-12-24 11:48:15 +01:00
Stephen Anthony
e664b29a91
Eliminate duplicate copies of lastPathComponent function.
2020-12-23 22:21:46 -03:30
thrust26
31e50aa8d1
added file browser to GameInfoDialog export
...
code cleanup
updated docs
2020-12-23 23:07:00 +01:00
Stephen Anthony
a5b48b76b7
Remove dead Blargg code.
2020-12-23 17:20:31 -03:30
thrust26
1a165ca81b
Merge remote-tracking branch 'remotes/origin/master' into feature/dbg-save-as-dialog
2020-12-23 17:12:07 +01:00
thrust26
679e50810c
Merge branch 'master' into feature/dbg-save-as-dialog
2020-12-23 08:56:05 +01:00
Stephen Anthony
f0cb916282
Few more fixes for suggestions from cppcheck.
2020-12-22 19:29:49 -03:30
Stephen Anthony
2a07daccb4
Added a few more 'string_view' in bspf.
2020-12-22 18:33:30 -03:30
thrust26
c59bf70656
Revert "2nd try to get notifications"
...
This reverts commit 8f7af1c356
.
2020-12-22 21:07:19 +01:00
thrust26
8f7af1c356
2nd try to get notifications
2020-12-22 20:48:54 +01:00
thrust26
1799c87dca
Revert "intentionally broken code for testing libretro build notifications"
...
This reverts commit a30d2cbead
.
2020-12-22 20:43:45 +01:00
thrust26
a30d2cbead
intentionally broken code for testing libretro build notifications
2020-12-22 19:59:15 +01:00
Stephen Anthony
bd2029bbcc
Fix compile error.
2020-12-22 10:39:49 -03:30
thrust26
96e5e25148
renamed Game properties 'Save' button into 'Export'
2020-12-22 14:56:48 +01:00
thrust26
39aabf0f66
added tooltip to GameInfoDialog 'Save' button
2020-12-22 12:18:39 +01:00
Stephen Anthony
c77408140f
Merge branch 'master' into feature/full-on-sqlite
2020-12-21 22:45:44 -03:30
Stephen Anthony
cd811579e4
Added C++ compatible string search functions to BSPF.
...
This allows us to remove strcmp, stricmp, strcasecmp, etc, which are non-standard and C-style functions.
2020-12-21 22:33:55 -03:30
thrust26
0f07304473
fixed(?) libretro/Makefile
2020-12-21 18:50:54 +01:00
thrust26
1d90b3caec
...and removed the const too
2020-12-21 18:06:33 +01:00
thrust26
8655e52330
removed default, just to be sure
2020-12-21 17:37:10 +01:00
thrust26
d4eb9535ef
fixed broken joystick mapping loading
2020-12-21 13:31:42 +01:00
thrust26
93e0ad860a
fixed missing GameInfoDialog save button
2020-12-21 10:24:38 +01:00
thrust26
7a07650556
limited redraw debug output to DEBUG_BUILD
2020-12-21 09:14:42 +01:00
Stephen Anthony
b557460fb9
Final batch of brace conversion.
...
Added const in a few places.
2020-12-20 21:08:00 -03:30
Stephen Anthony
57106876ca
Forgot one file for brace fixes in the last merge.
2020-12-20 20:19:23 -03:30
Stephen Anthony
915ab71e3b
Move duplicated 'trim' function to BSPF.
...
Remove unused methods from Settings.
2020-12-20 20:05:41 -03:30
Stephen Anthony
aa85f912f7
Merge branch 'master' into feature/full-on-sqlite
2020-12-20 19:03:15 -03:30
Stephen Anthony
d6aa6d9634
More conversion to brace syntax.
2020-12-20 18:14:28 -03:30
Stephen Anthony
9e9957b664
Fix segfault when exceptions are thrown on errors.
...
That was exactly the point of exceptions; to NOT crash the app!
2020-12-20 13:39:28 -03:30
Stephen Anthony
93bd07aebc
Make variables initialized in c'tor initialization list use brace-syntax.
...
- This is on the advice of one of the static analyzers we use.
- More classes have to be converted; this is only the first pass.
2020-12-20 12:06:10 -03:30
Stephen Anthony
3d729878b1
Fixed a clang warning.
2020-12-20 12:04:28 -03:30
Stephen Anthony
8aa6636e06
Fix minor warning.
2020-12-20 11:14:29 -03:30
thrust26
a6b3ce1351
added mouse support to editable widgets
...
added missing hotkeys to launcher context menu
updated docs
2020-12-20 15:13:03 +01:00
Stephen Anthony
e5bdccc4ad
Disabled PlusROM for now, until we find more time to work on it.
2020-12-19 18:35:16 -03:30
Stephen Anthony
d56c809b91
libretro: Fix warnings with memset; use default initialization instead.
2020-12-18 23:29:25 -03:30
Stephen Anthony
2d78828677
Various fixes for suggestions from cppcheck.
2020-12-18 19:25:27 -03:30
thrust26
0c0d838a37
minor enhancement of input global keys
2020-12-18 22:34:36 +01:00
thrust26
e665197cda
fixed specific mouse axes for paddles ( fixes #746 )
...
added specific mouse axes properties for SWOOPS
2020-12-18 16:17:03 +01:00
Stephen Anthony
3ecd57911b
Some of the checkers don't like stray Unicode in ASCII files.
2020-12-18 11:03:24 -03:30
thrust26
5c1f0fd228
reordered hotkeys and fixed UI for driving controller sensitivity (value used for digital input too)
2020-12-18 09:09:45 +01:00
thrust26
ca399c05d6
removed JOYSTICK_SUPPORT checks to align with header file
2020-12-18 08:13:55 +01:00
Stephen Anthony
af9f1aa68a
libretro: Fix compile errors (PlusROM and some minor joystick stuff).
2020-12-17 23:58:35 -03:30
Stephen Anthony
ffe067d348
Add PlusROM to Xcode project.
2020-12-17 23:51:25 -03:30
Stephen Anthony
8991f66c5e
Add PlusROM to Visual Studio project.
2020-12-17 23:45:02 -03:30
Stephen Anthony
476e57f518
Added beginning infrastructure for PlusROM support.
...
For now, none of the network functionality is present; PlusROM's are correctly detected, though.
2020-12-17 23:27:22 -03:30
thrust26
15586c8d92
changed sorting of saved mappings for easier debugging
2020-12-17 22:47:07 +01:00
thrust26
b7733f6879
added new hotkey mappings
2020-12-17 22:27:42 +01:00
thrust26
39e8939054
fixed global hotkey logic and warning
2020-12-17 17:39:28 +01:00
thrust26
db1a0f584d
added hotkeys for Input Devices & Ports settings
...
added hotkeys for Game Properties/Controller settings
added new global hotkey group for new hotkeys
add a few more tooltips
updated doc
2020-12-17 16:37:51 +01:00
Stephen Anthony
bed5af5231
Hook up SQL for Visual Studio.
2020-12-16 18:14:35 -03:30
Stephen Anthony
29ad36c494
Some fixes for suggestions from clang-tidy.
2020-12-16 16:24:46 -03:30
Stephen Anthony
c5184baa32
Completely remove 'cfgfile' functionality, since the SQL backend uses the same name on all ports.
2020-12-16 00:28:41 -03:30
Stephen Anthony
4e8aaec3d4
libretro: Fix compile for new SQL classes.
2020-12-15 23:22:46 -03:30
Stephen Anthony
168e09c852
Fix compile warnings in Linux.
2020-12-15 22:51:31 -03:30
Christian Speckner
021f59f2f3
Sqlite is the only choice now.
2020-12-15 23:55:24 +01:00
Stephen Anthony
b5da7bb456
Fix 'daptor devices sometimes not getting correct default mappings ( fixes #685 ).
2020-12-14 15:34:05 -03:30
Christian Speckner
37c72b1dc7
Sqlite3 is not conditional anymore, support amalgamation on UNIX.
2020-12-14 00:10:11 +01:00
thrust26
04979ae29e
fixed key map conversion for multiple modifier keys
2020-12-13 09:15:42 +01:00
Christian Speckner
1229fbf83d
Add the amalagmated SQlite source.
2020-12-10 23:29:31 +01:00
thrust26
e1f3abda4f
fixed MDM single bank ROM crash ( fixes #743 )
2020-12-09 20:55:08 +01:00
thrust26
2979069674
added sorting when saving JoyMap and KeyMap
2020-12-08 11:51:48 +01:00
thrust26
4271e4a801
moved new EventMode::kEditMode to end of list to fix mapping conversion
2020-12-08 11:39:22 +01:00
thrust26
a04c8a240e
Merge branch 'master' of https://github.com/stella-emu/stella
2020-12-07 11:41:20 +01:00
thrust26
b82445f8b9
added support for default image in ROM info viewer ( resolves #601 )
2020-12-07 11:41:06 +01:00
Stephen Anthony
25c45d8df8
Fix compile warnings in Xcode.
2020-12-06 23:43:11 -03:30
Stephen Anthony
68c34c5bad
Fix clang warning.
2020-12-06 22:23:42 -03:30
thrust26
2d40a7e0d2
improved playback sound muting
2020-12-06 21:17:56 +01:00
thrust26
b8698f27bc
added sound to Time Machine playback
...
fixed playback speed
updated docs
2020-12-06 12:08:25 +01:00
thrust26
217515599b
fixed and enhanced TimeMachineDialog
2020-12-05 23:25:21 +01:00
Stephen Anthony
1a40d38c69
Fix crash when loading ROMs into ROM launcher under certain circumstances.
2020-12-04 14:35:10 -03:30
thrust26
d6a7526a02
switched high score checksum calculations to md5
...
added high score properties for a few more games
updated docs
2020-12-04 13:20:13 +01:00
thrust26
7d81c6a337
refactored HighScoresDialog/Manager
...
added checksums to high scores
added high score properties for more games
updated docs
2020-12-03 15:07:05 +01:00
thrust26
701a89b14e
update highscores doc, added currently supported game list
...
added input char limitation to DataGridWidget
2020-12-02 11:35:12 +01:00
thrust26
edf310c471
Merge branch 'master' of https://github.com/stella-emu/stella
2020-12-01 22:21:35 +01:00
thrust26
462b8f75f7
added shading to TIA surface when emulation paused or dialog on top
2020-12-01 22:21:23 +01:00
Stephen Anthony
80c1c18fcb
Fix warnings from gcc.
2020-12-01 17:29:00 -03:30
thrust26
13a29ddddf
Trying to fix build bug #736
2020-12-01 18:37:46 +01:00
thrust26
e4a99967a0
HighScoresDialog exception fix
2020-12-01 18:30:14 +01:00
thrust26
0a7a643d35
Merge branch 'master' of https://github.com/stella-emu/stella
2020-12-01 18:18:52 +01:00
thrust26
160629a202
JSON exception analysis
2020-12-01 18:18:39 +01:00
Christian Speckner
869d26a898
Condig style.
2020-12-01 18:17:42 +01:00
thrust26
05f3117081
changed high score (file) format to JSON
2020-12-01 16:20:09 +01:00
Stephen Anthony
31fc033abc
Move function to bspf.hxx. It's not used yet, but it might be in the future.
2020-11-30 16:08:56 -03:30
Stephen Anthony
cd910dadab
Add high score stuff to Xcode project.
2020-11-30 15:55:37 -03:30
Stephen Anthony
65265382d1
Fixed a few warnings from clang.
2020-11-30 15:46:50 -03:30
thrust26
1f4b1d06bc
defined high score properties for many ROMs
...
added option to limit number of chars for text input
added tooltips to High Scores dialogs and widgets
updated docs
2020-11-30 18:52:42 +01:00
thrust26
d5c6daf9f9
Merge remote-tracking branch 'remotes/origin/master' into feature-highscores
...
Fixed redraw problems.
2020-11-30 09:23:45 +01:00
thrust26
14847a2d78
updated defprops
2020-11-29 23:40:59 +01:00
thrust26
aa4c87bb46
finished high scores definitions saving conversion to JSON
2020-11-29 22:51:33 +01:00
thrust26
c63c188f80
Merge remote-tracking branch 'remotes/origin/master' into feature-highscores
2020-11-29 22:26:37 +01:00
Stephen Anthony
3c17ed321e
Simplified some code; use a lambda instead of two identical loops.
2020-11-29 16:25:23 -03:30
Stephen Anthony
a4e7a87307
Switch to C++17 structured bindings for maps in a few places, adding const as well.
...
This makes the code a little easier to follow.
2020-11-29 15:50:31 -03:30
thrust26
c4b06f710f
started converting high score definitions saving to JSON
2020-11-29 14:13:13 +01:00
Christian Speckner
08c65fea88
Handle modekey mask properly.
2020-11-29 11:05:31 +01:00
Stephen Anthony
897376d351
Fix gcc warning: use const references instead of pass by value for exceptions.
2020-11-28 22:25:22 -03:30
Stephen Anthony
c5f8191b7d
Various code cleanups.
2020-11-28 22:16:47 -03:30
Stephen Anthony
0716ccc56e
Remove workarounds in pre-C++17 code.
2020-11-28 20:52:13 -03:30
Stephen Anthony
8b1a0e47aa
Added JSON stuff to Xcode project.
2020-11-28 18:06:49 -03:30
thrust26
edeb451907
Merge remote-tracking branch 'remotes/origin/master' into feature-highscores
2020-11-28 22:11:29 +01:00
thrust26
870aef9a0c
Merge branch 'master' into feature-highscores
2020-11-28 22:03:54 +01:00
Stephen Anthony
4686ac977f
libretro: Add JSON stuff to build script.
2020-11-28 17:33:46 -03:30
Stephen Anthony
a74b27fd31
Added json stuff to Visual Studio project file.
2020-11-28 17:11:10 -03:30
Stephen Anthony
529d033fdd
Wrap json.hxx in another header, which disables warnings for code we don't control.
...
Eventually we can add directives here for other compilers too (in json_lib.hxx).
2020-11-28 17:02:25 -03:30
Christian Speckner
8c2f39447e
Migration fixes.
2020-11-28 21:04:26 +01:00
Christian Speckner
be4e7ccef4
Merge remote-tracking branch 'origin/master' into feature/json-mappings
2020-11-28 20:45:51 +01:00
Christian Speckner
7091bebd0c
Revert "Fix bad use of constexpr." --- don't need that anymore with C++17
...
This reverts commit 038557ba69
.
2020-11-28 20:37:15 +01:00
thrust26
8d423393d6
Merge branch 'master' into feature-highscores
2020-11-28 20:10:17 +01:00
thrust26
5a650122c7
made DelayQueueWidget use setDirty
...
removed superfluous code from TiaWidget
2020-11-28 16:54:23 +01:00
thrust26
b357647819
minimized redraws in debugger
2020-11-28 16:12:54 +01:00
Stephen Anthony
b794354679
Move Linux builds to use C++17 by default.
2020-11-28 10:48:00 -03:30
Christian Speckner
41bb891cc0
Avoid endless loop and heap corruption of doom.
2020-11-28 13:33:48 +01:00
Christian Speckner
f0c599bfe4
Fix null pointer.
2020-11-28 13:33:48 +01:00
thrust26
c26514f042
Merge branch 'master' of https://github.com/stella-emu/stella
2020-11-28 13:00:00 +01:00
thrust26
5711d5cec3
improved debugger's RAM labels (part 2)
2020-11-28 12:59:45 +01:00
Christian Speckner
038557ba69
Fix bad use of constexpr.
2020-11-28 12:59:34 +01:00
thrust26
c1ddf81b82
improved debugger's RAM labels
2020-11-28 12:57:24 +01:00
thrust26
8533709139
added some more tooltips to UI
2020-11-28 12:55:50 +01:00
thrust26
a8e83b63ed
updated changes.txt
2020-11-28 12:54:20 +01:00
Christian Speckner
8300c0c291
Convert legacy keyboard mappings.
2020-11-28 12:46:48 +01:00
Christian Speckner
b4a03b6dae
Coversion for legacy joystick mappings.
2020-11-28 12:15:02 +01:00
thrust26
1282c1411d
fixed doc
2020-11-25 17:23:05 +01:00
thrust26
8a2cace6c8
fixed #735 (trackball fire)
2020-11-25 17:21:57 +01:00
Stephen Anthony
8f1c84b3cc
Fixed compile error and warnings from g++.
2020-11-24 10:01:27 -03:30
thrust26
bc3c8518a2
added path info to launcher tooltips when displaying sub directories
...
fixed launcher files list when filtering was canceled
added persisting 'incl. subdirectories' setting
2020-11-24 12:50:43 +01:00
Christian Speckner
a37cd9e0d2
JSON mappings for keyboard.
2020-11-23 23:42:35 +01:00
Stephen Anthony
c51d4846d8
Fix compile warning and error in clang.
2020-11-23 17:39:43 -03:30
thrust26
b569444854
added cancel option (button, enter, ESC) to ProgressDialog
...
adapted all ProgressDialog using actions to allow canceling
2020-11-23 22:02:52 +01:00
thrust26
6e4052763b
added launcher reload delay while typing filter
2020-11-23 09:08:26 +01:00
thrust26
790ace5c56
fixed small font for launcher
2020-11-22 21:58:49 +01:00
thrust26
38bea325c3
fixed considering "show all files" at startup
...
fixed launcher focus issues after exiting ROMs
2020-11-22 14:42:46 +01:00
thrust26
1219fe0d2c
added subdirectory search to launcher
...
enhanced ProgressDialog
2020-11-22 12:39:17 +01:00
thrust26
4c97ec89c9
improved wildcard handling (addresses #154 )
2020-11-21 14:59:31 +01:00
thrust26
1636f1517c
fixed #732
2020-11-21 14:38:32 +01:00
Stephen Anthony
2141469ba7
Fix typo in tooltip.
2020-11-20 19:53:44 -03:30
thrust26
d330d6c716
tooltips are disabled for R77
2020-11-20 23:06:06 +01:00
thrust26
e4d9b2eceb
added wildcard support to launcher dialog filter
2020-11-20 21:23:48 +01:00
thrust26
2eccae50a0
added tooltips to DeveloperDialog
2020-11-20 20:12:30 +01:00
Stephen Anthony
654ca21817
Don't forget about Mac for a tooltip.
2020-11-20 10:44:32 -03:30
thrust26
095d83d335
updated changes and WhatsNewDialog
2020-11-20 10:31:28 +01:00
thrust26
8d27e64573
improved tooltips hiding
...
added tooltip to breakpoint/trap status
added tooltip to search/compare buttons and dialogs
added tooltips to data operation buttons
2020-11-20 10:11:40 +01:00
thrust26
760f32c5c2
changed y-position displayed in tooltip to scanline number
2020-11-19 23:18:28 +01:00
Christian Speckner
0e48cea15a
Don't serialize redundant properties.
2020-11-19 23:15:13 +01:00
thrust26
80efc3d631
removed "on top" logic for drawing widgets
2020-11-19 19:19:49 +01:00
thrust26
4a0ca05628
Merge remote-tracking branch 'remotes/origin/feature/improve_ui_redraws'
2020-11-19 18:16:36 +01:00
Stephen Anthony
4d19473bb4
Enable RTTI for Xcode.
2020-11-19 13:39:32 -03:30
thrust26
779375abec
fixed potential Clang warnings
2020-11-19 16:44:03 +01:00
thrust26
5172184ece
Merge branch 'feature/improve_ui_redraws' of https://github.com/stella-emu/stella into feature/improve_ui_redraws
2020-11-19 16:40:28 +01:00
thrust26
3c50de30a6
added tooltip hiding when context menus are opened
...
added tooltips to TiaOutputWidget and TiaZoomWidget
2020-11-19 16:40:16 +01:00
Stephen Anthony
7112dc5533
Add debugger files to Xcode project, and fix minor warnings.
2020-11-19 10:29:41 -03:30
Stephen Anthony
2abfd14d46
Fix location of files in VS project.
2020-11-19 09:49:38 -03:30
Stephen Anthony
4f43334b6c
Fix wrong location of debugger files.
2020-11-19 09:36:02 -03:30
thrust26
b77afae178
oops, added missing files
2020-11-19 12:26:03 +01:00
thrust26
2bdd09fec9
added tooltip display of RAM labels in DataGridWidgets
...
added tooltip display of labels of some ToggleBitsWidget bits
merged tooltip display of 2nd and 3rd RomListWidget byte
added tooltip display of signed values
2020-11-19 12:25:07 +01:00
Stephen Anthony
db8e6d3ea8
Fix some clang warnings and minor typo.
2020-11-18 22:18:07 -03:30
thrust26
9ab2a5c417
disable tooltip when displayed value changes/is edited
2020-11-18 23:54:43 +01:00
thrust26
6185d9ef06
Merge branch 'feature/improve_ui_redraws' of https://github.com/stella-emu/stella into feature/improve_ui_redraws
2020-11-18 23:52:46 +01:00
thrust26
d0e818a693
added a few more tooltips to VideoAudioDialog
2020-11-18 23:52:19 +01:00
Stephen Anthony
355dc9597d
Use const references where appropriate.
...
Probably not a huge performance gain, but added to match the rest of the code.
2020-11-18 17:56:57 -03:30
thrust26
59f157187f
improved string wrapping (incl. '\n')
...
fixed potential exception in StringListWidget
2020-11-18 21:02:42 +01:00
thrust26
c19cde6f11
added multi-line tooltip support
2020-11-18 20:07:25 +01:00
thrust26
9aaca0bd4e
improved tooltip handling (better delays, rerender instead of redraw)
...
added tooltip to StringListWidget for shortened texts (e.g. ROM names in launcher)
added code for StaticTextWidget tooltip (without setting widget dirty)
2020-11-18 17:48:19 +01:00
Stephen Anthony
d7d813b901
Fixed another minor clang warning.
2020-11-17 18:54:35 -03:30
Stephen Anthony
a660861008
Fixed minor clang warnings, and implemented clang-tidy suggestions.
2020-11-17 18:37:10 -03:30
thrust26
94ed044697
added tooltips to TiaInfoWidget and CpuWidget
2020-11-17 19:41:23 +01:00
thrust26
9bb6959dd8
aligned tooltip font to dialog font
...
improved debugger tooltip display
added tooltips for RomListWidget bytes
2020-11-17 18:10:54 +01:00
thrust26
92b77f32c4
enhanced GPRx bits display in debugger, now considers reflection
2020-11-17 13:36:12 +01:00
thrust26
35971d3353
added considering bit order in PF pixel tooltip display
...
removed unused click count from ToggleWidget
2020-11-17 13:06:11 +01:00
thrust26
d7fe5510bb
keep tooltips visible while mouse moves in focus
...
show tooltips faster when moving from one to another
update tooltip when mouse moves over different widget items
disable tooltip when editing
2020-11-17 12:33:47 +01:00
thrust26
f1f5938b79
fixed bug which removed highlighting for most widgets
2020-11-17 08:34:39 +01:00
thrust26
99c0cd66bc
added value tool tips to debugger (DataGridWiget, ToogleWidget)
2020-11-16 23:50:10 +01:00
Christian Speckner
07489ebf86
Load joystick mappings from json.
2020-11-16 22:26:25 +01:00
thrust26
004b34f51e
fixed tool tip font for Launcher
...
added a few more tool tips
2020-11-16 20:00:51 +01:00
thrust26
c6068104d9
added a separate flag for mouse focus
2020-11-16 18:59:01 +01:00
thrust26
b68a6fa600
fixed tool tips for HiDPI
...
added tool tip repositioning if exceeding surface
2020-11-16 17:41:24 +01:00
Stephen Anthony
f55931f2e0
Fix warning, and add ToolTip to Linux build.
2020-11-16 09:50:50 -03:30
thrust26
120c306286
added initial tool tip functionality
...
removed duplicate _editMode in DataGridWidget
2020-11-16 12:26:01 +01:00
cd-w
b4d0be6461
Fix audio changes to be compatible with CDF/CDFJ
2020-11-15 20:21:34 -03:30
cd-w
03311a4b76
Increase sample size from 2K to 512K for CDFJ+
2020-11-15 20:21:34 -03:30
Christian Speckner
1b5cdf2002
JSON joystick mappings, still missing load and migration.
2020-11-15 22:53:07 +01:00
Stephen Anthony
c3530863b5
Some simplifications to Point/Size/Rect classes.
2020-11-15 15:16:06 -03:30
thrust26
f4b2396797
attempt to fix 'shifting' dialogs (OptionsDialog)
2020-11-15 16:41:01 +01:00
thrust26
ccdd167fca
removed duplicate _editMode variable
...
fixed missing redraws when StringListWidgets gain focus
prevent focus for disabled widget
2020-11-15 11:03:55 +01:00
thrust26
a65e6eab99
fixed garbage in fullscreen mode
...
fixed breakpoints flickering in RomListWidget
fixed palette update in VideoAudioDialog
2020-11-15 08:59:18 +01:00
Stephen Anthony
a030bc30b8
Optimize/simplify dialog shading slightly
...
- move creation to c'tor
- apply position and size with one method instead of two
2020-11-14 22:35:05 -03:30
Stephen Anthony
eca862b240
Eliminate graphical garbage in background in fullscreen mode for Linux/Mac.
2020-11-14 20:41:06 -03:30
thrust26
1c5d31db60
improved dirty chain detection
2020-11-14 12:07:44 +01:00
thrust26
a81ab40f58
removed special colors and drawing for Dialog in background
2020-11-14 10:03:29 +01:00
thrust26
f52e834455
fixed breakpoints setting in RomListWidget
...
improved drawing of breakpoints in RomListWidget
made RomListWidget redraw regularly only if in edit mode
2020-11-14 09:43:41 +01:00
thrust26
ed13b21402
added a full render when event WINDOW_EXPOSED and WINDOW_RESIZED are handled
...
stopped screen from changing frames when 'Pause' is displayed
2020-11-13 19:53:19 +01:00
thrust26
db55dc4420
improved fullscreen message in debugger mode
2020-11-13 16:12:33 +01:00
thrust26
2505201b4b
fixed UI palette update crash
...
fixed garbage when switching state in fullscreen modes
2020-11-13 16:00:19 +01:00
Stephen Anthony
d656598fa3
Update Xcode for class addition.
...
Comment out code that causes a crash on Mac.
2020-11-13 10:05:11 -03:30
thrust26
bcbf0072ea
fixed initial focus display
2020-11-13 14:24:52 +01:00
thrust26
9900564862
disabled palette display if without console
2020-11-13 11:19:48 +01:00
thrust26
36f3810e40
fixed missing render when a stacked dialog was closed in emulation
2020-11-13 11:18:25 +01:00
thrust26
7c962fbfe7
avoid full update when window gets exposed (test)
2020-11-13 10:03:03 +01:00
thrust26
15576fe6b1
fixed forced full redraws
...
force full UI redraw when UI palette changes
2020-11-13 09:36:57 +01:00
thrust26
bc7ac83c49
Merge branch 'feature/improve_ui_redraws' of https://github.com/stella-emu/stella into feature/improve_ui_redraws
2020-11-13 09:07:03 +01:00
thrust26
c787e940f2
fixed rendering, all dialogs are always re-rendered
2020-11-13 08:58:19 +01:00
Stephen Anthony
ebd8837729
Fix compile warning.
2020-11-12 18:04:56 -03:30
thrust26
1a5a0b5286
fixed AboutDialog widget overlapping
2020-11-12 19:46:28 +01:00
thrust26
c390b40a6d
refactored UI ticks
2020-11-12 18:14:26 +01:00
thrust26
f0d6b672ea
removed debug code
2020-11-12 15:48:00 +01:00
thrust26
42817a6117
Allow first click detection when Stella lost focus.
2020-11-12 15:41:40 +01:00
thrust26
907fc4edf3
minimized ContextMenu redraws
...
fixed shading caused by ContextMenu
2020-11-12 14:37:50 +01:00
thrust26
9819118b59
replaced shaded UI redraws with shading surface
2020-11-12 14:04:29 +01:00
thrust26
e5f1e47f5d
further minimized UI redraws when message is displayed
2020-11-12 11:50:26 +01:00
thrust26
a643b3d239
minimized UI redraws and renderings when message is displayed
...
refactored message creation
2020-11-12 10:43:04 +01:00
thrust26
f64285425a
split Dialog drawing and rendering and skip drawing render when possible
2020-11-11 23:32:00 +01:00
thrust26
cc21f75b95
improved blinking cursor
2020-11-11 19:54:44 +01:00
thrust26
bec842b9d7
removed some superfluous redraws
2020-11-11 18:24:30 +01:00
thrust26
678892e8c7
added blinking cursor
2020-11-11 17:26:40 +01:00
thrust26
250a1634de
fixed RomInfoWidget drawing
2020-11-11 16:50:49 +01:00
thrust26
113ee12398
activated enhanced "full" redraw logic
2020-11-11 15:37:32 +01:00
thrust26
515ef088df
added individual size to each save state ( fixes #727 )
2020-11-11 13:01:45 +01:00
thrust26
7a1a5e9c17
added individual size to each save state ( fixes #727 )
2020-11-11 13:00:44 +01:00
thrust26
49fcb524fd
move Widget flags into GuiObject
2020-11-11 08:56:11 +01:00
thrust26
de5233d63b
added support of transparent widgets (for TimeMachineDialog)
2020-11-10 23:29:56 +01:00
thrust26
d3b9f52b08
initial commit for #719
2020-11-10 19:53:36 +01:00
thrust26
30dd5dc4f0
trying to fix CLANG warning
2020-11-10 09:03:28 +01:00
Christian Speckner
17def32b97
Pull in nlohmann JSON.
2020-11-09 23:16:50 +01:00
Stephen Anthony
e448cd0a68
A few more fixes for suggestions from clang static analyzer.
2020-11-09 18:20:50 -03:30
Stephen Anthony
c9d6a58832
Fix minor warnings from clang static analyzer.
2020-11-09 16:01:36 -03:30
thrust26
20785c006e
fixed too large shift exponent used in DataGridWidget
2020-11-08 19:18:53 +01:00
thrust26
0d184f7a80
Revert "Don't calculate palette before all sliders have initialized."
...
This reverts commit ad7e543dac
.
Added clamping of the returned SliderWidget values to valid range instead
2020-11-08 18:25:24 +01:00
Christian Speckner
ad7e543dac
Don't calculate palette before all sliders have initialized.
2020-11-07 23:14:32 +01:00
Stephen Anthony
a5cef95627
Fix compile warning.
2020-11-07 09:51:46 -03:30
thrust26
d43b348332
Fix #721
2020-11-07 10:53:40 +01:00
thrust26
106494ad8e
finalized EditableWidget
...
updated doc
2020-11-07 10:15:51 +01:00
Stephen Anthony
aec9bb42c1
Minor formatting fixes.
2020-11-06 19:49:08 -03:30
Stephen Anthony
ec8c400257
Added a few more editing shortcuts, fixed a few warnings, and re-applied reverted commit.
2020-11-06 19:38:02 -03:30
thrust26
1e069016d2
fixed problem with QWERTZ keys
2020-11-06 23:57:34 +01:00
Christian Speckner
5515a90669
Fix option-backspace.
2020-11-06 23:07:05 +01:00
Christian Speckner
7ed31f11b4
MacOS mappings.
2020-11-06 23:00:49 +01:00
thrust26
cd069b8510
bugfix: edit mappings removed identical emulation mappings
2020-11-06 21:34:30 +01:00
thrust26
9bb30a9bc2
refactored EditableWidget to use events instead of scancodes (TODO: text, MacOS keys)
2020-11-06 18:16:21 +01:00
thrust26
d0d55a8fec
added single char aggregation for undos
...
fixed potential bug when moving cursor one word left
2020-11-06 14:38:33 +01:00
Stephen Anthony
e94f5461d5
Added UndoHandler to Xcode, and fixed minor warnings.
2020-11-06 09:25:08 -03:30
thrust26
f4ab26f350
refactored undo functionality into UndoHandler class
2020-11-06 09:54:54 +01:00
thrust26
c1cc678c19
Merge branch 'master' of https://github.com/stella-emu/stella
2020-11-05 22:17:10 +01:00
thrust26
06813747f5
added undo/redo to EditableWidget
2020-11-05 22:16:58 +01:00
Stephen Anthony
251661331e
Fix avoxport popup not selecting correct device in InputDialog.
...
Incidentally, I think we should change VarList::push_back() to not allow this type of error to happen.
Having to pass two parameters with the same value seems to be very hacky.
2020-11-05 13:20:45 -03:30
thrust26
ecb42a5b51
added filtering to text pasted to EditableWidget
...
updated doc for UI keys (TODO: UI edit keys)
2020-11-05 15:19:33 +01:00
thrust26
3b64e55304
fixed Ctrl+A in EditableWidget
2020-11-05 12:56:36 +01:00
thrust26
558a3d999c
updated HelpDialog
...
added 'Space' for selecting UI elements
2020-11-05 12:50:56 +01:00
thrust26
12b0e871cb
fixed tab bug in VideoAudioDialog
2020-11-05 11:52:15 +01:00
thrust26
67d1a898e0
some minor EditableWidget enhancements and code cosmetics
2020-11-05 11:22:52 +01:00
thrust26
4cb502ff8c
selection bug fix attempt
2020-11-05 08:26:59 +01:00
thrust26
ed39615077
added selection reset for all widgets derived from EditableWidget
2020-11-04 22:44:41 +01:00
thrust26
f5922c6bc9
removed forgotten TODO
2020-11-04 20:19:53 +01:00
thrust26
9b95063fbc
finalized EditableWidget
...
enabled selection drawing on all derived widgets
2020-11-04 20:18:41 +01:00
thrust26
8c5b47346f
fixed copy/paste bug
2020-11-04 15:29:21 +01:00
thrust26
0aa078c610
improved keyboard copy/paste selection
2020-11-04 14:31:21 +01:00
thrust26
fa8e21cf4b
added keyboard copy/paste selection in EditableWidget (addresses #105 )
...
increased width of edit cursor
2020-11-04 12:36:18 +01:00
thrust26
f3ab1d56c6
Some refactoring of EditableWidget
2020-11-03 16:52:01 +01:00
Stephen Anthony
55c74116a2
And so it begins again; bump version number to 6.5_pre
...
Move some serial port code directly into portNames(); meant to do this for 6.4, oh well.
2020-11-02 14:20:42 -03:30
thrust26
c986f2687e
updated debugger screenshot for "Frame Cycls"
2020-11-02 09:08:34 +01:00
Stephen Anthony
b7f80e552c
More syntax fixes; indicate plural of "Cycle" as "Cycls" in the debugger (we really need more room here :) )
2020-11-01 19:07:39 -03:30
Stephen Anthony
0b45bc0a2d
Added new debugger pseudo-registers to the changelog.
...
Changed string "Cycl." to "Cycle", since there was no point using a '.' with a fixed-width font.
2020-11-01 18:27:41 -03:30
Stephen Anthony
de4dd01883
Updated git commit ID for last commit before the 6.4 release (we hope).
...
Changed changelog slightly, since Stella loads ROMs, not cartridges.
2020-11-01 15:19:50 -03:30
thrust26
6d861dfe6e
updated WhatsNewDialog, reordered Changes.txt
2020-11-01 15:43:54 +01:00
Stephen Anthony
e9b30c7fee
Slight refactor of label array in DeveloperDialog.
...
- This is a followup to the last commit for this class
- We don't need this to be a static in the header file itself
2020-11-01 09:51:57 -03:30
thrust26
7657fc7d41
fixed DeveloperDialog default settings of CPU register ( fixes #717 )
2020-11-01 11:42:35 +01:00
Stephen Anthony
3ece2cd26b
Updated various files for upcoming 6.4 release.
2020-10-31 22:38:45 -02:30
thrust26
b1007c40a6
updated changes/WhatsNewDialog
2020-10-31 22:53:19 +01:00
thrust26
0ec9e7af9f
added color parameters to 'Custom' palette, fixes #657
2020-10-31 19:06:58 +01:00
Stephen Anthony
c0e08c9475
Updated changelog for upcoming release.
2020-10-29 00:09:25 -02:30
Stephen Anthony
4660b239a5
More fixes to SaveKey data file; make sure file is always 32KB.
2020-10-28 23:37:25 -02:30
Stephen Anthony
aa28a21dec
Use proper constant for invalid handles in Windows.
2020-10-25 15:03:34 -02:30
thrust26
76988a3553
Merge branch 'master' of https://github.com/stella-emu/stella
2020-10-25 16:23:02 +01:00
thrust26
c170e3db59
enabled messages in continuous snapshots mode ( fixes #714 )
...
changed hotkey for continuous snapshots mode
2020-10-25 16:22:46 +01:00
Stephen Anthony
13c6c87604
Remove redundant define, which was already inside the same define.
2020-10-25 11:28:35 -02:30
Stephen Anthony
d87477310e
Fix bug where selected ROM isn't remembered when exiting and re-entering a directory.
2020-10-24 20:42:36 -02:30
Stephen Anthony
14477ac80c
Revert "Revert change in serial port autodetection that was causing the real serial port to not be found."
...
This reverts commit 235539a331
.
The previous code works better for our use case.
2020-10-24 17:02:17 -02:30
Stephen Anthony
235539a331
Revert change in serial port autodetection that was causing the real serial port to not be found.
2020-10-24 15:21:19 -02:30
Stephen Anthony
acd0b60090
Minor updates to comments.
2020-10-23 21:45:04 -02:30
thrust26
57d2cb602f
Merge branch 'master' of https://github.com/stella-emu/stella
2020-10-23 19:46:17 +02:00
thrust26
0259d6c9c7
fixed Atari mouse auto detection
2020-10-23 19:46:06 +02:00
Stephen Anthony
064df33737
libretro: Minor doc updates and code rearrangement.
2020-10-23 14:48:31 -02:30
Stephen Anthony
547916e707
Updated Xcode project for recent framebuffer rework.
2020-10-23 10:54:50 -02:30
Stephen Anthony
bb6af18330
Minor update to VS project file.
2020-10-23 10:46:05 -02:30
Stephen Anthony
b5e0b4523d
Fairly huge refactoring of FrameBuffer class into FBBackend and friends.
...
Only tested in Linux and libretro for now; Windows and Mac will follow soon.
2020-10-23 10:27:06 -02:30
thrust26
e1181eb1bc
Merge branch 'master' of https://github.com/stella-emu/stella
2020-10-22 12:10:03 +02:00
thrust26
44d3acd542
added editable PopupWidget
...
made AtariVox serial port editable
2020-10-22 12:09:49 +02:00
Stephen Anthony
fb035c6bf7
Switch to 'cu' AVox-USB devices for Mac.
2020-10-20 09:44:35 -02:30
Stephen Anthony
c15985bf14
Fix serial port autodetect issues for Mac (similar to fixes for Linux).
2020-10-19 19:16:49 -02:30
Christian Speckner
c00d57d8ef
Fix romSize overflow. Fixes DPC emulation with UNSAFE_OPTIMIZATIONS.
2020-10-19 23:37:20 +02:00
Christian Speckner
8141ba827c
Whitespace.
2020-10-19 23:36:14 +02:00
Stephen Anthony
14a0c7ca35
Change serial port autodetection in Unix to not re-configure the ports, only test if they can be opened.
...
If this fixes the recently reported bug, we will extend this to other systems.
2020-10-18 14:32:30 -02:30
Christian Speckner
d204a5cea8
Initialize EEPROM data if file doesn't exist.
2020-10-17 21:09:42 +02:00
Stephen Anthony
f04c44371c
Moved some framebuffer enums to appropriate file.
2020-10-16 15:32:43 -02:30
Stephen Anthony
63a30180d2
A few more FrameBuffer cleanups.
...
- refactored a block of code that was essentially the same in 3 different places
2020-10-16 14:19:15 -02:30
Stephen Anthony
bf58825d67
Fix some warnings from clang.
2020-10-15 11:29:58 -02:30
thrust26
388e3504fb
allow disabling scroll bars in ListWidget
2020-10-15 09:40:52 +02:00
thrust26
51416dd883
updated debugger doc
2020-10-15 08:30:50 +02:00
Stephen Anthony
d5d4955b12
Eliminate dead code.
2020-10-13 21:27:22 -02:30
Stephen Anthony
ed75c68be8
A few more cleanups relating to Common::Size vs. separate components.
2020-10-13 21:26:05 -02:30
Stephen Anthony
0b62b01126
Updated Xcode for VideoModeHandler class.
2020-10-13 11:03:02 -02:30
Stephen Anthony
8333a805ba
Updated VS project for VideoModeHandler class.
2020-10-13 10:53:39 -02:30
Stephen Anthony
99d1370ccb
Started cleanup of FrameBuffer class.
...
- Moved Video mode stuff into separate class
- Fix bug with aspect correction in fullscreen mode still giving graphical artifacts
2020-10-13 10:47:37 -02:30
thrust26
f48aa3a43d
fully resolved #165 (added timer read cycles count)
...
refined TiaInfoWidget again
added doc
2020-10-13 15:11:35 +02:00
thrust26
9bcbf33d13
fixed "no debugger" project files
2020-10-13 09:30:04 +02:00
thrust26
9ffa0aeb39
implemented WSYNC part of #165 (TODO: doc)
...
refined TiaInfoWidget, CpuWidget and RamWidget
2020-10-12 21:30:03 +02:00
thrust26
598dbdfd7a
added some minor refinements of RamWidget and CpuWidget
2020-10-12 14:12:57 +02:00
thrust26
c0b5d48a32
fix #710
2020-10-11 19:48:27 +02:00
thrust26
23eb13932a
added cut/copy/paste text support for Windows keys
2020-10-11 10:46:49 +02:00
thrust26
338116018b
Added basic (entire and single line only) text cut/copy and paste (partially implements #105 )
2020-10-11 10:12:42 +02:00
thrust26
e0d92192a9
Display zoom factor when switch from/to fullscreen mode
2020-10-08 21:34:00 +02:00
Stephen Anthony
d3dd0566a4
Final updates for 6.3 release.
2020-10-06 15:57:49 -02:30
thrust26
bd89f3c810
added info to "Correct aspect ratio" UI setting
2020-10-06 15:30:07 +02:00
thrust26
80b87bd0b9
fixed wording
2020-10-05 23:07:52 +02:00
thrust26
b34732902c
Merge branch 'master' of https://github.com/stella-emu/stella
2020-10-05 23:05:49 +02:00
thrust26
90375c82f9
made correct aspect ratio a permanent setting
...
added hotkey for correct aspect ratio
updated docs
2020-10-05 23:05:33 +02:00
Stephen Anthony
0c571080ea
Added debugger pseudo-registers to detect timer access on wraparound ( fixes #606 ).
2020-10-05 16:48:57 -02:30
Stephen Anthony
a83c794d1b
Startup bank randomization is now disabled for BUS and DPC+ too (similar reasoning as for CDF).
2020-10-05 16:18:34 -02:30
thrust26
1a739162ab
changed plain video mode into no correct aspect ratio mode
...
updated docs
2020-10-05 19:25:04 +02:00
thrust26
c003d88813
added doc for plain video mode
...
renamed plain video mode option
2020-10-05 14:26:11 +02:00
Christian Speckner
b1f28a83d1
Add plain video mode.
2020-10-04 21:55:47 +02:00
thrust26
8e9af80a01
Adapt dialog for various font sizes
2020-09-29 23:21:28 +02:00
Stephen Anthony
7823640f2f
Added autodetection for AVox-USB adaptor to UI ( fixes #688 ).
2020-09-29 16:10:59 -02:30
Stephen Anthony
7a0bd5344d
Forgot to include header file in VS project file.
2020-09-29 16:08:48 -02:30
Stephen Anthony
ffb0ccdf62
Wrap 'windows.h' inside a C++ compatible header file.
2020-09-29 15:56:27 -02:30
Thomas Jentzsch
73e1a35faa
Merge pull request #704 from chrisdwalton/master
...
added CDFJ+ test binaries
improved CartCDF class description
2020-09-20 08:11:03 +02:00
Stephen Anthony
7d2be44a5c
Autodetect serial port for AVox-USB adaptor on startup, and set 'avoxport' argument.
...
This completely automates the discovery of the AVox port when only one such port exists.
If there is more than one, this code selects the first one. Further work will allow the user to go into the Input dialog and select the correct one, if more than one exists.
On my system, this adds about a 0.02 second delay to startup, so I think we can just leave it enabled.
If it ends up being too slow on some systems, we can introduce an option to disable autodetection.
2020-09-19 19:41:34 -02:30
cd-w
85abd89c74
CDFJ+ test binaries
2020-09-19 15:05:36 -07:00
Stephen Anthony
dc3fc32c84
Fix minor warning (missing newline), and minor cleanup.
2020-09-19 18:22:57 -02:30
thrust26
e0a74d2346
fixed warnings
2020-09-19 22:35:39 +02:00
cd-w
9090acc1c9
Add romSize and ramSize functions
2020-09-19 13:03:04 -07:00