Commit Graph

1303 Commits

Author SHA1 Message Date
Dão Gottwald
7a66f46a7d Bug 583745 - Adjust toolbar gradients for when the navbar is hidden. r=mano 2010-08-11 14:02:02 +02:00
Michael Yoshitaka Erlewine
4a27862651 Bug 574217: fixes to "the rest of Tab Candy" based on comments from dolske 2010-08-11 00:14:53 -04:00
Edward Lee
0f4ef556db Merge mozilla-central to tabcandy-central. 2010-08-09 23:53:52 -07:00
Jim Mathies
4613e5a0ad Bug 575870 - Implement custom drawn titlebar for classic, aero basic, and xp. Also fix various content padding issues for desktops with advanced ui customization settings. r=dao. 2010-08-09 20:49:35 -05:00
Edward Lee
a869c43b41 Merge mozilla-central to tabcandy-central. 2010-08-09 10:38:19 -07:00
Dão Gottwald
1b3ed923a4 Bug 581770 - Simplify and tweak tab styling. r=mano 2010-08-09 09:43:45 +02:00
Raymond Lee
bb9eacc9c1 Bug 576408 - Implement the downgraded tab triage experience 2010-08-06 22:17:01 +08:00
Edward Lee
e63983ad17 Merge mozilla-central to tabcandy-central. 2010-08-06 00:25:54 -07:00
Edward Lee
8def981941 Merge mozilla-central to tabcandy-central. 2010-08-05 14:48:29 -07:00
Dão Gottwald
4f3bac7ba7 Bug 547419 - Don't stretch extension's small icons to 18 pixels. r=gavin
--HG--
extra : rebase_source : b9fd7e976e7a3a435ce6100887dd90e7ddbee244
2010-08-05 22:17:15 +02:00
Markus Stange
b7aa751944 Bug 552840 - Tweak positions of some menus. r=dao 2010-08-05 12:05:22 +02:00
Markus Stange
e737696776 Bug 581044 - Use square toolbar buttons in the Places library window. r=dao 2010-08-05 12:04:25 +02:00
Edward Lee
9ddbae2026 Merge mozilla-central and bug 582116 to tabcandy-central. 2010-08-02 10:33:16 -07:00
Dão Gottwald
65f2ab042f Bug 562452 - Clicking the identity button when the location bar was focused shouldn't draw a focus ring. r=mano
--HG--
extra : rebase_source : 5adca230585661724a3d2f676bb41b00e806241b
2010-08-12 09:39:50 +02:00
Dão Gottwald
f00da13df1 Bug 583745 - Adjust toolbar gradients for when the navbar is hidden. r=mano
--HG--
extra : rebase_source : 5c328590081e0842e9746cf2ddac40e962935874
2010-08-11 15:13:09 +02:00
Dão Gottwald
e1aef24eb3 Bug 586114 - Consolidate toolbox bottom border styling. r=mano
--HG--
extra : rebase_source : 1e98fa4f4e221d6813e9b08a0558b544ac278d6c
2010-08-11 15:12:26 +02:00
Edward Lee
eee4049234 Bug 583044 - Rename code references of TabCandy to TabView
Move files and update references to tabview from tabcandy. Only remaining candy reference is the link to aza's webm video.

