| 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.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Add an api for forcing a NSTextField to a fixed height but what ever width is needed.
R=dmaclach
DELTA=634 (631 added, 0 deleted, 3 changed)
|
|
|
|
|
|
| |
Add basic support for NSTabView and a unittest to validate simple behaviors.
R=dmaclach
DELTA=1069 (1066 added, 0 deleted, 3 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)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|