Eder Bastos
ca4bec3539
Don't show "Error" when a blank string is returned from a native method.
2015-05-10 10:46:46 -04:00
Lioncash
fcaaa9f649
HotkeyDlg: Fix keypress event binding
...
Previously no keypresses would be recognized during the button press phase.
2015-05-10 03:35:01 -04:00
mathieui
ea709b6c12
Add hotkeys to increase/decrease the IR
2015-05-10 02:02:47 +02:00
Lioncash
76bbd46829
Core: Remove some header inclusions in header files
...
Replaces them with forward declarations of used types, or removes them entirely if they aren't used at all. This also replaces certain Common headers with less inclusive ones (in terms of definitions they pull in).
2015-05-08 22:38:59 -04:00
Lioncash
a7d5084e1f
Merge pull request #2375 from sigmabeta/lollipop-ui-update
...
Implement first few screens of Android 5.0-based UI.
2015-05-08 12:57:00 -04:00
Lioncash
a7e9aea797
DolphinWX: Remove unnecessary includes
2015-05-08 12:39:26 -04:00
Lioncash
cb20589d7f
Merge pull request #2341 from lioncash/fwd
...
DolphinWX: Remove unnecessary forward declarations
2015-05-08 09:54:23 -04:00
Chris Burgener
5af98db8c3
Append Disc 2 to Titles for Multi-Disc Games
...
Fixes issue 5799
https://code.google.com/p/dolphin-emu/issues/detail?id=5799
2015-05-07 22:59:16 -04:00
Eder Bastos
b47835fc07
Implement first few screens of Android 5.0-based UI.
2015-05-07 22:27:42 -04:00
shuffle2
94995503aa
Merge pull request #2374 from randomstuff/fix-unpn
...
Fix build without UPnP
2015-05-07 18:36:02 -07:00
Lioncash
f77587506f
Merge pull request #2345 from lioncash/tl
...
VideoConfigDiag: Simplify string translation handling
2015-05-07 05:05:48 -04:00
Gabriel Corona
469ea24717
Fix build without UPnP
...
There is no checkbox.
2015-05-06 20:59:19 +02:00
Ryan Houdek
80fe5e0a55
Merge pull request #2370 from sigmabeta/native-libs-task-removal
...
Remove the "nativeLibsToJar" gradle task.
2015-05-06 09:16:43 -04:00
Eder Bastos
2fe4b9ce68
Remove the "nativeLibsToJar" gradle task.
2015-05-05 22:34:56 -04:00
skidau
571cdcddd8
Merge pull request #2340 from dibas/testing
...
Show the cursor in os x fullscreen by default. Fixes issue 8376.
2015-05-06 12:28:45 +10:00
comex
6414cdabb2
Merge pull request #2286 from JosJuice/wii-opening-bnr
...
Read opening.bnr to get names from Wii discs
2015-05-05 16:20:04 -04:00
Ryan Houdek
f9dc8a39c0
Merge pull request #2350 from sigmabeta/master
...
Convert the Android source code to Gradle.
2015-05-03 22:01:02 -04:00
JosJuice
df8e768b77
wx: Now that Wii doesn't support descriptions, rename Notes to Maker
...
I'm not sure if Maker is the best name (Developer? Publisher?
Company? Copyright?) but I went with it because it's
what the game properties window uses. For the sake of
backwards compatibility, the INI option wasn't renamed.
2015-05-03 16:13:55 +02:00
Eder Bastos
c80225ea4d
Convert the Android source code to the directory structure of a Gradle-based Android Studio project.
2015-05-02 21:49:17 -04:00
mathieui
7b45eae6e7
Add missing ifdefs around GCAdapter code in Controller config
...
Otherwise the build fails if libusb is not found
2015-05-01 17:56:15 +02:00
skidau
9348b2e1a6
Merge pull request #2330 from mathieui/background-gc-adapter-scan
...
Add a background thread to detect the GC adapter
2015-05-01 12:09:18 +10:00
mathieui
df8b86ed63
Traversal: use the defaults if empty or space-only config entries are detected
2015-05-01 03:11:28 +02:00
Simon McFarlane
886e5c80dd
Remove BanishBackground function
...
No longer needed
2015-04-30 17:33:24 -07:00
Simon McFarlane
e6e046e37c
Make revision text wxStaticText
2015-04-30 17:32:45 -07:00
Simon McFarlane
df341ffba6
Change about page branch info to wxStaticText
2015-04-30 17:22:37 -07:00
mathieui
c452e72ca7
Netplay: don’t show traversal server/port options (INI config only)
2015-05-01 02:03:53 +02:00
Lioncash
9012ed18b1
AboutDolphin: Set the multi-line style for branch information
...
Without this, all the branch information would be put on one line, which isn't intended.
2015-04-30 18:07:58 -04:00
Lioncash
2b89350868
AboutDolphin: Remove unnecessary code
2015-04-30 18:05:30 -04:00
Markus Wick
4b00ccbe4e
Merge pull request #2342 from rohit-n/warnings
...
Silence -Wshadow and -Wsign-compare warnings.
2015-04-30 23:22:19 +02:00
mathieui
ec7445d66b
GCAdapter: Add a setting to toggle rumble
2015-04-30 11:35:16 +02:00
mathieui
57f458fe9b
GCAdapter: Add a background thread to detect the adapter
...
This scanning thread either polls libusb or checks every 500ms for a
change depending on host capabilities. The GC Adapter can now be plugged
and unplugged at any time when dolphin is open, it will be used if the
direct connect option is set.
2015-04-30 11:35:16 +02:00
Simon McFarlane
cd7466864e
Make OC slider match enabled state on window load
2015-04-30 01:28:43 -07:00
Lioncash
0004b6004b
VideoConfigDiag: Simplify string translation handling
...
Explicit wxGetTranslation usage isn't necessary
2015-04-30 04:18:13 -04:00
Simon McFarlane
6728f87677
Add size to CPU clock override slider
...
Fixes slider having 0 width on wxGTK
2015-04-29 21:49:58 -07:00
skidau
d46598e51a
Merge pull request #2336 from lioncash/tl
...
FrameTools: Simplify some wx string translation marking
2015-04-30 14:03:21 +10:00
Rohit Nirmal
76181f9327
Silence -Wshadow and -Wsign-compare warnings.
2015-04-29 19:59:34 -05:00
JosJuice
ee694e327a
Get rid of banner loaders and move their functionality to volumes
...
Having some data available in banner loaders and some other data
data available in volumes gets messy, especially with GetNames(),
which is available in both but returns different results
depending on which one is used. This change drops support
for reading names and descriptions from Wii save data.
2015-04-28 23:44:29 +02:00
Lioncash
88f7536d81
DolphinWX: Remove unnecessary forward declarations
...
These are all fully defined
2015-04-28 17:32:38 -04:00
dibas
441976e09b
Show the cursor in os x fullscreen by default. Fixes issue 8376.
2015-04-28 22:12:39 +02:00
JosJuice
d43a920924
Filesystem: Return file list reference instead of modifying argument
2015-04-28 12:48:05 +02:00
Simon McFarlane
8f56138ec4
Use wxStaticText::Wrap rather than manually inserting newlines
2015-04-28 01:17:43 -07:00
Simon McFarlane
df7c9664da
Set minimum size on config window
...
To prevent tabs from getting a scrollbar
2015-04-27 22:55:08 -07:00
Lioncash
be3bd52bb5
FrameTools: Simplify some wx string translation marking
2015-04-28 00:02:35 -04:00
Matthew Parlane
c58e94cf95
Merge pull request #2331 from lioncash/access
...
DolphinWX: Make some UI functions/members private
2015-04-28 15:42:52 +12:00
comex
65457628d7
Merge pull request #2324 from endrift/about-dialog-osx
...
Attempt to beautify About dialog on OS X.
2015-04-27 21:23:27 -04:00
Lioncash
899fd55ea8
DolphinWX: Make some general UI functions/vars private
2015-04-27 21:04:05 -04:00
Lioncash
263e64e939
DolphinWX: Make some debugger functions/vars private
...
Some classes expose things that aren't used outside of them (and in some cases, shouldn't be exposed).
2015-04-27 20:42:18 -04:00
skidau
b8eecff5c9
Merge pull request #2325 from JosJuice/isoproperties-zero-files
...
ISOProperties: Correctly handle partitions with 0 files
2015-04-27 19:45:21 +10:00
skidau
472e281445
Merge pull request #2316 from comex/fix-watch
...
Fix watchpoints ("memory breakpoints") with JIT
2015-04-27 19:42:13 +10:00
Jeffrey Pfau
af20e7498c
Only wxMac supports scaleFactor, so only use it on OS X
2015-04-25 14:53:37 -07:00
Jeffrey Pfau
4a97045d81
Add hack for removing background from text controlers, per comex
2015-04-25 14:52:53 -07:00
JosJuice
db1d81ebf8
ISOProperties: Don't block when opening default INI in text editor
...
The purpose of blocking is to reload user INIs after they
have been edited. However, ISOProperties never reloads
default INIs, because they aren't meant to be edited.
Blocking on default INIs is thus useless, and it's
rather annoying for games that have two default INIs,
because it makes it impossible to see both at once.
2015-04-25 22:15:48 +02:00
JosJuice
fbed0b4a9c
ISOProperties: Correctly handle partitions with 0 files
2015-04-25 15:33:20 +02:00
Jeffrey Pfau
addbafcfda
Attempt to beautify About dialog on OS X.
...
Added a 2x version of the logo, and cleaned up layout a bit.
2015-04-25 04:22:32 -07:00
Matthew Parlane
392b9abece
Merge pull request #2016 from RisingFog/splash
...
Update About Dolphin Screen
2015-04-25 21:50:40 +12:00
comex
7fe13d9af8
Merge pull request #2175 from RachelBryk/oc
...
Disable oc setting while netplay or movie is active.
2015-04-25 00:58:16 -04:00
comex
9d8c347e8d
Merge pull request #2290 from RachelBryk/cc-tasinput
...
Implement classic controller tas input.
2015-04-25 00:44:29 -04:00
comex
3499f2c2d0
To make up for it, make pressing enter on the value textbox set the value.
2015-04-24 22:19:21 -04:00
comex
0c18e5886d
Remove mnemonics in MemoryWindow.
...
On OS X, this broke Cmd-V to paste in the text boxes. Apparently wx
thinks having mnemonics (which are Alt-* on Windows) be Cmd-* on OS X,
even if this disables standard shortcuts, is a good idea.
Lioncash suggested just getting rid of the accelerators on non-menu
controls, so I'm doing that rather than disabling them only on OS X.
2015-04-24 22:06:03 -04:00
comex
37d00cceda
Fix wx bullshit which made the watch view assert on my machine.
...
1) Apparently wxString::Format is type safe, and passing a u32 to it
with the format "%lu" crashes with a meaningless assertion failure.
Sure, it's the wrong type, but the error sure doesn't help...
2) "A MenuItem ID of Zero does not work under Mac". Thanks for the
helpful assert message, no thanks for making your construct have random
platform-specific differences for no reason (it's not like menu item IDs
directly correspond to a part of Cocoa's menu API like they do on
Win32).
2015-04-24 22:04:46 -04:00
JosJuice
2e10a71dcd
Fix extracting files from Wii discs
...
I broke it for individual files but not folders in 4.0-6016.
2015-04-24 22:08:15 +02:00
JosJuice
235ecfbed7
Return GetNames languages, to avoid hardcoded language lists in callers
...
This makes the code cleaner and also leads to some user-visible changes:
The wx game properties will no longer let the user
select WAD languages that don't have any names.
The Qt game list will now display names using the languages
set in the configuration instead of always using
English for PAL GC games and Japanese for WADs.
If a WAD doesn't have a name in the user's preferred language,
English is now selected as a fallback before Japanese.
2015-04-23 08:14:39 +02:00
Lioncash
819f4d994c
DolphinWX: Remove superfluous code in FrameTools
2015-04-22 19:56:50 -04:00
Rachel Bryk
5047cf562a
Implement classic controller tas input.
2015-04-22 16:19:13 -04:00
comex
31ea8d0834
Merge pull request #2310 from lioncash/fsmenu
...
FrameTools: Use AppendRadioItem for constructing the frameskip menu
2015-04-22 00:39:17 -04:00
Markus Wick
4340927b7f
Merge pull request #2308 from Stevoisiak/FrameToolsMath
...
FrameTools: Remove redundant 'i-1'
2015-04-21 16:17:02 +02:00
Lioncash
ebe0222265
FrameTools: Use AppendRadioItem for constructing the frameskip menu
...
Same thing, less code.
2015-04-20 21:51:30 -04:00
Stevoisiak
c3cf43f064
FrameTools: Remove redundant 'i-1'
2015-04-20 20:24:37 -04:00
Matthew Parlane
a86f2fe2e7
Merge pull request #2199 from skidau/remove-controls-lock
...
Cleaned up the controller locking mechanism
2015-04-21 11:13:30 +12:00
Lioncash
d27b8673f5
Merge pull request #2306 from Stevoisiak/MoveUndoSaveState
...
FrameTools: Move "Undo Save State" to save state menu
2015-04-19 20:45:41 -04:00
Stevoisiak
83ec7a1e78
FrameTools: Move "Undo Save State" to save state menu
2015-04-19 20:18:11 -04:00
Stevoisiak
8adf8b16bc
Globals.h: Added comments for menu sections
2015-04-19 18:51:55 -04:00
degasus
8c209b3bc9
no-gui: fix help string
2015-04-18 15:03:42 +02:00
skidau
7063886520
Merge pull request #2289 from lioncash/netplay
...
DolphinWX: Break the netplay UI controls into separate classes.
2015-04-16 12:35:41 +10:00
skidau
f0593095b4
Merge pull request #2295 from comex/fix-usb-threading
...
Fix threading issues
2015-04-16 12:33:20 +10:00
skidau
70605cae5c
Merge pull request #2300 from lioncash/update
...
Debugger: Update the registers/watches before refreshing grids.
2015-04-16 12:30:24 +10:00
skidau
c895e4504a
Merge pull request #2298 from JosJuice/partitions-no-string-parsing
...
Fix extracting Wii disc partitions numbered 10 or higher
2015-04-16 12:00:40 +10:00
skidau
221d37ae83
Merge pull request #2287 from lioncash/hkbinds
...
HotkeyDlg: Get rid of application-wide event bindings.
2015-04-16 11:59:24 +10:00
skidau
6b82b31640
Merge pull request #2285 from linkmauve/nogui-no-x11
...
NoGUI: Don’t segfault when the DISPLAY environment variable isn’t set
2015-04-16 11:58:15 +10:00
Emmanuel Gil Peyrot
1e7ca7f579
NoGUI: Don’t segfault when the DISPLAY environment variable isn’t set
2015-04-16 01:10:57 +02:00
JosJuice
86ceb54c38
Fix extracting Wii disc partitions numbered 10 or higher
...
Instead of trying to get the partition number from the
(localized!) item name, the partitions are now stored as item data.
2015-04-15 09:29:24 +02:00
Lioncash
2cddb8f480
Debugger: Update the registers/watches before refreshing grids.
2015-04-15 00:13:13 -04:00
Lioncash
a6970b3744
Merge pull request #2288 from lioncash/unnecessary
...
ISOProperties: Remove unnecessary/unused variables & controls.
2015-04-14 10:42:29 -04:00
Lioncash
882080c282
Merge pull request #2284 from lioncash/leaks
...
DolphinWX: Fix memory leaks relating to the TAS dialog
2015-04-14 10:38:48 -04:00
comex
8ebe3d3478
Remove unused field.
2015-04-13 02:27:08 -04:00
comex
ba664b3293
Join the emu thread in Core::Stop. Get rid of Core::Shutdown which did that before.
...
Core::Shutdown was only called on app exit, yet the emu thread exits
whenever emulation stops; if you launched a new game it would just join
via the destructor when s_emu_thread was set to a new thread.
(Incidentally, the destructor also makes explicitly joining on app exit
rather pointless.)
Because the GUI thread wasn't waiting for the CPU thread to fully shut
down, Core::IsRunning would remain true briefly after CFrame::DoStop
which, given Dolphin's penchant for accessing variables belonging to
other threads, can only mean trouble... In my case, because the previous
commit caused UpdateGUI, which is called at the end of DoStop, to call
PauseAndLock, which checks IsRunning, pressing stop at the right time
would cause strange behavior.
2015-04-13 02:17:38 -04:00
comex
e000aaaf5d
Have the UI thread do PauseAndLock before messing with GetUsbPointer.
...
Since its lifetime is managed on the CPU thread, this (or a refactoring)
is absolutely required. One of the functions with a PauseAndLock call
added is CFrame::UpdateGUI; this is fine now, since it's called only
after important events happen, so just make sure not to call it every
frame or something :)
2015-04-13 01:49:24 -04:00
JosJuice
bd680aa3b5
Main: Remove unnecessary shellapi.h include
...
The include was introduced by bcf1f54c
and made unnecessary by 611f3494
.
2015-04-12 10:22:18 +02:00
Rachel Bryk
48a1d97fe7
Disable oc setting while netplay or movie is active.
2015-04-11 03:54:11 -04:00
Lioncash
bd28d260ce
DolphinWX: Break the netplay UI controls into separate classes.
2015-04-11 01:35:54 -04:00
Lioncash
5d7cd29a8b
ISOProperties: Remove unnecessary/unused variables & controls.
2015-04-10 19:53:58 -04:00
Lioncash
9cc244e913
HotkeyDlg: Get rid of application-wide event bindings.
...
This dialog is used as a modal dialog, so making the key-press event bindings application-wide is unnecessary.
2015-04-10 19:31:37 -04:00
Lioncash
00943b1ef4
DolphinWX: Fix memory leaks relating to the TAS dialog
...
Initially, the dialogs construct in the background when Dolphin initializes. However, it waits until the user actually makes the dialogs visible to decide on whether to create the Wii or GC control layouts.
Therefore, the call to CreateBaseLayout() essentially creates a sizer that isn't actually attached to a main sizer that is set as the sizer for the dialog to use. So upon destruction, these controls would never actually be destroyed if the user didn't open and then close the TAS dialogs.
2015-04-09 23:33:33 -04:00
Lioncash
1a18cad178
Merge pull request #2281 from Stevoisiak/MoveCountryWorld
...
Re-sort Country_World
2015-04-09 12:15:18 -04:00
Lioncash
2c2409fee4
Merge pull request #2278 from lioncash/leak
...
Debugger: Fix memory leaks related to grid tables
2015-04-09 11:07:27 -04:00
Stevoisiak
7c1ab2911a
Move down Country_World
...
The countries are sorted alphabetically. This should have been changed
when the variable was renamed from Country_International to
Country_World
2015-04-08 18:55:16 -04:00
Lioncash
180854c617
Debugger: Fix memory leaks related to grid tables
...
Incrementing the reference count here isn't necessary, as they construct with a count of 1. Incrementing again results in the attributes not being freed.
2015-04-07 23:16:29 -04:00
skidau
ff891394e8
Merge pull request #2248 from mathieui/netplay-disable-ui
...
NetPlay: Disable some UI elements when a game is running
2015-04-08 11:56:06 +10:00
Lioncash
ec96119f8c
TASInputDlg: Remove unnecessary explicit bools
2015-04-07 21:44:51 -04:00
Lioncash
38236fb8e8
Merge pull request #2262 from Buddybenj/change-wording-2
...
Change Wording in Help Menu
2015-04-02 13:36:48 -04:00