Commit Graph

224248 Commits

Author SHA1 Message Date
Michael Yoshitaka Erlewine
df6d4f0c2a UI: tabOnFocus: refactored to no longer use doSetup; saveVisibility: no longer print log 2010-07-13 15:07:24 -04:00
Raymond Lee
8f35bf6010 Bug 576110: Open tab candy at startup if it was last open 2010-07-13 12:04:04 +08:00
Michael Yoshitaka Erlewine
64b5255f24 bug 577968: remove references to == true, == false 2010-07-11 21:08:33 -04:00
Michael Yoshitaka Erlewine
579040e1cf bug 577968: control words like if, switch, etc. should have a space after them 2010-07-11 20:54:42 -04:00
Michael Yoshitaka Erlewine
a1f67cb780 bug 577968: removing elses preceded by returns; replacing tabs 2010-07-11 19:48:05 -04:00
Steffen Wilberg
8639f99c6b Bug 577947: TabCandy toolbarbutton lacks styling on Windows and Linux. 2010-07-11 20:26:36 +02:00
Michael Yoshitaka Erlewine
49393e80b9 UI: showOnlyTheseTabs: a faster way to find visibleTabs, by checking the associated tabbrowser 2010-07-11 15:20:25 -04:00
Michael Yoshitaka Erlewine
dde2b6ffad UI: bugfix: rm reference to getVisibleTab(); doc fix 2010-07-10 22:26:12 -05:00
Raymond Lee
a0c22d0035 patch for bug #577651
* Create a new tab in a group which has  more than one tab. While in
tabcandy, close that tab. Now you're zoomed into the tab to its left.
You should instead remain in TabCandy.
* Another improvement for the command+e keyboard combination.
2010-07-09 12:44:59 -07:00
Michael Yoshitaka Erlewine
84cd66763c UI: reusing getAllTabs more; killed getVisibleTabs as it was not doing what it stated... replaced with getVisibleTabCount 2010-07-09 12:17:51 -07:00
Raymond Lee
da2bde36ec some patches for bug #577650
+ Create two groups; one with a single tab and another with several
tabs. Go into the single tab and then close the tab. You return to the
TabCandy interface as you should, but you see one of the other tabs
zooming out. There should be no zoom out in this case. [RAYMOND]
+ Cmd+e key combination is not working in the tab candy.
+ close buttons on tabs are still not showing correctly.  Add a bunch
of tabs to the tabstrip so all close buttons for background tabs are
hidden, go into Tab Candy interface and remove tabs until you know the
close buttons should appear.  Then, zoom into a tab and the close
buttons on back
2010-07-09 12:02:32 -07:00
Michael Yoshitaka Erlewine
f8e44e9f95 quickly patching a bug for new tab position in tab bar 2010-07-09 11:43:07 -07:00
Michael Yoshitaka Erlewine
429075dbe4 UI: added getAllTabs, inspired by Raymond's patch. cleaned up urlbar method. 2010-07-09 10:09:32 -07:00
Raymond Lee
a1bde0444f refactored showOnlyTheseTabs (bug #577649) 2010-07-09 09:53:19 -07:00
Ian Gilman
fbc3e0cf26 + The first-run help item now has a close box (that works) 2010-07-07 17:19:28 -07:00
Ian Gilman
3392c9ea17 + started work on the first run experience: everything goes into a single new group, and there is an info item as well
+ Added "reset" to the dev menu so we can test first run (since the reset button is currently AWOL)
+ Added Utils.assertThrow(), an assert that throws an exception
2010-07-07 17:04:01 -07:00
Ian Gilman
6f5d3f335b + Moved our platform-independent tabcandy.css to browser/base/content/tabcandy/
+ Created a platform-specific css file for tabcandy in the theme directory.
+ Copied the Mac TabCandy theme additions into the Windows and Linux themes.

--HG--
rename : browser/themes/pinstripe/browser/tabcandy/tabcandy.css => browser/base/content/tabcandy/tabcandy.css
2010-07-07 15:00:11 -07:00
Ian Gilman
9101e912d9 + Now storing item z separately from the DOM (as the DOM appears to be unreliable in our new world, at least at startup). This fixes issues with tabs not appearing in their groups at startup 2010-07-07 14:12:04 -07:00
Ian Gilman
cddf170d3c + fixed: Bug 576786 - Resizing sometimes gets stuck in a state where it thinks we're still dragging, though we're not. 2010-07-07 11:09:04 -07:00
Raymond Lee
34b7192de1 Update several features for visible tabs: bookmark all tabs, reload all tabs, close other tabs, list all tabs drop down menu and tab context-menu 2010-07-07 10:32:42 +08:00
Raymond Lee
a1a92553c9 Another patch for bug 576393 2010-07-07 09:50:15 +08:00
Ian Gilman
04055a8fc5 + Hack to get dev menu to appear: stuck it at the top
+ Misc documentation fixes
2010-07-06 16:22:57 -07:00
Raymond Lee
4a1f491c4b Hides all tabs in the session restore so user won't see tabs get added and then removed 2010-07-06 01:59:17 +08:00
Raymond Lee
49c64b20f8 Another fix for Bug 576393 2010-07-03 15:03:56 +08:00
Ian Gilman
bfad70eae1 + The dev menu isn't appearing. Added a try/catch to see if that would illuminate anything. It did not. Will dig in more after applying all the patches. 2010-07-06 14:53:40 -07:00
Raymond Lee
0016837ea3 Another fix for Bug 576424 2010-07-03 12:33:33 +08:00
Raymond Lee
da72e32d10 Partial fix for Bug 576427 2010-07-04 00:08:34 +08:00
Ian Gilman
3f183ad97a + merge 2010-07-06 14:14:01 -07:00
Ian Gilman
bf54a8a660 + added "all tabs" button back to the tab bar (restore defaults to see) 2010-07-06 14:10:55 -07:00
Michael Yoshitaka Erlewine
2f00a7d485 + xDensity and yDensity computation for Group's 2010-07-06 11:42:23 -07:00
Raymond Lee
0d9685bdf3 Show the tabcandy button at the right end of tabstrip 2010-07-05 12:18:12 +08:00
Michael Yoshitaka Erlewine
e95d453522 UIClass.resize now triggers Item.snap on each resized item. But in general, UIClass.resize/Item.squish/unsquish logic is crazy, should be rewritten. 2010-07-03 21:41:31 -04:00
Michael Yoshitaka Erlewine
0e7c75543a - moved Trench.radius to be a getter and always reflect Trenches.defaultRadius.
- moved Group._getBoundingBox to Groups.getBoundingBox; now a better algorithm which is order-independent.
- modified "drag tab onto another tab" action's phantom group computation using getBoundingBox: now a touch more realistic.
+ Item.snap, which is used to instantaneously resituate oneself into a more trench-inspired position, using wider radius trenches.
- Group constructor now runs Item.snap, so all new groups are marginally better positioned.
- correcting my foolish ways: replacing some tabs with spaces.
2010-07-03 21:13:31 -04:00
Michael Yoshitaka Erlewine
d5381b1eee quick bugfix to an assert in Drag 2010-07-03 21:01:57 -04:00
Michael Yoshitaka Erlewine
a67cbf3b21 fixed a bug in delayInit 2010-07-03 21:00:43 -04:00
Michael Yoshitaka Erlewine
7bf7952b3a Group.isEmpty 2010-07-03 17:55:19 -04:00
Michael Yoshitaka Erlewine
e41c23897b + the notion of stationaryCorner to the Trench logic. this value specifies which corner of a bound must remain stationary while resizing. Normally this is the topleft, but in the case of dragging out new tab groups, it actually could be another corner, which means the snapping computation is different. Fixes a couple minor resizing bugs. 2010-07-03 16:55:54 -04:00
Michael Yoshitaka Erlewine
3eaf0547a0 createGroupOnDrag now snaps with trenches! 2010-07-03 15:44:35 -04:00
Raymond Lee
df2ef04b09 Fixed Bug 576393 - Tabs.onFocus() isn't working reliably 2010-07-02 17:28:53 +08:00
Ian Gilman
5420ee8d1b + merge 2010-07-02 16:36:26 -07:00
Ian Gilman
946b7587c0 + refactored Raymond's fix to Bug 576424 2010-07-02 16:33:33 -07:00
Aza Raskin
3079520b79 + Not understanding why I had to merge when Mardak claims I shouldn't have to. 2010-07-02 16:17:55 -07:00
Aza Raskin
43c7f3136f + Changed the styling of the snap guides to be a little more architectural and a lot more subdued. 2010-07-02 16:16:16 -07:00
Raymond Lee
e9a223ccbd Fix Bug 576424 - We need to know when sessionstore is available 2010-07-02 13:27:49 +08:00
Ian Gilman
d2e5ab946e + Removed placebo hack from Storage.wipe()
+ Removed TabItems.reconstitute(), which we haven't actually needed for a while, but now it's also causing trouble
+ Removed Utils.activeWindow, which doesn't seem to work, and replaced its use in Utils.activeTab (the only remaining place it was being used) with Utils.getCurrentWindow(), which does seem to work
+ Utils.assert() now dumps a trace
+ Fixed paths to the edit pencil and new tab button images; they should now show up properly
2010-07-01 17:05:46 -07:00
Ian Gilman
ce235a0cf6 + merge 2010-06-30 11:49:31 -07:00
Ian Gilman
a22d6f6a96 + Just a little documentation update 2010-06-30 11:05:01 -07:00
Aza Raskin
f3f62e0939 Change the style of the guide lines to feel lighter and more in-style.
--HG--
extra : rebase_source : c767971fc6c64e76201266fd52d1f52c2513c176
2010-06-30 10:30:55 -07:00
Michael Yoshitaka Erlewine
f047b0120c pulling out extending guide trenches as per Aza's feedback. revert to 787f64274830 to try them again. keeping some bugfixes which were made during extending guide trench dev, though. 2010-06-30 11:32:17 -04:00
Michael Yoshitaka Erlewine
41fc519159 changing pageBounds and default guide ranges so that the extend animation looks better 2010-06-30 01:06:36 -04:00