| Commit message (Collapse) | Author | Age |
|
|
| |
Apple has deprecated ServiceManagment as of macOS 10.10 and iOS 8.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
previous OSX versions.
In OSX 10.10+, launch_msg(LAUNCH_KEY_REMOVEJOB, ...) returns the error
EINPROGRESS if the job was running at the time it was removed. In OSX 10.9 and
earlier, the same function call returns success. This CL makes GTMSMJobRemove()
treat the error EINPROGRESS as success on OSX 10.10+.
|
|
|
|
|
|
| |
Change stringWithContentsOfFile to explicitly specify the encoding (again, 10.4 fix)
DELTA=85 (4 added, 2 deleted, 79 changed)
DELTA_BY_EXTENSION=c=3,m=80
|
|
|
|
|
|
|
|
|
|
|
| |
Fix error-case memory leak in GTMSMJobRemove.
GTMPerformOnLabel will create an error in &local_error when it returns
NULL, so there is no need to create yet another error in local_error.
It masks the error created by GTMPerformOnLabel, which is leaked.
R=dmaclach,thomasvl
APPROVED=thomasvl
DELTA=2 (0 added, 2 deleted, 0 changed)
|
|
|
|
|
|
| |
Clean up clang issues in GTM. The one in GTMABAddressBook is a weird one, that I'll try and file a bug on.
R=thomasvl
DELTA=92 (53 added, 6 deleted, 33 changed)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
launchctl on Mac OS X 10.7 ("Lion") requires launchd plist pathnames
to end in ".plist".
Files that don't end in plist result in launchctl printing this
message and ignoring the file:
launchctl: Dubious file. Not of type .plist (skipping):
/tmp/GTMServiceManagement.W3Pz4K
http://crbug.com/93274
R=dmaclach,thomasvl
APPROVED=thomasvl
DELTA=3 (1 added, 1 deleted, 1 changed)
|
|
|
|
|
|
|
| |
Fix up case where we were picking up an invalid errno value when the child process
was exiting with a bad exit status.
TBR=thomasvl
DELTA=9 (3 added, 0 deleted, 6 changed)
|
|
|
|
|
|
| |
Fix up HORRIBLE bug closing bad file descriptors.
R=thomasvl
DELTA=5 (1 added, 0 deleted, 4 changed)
|
|
|
|
|
|
|
| |
Move the CPP guard before the system headers, they don't all exist on 10.4,
so compile was failing.
TBR=dmaclach
DELTA=5 (3 added, 2 deleted, 0 changed)
|
|
|
|
|
|
| |
Clean up GTMServiceManagement when compiling 64 bit.
R=thomasvl
DELTA=5 (1 added, 0 deleted, 4 changed)
|
|
|
|
|
|
|
| |
Clean up GTMServiceManagement so that it works with sockets.
Add better tests.
R=thomasvl
DELTA=478 (303 added, 109 deleted, 66 changed)
|
|
|
|
|
|
| |
Fix up leak found by clang.
R=thomasvl
DELTA=5 (5 added, 0 deleted, 0 changed)
|
|
|
|
|
|
| |
Clean up GTMServiceManagement under clang.
R=thomasvl
DELTA=28 (12 added, 4 deleted, 12 changed)
|
|
|
|
|
| |
Turn off service management on 10.4
R=thomasvl
|
|
Initial look at GTMServiceManagement.
Added tests and project changes.
R=thomasvl
DELTA=844 (840 added, 0 deleted, 4 changed)
|