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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
gtm.daemon [Wed, 10 Oct 2012 20:00:16 +0000 (20:00 +0000)]
[Author: gblevins]
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)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@581
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 2 Oct 2012 21:00:15 +0000 (21:00 +0000)]
[Author: oster]
Add a comment explaining that this file is similar to something that Apple has now built in.
Tested:
n/a
R=thomasvl
APPROVED=thomasvl
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@580
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 18 Sep 2012 18:30:09 +0000 (18:30 +0000)]
[Author: aharper]
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)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@579
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 17 Sep 2012 21:00:16 +0000 (21:00 +0000)]
[Author: thomasvl]
Properly support top level parent view.
http://code.google.com/p/google-toolbox-for-mac/issues/detail?id=86
R=sail
DELTA=2 (0 added, 1 deleted, 1 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@578
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 17 Sep 2012 18:30:09 +0000 (18:30 +0000)]
[Author: craigwilkinson]
Allow GTMStackTraceFromException for iOS >= 2.0
R=dmaclach
APPROVED=dmaclach
DELTA=5 (3 added, 0 deleted, 2 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@577
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
thomasvl [Sat, 8 Sep 2012 21:23:36 +0000 (21:23 +0000)]
type fixup
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@576
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 29 Aug 2012 21:00:19 +0000 (21:00 +0000)]
[Author: param]
Fix implicit conversion warnings.
R=dmaclach,thomasvl
APPROVED=dmaclach
DELTA=9 (0 added, 0 deleted, 9 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@575
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 15 Aug 2012 12:00:29 +0000 (12:00 +0000)]
[Author: grobbins]
Add a reset method to the boolean run loop context since, between tests, [context reset] looks more natural than [context setShouldStop:NO] and is more concise than allocating a new context.
R=thomasvl
APPROVED=dmaclach
DELTA=5 (5 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@573
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 14 Aug 2012 22:00:17 +0000 (22:00 +0000)]
[Author: dpb]
Avoid warning of dead store to self when using GTMInvalidateInitializer with
ARC.
R=dmaclach
APPROVED=dmaclach
DELTA=1 (1 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@572
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 13 Aug 2012 21:30:12 +0000 (21:30 +0000)]
[Author: grobbins]
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)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@571
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Fri, 10 Aug 2012 17:30:11 +0000 (17:30 +0000)]
[Author: thomasvl]
Updated iossim with support for controlling the startup timeout.
Add env variable to the test runner to allow control of the startup timeout.
R=dmaclach
DELTA=18 (7 added, 0 deleted, 11 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@570
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 9 Aug 2012 12:00:28 +0000 (12:00 +0000)]
[Author: thomasvl]
Remove unneeded import.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@569
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 6 Aug 2012 21:30:11 +0000 (21:30 +0000)]
[Author: thomasvl]
But in a version check and error out if the Xcode version appears to be
too new for support the way unittests are run.
R=dmaclach
DELTA=15 (14 added, 0 deleted, 1 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@568
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 6 Aug 2012 19:30:10 +0000 (19:30 +0000)]
[Author: thomasvl]
Take 2: Overhaul how iOS unittests are run.
Newer versions of Xcode have changes in the Simulator and supporting
frameworks so the way GTM had been running unittests no longer works.
The Simulator frameworks bail on launch with a zero exit code, so unless
you look at the raw output, you don't even notice the tests no longer
run.
This new way comes from the work done in Chromium to actually launch the
unittests fully under the simulator to get them a much more realistic
environment. It also takes what was learned there about getting the output
of the binary and how to deal with all the different ways a test and the
simulator can fail to start along with all the different ways the failures/
crashing of the app can come back.
There are some new env variables that let you force a version of the
simulator (assuming it is installed) along with one to say if you want to
run under iPhone or iPad.
- Land a copy of the Chromium iossim util.
- Land RuniOSUnitTestsUnderSimulator that uses iossim, projects have to be
moved over to use it.
R=dmaclach
DELTA=227 (227 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@567
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 6 Aug 2012 14:30:09 +0000 (14:30 +0000)]
[Author: thomasvl]
Reverting changes for launching tests due to some errors not seen in
testing before hand.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@565
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 6 Aug 2012 14:00:20 +0000 (14:00 +0000)]
[Author: thomasvl]
Overhaul how iOS unittests are run.
Newer versions of Xcode have changes in the Simulator and supporting
frameworks so the way GTM had been running unittests no longer works.
The Simulator frameworks bail on launch with a zero exit code, so unless
you look at the raw output, you don't even notice the tests no longer
run.
This new way comes from the work done in Chromium to actually launch the
unittests fully under the simulator to get them a much more realistic
environment. It also takes what was learned there about getting the output
of the binary and how to deal with all the different ways a test and the
simulator can fail to start along with all the different ways the failures/
crashing of the app can come back.
There are some new env variables that let you force a version of the
simulator (assuming it is installed) along with one to say if you want to
run under iPhone or iPad.
- Land a copy of the Chromium iossim util.
- Convert RunIPhoneUnitTest over to use iossim.
R=dmaclach
DELTA=201 (79 added, 77 deleted, 45 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@564
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Fri, 3 Aug 2012 15:30:12 +0000 (15:30 +0000)]
[Author: mmentovai]
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)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@563
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 2 Aug 2012 22:30:15 +0000 (22:30 +0000)]
[Author: mmentovai]
10.8 SDK compatibility for GTM.
|Object| is gone in Objective-C 2 in the 10.8 SDK, use |NSObject|
instead as for iOS.
R=dmaclach,thomasvl
APPROVED=thomasvl
DELTA=5 (2 added, 0 deleted, 3 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@562
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 31 Jul 2012 16:00:20 +0000 (16:00 +0000)]
[Author: ejw]
Remove analyzer warning for returning released memory.
R=thomasvl
APPROVED=thomasvl
DELTA=4 (4 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@561
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Fri, 27 Jul 2012 20:00:20 +0000 (20:00 +0000)]
[Author: thomasvl]
Fix up string to match. Probably a stray delete we missed.
R=dmaclach
DELTA=1 (0 added, 0 deleted, 1 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@560
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 26 Jul 2012 21:00:23 +0000 (21:00 +0000)]
[Author: dmaclach]
Fix up final GTM issues that I know of for format.
TBR=thomasvl
DELTA=16 (16 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@559
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 26 Jul 2012 20:30:11 +0000 (20:30 +0000)]
[Author: dmaclach]
Fix up another case of bad format string handling by various versions of Xcode.
R=thomasvl
DELTA=15 (15 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@558
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 26 Jul 2012 20:00:23 +0000 (20:00 +0000)]
[Author: dmaclach]
Fix up GTM for Xcode 4.2
R=thomasvl
DELTA=9 (9 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@557
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 26 Jul 2012 17:30:12 +0000 (17:30 +0000)]
[Author: dmaclach]
Turn off warnings on gcc. Leave them on on clang.
R=thomasvl
DELTA=32 (30 added, 2 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@556
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 26 Jul 2012 14:00:20 +0000 (14:00 +0000)]
[Author: thomasvl]
Fix up one more format string
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@555
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 26 Jul 2012 12:00:23 +0000 (12:00 +0000)]
[Author: dmaclach]
Clean up GTMSenTestCase so that the format strings work correctly
Get rid of a lot of bad whitespace.
TBR=thomasvl
DELTA=218 (0 added, 0 deleted, 218 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@554
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 25 Jul 2012 12:00:21 +0000 (12:00 +0000)]
[Author: horia]
removing inconsistent and confusing URLWithString method
R=dmaclach
APPROVED=dmaclach
DELTA=26 (0 added, 21 deleted, 5 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@553
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 24 Jul 2012 22:00:34 +0000 (22:00 +0000)]
[Author: dmaclach]
Some more google toolbox cleanup.
TBR=thomasvl
DELTA=25 (6 added, 2 deleted, 17 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@552
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 24 Jul 2012 22:00:30 +0000 (22:00 +0000)]
[Author: thomasvl]
Remove some more per file compiler flags that shouldn't be needed now.
R=dmaclach
DELTA=4 (0 added, 0 deleted, 4 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@551
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 24 Jul 2012 20:30:18 +0000 (20:30 +0000)]
[Author: dmaclach]
Clean up all of our format string issues amongst some other fun stuff.
R=thomasvl
DELTA=167 (90 added, 8 deleted, 69 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@550
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 23 Jul 2012 20:00:17 +0000 (20:00 +0000)]
[Author: thomasvl]
Add a CPP gate to prevent the install of the atexit hook for running
leaks.
R=dmaclach
DELTA=2 (0 added, 0 deleted, 2 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@549
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 18 Jul 2012 18:30:15 +0000 (18:30 +0000)]
[Author: aharper]
Disable COPY_PHASE_STRIP so we don't corrupt signed binaries.
R=dmaclach,thomasvl
APPROVED=thomasvl
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@548
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 26 Jun 2012 15:00:19 +0000 (15:00 +0000)]
[Author: dmaclach]
Add Quaternions to our list of things the GTMSenTestCase can handle.
R=fvaucher
DELTA=3 (3 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@547
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 21 Jun 2012 23:30:12 +0000 (23:30 +0000)]
[Author: dmaclach]
Add header back in attempt to fix build.
TBR=thomasvl
DELTA=2 (2 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@546
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 21 Jun 2012 21:30:11 +0000 (21:30 +0000)]
[Author: dmaclach]
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)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@545
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 20 Jun 2012 21:00:18 +0000 (21:00 +0000)]
[Author: oster]
fix some type errors.
Tested:
Compiled and ran a text program
R=thomasvl
APPROVED=thomasvl
DELTA=2 (0 added, 0 deleted, 2 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@544
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 15:30:11 +0000 (15:30 +0000)]
[Author: thomasvl]
Fix place attributes aren't passed for older Mac OS versions.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@543
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 15:30:08 +0000 (15:30 +0000)]
[Author: thomasvl]
Remove the format on the impl, older compilers don't like it.
TBR=mikemorton
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@542
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 15:00:14 +0000 (15:00 +0000)]
[Author: thomasvl]
Missing semi for old Mac OS SDKs.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@541
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 14:30:16 +0000 (14:30 +0000)]
[Author: thomasvl]
Small fixes for iOS.
R=dmaclach
DELTA=8 (0 added, 2 deleted, 6 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@540
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 14:30:10 +0000 (14:30 +0000)]
[Author: thomasvl]
Fix wrong CPP gate.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@539
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 12:00:40 +0000 (12:00 +0000)]
[Author: thomasvl]
Removing the checks until I can test with more local builds to confirm
it works, to many combinations that can break it seems.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@538
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 12:00:37 +0000 (12:00 +0000)]
[Author: thomasvl]
One more shot at working with older compilers.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@537
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 12:00:34 +0000 (12:00 +0000)]
[Author: thomasvl]
Trying to fix things for older compilers.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@536
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 14 Jun 2012 12:00:23 +0000 (12:00 +0000)]
[Author: thomasvl]
Pile of fixes for trunk version of clang.
R=dmaclach
DELTA=59 (26 added, 0 deleted, 33 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@535
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 17 May 2012 15:30:11 +0000 (15:30 +0000)]
[Author: levai]
Macro for invalidating initializers.
R=dmaclach
APPROVED=dmaclach
DELTA=18 (18 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@534
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Fri, 20 Apr 2012 18:30:11 +0000 (18:30 +0000)]
[Author: mikemorton]
Expose internal GTMLogger logging method for subclasses to override.
R=thomasvl
APPROVED=thomasvl
DELTA=20 (9 added, 10 deleted, 1 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@533
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Fri, 20 Apr 2012 12:00:25 +0000 (12:00 +0000)]
[Author: agrieve]
-Forward SYMROOT and friends in BuildUsingXCodeBuild.sh. They appear to be required in order for projects that #import generated files from sub-projects.
R=thomasvl
APPROVED=thomasvl
DELTA=6 (5 added, 0 deleted, 1 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@532
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 12 Apr 2012 17:30:13 +0000 (17:30 +0000)]
[Author: agrieve]
-Add logic to RunIPhoneUnitTest.sh to allow skipping tests based on the TEST_AFTER_BUILD variable
-Add a script to GTM for running the active target using xcodebuild, and enabling TEST_AFTER_BUILD.
R=thomasvl
APPROVED=thomasvl
DELTA=52 (51 added, 0 deleted, 1 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@531
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Fri, 6 Apr 2012 17:02:39 +0000 (17:02 +0000)]
[Author: dmaclach]
Add support for doing asserts on GLK types (GLKVector*, GLKMatrix*)
R=thomasvl
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@530
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 5 Apr 2012 17:32:34 +0000 (17:32 +0000)]
[Author: jonwall]
Change RunIPhoneUnitTest.sh to launch securityd directly.
This fixes a bug where keychain library functions called from unit tests
would fail after a period of inactivity. We will now launch the security
daemon via launchctl load with a custom plist configuration, rather than
via RunIPhoneLaunchDaemons.sh.
R=dmaclach,thomasvl
APPROVED=thomasvl
DELTA=159 (112 added, 44 deleted, 3 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@529
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 4 Apr 2012 00:02:43 +0000 (00:02 +0000)]
[Author: aharper]
Implement sel_isEqual
R=dmaclach
APPROVED=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@528
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 22 Mar 2012 18:30:11 +0000 (18:30 +0000)]
[Author: thomasvl]
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)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@527
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 22 Mar 2012 13:30:12 +0000 (13:30 +0000)]
[Author: thomasvl]
Fix build for older SDKs.
Rename parameter to avoid issue with extra compiler flags.
TBR=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@526
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 21 Mar 2012 20:00:20 +0000 (20:00 +0000)]
[Author: dmaclach]
Add a blocks API to NSThread.
R=thomasvl,grobbins
DELTA=238 (236 added, 1 deleted, 1 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@525
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 7 Mar 2012 19:30:08 +0000 (19:30 +0000)]
[Author: thomasvl]
Fix up gate to match the ones above for handling older OS versions.
R=dmaclach
DELTA=2 (0 added, 0 deleted, 2 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@524
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 7 Mar 2012 19:00:34 +0000 (19:00 +0000)]
[Author: thomasvl]
Tweak to what archs we default.
R=dmaclach
DELTA=6 (0 added, 2 deleted, 4 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@523
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 7 Mar 2012 17:30:12 +0000 (17:30 +0000)]
[Author: thomasvl]
Skip sending -class to to self in class methods.
R=dmaclach
DELTA=3 (0 added, 0 deleted, 3 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@522
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Thu, 1 Mar 2012 17:00:20 +0000 (17:00 +0000)]
[Author: msenesi]
Flexible builder for URLs.
R=altse,dmaclach,thomasvl
APPROVED=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@521
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 28 Feb 2012 21:30:10 +0000 (21:30 +0000)]
[Author: dmaclach]
Add better error handling.
R=thomasvl
DELTA=13 (0 added, 0 deleted, 13 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@520
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 28 Feb 2012 20:30:11 +0000 (20:30 +0000)]
[Author: thomasvl]
Fix typo on test name so it wasn't running.
Fix the loops to use compression level 9 also.
R=dmaclach
DELTA=4 (0 added, 0 deleted, 4 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@519
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 28 Feb 2012 18:30:10 +0000 (18:30 +0000)]
[Author: thomasvl]
Allow the GTMLogger macros to be remapped in a prefix by checking if they
are defined before defining them.
R=dmaclach
DELTA=5 (5 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@518
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 27 Feb 2012 22:30:11 +0000 (22:30 +0000)]
[Author: thomasvl]
Add support for raw inflate/deflate without a header.
R=dmaclach
DELTA=416 (327 added, 69 deleted, 20 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@517
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Mon, 27 Feb 2012 13:00:34 +0000 (13:00 +0000)]
[Author: dmaclach]
Fix up -wformat warnings that clang was reporting
crbug.com/115847
TBR=thomasvl
DELTA=2 (0 added, 0 deleted, 2 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@516
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Wed, 22 Feb 2012 17:30:10 +0000 (17:30 +0000)]
[Author: noyau]
This CL changes two things on the GTMFadeTruncatingLabel:
* The class now respects the linebreak mode set on the superclass property (but still defaults to UILineBreakModeClip).
* The API to create the fading mask is exposed as a class method so it can be
reused outside in other contexts with the same display.
R=thomasvl
APPROVED=thomasvl
DELTA=22 (13 added, 1 deleted, 8 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@515
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 21 Feb 2012 21:30:10 +0000 (21:30 +0000)]
[Author: thomasvl]
But a pool around each invoke test to make sure all objects that go into
the pool are cleaned up sooner.
R=dmaclach
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@514
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 21 Feb 2012 19:00:23 +0000 (19:00 +0000)]
[Author: thomasvl]
The iOS 5.0 runtime doesn't seem to sort the class list any more, but
it used to or we used to just get lucking in some of our testing.
SenTest sorts the classes, so follow that lead also.
R=dmaclach
DELTA=13 (13 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@513
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3
gtm.daemon [Tue, 21 Feb 2012 18:30:15 +0000 (18:30 +0000)]
[Author: thomasvl]
Add reference images for iOS 5 since the text rendering metrics have
changed enough to break the test otherwise.
R=dmaclach
DELTA=35 (35 added, 0 deleted, 0 changed)
git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@512
7dc7ac4e-7543-0410-b95c-
c1676fc8e2a3