Commit Graph

48748 Commits

Author SHA1 Message Date
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
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
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
John Daggett
ee0583c854 Bug 577065. Cleanup MapCharToGlyph parameter types. r=jkew 2010-07-28 13:00:38 +09: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
Kyle Huey
1a93d6ebbb Revert tree to the last known good state 2010-07-27 17:32:17 -07:00
Kyle Huey
412f76637e Back out Bug 551181 because it depends on the last bug I backed out 2010-07-27 17:13:55 -07:00
Kyle Huey
ef1d23e18e Backed out changeset 998a00c4052b 2010-07-27 17:13:20 -07:00
Kyle Huey
c7c5863a0a Backout Bug 516728 to fix orange 2010-07-27 16:51:48 -07:00
Kyle Huey
4c5d7e4fe3 Backed out changeset ca5a1f26565f 2010-07-27 16:51:15 -07:00
Kyle Huey
d93398a3fa Backed out changeset 0ff2f3b8dfdf 2010-07-27 16:50:02 -07:00
Doug Turner
caabf6eca5 Follow up to bug 516728 - Should prevent History object leak 2010-07-27 16:11:09 -07: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
Dave Townsend
e6ba94ce70 Bug 553494: Support undo uninstall for restartless and already disabled add-ons. r=Unfocused 2010-07-26 10:41:13 -07:00
Dave Townsend
b8eae452cc Bug 553494: Remove the restriction on disabling the active theme. r=robstrong 2010-07-26 10:20:35 -07:00
Asaf Romano
cc0f3e76fa Bug 573149: Expose whether an addon requires a restart to enable/disable/uninstall/install. r=dtownsend 2010-07-26 10:34:06 -07:00
Mihai Sucan
c83a2ddfc2 bug 580030 - the error handler fails silently after a page reload, r=gavin 2010-07-26 13:35:12 -03:00
Alexander L. Slovesnik
0ab719f773 Bug 581772: headsUpDisplay.dtd is unused, r=gavin, a=johnath 2010-07-26 09:22:41 -04: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