Commit Graph

52 Commits

Author SHA1 Message Date
Raymond Lee
9714e5e418 Bug 586719 - Use proper constants in setTabViewFrameKeyHandlers [r=dolske a=dolske]
--HG--
extra : rebase_source : 1af40c4905b3866e1c08cf21759c0e1468a993dd
2010-08-13 15:18:29 +08:00
Raymond Lee
95adc882fc Bug 586712 - Lighten tabOnFocus (and rename it), [r=dolske a=dolske]
--HG--
extra : rebase_source : 737e30c88ff59739149aa238dad1d558c580c783
2010-08-17 22:13:45 +08:00
Raymond Lee
acbf492610 Bug 585855 - Test that the bookmark all tabs command is disabled when we have one visible and one hidden tab [r=dão sr=vlad a=gavin]
--HG--
extra : rebase_source : 728aa27e7ffdf08359c26fe709cac925c0d0f344
2010-08-14 02:36:40 +08:00
Frank Yan
0738155f43 Bug 587267 - Display the Firefox button when in TabView; r=dao approval2.0=gavin.sharp 2010-08-16 16:33:32 -04:00
Raymond Lee
33afd2d26f Bug 586693 - Do we still need to marshal browser events? [r=dolske a=blocking2.0]
* Removed some timeouts and fixed some broken user interactions that fixes various other bugs and test failures.
Bug 587029 - Tab Candy : closing last tab of a group leads to an isolated tab
Bug 586552 - GroupItem.newTab feedback should be immediate
* Init TabItems before handling firstrun tab grouping
* Removed _stopZoomPreparation related code since we are not using it anymore.
* Fixed the issue related to using move to other group feature. The moved tab is still visible in the tab bar after moving it to other group.

--HG--
extra : rebase_source : 9784acd2df5be4be5016cf15d52dabaccd68e2a5
2010-08-16 12:46:22 +08:00
Frank Yan
98f073e813 Bug 581820 - Minimize/Maximize/Close buttons missing when Firefox is in TabView [r=dolske a=dolske]
Give some margin to show the buttons even when in TabView.

--HG--
extra : rebase_source : 45918646e8b111deb67a1695faaaaada6c5ff6e8
2010-08-13 19:36:47 -07:00
Edward Lee
e8beed1cf3 Bug 586777 - Restore ctrl-space activation for on windows/linux [r=dolske a=dolske]
Switch back to ctrl-space and check for certain nodes where we shouldn't handle it.

--HG--
extra : rebase_source : 8ee74987148606472893f5230eaf4486f431c1fc
2010-08-12 15:00:39 -07:00
Ian Gilman
d703a36164 + partial fix for 586721: Kill dev menu [r=dolske a=dolske]
--HG--
extra : rebase_source : 9ee847d90a3f517474e6982e6d0b3ae8a8f2ec9c
2010-08-12 17:28:45 -07:00
Michael Yoshitaka Erlewine
afa4684a96 Bug 586685: All user-facing strings in JS are now localizable via stringbundle [r=dolske a=dolske]
NOT.
Everything but user facing strings being localized.
Random whitespace fixes.
Random styling changes.
Also has Bug 587158 - Update intro-video URL to CDN'ed version
And string changes.
And Bug 586814 - Unable to close Tab groups

--HG--
extra : rebase_source : 75a5ef7e1cedfd180358b0fb2e6ea02b1ecb8f0e
2010-08-12 18:32:18 -05:00
Edward Lee
861720eb07 Backout changesets a8b5109c2a6c to 6281bc7f1bbf. 2010-08-13 21:51:48 -07:00
Frank Yan
e1beba2680 Bug 581820 - Minimize/Maximize/Close buttons missing when Firefox is in TabView [r=dolske a=dolske]
Give some margin to show the buttons even when in TabView.
2010-08-13 19:36:47 -07:00
Raymond Lee
c7fd4c4fd2 Bug 587029 - Tab Candy : closing last tab of a group leads to an isolated tab [r=dolske a=dolske]
--HG--
extra : rebase_source : eb46ebd833b5014bb8536c8570a9e727cf16ddbe
2010-08-14 03:58:25 +08:00
Edward Lee
2a8332a24d Bug 586777 - Restore ctrl-space activation for on windows/linux [r=dolske a=dolske]
Switch back to ctrl-space and check for certain nodes where we shouldn't handle it.

