Commit Graph

6599 Commits

Author SHA1 Message Date
Edward Lee
f282af4f77 Fix indentation in beginRemoveTab. 2010-08-12 03:32:07 -07:00
Edward Lee
2cbb4d0bee Merge backout 2010-08-12 03:29:54 -07:00
Edward Lee
ffd35d7fc4 Backed out changeset ed2484b982b9 due to accidental landing. 2010-08-12 03:24:29 -07:00
Edward Lee
c8ba8d7ad6 Bug 586147 - Restore visible tabs (and hide hidden ones) [r=zpao a=beltzner]
Port (copy) sessionstore changes from bug 583306 and add tests.
2010-08-12 02:10:05 -07:00
Raymond Lee
5c19510c58 Change a var to let. 2010-08-12 14:46:16 +08:00
Raymond Lee
dc1ad35b40 Bug 586522 - Leaks in Tab Candy 2010-08-12 14:39:12 +08:00
Raymond Lee
a77313ad4e Release some resources on unload 2010-08-12 12:36:58 +08:00
Michael Yoshitaka Erlewine
606e0b8349 Bug 574217: Some touchups based on comments from dolske 2010-08-11 23:08:33 -04:00
Michael Yoshitaka Erlewine
e657eee62c Fixes for Dolske's strict JS warnings 2010-08-11 22:01:29 -04:00
Michael Yoshitaka Erlewine
84b9f70725 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
5bf2c27f8d + I forgot to update the references to the newly renamed tabview.css files; fixed 2010-08-11 17:00:15 -07:00
Ian Gilman
5b66c2b656 + 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
d14feaee8f + 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
d410f1b82f + 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
5088184930 + 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
b74b1d6a50 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
3aac3bf665 Merge mozilla-central to tabcandy-central. 2010-08-11 11:13:46 -07:00
Ehsan Akhgari
e55869eb3a Backed out changeset 906a0b05656e because it doesn't work! 2010-08-11 14:12:15 -04:00
Ehsan Akhgari
defaa60f95 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
Edward Lee
f4ef76e19a Bug 582023 - Land TabCandy Utility Code (utils.jsm, iq.js) [r=dao a=npotb] 2010-08-11 10:28:06 -07:00
Michael Yoshitaka Erlewine
3fefad5aab 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
Michael Yoshitaka Erlewine
3fe70a6578 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
Robert Kaiser
2a31e2e419 bug 570788 - Incorporate improvements from SeaMonkey places review into Firefox code, round 4 (tree), r=mak a=gavin 2010-08-11 18:05:10 +02:00
Robert Kaiser
daf93e99e2 bug 570788 - Incorporate improvements from SeaMonkey places review into Firefox code, round 3 (PUIU, PC, sbUtils), r=mak a=gavin 2010-08-11 18:05:08 +02:00
Benjamin Smedberg
e6153772f3 Back out all of dgottwald's push from Wed Aug 11 05:04:25 2010 PDT because the tree is in a state of chaos and the push was obviously against tree rules. 2010-08-11 09:00:33 -04:00
Dão Gottwald
d60b74bc30 Bug 586114 - Consolidate toolbox bottom border styling. r=mano 2010-08-11 14:03:44 +02:00
Dão Gottwald
cbeb7af05f Bug 585021 - Animate when opening the Home page in a new tab. r=gavin 2010-08-11 14:03:26 +02:00
Dão Gottwald
8dda9cce85 Bug 585361 - Handle requests for synchronously removing an already asynchronously closing tab. r=gavin 2010-08-11 14:02:49 +02:00
Dão Gottwald
7a66f46a7d Bug 583745 - Adjust toolbar gradients for when the navbar is hidden. r=mano 2010-08-11 14:02:02 +02:00
Raymond Lee
17caf7cc09 Bug 585854 - Test tab previews in presence of Tab 2010-08-11 17:07:38 +08:00
Raymond Lee
79de2be602 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
a0f5ce049c Use preprocessor comments instead of <!-->.
--HG--
extra : rebase_source : 8908fc650096d86485d7116043dcc437095e5537
2010-08-10 21:29:08 -07:00
Edward Lee
62d60c52de 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
87c67120aa 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
4a27862651 Bug 574217: fixes to "the rest of Tab Candy" based on comments from dolske 2010-08-11 00:14:53 -04:00
Raymond Lee
379ef3b4df 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
9acd746ebc 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
33ba441530 Restore browser_visibleTabs test that accidentally got removed in 87c7be4465a4. 2010-08-10 20:39:45 -07:00
Edward Lee
762a707aaa Dummy whitespace to trigger a merge. 2010-08-10 20:39:02 -07:00
Raymond Lee
c28c2a758b Bug 585853 - Test 'bookmark all pages' in presence of tab candy 2010-08-11 11:34:38 +08:00
Doug Turner
7c50d1ab8c Merge from e10s clone. a=dougt 2010-08-10 18:33:38 -07:00
Ian Gilman
5060cd7f0e + removed profiling code
--HG--
extra : rebase_source : 690f1d46c2833ec2e122b53b2fbbc3b5a0e50aec
2010-08-10 18:10:21 -07:00
Edward Lee
b0d1d98f01 Backout df9bbe8b6d78 now that bug 583306 is fixed. 2010-08-10 18:03:22 -07:00
Edward Lee
77b3b23d1c 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
91c6e99bf6 Fix mozilla-central merge failure from 63b9ba3664a0. 2010-08-10 17:21:05 -07:00
Ian Gilman
e82d451659 + addressing dao's comments in iQ
--HG--
extra : rebase_source : 9fd229f468514fb08326fe292434de45e6167bfb
2010-08-10 16:31:12 -07:00
Ian Gilman
0a89c5909a + addressing dao's comments in iQ
--HG--
extra : rebase_source : 9fd229f468514fb08326fe292434de45e6167bfb
2010-08-10 16:31:12 -07:00
Michael Yoshitaka Erlewine
c0b5771a75 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
Michael Yoshitaka Erlewine
3a11cdef26 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
3b386c5d60 Actually enable the tests which pass 2010-08-10 19:13:13 -04:00
Ehsan Akhgari
759ca5b552 Disable all TabView tests for now 2010-08-10 18:56:11 -04:00
Ehsan Akhgari
8201d02a5f Run the TabCandy tests from the correct Makefile 2010-08-10 18:47:03 -04:00
Ian Gilman
160e4ba0ca + 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
7460ba46b9 Bug 585858: fixing whitespace
--HG--
extra : rebase_source : b332e14075d7f41ab09b79265f7803d806194b5e
2010-08-10 18:09:19 -04:00
Ian Gilman
49f9880244 + 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
c7eefd6688 Bug 585858: test tab context menu items with combinations of visible and hidden tabs 2010-08-10 15:33:08 -04:00
Raymond Lee
fe134a46da Improved the drag and drop test 2010-08-11 02:57:22 +08:00
Raymond Lee
ea3e0b1135 Fixed Bug 584627 - Tests for group 2010-08-11 02:39:28 +08:00
Ian Gilman
100fa37a41 + reversed the argument order for Utils.assert and Utils.assertThrow, per Dao's review 2010-08-10 11:13:10 -07:00
Ian Gilman
3381f8595e + reversed the argument order for Utils.assert and Utils.assertThrow, per Dao's review 2010-08-10 11:13:10 -07:00
Raymond Lee
7eb0f4ccb0 Removed the remaining Utils.timeout 2010-08-11 00:19:08 +08:00
Raymond Lee
4d4f929ff4 Bug 585837 - Tests for launching Tab candy 2010-08-11 00:11:06 +08:00
Raymond Lee
97140c85cf Fixed some issues in the drag and drop test 2010-08-11 00:06:04 +08:00
Michael Yoshitaka Erlewine
a381156a26 Bug 582023: rm Utils.timeout 2010-08-10 09:30:23 -04:00
Michael Yoshitaka Erlewine
4645c92a6b Bug 582023: rm Utils.timeout 2010-08-10 09:30:23 -04:00
Michael Yoshitaka Erlewine
1869016bed 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
Michael Yoshitaka Erlewine
8bddd0dbe9 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
69650603da Address review comments from bug 584532 comment 18: !listeners, event.target, observers function. 2010-08-10 03:05:10 -07:00
Edward Lee
0f4ef556db Merge mozilla-central to tabcandy-central. 2010-08-09 23:53:52 -07:00
Ehsan Akhgari
d6b330e338 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
a1bcc835c1 Fixed a test after the delay loading frame changes 2010-08-10 10:31:59 +08:00
Edward Lee
43b7d40966 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
20a7760e76 + no longer loading the frame at all until the user needs it 2010-08-09 17:24:08 -07:00
Ian Gilman
c24275c13c + 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
Ian Gilman
80b2ae42e5 + 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
4613e5a0ad 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
1d9d6a2972 merge backout on CLOSED TREE 2010-08-10 00:15:18 +02:00
Marco Bonardo
53e4c40b17 Backed out changeset b1e658a33221 on CLOSED TREE 2010-08-10 00:14:59 +02:00
Marco Bonardo
19ad36984a Backed out changeset a673a956d339 on CLOSED TREE 2010-08-10 00:12:56 +02:00
Marco Bonardo
10745c6d22 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
154cacd36e Bug 560830 - Handle DOMMouseScroll events in highlighter panels, r+a=gavin 2010-08-09 16:02:20 -03:00
Edward Lee
a869c43b41 Merge mozilla-central to tabcandy-central. 2010-08-09 10:38:19 -07:00
Marco Bonardo
8b758ffd5b Bug 552023 - Kill Places partitioned temp tables. r=sdwilsh a=blocking 2010-08-09 17:59:59 +02:00
Marco Bonardo
02f143eeb0 Bug 584658 - Switch to tab should not register subframes as open pages. r=gavin a=blocking 2010-08-09 17:59:31 +02:00
Benjamin Smedberg
ccb16680db Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted 2010-08-09 10:04:10 -04:00
Raymond Lee
07d617611a Add a licence block to a test 2010-08-09 17:00:33 +08:00
Raymond Lee
2fc3f6194d 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
3a7b62f309 Bug 585361 - Increase delay tolerance in browser_bug380960.js 2010-08-09 10:01:29 +02:00
Raymond Lee
b9c8a307e1 Another fix for the failing test 2010-08-09 15:47:52 +08:00
Dão Gottwald
13ae167b79 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
1b3ed923a4 Bug 581770 - Simplify and tweak tab styling. r=mano 2010-08-09 09:43:45 +02:00
Dão Gottwald
d6cbf77b97 Bug 582678 - Dragging app tab behind normal tab should make it a normal tab and vice versa. r=gavin 2010-08-09 09:43:24 +02:00
Raymond Lee
5689b68708 Fixed failing test after the name change to GroupItem(s) (Bug 583414) 2010-08-09 15:29:42 +08:00
Raymond Lee
b24a21ba0d 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
0832814e00 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
ac9f4d6a09 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
2c33d9a516 Bug 584699: quick fix to -moz-transform rendering bug
--HG--
extra : rebase_source : 89019c5a0acff884ab47f18b96503435c6a56e7e
2010-08-09 00:06:54 -04:00
Michael Yoshitaka Erlewine
79731acdaa Bug 584699: quick fix to -moz-transform rendering bug
--HG--
extra : rebase_source : 89019c5a0acff884ab47f18b96503435c6a56e7e
2010-08-09 00:06:54 -04:00
Makoto Kato
30640f3b73 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
5b0ae1ddd6 Bug 585148 - Showing tabcandy for the first time results in many showOnlyTheseTabs 2010-08-09 11:52:26 +08:00