Ian Gilman
3436bf6284
+ Commented out the "refresh" and "reset" items on the dev menu in response to BugĀ 584372 (Firefox will crash if either Refresh or Reset in the Dev menu of the Visual Tab Interface is selected); we may bring these back in the future if needed for dev work, but they won't be in the shipping version.
2010-08-04 11:09:06 -07:00
Raymond Lee
c962044a9a
Bug 583711 - name field for tab group in candy
2010-08-04 09:42:46 +08:00
Aza Raskin
2b18a50b6b
+ Also includes the jQuery inclusion text with utils.js
2010-08-02 13:38:29 -07:00
Aza Raskin
4700a06db7
+ Updated the iQ license block as specified in https://bugzilla.mozilla.org/show_bug.cgi?id=582025
2010-08-02 13:29:46 -07:00
Edward Lee
9ddbae2026
Merge mozilla-central and bug 582116 to tabcandy-central.
2010-08-02 10:33:16 -07:00
Raymond Lee
11274f0ba8
Bug 583434 - Unable to deselect tab group title when giving new title or renaming
2010-08-02 14:34:52 +08:00
Michael Yoshitaka Erlewine
683ce00b36
Groups cleanup: rm min, max, numCmp, replaced with trivial native JS.
2010-07-31 15:24:29 -04:00
Edward Lee
41bbe1bcb1
Make sure user facing names refer to Tab Sets for now for bug 583044.
...
--HG--
extra : rebase_source : daab3ae1a9b34eaf80b80f1476e57bce3fcaad8b
2010-07-30 14:56:33 -07:00
Raymond Lee
cedee7ad88
Bug 577323 - Use services.jsm instead of getService()
2010-07-30 19:19:52 +08:00
Raymond Lee
af5ffd7ce6
Remove extra spaces inside () and add spacing for before { bracket
2010-07-30 17:54:30 +08:00
Ian Gilman
dcc39df804
+ Improved startup sequence: don't do anything until sessionstore is available, and then do only minimal work if we're not loading directly into the UI; most setup now happens when we first show the UI. Known issue: tabs aren't set up properly in the tab bar until after you go to the UI once.
...
+ fixed our use of undefined in iq.js
+ more tabItems cleanup, including removing a stray call to the now non-existent TabCanvas.detach()
+ "Group sites" no longer makes a "mixed" group if it would be empty
2010-07-29 17:23:49 -07: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
Ian Gilman
09b9ab0f1c
+ Removed TabItems._heartbeat, in favor of a more direct event-based approach (more to come on this front)
...
+ Cleaned up a bunch of unneeded properties and methods in tabitems.js
+ moved profile.js to the top of tabcandy.js, so the script loading timer is accurate
--HG--
rename : browser/base/content/tabcandy/app/tabitems.js => browser/base/content/tabview/tabitems.js
rename : browser/base/content/tabcandy/tabcandy.js => browser/base/content/tabview/tabview.js
extra : rebase_source : de7687f5c22881edb1d0c463348e6176a0440587
2010-07-29 14:45:08 -07:00
Aza Raskin
553422408d
+ Removed the big reset button (it is still available in the dev menu)
2010-07-29 13:58:02 -07:00
Edward Lee
bfec53a2a0
Just use instanceof Ci.nsIDOMElement for Utils.isDOMElement for bug 582023.
2010-07-29 13:15:21 -07:00
Edward Lee
371bc096ca
Simplify Utils.merge to use Array.forEach and Array.push for bug 582023.
2010-07-29 13:02:51 -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
Edward Lee
09f7fbde67
Move utils.js into a javascript module that exports Point, Rect, Range, Subscribable, and Utils for bug 582023.
...
--HG--
rename : browser/base/content/tabcandy/core/utils.js => browser/base/content/tabview/modules/utils.js
extra : rebase_source : 8fea0b5439bcc45464f029609ff125e284b74731
2010-07-28 22:21:34 -07:00
Raymond Lee
d5545c461c
Update the Tabs.onClose() to fix the unit test issues
2010-07-29 13:06:03 +08:00
Michael Yoshitaka Erlewine
e0e34848a1
Bug 582023: rm iQ.get, as we were only using it in one way.
2010-07-28 23:02:26 -06:00
Edward Lee
cb84d4296b
Move lazy gWindow, gBrowser, etc into tabcandy.js out of utils.js for bug 582023.
2010-07-28 21:56:31 -07:00
Edward Lee
60558ea46b
Clean up spaces around (), [], , in iq and utils for bug 577968.
2010-07-28 21:40:55 -07:00
Michael Yoshitaka Erlewine
b8235bf5e5
Bug 582023: iQ changes based on comments from gavin
...
- let is the new var, no multiple declarations on the same line.
- renamed iQ.fn.init to be iQClass, iQ.fn to be iQClass.prototype, to look much more normal. iQ now just creates a new iQClass. No more brain hurt.
- no more (function(){...}) closure
- Array.prototype.xxx.call replaced by Array.xxx
- a couple other changes recommended by gavin.
- Utils: rm some comments, but haven't touched JSM, isDOMElement, or merge.
2010-07-28 21:33:43 -06:00
Edward Lee
70617a58a7
Followup to bug 580952 so that only tabs from the current window are handled.
2010-07-28 14:20:41 -07:00
Edward Lee
9d56185052
Merge mozilla-central to tabcandy-central.
2010-07-27 21:39:47 -07:00
Michael Yoshitaka Erlewine
6af815e8ba
Merge: reimplementing some changes to mirror.js by Mardak into the corresponding parts of tabitems.js
2010-07-27 22:13:02 -06:00
Michael Yoshitaka Erlewine
6e27f57913
Merge mirror.js + tabitems.js:
...
- Merge TabMirror into TabItems
- Merge Mirror into TabItem
- TabItem now implements Subscribable, just like Group and InfoItem; rm addOnClose, removeOnClose and use addSubscriber, removeSubscriber directly; Item now checks that subclasses implement Subscribable
- merge Mirror + TabItem constructors; rm TabMirror/TabItems.createNewTab
- xul:tab no longer gets a .mirror added to it. Instead it now gets its TabItem set to .tabItem
- rm TabItems.getItemByTabElement, as it is no longer necessary
- Mirror used .el to store its DOM element... now just using .container, which TabItem used
--HG--
extra : rebase_source : 140e5bcdd89cf9ea4e1eb1dafc4da56aa164669b
2010-07-27 21:02:51 -06:00
Aza Raskin
91c8a69ebb
+ Switched the help video in the first-run experience to a draft video.
...
--HG--
extra : rebase_source : a3e26f399e58d5c19de94f068ace3d139487c369
2010-07-27 18:38:27 -07:00
Raymond Lee
01085f6a20
Don't show tab candy if closing the last tab and not in the tab candy view
2010-07-28 09:24:52 +08:00
Edward Lee
056d0e40d3
Bug 580952 - Expose an Tabs module that handles tabs from all browser windows
...
Replace the existing Tabs/TabsManager object with the Tabs module that exposes allTabs, onChange, onClose, onMove, onOpen, onSelect.
2010-07-22 12:35:11 -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
Ian Gilman
219035b240
+ merge (forgot to rebase)
2010-07-27 16:20:14 -07:00
Ian Gilman
0fceaf9723
+ Added some simple time profiling. Set Profile.silent to false to see it in the message log in the JavaScript console
2010-07-27 16:18:55 -07:00
Michael Yoshitaka Erlewine
60bd2fb2ac
UI: merge init and _secondaryInit
2010-07-27 17:17:56 -06:00
Michael Yoshitaka Erlewine
92f033eb27
Frank Yan
2010-07-27 10:38:21 -06:00
Frank Yan
3a7ae7cc0f
Bug 582200: rm cross-browser code from iQ, follow Mozilla style better, r=mitcho
2010-07-27 10:07:17 -06:00
Raymond Lee
15aec25111
Call setReorderTabsOnHide() when Groups.add() is called
2010-07-27 09:30:56 +08:00
Ian Gilman
7567c47a98
+ We now do no work while the script is loading; everything waits until the UI.init() call at the very bottom
...
--HG--
extra : rebase_source : 301788f78500bfe57512b0df396cb6be2ca8a02f
2010-07-26 17:15:19 -07:00
Ian Gilman
9bfa6cdfd4
+ A tab's thumbnail canvas its cached thumbnail image are now stacked on top of each other, which fixes some dragging bugs (during the brief time in the cached image is visible)
...
--HG--
extra : rebase_source : 8ae2fc050dfd81e9c4797e7c0790a0c9a677f336
2010-07-26 10:54:25 -07: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
5e3e74abe5
Call updateTabBarForActiveGroup so that Group is correctly set for this.
2010-07-26 13:37:51 -07:00
Edward Lee
1cdc11aa6d
Merge mozilla-central to tabcandy-central.
2010-07-26 11:05:28 -07:00
Edward Lee
daf47c6635
Switch to Array.isArray from Utils.isArray.
2010-07-26 11:02:52 -07:00
Raymond Lee
913bb33177
Remove a legacy statement
2010-07-26 17:27:21 +08: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
Raymond Lee
d3a413c7e6
Bug 580847 - Lots of unnecessary TabMove events
2010-07-26 11:53:21 +08:00
Edward Lee
98aff850d0
Bug 581736 - Show app tabs from any group
...
Don't hide app tabs but this will cause strange reorderings for now.
2010-07-24 17:13:06 -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