summaryrefslogtreecommitdiff
path: root/macosx/PluginList.m
Commit message (Collapse)AuthorAgeFilesLines
* OS X: Move source files to their own folder.SND\MaddTheSane_cp2014-07-201-318/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90999 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Add a comment.SND\MaddTheSane_cp2014-04-081-25/+32
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89829 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing a few Objective C classes to have their ivars hidden.SND\MaddTheSane_cp2013-09-131-27/+41
| | | | 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-2/+2
| | | | 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-32/+7
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Make the bladesio1 driver work on OS X:SND\MaddTheSane_cp2013-07-091-2/+2
| | | | | | | Fix a bug where the wrong plug-in was being used in place of sio1, causing PCSXR to complain. Fix a bug where bladesio1's config window would cause PCSXR to crash. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85936 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fix a bug in OS X 32-bit code.SND\MaddTheSane_cp2013-07-091-0/+1
| | | | | | | Get rid of an unused ivar, as pointed out by Clang. Adding a comment about a false positive in Clang's static analyzer. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85933 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing a lot of NSLogs to SysPrintf on OS X's PCSXR.SND\MaddTheSane_cp2013-07-091-1/+1
| | | | | | | | | Enable the emulog on OS X debug, and have create and use a log in ~/Library/Logs/PCSXR. Delete the hack that enabled PCSXR logs to go to the console in debug mode. Use modern syntax to create static NSArrays (and retain them in non-ARC code). Simplify the pauseSafeWithBlock to just create a new dispatch queue and run pauseSafe on the queue. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85931 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Change some +stringWithCString and -initWithCString:encoding: to modern ↵SND\MaddTheSane_cp2013-07-051-1/+0
| | | | | | | | | | Objective-C syntax. Change the encoding of a couple of info.plists to UTF-8, otherwise Xcode was complaining. Removing some extra line breaks on OS X code. Other minor changes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85867 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Making the SIO plug-ins work on OS X.SND\MaddTheSane_cp2013-07-051-5/+13
| | | | | | | 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-62/+0
| | | | | | Other minor changes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85565 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* fixed a memory leak in non-ARC code.SND\MaddTheSane_cp2013-01-291-11/+16
| | | | | | | | | When we fail, autorelease, not just release self. Change createMenuItem: to newMenuItem: this makes ARC know we are returning a non-autoreleased object. It's bad practice to remove items from the array we're iterating over. the itemArray call might keep a local copy, but it still makes me cringe. Create an autorelease pool around plug-in initialization code. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82589 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* The weak directive is useless in non-ARC code. comment it out when not using ↵SND\MaddTheSane_cp2013-01-281-1/+1
| | | | | | ARC code. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82567 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Bumping the minimum OS X version to 10.7.SND\MaddTheSane_cp2013-01-201-5/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82403 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Make sPluginList in PluginList.m unsafe-unretained so we can properly free ↵SND\MaddTheSane_cp2013-01-141-10/+14
| | | | | | | | | it when other sources are done with it. I didn't notice that the OS X app controller had a PluginList instance variable: use that instead of calling +[PluginList list]. A few other minor changes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82281 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Use strlcpy on OS X code.SND\MaddTheSane_cp2013-01-101-3/+30
| | | | | | > Better handling of the net system on OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82182 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Messing with the OS X plug-in code:SND\MaddTheSane_cp2013-01-101-92/+22
| | | | | | | | 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-13/+98
| | | | | | | | | | 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
* Fixing naming convention on a Cocoa function.SND\MaddTheSane_cp2012-10-131-9/+9
| | | | | | Fixing string format in a Cocoa string. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80390 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-10/+6
| | | | | | | | | | 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
* Multiple plug-in directories support for Mac OS X. It could be better: ↵SND\MaddTheSane_cp2011-12-171-14/+16
| | | | | | | | currently it uses hierarchy with the built-in plug-in path at the bottom and the user plug-in path at the top. I should probably do it by plug-in version. PlayStation plug-in double-clicked on Mac OS X are now moved to the user directory instead of the App's built-in plug-in directory. the previous method could cause problems if write support wasn't set in PCSXR, such as if it was created from a different user. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73439 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Use MAXPATHLEN when copying over directory namesSND\MaddTheSane_cp2011-12-021-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72761 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* DFNet for Mac OS X.SND\MaddTheSane_cp2011-11-181-4/+6
| | | | | | 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
* Changing Mac getters to be more Objective-C.SND\MaddTheSane_cp2011-11-121-4/+4
| | | | | | Getters in Objective-C are just named what they are getting, I.E. "getVariable" isn't valid, but "variable" is. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72232 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Big Mac Commit!SND\MaddTheSane_cp2011-11-121-0/+3
| | | | | | | | | Updating plug-ins to use Release instead of Debug for command line building. Update to use 64-bit safe datatypes (NSInteger where needed). Getting rid of no longer used variables in the Xcode projects. Making a Localizable.strings file. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72225 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Patch 10767 (Durandal_1707).SND\edgbla_cp2011-11-091-9/+9
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rebranding.SND\edgbla_cp2011-06-081-13/+13
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@67621 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* added prelimiary Mac OS X port (still not working)SND\weimingzhi_cp2009-06-091-0/+324
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23667 e17a0e51-4ae3-4d35-97c3-1a29b211df97