summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ISOProperties.cpp
AgeCommit message (Collapse)Author
2015-09-23Merge pull request #2829 from JosJuice/fix-wii-fst-size-2Lioncash
Fix reading Wii FST size (for real this time)
2015-08-16Merge pull request #2858 from lioncash/leakLioncash
DolphinWX: Fix memory leaks occurring in ISOProperties
2015-06-08Merge pull request #2509 from comex/fix-ar-codesRyan Houdek
Fix subdialogs of the ISO props dialog... sort of
2015-06-04Volume: Return volume type as an enumJosJuice
ISOFile and GameFile were using IsWiiDisc() and IsWadFile() to set an enum value. The volume might as well return an enum directly. I increased the Qt CACHE_REVISION because m_platform now is saved as u32 instead of int, but increasing the wx CACHE_REVISION is not necessary.
2015-06-02Merge pull request #2338 from JosJuice/getfilelist-returncomex
Filesystem: Return file list reference instead of modifying argument
2015-06-02Fix subdialogs of the ISO props dialog... sort ofcomex
On OS X, if you close a subdialog of the ISO Properties dialog, such as the one to add a new AR code, the main Dolphin window would magically get raised above ISO Properties. This is confusing, to say the least; when I encountered this the other day, I thought the dialog was actually getting closed. I *think* the diagnosis looks like this: Cocoa expects NSPanel (not to be confused with wxPanel) to be for things like find dialogs, font dialogs with the little title bars, sheets, etc. See: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html Therefore, NSPanels return NO for canBecomeMainWindow, which is documented; and when [NSWindow orderOut:] is called to hide a window, Cocoa seems to want to make the window it focuses in its place a main window, which, as far as I can tell, is not. So if the next highest window is a panel, it gets skipped over. (I tested this by overriding wxNSPanel's canBecomeMainWindow to return YES, in which case the right window gets focused, but this isn't a correct fix.) The ISO Properties dialog does have grounds to be a dialog/panel - the close button, whose positioning is provided by the wxDialog class. This is arguably simply a roundabout discovery that our UI sucks for an OS X app and that to be consistent with other nonmodal preferences dialogs, it shouldn't have such a button on OS X (though ESC to close is still kosher). However, I'm not willing to make that change right now, so... Hack around the problem by calling Raise (on this) after each call to ShowModal in CISOProperties. The resulting behavior is slightly glitchy, and I'd like to revisit it, but for now it fixes the issue.
2015-05-25Merge pull request #2326 from JosJuice/isoproperties-config-blockRyan Houdek
ISOProperties: Don't block when opening default INI in text editor
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-11Volume: Rename GetName to GetInternalNameJosJuice
This is intended to better separate it from GetNames and to clarify that this name originally wasn't meant to be shown to users. The ISOProperties GUI is also updated, mainly because labeling the long banner name "short name" was confusing.
2015-05-08Core: Remove some header inclusions in header filesLioncash
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-08DolphinWX: Remove unnecessary includesLioncash
2015-05-05Merge pull request #2286 from JosJuice/wii-opening-bnrcomex
Read opening.bnr to get names from Wii discs
2015-04-28Filesystem: Return file list reference instead of modifying argumentJosJuice
2015-04-25ISOProperties: Don't block when opening default INI in text editorJosJuice
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-25ISOProperties: Correctly handle partitions with 0 filesJosJuice
2015-04-24Fix extracting files from Wii discsJosJuice
I broke it for individual files but not folders in 4.0-6016.
2015-04-23Return GetNames languages, to avoid hardcoded language lists in callersJosJuice
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-15Fix extracting Wii disc partitions numbered 10 or higherJosJuice
Instead of trying to get the partition number from the (localized!) item name, the partitions are now stored as item data.
2015-04-10ISOProperties: Remove unnecessary/unused variables & controls.Lioncash
2015-04-08Move down Country_WorldStevoisiak
The countries are sorted alphabetically. This should have been changed when the variable was renamed from Country_International to Country_World
2015-03-24DolphinWX/Common: Change some find_first_of usages to findLioncash
It's unnecessary to use find_first_of when all you're searching for is a single character.
2015-03-06Fix 4.0-5689 regression (AR codes, patches)JosJuice
CreateCodeTab, ARCodeAddEdit and PatchAddEdit need to be able to modify arCodes/onFrame.
2015-02-27Merge pull request #2120 from JosJuice/show-default-gameiniMarkus Wick
ISOProperties: Allow opening region-free INIs with "Show Defaults" button
2015-02-24Make iso properties non modal.Rachel Bryk
2015-02-24Remove "Needed for a few games." from fast disc speed descriptionJosJuice
There are no longer any games that are known to require this. The last one was Rogue Leader, fixed in PR #1778.
2015-02-24ISOProperties: Allow opening region-free INIs with "Show Defaults" buttonJosJuice
2015-02-23Merge pull request #1942 from Buddybenj/No-Introskidau
Replace Country Names With No-Intro Names
2015-02-21Merge pull request #2018 from JosJuice/gameini-region-wildcardMarkus Wick
Support game INIs that match all regions
2015-02-17Replace Country Names With No-Intro NamesBuddybenj
2015-02-15Merge pull request #2035 from magumagu/remove-bat-optionmagumagu
Remove the BAT checkbox/setting/implementation.
2015-02-14DolphinWX: Change Enable(false) calls into Disable() where possibleLioncash
2015-02-11Remove the BAT checkbox/setting/implementation.magumagu
The current version of the setting is useless, and the real implementation (PR1882) will be always-on, and won't use any of the existing code.
2015-02-11Remove setting "BlockMerging".magumagu
It isn't hooked up to anything anymore, and it isn't the sort of thing we want users messing with anyway.
2015-02-11Use CoreParameter's game INI functions in more placesJosJuice
2015-02-11Don't use revision-specific unique ID strings outside of CoreParameterJosJuice
2015-02-09Remove VBeam Speedhack.Scott Mansell
2015-01-21Merge pull request #1870 from Stevoisiak/countryFiltersRyan Houdek
Country filter fixes/consistency
2015-01-21Merge pull request #1895 from JosJuice/isvolumewiidiscRyan Houdek
Don't read from disk when checking volume type
2015-01-17Don't read from disk when checking volume typeJosJuice
Should be faster than relying on the OS to cache the magic words. Also gets rid of the odd recursive call in VolumeDirectory.
2015-01-14De-capitalized countriesStevoisiak
2015-01-13Merge pull request #1813 from Armada651/convergenceMarkus Wick
Add UI for per-game stereoscopy settings.
2015-01-03Change Build Date to Apploader DateStevoisiak
Date given by Dolphin did not match up with build dates found from tcrf.net
2015-01-02ISOProperties: Add stereoscopy per-game settings.Jules Blok
2014-12-14Merge pull request #1675 from Stevoisiak/Rename-Build-DateLioncash
ISOProperties: Rename Date to Build Date
2014-12-14Gave the GPU determinism game property its own ID so that changing it to ↵skidau
"Not Set" does not disable the emulation issues textbox.
2014-12-08ISOProperties: Rename Date to Build DateSteven Vascellaro
2014-11-30ISOProperties: show all paritions on property page.magumagu
2014-11-22Merge pull request #1586 from lioncash/arLioncash
DolphinWX: Fix button handling for AR codes and ISO patch removal.
2014-11-22DolphinWX: Fix patch removalLioncash