--HG--
rename : browser/base/content/browser-tabcandy.js => browser/base/content/browser-tabview.js
rename : browser/base/content/tabcandy/app/drag.js => browser/base/content/tabview/drag.js
rename : browser/base/content/tabcandy/app/groups.js => browser/base/content/tabview/groups.js
rename : browser/base/content/tabcandy/app/infoitems.js => browser/base/content/tabview/infoitems.js
rename : browser/base/content/tabcandy/core/iq.js => browser/base/content/tabview/iq.js
rename : browser/base/content/tabcandy/app/items.js => browser/base/content/tabview/items.js
rename : browser/base/content/tabcandy/core/profile.js => browser/base/content/tabview/profile.js
rename : browser/base/content/tabcandy/app/storage.js => browser/base/content/tabview/storage.js
rename : browser/base/content/tabcandy/app/tabitems.js => browser/base/content/tabview/tabitems.js
rename : browser/base/content/tabcandy/tabcandy.css => browser/base/content/tabview/tabview.css
rename : browser/base/content/tabcandy/tabcandy.html => browser/base/content/tabview/tabview.html
rename : browser/base/content/tabcandy/tabcandy.js => browser/base/content/tabview/tabview.js
rename : browser/base/content/tabcandy/app/trench.js => browser/base/content/tabview/trench.js
rename : browser/base/content/tabcandy/app/ui.js => browser/base/content/tabview/ui.js
rename : browser/themes/gnomestripe/browser/tabcandy/edit-light.png => browser/themes/gnomestripe/browser/tabview/edit-light.png
rename : browser/themes/gnomestripe/browser/tabcandy/edit.png => browser/themes/gnomestripe/browser/tabview/edit.png
rename : browser/themes/gnomestripe/browser/tabcandy/new-tab.png => browser/themes/gnomestripe/browser/tabview/new-tab.png
rename : browser/themes/gnomestripe/browser/tabcandy/platform.css => browser/themes/gnomestripe/browser/tabview/platform.css
rename : browser/themes/gnomestripe/browser/tabcandy/stack-expander.png => browser/themes/gnomestripe/browser/tabview/stack-expander.png
rename : browser/themes/gnomestripe/browser/tabcandy/tabcandy.png => browser/themes/gnomestripe/browser/tabview/tabview.png
rename : browser/themes/pinstripe/browser/tabcandy/edit-light.png => browser/themes/pinstripe/browser/tabview/edit-light.png
rename : browser/themes/pinstripe/browser/tabcandy/edit.png => browser/themes/pinstripe/browser/tabview/edit.png
rename : browser/themes/pinstripe/browser/tabcandy/new-tab.png => browser/themes/pinstripe/browser/tabview/new-tab.png
rename : browser/themes/pinstripe/browser/tabcandy/platform.css => browser/themes/pinstripe/browser/tabview/platform.css
rename : browser/themes/pinstripe/browser/tabcandy/stack-expander.png => browser/themes/pinstripe/browser/tabview/stack-expander.png
rename : browser/themes/pinstripe/browser/tabcandy/tabcandy.png => browser/themes/pinstripe/browser/tabview/tabview.png
rename : browser/themes/winstripe/browser/tabcandy/edit-light.png => browser/themes/winstripe/browser/tabview/edit-light.png
rename : browser/themes/winstripe/browser/tabcandy/edit.png => browser/themes/winstripe/browser/tabview/edit.png
rename : browser/themes/winstripe/browser/tabcandy/new-tab.png => browser/themes/winstripe/browser/tabview/new-tab.png
rename : browser/themes/winstripe/browser/tabcandy/platform.css => browser/themes/winstripe/browser/tabview/platform.css
rename : browser/themes/winstripe/browser/tabcandy/stack-expander.png => browser/themes/winstripe/browser/tabview/stack-expander.png
rename : browser/themes/winstripe/browser/tabcandy/tabcandy.png => browser/themes/winstripe/browser/tabview/tabview.png
2010-07-29 12:37:25 -07:00
Aza Raskin
cf50f921e0 + Added appropriate themeing for Windows machines
--HG--
extra : rebase_source : c96b396d2a8869b2616e3662a6a3797efdb79429
2010-07-27 22:30:14 -07:00
Edward Lee
9d56185052 Merge mozilla-central to tabcandy-central. 2010-07-27 21:39:47 -07:00
Markus Stange
5dd6bb0012 Bug 575934 - Give the buttons in the customization panel a button style. r=dao 2010-08-02 15:27:38 +02:00
Edward Lee
1cdc11aa6d Merge mozilla-central to tabcandy-central. 2010-07-26 11:05:28 -07:00
Edward Lee
fc3df268de Bug 581732 - Merge mozilla-central to tabcandy-central 2010/07/24 (with conflicts). 2010-07-24 16:48:38 -07:00
Philipp von Weitershausen
9c5ea22294 Bug 581917 - OSX theme, about:robots use -moz-background-origin, r=dao, a=johnath 2010-07-26 14:09:21 +02:00
Azat Tymerkaev
baab2f7247 Bug 570165 - Integrate new icons for bookmarks toolbar. r=dao 2010-07-25 09:23:55 +02:00
Edward Lee
4069566fcd Resolve merge conflicts. 2010-07-21 00:35:09 -07:00
Edward Lee
ecdccfd682 Merge mozilla-central (4.0b2) to tabcandy-central with conflicts. 2010-07-21 00:32:53 -07:00
Edward Lee
e6cc65e517 Remove trailing spaces/tabs from tabcandy files. 2010-07-20 10:17:29 -07:00
Steffen Wilberg
c51d2bc4fd Make close boxes appear on Linux as well. 2010-07-17 23:17:27 +02:00
Ian Gilman
1a03877dd7 + The close box wasn't showing up on Windows; fixed (hopefully) 2010-07-15 15:43:51 -07:00
Edward Lee
4c95bcef00 Merge mozilla-central to tabcandy-central. 2010-07-13 12:23:12 -07:00
Steffen Wilberg
740c80f55b Bug 577947: TabCandy toolbarbutton lacks styling on Windows and Linux. 2010-07-11 20:26:36 +02:00
Shawn Wilsher
07e60c28d9 Merge for back out of changeset a0d6e4d37273 (bug 575870)
a=sheriff
2010-08-10 13:05:42 -07:00
Shawn Wilsher
16d0373258 Backed out changeset a0d6e4d37273 (bug 575870) for possibly being the cause of the following performance regression:
Talos Regression: Txul increase 4.57% on Win7 Firefox
Other possible culprits:
bug 574454
2010-08-10 13:03:32 -07:00
Ian Gilman
73eb5512e6 + Moved our platform-independent tabcandy.css to browser/base/content/tabcandy/
+ Created a platform-specific css file for tabcandy in the theme directory.
+ Copied the Mac TabCandy theme additions into the Windows and Linux themes.

