aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMObjC2Runtime.h
Commit message (Collapse)AuthorAge
* First cut at pruning things/updating things.Gravatar dmaclach2016-10-07
| | | | | | | | | | | | | | | Remove a bunch of code that Google stopped using/maintaining rather than trying to update it it. Some would be hard to update, some actually has system provided replacements; others are patterns that just don't seem as common now. Prune out the code related to macOS <= 10.5, start pruning some of the really old iOS support also. Get the projects mostly limping again with modern Xcodes so tests can be run. If someone ends up on this commit via history for something they still find as useful, feel free to do a pull request to bring the snippet of code back to life and update it for current SDKs.
* [Author: thomasvl]Gravatar gtm.daemon2012-06-14
| | | | | | Small fixes for iOS. R=dmaclach DELTA=8 (0 added, 2 deleted, 6 changed)
* [Author: aharper]Gravatar gtm.daemon2012-04-04
| | | | | | Implement sel_isEqual R=dmaclach APPROVED=dmaclach
* [Author: thomasvl]Gravatar gtm.daemon2012-03-07
| | | | | | Fix up gate to match the ones above for handling older OS versions. R=dmaclach DELTA=2 (0 added, 0 deleted, 2 changed)
* [Author: altse]Gravatar gtm.daemon2010-11-29
| | | | | | | Add include for objc/message.h as objc/runtime on the iOS SDK doesn't include it so objc_msgSend symbol is not explicitly included. R=thomasvl DELTA=1 (1 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2010-04-13
| | | | | Change the guards for the atomic ops, this seems to make all the iPhone SDKS that come with 3.1.3 happy. Will test 3.2 after landing this. TBR=dmaclach
* [Author: mmentovai]Gravatar gtm.daemon2010-04-12
| | | | | | #include <objc/objc-auto.h> for objc_atomicCompareAndSwapGlobalBarrier R=thomasvl DELTA=1 (1 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-11-20
| | | | | | | | | | Added Xcode configs for iPhone 2.2, 2.2.1, 3.0, 3.1, 3.1.2. Updated the GTMiPhone project to have multiple config support. Updated the helper script to handle all the iPhone configs also. Left the generic configs in for now until the automated builds are updated. Updated one issues with the atomic ops and iphone 3+ sdks. R=dmaclach DELTA=1413 (1397 added, 0 deleted, 16 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-16
| | | | | | | | | Add support for more complex unit test class hierarchies than what is available out of the box in SenTestCase. I currently have the release notes checked out as part of a separate change, and will update them accordingly for this as well. R=thomasvl,mrossetti DELTA=80 (79 added, 0 deleted, 1 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-08-11
| | | | | | | | | | Fixed up GTMGoogleSearch so that it actually works on the iPhone Device. Fixed up some GTMNSObject+KVO issues on the iPhone Device. Fixed up GTMObjC2Runtime so that it actually compiles on the device. Added debugging capabilities to KVO with GTM. Removed unnecessary GTM_* system version macros from GTMDefines.h R=thomasvl DELTA=185 (153 added, 19 deleted, 13 changed)
* - Added GTMNSObject+KeyValueObserving to make it easier on folks to do KVOGravatar thomasvl@gmail.com2009-02-03
| | | | | | | | | | "correctly". Based on some excellent code by Michael Ash. http://www.mikeash.com/?page=pyblog/key-value-observing-done-right.html This has been added for iPhone and OS X. - Fixed up GTMSenTestCase on iPhone so that it has a description that matches that of OCUnit.
* - GTMStackTrace works on 10.5+ (and iPhone) using NSThread to build the call ↵Gravatar thomasvl@gmail.com2008-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | stack. - Added GTM_EXTERN that makes it easier to mix and match objc and objc++ code. - Added GTMHotKeysTextField for display and editing of hot key settings. - Added GTMCarbonEvent for dealing with Carbon Events and HotKeys in a ObjC like way. - Backported the Atomic Barrier Swap functions for Objective C back to Tiger. - Added a variety of new functions to GTMUnitTestingUtilities for checking if the screensaver is in the way, waiting on user events, and generating keystrokes. - If you are using any Carbon routines that log (DebugStr, AssertMacros.h) and use GTMUnitTestDevLog, the log routines now go through _GTMDevLog so that they can be caught in GTMUnitTestDevLog and verified like any _GTMDevLog calls you may make. For an example of this in action see GTMCarbonEventTest.m. - Added GTMFileSystemKQueue. It provides a simple wrapper for kqueuing something in the file system and tracking changes to it. - RunIPhoneUnitTest.sh now cleans up the user home directory and creates a documents directory within it, used when requesting a NSDocumentDirectory. - Added GTMNSFileManager+Carbon which contains routines for path <-> Alias conversion and path <-> FSRef conversion. - Added GTMNSArray+Merge for merging one array into another with or without a custom merging function, returning a new array with the merged contents.
* - Added has ability to check if a script has an open handler to ↵Gravatar thomasvl@gmail.com2008-11-04
| | | | | | | | | GTMNSAppleScript+Handler. - GTMStackTrace support for building a trace from the call stack in an NSException (for 10.5+ and iPhone). - Added GTMUIFont+LineHeight. - Cleaned up some OS version checks to use constants instead of numbers directly.
* - Added GTMNSMakeUncollectable for forcing objects to survive in a GC world.Gravatar thomasvl@gmail.com2008-08-12
| | | | | | | | | | | | | | | | | - Added GTMCFAutorelease to make the [GTMNSMakeCollectable(cfFoo) autorelease] simpler and clearer, it's now just GTMCFAutorelease(cfFoo), and works in both GC and non-GC world. - Added GTMIsGarbageCollectionEnabled to GTMGarbageCollection.h. See the note there for it's usage. - Disabled the unittests for things on top of NSAppleScript in a GC world since Apple has bugs and it can crash. See the unittest for a note about it. - GTMStackTrace now can figure out ObjC symbols. Downside it is now ObjC only. - GTMFourCharCode can now be used with NSAppleEventDescriptors easily. typeType, typeKeyword, typeApplSignature, and typeEnumerated all get turned into GTMFourCharCodes. - Fixed up crash in GTMLoggerRingBufferWriter when used with GC on. - Significant updates to GTMNSAppleScript+Handler allowing you to list all handlers and properties (including inherited) and cleans up several errors in how scripting was being handled.
* Flush out suppport for 64bit, GC support.Gravatar thomasvl2008-05-09
| | | | | | | Added some more xcode configs related to the above. Removed some classes that the unittesting doesn't need (and aren't able to support 64bit). add base64, httpfetcher, and progress monitor stream.
* See the ReleaseNotes for the full details, highlights:Gravatar thomasvl2008-04-14
- bug fixes - code coverage support - more complete unittests - full support for unittesting UIs - support for the iphone sdk (include ui unittesting)