aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 10.13 SDK (and iOS 11 equivalent) compatibility for GTMGravatar Mark Mentovai2017-07-10
| | | | | | | | | | | | | | | Starting in the 10.6 SDK, the non-underscored and all-lowercase macro names in <AssertMacros.h> were deprecated. In the 10.13 SDK shipping in Xcode 9 beta 3 (but not previous betas of Xcode 9), Apple has made good on its promise to eventually disable these names. Update GTM to use the new underscored mixed-case names. Provided that nobody needs to target anything older than the 10.5 SDK anymore, this should be a safe change. Aside from GTMCarbonEvent.m, which is used by Chrome, this change is untested, and was made by mechanically replacing uses of the various check, require, and verify macros found in GTM.
* Add default_subspecs to help avoid testing code ended up in apps.Gravatar Thomas Van Lenten2017-06-19
| | | | This has come up on issues #130 and #138.
* Provides a testing entitlements files.Gravatar Thomas Van Lenten2017-06-16
| | | | Same as what is in UnitTesting/GTMIPhoneUnitTestMain.m.
* Avoid error from reserved macro name for GTMRegex.hGravatar Sergio Campama2017-06-16
|
* Added -Wreserved-id-macro and but exclude existing nonconforming macros (#141)Gravatar brian-intuit2017-05-23
| | | | Added -Wreserved-id-macro and but exclude existing nonconforming macros
* Fixed PodSpec for tvOS (#140)Gravatar Mario Hahn2017-05-19
| | | | Fixed PodSpec for tvOS
* Support for tvOS (#139)Gravatar Mario Hahn2017-05-18
| | | | Support for tvOS
* Merge pull request #136 from sergiocampama/whiteGravatar Thomas Van Lenten2017-03-29
|\ | | | | Remove trailing whitespaces
| * Remove trailing whitespacesGravatar Sergio Campama2017-03-29
|/
* Merge pull request #135 from sergiocampama/copyGravatar Thomas Van Lenten2017-03-29
|\ | | | | Change include to import for GTMDefines
| * Change include to import for GTMDefinesGravatar Sergio Campama2017-03-29
|/
* Merge pull request #134 from sergiocampama/typeGravatar Thomas Van Lenten2017-03-14
|\ | | | | Change file type from UTF16 to ASCII
| * Change file type from UTF16 to ASCIIGravatar Sergio Campama2017-03-13
|/
* Merge pull request #131 from thomasvl/updateGravatar Thomas Van Lenten2017-01-11
|\ | | | | Bump the pod version to do a release
| * Bump the pod version to do a releaseGravatar Thomas Van Lenten2017-01-11
|/
* Merge pull request #129 from thomasvl/sentest_cleanupGravatar Thomas Van Lenten2016-12-05
|\ | | | | Sentest cleanup
| * First pass removing all deprecated uses of GTM_IPHONE_USE_SENTEST.Gravatar Thomas Van Lenten2016-12-05
| | | | | | | | SENTEST as a framework doesn't exist anymore so there's no point in supporting it.
| * s/GTMAddressBook/GTMABAddressBook/Gravatar Thomas Van Lenten2016-12-05
|/
* Merge pull request #127 from thomasvl/podspec_typoGravatar Thomas Van Lenten2016-10-07
|\ | | | | fix typo of stray comma
| * fix typo of stay commaGravatar Thomas Van Lenten2016-10-07
|/
* Merge pull request #126 from thomasvl/version_bumpGravatar Thomas Van Lenten2016-10-07
|\ | | | | Version bump for the podspec
| * Version bump for the podspecGravatar Thomas Van Lenten2016-10-07
|/
* Merge pull request #125 from thomasvl/gtm_cleanup_prune_round_oneGravatar Thomas Van Lenten2016-10-07
|\ | | | | First cut at pruning things/updating things.
| * 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.
* Merge pull request #124 from thomasvl/updateGravatar Thomas Van Lenten2016-09-16
|\ | | | | Small updates
| * Fix up GTM_METHOD_CHECK so that it doesn't need the objectivec runtime calls.Gravatar Thomas Van Lenten2016-09-16
| |
| * Fixes minor typo in comment.Gravatar Thomas Van Lenten2016-09-16
| |
| * Updates GTMSenTestCase to not return nil from a non-null annotated method.Gravatar Thomas Van Lenten2016-09-16
|/
* Merge pull request #122 from thomasvl/pod_version_bumpGravatar Thomas Van Lenten2016-08-05
|\ | | | | Tweak version to do a pod push
| * Tweak version to do a pod pushGravatar Thomas Van Lenten2016-08-05
|/
* Merge pull request #121 from thomasvl/updateGravatar Thomas Van Lenten2016-08-05
|\ | | | | Merging back three updates
| * Make GTMLogLevelFilter use KVO on GTMVerboseLogging in sharedUserDefaultsGravatar Thomas Van Lenten2016-08-05
| | | | | | | | | | | | | | | | | | This avoids checking if verbose logging is enabled on every user defaults change, and only does so when the verbose logging key changes. In sampling a few apps, this showed up as a hit when the app changes default (directly or via the System frameworks storing things). By using KVO for it it basically disappears from the samples.
| * Remove the direct dependency on SenTestFailureException.Gravatar Thomas Van Lenten2016-08-05
| |
| * 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.
* Merge pull request #120 from thomasvl/skip_gestaltGravatar Thomas Van Lenten2016-06-28
|\ | | | | GTMServiceManagement.c: Don't use Gestalt() when targeting 10.8+
| * GTMServiceManagement.c: Don't use Gestalt() when targeting 10.8+Gravatar Thomas Van Lenten2016-06-28
|/ | | | | | Gestalt() is deprecated with a 10.8 deployment target. Use the recommended replacement when deploying to 10.8 and 10.9, and just use a constant function when deploying to 10.10.
* Merge pull request #119 from thomasvl/cast_tweakGravatar Thomas Van Lenten2016-06-14
|\ | | | | Improve the casing macros
| * Improve the casing macrosGravatar Thomas Van Lenten2016-06-14
|/ | | | | | | | | | | Make GTM_STATIC_CAST(className, object) and GTM_DYNAMIC_CAST(className, object) return objects that are type-casted to className *, instead of id. This enables access to properties on the casted objects, e.g. GTM_STATIC_CAST(NSString, object).length which wouldn't work previously, since accessing .length on an id type (correctly) results in a compiler error.
* Merge pull request #118 from strangewiz/masterGravatar Thomas Van Lenten2016-06-14
|\ | | | | Add missing super awakeFromNib to GTMFadeTruncatingLabel and GTMUILocalizer
| * Add missing awakeFromNib to GTMFadeTruncatingLabel and GTMUILocalizerGravatar Justin Cohen2016-06-13
|/
* Merge pull request #117 from thomasvl/drop_kvo_checksGravatar Thomas Van Lenten2016-05-24
|\ | | | | Remove GTM_PERFORM_KVO_CHECKS.
| * Remove GTM_PERFORM_KVO_CHECKS.Gravatar Thomas Van Lenten2016-05-24
|/ | | | | | They have become too invasive and cause more issues than they were solving, especially on iOS where they seem to interact very badly with the accessibility provided by the OS.
* Merge pull request #115 from thomasvl/remove_gc_bitsGravatar Thomas Van Lenten2016-04-29
|\ | | | | Remove GTMGarbageCollection.h
| * Remove GTMGarbageCollection.hGravatar Thomas Van Lenten2016-04-29
|/
* Merge pull request #114 from thomasvl/updateGravatar Thomas Van Lenten2016-04-29
|\ | | | | Testing/Utils updates
| * Start updating the unittesting supportGravatar Thomas Van Lenten2016-04-29
| | | | | | | | | | | | | | - Remove GTM_ENABLE_LEAKS (pretty stale at this point). - Remove imageFromResource from GTMSenTestCase (asset catalogs, etc. have changed patterns). - Remove XCTest macros that are now supplied by XCTest directly. Checked back to Xcode 6.4 and they are built into XCTest. - Start removing SenTest support.
| * Update GTMDebugThreadValidation with general queue support.Gravatar Thomas Van Lenten2016-04-29
| |
| * Add GTMSynchronizationAsserts.h/m and a unit test file.Gravatar Thomas Van Lenten2016-04-29
|/ | | | | | These macros allow code to assert being in or not in a @sync-protected section, which is important when calling across methods or calling out to other classes or callbacks.
* Merge pull request #113 from thomasvl/updateGravatar Thomas Van Lenten2016-04-07
|\ | | | | Fix GTMGeometry builds on 64 bit OS X where CG and NS struct sizes may differ.
| * Fix GTMGeometry builds on 64 bit OS X where CG and NS struct sizes may differ.Gravatar Thomas Van Lenten2016-04-07
|/ | | | | | | | | | Remove GTMCGPointToNSPoint, GTMNSPointToCGPoint, GTMCGRectToNSRect, GTMCGSizeToNSSize Note that Apple's NSGeometry.h sometimes defines NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES so there's some reason to believe the CG and NS structs can compile incompatibly. Fix a typo in GTMSenTestCase.h