external/google-toolbox-for-mac.git
12 days agoFix support for file extensions, due to off-by-1 error from not taking the period... master
gtm.daemon [Fri, 10 Oct 2014 20:00:07 +0000 (20:00 +0000)]
Fix support for file extensions, due to off-by-1 error from not taking the 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

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@692 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

13 days agoFix formatting for OS X 10.4 to avoid usage of %z and %t.
gtm.daemon [Thu, 9 Oct 2014 17:00:06 +0000 (17:00 +0000)]
Fix formatting for OS X 10.4 to avoid usage of %z and %t.
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

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@691 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

2 weeks agoUse 'iOS Simulator' for Xcode6 and 'iPhone Simulator' for earlier versions to kill...
gtm.daemon [Wed, 8 Oct 2014 15:30:05 +0000 (15:30 +0000)]
Use 'iOS Simulator' for Xcode6 and 'iPhone Simulator' for earlier versions to kill the simulator process.

DELTA=8 (7 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=sh=8

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@690 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

3 weeks agoUpdate XCTAssertNotEqualStrings and XCTAssertEqualStrings to use %zd.
gtm.daemon [Mon, 29 Sep 2014 22:00:06 +0000 (22:00 +0000)]
Update XCTAssertNotEqualStrings and XCTAssertEqualStrings to use %zd.

DELTA=2 (0 added, 0 deleted, 2 changed)
DELTA_BY_EXTENSION=h=2

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@689 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 weeks agoUse our constant instead of the system header one to avoid a deprecated warning.
gtm.daemon [Mon, 22 Sep 2014 13:00:10 +0000 (13:00 +0000)]
Use our constant instead of the system header one to avoid a deprecated warning.
Turn off deprecated warnings when we do have to use the symbols.

DELTA=17 (16 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=h=5,m=12

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@688 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 weeks agoQuote DEVELOPER_BIN_DIR in case it has spaces.
gtm.daemon [Mon, 22 Sep 2014 13:00:06 +0000 (13:00 +0000)]
Quote DEVELOPER_BIN_DIR in case it has spaces.

This is required if the Xcode path contains "Xcode6-Beta6 2.app" for example.

DELTA=1 (0 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=sh=1

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@687 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 weeks agoUpdated iossim from chromium (d7875158bb93ef51cc3bfc59e23ca35ed50c5042).
gtm.daemon [Wed, 27 Aug 2014 17:00:06 +0000 (17:00 +0000)]
Updated iossim from chromium (d7875158bb93ef51cc3bfc59e23ca35ed50c5042).
Adds support for Xcode 5.x and Xcode 6.
Note: Xcode 6 renamed the simulator device types, so any values being passed
will need to update.

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@686 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 weeks agoCGSizeZero is a constant, not a function.
gtm.daemon [Wed, 27 Aug 2014 15:00:08 +0000 (15:00 +0000)]
CGSizeZero is a constant, not a function.

DELTA=1 (0 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=m=1

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@685 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 weeks agoProtect against inserting nil into dictionaries.
gtm.daemon [Wed, 27 Aug 2014 14:00:06 +0000 (14:00 +0000)]
Protect against inserting nil into dictionaries.

The iOS 7 APIs for drawing strings require NSDictionary parameters
so make sure there's no way to insert a nil value when creating the
dictionaries or the app will crash.

DELTA=35 (10 added, 0 deleted, 25 changed)
DELTA_BY_EXTENSION=m=35

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@684 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 weeks agoRestore GTMFadeTruncatingLabel's ability to render text in any color other than
gtm.daemon [Tue, 26 Aug 2014 20:00:09 +0000 (20:00 +0000)]
Restore GTMFadeTruncatingLabel's ability to render text in any color other than
black.

DELTA=16 (14 added, 1 deleted, 1 changed)
DELTA_BY_EXTENSION=m=15

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@683 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

2 months agoFix compilation against iOS 7 deployment target.
gtm.daemon [Wed, 20 Aug 2014 18:00:16 +0000 (18:00 +0000)]
Fix compilation against iOS 7 deployment target.

DELTA=35 (34 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=m=35

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@682 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

2 months agoGeneral fixes for GTM.
gtm.daemon [Fri, 1 Aug 2014 20:30:07 +0000 (20:30 +0000)]
General fixes for GTM.
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

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@681 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

2 months agoTypo in XCTAssertEqualCStrings
gtm.daemon [Wed, 30 Jul 2014 20:00:06 +0000 (20:00 +0000)]
Typo in XCTAssertEqualCStrings

Means it doens't compile when that macro is used.

DELTA=1 (0 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=h=1

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@680 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

2 months agoAdd a comment pointing to Xcode 6's XCTestExpectation for testing asynchronous behavior.
gtm.daemon [Fri, 25 Jul 2014 19:00:10 +0000 (19:00 +0000)]
Add a comment pointing to Xcode 6's XCTestExpectation for testing asynchronous behavior.

DELTA=4 (4 added, 0 deleted, 0 changed)
DELTA_BY_EXTENSION=h=4

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@679 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 months agoFix up GTMSenTestCase so that it pulls in SenTestingKit on Xcode < 5.
gtm.daemon [Mon, 16 Jun 2014 22:30:07 +0000 (22:30 +0000)]
Fix up GTMSenTestCase so that it pulls in SenTestingKit on Xcode < 5.

DELTA=2 (1 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=h=2

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@678 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 months agoFix up GTMMethodCheck to work with ENABLE_STRICT_OBJC_MSGSEND=YES.
gtm.daemon [Mon, 9 Jun 2014 17:30:07 +0000 (17:30 +0000)]
Fix up GTMMethodCheck to work with ENABLE_STRICT_OBJC_MSGSEND=YES.
Also ignores another class which does not inherit from NSObject.

DELTA=4 (3 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=m=4

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@677 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 months agoFix up the gate on GTMSenTestCase and iOS 8 so that it is safer in case a new version of
gtm.daemon [Fri, 6 Jun 2014 16:30:05 +0000 (16:30 +0000)]
Fix up the gate on GTMSenTestCase and iOS 8 so that it is safer in case a new version of
Xcode 5 comes out with __IPHONE_8_0 declared in the iOS 7 SDK.

DELTA=2 (0 added, 0 deleted, 2 changed)
DELTA_BY_EXTENSION=h=2

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@676 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 months agoFix up the XCTest support in GTM
gtm.daemon [Wed, 4 Jun 2014 20:00:04 +0000 (20:00 +0000)]
Fix up the XCTest support in GTM

DELTA=42 (30 added, 0 deleted, 12 changed)
DELTA_BY_EXTENSION=h=42

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@675 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 months agoFixes 64-bit compile time warnings - googlemac/opensource/google-toolbox-for-mac/
gtm.daemon [Wed, 4 Jun 2014 14:00:05 +0000 (14:00 +0000)]
Fixes 64-bit compile time warnings - googlemac/opensource/google-toolbox-for-mac/

DELTA=1 (0 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=m=1

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@674 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 months agoCast NSComparisonResult to long before printing for 64-bit compatibility.
gtm.daemon [Wed, 4 Jun 2014 13:30:06 +0000 (13:30 +0000)]
Cast NSComparisonResult to long before printing for 64-bit compatibility.

DELTA=1 (0 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=h=1

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@673 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 months agoFix up broken GTMSenTestCase.h. Not sure what happened with the merge there.
gtm.daemon [Mon, 2 Jun 2014 17:30:05 +0000 (17:30 +0000)]
Fix up broken GTMSenTestCase.h. Not sure what happened with the merge there.

DELTA=47 (2 added, 2 deleted, 43 changed)
DELTA_BY_EXTENSION=h=42,m=3

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@672 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

4 months agoAdd support for XCTest (as opposed to OCUnit) to GTM. Define GTM_USING_XCTEST to...
gtm.daemon [Mon, 2 Jun 2014 16:30:07 +0000 (16:30 +0000)]
Add support for XCTest (as opposed to OCUnit) to GTM. Define GTM_USING_XCTEST to 1 to use it.

DELTA=486 (352 added, 0 deleted, 134 changed)
DELTA_BY_EXTENSION=h=467,m=15,mm=1,txt=3

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@671 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

5 months agoComment on the difference between GTMCFAutorelease and iOS 7's CFAutorelease. Update...
gtm.daemon [Sat, 26 Apr 2014 00:00:07 +0000 (00:00 +0000)]
Comment on the difference between GTMCFAutorelease and iOS 7's 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

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@670 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

6 months agoadd another exclude
thomasvl [Tue, 15 Apr 2014 15:17:45 +0000 (15:17 +0000)]
add another exclude

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@669 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

6 months agoAdd a different method for the notification vs. the delegate, but channel
gtm.daemon [Wed, 26 Mar 2014 16:24:08 +0000 (16:24 +0000)]
Add a different method for the notification vs. the delegate, but channel
  the two together after switching back to the application object.

DELTA=8  (6 added, 0 deleted, 2 changed)
RCL=63807817-p10
RDATE=2014/03/26 08:58:12

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@668 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

6 months agoReverting, change wasn't correct in all cases.
gtm.daemon [Wed, 26 Mar 2014 16:24:06 +0000 (16:24 +0000)]
Reverting, change wasn't correct in all cases.

RCL=63803810-p10
RDATE=2014/03/26 07:41:01

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@667 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

6 months agoPass correct UIApplication object to method runTestsAndExit:
gtm.daemon [Wed, 26 Mar 2014 12:00:19 +0000 (12:00 +0000)]
Pass correct UIApplication object to method runTestsAndExit:

DELTA=2  (0 added, 0 deleted, 2 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@666 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

7 months agoNew iossim to work with xcode 5.1 (and 5.0). It will *not* work for Xcode 4.x.
gtm.daemon [Thu, 13 Mar 2014 15:00:23 +0000 (15:00 +0000)]
New iossim to work with xcode 5.1 (and 5.0). It will *not* work for Xcode 4.x.

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@665 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

7 months agoadd another ignore
thomasvl [Mon, 10 Mar 2014 17:36:36 +0000 (17:36 +0000)]
add another ignore

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@664 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

7 months agoUpdating GTM test files to build for x86_64
gtm.daemon [Mon, 10 Mar 2014 15:30:06 +0000 (15:30 +0000)]
Updating GTM test files to build for x86_64

DELTA=12  (6 added, 0 deleted, 6 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@663 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

7 months agoMore -Wundef fixes for GTM (GTMLogger specifically)
gtm.daemon [Tue, 25 Feb 2014 20:00:11 +0000 (20:00 +0000)]
More -Wundef fixes for GTM (GTMLogger specifically)

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@662 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

7 months agoMore support for allowing GTM to compile with -Wundef.
gtm.daemon [Mon, 24 Feb 2014 20:30:07 +0000 (20:30 +0000)]
More support for allowing GTM to compile with -Wundef.

DELTA=8  (8 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@661 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

7 months agoFix up some cases of GTM not compiling with -Wundef on.
gtm.daemon [Fri, 21 Feb 2014 17:30:10 +0000 (17:30 +0000)]
Fix up some cases of GTM not compiling with -Wundef on.

DELTA=23  (16 added, 0 deleted, 7 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@660 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 months agoUse compile-time checks where possible for determining system version.
gtm.daemon [Thu, 13 Feb 2014 21:00:21 +0000 (21:00 +0000)]
Use compile-time checks where possible for determining system version.

DELTA=32  (32 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@659 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 months agoFix compilation warning when building for arm64
gtm.daemon [Tue, 11 Feb 2014 15:30:07 +0000 (15:30 +0000)]
Fix compilation warning when building for arm64

When building for arm64, NSInteger is a 64-bit value. Recommendations
are to either use "%ld" and cast the value to long or to use "%zd".
This patch uses "%zd" that work on both armv7 and arm64 as it avoid
doing a cast.

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@658 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 months agoUpdate GTMABAddressBook to use a non-deprecated address book creation function.
gtm.daemon [Wed, 5 Feb 2014 13:00:18 +0000 (13:00 +0000)]
Update GTMABAddressBook to use a non-deprecated address book creation function.

DELTA=6  (5 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@657 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 months agoFix integer formatting compiler warning when building for 64 bit architecture.
gtm.daemon [Wed, 29 Jan 2014 15:30:07 +0000 (15:30 +0000)]
Fix integer formatting compiler warning when building for 64 bit architecture.
The reason is NSInteger is defined as long for 64bit.

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@656 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 months agofixup
thomasvl [Tue, 28 Jan 2014 23:02:39 +0000 (23:02 +0000)]
fixup

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@655 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 months agoAdd BUILD files to GTM
gtm.daemon [Tue, 28 Jan 2014 23:00:20 +0000 (23:00 +0000)]
Add BUILD files to GTM

Note that these files should not be sync'd to the opensource world - I'm not sure how to avoid that happening

DELTA=924  (924 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@654 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

8 months agotweak to ignores
thomasvl [Tue, 28 Jan 2014 22:09:06 +0000 (22:09 +0000)]
tweak to ignores

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@653 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

9 months agoAdding integerValueForParameter to GTMURLBuilder.
gtm.daemon [Fri, 17 Jan 2014 20:00:18 +0000 (20:00 +0000)]
Adding integerValueForParameter to GTMURLBuilder.
Makes it symmetric with setIntegerValue.

DELTA=8  (8 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@652 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

9 months agoRemove spaces from target names
gtm.daemon [Tue, 14 Jan 2014 13:00:22 +0000 (13:00 +0000)]
Remove spaces from target names

DELTA=60  (0 added, 0 deleted, 60 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@651 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

10 months agoRemove obsolete 64-bit NSNumber utility methods.
gtm.daemon [Thu, 19 Dec 2013 21:30:24 +0000 (21:30 +0000)]
Remove obsolete 64-bit NSNumber utility methods.

DELTA=195  (9 added, 180 deleted, 6 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@650 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

10 months agoFix build of Mac GTM project with static analyzer. Remove GTMGarbageCollection. ...
gtm.daemon [Thu, 19 Dec 2013 21:30:10 +0000 (21:30 +0000)]
Fix build of Mac GTM project with static analyzer. Remove GTMGarbageCollection.  Remove GC build configs.  Remove internal dependence on GTMObjectSingleton.

DELTA=447  (49 added, 296 deleted, 102 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@649 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

10 months agoEnable code coverage for GTM test suite in iOS 7.
gtm.daemon [Tue, 26 Nov 2013 17:30:06 +0000 (17:30 +0000)]
Enable code coverage for GTM test suite in iOS 7.
Call gcov_flush at end of tests manually if GTMCodeCoverageApp is available to receive request.

DELTA=5  (5 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@648 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

10 months ago- Add gcov flushes that will happen within the test bundles to also capture
gtm.daemon [Tue, 26 Nov 2013 16:00:18 +0000 (16:00 +0000)]
- Add gcov flushes that will happen within the test bundles to also capture
  the coverage data there. Needed if you link some of your code directly into
  the test bundles or if you have code in headers (inlines, c++ templates, etc.)
- Add a preprocessor gate to only bring in the coverage support when enabled,
  lets you add the source, and then use a Xcode Configuration to control when
  it is needed, otherwise you can end up linking coverage into your Release
  builds.

DELTA=28  (28 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@647 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

11 months agoGet rid of extra semicolons in my previous change.
gtm.daemon [Wed, 13 Nov 2013 01:00:10 +0000 (01:00 +0000)]
Get rid of extra semicolons in my previous change.

DELTA=2  (0 added, 0 deleted, 2 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@646 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

11 months agoAdd GoogleTestRunner to GTM.
gtm.daemon [Tue, 12 Nov 2013 23:00:15 +0000 (23:00 +0000)]
Add GoogleTestRunner to GTM.
This allows you to easily mix and match SenTest with GoogleTest
https://code.google.com/p/googletest/
which is nice when working with C++ code.

Also adds GTMCodeCoverage which allows you to do code coverage with Xcode 5 and iOS7.

DELTA=424  (424 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@645 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

12 months agoPut expected-actual-diff image paths each alone on a line, so it’s easier to turn...
gtm.daemon [Tue, 22 Oct 2013 15:30:12 +0000 (15:30 +0000)]
Put expected-actual-diff image paths each alone on a line, so it’s easier to turn them into 'open' commands or to pick them out to open in other ways.

DELTA=3  (0 added, 0 deleted, 3 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@639 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

12 months agoImplement hash function for GTMURLBuilder
gtm.daemon [Thu, 3 Oct 2013 12:00:22 +0000 (12:00 +0000)]
Implement hash function for GTMURLBuilder

DELTA=4  (4 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@638 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

12 months agoioctl(FIONREAD, ...) can block. Switch to non-blocking IO and select(). Also,
gtm.daemon [Fri, 27 Sep 2013 19:30:07 +0000 (19:30 +0000)]
ioctl(FIONREAD, ...) can block. Switch to non-blocking IO and select(). Also,
don't assume task will read STDIN in one slurp.

DELTA=150  (101 added, 11 deleted, 38 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@637 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

12 months agoExtend the default timeout for killing apps and allow it to be controlled via
gtm.daemon [Fri, 27 Sep 2013 15:30:11 +0000 (15:30 +0000)]
Extend the default timeout for killing apps and allow it to be controlled via
  an environment variable.

DELTA=8  (6 added, 0 deleted, 2 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@636 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

12 months agoUpdated iossim binary to pick up the change in
gtm.daemon [Tue, 24 Sep 2013 15:30:10 +0000 (15:30 +0000)]
Updated iossim binary to pick up the change in
  https://src.chromium.org/viewvc/chrome?view=rev&revision=222918
to get better support for the iOS 7 simulator.

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@635 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

13 months agoUpdated the ARCH selector to match what Apple uses. Otherwise the Xcode UI gets
gtm.daemon [Wed, 11 Sep 2013 19:30:12 +0000 (19:30 +0000)]
Updated the ARCH selector to match what Apple uses. Otherwise the Xcode UI gets
two entries because of the different patterns (Apple now defaults to also
including this). All this needs to match is x86_64, arm64, and maybe ppc64.

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@634 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

13 months agoQuick GTMStackTrace fix.
gtm.daemon [Tue, 3 Sep 2013 17:00:20 +0000 (17:00 +0000)]
Quick GTMStackTrace fix.

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)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@631 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

13 months agoFix unset variables issue for user dir and env variables.
gtm.daemon [Fri, 30 Aug 2013 18:30:07 +0000 (18:30 +0000)]
Fix unset variables issue for user dir and env variables.

DELTA=18  (18 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@630 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

13 months agoRevert (script chokes if variables aren't set):
gtm.daemon [Fri, 30 Aug 2013 16:30:06 +0000 (16:30 +0000)]
Revert (script chokes if variables aren't set):
  pass optional home directory and environment variables to the iossim binary.

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@629 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

13 months agoPass optional home directory and environment variables to the iossim binary.
gtm.daemon [Fri, 30 Aug 2013 16:00:18 +0000 (16:00 +0000)]
Pass optional home directory and environment variables to the iossim binary.

DELTA=11  (11 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@628 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

13 months agoFix "Format string is not a string literal" compile error
gtm.daemon [Wed, 28 Aug 2013 14:00:45 +0000 (14:00 +0000)]
Fix "Format string is not a string literal" compile error

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@627 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

13 months agoUpdate the line break mode to use the updated constant, NSLineBreakByClipping, instea...
gtm.daemon [Fri, 23 Aug 2013 14:30:08 +0000 (14:30 +0000)]
Update the line break mode to use the updated constant, NSLineBreakByClipping, instead of UILineBreakModeClip.

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@626 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

15 months agoFix up some assertions so that they don't run into issues with format strings
gtm.daemon [Mon, 22 Jul 2013 20:30:08 +0000 (20:30 +0000)]
Fix up some assertions so that they don't run into issues with format strings
not being constants.

DELTA=32  (18 added, 0 deleted, 14 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@625 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

15 months agoFix up build breakage on older compilers in GTMScriptRunner.m
gtm.daemon [Thu, 11 Jul 2013 21:30:05 +0000 (21:30 +0000)]
Fix up build breakage on older compilers in GTMScriptRunner.m

DELTA=21  (11 added, 10 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@624 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

15 months agoFix for GTMScriptRunner: run:standardError: deadlocks with full error pipe -
gtm.daemon [Thu, 11 Jul 2013 17:00:19 +0000 (17:00 +0000)]
Fix for GTMScriptRunner: run:standardError: deadlocks with full error pipe -
(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)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@621 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

15 months agoAdding support for unit tests using ARC.
gtm.daemon [Tue, 9 Jul 2013 15:00:19 +0000 (15:00 +0000)]
Adding support for unit tests using ARC.

DELTA=11  (9 added, 0 deleted, 2 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@620 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

15 months agoFix up some compiler warnings.
gtm.daemon [Tue, 2 Jul 2013 21:00:18 +0000 (21:00 +0000)]
Fix up some compiler warnings.

DELTA=7  (0 added, 0 deleted, 7 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@619 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

15 months agoTurn on three warnings that were on in Pulse but not on for local development. Resolv...
gtm.daemon [Wed, 26 Jun 2013 13:30:10 +0000 (13:30 +0000)]
Turn on three warnings that were on in Pulse but not on for local development. Resolve a large collection of warnings generated by turning on SUSPICIOUS_IMPLICIT_CONVERSIONS which included the three warnings but also apparently extras.

QA:
No change should be observed.

TESTED=tests still pass
DELTA=155  (48 added, 61 deleted, 46 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@618 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

15 months agoDeprecate GTMObjectSingleton for 10.9/iOS 7 to force removal of the dependency from...
gtm.daemon [Mon, 24 Jun 2013 21:30:11 +0000 (21:30 +0000)]
Deprecate GTMObjectSingleton for 10.9/iOS 7 to force removal of the dependency from projects using it.

DELTA=8  (7 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@617 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

15 months ago Ensure +[GTMUILocalizerAndLayoutTweaker sizeToFitFixedHeightTextField:] sets an...
gtm.daemon [Mon, 24 Jun 2013 18:30:10 +0000 (18:30 +0000)]
 Ensure +[GTMUILocalizerAndLayoutTweaker sizeToFitFixedHeightTextField:] sets an integral size.

 When resizing labels it's possible to get fractional sizes. This CL fixes the problem by using integral values.

DELTA=17  (17 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@616 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

17 months agoAdded -[gtm_runUpToNSeconds:context:] to GTMFoundationUnitTestingUtilities.
gtm.daemon [Mon, 13 May 2013 20:00:22 +0000 (20:00 +0000)]
Added -[gtm_runUpToNSeconds:context:] to GTMFoundationUnitTestingUtilities.
Many people were using -[gtm_runUpToSixtySecondsWithContext:] which was fine
until you started to see multiple failures in a single build and it could take a
long time for a test pass to complete. 60 seconds is often much longer than
necessary to know that a failure condition has occurred.

DELTA=15  (15 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@613 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

17 months agoFix bug in GTMURLBuilder that doesn't handle url path with escaped characters. E...
gtm.daemon [Mon, 6 May 2013 21:30:09 +0000 (21:30 +0000)]
Fix bug in GTMURLBuilder that doesn't handle url path with escaped characters. E.g. 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)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@612 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

17 months agoFix:Analyzer complains that -[init] causes a call to calloc() with 0 as the number...
gtm.daemon [Fri, 3 May 2013 21:00:17 +0000 (21:00 +0000)]
Fix:Analyzer complains that -[init] causes a call to calloc() with 0 as the number of bytes, and calloc isn't defined for 0.

DELTA=6  (5 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@611 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

18 months agoIncrease the default timeout in the hope it works around problems testing
gtm.daemon [Mon, 22 Apr 2013 17:30:10 +0000 (17:30 +0000)]
Increase the default timeout in the hope it works around problems testing
  on VMs where it seems the newer simulator is taking longer to start.
Drop a TODO that the 10.8 defaults daemon is gonna make near impossible.

DELTA=3  (0 added, 2 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@610 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

18 months agoUpdate to a new version of Chromium's iossim that fixes the problem with
gtm.daemon [Wed, 17 Apr 2013 21:00:26 +0000 (21:00 +0000)]
Update to a new version of Chromium's iossim that fixes the problem with
  10.8's defaults daemon that was causing device types not to be honored.

DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@609 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

18 months agoMake GTMUILocalizer's IBOutlet fields @protected.
gtm.daemon [Wed, 3 Apr 2013 17:00:30 +0000 (17:00 +0000)]
Make GTMUILocalizer's IBOutlet fields @protected.

Private fields are turned into hidden symbols with the 64bit runtime,
so classes that are not in the same dylib / framework as GTMUILocalizer cannot
access these fields otherwise.

This is for http://crbug.com/190508

DELTA=2  (1 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@608 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

19 months agoTry and make scripted builds more stable by killing the app being launched to
gtm.daemon [Fri, 1 Mar 2013 16:00:18 +0000 (16:00 +0000)]
Try and make scripted builds more stable by killing the app being launched to
  make sure nothing is left between runs to cause problems for the next launch.

DELTA=24  (19 added, 0 deleted, 5 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@607 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

19 months agoRemove workaround for compiler bug from 2008.
gtm.daemon [Mon, 25 Feb 2013 20:30:06 +0000 (20:30 +0000)]
Remove workaround for compiler bug from 2008.

Tested:
  The Apple bug report, rdar://6394306 title="Xcode generates bad Arm code if -fstack-protector -fstack-protector-all" had attached to it a test program showing Xcode 3 was broken. Since the test passes now, Xcode 4 appears fixed.

DELTA=4  (0 added, 4 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@606 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoOnly use dlsym on the Mac side as it's not necessary to take any performance hit...
gtm.daemon [Wed, 20 Feb 2013 21:30:08 +0000 (21:30 +0000)]
Only use dlsym on the Mac side as it's not necessary to take any performance hit at startup on the iOS side.

DELTA=7  (7 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@605 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoNo need for [self class] in a class method.
gtm.daemon [Wed, 13 Feb 2013 17:30:09 +0000 (17:30 +0000)]
No need for [self class] in a class method.

DELTA=26  (0 added, 0 deleted, 26 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@604 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoFix nonnull detection on older GCC.
gtm.daemon [Thu, 31 Jan 2013 13:00:21 +0000 (13:00 +0000)]
Fix nonnull detection on older GCC.

DELTA=6  (4 added, 0 deleted, 2 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@603 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoFix GTM_NONNULL macro to properly support multiple non-null parameters, like __attrib...
gtm.daemon [Thu, 31 Jan 2013 01:00:15 +0000 (01:00 +0000)]
Fix GTM_NONNULL macro to properly support multiple non-null parameters, like __attribute__((nonnull(1,2,3)))

DELTA=5  (4 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@602 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoRemove the second copy of the testing image, fix the project to reference
gtm.daemon [Tue, 29 Jan 2013 22:00:17 +0000 (22:00 +0000)]
Remove the second copy of the testing image, fix the project to reference
  the right one.

DELTA=6  (4 added, 2 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@601 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoSilence a few more warnings about non-NSObject classes in various SDKs.
gtm.daemon [Mon, 28 Jan 2013 19:00:18 +0000 (19:00 +0000)]
Silence a few more warnings about non-NSObject classes in various SDKs.

DELTA=3  (3 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@600 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoAllow GTMMethodCheck to compile under ARC, avoiding the need for
gtm.daemon [Thu, 24 Jan 2013 20:00:19 +0000 (20:00 +0000)]
Allow GTMMethodCheck to compile under ARC, avoiding the need for
-fno-objc-arc everywhere it might be used.

DELTA=9  (8 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@599 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoOn second thought, drop the OS X support for now.
gtm.daemon [Wed, 23 Jan 2013 03:12:46 +0000 (03:12 +0000)]
On second thought, drop the OS X support for now.

DELTA=31  (1 added, 29 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@598 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months agoFixup for the testing helper for OS X:
gtm.daemon [Wed, 23 Jan 2013 03:12:37 +0000 (03:12 +0000)]
Fixup for the testing helper for OS X:
- Get NSImage defined.
- Add framework to linking.

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@597 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

20 months ago[Author: thorogood]
gtm.daemon [Tue, 22 Jan 2013 21:00:16 +0000 (21:00 +0000)]
[Author: thorogood]

Adds [GTMTestCase imageFromResource:], as a helper method during tests.

R=thomasvl
APPROVED=thomasvl
DELTA=46  (44 added, 0 deleted, 2 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@596 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

21 months ago[Author: thomasvl]
gtm.daemon [Thu, 3 Jan 2013 18:30:08 +0000 (18:30 +0000)]
[Author: thomasvl]

Fix up one compile warning found by Xcode.
Use the newer directive to fix up the unittest bundle ids (flagged by
  newer Xcodes).
Force the deployment version to 10.5 to avoid a bunch of the color sync
  dep. notices.

R=dmaclach
DELTA=7  (2 added, 0 deleted, 5 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@595 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

21 months ago[Author: thomasvl]
gtm.daemon [Wed, 2 Jan 2013 13:00:13 +0000 (13:00 +0000)]
[Author: thomasvl]

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)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@594 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

22 months ago[Author: aharper]
gtm.daemon [Thu, 20 Dec 2012 01:00:16 +0000 (01:00 +0000)]
[Author: aharper]

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)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@593 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

22 months ago[Author: aharper]
gtm.daemon [Tue, 18 Dec 2012 19:00:17 +0000 (19:00 +0000)]
[Author: aharper]

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)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@592 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

22 months ago[Author: aharper]
gtm.daemon [Tue, 18 Dec 2012 00:30:10 +0000 (00:30 +0000)]
[Author: aharper]

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)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@591 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

22 months ago[Author: thomasvl]
gtm.daemon [Fri, 14 Dec 2012 15:00:13 +0000 (15:00 +0000)]
[Author: thomasvl]

Update the iossim binary to get one with -d for different simulator types.

R=dmaclach
DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@590 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

22 months agoCFRunLoopStop does NOT act like "join" and block until the thread is stopped.
thomasvl [Sun, 9 Dec 2012 01:12:24 +0000 (01:12 +0000)]
CFRunLoopStop does NOT act like "join" and block until the thread is stopped.
Use a lock to wait before returning.

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@589 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

22 months ago[Author: thomasvl]
gtm.daemon [Mon, 3 Dec 2012 13:00:21 +0000 (13:00 +0000)]
[Author: thomasvl]

@impl doesn't need the superclass.

R=dmaclach
DELTA=2  (1 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@588 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

23 months ago[Author: altse]
gtm.daemon [Fri, 16 Nov 2012 21:00:16 +0000 (21:00 +0000)]
[Author: altse]

Fix typo with GTM_USE_TEST_AFTER_BUILD in comments.

R=thomasvl
APPROVED=thomasvl
DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@587 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

23 months ago[Author: aharper]
gtm.daemon [Thu, 15 Nov 2012 01:30:06 +0000 (01:30 +0000)]
[Author: aharper]

Pick up missing define for iPhone.

R=dmaclach
APPROVED=dmaclach
DELTA=1  (1 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@586 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

23 months ago[Author: aharper]
gtm.daemon [Thu, 15 Nov 2012 01:00:14 +0000 (01:00 +0000)]
[Author: aharper]

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)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@585 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

23 months ago[Author: dmaclach]
gtm.daemon [Wed, 14 Nov 2012 21:00:10 +0000 (21:00 +0000)]
[Author: dmaclach]

Fix GTMNSThread+Blocks compiling on older compilers.

R=thomasvl
DELTA=12  (6 added, 6 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@584 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

23 months ago[Author: dmaclach]
gtm.daemon [Wed, 14 Nov 2012 19:30:11 +0000 (19:30 +0000)]
[Author: dmaclach]

Add GTMSimpleWorkerThread for easily creating a thread that just handles blocks and performSelector calls.

R=thomasvl
DELTA=52  (52 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@583 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3

2 years ago[Author: kbongort]
gtm.daemon [Mon, 15 Oct 2012 13:30:09 +0000 (13:30 +0000)]
[Author: kbongort]

Ensure that |returnBuffer| is freed.

R=thomasvl
APPROVED=thomasvl
DELTA=1  (1 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@582 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3