Commit Graph

4574 Commits

Author SHA1 Message Date
Stephen Anthony 2ca9c6bee8 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 03e6f4d6ae fixed copy & paste error 2020-12-27 19:14:03 +01:00
thrust26 7d0b15e01c centralized some dialog constants 2020-12-27 19:00:28 +01:00
Stephen Anthony 3edc5aafe8 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 027ff96d94 Revert "cleaned up code for use of fonts for BrowserDialog"
This reverts commit b56f81e8b5.
2020-12-27 11:32:23 -03:30
thrust26 b56f81e8b5 cleaned up code for use of fonts for BrowserDialog 2020-12-27 09:14:41 +01:00
Stephen Anthony 1e70fb50bc Fix compile issue with LoggerDialog. 2020-12-26 11:19:51 -03:30
thrust26 3e0f2bc56d fixed scrollbar alignment issues 2020-12-26 13:47:21 +01:00
thrust26 82672f544f fixed selection issue when switching input event filters 2020-12-26 11:02:45 +01:00
thrust26 30b6b5b06c added missing changes in LoggerDialog 2020-12-26 10:33:00 +01:00
Stephen Anthony 3b10550cba 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 9d292185c0 Fix ZIP files in Windows not finding last path correctly. 2020-12-25 17:44:23 -03:30
thrust26 9d16adcced Merge remote-tracking branch 'remotes/origin/feature/dbg-save-as-dialog' 2020-12-25 09:39:41 +01:00
thrust26 13d3fcd52f minor doc updates 2020-12-25 09:38:37 +01:00
thrust26 1ca00c7a0b 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 5c7ae3a147 Fix overzealous TV detection in ROM filenames. Fixes #747. 2020-12-24 11:51:53 -03:30
thrust26 034017923d fixed a saveses bug
renamed browser titles
2020-12-24 14:50:26 +01:00
thrust26 fee6139efe Merge remote-tracking branch 'remotes/origin/master' into feature/dbg-save-as-dialog 2020-12-24 12:35:02 +01:00
thrust26 db10aea7c7 refactored directory names, removed default load dir
updated docs
2020-12-24 12:24:23 +01:00
thrust26 18cc04c9ca added "userdir" settings which can be used to overwrite default save (and load) directories 2020-12-24 11:48:15 +01:00
Stephen Anthony e14da1344a Eliminate duplicate copies of lastPathComponent function. 2020-12-23 22:21:46 -03:30
thrust26 a0812dc10f added file browser to GameInfoDialog export
code cleanup
updated docs
2020-12-23 23:07:00 +01:00
Stephen Anthony 5853e7eb53 Remove dead Blargg code. 2020-12-23 17:20:31 -03:30
thrust26 59311aa589 Merge remote-tracking branch 'remotes/origin/master' into feature/dbg-save-as-dialog 2020-12-23 17:12:07 +01:00
thrust26 bae193f65a Merge branch 'master' into feature/dbg-save-as-dialog 2020-12-23 08:56:05 +01:00
Stephen Anthony e322ece7b4 Few more fixes for suggestions from cppcheck. 2020-12-22 19:29:49 -03:30
Stephen Anthony ed00a18f05 Added a few more 'string_view' in bspf. 2020-12-22 18:33:30 -03:30
thrust26 2c3d7e0baa Revert "2nd try to get notifications"
This reverts commit c024ce6f55.
2020-12-22 21:07:19 +01:00
thrust26 c024ce6f55 2nd try to get notifications 2020-12-22 20:48:54 +01:00
thrust26 9b2778d40f Revert "intentionally broken code for testing libretro build notifications"
This reverts commit ad34bc60e7.
2020-12-22 20:43:45 +01:00
thrust26 ad34bc60e7 intentionally broken code for testing libretro build notifications 2020-12-22 19:59:15 +01:00
Stephen Anthony 2b1bfc2249 Fix compile error. 2020-12-22 10:39:49 -03:30
thrust26 a49d5dbbf9 renamed Game properties 'Save' button into 'Export' 2020-12-22 14:56:48 +01:00
thrust26 d0dec8601c added tooltip to GameInfoDialog 'Save' button 2020-12-22 12:18:39 +01:00
Stephen Anthony 5332758281 Merge branch 'master' into feature/full-on-sqlite 2020-12-21 22:45:44 -03:30
Stephen Anthony 235b371fc4 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 18d1451a2b fixed(?) libretro/Makefile 2020-12-21 18:50:54 +01:00
thrust26 e74b94daa6 ...and removed the const too 2020-12-21 18:06:33 +01:00
thrust26 8f724708ac removed default, just to be sure 2020-12-21 17:37:10 +01:00
thrust26 edab05dc47 fixed broken joystick mapping loading 2020-12-21 13:31:42 +01:00
thrust26 f0d3e118bf fixed missing GameInfoDialog save button 2020-12-21 10:24:38 +01:00
thrust26 f396ae421c limited redraw debug output to DEBUG_BUILD 2020-12-21 09:14:42 +01:00
Stephen Anthony aefb9075ae Final batch of brace conversion.
Added const in a few places.
2020-12-20 21:08:00 -03:30
Stephen Anthony 5cd3cdf841 Forgot one file for brace fixes in the last merge. 2020-12-20 20:19:23 -03:30
Stephen Anthony ac09bcd032 Move duplicated 'trim' function to BSPF.
Remove unused methods from Settings.
2020-12-20 20:05:41 -03:30
Stephen Anthony 39b42bca55 Merge branch 'master' into feature/full-on-sqlite 2020-12-20 19:03:15 -03:30
Stephen Anthony 11241b9871 More conversion to brace syntax. 2020-12-20 18:14:28 -03:30
Stephen Anthony 60c991e171 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 b36729a825 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 1ae5a73afe Fixed a clang warning. 2020-12-20 12:04:28 -03:30
Stephen Anthony 085d718c5e Fix minor warning. 2020-12-20 11:14:29 -03:30
thrust26 c081481825 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 e837e1f94c Disabled PlusROM for now, until we find more time to work on it. 2020-12-19 18:35:16 -03:30
Stephen Anthony a891f5cb33 libretro: Fix warnings with memset; use default initialization instead. 2020-12-18 23:29:25 -03:30
Stephen Anthony 2f5166e81e Various fixes for suggestions from cppcheck. 2020-12-18 19:25:27 -03:30
thrust26 e76fed006b minor enhancement of input global keys 2020-12-18 22:34:36 +01:00
thrust26 dbdc984e77 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 351b27c6b5 Some of the checkers don't like stray Unicode in ASCII files. 2020-12-18 11:03:24 -03:30
thrust26 7a67f2e6d4 reordered hotkeys and fixed UI for driving controller sensitivity (value used for digital input too) 2020-12-18 09:09:45 +01:00
thrust26 b8117caefd removed JOYSTICK_SUPPORT checks to align with header file 2020-12-18 08:13:55 +01:00
Stephen Anthony 14bd210005 libretro: Fix compile errors (PlusROM and some minor joystick stuff). 2020-12-17 23:58:35 -03:30
Stephen Anthony 1a79ea09c5 Add PlusROM to Xcode project. 2020-12-17 23:51:25 -03:30
Stephen Anthony ba4547a1e4 Add PlusROM to Visual Studio project. 2020-12-17 23:45:02 -03:30
Stephen Anthony 37c61fe93e 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 026f64d69d changed sorting of saved mappings for easier debugging 2020-12-17 22:47:07 +01:00
thrust26 f59dd35f65 added new hotkey mappings 2020-12-17 22:27:42 +01:00
thrust26 c9cd7cb4ef fixed global hotkey logic and warning 2020-12-17 17:39:28 +01:00
thrust26 d7bb07fc55 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 558af54efd Hook up SQL for Visual Studio. 2020-12-16 18:14:35 -03:30
Stephen Anthony 00d241c67b Some fixes for suggestions from clang-tidy. 2020-12-16 16:24:46 -03:30
Stephen Anthony 162b13f3d1 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 7de2b7ba14 libretro: Fix compile for new SQL classes. 2020-12-15 23:22:46 -03:30
Stephen Anthony 61d4f1d47f Fix compile warnings in Linux. 2020-12-15 22:51:31 -03:30
Christian Speckner 4318d01216 Sqlite is the only choice now. 2020-12-15 23:55:24 +01:00
Stephen Anthony e7715aea9d Fix 'daptor devices sometimes not getting correct default mappings (fixes #685). 2020-12-14 15:34:05 -03:30
Christian Speckner 771b5b44e3 Sqlite3 is not conditional anymore, support amalgamation on UNIX. 2020-12-14 00:10:11 +01:00
thrust26 dfa15f0086 fixed key map conversion for multiple modifier keys 2020-12-13 09:15:42 +01:00
Christian Speckner 0999396853 Add the amalagmated SQlite source. 2020-12-10 23:29:31 +01:00
thrust26 f4aaae4b9c fixed MDM single bank ROM crash (fixes #743) 2020-12-09 20:55:08 +01:00
thrust26 6a35a06fcf added sorting when saving JoyMap and KeyMap 2020-12-08 11:51:48 +01:00
thrust26 ccc185de54 moved new EventMode::kEditMode to end of list to fix mapping conversion 2020-12-08 11:39:22 +01:00
thrust26 c5f0960304 Merge branch 'master' of https://github.com/stella-emu/stella 2020-12-07 11:41:20 +01:00
thrust26 08dfe1fe86 added support for default image in ROM info viewer (resolves #601) 2020-12-07 11:41:06 +01:00
Stephen Anthony b49fa9583c Fix compile warnings in Xcode. 2020-12-06 23:43:11 -03:30
Stephen Anthony 82392944ad Fix clang warning. 2020-12-06 22:23:42 -03:30
thrust26 3eec0defce improved playback sound muting 2020-12-06 21:17:56 +01:00
thrust26 ee8734ce14 added sound to Time Machine playback
fixed playback speed
updated docs
2020-12-06 12:08:25 +01:00
thrust26 d38593a821 fixed and enhanced TimeMachineDialog 2020-12-05 23:25:21 +01:00
Stephen Anthony f563ed0870 Fix crash when loading ROMs into ROM launcher under certain circumstances. 2020-12-04 14:35:10 -03:30
thrust26 b990bf2f68 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 6bd5311db3 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 ea8660029f update highscores doc, added currently supported game list
added input char limitation to DataGridWidget
2020-12-02 11:35:12 +01:00
thrust26 303b9b3c83 Merge branch 'master' of https://github.com/stella-emu/stella 2020-12-01 22:21:35 +01:00
thrust26 48e3f85a9f added shading to TIA surface when emulation paused or dialog on top 2020-12-01 22:21:23 +01:00
Stephen Anthony 60d50a23f0 Fix warnings from gcc. 2020-12-01 17:29:00 -03:30
thrust26 bff8d4141a Trying to fix build bug #736 2020-12-01 18:37:46 +01:00
thrust26 927738e2db HighScoresDialog exception fix 2020-12-01 18:30:14 +01:00
thrust26 9dd0215fed Merge branch 'master' of https://github.com/stella-emu/stella 2020-12-01 18:18:52 +01:00
thrust26 c6c04a82d8 JSON exception analysis 2020-12-01 18:18:39 +01:00
Christian Speckner cce86f453c Condig style. 2020-12-01 18:17:42 +01:00
thrust26 ebbec177f6 changed high score (file) format to JSON 2020-12-01 16:20:09 +01:00
Stephen Anthony 2e0c0549e7 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 d1f9ee730b Add high score stuff to Xcode project. 2020-11-30 15:55:37 -03:30
Stephen Anthony 1f55d2fb10 Fixed a few warnings from clang. 2020-11-30 15:46:50 -03:30
thrust26 833ce27d37 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 488b9cf077 Merge remote-tracking branch 'remotes/origin/master' into feature-highscores
Fixed redraw problems.
2020-11-30 09:23:45 +01:00
thrust26 5ba8795747 updated defprops 2020-11-29 23:40:59 +01:00
thrust26 71caf5e776 finished high scores definitions saving conversion to JSON 2020-11-29 22:51:33 +01:00
thrust26 56fb6b0956 Merge remote-tracking branch 'remotes/origin/master' into feature-highscores 2020-11-29 22:26:37 +01:00
Stephen Anthony 47bab52621 Simplified some code; use a lambda instead of two identical loops. 2020-11-29 16:25:23 -03:30
Stephen Anthony ad88f26c61 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 efb94f1b5f started converting high score definitions saving to JSON 2020-11-29 14:13:13 +01:00
Christian Speckner f44f5654e4 Handle modekey mask properly. 2020-11-29 11:05:31 +01:00
Stephen Anthony aa42c51709 Fix gcc warning: use const references instead of pass by value for exceptions. 2020-11-28 22:25:22 -03:30
Stephen Anthony ceabffe52b Various code cleanups. 2020-11-28 22:16:47 -03:30
Stephen Anthony c4354aeeea Remove workarounds in pre-C++17 code. 2020-11-28 20:52:13 -03:30
Stephen Anthony bd2ead8d13 Added JSON stuff to Xcode project. 2020-11-28 18:06:49 -03:30
thrust26 5c21fb3e4b Merge remote-tracking branch 'remotes/origin/master' into feature-highscores 2020-11-28 22:11:29 +01:00
thrust26 311e25179c Merge branch 'master' into feature-highscores 2020-11-28 22:03:54 +01:00
Stephen Anthony a47689c510 libretro: Add JSON stuff to build script. 2020-11-28 17:33:46 -03:30
Stephen Anthony 9c9633e0c7 Added json stuff to Visual Studio project file. 2020-11-28 17:11:10 -03:30
Stephen Anthony 43fafb45ef 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 e3e0fc5a47 Migration fixes. 2020-11-28 21:04:26 +01:00
Christian Speckner 730932355f Merge remote-tracking branch 'origin/master' into feature/json-mappings 2020-11-28 20:45:51 +01:00
Christian Speckner 0d9b7831d7 Revert "Fix bad use of constexpr." --- don't need that anymore with C++17
This reverts commit c55d8096d0.
2020-11-28 20:37:15 +01:00
thrust26 c116ed8d25 Merge branch 'master' into feature-highscores 2020-11-28 20:10:17 +01:00
thrust26 2d9c9a5003 made DelayQueueWidget use setDirty
removed superfluous code from TiaWidget
2020-11-28 16:54:23 +01:00
thrust26 9d63ec42d2 minimized redraws in debugger 2020-11-28 16:12:54 +01:00
Stephen Anthony fe2b4d630e Move Linux builds to use C++17 by default. 2020-11-28 10:48:00 -03:30
Christian Speckner 9ac459bf71 Avoid endless loop and heap corruption of doom. 2020-11-28 13:33:48 +01:00
Christian Speckner 49d3877213 Fix null pointer. 2020-11-28 13:33:48 +01:00
thrust26 d038cbabd7 Merge branch 'master' of https://github.com/stella-emu/stella 2020-11-28 13:00:00 +01:00
thrust26 b0008a2204 improved debugger's RAM labels (part 2) 2020-11-28 12:59:45 +01:00
Christian Speckner c55d8096d0 Fix bad use of constexpr. 2020-11-28 12:59:34 +01:00
thrust26 1637743d5e improved debugger's RAM labels 2020-11-28 12:57:24 +01:00
thrust26 b338c1b0ad added some more tooltips to UI 2020-11-28 12:55:50 +01:00
thrust26 c1cbd5d6f3 updated changes.txt 2020-11-28 12:54:20 +01:00
Christian Speckner 9ce8e9a02a Convert legacy keyboard mappings. 2020-11-28 12:46:48 +01:00
Christian Speckner 234a2745c4 Coversion for legacy joystick mappings. 2020-11-28 12:15:02 +01:00
thrust26 cbbe6fbe99 fixed doc 2020-11-25 17:23:05 +01:00
thrust26 d292c8eb6b fixed #735 (trackball fire) 2020-11-25 17:21:57 +01:00
Stephen Anthony 2db6ab7d16 Fixed compile error and warnings from g++. 2020-11-24 10:01:27 -03:30
thrust26 9274a72d51 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 62bd47f56d JSON mappings for keyboard. 2020-11-23 23:42:35 +01:00
Stephen Anthony 53f24729fd Fix compile warning and error in clang. 2020-11-23 17:39:43 -03:30
thrust26 d309279852 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 106bd3ab91 added launcher reload delay while typing filter 2020-11-23 09:08:26 +01:00
thrust26 6ec8693110 fixed small font for launcher 2020-11-22 21:58:49 +01:00
thrust26 d5e7829bd2 fixed considering "show all files" at startup
fixed launcher focus issues after exiting ROMs
2020-11-22 14:42:46 +01:00
thrust26 9a68e48421 added subdirectory search to launcher
enhanced ProgressDialog
2020-11-22 12:39:17 +01:00