Commit Graph

221 Commits

Author SHA1 Message Date
Edward Lee
e849318866 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.
2010-08-12 15:00:39 -07:00
Ian Gilman
b4e75fb574 Bug 586834 - Reinstate the Tab Candy bounce [r=dolske a=dolske] 2010-08-12 17:37:22 -07:00
Ian Gilman
6644463c09 + partial fix for 586721: Kill dev menu [r=dolske a=dolske] 2010-08-12 17:28:45 -07:00
Michael Yoshitaka Erlewine
fa8e13ff17 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
2010-08-12 18:32:18 -05:00
Michael Yoshitaka Erlewine
640e7a58a8 Bug 574875: First run experience: tabs are put together into a single group--now without unnecessary animation! [r=dolske a=dolske] 2010-08-12 16:20:59 -05:00
Edward Lee
15f07e0acc Bug 586753 - Use ctrl-alt-space for win/linux to avoid ctrl-space 2010-08-12 12:43:31 -07:00
Edward Lee
cdba58cb1f 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
3ac28bbbbc Change a var to let. 2010-08-12 14:46:16 +08:00
Raymond Lee
97347f1242 Bug 586522 - Leaks in Tab Candy 2010-08-12 14:39:12 +08:00
Raymond Lee
a412148f8d Release some resources on unload 2010-08-12 12:36:58 +08:00
Michael Yoshitaka Erlewine
d9e6d234d8 Bug 574217: Some touchups based on comments from dolske 2010-08-11 23:08:33 -04:00
Michael Yoshitaka Erlewine
7ac73b5744 Fixes for Dolske's strict JS warnings 2010-08-11 22:01:29 -04:00
Michael Yoshitaka Erlewine
5d14a3954f 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
77dadee5f2 + I forgot to update the references to the newly renamed tabview.css files; fixed 2010-08-11 17:00:15 -07:00
Ian Gilman
3fb5c278bf + 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
2010-08-11 16:51:39 -07:00
Ian Gilman
ea8e373502 + 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
Michael Yoshitaka Erlewine
21e1a9cc4c 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
Ian Gilman
6c854e2851 + removed profiling code 2010-08-10 18:10:21 -07:00
Ian Gilman
9b2ba0c360 + addressing dao's comments in iQ 2010-08-10 16:31:12 -07:00
Michael Yoshitaka Erlewine
f702ead8bf 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
2010-08-10 19:20:05 -04:00
Ian Gilman
e11d9240e0 + removed the "beforeclose" event from TabItem and cleaned up the "close" event
+ Removed the "urlChanged" event from TabItem; inlining that code instead.
2010-08-10 15:36:56 -07:00
Ian Gilman
92dd14eadc + 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
2010-08-10 14:23:53 -07:00
Raymond Lee
649f6a8433 Fixed Bug 584627 - Tests for group 2010-08-11 02:39:28 +08:00
Ian Gilman
64a1cc06e5 + reversed the argument order for Utils.assert and Utils.assertThrow, per Dao's review 2010-08-10 11:13:10 -07:00
Raymond Lee
d19c336f1b Removed the remaining Utils.timeout 2010-08-11 00:19:08 +08:00
Michael Yoshitaka Erlewine
072932a467 Bug 582023: rm Utils.timeout 2010-08-10 09:30:23 -04:00
Michael Yoshitaka Erlewine
3489114ccc 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
90ce3af1fb Address review comments from bug 584532 comment 18: !listeners, event.target, observers function. 2010-08-10 03:05:10 -07:00
Ehsan Akhgari
111540ba12 Bug 585850 - Rename TabCandy modules from *.js to *.jsm (like the rest of js modules) 2010-08-09 23:51:23 -04:00
Edward Lee
c4c69e3a9f Move private variables/methods into local declarations not exported by AllTabs and change the interface to .register("change") instead of .onChange() for bug 584532. 2010-08-09 17:19:04 -07:00
Ian Gilman
36e9df7cf6 + no longer loading the frame at all until the user needs it 2010-08-09 17:24:08 -07:00
Ian Gilman
0b6e1aa40b + 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)
2010-08-09 14:57:34 -07:00
Raymond Lee
58bee10c10 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
d2f1825de7 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
49b519a21a 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
858ce8409f Bug 584699: quick fix to -moz-transform rendering bug 2010-08-09 00:06:54 -04:00
Raymond Lee
1c853b0ec2 Bug 585148 - Showing tabcandy for the first time results in many showOnlyTheseTabs 2010-08-09 11:52:26 +08:00
Michael Yoshitaka Erlewine
d0608ec724 quick touchup to GroupItems.getnextGroupItemTab 2010-08-08 23:41:07 -04:00
Michael Yoshitaka Erlewine
4cbcc73637 s/updateTabBarForActiveGroupItem/updateTabBar/; rm some tabs (don't worry, the whitespace kind) 2010-08-08 21:54:22 -04:00
Michael Yoshitaka Erlewine
72e1c32b3a 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
c563bea2ae 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
55e1194aba Bug 575851: kill the now defunct New Tab Group. 2010-08-08 18:47:06 -04:00
Michael Yoshitaka Erlewine
acc082f06b 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
2b20c32779 Ensure the frame is initialized when user accesses the tab context menu 2010-08-09 01:28:24 +08:00
Edward Lee
9f8f132e23 Remove unnecessary try/catch wrapping around a timeout-ed call. 2010-08-06 17:16:28 -07:00
Ian Gilman
9730df69a7 + 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
7b90d5605e + Renamed Group and Groups to GroupItem and GroupItems, respectively
+ Fixed a bug in "group sites"
2010-08-06 15:46:55 -07:00
Edward Lee
1750edca8a Prepare for bug 584532 by renaming Tabs and T -> AllTabs, allTabs -> tabs, browsers -> browserWindows, and removing QI(nsIObserver). 2010-08-06 15:19:57 -07:00
Ian Gilman
c36001e503 + a little cleanup for Bug 575851 - Implement the revised New Tab Experience 2010-08-06 14:22:56 -07:00
Ian Gilman
be65ca42e7 + We now update the thumbnail for the current tab (so the zoom down looks right) 2010-08-05 10:39:33 -07:00