summaryrefslogtreecommitdiff
path: root/macosx/PcsxrPlugin.m
Commit message (Collapse)AuthorAgeFilesLines
* OS X: Move source files to their own folder.SND\MaddTheSane_cp2014-07-201-404/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90999 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Minor changes to the PcsxrPlugin class.SND\MaddTheSane_cp2014-01-251-8/+7
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88470 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Removing old, outdated comments.SND\MaddTheSane_cp2013-12-021-4/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88034 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing a few Objective C classes to have their ivars hidden.SND\MaddTheSane_cp2013-09-131-14/+16
| | | | 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-1/+1
| | | | 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-20/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Continual improvement to OS X code.SND\MaddTheSane_cp2013-08-241-1/+9
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86890 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Work on the cheat handling on OS X.SND\MaddTheSane_cp2013-08-151-0/+9
| | | | | | I misunderstood what the LoadCheats command did. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86676 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Since when did PcsxrPlugin.m in Xcode get marked to use spaces instead of tabs?SND\MaddTheSane_cp2013-07-091-179/+179
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85922 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Trimming down the preprocessor macros on OS X's plugin object class.SND\MaddTheSane_cp2013-07-091-121/+115
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85921 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Clang apparently doesn't respond to -falign-loops or -finline-limit. ↵SND\MaddTheSane_cp2013-07-081-1/+1
| | | | | | | | 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
* Minor OS X changes.SND\MaddTheSane_cp2013-07-061-3/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85869 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Get rid of the seperate ARCBridge headers.SND\MaddTheSane_cp2013-07-051-43/+56
| | | | | | | Set the mime type on the InfoPlist.strings to be text. Why were we using sprintf with NSStrings? NSString does have methods for doing what we need. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85868 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Change some +stringWithCString and -initWithCString:encoding: to modern ↵SND\MaddTheSane_cp2013-07-051-1/+1
| | | | | | | | | | 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
* Consolidate the plug-ins in OS X into the main PCSXR project.SND\MaddTheSane_cp2013-07-051-0/+2
| | | | | | Add debugging info for SysLibError on OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85835 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Making the SIO plug-ins work on OS X.SND\MaddTheSane_cp2013-07-051-1/+8
| | | | | | | 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
* fixed a memory leak in non-ARC code.SND\MaddTheSane_cp2013-01-291-5/+5
| | | | | | | | | 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
* Make sPluginList in PluginList.m unsafe-unretained so we can properly free ↵SND\MaddTheSane_cp2013-01-141-29/+33
| | | | | | | | | 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-6/+14
| | | | | | > 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
* Setting the Plug-in window controllers' initial value to nil.SND\MaddTheSane_cp2013-01-101-0/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82168 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Messing with the OS X plug-in code:SND\MaddTheSane_cp2013-01-101-21/+29
| | | | | | | | 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-24/+25
| | | | | | | | | | 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-11/+11
| | | | | | Fixing string format in a Cocoa string. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80390 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fix missing return statement.SND\MaddTheSane_cp2012-09-281-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80046 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-38/+47
| | | | | | | | | | 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
* Fail in PcsxrPlugin initialization if we can't find the plugin specified. ↵SND\MaddTheSane_cp2011-12-291-0/+6
| | | | | | Prevents a crash if a plug-in was removed/renamed. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73846 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Added sanity checking around the temporary version checking for loading ↵SND\MaddTheSane_cp2011-12-201-7/+12
| | | | | | libraries for Mac OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73526 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Uncomment out dlclose in SysCloseLibrary.SND\MaddTheSane_cp2011-12-181-1/+9
| | | | | | Load the most recent plug-in with the same file name. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73442 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Tell NSWorkspace to note the proper file path changed in PcsxrPluginHandler.SND\MaddTheSane_cp2011-12-171-3/+4
| | | | | | Store the full path in PcsxrPlugin to check against in verifyOK function. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73440 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Multiple plug-in directories support for Mac OS X. It could be better: ↵SND\MaddTheSane_cp2011-12-171-7/+39
| | | | | | | | 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
* Actually load the Net plug-in on Mac OS X.SND\MaddTheSane_cp2011-11-291-1/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72722 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing Mac getters to be more Objective-C.SND\MaddTheSane_cp2011-11-121-14/+14
| | | | | | 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-2/+4
| | | | | | | | | 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-15/+15
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rebranding.SND\edgbla_cp2011-06-081-0/+303
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@67621 e17a0e51-4ae3-4d35-97c3-1a29b211df97