--HG--
rename : browser/themes/pinstripe/browser/tabcandy/tabcandy.css => browser/base/content/tabcandy/tabcandy.css
2010-07-07 15:00:11 -07:00
Ian Spence ext:(%2C%20Michael%20Monreal%20%3Cmichael.monreal%2Bmoz%40gmail.com%3E)
fefa76bb2b Bug 412773 - Implement -moz-appearance: button-arrow-up/down/next/previous and use them in the find bar and for expander buttons. r=roc, r=dao, ui-r=faaborg 2010-07-27 16:57:47 +02:00
Aza Raskin
d4e7239050 + Not understanding why I had to merge when Mardak claims I shouldn't have to. 2010-07-02 16:17:55 -07:00
Aza Raskin
4464d999f6 + Changed the styling of the snap guides to be a little more architectural and a lot more subdued. 2010-07-02 16:16:16 -07:00
Ian Gilman
540981fd54 + Removed placebo hack from Storage.wipe()
+ Removed TabItems.reconstitute(), which we haven't actually needed for a while, but now it's also causing trouble
+ Removed Utils.activeWindow, which doesn't seem to work, and replaced its use in Utils.activeTab (the only remaining place it was being used) with Utils.getCurrentWindow(), which does seem to work
+ Utils.assert() now dumps a trace
+ Fixed paths to the edit pencil and new tab button images; they should now show up properly
2010-07-01 17:05:46 -07:00
Ian Gilman
79cedb9ca3 + merge 2010-06-30 11:49:31 -07:00
Aza Raskin
b135f7c016 Change the style of the guide lines to feel lighter and more in-style.
--HG--
extra : rebase_source : c767971fc6c64e76201266fd52d1f52c2513c176
2010-06-30 10:30:55 -07:00
Michael Yoshitaka Erlewine
0b860490d5 updating styling of guide trenches
--HG--
extra : rebase_source : be6b4093122a9853879c835f04a93aa6b85a57b3
2010-06-29 19:37:52 -04:00
Ian Gilman
b36a491ea7 + Fixed: Bug 575675 - FindChildWithRules aRelevantLinkVisited assertion when loading tabcandy page
+ The "code docs" item on the dev menu now opens the documentation from the repository into a new tab (used to open the local documentation, which doesn't exist in this new context, and replace the tab candy tab)
+ Removed the "tests" item from the dev menu, as they don't apply to this new context
+ Fixed an accidental comma in tabcandy.css (was disabling the pointer cursor for tabs)
2010-06-29 14:39:37 -07:00
Edward Lee
77ed94ee3c Bug 574188 - Include individual js pieces into tabcandy.js and expose content and skin files with jar.mn
--HG--
rename : browser/base/content/tabcandy/tabcandy.xhtml => browser/base/content/tabcandy/tabcandy.html
2010-06-29 01:04:26 -07:00
Edward Lee
951edd39c8 Bug 574188 - Add UI hooks to trigger tab candy 2010-06-29 01:04:22 -07:00
Gavin Sharp
188ed458a3 Bug 572967: don't remove notifications once dismissed, and instead allow them to be re-opened from the anchor icon, r=dolske 2010-06-23 12:53:09 -04:00
Dão Gottwald
c868e581ee Bug 570281 - Draw a border between tabs and web content. r=mano 2010-08-10 09:01:41 +02:00
Edward Lee
3f94e7a630 Merge tabcandy to mozilla-central. 2010-06-28 15:47:09 -07:00
Ian Gilman
76617fe78a + Cleaned up inelegant box shadows per fryn's suggestion
+ Made the snap guides a little more subtle
2010-06-28 14:56:20 -07:00
Michael Yoshitaka Erlewine
2aeca5ec1f move trench styling into CSS; fix trenches so that, if in showDebug mode, the trenches will stay drawn 2010-06-28 02:55:26 -04:00
Ian Gilman
95b7cd38f1 + merge 2010-06-25 16:10:52 -07:00
Ian Gilman
d2bd3d9691 + Removed icons that exist elsewhere in the browser; now using them instead
+ Our toolbar button now uses the standard toolbar button styling; we just apply a glyph to it
+ Went through the code with http://caja.appspot.com/tools/index and fixed a number of minor issues it found
+ Added "refresh" to the dev menu (since you won't be able to just refresh the tabcandy page once it's in the xul:deck)
2010-06-25 16:00:51 -07:00
Aza Raskin
d7e757ad96 + Cleaned up the code which changes the styling of a tabitems fav icon.
- The bite still exist, it just gets smaller.
2010-06-25 15:15:51 -07:00
Aza Raskin
0b70f644f5 + Updated the spec
+ Modified the tabitem layout code so that favicons are more sensibly handled at smaller sizes.
2010-06-24 23:59:32 -07:00
Aza Raskin
fb5c0336c1 + Fixed the minVersion of the XPI as per Mitcho's suggestion
+ Bumped XPI version to 0.4
+ Commented out the click-on-group to zoom into the last active tab
2010-06-21 14:49:38 -07:00
Aza Raskin
0168865d37 -- Stacked Group Behavior --
+ Removed the command-click quasimode for showing the tray version of stacked groups.
+ Added a new expand icon for showing the tray version of stacked groups
+ Refactored the Group.js code so that we now have both group.collapse() and group.expand()

-- Website Behavior --
+ Updated the website to pull the documentation section from the Etherpad
+ Some general DRY-based cleanup

-- Install.rdf --
+ Fiddled with the min/max version
2010-06-19 18:46:39 -07:00
Ian Gilman
9650718be6 + removed unused code and reorged remainder
--HG--
rename : browser/themes/pinstripe/browser/tabcandy/shared/candybutton.png => browser/themes/pinstripe/browser/tabcandy/candybutton.png
2010-06-16 15:46:05 -07:00
Ian Gilman
01c7b6ebd7 + Refactored zoom code into TabItem (was in TabItems and Page)
+ The "zoom prep", where the div is resized behind the scenes, is now much more robust; items can be rearranged while in this state (in response to new tabs opening, for instance), and everything still works out.
+ Group._activeTab is now a TabItem rather than a DOM element
+ Most of the old "mod" routine is now in the TabItem constructor; "mod" no longer exists
2010-06-14 15:43:02 -07:00
Ian Gilman
e92b535ded + Now using the "front" class when zooming down (was just when zooming up), hopefully to speed things up
+ Modified the  "front" class to remove unnecessary bits from the tab, and to turn on crisp edges, hopefully to speed things up
2010-06-11 16:35:47 -07:00
Marco Bonardo
8f64c96f88 Bug 574511 - Make bookmarks button customize-able. r=dao 2010-07-09 12:44:01 -07:00
Dão Gottwald
314ca22c7e Bug 579632 - Fix OS X tabs-on-top styling and put tabs on top by default. r=mstange,gavin 2010-07-19 22:19:14 +02:00
Dão Gottwald
c18548d73b Bug 579920 - Consolidate tab bar scroll button styling. r=gavin 2010-07-19 22:18:42 +02:00
Dão Gottwald
210dff3a84 Bug 569255 follow-up, removing redundant style rule 2010-07-18 16:38:14 +02:00
Azat Tymerkaev
6cc6f0e609 Bug 569255 - Integrate new tabbrowser icons. r=dao 2010-07-18 16:29:32 +02:00
Rob Campbell
239ca21615 bug 560692 - Create a style panel for web page inspector. p=me, r=gavin 2010-07-16 11:12:39 -03:00
Ian Gilman
7877491a9e + We are entirely jQuery-free in revision-a!
+ You can now drop tabs on tabs
+ Resize works once again, but with iQ
2010-06-09 14:45:48 -07:00
Jim Mathies
d7d74e294e Bug 574821 - Add titlebar margin to browser-aero css for maximized windows - addresses issue with negative window origins on windows. r=Dao. 2010-06-28 01:03:47 -05:00
Dão Gottwald
1915c7b274 Bug 571871 - Hovering "Print" menuitem shows black on blue instead of white on blue. r=gavin 2010-06-27 16:00:14 +02:00
Marco Bonardo
bf7710e5ed Bug 574708 - Deformed back button when bookmarks button is on navigation bar. r=dao 2010-06-26 18:24:03 +02:00
Marco Bonardo
c4e3b1d766 Bug 574708 - bookmarks button looks ugly if not in icon mode. r=dao 2010-06-26 18:22:20 +02:00
Dão Gottwald
7c92a7650d Bug 574434 - Move Firefox button to the left of the tabstrip when not using aero glass. r=gavin 2010-06-25 22:41:04 +02:00
Ian Gilman
5fd1e12e8e + Turned off -moz-crisp-edges
+ First use of iQ.animate(), which uses CSS transitions: tab zoom up and down, as well as phantom group disappearing when you drag in empty space but don't make it big enough
+ Consolidated onFocus call of UIClass into onFocus call of Page
+ ui.js is jQuery-free
+ The zoom down animation happens after a setTimeout(…, 1), which causes an unfortunate delay, but without it, the animation doesn't happen at all
+ Added val, resize, change to iQ.fn and isAnimating to iQ
2010-06-03 15:31:18 -07:00
Justin Dolske
ff452b3a96 Bug 566034 - Put Favicons on OS X bookmarks toolbar. r=dao, ui-r=limi 2010-07-31 15:03:09 -07:00
Aza Raskin
050d61a65e + Removed an old unused image. 2010-05-27 17:24:38 -07:00
Aza Raskin
c85738d1c1 + Compressed default.png 2010-05-27 17:23:08 -07:00
Aza Raskin
15c477a8a5 + Default icon when there is no favicon. 2010-05-27 17:19:45 -07:00
Aza Raskin
a070ba2c41 + Made the css for debug-related buttom buttons more generic.
+ Added a more discoverable reset button.
2010-05-27 01:40:45 -07:00
Aza Raskin
a479d19918 + Added UserVoice back to TabCandy, but this time without pulling in untrusted code from the web into a privledged context.
+ UserVoice now links from a button near the bottom of the screen. Styled with CSS3 goodness.
2010-05-25 15:04:46 -07:00
Aza Raskin
5e0fd5f6e8 + Remove the title of the "New Tabs" at the suggestion of Beltzner
+ Made the titles more beautiful in the new tabs group.
2010-05-25 14:21:23 -07:00
Aza Raskin
6d547ef19e + New visual styling for the new tab group. So very very pretty. 2010-05-25 01:20:44 -07:00
Ian Gilman
e6e06b991a + New "new tabs" group behavior and position
+ New "new tab" button position for the  "new tabs" group
+ Misc bug fixes
2010-05-24 17:14:10 -07:00
Aza Raskin
31d0e32252 + Better indication of groups as drop targets
+ Using the new-tab buttons no longer cause a jarring shift due to window chrome appearing.
2010-05-22 11:42:23 -07:00
Aza Raskin
6d0ebf474f + Groups now have gentle drop shadows. 2010-05-21 20:06:37 -07:00
Aza Raskin
b9270affc6 + Made TabCandy pretty a la http://www.stephenhorlander.com/pages/incontent-ui-mockups/incontent-ui-mockups.html#tabCandy
Note that this only works on the Mac.
2010-05-21 04:05:55 -04:00
Aza Raskin
8009e34fcc + Fixed a bug whereby the navbar and tabstrip weren't being properly hidden
+ Fixed a typo where errors in onFocus weren't being logged. (When you  go back to the TabCandy from a tab, the tab strip get hidden late,  causing a jarring jump)
+ Also: fixed bug 567010
2010-05-21 03:13:53 -04:00
Aza Raskin
6b2303e4cd + Updated the hover-state for dropping a tab into a group: * [P] The indication that you are dropping a tab onto a group should not be on the tab, but on the group.[Aza]
+ Made the focus ring slightly prettier.
2010-05-14 22:50:12 -07:00
Aza Raskin
477fc72536 + Removed the code that drew into the toolbar button (no longer needed)
+ Changed the button image to not include a circle with a one in it
2010-05-13 11:00:44 -07:00
Aza Raskin
4201bb2953 + Added the concept of the "focused" tab.
+ The last tab you were viewing is now highlighted as the focused tab.
+ You can get back to the tab you were looking at now by hitting the escape key.
+ You can navigate to the focused tab by hitting the return key.
+ You can select other tabs via the keyboard with the arrow keys.
2010-05-12 19:56:35 -07:00
Ian Gilman
91317331e1 + Trying -moz-crisp-edges… doesn't seem to improve speed much on 3.6, and looks worse
+ Created Utils.copy to make duplicating objects cleaner
+ Fixed a number of issues with pulling tabs out of a tray. Temporarily disabled the delay on drag as well.
+ Improved the threshold for switching from grid to stack; only happens when the grid fills up.
+ No longer announcing "bad storage data" when there is in fact no storage data (fresh start)
+ A couple more asserts
2010-05-11 17:22:06 -07:00
Kyle Huey
b5c9c61d80 Backed out changeset 210e4d354aec 2010-07-28 11:39:15 -07:00
Mehdi Mulani
f2a33374d9 Bug 564900 - Add folder specifically for downloads to Library sidebar
r=mak
a=sdwilsh
2010-07-28 09:50:04 -07:00
Markus Stange
20a2bc434a Bug 581031 - Update CSS after click-through landed. r=dao 2010-07-28 15:14:15 +02:00
Markus Stange
b088a0bc9d Bug 580251 - Be explicit about app tabs being display:block and use vertical-align where -moz-box-align doesn't work. r=dao 2010-07-28 15:13:30 +02:00
Ian Gilman
f2b4c017bc + You can now drag a group by its title. If you click on the title instead, it selects the whole title (which, it turns out, it was doing anyway) and allows you to edit it.
+ Reenabled the ability to exit title editing by clicking in empty space
2010-05-10 17:17:48 -07:00
Dão Gottwald
fec62781de Bug 431644 - Make resizer in Page Info media tab invisible. r=gavin 2010-07-24 10:56:37 +02:00
Dão Gottwald
766bcb8b85 Bug 579720 followup: remove styling for #context_newTab
--HG--
extra : rebase_source : 4853fcd6ee64ebfb0971691dfea0e9f3991f550c
2010-07-22 18:01:03 +02:00
Dão Gottwald
4065048a0a Bug 580221 - Improve lightweight theme & tabs-on-top appearance. r=gavin 2010-07-20 19:37:10 +02:00
Dão Gottwald
77c209d560 Bug 580220 - Simplify selectors involving the tabsontop attribute. r=gavin 2010-07-20 19:36:48 +02:00
Ian Gilman
6767f35c41 + Removed tab bar control
+ Group title box now grows when you type into it, but always stays smaller than the width of the group
2010-05-06 17:01:53 -07:00
Aza Raskin
bf2dd202ae + Moved back to black overlay look for stacks
+ Grappling with a correct new-tab animation
2010-05-04 13:52:25 -07:00
Aza Raskin
9728d5ae88 + Added some code that, when you zoom into a group, moves all of the tabs to the end of the tabstrip (in the order which they appear in the group). This does two things:
(1) It means that the tabs are shown in the order which they appear in the group. Keeps the mental model clean.
 (2) When you close a tab, the next tab that is focused is sane (i.e., it is in the group not some random tab)
2010-05-03 16:48:10 -07:00
Aza Raskin
92b7dd395f + Added a first-pass at a new-tab interface for groups.
+ TODOs (see the code)
 + (1) There is a potential race condition groups.js:line 121
 + (2) The new tab animation is to the wrong place groups.js:line 96
2010-05-03 15:24:22 -07:00
Aza Raskin
4a9d7ef349 +Styling for groups to make it less apple-like 2010-04-30 17:26:28 -07:00
Ian Gilman
89723d2a2c + Fixed a bug making it so you couldn't close tabs that were just .mov
+ Commented out the _render routine in toolbar-button.js,  as it was throwing exceptions and didn't seem to work anyway
+ Added some asserts to Item and cleaned up its documentation
+ Made Utils.assert more robust
+ Made tabs prettier when stacked
+ Commented out js lint, which doesn't seem to work in this context
+ Fixed it so you can't resize locked groups
+ Made it so the "new tabs" group is no longer locked (for the time being at least)
+ Tabs no longer change order when you drag their groups around
+ The tray now goes away more beautifully
+ You now have to drag at least 100 pixels and at least 500 milliseconds before a tab is pulled out its tray
+ No longer reserving space at the bottom of the screen for the "new tabs" group
+ Tab titles now go away when stacked and come back when not (there was a problem with them coming back)
+ No longer explicitly positioning the "new tabs" group
2010-04-30 17:24:03 -07:00
Aza Raskin
8e2f4638c6 + Visual cleanup:
+ Page names are no longer visible when in stacks
 + Page names have been prettified when in the stack tray.
 + TODO: Page names don't seem to come back after a group is turned into a stack, and then unstacked.
2010-04-29 00:42:37 -07:00
Ian Gilman
be7ec21618 + Stacks now expand into a special "tray"
+ You can now once again rename groups
2010-04-28 17:18:02 -07:00
Ian Gilman
0fd506d838 + First version of stacks
+ Cleaned up issues with algorithm for choosing where to position a tab dropped into a group
+ You can no longer drag a tab or group around by its close box
+ Changed tab drop tolerance… tabs now just need to overlap 50% in order to group. This is to make it consistent with dropping a tab on an existing group, which already behaved this way
+ A single tab in a group will no longer fill the entire group
2010-04-27 16:11:49 -07:00
Aza Raskin
3cd419c6fd First pass at an implementation of stacks.
+ In Zoomgroups put some pages into a group, then scale it down
+ It will animate itself into a stack
+ Pull it out again and it will go back to being a zoomgroup
2010-04-22 12:38:37 -04:00
Ian Gilman
dc891cb0ec + finished locking down the "new tabs" group… can no longer be renamed or auto deleted
+ Removed potential slowdown for dragging tabs… should be the same now as it was before my "keeping groups and children in sync" fix
2010-04-21 17:27:28 -07:00
Aza Raskin
043202fa79 Cleaned up the interaction around naming a group.
+ Animation on changing the default name
+ Appropriate color changes
+ Only show the input box on hover
2010-04-21 14:12:41 -04:00
Gavin Sharp
7e9a343b05 Backed out changeset b46982cc0c0a from bug 572967 due to test failures
--HG--
extra : rebase_source : 8ef47209d527047ab2770ae44fb0467fdf2fa97d
2010-08-03 01:37:10 -04:00
Gavin Sharp
97e57d4b95 Bug 572967: don't remove notifications once dismissed, and instead allow them to be re-opened from the anchor icon, r=dolske, a=Mossop 2010-06-23 12:53:09 -04:00
Paul O’Shannessy
503347b37b Bug 571897 (Sync UI) - Part 1: Theme [r=dolske] 2010-08-02 16:37:55 -07:00
Aza Raskin
68f47fda0b Performance tweaks:
+ We pause tab mirroring/painting on zooms.
+ We remove box shadows and rounded corners on zooms. (Which, according to Shark, was costing around 10% time)
2010-04-20 16:05:07 -04:00
Ian Gilman
56db6cd241 + The tab bar toggle now has a down arrow when clicking on it will pull the tab bar down and an up arrow when it will push the tab bar up (was reversed)
+ The tab bar toggle and decorative strip now reside above the tab candy content in Z
+ Group titles now have prompt text/icon
+ Additional documentation (especially Mirror)
+ Fixed the dev mode features (were broken by the tab bar toggle changes)
+ The Firefox nav bar now correctly shows again when you create and go to a new tab
2010-04-16 15:09:23 -07:00
Aza Raskin
d6137a02d5 Added a beautiful tabbar toggle. Woot! 2010-04-14 19:06:17 -07:00
Aza Raskin
dfca37f2d3 Updated the specification to include the stacks metaphore. 2010-04-14 17:15:38 -07:00
Ian Gilman
d54682ea3a + added the title and close box back to groups, with some basic styling
+ the "new tab" group now always lives at the bottom of the page
+ the candy switcher and the "grid" and "sites" features are now hidden by default. add ?dev=1 to the url to show them
+ the Firefox nav bar is now hidden when you're in the tab candy page
+ the starting grid now scales depending on how many tabs you have. (it is in fact sharing the arrange code that groups use for their children)
2010-04-14 17:12:06 -07:00
Aza Raskin
81220cecdf Aza sings the Merge song:
They were plentiful when from the darkness it emerged
The dark mercurial spirits singing SVN a dirge
A beast with many heads
No arms but branches in its stead
As you push into unknowns your final utterance will be "merge"

-- The only surving translation of the last song of the commited.
2010-04-12 23:16:28 -07:00
Aza Raskin
4a8cec5b6f Added a TabCandy button to the navigation toolbar on startup.
+ Clicking on it opens a tab to Revision-A
  - The tab is moved to being the first tab
  - The tab is visually hidden
  - Clicking on it again re-uses the opened tab

Some notes:
* Only styled for OSX
* We should think about loading the page in the background on startup
  so that there is no time delay when clicking on it the first time
2010-04-12 23:04:25 -07:00
Ian Gilman
67e62540bf + Removed unnecessary margin and padding from tabs and groups (was messing up layout)
+ Now compensating for padding in tabs when laying them out
+ Tab titles are now a single line, cut at the width of the tab (but no ellipsis yet)
+ Groups now have the move cursor
+ Tab resizing now works, and is disabled when a tab is in a group
+ We now have a "new tabs" group that new tabs go into (created as needed)
+ New layout algorithm for tabs inside a group. It's not as space efficient as the last one, but the unused space is at the bottom rather than the right side, and in general I think it behaves more like people expect.
+ Groups now have a minimum width when resizing
+ If you drag the second to last tab out of a group and don't return it to that group, the group now dissolves.
+ When a tab gets below a certain size, its thumbnail and close box are hidden
+ When a tab's title gets below a certain size, it is hidden.
2010-04-12 17:20:35 -07:00
Aza Raskin
9af26a4f2f + Fixed the implementation of closing
+ Cleaned up the CSS styles by using background images
2010-04-10 02:16:02 -07:00
Aza Raskin
d27c70768f + Fixex a bug whereby the titles of pages would be hidden inside of groups. 2010-04-09 15:48:29 -07:00
aza@More-Better-Internet.local
a36b60726f + Continued cleanup of zoom code.
+ Tabs now have the correct style inside of groups.
2010-04-09 15:17:08 -07:00
aza@More-Better-Internet.local
2e81996a61 Fixed sizing issues in the new style, as well as cleaned up the zoom code. 2010-04-09 12:49:54 -07:00
aza@More-Better-Internet.local
fa48f64a49 Fixed the height of the pages. 2010-04-09 12:21:31 -07:00
Ian Gilman
0c125207f4 + Merging; looks like we had a little collision in the group DOM area 2010-04-09 10:21:12 -07:00
Ian Gilman
300cdc43a7 + The container for a Group now encompasses its whole bounds; the titlebar is within it rather than outside of it. This is a cleaner structure, and fixes some issues with the titlebar, as well as allowing us to see the red glow for when a group will be dropped into another group. There are still some issues, but I think we'll leave them until we have a visual design. 2010-04-09 10:03:51 -07:00
aza@host-3-23.mv.mozilla.com
562d1e7d86 Begun adding a new theme, by Sean Martell. 2010-04-08 17:38:06 -07:00
Ian Gilman
033ae50793 + font size for tab names now scales properly
+ tabs now return to their proper size when you pull them out of a group
+ you can now nest groups inside of other groups (though all of the funky repercussions haven't been sorted out yet)
2010-03-31 17:24:16 -07:00
Ian Gilman
f56556d9ec + Branched the shared groups stuff into copies just for revision-a; we've got a bunch of work to do, and it's not worth trying to keep all of the other candies compatible at the moment.
+ Added jquery.lint to revision-a. Haven't caught anything yet, but seems like it could be helpful.
+ More fiddling with the resizer css

--HG--
rename : browser/themes/pinstripe/browser/tabcandy/shared/resizer.png => browser/themes/pinstripe/browser/tabcandy/resizer.png
2010-03-29 11:16:18 -07:00
Aza Raskin
43e771a74a + Made the resizer graphic URL absolute instead of relative so that it works in any candy.
+ Removed some vestigial code.
2010-03-26 14:43:58 -07:00
Ian Gilman
a78be22cf5 + moved groups.js and resizer.png to shared locations
+ more work on groups pushing things out of the way
+ some steps toward having groups and tabs share an interface
+ more geometry: we now have a point class, and the rect class now has center and intersect routines

--HG--
rename : content/candies/zoomgroups/gfx/resizer.png => browser/themes/pinstripe/browser/tabcandy/shared/resizer.png
2010-03-25 17:22:45 -07:00
Ian Gilman
59fede1f1f + Removed the margin from the tabs; we need to handle buffers more explicitly
+ You can no longer launch into a tab by right clicking it
+ A group's close box now works
+ A group's title bar now works again (silly css misunderstanding)
+ Added a basic Rect object to utils.js, and a getBounds routine for retrieving the bounds of a DOM element
+ The Utils logging routines no longer expand functions (instead just saying that it's a function)
2010-03-24 16:54:48 -07:00
Ian Gilman
75b7f02e20 + moved a number of the group-related styles into css/shared/groups.css. Unfortunately, I wasn't able to move everything I wanted to; Firefox 3.7 screwed up the relative URL in the resizer style, and somehow killed the position:absolute in close style (neither of those problems showed up in Firefox 3.6). At any rate, it's a step in the right direction.
+ Moved the pretty new group title bar into the original and ian1 candies, updating the close style so it works in both the tab and group contexts
+ Added forceCanvasSize and unforceCanvasSize functions to tab mirrors
+ Used the new canvas size forcing functions to make the zoom in and out happen in high resolution. Not convinced it's an improvement, especially in the reverse zoom.
+ Brought additional changes from the original candy to the ian1 candy
2010-03-22 17:12:32 -07:00
aza@70-7-150-98.pools.spcsdns.net
f90716db0f First commit. 2010-02-24 01:47:55 -08:00
Felipe Gomes
d1f3583d33 Bug 555081 - Can't move the window when using custom titlebar drawing
r=dao
2010-06-24 10:13:59 -07:00
Marco Bonardo
66f564f6e6 Bug 544817 - Create Bookmarks Widget with placement dependent on Bookmarks Bar status. r=dao 2010-06-24 10:08:43 -07:00
Dão Gottwald
046e631f4a Bug 563730 - Implement pinTab, unpinTab. r=gavin 2010-06-24 16:29:02 +02:00
Stephen Horlander
2c1fbff96f Bug 574090 - Refine OS X Toolbar Icons. r=dao 2010-06-23 23:01:51 +02:00
Markus Stange
e291692e04 Bug 573926 - Increase the main toolbar's padding-top so that less of the locationbar's focus ring is cut off in small-icons mode. r=dao 2010-06-23 22:59:04 +02:00
Markus Stange
f099a26551 Bug 559034 - New Mac location bar and search bar style. r=dao 2010-06-22 22:29:22 +02:00
Markus Stange
84a0dfc24c Bug 559033 - New Mac toolbar button style. r=dao 2010-06-22 22:28:34 +02:00
Dão Gottwald
c5280851db Bug 567742 - Disable glass in fullscreen mode. r=gavin 2010-06-22 22:20:52 +02:00
Gavin Sharp
667010d2ba Bug 398776: add new popup-based notification system, and use it for the geolocation notification, r=dolske, r=dao 2010-04-09 13:45:25 -04:00
Felipe Gomes
5c145b0f5b Bug 572472 - Adjust theme styles for touch-enabled css rules. r=dao 2010-06-17 21:46:26 +02:00
Dão Gottwald
a8a12a8bb0 Bug 571944 - Remove bogus min-width that overrides tabbrowser.xml's min-width. r=gavin 2010-06-14 21:53:45 +02:00
Stephen Horlander
6c7aa34741 Bug 570277 - Tab corner tweaks. r=dao
--HG--
extra : rebase_source : 40861b653b2ddcdccd54f7a4b5d26efff626caa8
2010-06-14 21:42:42 +02:00
Dão Gottwald
f4af71b168 Bug 570278 followup, fixing tabs-on-top radial gradient position 2010-06-13 11:35:56 +02:00
Dão Gottwald
ce02e2c4e5 Bug 570795 - Create basic "Firefox button" widget. r=gavin 2010-06-13 10:20:58 +02:00
Dão Gottwald
cc154c4499 Bug 570278 - Tab shadow tweaks. r=gavin 2010-06-13 10:19:52 +02:00