| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove a bunch of code that Google stopped using/maintaining rather than trying
to update it it. Some would be hard to update, some actually has system provided
replacements; others are patterns that just don't seem as common now.
Prune out the code related to macOS <= 10.5, start pruning some of the really
old iOS support also.
Get the projects mostly limping again with modern Xcodes so tests can be run.
If someone ends up on this commit via history for something they still find
as useful, feel free to do a pull request to bring the snippet of code back to
life and update it for current SDKs.
|
|
|
|
|
| |
Remove unneeded import.
TBR=dmaclach
|
|
|
|
|
|
| |
Fix up final GTM issues that I know of for format.
TBR=thomasvl
DELTA=16 (16 added, 0 deleted, 0 changed)
|
|
|
|
|
|
| |
Clean up all of our format string issues amongst some other fun stuff.
R=thomasvl
DELTA=167 (90 added, 8 deleted, 69 changed)
|
|
|
|
|
| |
Fix wrong CPP gate.
TBR=dmaclach
|
|
|
|
|
|
| |
Pile of fixes for trunk version of clang.
R=dmaclach
DELTA=59 (26 added, 0 deleted, 33 changed)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move a bunch of tests over onto the GTM test base class.
Fetch some test images from the bundle the test is compiled into instead
of assuming main app.
Change the default iOS logging directory to just be the documents directory
since it should work for all iOS versions.
Add initial support for using SenTestingKit instead of our custom version
to allow the Xcode 4 UI for unittesting.
Add a target for using SenTestingKit.
Add a shell app for the TEST_HOST for SenTestingKit usage (since there are
UI tests, we need to use a real app and not the octest binary).
R=dmaclach
DELTA=517 (482 added, 9 deleted, 26 changed)
|
|
|
|
|
|
|
|
|
| |
- Make custom level filters much more flexible (arbitrary level combinations).
- Remove older custom level class to prevent confusion.
- Add a new standard logger that tries to produce a reasonable stdout/stderr
split for commandline tools.
R=dmaclach
APPROVED=dmaclach
|
|
|
|
|
|
| |
Clean up clang issues in GTM. The one in GTMABAddressBook is a weird one, that I'll try and file a bug on.
R=thomasvl
DELTA=92 (53 added, 6 deleted, 33 changed)
|
|
|
|
|
|
| |
Fix duplicated test
R=thomasvl
APPROVED=thomasvl
|
|
|
|
|
|
| |
Add a log filter that filters by simple level comparisons.
R=dmaclach,thomasvl
APPROVED=dmaclach
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix ASL logging to reference the correct formatter (and then replace with
a new formatter).
- Format ASL messages to include information that would normally be present
in the standard formatter.
- Allow ASL writers to pass a facility string.
- Pretty up the function names in all logging, better matching NSAssert()
names (as one example).
- Don't throw if a logging filehandle is closed (SIGPIPE). Random exceptions
from logging is bad, m'kay?
R=thomasvl,dmaclach
APPROVED=thomasvl
|
|
|
|
|
|
| |
Fixes up some more 10.6 issues.
R=thomasvl
DELTA=16 (11 added, 0 deleted, 5 changed)
|
|
|
|
|
|
| |
Some style cleanup.
R=dmaclach
DELTA=9 (3 added, 1 deleted, 5 changed)
|
|
|
|
|
|
| |
Update to some newer apis for the iPhone SDKs on the Xcode 3.2.x toolchain, the warnings don't happen on the 3.1.x tool chain.
R=dmaclach
DELTA=11 (8 added, 0 deleted, 3 changed)
|
|
|
|
|
|
| |
Fixup the logger test for iphone vs. desktop.
TBR=dmaclach
DELTA=8 (5 added, 0 deleted, 3 changed)
|
|
|
|
|
|
|
|
|
| |
We still have a bunch that doesn't work on 10.6, but this fixes some things:
Update the logger test to handle the format change on 10.6.
Update the AppleScript test to handle the 10.6 behaviors.
Fix typo in the StackTraceTest.
R=dmaclach
DELTA=26 (18 added, 0 deleted, 8 changed)
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
warning: variable 'r' might be clobbered by 'longjmp' or 'vfork'
when using certain Apple inlined functions in @synchronized/@try blocks.
- Updated to Xcode 3.1 so the GTM and iPhone project have the same baseline.
The code should work in other version of xcode, but the projects and
xcconfig files now use 3.1 features.
- Added GTMABAddressBook which is a cocoa wrapper for the 'C' AddressBook
APIs on the iPhone.
- Added several set environment variable statements to RunIPhoneUnitTest.sh
to encourage bugs to come out of the woodwork.
|
|
|