--HG--
extra : rebase_source : 4b27a80e90b3e3d9bbfd98150a977dcc853f2180
2010-08-12 15:00:39 -07:00
Ian Gilman
87045679b3 + partial fix for 586721: Kill dev menu [r=dolske a=dolske]
--HG--
extra : rebase_source : 484290df6e525072053f5cb7786908e90fe2e0a0
2010-08-12 17:28:45 -07:00
Michael Yoshitaka Erlewine
d4e1a50954 Bug 586685: All user-facing strings in JS are now localizable via stringbundle [r=dolske a=dolske]
NOT.
Everything but user facing strings being localized.
Random whitespace fixes.
Random styling changes.
Also has Bug 587158 - Update intro-video URL to CDN'ed version
And string changes.
And Bug 586814 - Unable to close Tab groups

--HG--
extra : rebase_source : bc46adb3b3acc2e4daee067e9209d049fe1a8970
2010-08-12 18:32:18 -05:00
Michael Yoshitaka Erlewine
9a992624e0 Bug 574875: First run experience: tabs are put together into a single group--now without unnecessary animation! [r=dolske a=dolske]
--HG--
extra : rebase_source : 4f06fbe6cd2e0a4463f33ba0d8f13f494126ec83
2010-08-12 16:20:59 -05:00
Edward Lee
a4e378b366 Bug 586753 - Use ctrl-alt-space for win/linux to avoid ctrl-space 2010-08-12 12:43:31 -07:00
Edward Lee
d78c248762 Bug 581813 - Firefox with Tab Candy caused the Title and Tab Bars or the Menu and Tab Bars to appear black in colour
Push the TabView iframe down behind the tabbrowser when hiding TabView and restore the max height on show. This has slight issues in that it squishes the iframe contents as well as flashes black as we animate. Followup in bug 586679.
2010-08-12 09:38:21 -07: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
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
5060cd7f0e + removed profiling code
--HG--
extra : rebase_source : 690f1d46c2833ec2e122b53b2fbbc3b5a0e50aec
2010-08-10 18:10:21 -07: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
Michael Yoshitaka Erlewine
4645c92a6b Bug 582023: rm Utils.timeout 2010-08-10 09:30:23 -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
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
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
Raymond Lee
5b0ae1ddd6 Bug 585148 - Showing tabcandy for the first time results in many showOnlyTheseTabs 2010-08-09 11:52:26 +08:00
Michael Yoshitaka Erlewine
4f7f711946 s/updateTabBarForActiveGroupItem/updateTabBar/; rm some tabs (don't worry, the whitespace kind) 2010-08-08 21:54:22 -04:00
Michael Yoshitaka Erlewine
18ca5dc914 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
f59d44241d 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
aec521be06 Bug 575851: kill the now defunct New Tab Group. 2010-08-08 18:47:06 -04:00
Raymond Lee
29c9156549 Ensure the frame is initialized when user accesses the tab context menu 2010-08-09 01:28:24 +08:00
Ian Gilman
cd78c7f4dc + 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
502cc2969a + 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
0abeebc996 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
832cb80a90 + 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
bb9eacc9c1 Bug 576408 - Implement the downgraded tab triage experience 2010-08-06 22:17:01 +08:00
Michael Yoshitaka Erlewine
4736622e1b 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
f87aff3a6f Bug 582677 - Test for dragging and dropping item from one group to another group 2010-08-05 08:12:08 +08:00
Ian Gilman
badcd877d6 + 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
Ian Gilman
3436bf6284 + Commented out the "refresh" and "reset" items on the dev menu in response to Bug 584372 (Firefox will crash if either Refresh or Reset in the Dev menu of the Visual Tab Interface is selected); we may bring these back in the future if needed for dev work, but they won't be in the shipping version. 2010-08-04 11:09:06 -07:00
Raymond Lee
11274f0ba8 Bug 583434 - Unable to deselect tab group title when giving new title or renaming 2010-08-02 14:34:52 +08:00
Edward Lee
41bbe1bcb1 Make sure user facing names refer to Tab Sets for now for bug 583044.
--HG--
extra : rebase_source : daab3ae1a9b34eaf80b80f1476e57bce3fcaad8b
2010-07-30 14:56:33 -07:00
Raymond Lee
cedee7ad88 Bug 577323 - Use services.jsm instead of getService() 2010-07-30 19:19:52 +08:00
Raymond Lee
af5ffd7ce6 Remove extra spaces inside () and add spacing for before { bracket 2010-07-30 17:54:30 +08:00
Ian Gilman
dcc39df804 + Improved startup sequence: don't do anything until sessionstore is available, and then do only minimal work if we're not loading directly into the UI; most setup now happens when we first show the UI. Known issue: tabs aren't set up properly in the tab bar until after you go to the UI once.
+ fixed our use of undefined in iq.js
+ more tabItems cleanup, including removing a stray call to the now non-existent TabCanvas.detach()
+ "Group sites" no longer makes a "mixed" group if it would be empty
2010-07-29 17:23:49 -07:00