Commit Graph

11773 Commits

Author SHA1 Message Date
Michael Yoshitaka Erlewine
8a35f21530 Fixes for Dolske's strict JS warnings 2010-08-11 22:01:29 -04:00
Michael Yoshitaka Erlewine
6610075e44 GroupItem: unify title-setting to use setTitle (which in turn uses iQ.val). Note TabItem titles are set using iQ.text, so there is no security issue there. 2010-08-11 21:35:29 -04:00
Ian Gilman
7e50a7ea97 + I forgot to update the references to the newly renamed tabview.css files; fixed 2010-08-11 17:00:15 -07:00
Ian Gilman
fa7425a33f + Fixes for dolske and dao comments on bug 574217:
++ Unnecessary double if in tabbrowser.xml
++ moved body styling into CSS file and simplified
++ CSS comma style
++ Renamed platform.css files to tabview.css

--HG--
rename : browser/themes/gnomestripe/browser/tabview/platform.css => browser/themes/gnomestripe/browser/tabview/tabview.css
rename : browser/themes/pinstripe/browser/tabview/platform.css => browser/themes/pinstripe/browser/tabview/tabview.css
rename : browser/themes/winstripe/browser/tabview/platform.css => browser/themes/winstripe/browser/tabview/tabview.css
2010-08-11 16:51:39 -07:00
Ian Gilman
5e4fbc7f19 + More dolske comments for 574217
++ Initial developer
++ Cc, Ci, Cu
++ Spacing
++ Commented out code in storage.js
++ DOCTYPE
2010-08-11 15:28:45 -07:00
Ian Gilman
54fc2404b8 + Saving TabView visibility status as a straight string, to save from having to JSON during start up 2010-08-11 14:48:02 -07:00
Ian Gilman
32d9332f05 + Addressing dolske's comments in bug 574217:
++ Using Cc and Ci
++ Using let
++ Changing getWindowTitle to a memoizing getter
++ Updated comment for key combo routine
2010-08-11 12:17:57 -07:00
Ehsan Akhgari
c4287b61b0 Bug 586421 - Do not assume that TabView exists in tabbrowser.xml
--HG--
extra : rebase_source : 935c6e6838ab4820c526637e32d2a6073b5e9ea2
2010-08-11 16:48:38 -04:00
Edward Lee
8f0189e0d4 Merge mozilla-central to tabcandy-central. 2010-08-11 11:13:46 -07:00
Ehsan Akhgari
072e5b6996 Backed out changeset 906a0b05656e because it doesn't work! 2010-08-11 14:12:15 -04:00
Ehsan Akhgari
f3a3798d14 Bug 581813 - Firefox with Tab Candy caused the Title and Tab Bars or the Menu and Tab Bars to appear black in colour 2010-08-11 14:10:18 -04:00
Michael Yoshitaka Erlewine
132535ac01 Bug 582023: making changes requested by Dao. Now iQ + Utils are ready for m-c with r=dao! 2010-08-11 13:06:49 -04:00
Raymond Lee
d84340a6ee Bug 585854 - Test tab previews in presence of Tab 2010-08-11 17:07:38 +08:00
Raymond Lee
8969b2aead Fixed for Bug 585855 - Test that the bookmark all tabs command is disabled when we have one visible and one hidden tab 2010-08-11 14:16:02 +08:00
Edward Lee
dba04264f1 Use preprocessor comments instead of <!-->.
--HG--
extra : rebase_source : 8908fc650096d86485d7116043dcc437095e5537
2010-08-10 21:29:08 -07:00
Edward Lee
6559f9cf47 Use NSINSTALL instead of directly using nsinstall.py for our flat modules structure.
--HG--
extra : rebase_source : 2c310b5ab0a256da45dff1aea2cb693ac293d573
2010-08-10 21:25:49 -07:00
Michael Yoshitaka Erlewine
7e0bf93406 Bug 585855: Test that the bookmark all tabs command is disabled when we have one visible and one hidden tab
Note that this test has not been added to the Makefile.
2010-08-11 00:27:42 -04:00
Michael Yoshitaka Erlewine
76062b18b2 Bug 574217: fixes to "the rest of Tab Candy" based on comments from dolske 2010-08-11 00:14:53 -04:00
Raymond Lee
76d3dfb28a Rename browser_bookmarkAllTabs.js to browser_visibeTabs_bookmarkAllTabs.js
--HG--
rename : browser/base/content/test/browser_bookmarkAllPages.js => browser/base/content/test/browser_visibleTabs_bookmarkAllPages.js
2010-08-11 12:02:15 +08:00
Raymond Lee
0adea1cfe0 Improved the test for Bug 585853 - Test 'bookmark all pages' in presence of tab candy 2010-08-11 11:50:57 +08:00
Edward Lee
2668dfdc9f Restore browser_visibleTabs test that accidentally got removed in 87c7be4465a4. 2010-08-10 20:39:45 -07:00
Edward Lee
45fd9a9b88 Dummy whitespace to trigger a merge. 2010-08-10 20:39:02 -07:00
Raymond Lee
683f5f14ec Bug 585853 - Test 'bookmark all pages' in presence of tab candy 2010-08-11 11:34:38 +08:00
Ian Gilman
e3885fcbb9 + removed profiling code
--HG--
extra : rebase_source : 690f1d46c2833ec2e122b53b2fbbc3b5a0e50aec
2010-08-10 18:10:21 -07:00
Edward Lee
7ee177f06e Backout df9bbe8b6d78 now that bug 583306 is fixed. 2010-08-10 18:03:22 -07:00
Edward Lee
1e0cd03090 Move visibleTabs tests back to browser/content/test out of tabview directory.
--HG--
rename : browser/base/content/test/tabview/browser_visibleTabs.js => browser/base/content/test/browser_visibleTabs.js
rename : browser/base/content/test/tabview/browser_visibleTabs_contextMenu.js => browser/base/content/test/browser_visibleTabs_contextMenu.js
2010-08-10 17:58:26 -07:00
Edward Lee
29f6e6761f Fix mozilla-central merge failure from 63b9ba3664a0. 2010-08-10 17:21:05 -07:00
Ian Gilman
5c85620cf4 + addressing dao's comments in iQ
--HG--
extra : rebase_source : 9fd229f468514fb08326fe292434de45e6167bfb
2010-08-10 16:31:12 -07:00
Michael Yoshitaka Erlewine
4aae5fd392 Bug 582023 cleanup based on comments from Dao on things that are not iQ:
- typeof() is not a function
- formatting of && and || at the end of the line
- declaring variables more locally using let in Utils.extend
- the Initial Developer is the Mozilla Foundation

