aboutsummaryrefslogtreecommitdiff
path: root/AppKit
Commit message (Collapse)AuthorAge
* [Author: avi]Gravatar gtm.daemon2009-12-30
| | | | | | Since we can't localize the AXDescription on elements, we shouldn't even try. R=dmaclach,thomasvl DELTA=55 (28 added, 20 deleted, 7 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-12-15
| | | | | | | Make launchedApplications thread safe. Previous incarnation could easily deadlock. R=mrossetti,thomasvl DELTA=53 (22 added, 0 deleted, 31 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-11-23
| | | | | | | | | 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)
* [Author: thomasvl]Gravatar gtm.daemon2009-11-11
| | | | | | | I appear to have added this directly to the external version by accident, hopefully the sync up script will be ok with this change. R=dmaclach TBR=dmaclach DELTA=4 (4 added, 0 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-11-10
| | | | | | | Put some better restrictions on the Animations so they don't happen by accident. Imitates the minimize window behaviour. R=thomasvl DELTA=15 (8 added, 0 deleted, 7 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-11-10
| | | | | | | Turns out I needed to expose a bit more API to make it work with all of the animations in Chrome nicely. R=thomasvl DELTA=42 (30 added, 8 deleted, 4 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-11-10
| | | | | | | Forgot NSAnimationContext when adding duration support. R=thomasvl DELTA=13 (13 added, 0 deleted, 0 changed) TBR=thomasvl
* [Author: dmaclach]Gravatar gtm.daemon2009-11-09
| | | | | | Add animation duration controls to GTM. R=thomasvl DELTA=106 (106 added, 0 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-11-05
| | | | | | | | | | | Fix up GTMTheme so that it returns a color for iconColorForStyle:state: and so that it doesn't broadcast notifications whenever the background color is changed. We need this class cleaned up. It's a real mess. http://code.google.com/p/google-toolbox-for-mac/issues/detail?id=37 R=thomasvl DELTA=12 (6 added, 3 deleted, 3 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-11-05
| | | | | | Path control is 10.5 or later, add ifdef. R=dmaclach,stuartmorgan DELTA=2 (2 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-11-03
| | | | | | Handle path controls in autosizing. R=stuartmorgan DELTA=4 (4 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-11-02
| | | | | | | | | Fix up GTMIBArray to work with 10.6 nib loading. Nib loading on 10.6 pushes all objects into hash maps, which caused the IBArray to latch on to its empty state, so this provides overrides so they maintain the contacts around hash and isEqual, but can't be loaded from a nib. R=dmaclach,stuartmorgan DELTA=68 (68 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-10-30
| | | | | | | | 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)
* [Author: iwade]Gravatar gtm.daemon2009-10-29
| | | | | | | | | | Fix some garbage collecion related leaks. Discovered in a run of the Clang Static Analyzer: http://clang-analyzer.llvm.org/ R=dmaclach APPROVED=dmaclach DELTA=17 (11 added, 0 deleted, 6 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-10-27
| | | | | | | | 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)
* [Author: thomasvl]Gravatar gtm.daemon2009-10-20
| | | | | | | 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)
* [Author: dmaclach]Gravatar gtm.daemon2009-10-08
| | | | | | Add pattern phase the way I really want it (for now). R=thomasvl,alcor DELTA=91 (31 added, 52 deleted, 8 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-10-07
| | | | | | | Fix up the unit tests that didn't actually run (I ran them on Tiger and GTMTheme is Leopard+ only). Renamed backgroundImagePhase to backgroundPatternPhase which is a better name. Added method for extracting a value directly from a theme. R=thomasvl
* [Author: dmaclach]Gravatar gtm.daemon2009-10-07
| | | | | | Add background phase to GTMTheme. R=thomasvl DELTA=49 (47 added, 0 deleted, 2 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-09-16
| | | | | | Use class membership instead of string match. R=mmentovai,avi DELTA=6 (3 added, 0 deleted, 3 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-09-16
| | | | | | add a helper for resizing a window without the subview resizing. R=stuartmorgan DELTA=32 (32 added, 0 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-16
| | | | | | Thanks to thomasvl for catching my NSLog detritus. R=thomasvl,mrossetti DELTA=2 (0 added, 2 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-15
| | | | | | Fix up GTMNSWorkspace so that it's save to call gtm_launchedApplications on threads other than the main one. R=mrossetti DELTA=48 (26 added, 19 deleted, 3 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-11
| | | | | | Fix up potential race condition returning launchedApps_. R=thomasvl DELTA=5 (2 added, 0 deleted, 3 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-09-09
| | | | | | | | | | Support the toolbar item's view in state logging. Add table columns to ui localizer (tests will come in a following cl). Add a toolbar item that doesn't localize to help catch bugs in the future like we had on first impl. Add a tooltip to the toolbar item in the unittest for ui localizer. Add a note about the limits to ui localizer and toolbars due to the NSToolbar api's limits. R=dmaclach DELTA=746 (90 added, 599 deleted, 57 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-09-09
| | | | | | Fix include R=dmaclach,pinkerton DELTA=1 (0 added, 0 deleted, 1 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-08
| | | | | | 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)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-08
| | | | | | Get rid of ObjC 2ism for compiling on Tiger. R=thomasvl,alcor DELTA=2 (1 added, 0 deleted, 1 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-08
| | | | | | Adds CGFloat support to NSNumber R=thomasvl DELTA=219 (217 added, 0 deleted, 2 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-08
| | | | | | Fix up test so that it doesn't run on Tiger. R=thomasvl,alcor DELTA=3 (3 added, 0 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-09-08
| | | | | | Fix up unit test for GTMFadeTruncatingTextFieldCellTest so that it only runs on Leopard+. R=thomasvl,alcor DELTA=4 (4 added, 0 deleted, 0 changed)
* [Author: alcor]Gravatar gtm.daemon2009-09-07
| | | | | | Fix toolbar localizer test R=thomasvl DELTA=2780 (2767 added, 6 deleted, 7 changed)
* [Author: alcor]Gravatar gtm.daemon2009-09-05
| | | | | | | | Update Large UI with latest nib Add toolbar to prefs Add toolbar localization R=dmaclach DELTA=4125 (3054 added, 462 deleted, 609 changed)
* [Author: alcor]Gravatar gtm.daemon2009-09-04
| | | | | | Add the NSImage Search category R=dmaclach DELTA=203 (203 added, 0 deleted, 0 changed)
* [Author: alcor]Gravatar gtm.daemon2009-09-03
| | | | | | Add fading text field cell R=dmaclach,thomasvl DELTA=161 (161 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-09-02
| | | | | | | | | | | | | | | | | | 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)
* [Author: thomasvl]Gravatar gtm.daemon2009-08-28
| | | | | | | | Comment on one of the public UI points. Put in another public UI point for tweaking UI without doing the localization step (for non localization content tweaking). R=stuartmorgan DELTA=12 (11 added, 0 deleted, 1 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-08-27
| | | | | | missed the xib R=stuartmorgan DELTA=376 (376 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-08-27
| | | | | | | | 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)
* [Author: thomasvl]Gravatar gtm.daemon2009-08-26
| | | | | | | Not sure what I was thinking, sizes are CGFloats and it couldn't be unsigned since the height to grow or shrink... R=stuartmorgan DELTA=2 (0 added, 0 deleted, 2 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-08-26
| | | | | | | Add an api for autosizing TextFields but keeping the width fixed. This needs a test in the future, but need it at the moment for chrome. R=stuartmorgan DELTA=18 (17 added, 1 deleted, 0 changed)
* [Author: alcor]Gravatar gtm.daemon2009-08-19
| | | | | | Add raw background color method R=pinkerton DELTA=37 (28 added, 0 deleted, 9 changed)
* [Author: thakis]Gravatar gtm.daemon2009-08-10
| | | | | | | | | | | Unset focus when hiding a per-tab sheet. This is necessary so that when switching to a new tab using the cmd-alt-right keyboard shortcut in chromium, the sheet in the previous tab doesn't keep keyboard focus (which makes breaks cmd-l etc until the window is clicked -- annoying). R=thomasvl DELTA=5 (5 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-08-07
| | | | | | | Bump up the min size on buttons with a note about the logic, update the unittest images accordingly. R=stuartmorgan DELTA=9 (3 added, 0 deleted, 6 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-08-06
| | | | | | | | | | | | 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)
* [Author: thomasvl]Gravatar gtm.daemon2009-07-28
| | | | | | Use CPP gates instead of runtime checks for NSViewController. R=dmaclach DELTA=18 (5 added, 5 deleted, 8 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-07-27
| | | | | | changing the encoding and project out of sync seems to have messed things up, fixing. R=dmaclach DELTA=36 (35 added, 0 deleted, 1 changed)
* [Author: alcor]Gravatar gtm.daemon2009-07-27
| | | | | | Add constant for theme user default R=dmaclach DELTA=9 (7 added, 0 deleted, 2 changed)
* [Author: alcor]Gravatar gtm.daemon2009-07-27
| | | | | | Fix unit tests R=dmaclach DELTA=18 (4 added, 5 deleted, 9 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-07-27
| | | | | | | | Support for NSMatrix in uistate files (dumps the cells and row/column counts). Support for NSMatrix in GTMUILocalizer. Added checkboxes and radio groups to the GTMUILocalizer unittest. R=dmaclach DELTA=551 (541 added, 0 deleted, 10 changed)