aboutsummaryrefslogtreecommitdiff
path: root/Foundation
Commit message (Collapse)AuthorAge
...
* 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.
* 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.
* Remove GTMGarbageCollection.hGravatar Thomas Van Lenten2016-04-29
|
* Update GTMDebugThreadValidation with general queue support.Gravatar Thomas Van Lenten2016-04-29
|
* 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
* On iOS devices allow the current user/app to read the log messages it generates.Gravatar Thomas Van Lenten2016-02-23
|
* add some casts to objc_msgSendGravatar Thomas Van Lenten2016-02-23
|
* Export another unused symbols in category-only files for when they are used ↵Gravatar Thomas Van Lenten2016-01-26
| | | | in static libs to avoid linker warnings
* Export unused symbols in category-only files for when they are used in ↵Gravatar Thomas Van Lenten2016-01-12
| | | | static libs to avoid linker warnings
* Keep GTM building after clang r251041 when targeting 10.6Gravatar Thomas Van Lenten2015-11-03
|
* Add pointers to newer classes provided by the OSGravatar Thomas Van Lenten2015-09-08
|
* Fix up comments on filterGravatar Thomas Van Lenten2015-09-08
|
* 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+.
* Cache the verbosity level instead of fetching constantly.Gravatar thomasvl2014-10-29
|
* Fix support for file extensions, due to off-by-1 error from not taking the ↵Gravatar gtm.daemon2014-10-10
| | | | | | | | | | | | | | period into account for the total suffix-length to pass to mkstemps. Example failure: template = myTempXXX.ext pathExtension = "ext" [pathExtension length] = 3 Need for mkstemps: suffix-length = 4 (".ext") DELTA=6 (5 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=m=6
* 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
* General fixes for GTM.Gravatar gtm.daemon2014-08-01
| | | | | | | | | a) only define GTM_IPHONE_USE_SENTEST if it hasn't been defined on Mac. It's a horrible name, but it does control us using SENTEST instead of XCTest. b) Object is now found in the runtime on both iOS and MacOS c) MethodCheck had a potential memory leak DELTA=47 (18 added, 5 deleted, 24 changed) DELTA_BY_EXTENSION=h=30,m=12
* Comment on the difference between GTMCFAutorelease and iOS 7's ↵Gravatar gtm.daemon2014-04-26
| | | | | | CFAutorelease. Update GTM's definition of the standard OS X/iOS version macros. Remove GTMDefines dependency from GTMNSString+URLArguments and GTMURITemplate. DELTA=38 (27 added, 4 deleted, 7 changed) DELTA_BY_EXTENSION=h=23,m=11
* More -Wundef fixes for GTM (GTMLogger specifically)Gravatar gtm.daemon2014-02-25
| | | DELTA=1 (0 added, 0 deleted, 1 changed)
* Fix up some cases of GTM not compiling with -Wundef on.Gravatar gtm.daemon2014-02-21
| | | DELTA=23 (16 added, 0 deleted, 7 changed)
* Use compile-time checks where possible for determining system version.Gravatar gtm.daemon2014-02-13
| | | DELTA=32 (32 added, 0 deleted, 0 changed)
* Fix integer formatting compiler warning when building for 64 bit architecture.Gravatar gtm.daemon2014-01-29
| | | | | The reason is NSInteger is defined as long for 64bit. DELTA=1 (0 added, 0 deleted, 1 changed)
* Adding integerValueForParameter to GTMURLBuilder.Gravatar gtm.daemon2014-01-17
| | | | | Makes it symmetric with setIntegerValue. DELTA=8 (8 added, 0 deleted, 0 changed)
* Remove obsolete 64-bit NSNumber utility methods.Gravatar gtm.daemon2013-12-19
| | | DELTA=195 (9 added, 180 deleted, 6 changed)
* Fix build of Mac GTM project with static analyzer. Remove ↵Gravatar gtm.daemon2013-12-19
| | | | | GTMGarbageCollection. Remove GC build configs. Remove internal dependence on GTMObjectSingleton. DELTA=447 (49 added, 296 deleted, 102 changed)
* Implement hash function for GTMURLBuilderGravatar gtm.daemon2013-10-03
| | | DELTA=4 (4 added, 0 deleted, 0 changed)
* ioctl(FIONREAD, ...) can block. Switch to non-blocking IO and select(). Also,Gravatar gtm.daemon2013-09-27
| | | | | don't assume task will read STDIN in one slurp. DELTA=150 (101 added, 11 deleted, 38 changed)
* Quick GTMStackTrace fix.Gravatar gtm.daemon2013-09-03
| | | | | | | I noticed that the format specifier in GTMStackTrace was expecting to print out a hex address preceded by 0X, but the address won't actually be preceded by OX. Adding a # to the format specifier should fix this, I think. I'm not quite sure how to test this change...? DELTA=2 (0 added, 0 deleted, 2 changed)
* Fix up build breakage on older compilers in GTMScriptRunner.mGravatar gtm.daemon2013-07-11
| | | DELTA=21 (11 added, 10 deleted, 0 changed)
* Fix for GTMScriptRunner: run:standardError: deadlocks with full error pipe -Gravatar gtm.daemon2013-07-11
| | | | | | | (https://code.google.com/p/google-toolbox-for-mac/issues/detail?id=25) by applying patch from dlreese (https://code.google.com/p/google-toolbox-for-mac/issues/detail?id=25#c3) DELTA=150 (91 added, 58 deleted, 1 changed)
* Deprecate GTMObjectSingleton for 10.9/iOS 7 to force removal of the ↵Gravatar gtm.daemon2013-06-24
| | | | | dependency from projects using it. DELTA=8 (7 added, 0 deleted, 1 changed)
* Fix bug in GTMURLBuilder that doesn't handle url path with escaped ↵Gravatar gtm.daemon2013-05-06
| | | | | characters. E.g. http://www.google.com/path%3AA/path%3AB would become http://www.google.com/path%3AA/path%3AB/path:A/path:B DELTA=20 (14 added, 3 deleted, 3 changed)
* Fix:Analyzer complains that -[init] causes a call to calloc() with 0 as the ↵Gravatar gtm.daemon2013-05-03
| | | | | number of bytes, and calloc isn't defined for 0. DELTA=6 (5 added, 0 deleted, 1 changed)
* Only use dlsym on the Mac side as it's not necessary to take any performance ↵Gravatar gtm.daemon2013-02-20
| | | | | hit at startup on the iOS side. DELTA=7 (7 added, 0 deleted, 0 changed)
* No need for [self class] in a class method.Gravatar gtm.daemon2013-02-13
| | | DELTA=26 (0 added, 0 deleted, 26 changed)
* [Author: thomasvl]Gravatar gtm.daemon2013-01-02
| | | | | | | | Remove the GC support code. Add the needed images for the iOS unittests under iOS 6.0. Add a workspace file for the iPhone project. R=dmaclach DELTA=215 (85 added, 122 deleted, 8 changed)
* [Author: aharper]Gravatar gtm.daemon2012-12-20
| | | | | | | | Fix pthread_setname_np() call for empty strings (some OS versions don't handle NULL). R=dmaclach,thomasvl APPROVED=dmaclach DELTA=7 (6 added, 0 deleted, 1 changed)
* [Author: aharper]Gravatar gtm.daemon2012-12-18
| | | | | | | Move worker thread globals into the right #ifdef guard for SDK version. R=dmaclach,thomasvl APPROVED=thomasvl DELTA=8 (4 added, 4 deleted, 0 changed)
* [Author: aharper]Gravatar gtm.daemon2012-12-18
| | | | | | | | | | Improve worker thread implementation: - Handle more of the NSThread interface. - Allow cancel or stop before we've started. - Cache looked up pthread_setname_np symbol in thread local storage. R=dmaclach,thomasvl APPROVED=dmaclach DELTA=441 (339 added, 38 deleted, 64 changed)
* CFRunLoopStop does NOT act like "join" and block until the thread is stopped.Gravatar thomasvl2012-12-09
| | | | | Use a lock to wait before returning.
* [Author: aharper]Gravatar gtm.daemon2012-11-15
| | | | | | | Pick up missing define for iPhone. R=dmaclach APPROVED=dmaclach DELTA=1 (1 added, 0 deleted, 0 changed)
* [Author: aharper]Gravatar gtm.daemon2012-11-15
| | | | | | | | Exclude on 10.4 and only set name when pthread_setname_np is available (10.6 and later). R=dmaclach,thomasvl APPROVED=dmaclach DELTA=19 (17 added, 0 deleted, 2 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-11-14
| | | | | | Fix GTMNSThread+Blocks compiling on older compilers. R=thomasvl DELTA=12 (6 added, 6 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-11-14
| | | | | | Add GTMSimpleWorkerThread for easily creating a thread that just handles blocks and performSelector calls. R=thomasvl DELTA=52 (52 added, 0 deleted, 0 changed)
* [Author: kbongort]Gravatar gtm.daemon2012-10-15
| | | | | | | Ensure that |returnBuffer| is freed. R=thomasvl APPROVED=thomasvl DELTA=1 (1 added, 0 deleted, 0 changed)
* [Author: gblevins]Gravatar gtm.daemon2012-10-10
| | | | | | | Add explicit conversion to unichar so clang doesn't complain about an implicit conversion that loses percision. R=thomasvl APPROVED=thomasvl DELTA=2 (0 added, 0 deleted, 2 changed)
* [Author: aharper]Gravatar gtm.daemon2012-09-18
| | | | | | | | | Fix Mac compilation when __IPHONE_OS_VERSION_MIN_REQUIRED and __IPHONE_2_0 are undefined (and thus iphone condition was always true). Whitespace changes are just automatic cleanup in my editor. R=dmaclach APPROVED=dmaclach DELTA=2 (1 added, 0 deleted, 1 changed)
* [Author: craigwilkinson]Gravatar gtm.daemon2012-09-17
| | | | | | | Allow GTMStackTraceFromException for iOS >= 2.0 R=dmaclach APPROVED=dmaclach DELTA=5 (3 added, 0 deleted, 2 changed)
* [Author: param]Gravatar gtm.daemon2012-08-29
| | | | | | | Fix implicit conversion warnings. R=dmaclach,thomasvl APPROVED=dmaclach DELTA=9 (0 added, 0 deleted, 9 changed)
* [Author: grobbins]Gravatar gtm.daemon2012-08-13
| | | | | | | | Modernize GTMObjectSingleton: Use dispatch_once, make ARC compatible, remove non-allocation NSObject methods, remove dependence on GTMDevAssert, add link to Chris Hanson's discussion of singletons, add comment discouraging developers from using this header file. R=thomasvl APPROVED=thomasvl DELTA=75 (24 added, 39 deleted, 12 changed)