--HG--
extra : rebase_source : d1f9699fb0014c95e336c34d777ce354b141739a
2010-08-10 19:20:05 -04:00
Ehsan Akhgari
75592d119a Actually enable the tests which pass 2010-08-10 19:13:13 -04:00
Ehsan Akhgari
935b6e4577 Disable all TabView tests for now 2010-08-10 18:56:11 -04:00
Ehsan Akhgari
1996a98455 Run the TabCandy tests from the correct Makefile 2010-08-10 18:47:03 -04:00
Ian Gilman
c6453dd70a + removed the "beforeclose" event from TabItem and cleaned up the "close" event
+ Removed the "urlChanged" event from TabItem; inlining that code instead.

--HG--
extra : rebase_source : a48f380dd98eaaa971e7e0529b6c17b674a02b9f
2010-08-10 15:36:56 -07:00
Michael Yoshitaka Erlewine
09674870d1 Bug 585858: fixing whitespace
--HG--
extra : rebase_source : b332e14075d7f41ab09b79265f7803d806194b5e
2010-08-10 18:09:19 -04:00
Ian Gilman
cfc86e11be + TabView actions that require loading the frame (if not loaded) now wait properly until the frame is loaded before continuing. These actions are show, context menu, and "next group" key combo.
+ TabView now has explicit show and hide in addition to toggle
+ Cleaned out unused "ui" parameter to the Item drag callback

