Commit Graph

11774 Commits

Author SHA1 Message Date
Raymond Lee
560939bbd8 Bug 576408 - Implement the downgraded tab triage experience 2010-08-06 22:17:01 +08:00
Ehsan Akhgari
85102a64ba Bug 583306 - Save and restore tab hidden state with sessionstore 2010-08-06 09:16:04 -04:00
Edward Lee
8818a65d0e Merge mozilla-central to tabcandy-central. 2010-08-06 00:25:54 -07:00
Dão Gottwald
c468d591d7 Bug 425575 - Huge context menu when holding right-click on a page, dragging mouse and letting go anywhere out of content area. r=mano 2010-08-06 08:55:42 +02:00
Edward Lee
cd41d4c3f6 Merge mozilla-central to tabcandy-central. 2010-08-05 14:48:29 -07:00
Dão Gottwald
f7b8e4d5ed 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
Dão Gottwald
f109339f38 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
Bobby Holley
926c1076f2 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
Michael Yoshitaka Erlewine
df093c3f36 Bug 575851: new tab experience, part 1:
- removed new tab group (you may have to clear storage to get rid of your locked New Tabs group at the bottom of your screen)
- rm various special casing for the new tab group
- new tab experience for tabs-off-of-orphaned-tabs is implemented: they magically turn into a group, and it even snaps!
- broken: new tabs made with no active context
- broken: closing the last tab in a group: should go back to tab candy view
- broken: first run experience grouping of orphaned tabs
2010-08-05 01:43:05 -04:00
Raymond Lee
c5be7a1fe9 Bug 582677 - Test for dragging and dropping item from one group to another group 2010-08-05 08:12:08 +08:00
Ian Gilman
83fa2fc54a + Tab thumbnails once again update themselves when their size changes
+ TabItem updates (painting, etc) no longer happen when the Tab Candy UI is not visible; they're queued up and happen when you return to the UI
+ Fixed a couple problems with the TabItems pause painting mechanism
+ If a whole bunch of TabItem updates come at the same time, we spread them out (using a heartbeat that lasts until we run out of backlog)
+ This should fix both Bug 580954 (Replace the heartbeat with something smarter) and Bug 583420 (Tab thumbnails don't repaint after being resized)
2010-08-04 16:42:36 -07:00
Benjamin Smedberg
9e2bdfd15c Merge mozilla-central into single-chrome-manifest. 2010-08-04 14:23:04 -04:00
Ian Gilman
f277c6e815 + 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
Axel Hecht
fcab76e348 bug 583258, adding Danish and Hungarian, too, a=beltzner, CLOSED TREE 2010-08-04 18:06:57 +02:00
Justin Dolske
aeb70605bd Disable Weave again to ensure we've got a shippable checkpoint (bug 583339, CLOSED TREE) 2010-08-03 22:10:00 -07:00
Raymond Lee
52863f22ea Bug 583711 - name field for tab group in candy 2010-08-04 09:42:46 +08:00
Mike Connor
dbe6ce9380 re-enable Sync to see if leaks are clear on CLOSED TREE 2010-08-03 14:18:53 -04:00
Gavin Sharp
2e81a283c6 Disable Sync backend due to leaks and test failures on CLOSED TREE (bug 583339) 2010-08-03 07:34:22 -04:00
Paul O’Shannessy
145e6a8908 Bug 583339 - flip switch to build with sync [r=dolske] 2010-08-03 00:56:07 -07:00
Axel Hecht
ac0ed89bc2 bug 583258, update shipped-locales for fx4.0 beta 3 2010-08-02 23:48:11 -07:00
Gavin Sharp
9068b6f77b Backed out changeset b46982cc0c0a from bug 572967 due to test failures
--HG--
extra : rebase_source : 8ef47209d527047ab2770ae44fb0467fdf2fa97d
2010-08-03 01:37:10 -04:00
Felipe Gomes
aa23897901 Bug 520805: Full screen video plays back on wrong monitor (multiple monitor setup). r=jst, a=beltzner 2010-08-02 22:55:25 -04:00
Aza Raskin
aee06de871 + Also includes the jQuery inclusion text with utils.js 2010-08-02 13:38:29 -07:00
Aza Raskin
4187ed10fb + 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
Markus Stange
49d57920af Bug 580957 - Inside the toolbar customization panel the labels of the back/forward buttons and of the bookmarks menu button should be outside the button. r=dao 2010-08-05 12:08:12 +02:00
Markus Stange
bff8562722 Bug 552840 - Tweak positions of some menus. r=dao 2010-08-05 12:05:22 +02:00
Markus Stange
bd84903028 Bug 581044 - Use square toolbar buttons in the Places library window. r=dao 2010-08-05 12:04:25 +02:00
Sindre Dammann
6eb7d62f47 Bug 581242 - about:addons should open in the current tab if that tab is blank. r=dao 2010-08-05 09:11:25 +02:00
Dão Gottwald
059ffe4f4d Bug 583516 - First tab shouldn't animate on window open. r=dolske 2010-08-05 09:10:16 +02:00
Edward Lee
ba763e5387 Merge mozilla-central and bug 582116 to tabcandy-central. 2010-08-02 10:33:16 -07:00
Raymond Lee
ff5f071602 Bug 583434 - Unable to deselect tab group title when giving new title or renaming 2010-08-02 14:34:52 +08:00
Dão Gottwald
ab6bbb9fe2 Bug 585361 - Increase delay tolerance in browser_bug380960.js
--HG--
extra : rebase_source : 41873fe6b398f5eaae101107597e7e5dbb08de10
2010-08-08 20:53:35 +02:00
Dão Gottwald
e0e6a0cd2a Bug 585361 - Increase delay tolerance in browser_bug380960.js 2010-08-08 09:41:15 +02:00
Michael Yoshitaka Erlewine
b8a7bc04dc Groups cleanup: rm min, max, numCmp, replaced with trivial native JS. 2010-07-31 15:24:29 -04:00
Edward Lee
7e1c6ac45e 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
fc93086954 Bug 577323 - Use services.jsm instead of getService() 2010-07-30 19:19:52 +08:00
Raymond Lee
f9cb556c01 Remove extra spaces inside () and add spacing for before { bracket 2010-07-30 17:54:30 +08:00
Ian Gilman
22208a8ff8 + 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
bf6bb3f5ee 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
f3ccdfaeb2 + 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
2a570ce911 + Removed the big reset button (it is still available in the dev menu) 2010-07-29 13:58:02 -07:00
Edward Lee
2c605d49aa Just use instanceof Ci.nsIDOMElement for Utils.isDOMElement for bug 582023. 2010-07-29 13:15:21 -07:00
Edward Lee
7ea9cde9b6 Simplify Utils.merge to use Array.forEach and Array.push for bug 582023. 2010-07-29 13:02:51 -07:00
Edward Lee
d3f620c5ea 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
04f4755ec8 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
6c4b6b9931 Update the Tabs.onClose() to fix the unit test issues 2010-07-29 13:06:03 +08:00
Michael Yoshitaka Erlewine
9b90792415 Bug 582023: rm iQ.get, as we were only using it in one way. 2010-07-28 23:02:26 -06:00
Edward Lee
23833a2ea6 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
dd58088d5a Clean up spaces around (), [], , in iq and utils for bug 577968. 2010-07-28 21:40:55 -07:00
Michael Yoshitaka Erlewine
29dcde7f25 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
eff15a33fc Followup to bug 580952 so that only tabs from the current window are handled. 2010-07-28 14:20:41 -07:00
Aza Raskin
c620ffab3d + Added appropriate themeing for Windows machines
--HG--
extra : rebase_source : c96b396d2a8869b2616e3662a6a3797efdb79429
2010-07-27 22:30:14 -07:00
Edward Lee
148cd4f405 Merge mozilla-central to tabcandy-central. 2010-07-27 21:39:47 -07:00
Michael Yoshitaka Erlewine
5b4f8a14ae 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
13b62e858d 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
39e46117d6 + 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
eb21c3b75a 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
Markus Stange
3dc6725ddf Bug 575934 - Give the buttons in the customization panel a button style. r=dao 2010-08-02 15:27:38 +02:00
Edward Lee
dc99f60010 Inline isFunction as typeof == function checks. 2010-07-23 19:29:32 -07:00
Michael Yoshitaka Erlewine
0de35204dc Utils + iQ cleanup!
- utility functions in iQ have been moved to Utils: isFunction, isArray, isPlainObject, isEmptyObject, merge, extend, timeout
- iQ depends on Utils. Utils no longer depends on iQ.
- simplified Utils.extend. Deep copy is no longer supported, nor is extending iQ and iQ.fn using extend. They were not being used.

--HG--
extra : rebase_source : ab8f86e4e6a65cb747bc79ae0aa36cb39819421a
2010-07-23 17:33:02 -04:00
Edward Lee
7a146e662d Followup bug 580870 to rename gTabDeck/gTabFrame to gTabView*. 2010-07-22 22:41:58 -07:00
Michael Yoshitaka Erlewine
613b2fbeb5 Rewrote various scaling/easing functions in terms of the Range's, with the new proportion and scale methods.
- removed Math.tanh, instead moving it into the Range proportion method for its "smooth" option
+ rewrote TabItem close button opacity and title font size using the new Range utilities. Should make code a tad easier to follow.
2010-07-23 00:35:07 -04:00
Michael Yoshitaka Erlewine
318e64a28f Bug 581143: Cleanup geometry utilities in utils.js
1. Move isRect, isPoint, isRange to Utils, to facilitate JSMing and to clean up
namespace
2. Remove unused/underutilized methods of Rect/Point/Range
3. Use QuickDraw-style comparison of pixel overlap (using < instead of <=)
throughout.
4. Range.overlaps is now Range.contains, to be more consistent with Rect.

--HG--
extra : rebase_source : cc3507bb3bbe92f922d3147cc9130c1f713391b2
2010-07-22 15:46:51 -04:00
Michael Yoshitaka Erlewine
c36ae7ac65 Bug 580878: removing some underutilized Utils functions: getMilliseconds, and testLogging
--HG--
extra : rebase_source : 28ff49903f395240a3aca3b3761c7638ee6d4b7d
2010-07-22 15:42:29 -04:00
Edward Lee
9270bfd798 Bug 581078 - Get rid of Utils.activeTab to avoid iterating over all Tabs
Directly access gBrowser.selectedTab and compare other raw tabs against it until BrowserTab goes away. Get the reference to the BrowserTab instead of iterating over Tabs through .tabcandyBrowserTab.
2010-07-22 12:36:17 -07:00
Edward Lee
52718c79e9 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
Edward Lee
2a76fcf9d8 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
18054f756a Bug 581894 - App tabs appear on top of normal tabs on startup [r=iangilman] 2010-07-26 15:38:34 +08:00
Ian Gilman
ecd38d9143 + merge (forgot to rebase) 2010-07-27 16:20:14 -07:00
Ian Gilman
98df5959f9 + 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
60f46a5ed9 UI: merge init and _secondaryInit 2010-07-27 17:17:56 -06:00
Michael Yoshitaka Erlewine
e188400195 Frank Yan 2010-07-27 10:38:21 -06:00
Frank Yan
554eabcabd Bug 582200: rm cross-browser code from iQ, follow Mozilla style better, r=mitcho 2010-07-27 10:07:17 -06:00
Raymond Lee
32a793978d Call setReorderTabsOnHide() when Groups.add() is called 2010-07-27 09:30:56 +08:00
Ian Gilman
c526463d60 + 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
ee2867d335 + 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
6d28acdc77 Bug 578147 - Backout tabbrowser.xml changes from bug 576393. 2010-07-26 16:02:14 -07:00
Edward Lee
5ea8cfe4ce Prepare to backout d4a42b589b7c from bug 576393. 2010-07-26 15:56:25 -07:00
Edward Lee
487c064f7f Call updateTabBarForActiveGroup so that Group is correctly set for this. 2010-07-26 13:37:51 -07:00
Edward Lee
a42d81afc2 Merge mozilla-central to tabcandy-central. 2010-07-26 11:05:28 -07:00
Edward Lee
bc304fab34 Switch to Array.isArray from Utils.isArray. 2010-07-26 11:02:52 -07:00
Raymond Lee
466eaf8857 Remove a legacy statement 2010-07-26 17:27:21 +08:00
Edward Lee
b3797d0bfe 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
45f95e14be Bug 580847 - Lots of unnecessary TabMove events 2010-07-26 11:53:21 +08:00
Edward Lee
6d76a1d04c 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
a452c4ae5e Resolve merge conflicts for bug 581732. 2010-07-24 16:54:21 -07:00
Edward Lee
e99995210d Bug 581732 - Merge mozilla-central to tabcandy-central 2010/07/24 (with conflicts). 2010-07-24 16:48:38 -07:00
Edward Lee
7ed82cc1ea Don't save a tab that has no parent (it's closing). 2010-07-24 16:28:17 -07:00
Edward Lee
f0c9200303 Inline isFunction as typeof == function checks. 2010-07-23 19:29:32 -07:00
Raymond Lee
58dc4f995f Roll Tabbar methods into UIManager 2010-07-24 09:43:02 +08:00
Michael Yoshitaka Erlewine
e31a9de150 Utils + iQ cleanup!
- utility functions in iQ have been moved to Utils: isFunction, isArray, isPlainObject, isEmptyObject, merge, extend, timeout
- iQ depends on Utils. Utils no longer depends on iQ.
- simplified Utils.extend. Deep copy is no longer supported, nor is extending iQ and iQ.fn using extend. They were not being used.

--HG--
extra : rebase_source : ab8f86e4e6a65cb747bc79ae0aa36cb39819421a
2010-07-23 17:33:02 -04:00
Edward Lee
2d76a15d10 Merge "backout" of TabItem.close removal. 2010-07-23 14:27:41 -07:00
Edward Lee
b44c181562 Followup to bug 580937 to implement TabItem.close with xul:tabs instead of BrowserTab. 2010-07-23 14:26:17 -07:00
Raymond Lee
921aeb970c Bug 581267: Merge Page and UIClass 2010-07-23 15:03:40 +08:00
Edward Lee
b62045fb72 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
a37298422f Remove unnecessary isIframe as tab content document will be just inside a browser. 2010-07-22 22:45:03 -07:00
Edward Lee
b3e2889d22 Followup bug 580870 to rename gTabDeck/gTabFrame to gTabView*. 2010-07-22 22:41:58 -07:00
Michael Yoshitaka Erlewine
3d2303aca5 Rewrote various scaling/easing functions in terms of the Range's, with the new proportion and scale methods.
- removed Math.tanh, instead moving it into the Range proportion method for its "smooth" option
+ rewrote TabItem close button opacity and title font size using the new Range utilities. Should make code a tad easier to follow.
2010-07-23 00:35:07 -04:00
Michael Yoshitaka Erlewine
6402eab8cf Bug 579223: got snapping to work for tab-on-tab phantom groups. 2010-07-22 23:40:25 -04:00
Michael Yoshitaka Erlewine
bab949c726 Bug 579223: using Aza's recommendation, centering tab-on-tab phantom group around the drop target tab (no snapping yet).
+ fixing font size adjustment while tabitem is resized

--HG--
extra : rebase_source : b93cafa6f0601c9609d362a2312c1abe70fe3346
2010-07-22 22:24:31 -04:00
Michael Yoshitaka Erlewine
c0525ed650 Bug 579223: a new approach (on Aza's recommendation): simply take the target (drop target) bounds and expand it a bit, rather than trying to do a union of the areas.
Also, fixed font size changing on tab resizing.

--HG--
extra : rebase_source : ba5db5468f9e9c9f823f352757eb06d198618003
2010-07-22 22:20:44 -04:00
Raymond Lee
861ba289ba Bug 580919 - Fold Storage.saveVisibilityData into saveUIData 2010-07-23 10:05:22 +08:00
Edward Lee
17d693812b Bug 580937 - Use plain xul:tabs instead of wrapping with BrowserTab
Don't expose BrowserTab and have Tabs give sugarless xul:tabs that don't need .raw-ing. Remove most of the BrowserTab functionality only to leave the event bits.

--HG--
extra : rebase_source : 13f8e857fa94f4e252ca3ed1c55e017314951d17
2010-07-22 15:09:36 -07:00
Philipp von Weitershausen
efdc53c8bd Bug 581917 - OSX theme, about:robots use -moz-background-origin, r=dao, a=johnath 2010-07-26 14:09:21 +02:00
Azat Tymerkaev
bd444196b7 Bug 570165 - Integrate new icons for bookmarks toolbar. r=dao 2010-07-25 09:23:55 +02:00
Michael Yoshitaka Erlewine
c393681602 Bug 580878: simplifying date expression 2010-07-22 15:58:10 -04:00
Michael Yoshitaka Erlewine
f1b5e78bca Bug 581143: Cleanup geometry utilities in utils.js
1. Move isRect, isPoint, isRange to Utils, to facilitate JSMing and to clean up
namespace
2. Remove unused/underutilized methods of Rect/Point/Range
3. Use QuickDraw-style comparison of pixel overlap (using < instead of <=)
throughout.
4. Range.overlaps is now Range.contains, to be more consistent with Rect.

--HG--
extra : rebase_source : cc3507bb3bbe92f922d3147cc9130c1f713391b2
2010-07-22 15:46:51 -04:00
Michael Yoshitaka Erlewine
c55e0a7400 Bug 580878: removing some underutilized Utils functions: getMilliseconds, and testLogging
--HG--
extra : rebase_source : 28ff49903f395240a3aca3b3761c7638ee6d4b7d
2010-07-22 15:42:29 -04:00
Edward Lee
80e523d1f2 Bug 581078 - Get rid of Utils.activeTab to avoid iterating over all Tabs
Directly access gBrowser.selectedTab and compare other raw tabs against it until BrowserTab goes away. Get the reference to the BrowserTab instead of iterating over Tabs through .tabcandyBrowserTab.
2010-07-22 12:36:17 -07:00
Edward Lee
eb7d36a49e Bug 581052 - Don't grab Tabs[0] to get the tabbar for its tabs
Just grab gBrowser.tabs to get an array-list of tabs instead of jumping through Tabs[0].raw.parentNode.children hoops.
2010-07-22 12:35:56 -07:00
Edward Lee
6aed86af34 Bug 580905 - Remove unused Tabs.focused window/tab and BrowserWindow reference
Don't save gWindow.tabcandyBrowserWindow but still create the BrowserWindow object for events.
2010-07-22 12:34:52 -07:00
Edward Lee
7a2f35d721 Bug 580901 - Directly call loadOneTab instead of Tabs.open
Remove Tabs.open and BrowserWindow.addTab and directly deal with xul tabs.
2010-07-22 12:34:23 -07:00
Edward Lee
6a46fe1b33 Bug 580870 - Alias gBrowser to the tabcandy context to remove getCurrentWindow
Add aliases for gWindow, gBrowser, gTabDeck, gTabFrame for the tabcandy chrome context. Update uses and simplify some code like removing Navbar.
2010-07-22 12:34:13 -07:00
Edward Lee
4676cee80f Bug 580870 - Alias gBrowser to the tabcandy context to remove getCurrentWindow
Add aliases for gWindow, gBrowser, gTabDeck, gTabFrame for the tabcandy chrome context. Update uses and simplify some code like removing Navbar.
2010-07-22 12:34:13 -07:00
Edward Lee
c19a142733 Bug 580900 - Remove feedback and dev doc links
Get rid of _newTab to create tabs from the ui and remove feedback references.

--HG--
extra : rebase_source : 5fb505427e1353127e7dcba1ab1b8c634b13221b
2010-07-22 12:31:39 -07:00
Benjamin Smedberg
b03ee925ac Bug 579718 part B - packaging and build changes to ship a single chrome.manifest from which other manifests are read. r=khuey See long-form commit details below:
In a nonpackaged build, we have the following manifests:
* chrome.manifest is just a series of manifest directives for all the other manifests, generated in rules.mk using buildlist.py
** components/interfaces.manifest is also generated in rules.mk using buildlist.py
** components/components.manifest contains only the *binary* components. JS components each have their own manifest which is installed to dist/bin/components
** Each chrome/jarfile.jar has a matching chrome/jarfile.manifest, and JarMaker.py inserts this filename into the root chrome.manifest by importing buildlist.py

In a packaged build, we end up with the following manifests:

* chrome.manifest lists the four manifests below
** components/interfaces.manifest
** components/components.manifest
** chrome/nonlocalized.manifest
** chrome/localized.manifest

In the future it should be possible to integrate the three non-localized manifests directly into the root chrome.manifest for increased performance, but this is slightly tricky because it involves rewriting some manifest instructions which may include relative JAR URIs. That is left for a future followup.

When we repackage a l10n build, we only have to replace chrome/localized.manifest.
2010-07-22 10:38:59 -04:00
Raymond Lee
f5d6acf5da Fixed Bug 566865 - Define all Keyboard Shortcuts for TabCandy 2010-07-22 11:29:58 +08:00
Ian Gilman
f1e406804f + Removed the animation from Mirror.hideCachedData()
+ Removed the tab argument from Mirror.hideCachedData and Mirror.showCachedData, as it's already part of the object
+ Improve the logic for when to hide the cached data

--HG--
extra : rebase_source : 7b18b5880990bd0807413297012c1cdd98ac267b
2010-07-21 16:44:11 -07:00
Edward Lee
6e3eb1b573 Resolve merge conflicts. 2010-07-21 00:35:09 -07:00
Edward Lee
025fe8aa96 Merge mozilla-central (4.0b2) to tabcandy-central with conflicts. 2010-07-21 00:32:53 -07:00
Blake Kaplan
ba9c727b64 Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-07-20 21:05:11 -07:00
Justin Dolske
8ffb1e4458 Bug 566034 - Put Favicons on OS X bookmarks toolbar. r=dao, ui-r=limi 2010-07-31 15:03:09 -07:00
Patrick Walton
59af3646ac Bug 582664 - Add a Developer menu to the app button. r=dolske, ui-r=limi, a2.0=gavin [initially landed incorrect patch; now landing the differences between the wrong version and the right version] 2010-07-30 20:50:52 -07:00
Patrick Walton
40c9d82055 Bug 582664 - Add a Developer menu to the app button. r=dolske, ui-r=limi, a2.0=gavin 2010-07-30 16:48:57 -07:00
Rob Arnold
25b24d121c Bug 580522 - Need a user-visible pref to disable Aero Peek r=gavin ui-r+a=beltzner 2010-07-30 13:11:06 -04:00
Dave Townsend
81dc0c6a78 Fix a merge failure in the test from bug 581229. 2010-07-30 08:36:35 -07:00
Mihai Sucan
52e7c29dcb Bug 566081 - Inspect doesn't work inside iframes, r=gavin 2010-07-30 08:30:55 -03:00
Rob Campbell
5b8366aaf0 Bug 574408 - Make use of titlebar attributes in Inspector to allow panel positioning, r=gavin, a=bsmedberg 2010-07-30 08:30:55 -03:00
Axel Hecht
02a35de34e bug 579175, add services/sync to filter.py to get it exposed to l10n for real. Localizers, weave-l10n has these in services. a=beltzner 2010-07-30 11:07:42 +02:00
Dão Gottwald
6bc1ff7fa2 Bug 581475 - Bail out early if the context menu isn't going to be displayed, remove duplicate property initialization. r=mano 2010-07-30 08:53:13 +02:00
Dão Gottwald
e1caa7cb7e 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
0dd6b12228 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
Robert Strong
1161bf14af Uupdate Firefox package-manifest.in for Bug 575838 - Build scripts should be able to handle @BINPATH@/extensions/testpilot@labs.mozilla.com/* in package-manifest.in for the installer. r=ted.mielczarek, approval2.0=benjamin 2010-07-29 22:47:25 -07:00
Robert Strong
db099126b5 [Windows only] use absolute paths for Bug 575838 - Build scripts should be able to handle @BINPATH@/extensions/testpilot@labs.mozilla.com/* in package-manifest.in for the installer. r=ted.mielczarek, approval2.0=benjamin 2010-07-29 22:46:47 -07:00
Robert Strong
f84e38ec22 [Windows only] patch 2 - convert preprocess-locale.pl to python rev3 for Bug 570689 - Convert preprocess-locale.pl to a python script. r=ted.mielczarek, approval2.0=benjamin 2010-07-29 22:39:25 -07:00
Kyle Huey
2916ae6233 Fix syntax error in test 2010-07-29 19:35:05 -07:00
Nochum Sossonko
1b1943c0c9 Bug 565458 - Attempt to fix intermittent browser_privatebrowsing_beforeunload.js test failure. r=ehsan, a=NPOTB
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_beforeunload.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_beforeunload_enter.js
2010-07-29 20:33:01 -04:00
Dave Townsend
cb11ac5a32 Bug 581229: Allow popup notifications to persist across page loads. r=gavin 2010-07-29 15:59:55 -07:00
Dave Townsend
d8f68fd16b Bug 577048: Notifications about add-on installs and errors aren't shown if the source tab has no host. r=gavin 2010-07-29 15:59:39 -07:00
Frank Yan
30d2c2cd81 Bug 580956: 'Undo Close Tab' should not be hidden when there are none to undo. r=dao
--HG--
extra : rebase_source : ae5bdfa5f4c169127f4b59e805a333ff148c3ca2
2010-07-29 14:36:42 -07:00
Nick Thomas
a94aed3ea5 Bug 580598: Add obsolete plugin files to removed-files.in. r=ted
--HG--
extra : rebase_source : 1c9a36008412a3bb910010873d9edcdfcdbb4719
2010-07-29 14:24:45 -07:00
Dave Townsend
ef18d43320 Update version and maxVersion of feedback, no bug, a=me. 2010-07-29 10:33:09 -07:00
Jono S Xia
d6e43f1d30 Bug 570581: No studies get loaded if index file not reachable on Firefox startup. r+a=dtownsend 2010-07-29 10:31:23 -07:00
Jono S Xia
a18a09b0f1 Bug 576321: Add "You missed this study" icon to legacy studies user didn't participate in. r+a=dtownsend 2010-07-29 11:56:30 -07:00
Rail Aliev
a4787c8a73 Bug 580010, bump versions to Fx4.0b3pre/Gecko 2.0b3pre, r=nthomas (CLOSED TREE) 2010-07-21 12:49:22 +12:00
Raymond Lee
b65b14f504 Merge 2010-07-21 08:14:36 +08:00
Raymond Lee
5e022790c9 Merge 2010-07-21 08:09:28 +08:00
Michael Yoshitaka Erlewine
da7fb4f331 removing trailing whitespace. I bow down to the Great Mardak and ask for his mercy. 2010-07-20 20:09:17 -04:00
Raymond Lee
4731967f49 Fixed Bug 580419 - Using option-space to enter Tabcandy doesn't work when in the the Awesome Bar or Search Bar 2010-07-21 07:58:50 +08:00
Michael Yoshitaka Erlewine
9abef4d54a tabs cleanup: conservative commit 2
rm Extension, Dictionary. We are now attaching the BrowserTab and BrowserWindow objects to their respective chromeTab and chrome window objects as an attribute for lookup purposes.
The unload management is now gone, which means this may break reset/reload.
2010-07-20 19:44:05 -04:00
Michael Yoshitaka Erlewine
208476da6d tabs cleanup: conservative commit 1
rm ImmutableArray, XULApp, Tabs.tab, and some other unused things.
2010-07-20 19:02:08 -04:00
Michael Yoshitaka Erlewine
e8e6a2da9c mirror.js: rm _createEl and just create the Mirror directly in link 2010-07-20 18:54:28 -04:00
Axel Hecht
88ce58bdda bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE 2010-07-20 20:59:54 +02:00
Axel Hecht
afcdfbbb05 bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE 2010-07-20 20:22:04 +02:00
Axel Hecht
51ae486a62 bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE 2010-07-20 20:01:56 +02:00
Benjamin Smedberg
34b6f661c3 Bug 580227: Upgrade Test Pilot for the new component registration changes. r=dtownsend landing on a CLOSED TREE 2010-07-20 10:42:17 -07:00
Edward Lee
b40ce0f381 Remove trailing spaces/tabs from tabcandy files. 2010-07-20 10:17:29 -07:00
Edward Lee
9c721e78ab Remove trailing spaces/tabs from tabcandy files. 2010-07-20 10:17:29 -07:00
Michael Yoshitaka Erlewine
bd50de9920 rm TabMirror.customize abstraction, meaning we got rid of the only use of Tabs.tab() .
To get things to load correctly (after their dependencies have been loaded), the order of #includes was changed. We now load mirror.js right after tabitems.js, hopefully making it a bit easier to later merge them.
2010-07-20 12:46:01 -04:00
Benjamin Smedberg
09788e7997 The #ifdefs in the last patch were incorrect. This one actually works, even on a CLOSED TREE. (bug 557225) 2010-07-20 12:30:56 -04:00
Benjamin Smedberg
b1eadd4b31 Fix packaging bustage from bug 557225 on a CLOSED TREE. 2010-07-20 10:19:11 -04:00
Marco Bonardo
9e8a9835ef Bug 575132 - Intermittent failure in browser_history_sidebar_search.js a=bsmedberg for CLOSED TREE 2010-07-20 16:48:23 +02:00
Axel Hecht
761692850f bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE 2010-07-20 15:51:28 +02:00
Raymond Lee
1e6e779ae8 Removed some debug statements 2010-07-20 16:12:38 +08:00
Raymond Lee
1bdc28270e Moved the hideCachedData call to the tabs.onLoad() and added an animation for switching from cached image to canvas 2010-07-20 16:08:03 +08:00
Axel Hecht
5aa3995fed bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE 2010-07-20 08:58:31 +02:00
Raymond Lee
1b960615bf Added some docuemation, added _ for some private methods in UI.js and remove all iQ.isAnimating calls 2010-07-20 13:26:27 +08:00
Raymond Lee
4b7c39f45b Change a forEach to map in the showOnlyTheseTabs() 2010-07-20 10:27:03 +08:00
Raymond Lee
70187d4745 Create a copy of tabs parameters inside the showOnlyTheseTabs() 2010-07-20 09:48:35 +08:00
Ian Gilman
475f1478b1 + Filled out iQ.js comments 2010-07-19 15:27:19 -07:00
Ian Gilman
b4adf9d687 + Filled out iQ.js comments 2010-07-19 15:27:19 -07:00
Ian Gilman
50ec35dc7f + Removed the vestigial $content property from Group 2010-07-19 12:02:57 -07:00
Michael Yoshitaka Erlewine
0b1bea1854 rm stacktrace.js!
--HG--
extra : rebase_source : ee145386d3b3836f0c02005c1f4f7ef517377b7e
2010-07-19 14:21:09 -04:00
Michael Yoshitaka Erlewine
c6e5b5aca4 rm stacktrace.js!
--HG--
extra : rebase_source : ee145386d3b3836f0c02005c1f4f7ef517377b7e
2010-07-19 14:21:09 -04:00
Raymond Lee
340142f4cc Improve the key combination detection code 2010-07-19 18:44:11 +08:00
Raymond Lee
e4030d1c3c Fixed Bug 579814 - Fix behavior of tab-manipulation keyboard shortcuts 2010-07-19 17:37:22 +08:00
Raymond Lee
a74f56c59a Fixed Bug 579814 - Fix behavior of tab-manipulation keyboard shortcuts 2010-07-19 17:37:22 +08:00
Michael Yoshitaka Erlewine
6f98446603 rm trailing whitespace 2010-07-18 11:58:10 -04:00
Michael Yoshitaka Erlewine
061c70e020 rm trailing whitespace 2010-07-18 11:58:10 -04:00
Michael Yoshitaka Erlewine
2be7d1674c quick code cleanup suggestion by Steffen Wilberg 2010-07-18 11:16:32 -04:00
Michael Yoshitaka Erlewine
e8014d0a21 Bug 579223: improved tab-dragged-onto-other-tab groups
+ size of phantom group is preserved in final group
+ trenches are no longer activated if the item they projected from is a faux item or is being dragged
+ improved styling of such groups
2010-07-18 01:03:31 -04:00
Michael Yoshitaka Erlewine
82b473e0e6 - Drag: split snap into snapBounds and snap which uses the current item's bounds as snapBounds' input 2010-07-18 00:52:47 -04:00
Michael Yoshitaka Erlewine
9b69f0ea6a + trenches now come registered with the Item that projects them, not just the DOM element 2010-07-17 23:18:43 -04:00
Steffen Wilberg
93103884b7 Make close boxes appear on Linux as well. 2010-07-17 23:17:27 +02:00
Michael Yoshitaka Erlewine
b6767df11d - Use Rect.css more consistently: gets rid of some spurious CSS unknown value warnings when moving trenches, and simplifies Item._updateDebugBounds and Group.setNewTabButtonBounds
- Some cleanup and better docs for Group.setBounds

--HG--
extra : rebase_source : c21758828da2f282a3fba53c50247def35ae5af3
2010-07-17 17:10:29 -04:00
Raymond Lee
18ba7c9b84 Refactor Tabs.onReady method 2010-07-18 00:12:31 +08:00
Raymond Lee
a65b1e2d88 Remove a 'for each' which we don't need 2010-07-17 10:58:11 +08:00
Raymond Lee
fe43613a28 Merge 2010-07-17 10:40:08 +08:00
Ian Gilman
9eca35d1cb + Finished documenting all of the app code, plus utils.js. Remaining: iq.js, mirror.js, tabs.js 2010-07-16 17:27:01 -07:00
Ian Gilman
fb7ce8ecdf + Finished documenting all of the app code, plus utils.js. Remaining: iq.js, mirror.js, tabs.js 2010-07-16 17:27:01 -07:00
Neil Deakin
78f7ba2d70 Bug 585841 - Right click, 'copy link location' no longer works
r=Neil
a=blocking2.0
a=sheriff for landing
2010-08-10 13:55:31 -07:00
Edward Lee
22fb634ba6 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
2cabd967a0 Refactor the code which loads cached images at browser startup 2010-07-16 23:52:06 +08:00
Raymond Lee
615d822ba2 Fixed Bug 578927: Re-order tabs in a group in Tab Candy doesn't reflect on the tab bar 2010-07-16 18:00:46 +08:00
Aza Raskin
d1f875965f + Fixed some commit collisions. 2010-07-16 00:27:28 -07:00
Aza Raskin
cf8ef6f93d + Clicking on a non-stacked group now brings you to the last active tab in that group. 2010-07-16 00:17:19 -07:00
Raymond Lee
037c52e6a1 Fixed Bug 579192: Fix keyboard navigation of Tabcand 2010-07-16 15:00:20 +08:00
Ian Gilman
d43662bb09 + Group.add now refuses to add a tab if it was already attached to another group, instead of just warning about it. Though maybe it should automatically remove it from the previous group?
+ Documentation updates
2010-07-15 17:23:39 -07:00
Ian Gilman
48f08d64fa + The close box wasn't showing up on Windows; fixed (hopefully) 2010-07-15 15:43:51 -07:00
Raymond Lee
f6bf040f29 Bug 577445: Show tab candy title in the tab candy interface and change 'let' to 'var' 2010-07-15 16:41:08 +08:00
Raymond Lee
692588a847 Bug 577445: Show tab candy title in the tab candy interface and change 'let' to 'var' 2010-07-15 16:41:08 +08:00
Raymond Lee
29bffe4181 Bug 576110: Show saved thumbnails at browser startup if tab candy was last open 2010-07-15 10:40:46 +08:00
Raymond Lee
24e44cd95b Bug 576110: Show saved thumbnails at browser startup if tab candy was last open 2010-07-15 10:40:46 +08:00
Ian Gilman
177cd12414 + Cleaned up a scope issue with Subscribable and added some guards 2010-07-14 17:24:03 -07:00
Ian Gilman
58b5e5aa05 + Cleaned up a scope issue with Subscribable and added some guards 2010-07-14 17:24:03 -07:00
Ian Gilman
1672b8823b + Subscribable (in utils.js) no longer has a separate onClose path
+ My recent addition of a "content" div broke dragging to make a new group; fixed
2010-07-14 16:59:37 -07:00
Ian Gilman
915e2f9cdf + Subscribable (in utils.js) no longer has a separate onClose path
+ My recent addition of a "content" div broke dragging to make a new group; fixed
2010-07-14 16:59:37 -07:00
Ian Gilman
fca7718259 + Fixed: Bug 577164 - 0 height body leaving feedback and reset buttons stranded? 2010-07-14 15:17:28 -07:00
Ian Gilman
f721908785 + Fixed a typo in iQ.each that was breaking everything
+ Rearranged the UIClass initialization sequence a little, to make sure everything happens in the right sequence
2010-07-14 11:21:07 -07:00
Ian Gilman
873fcd5923 + Fixed a typo in iQ.each that was breaking everything
+ Rearranged the UIClass initialization sequence a little, to make sure everything happens in the right sequence
2010-07-14 11:21:07 -07:00
Michael Yoshitaka Erlewine
b2e717a708 Bug 577387: cleanup of the new iQ(...).each 2010-07-14 00:08:45 -04:00
Michael Yoshitaka Erlewine
3d5a62164b Bug 577387: cleanup of the new iQ(...).each 2010-07-14 00:08:45 -04:00
Michael Yoshitaka Erlewine
9a60acf905 Bug 577387: iQ.each is gone! iQ(...).each still exists, and its callback must now explicitly take the element as its argument 2010-07-14 00:03:47 -04:00
Michael Yoshitaka Erlewine
7105f49a06 Bug 577387: iQ.each is gone! iQ(...).each still exists, and its callback must now explicitly take the element as its argument 2010-07-14 00:03:47 -04:00
Michael Yoshitaka Erlewine
549be9a911 - TabItems: fixed bug where phantom trenches were created when a tab in a group is closed, but the group was not closed.
- Items: docs update
- BrowserTab: cleanup of getters
2010-07-13 23:48:22 -04:00
Michael Yoshitaka Erlewine
492bb0a42e Bug 577387: cleanup: removed a couple other instances of iQ.each 2010-07-13 22:58:30 -04:00
Michael Yoshitaka Erlewine
091ba94b69 cleanup: rm unused functions, constants from Utils + Mirror 2010-07-13 22:48:55 -04:00
Michael Yoshitaka Erlewine
347f0c6f98 cleanup: rm unused functions, constants from Utils + Mirror 2010-07-13 22:48:55 -04:00
Michael Yoshitaka Erlewine
fe182c97dc iQ cleanup: of course we're Gecko > 1.9.2 so we have classList! use it in .{add,remove,has}Class 2010-07-13 22:17:35 -04:00
Michael Yoshitaka Erlewine
af882f8f2d iQ cleanup: of course we're Gecko > 1.9.2 so we have classList! use it in .{add,remove,has}Class 2010-07-13 22:17:35 -04:00
Michael Yoshitaka Erlewine
5b86879af2 iQ cleanup: rm unused regexps and other constants; rm iQ.toArray, iQ.pushStack, iQ.slice, iQ.trim 2010-07-13 22:02:11 -04:00
Michael Yoshitaka Erlewine
4992a5c057 iQ cleanup: rm unused regexps and other constants; rm iQ.toArray, iQ.pushStack, iQ.slice, iQ.trim 2010-07-13 22:02:11 -04:00
Michael Yoshitaka Erlewine
2f32f45b95 cleanup: iQ.each: never used with args, so that code is removed 2010-07-13 20:28:36 -04:00
Michael Yoshitaka Erlewine
5f38801c76 cleanup: iQ.each: never used with args, so that code is removed 2010-07-13 20:28:36 -04:00
Michael Yoshitaka Erlewine
45ae6c43ea cleanup: rm iQ.grep; using .filter instead. 2010-07-13 20:23:04 -04:00
Michael Yoshitaka Erlewine
5b247088d7 cleanup: rm iQ.grep; using .filter instead. 2010-07-13 20:23:04 -04:00
Michael Yoshitaka Erlewine
66fbb972b6 cleanup: rm iQ.inArray 2010-07-13 20:10:53 -04:00
Michael Yoshitaka Erlewine
d91ae5c6c7 cleanup: rm iQ.inArray 2010-07-13 20:10:53 -04:00
Michael Yoshitaka Erlewine
115a5ceee4 cleanup: rm various instances of iQ.each where it's an array, so we can use .forEach
--HG--
extra : rebase_source : f41f088641f71aba6796092766b0645fca925ad1
2010-07-13 19:38:51 -04:00
Michael Yoshitaka Erlewine
9d7a3685bc cleanup: rm various instances of iQ.each where it's an array, so we can use .forEach
--HG--
extra : rebase_source : f41f088641f71aba6796092766b0645fca925ad1
2010-07-13 19:38:51 -04:00
Ian Gilman
259a282644 + I don't think we need the timeout in Page.showChrome; commented out now.
+ Added a video to the "first run" panel
2010-07-13 16:25:35 -07:00
Michael Yoshitaka Erlewine
2518a2912d cleanup: rm iQ.makeArray 2010-07-13 17:39:46 -04:00
Michael Yoshitaka Erlewine
f733123ef4 cleanup: rm iQ.makeArray 2010-07-13 17:39:46 -04:00
Edward Lee
f573baa6f5 Merge mozilla-central to tabcandy-central. 2010-07-13 12:23:12 -07:00
Michael Yoshitaka Erlewine
df6d4f0c2a UI: tabOnFocus: refactored to no longer use doSetup; saveVisibility: no longer print log 2010-07-13 15:07:24 -04:00
Jono S Xia
d9fd4788d3 Bug 575080: l10n review of test pilot/feedback. r=pike 2010-07-13 10:00:10 -07:00
Raymond Lee
d710dcfb46 Bug 576110: Open tab candy at startup if it was last open 2010-07-13 12:04:04 +08:00
Raymond Lee
8f35bf6010 Bug 576110: Open tab candy at startup if it was last open 2010-07-13 12:04:04 +08:00
Michael Yoshitaka Erlewine
64b5255f24 bug 577968: remove references to == true, == false 2010-07-11 21:08:33 -04:00
Michael Yoshitaka Erlewine
12fea0e4df bug 577968: control words like if, switch, etc. should have a space after them 2010-07-11 20:54:42 -04:00
Michael Yoshitaka Erlewine
579040e1cf bug 577968: control words like if, switch, etc. should have a space after them 2010-07-11 20:54:42 -04:00
Michael Yoshitaka Erlewine
7c68df1b19 bug 577968: removing elses preceded by returns; replacing tabs 2010-07-11 19:48:05 -04:00
Michael Yoshitaka Erlewine
a1f67cb780 bug 577968: removing elses preceded by returns; replacing tabs 2010-07-11 19:48:05 -04:00
Steffen Wilberg
8639f99c6b Bug 577947: TabCandy toolbarbutton lacks styling on Windows and Linux. 2010-07-11 20:26:36 +02:00
Michael Yoshitaka Erlewine
49393e80b9 UI: showOnlyTheseTabs: a faster way to find visibleTabs, by checking the associated tabbrowser 2010-07-11 15:20:25 -04:00
Shawn Wilsher
6f27d118a4 Merge for back out of changeset a0d6e4d37273 (bug 575870)
a=sheriff
2010-08-10 13:05:42 -07:00
Shawn Wilsher
9441651b39 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
Michael Yoshitaka Erlewine
dde2b6ffad UI: bugfix: rm reference to getVisibleTab(); doc fix 2010-07-10 22:26:12 -05:00
Raymond Lee
a0c22d0035 patch for bug #577651
* Create a new tab in a group which has  more than one tab. While in
tabcandy, close that tab. Now you're zoomed into the tab to its left.
You should instead remain in TabCandy.
* Another improvement for the command+e keyboard combination.
2010-07-09 12:44:59 -07:00
Michael Yoshitaka Erlewine
84cd66763c UI: reusing getAllTabs more; killed getVisibleTabs as it was not doing what it stated... replaced with getVisibleTabCount 2010-07-09 12:17:51 -07:00