summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.m
Commit message (Collapse)AuthorAgeFilesLines
* OS X: Move source files to their own folder.SND\MaddTheSane_cp2014-07-201-291/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90999 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X:SND\MaddTheSane_cp2014-04-021-35/+69
| | | | | | | Stop the memory card images from animating when the preferences window closes. Other changes and improvements. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89782 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Updating the Info.plist files.SND\MaddTheSane_cp2013-09-171-2/+0
| | | | | | Don't deny directories being open, just in case we get to support UTIs that are OS X packages. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87222 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing a few Objective C classes to have their ivars hidden.SND\MaddTheSane_cp2013-09-131-24/+46
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87167 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Convert Objective-C code to modern syntax, mainly for the NSDictionaries.SND\MaddTheSane_cp2013-09-101-19/+19
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87115 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Remove 32-bit support on OS X.SND\MaddTheSane_cp2013-09-101-19/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Remove the Spanish localization because there isn't a spanish .po file.SND\MaddTheSane_cp2013-09-011-1/+1
| | | | | | Translate some localizable.strings files to French, as well as some of the app's preference xib and InfoPlist.strings. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87048 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Better prefs managing on the main app.SND\MaddTheSane_cp2013-08-301-2/+2
| | | | | | Moving a few things around on the Mac side of the plug-ins. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87025 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fix OS X 10.8-only behavior in the XGL plug-in.SND\MaddTheSane_cp2013-08-211-8/+7
| | | | | | | | | Remove some commented-out code on Cocoa code. Change some ints passed in Cocoa code to NSIntegers. Replace a deprecated function call to NSRunAlertPanelRelativeToWindow. Other minor fixes and improvements. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86808 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* We don't have any notification observer on the Configuration Controller ↵SND\MaddTheSane_cp2013-07-081-1/+2
| | | | | | | | class anymore. Remove the remove observer call in dealloc. Comment out dealloc in the Configuration Controller class on ARC. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85908 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Move a few last things to fast enumeration on OS X.SND\MaddTheSane_cp2013-07-081-9/+7
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85907 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Clang apparently doesn't respond to -falign-loops or -finline-limit. ↵SND\MaddTheSane_cp2013-07-081-4/+4
| | | | | | | | Removing them from OS X project files. Quiet some warnings about implicit conversion from 64-bit integer to 32-bit in the main app, but only the Cocoa parts. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85897 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Get multi-block save copying working correctly on OS X.SND\MaddTheSane_cp2013-07-061-17/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85876 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Moving the memory card manager to the preferences window.SND\MaddTheSane_cp2013-07-061-38/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85870 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Grouping similar classes in Xcode.SND\MaddTheSane_cp2013-07-051-4/+10
| | | | | | Implement the Instrument build phase, for when your profile with Instruments. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85842 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Making the SIO plug-ins work on OS X.SND\MaddTheSane_cp2013-07-051-0/+1
| | | | | | | Setting the deployment target on the SIO plug-in be set to 10.7, since we don't we have a 10.6 version of PCSXR that can use it. Adding Xcode config files. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85826 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Getting rid of commented-out code.SND\MaddTheSane_cp2013-06-261-4/+2
| | | | | | Other minor changes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85565 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Set some NSURLs as directories.SND\MaddTheSane_cp2013-06-261-2/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85562 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Handle if we don't get sent a user dictionary or the memory card changed.SND\MaddTheSane_cp2013-06-261-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85560 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Don't open plug-ins or memory cards if the emulator is running.SND\MaddTheSane_cp2013-06-261-1/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85559 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Even more work on the memory card management.SND\MaddTheSane_cp2013-06-261-34/+59
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85558 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Disable the dynarec core on OS X i386. It will still run in 64-bit mode.SND\MaddTheSane_cp2013-01-101-0/+6
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82185 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Messing with the OS X plug-in code:SND\MaddTheSane_cp2013-01-101-1/+1
| | | | | | | | Making it so that absolute paths are properly handled on plug-ins. Put the absolute path if we load a plug-in from somewhere else than the App's built-in location. Have path in PcsxrPlugin be an Objective C property. Also making the name a new Objective C property. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82165 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Use ARC in 64-bit mode on the Mac.SND\MaddTheSane_cp2013-01-091-10/+9
| | | | | | | | | | Register when we drag a disc image (or double click) to Pcsxr in the recent menu. Comment out ReleasePlugins() in SysClose: it was causing a pointer to be released twice when you changed a plug-in (specifically, the GPU). Cleaning up the Recent items code. One notable case is only releasing objects we have ownership of (this is pointless in ARC, but necessary in 32-bit code). Had to rewrite -[PluginList setActivePlugin:forType:] because the previous version wasn't ARC-friendly. If we select a disc while the emulator is running, load the disc into the current session. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82136 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Setting end-of-line metadata.SND\MaddTheSane_cp2012-12-241-0/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81971 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Mac Patch 13437.SND\MaddTheSane_cp2012-12-151-1/+14
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81770 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing encoding of c strings returned for the linker on OS X to ASCII: I ↵SND\MaddTheSane_cp2012-09-231-4/+3
| | | | | | | | | | doubt the Mach-O file format is in UTF-8 Fixing releasing when the parent's class init fails: The proper way is to pass null when that happens, not release then pass null. Using fast enumeration where possible. Modified the bin/cue handling to also find the bin for .toc files. Note that there isn't a UTI for .toc files yet. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79980 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Updating projects to build on Xcode 4.4SND\MaddTheSane_cp2012-09-171-2/+3
| | | | | | Added OpenGL shader support to the Mac software renderer. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79892 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Basic widescreen support for Mac OS X.SND\MaddTheSane_cp2012-05-231-1/+2
| | | | | | Change memoryCardWindowIsVisible to more Objective-C-friendly isMemoryCardWindowVisible. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78279 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changed utisCanHandle to supportedUTIs.SND\MaddTheSane_cp2011-12-181-2/+2
| | | | | | reworked application:openFile: to check if a PcsxrFileHandle supports a file then, if it does, uses the specified PcsxrFileHandle. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73485 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Reduce code duplication in -[PcsxrController application:openFile:].SND\MaddTheSane_cp2011-12-171-3/+4
| | | | | | Added a new function to the PcsxrFileHandle protocol that says what types of UTIs it supports. Currently only used when selecting discs or memory cards from an open dialog, and not used in checking if an app can open a file. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73437 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Let's make sure the memory card is created before posting a notification ↵SND\MaddTheSane_cp2011-12-081-2/+5
| | | | | | | | about it. Declare "_MACOSX" on the XGL plug-in. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72996 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Added PcsxrMemCardController to those listening for changes in the memory card.SND\MaddTheSane_cp2011-12-041-3/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72845 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Made it so that opening a memory card on PCSXR for the Mac allows you to set ↵SND\MaddTheSane_cp2011-12-041-12/+29
| | | | | | | | which slot you want to put it in. Just ignore the "Could not open file" warning for now: It's wrong. Added a class method to ConfigurationController that will set a memory card based on a path passed to it. Also made ConfigurationController listen for when a memory card is changed. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72844 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Link Enable NetPlay button to the proper action.SND\MaddTheSane_cp2011-12-031-0/+6
| | | | | | | Open dialogs now have a set file types that they can open (Set by UTIs, with a new imported UTI for disc images). Retaining openDlg, then releasing when done, as per the suggestion of Apple's documentation. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72823 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Resized the Memory Card manager for Mac OS X.SND\MaddTheSane_cp2011-11-271-0/+10
| | | | | | | | Emulator can't be started if the Memory Card manager window is open on Mac OS X. Center the Memory Card manager window when it shows up. The Memory Card manager will refresh when the window is brought back to the front (It used to be that closing the window, then re-opening it wouldn't reload the contents of the cards). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72657 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* First steps to make a memory card manager for Mac.SND\MaddTheSane_cp2011-11-241-0/+12
| | | | | | Currently it only allows to to wipe a memory card and see what's saved on it. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72586 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* DFNet for Mac OS X.SND\MaddTheSane_cp2011-11-181-0/+3
| | | | | | Note that DFNet is disabled by default, and there are still a few rough edges. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72400 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Patch 10767 (Durandal_1707).SND\edgbla_cp2011-11-091-19/+27
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rebranding.SND\edgbla_cp2011-06-081-6/+6
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@67621 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38457 ↵SND\weimingzhi_cp2009-11-291-3/+0
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38448 ↵SND\weimingzhi_cp2009-11-291-3/+66
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@34885 ↵SND\weimingzhi_cp2009-11-021-9/+8
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* added prelimiary Mac OS X port (still not working)SND\weimingzhi_cp2009-06-091-0/+144
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23667 e17a0e51-4ae3-4d35-97c3-1a29b211df97