--HG--
extra : rebase_source : e8ffd468406fe1d0690e29a15ce4b431a0596371
2010-08-10 14:23:53 -07:00
Michael Yoshitaka Erlewine
6475ff255e Bug 585858: test tab context menu items with combinations of visible and hidden tabs 2010-08-10 15:33:08 -04:00
Raymond Lee
9ebd4aed95 Improved the drag and drop test 2010-08-11 02:57:22 +08:00
Raymond Lee
abbac1f541 Fixed Bug 584627 - Tests for group 2010-08-11 02:39:28 +08:00
Ian Gilman
ade1e56471 + reversed the argument order for Utils.assert and Utils.assertThrow, per Dao's review 2010-08-10 11:13:10 -07:00
Raymond Lee
6e4c1327c6 Removed the remaining Utils.timeout 2010-08-11 00:19:08 +08:00
Raymond Lee
d466d0301b Bug 585837 - Tests for launching Tab candy 2010-08-11 00:11:06 +08:00
Raymond Lee
ba12a1ea99 Fixed some issues in the drag and drop test 2010-08-11 00:06:04 +08:00
Michael Yoshitaka Erlewine
ce44fba261 Bug 582023: rm Utils.timeout 2010-08-10 09:30:23 -04:00
Michael Yoshitaka Erlewine
c97c36089e Bug 582023: move to use getBoundingClientRect instead of reading off the computed CSS for bounds; simplify getPropertyValue usage (based on comments from Dao) 2010-08-10 09:22:38 -04:00
Edward Lee
bd41000053 Address review comments from bug 584532 comment 18: !listeners, event.target, observers function. 2010-08-10 03:05:10 -07:00
Edward Lee
554de442ef Merge mozilla-central to tabcandy-central. 2010-08-09 23:53:52 -07:00
Ehsan Akhgari
3002c5320c Bug 585850 - Rename TabCandy modules from *.js to *.jsm (like the rest of js modules)
--HG--
rename : browser/base/content/tabview/modules/AllTabs.js => browser/base/content/tabview/modules/AllTabs.jsm
rename : browser/base/content/tabview/modules/groups.js => browser/base/content/tabview/modules/groups.jsm
rename : browser/base/content/tabview/modules/utils.js => browser/base/content/tabview/modules/utils.jsm
2010-08-09 23:51:23 -04:00
Raymond Lee
3f4c868644 Fixed a test after the delay loading frame changes 2010-08-10 10:31:59 +08:00
Edward Lee
7256f9fc2d Move private variables/methods into local declarations not exported by AllTabs and change the interface to .register("change") instead of .onChange() for bug 584532.
--HG--
rename : browser/base/content/AllTabs.js => browser/base/content/tabview/modules/AllTabs.js
extra : rebase_source : 267110a1a1dd8cc8d4188f20285d688b2b901aa1
2010-08-09 17:19:04 -07:00
Ian Gilman
b21b3d8697 + no longer loading the frame at all until the user needs it 2010-08-09 17:24:08 -07:00
Ian Gilman
41c8d29997 + Made the Groups.killNewTabGroup test a little tighter (in case someone has made a group called "new tabs")
+ Worked around bug 575672 (CSS transition assert)

