Commit Graph

20497 Commits

Author SHA1 Message Date
degasus 59e4882af3 nullvideo: initial release of null video backend 2016-06-25 22:40:23 +02:00
Léo Lam 8678133e87 ControllerInterface: Switch to std::shared_ptr
Small cleanup by using std::shared_ptr and getting rid of
ciface.Devices() which just returned the m_devices (which defeats the
point of making m_devices protected).

Incidentally, this should make the code safer when we have
different threads accessing devices in the future (for hotplug?).

A lot of code use Device references directly so there is
no easy way to remove FindDevice() and make those unique_ptrs.
2016-06-25 21:46:39 +02:00
JosJuice 10682dbf58 Merge pull request #3934 from JosJuice/comment-formatting
Undo some comment formatting changes from b5104a7
2016-06-25 18:45:53 +02:00
JosJuice 1878605d77 Undo some comment formatting changes from b5104a7 2016-06-25 18:07:10 +02:00
Pierre Bourdon 9081d029e3 FixedSizeQueue: modernize (std::array, std::move) 2016-06-25 17:39:54 +02:00
Anthony Serna 64cf74abb4 Merge pull request #3678 from rukai/dolphinQtPropertiesDialog
DQt2: properties dialog - info tab
2016-06-25 10:31:46 -05:00
Anthony Serna 384637bdb8 Merge pull request #3740 from rukai/dolphinQtToolbarWidth
DolphinQt2: Set a minimum width for toolbar buttons + fix stop button
2016-06-25 10:16:46 -05:00
Rukai b5104a79f1 GCVolume: supports reading all opening.bnr information
DQT2: Game properties dialog contains info tab giving information about the selected iso.
2016-06-26 00:03:59 +10:00
dhust b707e199c2 constexpr added to BitSet.h. conflicts solved 2016-06-25 10:58:53 -03:00
Rukai e82e4a62c1 DQt2: Set a minimum width for toolbar buttons + fix stop button
Using a minimum width is a good compromise between
setting all buttons to the same width
and letting them all decide their own width.
This is because the small buttons are kept tidy and regular
while allowing the biggest buttons to fit their contents.
2016-06-25 23:58:04 +10:00
Matthew Parlane afa202738e Merge pull request #3865 from leoetlino/third-party-wiimotes
Change Bluetooth device discovery on Linux to use LIAC (updated #3327)
2016-06-26 00:17:57 +12:00
Matthew Parlane a7448271a9 Merge pull request #3892 from leoetlino/ciface-synchronisation
ControllerInterface: Add synchronisation
2016-06-26 00:17:08 +12:00
Léo Lam 9b075556ea Fix a small formatting issue 2016-06-25 13:46:53 +02:00
Léo Lam d3e2ae35ff ControllerInterface: Add synchronisation
Since we may have to add/access devices from different threads, this
adds synchronisation to anything that touches m_devices.
2016-06-25 13:46:53 +02:00
Léo Lam fd29e5c4cc ControllerInterface: Don't pass m_devices to the backends
Previously, the devices vector would be passed to all backends. They
would then manually push_back to it to add new devices. This was fine
but caused issues when trying to add synchronisation.

Instead, backends now call AddDevice() to fill m_devices so that it is
not accessible from the outside.
2016-06-25 13:46:53 +02:00
Matthew Parlane 2f9a911c54 Merge pull request #3913 from rukai/dolphinQtVSDLL
VS can now run dolphinQt directly without DLL errors
2016-06-25 23:36:01 +12:00
Bryan Grim 92c572a83d Change Bluetooth device discovery on Linux to use LIAC
This changes Bluetooth device discovery on Linux to use LIAC (Limited
Dedicated Inquiry Access Code) since third-party Wiimotes (such as Rock
Candy Wiimotes) are not discovered without it.

Also added accessor function in IONix class to help with checking if
the discovered Wiimote has already been found.

[leoetlino: code review suggested changes, remove unused variable,
commit message formatting fixes, and build fix]
2016-06-25 12:34:45 +02:00
Chris Burgener dba9d86b55 Merge pull request #3888 from RisingFog/remove_cpack_txt
Remove cpack_package_description.txt from Windows builds
2016-06-24 21:13:27 -04:00
Pierre Bourdon cbd6fda5e3 Merge pull request #3929 from spider-mario/android-button-manager
Fix configStrings in Android’s ButtonManager
2016-06-24 22:38:28 +02:00
spider-mario 9e82694071 Fix configStrings in Android’s ButtonManager
The bug was exposed by clang-format.
2016-06-24 22:36:15 +02:00
Pierre Bourdon b330214387 Merge pull request #3928 from rohit-n/build-pch
Fix building with PCH disabled.
2016-06-24 19:23:03 +02:00
Rohit Nirmal 84cd57f99b Fix building with PCH disabled. 2016-06-24 11:46:48 -05:00
Léo Lam d575b40c73 Disconnect real Wiimotes when disconnected by games
This commit makes real Wiimotes really disconnect when they are
disconnected by the emulated software, which is more similar to how
it works with a real Wii and allows Wiimotes to be disconnected after
timeout for power saving.

This is currently only enabled on Linux, because of limitations on
the other platforms.
2016-06-24 14:47:39 +02:00
Pierre Bourdon 8a1bbaa563 lint: bash is hard, actually return errors 2016-06-24 14:27:35 +02:00
Pierre Bourdon 2fdfacd6d9 Add clang-format markers around fragile header inclusions. 2016-06-24 13:24:10 +02:00
Pierre Bourdon 3af8f71472 linter: run clang-format and fail on diffs 2016-06-24 13:23:10 +02:00
Pierre Bourdon e1c65406dc linter: Stop checking for include ordering (inconsistent with clang-format) 2016-06-24 13:14:41 +02:00
Pierre Bourdon 43d0d692f9 Fix D3D12 headers missing includes. 2016-06-24 11:14:10 +00:00
Pierre Bourdon 5fcb4bb3ab Further fixes to the formatting change. WX sucks. 2016-06-24 12:16:10 +02:00
Pierre Bourdon 3570c7f03a Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
Pierre Bourdon 2115e8a4a6 Add annotations for code sections that need to remain manually formatted. 2016-06-24 10:41:46 +02:00
Pierre Bourdon e901533298 Add new clang-format config. 2016-06-24 10:41:05 +02:00
Pierre Bourdon ac267a2940 5.0 release 2016-06-24 10:09:07 +02:00
Dolphin i18n Bot 0e12bee9c7 Automatic translation resources update from Transifex 2016-06-24 08:03:53 +00:00
Chris Burgener 7804f388ae Merge pull request #3924 from hthh/osx-gui-fix
OS X GUI: Fix truncated text
2016-06-23 15:24:30 -04:00
Chris Burgener 439e537fb4 Merge pull request #3925 from Toasty27/Toasty27-rpm-spec-update
Replaced pixmap entry with icon entries in spec file
2016-06-23 09:52:05 -04:00
hthh 45ad585baf GUI: Fix truncated text on OS X 2016-06-23 22:17:53 +10:00
Dolphin i18n Bot 49dd4a9f1e Automatic translation resources update from Transifex 2016-06-23 11:07:44 +00:00
Dolphin i18n Bot 1f95ed004a Automatic translation resources update from Transifex 2016-06-23 07:48:23 +00:00
Anthony Serna 10ab646408 Merge pull request #3922 from Helios747/if_only_we_reviewed_as_well_as_we_bikeshed
[GameINI] Properly force LLE recompiler on RS2 and 3
2016-06-23 00:02:07 -05:00
Anthony Serna abd70f402b [GameINI] Properly force LLE recompiler on RS2 and 3 2016-06-22 23:30:09 -05:00
Chris Burgener bc555108bf Merge pull request #3919 from Catarax/master
GameIni: Force LLE Audio on Star Wars Rogue Squadron II & III
2016-06-22 23:19:42 -04:00
Catarax 25cd6d00a3 GameIni: Force LLE Audio on Star Wars Rogue Squadron III: Rebel Strike
Force LLE audio output on all Star Wars Rogue Squadron III: Rebel Strike releases in order to fix the constant glitchy noise audio ouput.
2016-06-23 01:35:19 +02:00
Catarax 28a55c6403 GameIni: Force LLE Audio on Star Wars: Rogue Leader
Force LLE audio output on all Star Wars: Rogue Leader releases in order to fix the constant glitchy noise audio ouput.
2016-06-23 00:55:21 +02:00
Pierre Bourdon b54f47a6ee Merge pull request #3915 from JosJuice/curl-lib
Windows: Don't include Externals\curl\lib\ everywhere
2016-06-22 22:16:49 +02:00
Chris Burgener 7de7bf34d4 Merge pull request #3917 from RisingFog/crisp_pixels
Change Mega Man 9/10 Scaled EFB from 2 to -1
2016-06-22 16:13:38 -04:00
Chris Burgener ca14fbc26c Change Mega Man 9/10 Scaled EFB from 2 to -1 2016-06-22 12:00:13 -04:00
Chris Burgener 09dbe2337c Merge pull request #3904 from dhustkoder/master
_DEFAULT_SOURCE flag added, and clang check version for IsTriviallyCopyable m…
2016-06-22 10:54:39 -04:00
Dolphin i18n Bot eda2c1ee68 Automatic translation resources update from Transifex 2016-06-22 14:41:13 +00:00
Anthony Serna 1746be3b2a Merge pull request #3916 from phire/totallyAwesomeBranch
analytics: Collect less data about controllers.
2016-06-22 09:34:17 -05:00