Commit Graph

25 Commits

Author SHA1 Message Date
Michael Yoshitaka Erlewine
58deab1b5e Bug 591147 Let TabItem spacing used in Items.arrange be specified via CSS [r+a=dietrich] 2010-09-08 19:44:16 -04:00
Edward Lee
c28f521216 Bug 594152 - Give function names to tabview.js objects [r=dietrich a=dietrich]
Give function names as object_func for various object prototypes and singletons. Also cleans up some var Name = function() patterns into just function Name.
2010-09-08 10:02:08 -07:00
Dietrich Ayala
30c934075c backing out bug 590742, bug 591147, bug 592586, a=dietrich 2010-09-07 00:28:01 +07:00
Michael Yoshitaka Erlewine
bff689fafb Bug 591147 Let TabItem spacing used in Items.arrange be specified via CSS [r+a=dietrich] 2010-09-06 10:42:41 -04:00
Josh Matthews
2814f869bb Backing out ebce58252cf8, 1f94199af190, 81664d1912ee, 8e95db7adbea, f97a99ad74af, 66d12a1541f2, 6b936d1a9e65 2010-09-04 15:15:31 -04:00
Michael Yoshitaka Erlewine
5ad422d958 Bug 591147 Let TabItem spacing used in Items.arrange be specified via CSS [r+a=dietrich] 2010-09-03 15:05:56 -04:00
Michael Yoshitaka Erlewine
40ee5215d4 Bug 591705 Don't animate on tab view startup [r+a=dietrich] 2010-09-03 14:55:55 -04: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
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
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
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
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
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
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
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
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
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
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
Raymond Lee
af5ffd7ce6 Remove extra spaces inside () and add spacing for before { bracket 2010-07-30 17:54:30 +08:00
Edward Lee
eee4049234 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