| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Kill off GTMTheme, never went as far as we wanted it too.
R=dmaclach
DELTA=750 (3 added, 747 deleted, 0 changed)
|
|
|
|
|
|
| |
Add basic support for NSTabView and a unittest to validate simple behaviors.
R=dmaclach
DELTA=1069 (1066 added, 0 deleted, 3 changed)
|
|
|
|
|
|
| |
Turning off zombies on AddressBook to see if it can track down build crash.
R=thomasvl
DELTA=1 (0 added, 0 deleted, 1 changed)
|
|
|
|
|
|
| |
Turned off parallel builds to test if it is cause of build failures.
R=thomasvl
DELTA=1 (0 added, 0 deleted, 1 changed)
|
|
|
|
|
|
|
| |
Added GTMStringEncoding which is a generic base 2-128 encoder/decoder with support for custom character maps.
R=thomasvl
APPROVED=thomasvl
DELTA=723 (723 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
| |
Added some basic casting debugging goodness to GTM.
Opinions? added to help catch a bug in QSB.
R=thomasvl
DELTA=55 (55 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
|
| |
Nicer drawing of text by not using the gradient where it isn't needed,
helps where light text is drawn on a dark background.
Patch from thakis - http://codereview.appspot.com/159060/show
R=thakis,dmaclach
DELTA=79 (54 added, 7 deleted, 18 changed)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the target for all tests directly depend on the tests instead of shelling out to xcode build (make things nicer in 3.2.x tool chain).
Add an action to the GTM Framework to nuke any *.gcda files to help make coverage tracking easier.
Mac OS test runner script:
Not be verbose (for the 3.2.x tool chain).
Add a var to cause it only to remove target *.gcda files.
Add a var to force tests to only run one at a time (via some pyton that emulates linux's flock).
Make the UnitTesting and AppKit tests use the flock support so they don't fight over the colorsync profile.
R=dmaclach
DELTA=141 (102 added, 28 deleted, 11 changed)
|
|
|
|
|
|
|
|
|
|
|
| |
More work towards passing on 10.6:
- Remove the build constants as we don't need them.
- Update some bindings tests that were checking for wwdc seed or lower, to just be 10.6 or less, we'll update again with 10.7 (since i doubt they will change during an os release).
- Move some images from 10.6.0 to 10.6.
- Update the 10.6 images to current values, this appears to be the gamma change that happening in 10.6 (late in the cycle).
- Add 10.6 image for the view drawing.
R=dmaclach
DELTA=44 (14 added, 13 deleted, 17 changed)
|
|
|
|
|
|
| |
Add animation duration controls to GTM.
R=thomasvl
DELTA=106 (106 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
| |
Add a helper for doing view resizing without resizing subviews.
Fix the fixed width call to not change the width.
Update the unittest to make sure the fixed width call doesn't change the width.
R=stuartmorgan,dmaclach
DELTA=41 (30 added, 0 deleted, 11 changed)
|
|
|
|
|
|
|
|
| |
Adding GTMIBArray, a class that can be used in IB to build up an NSArray
directly, so developers don't need to add lots of outlets to other
objects and assemble things during awakeFromNib.
R=dmaclach
DELTA=1337 (1333 added, 0 deleted, 4 changed)
|
|
|
|
|
|
|
| |
Add two apis for making checkboxs/radios and radio groups wrap to their size.
Add a unittest to cover normal and mini sizes.
R=dmaclach,stuartmorgan
DELTA=1174 (1164 added, 0 deleted, 10 changed)
|
|
|
|
|
|
|
|
| |
Update a comment to match the code for what it's checking.
Clone the 10.5.7 (and 10.5.6 image over to 10.5.8) for the window test.
Update the state files that I forget when I added support for NSBox.
R=dmaclach
DELTA=23 (21 added, 0 deleted, 2 changed)
|
|
|
|
|
|
| |
Fix up GTMUILocalizerTest which wasn't finding the nib with . in the name appropriately.
R=thomasvl,alcor
DELTA=5468 (2729 added, 2729 deleted, 10 changed)
|
|
|
|
|
|
| |
Adds CGFloat support to NSNumber
R=thomasvl
DELTA=219 (217 added, 0 deleted, 2 changed)
|
|
|
|
|
|
| |
Fix toolbar localizer test
R=thomasvl
DELTA=2780 (2767 added, 6 deleted, 7 changed)
|
|
|
|
|
|
| |
Add the NSImage Search category
R=dmaclach
DELTA=203 (203 added, 0 deleted, 0 changed)
|
|
|
|
|
|
| |
Add fading text field cell
R=dmaclach,thomasvl
DELTA=161 (161 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
|
|
|
| |
Add NSData hex conversion routines.
Add a case-insensitive NSDictionary constructor.
I have a need for both pieces of functionality in an iPhone app I'm developing.
R=dmaclach,thomasvl
APPROVED=dmaclach
DELTA=521 (521 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add another window to the UILocalizer unittest that puts a bunch of
items into boxes, splitters, and scroll views to make sure they are
working.
Support some NSBox attributes in AppKit+UnitTesting.
Update the size to fit code to only special case regular push buttons and
not other types of buttons.
Update the expectations due to this change.
Add a new unittest to test all button styles and sizes.
Update how we decided to do vertical or horizontal layout on a width box
because left aligning things is visual and doesn't actually align their
frames, so instead we do a rect intersection instead.
Added in the CompilerSDK on Mac OS builds to the paths searches.
Update the comments on how paths are searched to be correct.
R=dmaclach,stuartmorgan
DELTA=2709 (2643 added, 8 deleted, 58 changed)
|
|
|
|
|
|
|
|
| |
Update the textfield fixed width code to work with 10.5 (vs. 10.4 due to
a change on apple's end).
Add a unittest that captures the edge case.
R=stuartmorgan,dmaclach
DELTA=72 (66 added, 1 deleted, 5 changed)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the nib finding code in GTMUILocalizer to a class methods so it can
be called without an instance.
Add GTMUILocalizerAndLayoutTweaker getting UI localized and then running
through it to auto size UI items that have been marked and also support
limited tweaks on other objects based on a group of tweaks.
Provide a class method for this sizeToFit fixup of individual objects.
Unittests for the new class.
R=dmaclach,stuartmorgan
DELTA=3161 (3157 added, 0 deleted, 4 changed)
|
|
|
|
|
|
| |
Just fix up the encoding for the strings file to match what it now is on disk.
R=alcor,dmaclach
DELTA=1 (0 added, 0 deleted, 1 changed)
|
|
|
|
|
|
| |
Adding the WindowSheetController to GTM.
R=dmaclach
DELTA=925 (925 added, 0 deleted, 0 changed)
|
|
|
|
|
|
| |
Gets tests running under 10.5.7
R=stuartmorgan
DELTA=14 (8 added, 3 deleted, 3 changed)
|
|
|
|
|
|
| |
Add localizations for GTMHotKeyTextField.
DELTA=906 (904 added, 0 deleted, 2 changed)
R=thomasvl
|
|
|
|
|
|
| |
Added GTMGoogleSearch.
DELTA=853 (853 added, 0 deleted, 0 changed)
TBR=thomasvl
|
|
|
|
|
|
|
| |
Added some support for scanning JSON. We don't parse it, but we scan out blobs
that you can then pass to a parser.
DELTA=219 (219 added, 0 deleted, 0 changed)
R=thomasvl
|
|
|
|
|
|
|
| |
Made GTMABAddressBook work on both the iPhone and the Desktop, giving you a
single interface to both.
DELTA=2539 (2173 added, 79 deleted, 287 changed)
R=thomasvl
|
|
|
|
|
|
| |
Added GTMUILocalizer for localizing UIs. 100% code coverage from tests.
DELTA=1956 (1940 added, 8 deleted, 8 changed)
R=thomasvl
|
|
|
|
| |
Should fix up the QSB and GTM builds
TBR=thomasvl
|
|
|
|
|
|
|
|
| |
Change build script so that it removes all of the gcda files for the current
config project wide, which in general is what people will want.
Added unit testing to GTMHotKeyTextField. From about 6% up to 90%.
DELTA=10 (3 added, 0 deleted, 7 changed)
R=thomasvl
|
|
|
|
|
|
|
|
| |
Remove extra include of GTMSystemVersion into targets that causes a warning
about dup classes and might be the cause of some crashes during startup
of unittests.
R=dmaclach
DELTA=4 (0 added, 4 deleted, 0 changed)
|
|
|
|
|
|
|
| |
Add a simple script to the framework target to remove the gcda files
when it builds so we always have up to date coverage data.
R=dmaclach
DELTA=16 (16 added, 0 deleted, 0 changed)
|
|
|
|
|
|
| |
Renamed files appropriately, and cleaned up the project. Updated release notes with info about GTMTransientRootPortProxy.
DELTA=330 (1 added, 312 deleted, 17 changed)
R=krisr,thomasvl
|
|
|
|
|
|
|
|
| |
Update the Run*UnitTests.sh script to support purging current target/config
*.gcda files to avoid coverage merge warnings.
Turn this on for the GTM unittests.
R=dmaclach
DELTA=38 (34 added, 0 deleted, 4 changed)
|
|
|
|
| |
- Added GTMTheme for doing product wide theme modifications.
|
|
|
|
|
| |
GData Obj-C client ones since they are pretty much matches and keeps us
from having to maintain two copies of the same basic things.
|
|
|
|
|
| |
- use @rpath on the framework to help folks prototype on 10.5+.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
"correctly". Based on some excellent code by Michael Ash.
http://www.mikeash.com/?page=pyblog/key-value-observing-done-right.html
This has been added for iPhone and OS X.
- Fixed up GTMSenTestCase on iPhone so that it has a description that matches
that of OCUnit.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in log validation.
- Added GTM_SUPPORT_GC for controlling the inclusion of GC related code.
- If you are using GTMUnitTestDevLog, it also tries to capture logs from
NSAssert.
- Added GTM_FOREACH_OBJECT/GTM_FOREACH_KEY that uses NSEnumerator and
objectEnumerator/keyEnumerator on 10.4, but on 10.5+/iPhone uses
FastEnumeration.
- GTMNSWorkspace+Running gives a variety of ways of determining the attributes
of running processes.
|
|
|
|
|
|
| |
- Updated some tests for debug vs. release differences. (added help on log
validation for this).
- Some fixes build issues w/ different os versions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stack.
- Added GTM_EXTERN that makes it easier to mix and match objc and objc++ code.
- Added GTMHotKeysTextField for display and editing of hot key settings.
- Added GTMCarbonEvent for dealing with Carbon Events and HotKeys in a ObjC like way.
- Backported the Atomic Barrier Swap functions for Objective C back to Tiger.
- Added a variety of new functions to GTMUnitTestingUtilities for checking if the screensaver is in the way, waiting on user events, and generating keystrokes.
- If you are using any Carbon routines that log (DebugStr, AssertMacros.h) and use GTMUnitTestDevLog, the log routines now go through _GTMDevLog so that they can be caught in GTMUnitTestDevLog and verified like any _GTMDevLog calls you may make. For an example of this in action see GTMCarbonEventTest.m.
- Added GTMFileSystemKQueue. It provides a simple wrapper for kqueuing something in the file system and tracking changes to it.
- RunIPhoneUnitTest.sh now cleans up the user home directory and creates a documents directory within it, used when requesting a NSDocumentDirectory.
- Added GTMNSFileManager+Carbon which contains routines for path <-> Alias conversion and path <-> FSRef conversion.
- Added GTMNSArray+Merge for merging one array into another with or without a custom merging function, returning a new array with the merged contents.
|
|
|
|
| |
- Added installer for the spotlight importers.
|
|
|
|
|
|
|
|
|
| |
GTMNSAppleScript+Handler.
- GTMStackTrace support for building a trace from the call stack in an NSException (for 10.5+ and iPhone).
- Added GTMUIFont+LineHeight.
- Cleaned up some OS version checks to use constants instead of numbers directly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
way for all GTM code to do it.
- Added GTMDebugThreadValidation to allow you to enforce the fact that your
code must run in the main thread in DEBUG builds.
- Updated some internals of the iPhone unittesting so it doesn't double print
the test descriptions, file names, or lines numbers of a test failure line.
Also includes the test names in the error output.
- Changed the xcconfigs so that know it's easier to set different settings at
the different levels and not accidentally overwrite settings set at lower
levels in the "settings collapse". Also tightened up warnings significantly.
- Changed how gtm_unitTestExposedBindingsTestValues works. If you have an
implementation of gtm_unitTestExposedBindingsTestValues in your own code
you will need to update to the new way of calling. See implementations in
GTMNSObject+BindingUnitTesting.m for details.
- Added support for grabbing the build number for a particular OS in
GTMSystemVersion and easily comparing it to known build numbers, and switched
some types from in GTMSystemVersion from "int" to SInt32 to make 64 bit work
better.
- Added support for SnowLeopard (10A96). We build cleanly with the 10.6 SDKs and
all radar checks were updated accordingly. Build All script was also updated
to build on SnowLeopard if you have the SDK available.
- Turned off building ppc64 GTM because the SnowLeopard SDK currently
doesn't have ppc64 support, so SenTestCase isn't defined. This makes it
impossible to build the ppc64 10.5 config on SnowLeopard. We have left the
setting in the xcconfig for those of you who need it, but have disabled
it in the GTM project settings.
- Turned on stack smashing protection on the debug builds for all Leopard
and above.
- Added ability to easily do leak checking by defining the GTM_ENABLE_LEAKS
environment variable. It isn't on by default because several of Apple's
frameworks leak. You can work around these false positives by using the
GTM_LEAKS_SYMBOLS_TO_IGNORE environment variable. Also if you turn on leaks
make sure to turn off zombies by defining the GTM_DISABLE_ZOMBIES variable,
otherwise every memory allocation you do will look like a leak.
|
|
|
|
|
| |
remove the reference from the GTM project to the iPhone one (doesn't work and
the script target works instead).
|