Commit Graph

31747 Commits

Author SHA1 Message Date
828dc0f204 Merge pull request #8354 from JosJuice/editorconfig-java-spaces
.editorconfig: Use spaces for Java code
2019-09-07 13:06:31 -04:00
0d1afabaec Enable EFB access in INI 2019-09-07 18:59:32 +02:00
90ccee11df .editorconfig: Use spaces for Java code
We switched from tabs to spaces for Java code a year ago (PR 7364).
2019-09-07 16:34:25 +02:00
40fc25b06d Merge pull request #8353 from Ebola16/GID
Android: Add GameID to Game Settings title
2019-09-07 10:01:28 -04:00
817fe9b799 Android: Add GameID to Game Settings title 2019-09-06 23:51:32 -06:00
a9745400ec Translation resources sync with Transifex 2019-09-02 11:08:03 +02:00
55830bb8d3 Merge pull request #8344 from dolphin-emu/revert-7740-aram-experiments
Revert "DSP: ARAM cleanup experiments"
2019-09-01 22:55:44 -07:00
c144cde825 Revert "DSP: ARAM cleanup experiments" 2019-09-02 01:47:50 -04:00
03ea0eb27a Merge pull request #7740 from booto/aram-experiments
DSP: ARAM cleanup experiments
2019-09-01 20:09:42 -04:00
ecef374cd8 Merge pull request #7810 from Ebola16/GFXUI
Android: Graphic setting description improvements
2019-09-01 12:16:38 -07:00
b0a5a9f7c5 Merge pull request #8342 from dreamsyntax/codeview-remove-double-space
DolphinQt: GeckoCodeWidget remove double space
2019-09-01 12:14:23 -07:00
a4f13ca57d Remove double space in GeckoCodeWidget code view 2019-09-01 11:22:42 -07:00
0a75e71672 DolphinNoGUI: Add a FBDev platform
And the associated GLContext bits
2019-09-01 14:00:40 +10:00
43fe02ee9b GLContext: Get size using eglQuerySurface()
Also no longer assumes that a nullptr display is not headless (needed for fbdev)
2019-09-01 13:35:11 +10:00
6bfa4fa643 LogWidget: Use FixedSizeQueue for a log messages buffer
Messages buffer is intended to be of a fixed capacity (MAX_LOG_LINES),
which cannot be achieved by std::queue unless we manually pop() extra elements.
std::queue uses std::deque internally which most likely results in allocations performed continuously.
FixedSizeQueue keeps a single buffer during its entire lifetime, avoiding any allocations except the ones
performed by stored objects.
2019-08-31 21:18:07 +02:00
b3969e91d9 FixedSizeQueue: Bugfixes and improvements
- Fixed a bug where pushing items over queue's size left it in a corrupted state
- For non-trivial types, have clear() and pop() run destructors
- Added emplace(args...)
- Added empty()

FixedSizeQueue has semantics of a circular buffer,
so pushing items continuously is expected to keep overwriting oldest elements gracefully.

