aboutsummaryrefslogtreecommitdiff
path: root/Foundation
Commit message (Collapse)AuthorAge
* 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)
* [Author: thomasvl]Gravatar gtm.daemon2012-08-09
| | | | | Remove unneeded import. TBR=dmaclach
* [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: ejw]Gravatar gtm.daemon2012-07-31
| | | | | | | Remove analyzer warning for returning released memory. R=thomasvl APPROVED=thomasvl DELTA=4 (4 added, 0 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-07-26
| | | | | | Fix up final GTM issues that I know of for format. TBR=thomasvl DELTA=16 (16 added, 0 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-07-26
| | | | | | Turn off warnings on gcc. Leave them on on clang. R=thomasvl DELTA=32 (30 added, 2 deleted, 0 changed)
* [Author: horia]Gravatar gtm.daemon2012-07-25
| | | | | | | removing inconsistent and confusing URLWithString method R=dmaclach APPROVED=dmaclach DELTA=26 (0 added, 21 deleted, 5 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-07-24
| | | | | | Some more google toolbox cleanup. TBR=thomasvl DELTA=25 (6 added, 2 deleted, 17 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-07-24
| | | | | | Clean up all of our format string issues amongst some other fun stuff. R=thomasvl DELTA=167 (90 added, 8 deleted, 69 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-06-21
| | | | | | Add header back in attempt to fix build. TBR=thomasvl DELTA=2 (2 added, 0 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-06-21
| | | | | | | | | Clean up some basic issues in GTM. Also removes GTMUniqueFileObjectPathBasedOn which depended on mktemp which is bad. R=thomasvl DELTA=55 (6 added, 32 deleted, 17 changed)
* [Author: thomasvl]Gravatar gtm.daemon2012-06-14
| | | | | Fix place attributes aren't passed for older Mac OS versions. TBR=dmaclach
* [Author: thomasvl]Gravatar gtm.daemon2012-06-14
| | | | | Missing semi for old Mac OS SDKs. TBR=dmaclach
* [Author: thomasvl]Gravatar gtm.daemon2012-06-14
| | | | | | Small fixes for iOS. R=dmaclach DELTA=8 (0 added, 2 deleted, 6 changed)
* [Author: thomasvl]Gravatar gtm.daemon2012-06-14
| | | | | Fix wrong CPP gate. TBR=dmaclach
* [Author: thomasvl]Gravatar gtm.daemon2012-06-14
| | | | | | Pile of fixes for trunk version of clang. R=dmaclach DELTA=59 (26 added, 0 deleted, 33 changed)
* [Author: mikemorton]Gravatar gtm.daemon2012-04-20
| | | | | | | Expose internal GTMLogger logging method for subclasses to override. R=thomasvl APPROVED=thomasvl DELTA=20 (9 added, 10 deleted, 1 changed)
* [Author: aharper]Gravatar gtm.daemon2012-04-04
| | | | | | Implement sel_isEqual R=dmaclach APPROVED=dmaclach
* [Author: thomasvl]Gravatar gtm.daemon2012-03-22
| | | | | | | SDK might allow blocks, but the code the test calls requires it (and 10.5 thread apis), so instead check the min versions before building the test. R=dmaclach DELTA=3 (0 added, 0 deleted, 3 changed)
* [Author: thomasvl]Gravatar gtm.daemon2012-03-22
| | | | | | Fix build for older SDKs. Rename parameter to avoid issue with extra compiler flags. TBR=dmaclach
* [Author: dmaclach]Gravatar gtm.daemon2012-03-21
| | | | | | Add a blocks API to NSThread. R=thomasvl,grobbins DELTA=238 (236 added, 1 deleted, 1 changed)
* [Author: thomasvl]Gravatar gtm.daemon2012-03-07
| | | | | | Fix up gate to match the ones above for handling older OS versions. R=dmaclach DELTA=2 (0 added, 0 deleted, 2 changed)
* [Author: thomasvl]Gravatar gtm.daemon2012-03-07
| | | | | | Skip sending -class to to self in class methods. R=dmaclach DELTA=3 (0 added, 0 deleted, 3 changed)
* [Author: msenesi]Gravatar gtm.daemon2012-03-01
| | | | | | Flexible builder for URLs. R=altse,dmaclach,thomasvl APPROVED=dmaclach
* [Author: dmaclach]Gravatar gtm.daemon2012-02-28
| | | | | | Add better error handling. R=thomasvl DELTA=13 (0 added, 0 deleted, 13 changed)