| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 duplicated test
R=thomasvl
APPROVED=thomasvl
|
|
|
|
|
|
| |
Add a log filter that filters by simple level comparisons.
R=dmaclach,thomasvl
APPROVED=dmaclach
|
|
|
|
|
|
| |
Fix up release decl so that clang doesn't complain.
R=thomasvl
DELTA=1 (0 added, 0 deleted, 1 changed)
|
|
|
|
|
|
|
|
|
| |
Logging doesn't get to call assert() or exit() even when its very sad. Logging
isn't in charge of killing the process. Internal exceptions need catching too.
Plus some minor cleanup along the way, and better handling of
GTMVerboseLogging in the environment.
R=dmaclach,thomasvl
APPROVED=thomasvl
|
|
|
|
|
|
|
| |
Get rid of warning in debug mode (%d used for NSUInteger). Just use
%lu instead and cast to unsigned long (largest NSUInteger can be).
R=dmaclach
APPROVED=dmaclach
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix ASL logging to reference the correct formatter (and then replace with
a new formatter).
- Format ASL messages to include information that would normally be present
in the standard formatter.
- Allow ASL writers to pass a facility string.
- Pretty up the function names in all logging, better matching NSAssert()
names (as one example).
- Don't throw if a logging filehandle is closed (SIGPIPE). Random exceptions
from logging is bad, m'kay?
R=thomasvl,dmaclach
APPROVED=thomasvl
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
Fix interaction of GTMFileSystemKqueue when the runloop isn't spinning. Also,
don't count on kCFSocketReadCallBack to keep calling us, empty the queue
whenever we can.
DELTA=93 (84 added, 0 deleted, 9 changed)
R=dmaclach,thomasvl
|
|
|
|
|
|
| |
Works around a compiler bug on x86_64.
R=thomasvl
DELTA=9 (1 added, 1 deleted, 7 changed)
|
|
|
|
|
|
|
| |
Fix for building GTM on Snow Leopard.
We were getting errors for being unable to protect buffers smaller than 8 chars.
R=aharper,thomasvl
DELTA=7 (4 added, 0 deleted, 3 changed)
|
|
|
|
|
|
|
|
| |
Fixes up build problem on gcc 4.0 release with Xcode 3.2.5
where it doesn't deal with "interesting" ascii in @"" constants
very well.
DELTA=35 (29 added, 0 deleted, 6 changed)
R=thomasvl
|
|
|
|
|
|
|
| |
Add include for objc/message.h as objc/runtime on the iOS SDK doesn't include it
so objc_msgSend symbol is not explicitly included.
R=thomasvl
DELTA=1 (1 added, 0 deleted, 0 changed)
|
|
|
|
|
|
| |
Add a cast to fix compiler warnings in release builds.
TBR=dmaclach
DELTA=1 (0 added, 0 deleted, 1 changed)
|
|
|
|
|
|
| |
Ensure main() always exists to avoid link errors.
TBR=dmaclach
DELTA=5 (2 added, 3 deleted, 0 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)
|
|
|
|
|
|
| |
We dropped these a long time ago, but apparently one header got left behind.
R=dmaclach
DELTA=22 (0 added, 22 deleted, 0 changed)
|
|
|
|
|
|
| |
Add URITemplate support.
R=dmaclach
DELTA=1084 (1083 added, 0 deleted, 1 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)
|
|
|
|
|
|
| |
Add a GTM_UNUSED macro to deal with issue on the mailing lists.
R=thomasvl
DELTA=7 (7 added, 0 deleted, 0 changed)
|
|
|
|
|
| |
Turn off service management on 10.4
R=thomasvl
|
|
|
|
|
|
|
|
|
|
|
| |
Removed iPhone/GTMABAddressBook in favor of AddressBook/GTMABAddressBook.
Removed Foundation/GTMHTTPServer and UnitTesting/GTMTestHTTPServer, they
are going to go live with the fetcher used by GData (since they were done
for that testing).
Removed Foundation/GTMBase64 and Foundation/GTMNSData+Hex in favor of
Foundation/GTMStringEncoding.
R=dmaclach
DELTA=5118 (13 added, 5105 deleted, 0 changed)
|
|
|
|
|
|
| |
Stupid mixup on my end.
R=thomasvl
DELTA=3 (1 added, 0 deleted, 2 changed)
|
|
|
|
|
|
|
| |
Initial look at GTMServiceManagement.
Added tests and project changes.
R=thomasvl
DELTA=844 (840 added, 0 deleted, 4 changed)
|
|
|
|
|
|
|
|
| |
Added GTMNSFileHandle+UniqueName for easily and safely creating temporary files and
unique directory names.
Modified some tests to use the new calls.
R=thomasvl
DELTA=420 (397 added, 16 deleted, 7 changed)
|
|
|
|
|
|
|
|
| |
Was running into weird bug (compiler?) that was causing this test to fail all of a sudden.
Small rewrite made it go away. I really don't know what would have caused it. Any ideas
appreciated.
R=thomasvl
DELTA=36 (18 added, 9 deleted, 9 changed)
|
|
|
|
|
|
| |
Adds necessary imports in case somebody wants to use GTM without precompiled headers.
R=dmaclach
DELTA=5 (5 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
| |
Fix up the script so that we can build the iPhone target independent of the Mac target so that we can clean up the
pulse config files to only build the one target without building multiple projects.
DELTA=649 (626 added, 6 deleted, 17 changed)
R=thomasvl
|
|
|
|
|
| |
Add missing include for 10.4 sdk.
TBR=dmaclach
|
|
|
|
|
|
| |
Add unsigned values to NSScanner.
R=thomasvl
DELTA=228 (228 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
| |
Forgot that CoreGraphics was not a top level framework on the Mac,
and is unnecessary to compile on the Mac.
R=thomasvl
DELTA=0 (0 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
| |
Turns on the undeclared-selector warning. This may cause builds to fail if they are using
our configs. Also cleaned up some whitespace issues.
R=thomasvl
DELTA=94 (71 added, 22 deleted, 1 changed)
|
|
|
|
|
|
|
| |
GTMHTTPServer - support port reuse, plain text responses
R=dmaclach,thomasvl
APPROVED=thomasvl
DELTA=70 (67 added, 0 deleted, 3 changed)
|
|
|
|
|
|
| |
Fix up build on Leopard.
R=thomasvl
DELTA=2 (2 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
|
| |
Cleans up builds of GTM on Snow Leopard with gcc 4.2.
Cleans up iPhone configs
Adds libgcov for Snow Leopard
Fixes up some small bugs.
R=thomasvl
DELTA=2028 (972 added, 990 deleted, 66 changed)
|
|
|
|
|
|
| |
Fix up issues in GTMNSFileManager+Path.
R=thomasvl
DELTA=9 (2 added, 2 deleted, 5 changed)
|
|
|
|
|
|
| |
Deprecate GTMPath
R=thomasvl
DELTA=51 (15 added, 32 deleted, 4 changed)
|
|
|
|
|
|
| |
Fixes up some more 10.6 issues.
R=thomasvl
DELTA=16 (11 added, 0 deleted, 5 changed)
|
|
|
|
|
| |
Fixes up HTTPServer on 10.6
R=thomasvl
|
|
|
|
|
|
|
|
|
| |
There are still a couple of errors occurring, but this fixes up the majority of stuff. I figured I'd send it out to you now to take
a look at in the morning, and then we can clean up the last couple of issues.
Not quite sure what to do about the naming of data files so that we can encompass ranges of system version (e.g. this file applies to
10.5 and 10.6 but not 10.4 or 10.7.
R=thomasvl
DELTA=10598 (10211 added, 70 deleted, 317 changed)
|
|
|
|
|
|
|
| |
Turned out that with inlining those methods I needed to change how the were
declared. Sigh.
DELTA=41 (27 added, 5 deleted, 9 changed)
R=thomasvl
|
|
|
|
|
|
|
| |
So I can get around warnings on CoverStory on SnowLeopard. Hopefully Apple
will fix this on their end and we can drop back to NSLocalizedString
in future SDKs.
R=thomasvl
|
|
|
|
|
|
|
|
| |
refactor GTMUnitTestingUtilities into GTMAppKitUnitTestingUtilties and GTMFoundationUnitTestingUtilities.
convert GTMSignalHandler over to using new runloop routines
fix bug in GTMSignalHandler API with GC where releasing it wasn't sufficient to stop it listening.
R=thomasvl
DELTA=1227 (638 added, 566 deleted, 23 changed)
|
|
|
|
|
|
|
| |
Should fix up the GTM build problems. I hadn't noticed the leak that would
occur in the release case.
R=thomasvl
DELTA=3 (0 added, 2 deleted, 1 changed)
|
|
|
|
|
| |
Change the guards for the atomic ops, this seems to make all the iPhone SDKS that come with 3.1.3 happy. Will test 3.2 after landing this.
TBR=dmaclach
|
|
|
|
|
|
| |
#include <objc/objc-auto.h> for objc_atomicCompareAndSwapGlobalBarrier
R=thomasvl
DELTA=1 (1 added, 0 deleted, 0 changed)
|