--HG--
extra : rebase_source : 6f758e737c2092214ec3185be847f2c5da406be0
2010-08-09 14:57:34 -07:00
Jim Mathies
6bc5e27901 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
Marco Bonardo
b98ba87010 merge backout on CLOSED TREE 2010-08-10 00:15:18 +02:00
Marco Bonardo
3bee4c1b4c Backed out changeset b1e658a33221 on CLOSED TREE 2010-08-10 00:14:59 +02:00
Marco Bonardo
6da1912946 Backed out changeset a673a956d339 on CLOSED TREE 2010-08-10 00:12:56 +02:00
Marco Bonardo
12586f8f4f backout Bug 552023 due to Ts regression and test failure. Trying to reopen a CLOSED TREE 2010-08-09 23:08:24 +02:00
Julian Viereck
bc14bbd3fe Bug 560830 - Handle DOMMouseScroll events in highlighter panels, r+a=gavin 2010-08-09 16:02:20 -03:00
Edward Lee
a93e1ffd7e Merge mozilla-central to tabcandy-central. 2010-08-09 10:38:19 -07:00
Marco Bonardo
da59314c8d Bug 552023 - Kill Places partitioned temp tables. r=sdwilsh a=blocking 2010-08-09 17:59:59 +02:00
Marco Bonardo
140e5775c9 Bug 584658 - Switch to tab should not register subframes as open pages. r=gavin a=blocking 2010-08-09 17:59:31 +02:00
Benjamin Smedberg
7c3e8bf65e Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted 2010-08-09 10:04:10 -04:00
Raymond Lee
84f16de1ac Add a licence block to a test 2010-08-09 17:00:33 +08:00
Raymond Lee
34f20636b9 Moved tests to test/tabview folder
--HG--
rename : browser/base/content/test/browser_tabview_dragdrop.js => browser/base/content/test/tabview/browser_tabview_dragdrop.js
rename : browser/base/content/test/browser_visibleTabs.js => browser/base/content/test/tabview/browser_visibleTabs.js
2010-08-09 16:21:46 +08:00
Dão Gottwald
bf4e8aa6de Bug 585361 - Increase delay tolerance in browser_bug380960.js 2010-08-09 10:01:29 +02:00
Raymond Lee
a1241c5e5f Another fix for the failing test 2010-08-09 15:47:52 +08:00
Dão Gottwald
a372a66aaa Bug 585294 - Enable closing animation for tabs removed via the tab context menu. r=mano 2010-08-09 09:45:27 +02:00
Dão Gottwald
36f36cfe2a Bug 581770 - Simplify and tweak tab styling. r=mano 2010-08-09 09:43:45 +02:00
Dão Gottwald
373c5783a6 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
Raymond Lee
cfe8b85c26 Fixed failing test after the name change to GroupItem(s) (Bug 583414) 2010-08-09 15:29:42 +08:00
Raymond Lee
3a1e77abb6 Bug 585155 - Zoom in animation doesn't work when adding a new tab in tab candy interface 2010-08-09 15:01:30 +08:00
Raymond Lee
5f8e66768e Initialize frame if needed when user is switching to another group using keyboard combination 2010-08-09 13:16:39 +08:00
Michael Yoshitaka Erlewine
e9baa1f002 rm setSize during tabs' group-removal. Bottom line: tabs no longer shrink and block jerk the dragging when being dragged out of a group. 2010-08-09 00:17:03 -04:00
Michael Yoshitaka Erlewine
fe7e48b482 Bug 584699: quick fix to -moz-transform rendering bug
--HG--
extra : rebase_source : 89019c5a0acff884ab47f18b96503435c6a56e7e
2010-08-09 00:06:54 -04:00
Makoto Kato
20b317b74b Bug 582910 - 64-bit win7: TEST-UNEXPECTED-FAIL | e4x/Regress/regress-347155.js | Exited with code -1073741571 during test run. r=dbaron, a=dbaron 2010-08-09 12:58:33 +09:00
Raymond Lee
e08b14a0b9 Bug 585148 - Showing tabcandy for the first time results in many showOnlyTheseTabs 2010-08-09 11:52:26 +08:00
Michael Yoshitaka Erlewine
0e37675a64 quick touchup to GroupItems.getnextGroupItemTab 2010-08-08 23:41:07 -04:00
Michael Yoshitaka Erlewine
f508f5d680 s/updateTabBarForActiveGroupItem/updateTabBar/; rm some tabs (don't worry, the whitespace kind) 2010-08-08 21:54:22 -04:00
Michael Yoshitaka Erlewine
5ae22bf81e Bug 567391 + 575851: If we enter an orphan tab, only that tab should show up in the tab bar. 2010-08-08 21:49:43 -04:00
Michael Yoshitaka Erlewine
b8281d5a72 Bug 575851: Are You Experienced? The New Tab Experience
- refine the use of the "active group item", with differential styling, and not clearing when we enter the tab view
- set the active group item in other cases, like when we drag out groups, when we resize or move a group, or when a group is a drop target
2010-08-08 20:27:47 -04:00
Michael Yoshitaka Erlewine
4f0bca18de Bug 575851: kill the now defunct New Tab Group. 2010-08-08 18:47:06 -04:00
Michael Yoshitaka Erlewine
886a8d84d0 Bug 575851: some touchups to previous New Tab Experience code, based on comments by Ian 2010-08-08 18:32:08 -04:00
Raymond Lee
96f331cde2 Ensure the frame is initialized when user accesses the tab context menu 2010-08-09 01:28:24 +08:00
Raymond Lee
95f0f08831 Fixed some references after the name change to GroupItem(s) (Bug 583414) 2010-08-09 01:03:11 +08:00
Michael Yoshitaka Erlewine
5d43d0e30d Fixed failing test after the name change to GroupItem(s) (Bug 583414) 2010-08-07 22:51:20 -04:00
Edward Lee
d35d6cdf00 Merge mozilla-central to tabcandy-central. 2010-08-07 16:44:33 -07:00
Ehsan Akhgari
9550e5467b Bug 583388 - Delay loading the Tab Candy frame 2010-08-07 18:32:17 -04:00
Dão Gottwald
192ac9af53 browser_bug380960.js debug spew 2010-08-07 23:19:18 +02:00
Kurt Schultz
0f63d15af3 Bug 571782 - Make "New Tab" a split menu button that includes "New Tab" and "New Window" options. ui-r=faaborg r=dao 2010-08-07 09:08:47 +02:00
Edward Lee
3109ef5489 Remove unnecessary try/catch wrapping around a timeout-ed call.
--HG--
extra : rebase_source : 3b608473ff899668acea4e0e6964734c9db4d01d
2010-08-06 17:16:28 -07:00
Ian Gilman
71b1e4a330 + Started groups.js module (nothing to see yet)
+ Fixed assert caused by the recent change from Tabs to AllTabs
2010-08-06 17:02:21 -07:00
Ian Gilman
d2e44b510b + Renamed Group and Groups to GroupItem and GroupItems, respectively
+ Fixed a bug in "group sites"

--HG--
rename : browser/base/content/tabview/groups.js => browser/base/content/tabview/groupitems.js
extra : rebase_source : 06525a410c9f3a7d3a3f3023d6b1b520295a8fe6
2010-08-06 15:46:55 -07:00
Edward Lee
a00481d23b Prepare for bug 584532 by renaming Tabs and T -> AllTabs, allTabs -> tabs, browsers -> browserWindows, and removing QI(nsIObserver).
--HG--
rename : browser/base/content/tabview/modules/tabs.js => browser/base/content/AllTabs.js
extra : rebase_source : 1eedbcbdbda0895f12170f93c55b6946612d8819
2010-08-06 15:19:57 -07:00
Ian Gilman
6d2d4891c3 + a little cleanup for Bug 575851 - Implement the revised New Tab Experience
--HG--
extra : rebase_source : e0a4063328d2019eaf375a57b85a7b4617fabc4a
2010-08-06 14:22:56 -07:00
Dão Gottwald
e518527d3b Bug 380960 - Implement closing tabs animation. r=fyan,gavin
--HG--
extra : rebase_source : c0d4192450a1017be7c8907a0cba6c9afab1028e
2010-08-06 22:15:18 +02:00
Raymond Lee
13429cabcd Fixed a typo for Bug 576408 - Implement the downgraded tab triage experience 2010-08-07 03:52:14 +08:00
Edward Lee
c927cc0657 Backout d6a355524fcb from bug 581894 now that bug 579869 is fixed. 2010-08-06 12:47:16 -07:00
Robert Sayre
6d86fc6985 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Blake Kaplan
44cdf0cf6b Bug 584261 - Initialize the tab element before attaching the browser. r=gavin 2010-08-05 12:38:07 -07:00
Ian Gilman
a93ca1beaa + We now update the thumbnail for the current tab (so the zoom down looks right)
--HG--
extra : rebase_source : cb1888e26493760207e9c94697a93b1863036b79
2010-08-05 10:39:33 -07:00
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