| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This has come up on issues #130 and #138.
|
|
|
|
| |
Same as what is in UnitTesting/GTMIPhoneUnitTestMain.m.
|
| |
|
|
|
|
| |
Added -Wreserved-id-macro and but exclude existing nonconforming macros
|
|
|
|
| |
Fixed PodSpec for tvOS
|
|
|
|
| |
Support for tvOS
|
|\
| |
| | |
Remove trailing whitespaces
|
|/ |
|
|\
| |
| | |
Change include to import for GTMDefines
|
|/ |
|
|\
| |
| | |
Change file type from UTF16 to ASCII
|
|/ |
|
|\
| |
| | |
Bump the pod version to do a release
|
|/ |
|
|\
| |
| | |
Sentest cleanup
|
| |
| |
| |
| | |
SENTEST as a framework doesn't exist anymore so there's no point in supporting it.
|
|/ |
|
|\
| |
| | |
fix typo of stray comma
|
|/ |
|
|\
| |
| | |
Version bump for the podspec
|
|/ |
|
|\
| |
| | |
First cut at pruning things/updating things.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Small updates
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Tweak version to do a pod push
|
|/ |
|
|\
| |
| | |
Merging back three updates
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
GTMServiceManagement.c: Don't use Gestalt() when targeting 10.8+
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
Improve the casing macros
|
|/
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Add missing super awakeFromNib to GTMFadeTruncatingLabel and GTMUILocalizer
|
|/ |
|
|\
| |
| | |
Remove GTM_PERFORM_KVO_CHECKS.
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
Remove GTMGarbageCollection.h
|
|/ |
|
|\
| |
| | |
Testing/Utils updates
|
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| | |
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
Fix GTMGeometry builds on 64 bit OS X where CG and NS struct sizes may differ.
|
|/
|
|
|
|
|
|
|
|
| |
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
|