Edward Lee
9c721e78ab
Remove trailing spaces/tabs from tabcandy files.
2010-07-20 10:17:29 -07:00
Michael Yoshitaka Erlewine
bd50de9920
rm TabMirror.customize abstraction, meaning we got rid of the only use of Tabs.tab() .
...
To get things to load correctly (after their dependencies have been loaded), the order of #includes was changed. We now load mirror.js right after tabitems.js, hopefully making it a bit easier to later merge them.
2010-07-20 12:46:01 -04:00
Raymond Lee
1e6e779ae8
Removed some debug statements
2010-07-20 16:12:38 +08:00
Raymond Lee
1bdc28270e
Moved the hideCachedData call to the tabs.onLoad() and added an animation for switching from cached image to canvas
2010-07-20 16:08:03 +08:00
Raymond Lee
1b960615bf
Added some docuemation, added _ for some private methods in UI.js and remove all iQ.isAnimating calls
2010-07-20 13:26:27 +08:00
Raymond Lee
4b7c39f45b
Change a forEach to map in the showOnlyTheseTabs()
2010-07-20 10:27:03 +08:00
Raymond Lee
70187d4745
Create a copy of tabs parameters inside the showOnlyTheseTabs()
2010-07-20 09:48:35 +08:00
Ian Gilman
b4adf9d687
+ Filled out iQ.js comments
2010-07-19 15:27:19 -07:00
Ian Gilman
50ec35dc7f
+ Removed the vestigial $content property from Group
2010-07-19 12:02:57 -07:00
Michael Yoshitaka Erlewine
c6e5b5aca4
rm stacktrace.js!
...
--HG--
extra : rebase_source : ee145386d3b3836f0c02005c1f4f7ef517377b7e
2010-07-19 14:21:09 -04:00
Raymond Lee
340142f4cc
Improve the key combination detection code
2010-07-19 18:44:11 +08:00
Raymond Lee
a74f56c59a
Fixed Bug 579814 - Fix behavior of tab-manipulation keyboard shortcuts
2010-07-19 17:37:22 +08:00
Michael Yoshitaka Erlewine
061c70e020
rm trailing whitespace
2010-07-18 11:58:10 -04:00
Michael Yoshitaka Erlewine
2be7d1674c
quick code cleanup suggestion by Steffen Wilberg
2010-07-18 11:16:32 -04:00
Michael Yoshitaka Erlewine
e8014d0a21
Bug 579223: improved tab-dragged-onto-other-tab groups
...
+ size of phantom group is preserved in final group
+ trenches are no longer activated if the item they projected from is a faux item or is being dragged
+ improved styling of such groups
2010-07-18 01:03:31 -04:00
Michael Yoshitaka Erlewine
82b473e0e6
- Drag: split snap into snapBounds and snap which uses the current item's bounds as snapBounds' input
2010-07-18 00:52:47 -04:00
Michael Yoshitaka Erlewine
9b69f0ea6a
+ trenches now come registered with the Item that projects them, not just the DOM element
2010-07-17 23:18:43 -04:00
Steffen Wilberg
93103884b7
Make close boxes appear on Linux as well.
2010-07-17 23:17:27 +02:00
Michael Yoshitaka Erlewine
b6767df11d
- Use Rect.css more consistently: gets rid of some spurious CSS unknown value warnings when moving trenches, and simplifies Item._updateDebugBounds and Group.setNewTabButtonBounds
...
- Some cleanup and better docs for Group.setBounds
--HG--
extra : rebase_source : c21758828da2f282a3fba53c50247def35ae5af3
2010-07-17 17:10:29 -04:00
Raymond Lee
18ba7c9b84
Refactor Tabs.onReady method
2010-07-18 00:12:31 +08:00
Raymond Lee
a65b1e2d88
Remove a 'for each' which we don't need
2010-07-17 10:58:11 +08:00
Raymond Lee
fe43613a28
Merge
2010-07-17 10:40:08 +08:00
Ian Gilman
fb7ce8ecdf
+ 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
22fb634ba6
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
2cabd967a0
Refactor the code which loads cached images at browser startup
2010-07-16 23:52:06 +08:00
Raymond Lee
615d822ba2
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
d1f875965f
+ Fixed some commit collisions.
2010-07-16 00:27:28 -07:00
Aza Raskin
cf8ef6f93d
+ 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
037c52e6a1
Fixed Bug 579192: Fix keyboard navigation of Tabcand
2010-07-16 15:00:20 +08:00
Ian Gilman
d43662bb09
+ 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
692588a847
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
24e44cd95b
Bug 576110: Show saved thumbnails at browser startup if tab candy was last open
2010-07-15 10:40:46 +08:00
Ian Gilman
58b5e5aa05
+ Cleaned up a scope issue with Subscribable and added some guards
2010-07-14 17:24:03 -07:00
Ian Gilman
915e2f9cdf
+ 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
fca7718259
+ Fixed: Bug 577164 - 0 height body leaving feedback and reset buttons stranded?
2010-07-14 15:17:28 -07:00
Ian Gilman
873fcd5923
+ 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
3d5a62164b
Bug 577387: cleanup of the new iQ(...).each
2010-07-14 00:08:45 -04:00
Michael Yoshitaka Erlewine
7105f49a06
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
549be9a911
- 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
492bb0a42e
Bug 577387: cleanup: removed a couple other instances of iQ.each
2010-07-13 22:58:30 -04:00
Michael Yoshitaka Erlewine
347f0c6f98
cleanup: rm unused functions, constants from Utils + Mirror
2010-07-13 22:48:55 -04:00
Michael Yoshitaka Erlewine
af882f8f2d
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
4992a5c057
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
5f38801c76
cleanup: iQ.each: never used with args, so that code is removed
2010-07-13 20:28:36 -04:00
Michael Yoshitaka Erlewine
5b247088d7
cleanup: rm iQ.grep; using .filter instead.
2010-07-13 20:23:04 -04:00
Michael Yoshitaka Erlewine
d91ae5c6c7
cleanup: rm iQ.inArray
2010-07-13 20:10:53 -04:00
Michael Yoshitaka Erlewine
9d7a3685bc
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
259a282644
+ 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
f733123ef4
cleanup: rm iQ.makeArray
2010-07-13 17:39:46 -04:00
Edward Lee
f573baa6f5
Merge mozilla-central to tabcandy-central.
2010-07-13 12:23:12 -07:00