Commit Graph

552 Commits

Author SHA1 Message Date
Edward Lee
a869c43b41 Merge mozilla-central to tabcandy-central. 2010-08-09 10:38:19 -07:00
Marco Bonardo
02f143eeb0 Bug 584658 - Switch to tab should not register subframes as open pages. r=gavin a=blocking 2010-08-09 17:59:31 +02:00
Dão Gottwald
d6cbf77b97 Bug 582678 - Dragging app tab behind normal tab should make it a normal tab and vice versa. r=gavin 2010-08-09 09:43:24 +02:00
Edward Lee
e5816558b6 Merge mozilla-central to tabcandy-central. 2010-08-07 16:44:33 -07:00
Dão Gottwald
1c5b4b905e Bug 380960 - Implement closing tabs animation. r=fyan,gavin
--HG--
extra : rebase_source : c0d4192450a1017be7c8907a0cba6c9afab1028e
2010-08-06 22:15:18 +02:00
Edward Lee
c3c6e69bb9 Backout d6a355524fcb from bug 581894 now that bug 579869 is fixed. 2010-08-06 12:47:16 -07:00
Robert Sayre
ca10e5d657 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Blake Kaplan
1d50e48fc8 Bug 584261 - Initialize the tab element before attaching the browser. r=gavin 2010-08-05 12:38:07 -07: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
227d73cd1d Bug 579869 - Skip the tab opening animation if the new tab has been pinned. r=gavin
--HG--
extra : rebase_source : 4406ddd65a67e9c65705f65172afe6af1ded1c17
2010-08-05 22:18:17 +02:00
Bobby Holley
27a2d4812b Bug 343515 - need API for tabbrowsers to tell docshells they're visible/hidden.r=gavin,sr=bz,a=blocker 2010-08-05 11:27:52 -04:00
Dão Gottwald
e8ac3c378b Bug 583516 - First tab shouldn't animate on window open. r=dolske 2010-08-05 09:10:16 +02:00
Edward Lee
9ddbae2026 Merge mozilla-central and bug 582116 to tabcandy-central. 2010-08-02 10:33:16 -07:00
Edward Lee
7f341af8ce Bug 582116 - Provide a way to show certain tabs and get visible tabs [r=dao a=beltzner]
Add showOnlyTheseTabs and visibleTabs to tabbrowser and update various uses such as tab selection. Test that tabs get hidden/shown when using this API and tab selection only deal with visible tabs while making sure there's always a visible tab.
2010-07-29 16:39:57 -07:00
Dão Gottwald
ddbf1e4462 Bug 585361 - Handle requests for synchronously removing an already asynchronously closing tab. r=gavin
--HG--
extra : rebase_source : 6f9c8f691706b63e70c2fc0d91b115e8894d5e0a
2010-08-11 15:12:54 +02:00
Dão Gottwald
6852eaac62 Bug 585021 - Animate when opening the Home page in a new tab. r=gavin
--HG--
extra : rebase_source : 069d2f3763662312c50eebdeb918cd7a6134c06f
2010-08-11 15:12:41 +02:00
Benjamin Smedberg
e6153772f3 Back out all of dgottwald's push from Wed Aug 11 05:04:25 2010 PDT because the tree is in a state of chaos and the push was obviously against tree rules. 2010-08-11 09:00:33 -04:00
Dão Gottwald
cbeb7af05f Bug 585021 - Animate when opening the Home page in a new tab. r=gavin 2010-08-11 14:03:26 +02:00
Dão Gottwald
8dda9cce85 Bug 585361 - Handle requests for synchronously removing an already asynchronously closing tab. r=gavin 2010-08-11 14:02:49 +02:00
Edward Lee
218442df21 Bug 582116 - Provide a way to show certain tabs and get visible tabs
Add showOnlyTheseTabs and visibleTabs to tabbrowser and update various uses such as tab selection. Test that tabs get hidden/shown when using this API and tab selection only deal with visible tabs while making sure there's always a visible tab.
2010-07-29 16:39:57 -07: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
Raymond Lee
61defd5174 Bug 581894 - App tabs appear on top of normal tabs on startup [r=iangilman] 2010-07-26 15:38:34 +08:00
Edward Lee
bdda5ebf55 Bug 578147 - Backout tabbrowser.xml changes from bug 576393. 2010-07-26 16:02:14 -07:00
Edward Lee
7044d8a070 Prepare to backout d4a42b589b7c from bug 576393. 2010-07-26 15:56:25 -07:00
Edward Lee
1230b6cdb2 Bug 581612 - Add showOnlyTheseTabs functionality to tabbrowser
Move and simplify showOnlyTheseTabs functionality into tabbrowser now that there's no reordering happening on show.
2010-07-25 22:01:11 -07:00
Edward Lee
781cd6dc0d Resolve merge conflicts for bug 581732. 2010-07-24 16:54:21 -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
Edward Lee
6610e8bf00 Bug 581286 - Don't duplicate tabbox.advanceSelectedTab and key handling code
Prevent tabs from showing up in the tabbar by hiding them instead of collapsing so that existing tabbox code knows to skip over them. Remove key handling code except for activating tabcandy and switching groups.
2010-07-22 23:33:07 -07:00
Edward Lee
ecdccfd682 Merge mozilla-central (4.0b2) to tabcandy-central with conflicts. 2010-07-21 00:32:53 -07:00
Dão Gottwald
3c7e9b7e4c Bug 579472 - Dragging an app tab does not show the drop indicator in the correct location. r=gavin 2010-07-30 08:51:25 +02:00
Dão Gottwald
8101db7fb0 Bug 555904 - When closing a tab, remove the browser and the tabpanel in two steps. r=mano 2010-07-30 08:50:08 +02:00
Edward Lee
105d128811 Bug 587922 - Tabs are not actually closed after using TabCandy interface [r=dão a=blocking2.0:beta4]
Skip hiding tabs that are being removed to let it finish animating instead of hiding it to prevent the animation from finishing.
2010-08-17 11:39:17 -07:00
Raymond Lee
acbf492610 Bug 585855 - Test that the bookmark all tabs command is disabled when we have one visible and one hidden tab [r=dão sr=vlad a=gavin]
--HG--
extra : rebase_source : 728aa27e7ffdf08359c26fe709cac925c0d0f344
2010-08-14 02:36:40 +08:00
Dão Gottwald
70ec0a7aa5 Bug 586666 - When new tab is opened, close button of inactive tab disappears; r=gavin.sharp approval2.0=gavin.sharp a=blocking-beta5+ 2010-08-16 16:43:04 -04:00
Ian Gilman
6fe43828a9 Bug 587187 - test for window.TabView rather than just TabView [r=dolske a=dolske]
Check the global object for existence to avoid ReferenceError.

