aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMServiceManagement.c
Commit message (Collapse)AuthorAge
* Add deprecation markings on GTMServiceManagement. (#207)Gravatar dmaclach2018-11-14
| | | Apple has deprecated ServiceManagment as of macOS 10.10 and iOS 8.0.
* 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.
* 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.
* 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.
* Make GTMSMJobRemove() have the same behavior on OSX 10.10+ as it has onGravatar thomasvl2015-01-27
| | | | | | | | | | 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+.
* Fix formatting for OS X 10.4 to avoid usage of %z and %t.Gravatar gtm.daemon2014-10-09
| | | | | | 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
* [Author: mmentovai]Gravatar gtm.daemon2012-08-03
| | | | | | | | | | | 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)
* [Author: dmaclach]Gravatar gtm.daemon2011-09-09
| | | | | | 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)
* [Author: mmentovai]Gravatar gtm.daemon2011-08-22
| | | | | | | | | | | | | | | | 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)
* [Author: dmaclach]Gravatar gtm.daemon2011-02-17
| | | | | | | 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)
* [Author: dmaclach]Gravatar gtm.daemon2011-02-11
| | | | | | Fix up HORRIBLE bug closing bad file descriptors. R=thomasvl DELTA=5 (1 added, 0 deleted, 4 changed)
* [Author: thomasvl]Gravatar gtm.daemon2010-11-22
| | | | | | | 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)
* [Author: dmaclach]Gravatar gtm.daemon2010-11-09
| | | | | | Clean up GTMServiceManagement when compiling 64 bit. R=thomasvl DELTA=5 (1 added, 0 deleted, 4 changed)
* [Author: dmaclach]Gravatar gtm.daemon2010-11-04
| | | | | | | Clean up GTMServiceManagement so that it works with sockets. Add better tests. R=thomasvl DELTA=478 (303 added, 109 deleted, 66 changed)
* [Author: dmaclach]Gravatar gtm.daemon2010-10-01
| | | | | | Fix up leak found by clang. R=thomasvl DELTA=5 (5 added, 0 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2010-10-01
| | | | | | Clean up GTMServiceManagement under clang. R=thomasvl DELTA=28 (12 added, 4 deleted, 12 changed)
* [Author: dmaclach]Gravatar gtm.daemon2010-08-31
| | | | | Turn off service management on 10.4 R=thomasvl
* [Author: dmaclach]Gravatar gtm.daemon2010-08-27
Initial look at GTMServiceManagement. Added tests and project changes. R=thomasvl DELTA=844 (840 added, 0 deleted, 4 changed)