aboutsummaryrefslogtreecommitdiff
path: root/DebugUtils/GTMMethodCheck.m
Commit message (Collapse)AuthorAge
* Fix up GTM_METHOD_CHECK so that it doesn't need the objectivec runtime calls.Gravatar Thomas Van Lenten2016-09-16
|
* Rewrite GTMMethodChecker:Gravatar Thomas Van Lenten2016-08-05
| | | | | | | | | | Simplify logic, add more assertions, and to get rid of call via objc_msg_send. Should be significantly faster too. Some developers had seen crashes under some simulator that seemed to trace back to the checks, but there wasn't a clear pattern to them. This will hopefully resolve those also.
* Add _CNZombie_ and FigIrisAutoTrimmerMotionSampleExport to the know classesGravatar Thomas Van Lenten2016-01-04
|
* Extract the DL_info check before the loop because it doesn't depend on ↵Gravatar Thomas Van Lenten2015-09-21
| | | | anything in the loop.
* General fixes for GTM.Gravatar gtm.daemon2014-08-01
| | | | | | | | | a) only define GTM_IPHONE_USE_SENTEST if it hasn't been defined on Mac. It's a horrible name, but it does control us using SENTEST instead of XCTest. b) Object is now found in the runtime on both iOS and MacOS c) MethodCheck had a potential memory leak DELTA=47 (18 added, 5 deleted, 24 changed) DELTA_BY_EXTENSION=h=30,m=12
* Fix up GTMMethodCheck to work with ENABLE_STRICT_OBJC_MSGSEND=YES.Gravatar gtm.daemon2014-06-09
| | | | | | Also ignores another class which does not inherit from NSObject. DELTA=4 (3 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=m=4
* Silence a few more warnings about non-NSObject classes in various SDKs.Gravatar gtm.daemon2013-01-28
| | | DELTA=3 (3 added, 0 deleted, 0 changed)
* Allow GTMMethodCheck to compile under ARC, avoiding the need forGravatar gtm.daemon2013-01-24
| | | | | -fno-objc-arc everywhere it might be used. DELTA=9 (8 added, 0 deleted, 1 changed)
* [Author: mmentovai]Gravatar gtm.daemon2012-08-02
| | | | | | | | | | 10.8 SDK compatibility for GTM. |Object| is gone in Objective-C 2 in the 10.8 SDK, use |NSObject| instead as for iOS. R=dmaclach,thomasvl APPROVED=thomasvl DELTA=5 (2 added, 0 deleted, 3 changed)
* [Author: oster]Gravatar gtm.daemon2012-06-20
| | | | | | | | | | fix some type errors. Tested: Compiled and ran a text program R=thomasvl APPROVED=thomasvl DELTA=2 (0 added, 0 deleted, 2 changed)
* [Author: aharper]Gravatar gtm.daemon2012-01-20
| | | | | | Another Apple class that method check should ignore (Lion). R=dmaclach,thomasvl APPROVED=dmaclach
* [Author: dmaclach]Gravatar gtm.daemon2010-02-10
| | | | | | Clean up a pile of API upgrade warnings from clang, and the dead store. R=thomasvl DELTA=13 (0 added, 3 deleted, 10 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-08-24
| | | | | | Standardize how we call free. No need to check for NULL. R=thomasvl DELTA=24 (0 added, 13 deleted, 11 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-05-27
| | | | | | Fix for GTMMethodCheck under SnowLeopard so we don't get "Class __NSGenericDeallocHandler does not conform to @protocol(NSObject), so won't be checked" warnings. DELTA=1 (1 added, 0 deleted, 0 changed) R=thomasvl
* - GTM_INLINE will make sure a function gets inlined, and provides a consistentGravatar thomasvl@gmail.com2008-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | way for all GTM code to do it. - Added GTMDebugThreadValidation to allow you to enforce the fact that your code must run in the main thread in DEBUG builds. - Updated some internals of the iPhone unittesting so it doesn't double print the test descriptions, file names, or lines numbers of a test failure line. Also includes the test names in the error output. - Changed the xcconfigs so that know it's easier to set different settings at the different levels and not accidentally overwrite settings set at lower levels in the "settings collapse". Also tightened up warnings significantly. - Changed how gtm_unitTestExposedBindingsTestValues works. If you have an implementation of gtm_unitTestExposedBindingsTestValues in your own code you will need to update to the new way of calling. See implementations in GTMNSObject+BindingUnitTesting.m for details. - Added support for grabbing the build number for a particular OS in GTMSystemVersion and easily comparing it to known build numbers, and switched some types from in GTMSystemVersion from "int" to SInt32 to make 64 bit work better. - Added support for SnowLeopard (10A96). We build cleanly with the 10.6 SDKs and all radar checks were updated accordingly. Build All script was also updated to build on SnowLeopard if you have the SDK available. - Turned off building ppc64 GTM because the SnowLeopard SDK currently doesn't have ppc64 support, so SenTestCase isn't defined. This makes it impossible to build the ppc64 10.5 config on SnowLeopard. We have left the setting in the xcconfig for those of you who need it, but have disabled it in the GTM project settings. - Turned on stack smashing protection on the debug builds for all Leopard and above. - Added ability to easily do leak checking by defining the GTM_ENABLE_LEAKS environment variable. It isn't on by default because several of Apple's frameworks leak. You can work around these false positives by using the GTM_LEAKS_SYMBOLS_TO_IGNORE environment variable. Also if you turn on leaks make sure to turn off zombies by defining the GTM_DISABLE_ZOMBIES variable, otherwise every memory allocation you do will look like a leak.
* fix a bug w/ method check support.Gravatar thomasvl@gmail.com2008-07-29
| | | | | mark part of the logger+asl code as not feasible for testing. work around a unittesting marco catch w/ gc and __weak.
* Landing a log of AppleScript/AppleEvent support code.Gravatar thomasvl2008-06-13
| | | | | | | Landing GTMHTTPServer as a simple server but mainly for use in unittesting. _GTMCompileAssert for doing compile time assertions to GTMDefines.h Lots of improvments for UnitTesting, Dave's gonna put up a wiki page shortly with the full details of what can be done.
* 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)