--HG--
extra : rebase_source : 71a843015f6c58795ce1eb543762df61679baf46
2010-08-13 18:37:13 -07:00
Edward Lee
861720eb07 Backout changesets a8b5109c2a6c to 6281bc7f1bbf. 2010-08-13 21:51:48 -07:00
Ian Gilman
54f8cd0989 Bug 587187 - test for window.TabView rather than just TabView [r=dolske a=dolske]
Check the global object for existence to avoid ReferenceError.

--HG--
extra : rebase_source : 2b5ddb6a8050a3d1407d94cc4381a90bec906a3a
2010-08-13 18:37:13 -07:00
Marco Bonardo
52aa8e345c Bug 586506 - unregisterOpenPage should not be called before registerOpenPage if removeTab is called immediately. r=dao a=dietrich 2010-08-13 21:52:30 -04:00
Dão Gottwald
a81ecb4fab Back out bogus change from bug 574217. Can't have a window without tabs. 2010-08-13 16:22:31 +02:00
Edward Lee
b5609139aa Bug 579222 - Expose a .visibleTabs property on the tabbrowser [r=iangilman]
Add .visibleTabs to tabbrowser and use local dereferences instead of gBrowser when possible.

--HG--
extra : rebase_source : c64695d6b437927a0d6fbae1b37ad2e17dc690c7
2010-07-16 13:23:03 -07:00
Raymond Lee
90c8dafa68 Bug 577445: Show tab candy title in the tab candy interface and change 'let' to 'var' 2010-07-15 16:41:08 +08:00
Edward Lee
4c95bcef00 Merge mozilla-central to tabcandy-central. 2010-07-13 12:23:12 -07:00
Raymond Lee
6fef79f3dd Update several features for visible tabs: bookmark all tabs, reload all tabs, close other tabs, list all tabs drop down menu and tab context-menu 2010-07-07 10:32:42 +08:00
Raymond Lee
ca5975eebb Another fix for Bug 576393 2010-07-03 15:03:56 +08:00
Raymond Lee
22a24b4fb6 Partial fix for Bug 576427 2010-07-04 00:08:34 +08:00
Frank Yan
e8c4be9e8e Bug 578614 - tab context menu should not appear when right-clicking new tab button or the space to its right. r=dao 2010-07-17 10:08:43 +02:00
Dão Gottwald
bf3c9cd631 Bug 580257 - _getScrollableElements needs to exclude non-scrollable elements. r=enn
--HG--
extra : rebase_source : 923b3a6ea87ac244a9d05ce11f7930eec2e4b3fb
2010-07-23 00:31:58 +02:00
Michael Kohler
91a2c87bb0 Bug 577121 - Tab context menu item "Close Other Tabs" should exclude pinned tabs. r=dao
--HG--
extra : rebase_source : 0e871925b4883526ec95867054ebd9c202eb1a2d
2010-07-22 17:51:55 +02:00
Markus Stange
ba86dfae0a Bug 392188 - Don't allow click-through on tab close buttons. r=Enn 2010-07-16 14:57:32 +02:00
Michael Kohler
6f23ca562c Bug 473065 - Use only one observer for browser.tabs.* prefs. r=dao 2010-07-14 08:50:27 +02:00
Dão Gottwald
046e631f4a Bug 563730 - Implement pinTab, unpinTab. r=gavin 2010-06-24 16:29:02 +02:00
Dão Gottwald
309b41c3c1 Bug 573438 - let middle click in the tab bar's empty space open a new tab. r=gavin, ui-r=faaborg 2010-06-22 08:28:15 +02:00
Dão Gottwald
35d3ffc05d Bug 543206 followup: revert adjustTabstrip change, re-enable test_tabbrowser.xul 2010-06-14 11:54:18 +02:00
Dão Gottwald
1c1852f2ac Bug 543206 - Tab opening animation. r=gavin 2010-06-14 10:10:54 +02:00
Dão Gottwald
74565cf9be Bug 570918 - set _blockDblClick on the tabContainer instead of the close button. r=gavin 2010-06-14 10:09:55 +02:00
Dão Gottwald
e437c443b5 Bug 562649 - set and correctly handle userTypedValue when loading external URIs. r=gavin,neil
--HG--
extra : rebase_source : f147fcde568bc15e25be804591518b694d605a95
2010-06-08 22:13:55 +02:00
Dão Gottwald
549a4d5884 Bug 519216 - Removing a progress listener while it's being called should not affect subsequent listeners. r=gavin 2010-07-07 06:56:17 +02:00
Dão Gottwald
05212023f2 Bug 574654 - Remove browser.tabs.tabMinWidth and browser.tabs.tabMaxWidth in favor of CSS. r=mano 2010-07-05 11:40:54 +02:00
Asaf Romano
38cb95f3c4 Bug 567309 - FAYT is broken. test=gavin,me; r=gavin,dao. 2010-05-30 12:50:39 +03:00
Dão Gottwald
5e82d93a66 merge backout 2010-05-27 15:00:38 +02:00
Dão Gottwald
e5af7fae20 Backed out changeset 0553604fe265 2010-05-27 14:59:50 +02:00
Dão Gottwald
e772b91e82 Bug 567681 - Tab strip doesn't remain scrolled to the end when closing a tab. r=mano 2010-05-27 11:00:48 +02:00
Asaf Romano
49075a8a7f Bug 567309 - FAYT is broken. Review and test done by Gavin. 2010-05-27 09:57:23 +03:00
Neil Deakin
d8d39d4a37 Bug 545119, use link drop service for tabbrowser dataTransfer for search engine dialog and remove browser dependency on nsDragAndDrop.js, r=gavin 2010-05-26 11:28:25 -04:00
Dão Gottwald
d3506f2bfa Bug 565772 - Accept middle-click for new tab button. r=mano 2010-05-26 14:51:04 +02:00
Asaf Romano
e7a005e58c Bug 566736 - Lazily initialize the findbar. r=gavin. 2010-05-19 19:57:16 +03:00
Ehsan Akhgari
a534fc7fef Back out changeset 6fc5d661ca55 because of a11y test failures 2010-05-19 10:48:30 -04:00
Asaf Romano
4613bbc1fa Bug 566736 - Lazily initialize the findbar. r=gavin. 2010-05-19 15:23:43 +03:00
Chris Jones
a766c20b74 Backed out changeset a111c9f6a71b 2010-05-18 20:53:04 -05:00
Asaf Romano
68ff221f17 Bug 566736 - Lazily initialize the findbar. r=gavin. 2010-05-19 02:58:32 +03:00
Boris Zbarsky
c5bd2cc712 Backed out changeset 6a71deda9822 (bug 562649) due to browser-chrome orange. 2010-05-14 13:04:08 -04:00
Dão Gottwald
9d80ef931d Bug 562649 - set userTypedValue when loading external URIs. r=gavin 2010-05-14 14:27:51 +02:00
Dão Gottwald
5b4ef69d9b Bug 565048 - move accel+up/down/left/right/home/end keypress handler to the tab container binding. r=gavin 2010-05-13 17:37:17 +02:00
Dão Gottwald
959e6930d8 Bug 563588 - Control+leftArrow/rightArrow/home/end can no longer be used to move tabs on the tab bar. r=gavin
--HG--
extra : rebase_source : f2cdbe6341c0432666037c71112dc9168f3c3bba
2010-05-08 10:26:26 +02:00
Dão Gottwald
9b7208c709 Bug 457187 - Make the tabs toolbar customizable. r=gavin 2010-04-27 18:57:19 +02:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Neil Deakin
16e62a0020 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
Dão Gottwald
a77e8aea44 Bug 558461 - Don't warn about closing multiple tabs when closing only one tab. r=gavin, ui-r=faaborg 2010-04-12 10:01:34 +02:00
Gavin Sharp
ac27d74918 Bug 554991: move tab context menu outside of the tab containers anonymous content to make it easier to overlay directly, r=dao, r=davidb on a11y test
--HG--
extra : rebase_source : 9d4330461d2047775cc66022ba77bc09cc69a020
2010-03-25 18:02:19 -04:00
Blair McBride
9c5de4629e Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2010-03-26 22:59:02 +01:00
Gavin Sharp
95e6466da4 Bug 554165: add compat shim for gBrowser.mStrip to unbreak some extensions, and add a supported accessor for the tab context menu, r=dao
--HG--
extra : rebase_source : 00c018e03debe8ae7caa0bbaae2e01fc730c32d1
2010-03-22 13:49:55 -04:00
Justin Lebar
968d7bb30d Bug 550565: Calling history.pushState during onDOMContentLoaded drops a favicon. r=dao 2010-03-24 10:22:13 +01:00
Dão Gottwald
b2d4339deb Bug 501714 - Last tab should show close button when browser.tabs.closeWindowWithLastTab=false. r=gavin
--HG--
extra : rebase_source : 95100a017a51ff81e850f1ce8bd9fbfba1219eab
2010-03-22 16:43:20 +01:00
Dão Gottwald
4c1683c22e Bug 554005 - Implement tabbrowser.tabs, deprecate mTabs and mTabContainer. r=gavin 2010-03-22 15:12:04 +01:00
Dão Gottwald
642853a086 Bug 553946 - remove stale 'l' variable. r=gavin 2010-03-22 09:13:01 +01:00
Dão Gottwald
6cf7961547 merge 2010-03-21 12:01:26 +01:00
Dão Gottwald
dd0e90afce Backed out changeset d49759c153d3 2010-03-21 12:01:01 +01:00
Dão Gottwald
18de212e49 Bug 553161 - Use Services.* throughout tabbrowser.xml. r=gavin 2010-03-21 10:38:08 +01:00
Dão Gottwald
4663cc128a Bug 552593 - Closing the last tab via javascript should honor browser.tabs.closeWindowWithLastTab = false. r=gavin 2010-03-21 10:37:42 +01:00
Dão Gottwald
80993bd9f8 Bug 553178 - Use event.target instead of event.originalTarget in _getDragTargetTab, since tabs aren't anonymous anymore. r=mano
--HG--
extra : rebase_source : b1c12405019d6acee38632b69aa4444f1cada305
2010-03-18 19:31:31 +01:00
Markus Amalthea Magnuson
12c8897a52 Bug 552166 - Change title of empty tabs from "(Untitled)" to "New Tab". ui-r=faaborg, r=mano 2010-03-18 08:04:42 +01:00
Dão Gottwald
e8a68bbf63 Bug 347930 - Move the tabs outside the tabbrowser, put them in a toolbar. r=vlad
--HG--
extra : rebase_source : e1662b549464d68417cf3b0f07d9624fe1a670ef
2010-03-17 07:36:13 +01:00
Ehsan Akhgari
5a6a0d7ce1 Bug 551580 - Can't enter private browsing mode, fails with Error "ds is undefined" in _beginRemoveTab(); r=dao (landing on a CLOSED TREE; a=dholbert for that!) 2010-03-15 17:58:24 -04:00
Blair McBride
bd0b32abc1 Backout patch for c7562242f88e due to bustage 2010-03-11 16:35:37 +13:00
Blair McBride
8274492c49 Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2009-11-23 15:37:39 +13:00
Dão Gottwald
a12d2b8675 Bug 481904 - Dragging a tab stops scrolling at the tab's position when dragging to the first/last tab and back. r=mano
--HG--
extra : rebase_source : 9a850fa1ec9b0f38502b564691ad6b487cbe8d4e
2010-03-10 13:44:06 +01:00
Dão Gottwald
01a46c21b0 Bug 508499 - simplify tab drop indicator code and styling. r=gavin 2010-03-10 09:07:45 +01:00
Rob Arnold
31aa8e0777 Bug 540248 - "Race condition when updating the window title during tab preview" r=dao 2010-01-17 10:48:00 -05:00
Rob Arnold
a7e521d645 Bug 527105 - Hovering over a taskbar preview causes the product name in the title bar to disappear r=rflint sr=mconnor 2010-01-17 09:04:00 -05:00