Commit Graph

2373 Commits

Author SHA1 Message Date
Raymond Lee
4465ef38f0 Remove a 'for each' which we don't need 2010-07-17 10:58:11 +08:00
Raymond Lee
6bcbc5928b Merge 2010-07-17 10:40:08 +08:00
Ian Gilman
de5267e13f + Finished documenting all of the app code, plus utils.js. Remaining: iq.js, mirror.js, tabs.js 2010-07-16 17:27:01 -07:00
Edward Lee
b5609139aa Bug 579222 - Expose a .visibleTabs property on the tabbrowser [r=iangilman]
Add .visibleTabs to tabbrowser and use local dereferences instead of gBrowser when possible.

--HG--
extra : rebase_source : c64695d6b437927a0d6fbae1b37ad2e17dc690c7
2010-07-16 13:23:03 -07:00
Raymond Lee
5f784b5308 Refactor the code which loads cached images at browser startup 2010-07-16 23:52:06 +08:00
Raymond Lee
fe8b15a1c8 Fixed Bug 578927: Re-order tabs in a group in Tab Candy doesn't reflect on the tab bar 2010-07-16 18:00:46 +08:00
Aza Raskin
6018174bc3 + Fixed some commit collisions. 2010-07-16 00:27:28 -07:00
Aza Raskin
f8e82869f3 + Clicking on a non-stacked group now brings you to the last active tab in that group. 2010-07-16 00:17:19 -07:00
Raymond Lee
503fab5e2a Fixed Bug 579192: Fix keyboard navigation of Tabcand 2010-07-16 15:00:20 +08:00
Ian Gilman
6947d7e436 + Group.add now refuses to add a tab if it was already attached to another group, instead of just warning about it. Though maybe it should automatically remove it from the previous group?
+ Documentation updates
2010-07-15 17:23:39 -07:00
Raymond Lee
90c8dafa68 Bug 577445: Show tab candy title in the tab candy interface and change 'let' to 'var' 2010-07-15 16:41:08 +08:00
Raymond Lee
4b67bddcd5 Bug 576110: Show saved thumbnails at browser startup if tab candy was last open 2010-07-15 10:40:46 +08:00
Ian Gilman
ab38dee7c5 + Cleaned up a scope issue with Subscribable and added some guards 2010-07-14 17:24:03 -07:00
Ian Gilman
45b7957307 + Subscribable (in utils.js) no longer has a separate onClose path
+ My recent addition of a "content" div broke dragging to make a new group; fixed
2010-07-14 16:59:37 -07:00
Ian Gilman
1626f53a85 + Fixed: Bug 577164 - 0 height body leaving feedback and reset buttons stranded? 2010-07-14 15:17:28 -07:00
Ian Gilman
0896f3fae1 + Fixed a typo in iQ.each that was breaking everything
+ Rearranged the UIClass initialization sequence a little, to make sure everything happens in the right sequence
2010-07-14 11:21:07 -07:00
Michael Yoshitaka Erlewine
8e3ec23810 Bug 577387: cleanup of the new iQ(...).each 2010-07-14 00:08:45 -04:00
Michael Yoshitaka Erlewine
379654bd6e Bug 577387: iQ.each is gone! iQ(...).each still exists, and its callback must now explicitly take the element as its argument 2010-07-14 00:03:47 -04:00
Michael Yoshitaka Erlewine
c149a313d3 - TabItems: fixed bug where phantom trenches were created when a tab in a group is closed, but the group was not closed.
- Items: docs update
- BrowserTab: cleanup of getters
2010-07-13 23:48:22 -04:00
Michael Yoshitaka Erlewine
d02d1fb82e Bug 577387: cleanup: removed a couple other instances of iQ.each 2010-07-13 22:58:30 -04:00
Michael Yoshitaka Erlewine
838d1d56b5 cleanup: rm unused functions, constants from Utils + Mirror 2010-07-13 22:48:55 -04:00
Michael Yoshitaka Erlewine
34b3ad74df iQ cleanup: of course we're Gecko > 1.9.2 so we have classList! use it in .{add,remove,has}Class 2010-07-13 22:17:35 -04:00
Michael Yoshitaka Erlewine
6b651d1c73 iQ cleanup: rm unused regexps and other constants; rm iQ.toArray, iQ.pushStack, iQ.slice, iQ.trim 2010-07-13 22:02:11 -04:00
Michael Yoshitaka Erlewine
2892c8fc8c cleanup: iQ.each: never used with args, so that code is removed 2010-07-13 20:28:36 -04:00
Michael Yoshitaka Erlewine
426e63d8c5 cleanup: rm iQ.grep; using .filter instead. 2010-07-13 20:23:04 -04:00
Michael Yoshitaka Erlewine
0782572076 cleanup: rm iQ.inArray 2010-07-13 20:10:53 -04:00
Michael Yoshitaka Erlewine
016c8b0232 cleanup: rm various instances of iQ.each where it's an array, so we can use .forEach
--HG--
extra : rebase_source : f41f088641f71aba6796092766b0645fca925ad1
2010-07-13 19:38:51 -04:00
Ian Gilman
9f80cd7e4a + I don't think we need the timeout in Page.showChrome; commented out now.
+ Added a video to the "first run" panel
2010-07-13 16:25:35 -07:00
Michael Yoshitaka Erlewine
33de2bb1cc cleanup: rm iQ.makeArray 2010-07-13 17:39:46 -04:00
Edward Lee
4c95bcef00 Merge mozilla-central to tabcandy-central. 2010-07-13 12:23:12 -07:00
Michael Yoshitaka Erlewine
7700b1d014 UI: tabOnFocus: refactored to no longer use doSetup; saveVisibility: no longer print log 2010-07-13 15:07:24 -04:00
Raymond Lee
deb9aa2b41 Bug 576110: Open tab candy at startup if it was last open 2010-07-13 12:04:04 +08:00
Michael Yoshitaka Erlewine
91c301e374 bug 577968: remove references to == true, == false 2010-07-11 21:08:33 -04:00
Michael Yoshitaka Erlewine
c4b43fe6c7 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
466ead9f58 bug 577968: removing elses preceded by returns; replacing tabs 2010-07-11 19:48:05 -04:00
Michael Yoshitaka Erlewine
f12581ce6b UI: showOnlyTheseTabs: a faster way to find visibleTabs, by checking the associated tabbrowser 2010-07-11 15:20:25 -04:00
Michael Yoshitaka Erlewine
21cc2176e4 UI: bugfix: rm reference to getVisibleTab(); doc fix 2010-07-10 22:26:12 -05:00
Raymond Lee
811527b078 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
c62b1af41d 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
64dd8a900b 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
2c8c88ab14 quickly patching a bug for new tab position in tab bar 2010-07-09 11:43:07 -07:00
Michael Yoshitaka Erlewine
b56a8a5657 UI: added getAllTabs, inspired by Raymond's patch. cleaned up urlbar method. 2010-07-09 10:09:32 -07:00
Raymond Lee
95e29d68f5 refactored showOnlyTheseTabs (bug #577649) 2010-07-09 09:53:19 -07:00
Ian Gilman
e6bcbe3409 + The first-run help item now has a close box (that works) 2010-07-07 17:19:28 -07:00
Ian Gilman
43ef3bc936 + 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
73eb5512e6 + 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
b98aeb2479 + 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
91df08be9d + 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
Bobby Holley
0d93ccdb3d Bug 576621 - clearing cache does NOT clear cached images.r=joe,gavin 2010-07-11 21:01:53 -04:00
Raymond Lee
6fef79f3dd 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