Tests have been updated to verify correctness of a previously bugged behaviour
and to verify correctness of destructing non-trivial types
2019-08-31 21:18:07 +02:00
b088fc37d5 LogWidget: Do not use QueueOnObject to construct log queue,
instead store a std::string constructed from string_view and convert to QString just before appending
2019-08-31 11:59:09 +02:00
e746d95d01 LogWidget: Stop update timer when log window is invisible so it doesn't continuously update in the background 2019-08-31 11:57:27 +02:00
7cec8601f1 LogWidget: Remove scrollbar tampering code (doesn't seem to do anything), clear text queue on clearing log 2019-08-31 11:57:07 +02:00
eb7d42dfe8 LogWidget: Replace QTextEdit with QPlainTextEdit for better performance
QTextEdit is heavy, similar in functionality to WordPad,
while QPlainTextEdit is lightweight like Notepad.
Qt documentation recommends using QPlainTextEdit for log viewers,
and it also allows to set automatic cutoff of oldest messages beyond a fixed point,
which we now set to MAX_LOG_LINES (5000)
2019-08-31 10:46:04 +02:00
eab086b880 ConsoleListenerWin: Properly output console logging in UTF-16 so UTF-8 displays properly 2019-08-31 00:44:44 +02:00
5ea4f998c0 Merge pull request #8323 from Craftyawesome/ini-texture-cache
Add safe texture cache to some uDraw games' ini files
2019-08-30 11:03:01 -04:00
1bb7fbb2ad Merge pull request #8339 from booto/save_the_trees
SI: Reduce logging.
2019-08-30 16:51:09 +10:00
c268aa3a46 SI: Reduce logging. 2019-08-28 22:16:41 -04:00
37ef5a54c9 Core: Use move semantics for Renderer::SaveScreenshot 2019-08-28 19:52:35 +02:00
ff8f978eaf Core: Generate screenshot name with timestamps instead of only increasing numbers 2019-08-28 19:52:35 +02:00
71ff97cf1c Merge pull request #8334 from hosaka-corp/vi-update-reorg
VideoInterface: start counting half-lines at 0 instead of 1
2019-08-28 16:07:37 +10:00
9e3b867c6a VideoInterface: start counting half-lines at 0 instead of 1
- Re-organize VideoInterface::Update() to count half-lines starting at 0 instead of 1
- Use horizontal position when checking if we should assert some display interrupt
- Add some more descriptive comments
2019-08-26 20:43:26 -05:00
230ff47c0a Merge pull request #8230 from Techjar/remove-reduced-polling
NetPlay: Remove 'reduce polling rate' option
2019-08-26 23:30:18 +10:00
a3d8a8be06 NetPlay: Remove 'reduce polling rate' option
With the SI poll line count fixed, pretty much all games are polling
twice per frame anyways, making this option superfluous. Since it's a
bit of a gross hack and makes DTMs incompatible with console, let's
just bin it.
2019-08-26 02:11:49 -04:00
87c5e0b30e VolumeVerifier: Add Redump.org downloading 2019-08-25 12:53:19 +02:00
755601c64a Translation resources sync with Transifex 2019-08-25 11:24:23 +02:00
3eb360b818 VolumeVerifier: Add zip support for datfile 2019-08-24 16:37:19 +02:00
22933d8502 VolumeVerifier: Add datfile parsing 2019-08-24 16:37:19 +02:00
1edc45f67d Add enc_temp_folder to .gitignore
Not quite sure what this is, but Visual Studio creates it occasionally.
2019-08-24 14:20:02 +02:00
88522b7a26 Merge pull request #8327 from JosJuice/more-string-view-regression
DolphinQt: Fix whitelisting USB devices
2019-08-23 21:32:13 +10:00
c1a0a8f84a DolphinQt: Fix whitelisting USB devices
Revert of https://github.com/dolphin-emu/dolphin/pull/8233#discussion_r306223322
2019-08-23 13:22:33 +02:00
3848f6d9ec Merge pull request #7975 from AdmiralCurtiss/memcard-manager-filetypes
Don't enforce that a memory card has to have a .raw or .gcp file extension.
2019-08-22 12:54:46 -07:00
5614594f5e Qt/GCMemcardManager: Add an 'All Files' option to the filetype selection. 2019-08-22 20:18:21 +02:00
f414d926c1 ActionReplay: Make use of fmt where applicable
Converts the ActionReplay logging over to using fmt instead of
StringFromFormat.
2019-08-21 17:59:33 -04:00
1ee2234e44 Android Studio 3.5 Updates 2019-08-21 14:43:00 -04:00
7d98c4f3a4 Add SingleChoiceSettingDynamicDescriptions 2019-08-21 13:17:16 -04:00
630de81309 Show Stereoscopy Mode setting value as description 2019-08-21 13:17:16 -04:00
92366fffaf Show Aspect Ratio setting value as description 2019-08-21 13:17:16 -04:00
c7fc9126aa Merge pull request #8190 from JosJuice/android-init
Android: Call UICommon::Init at app start instead of emulation start
2019-08-21 10:14:52 -07:00
998c171b65 Merge pull request #8196 from JosJuice/android-applinkactivity-race
Android: Fix race condition in AppLinkActivity
2019-08-21 10:14:08 -07:00
f79ca65170 UICommon: Remove Android hacks from GameFile 2019-08-21 18:48:52 +02:00
c677268aaf Android: Don't use GameFile/GameFileCache before UICommon::Init
Preparation for the next commit.
2019-08-21 18:46:49 +02:00
9f3f45aa5f Android: Call UICommon::Init at app start instead of emulation start
Much of our native code assumes that UICommon::Init has been called
(for reasons such as wanting to access the user's settings),
so not calling it until emulation start heavily limits what native
code we can use in the Android GUI (except during emulation).
2019-08-21 18:46:49 +02:00
47e1108d57 Android: Add helper class AfterDirectoryInitializationRunner 2019-08-21 18:46:49 +02:00