Edward Lee
b44c181562
Followup to bug 580937 to implement TabItem.close with xul:tabs instead of BrowserTab.
2010-07-23 14:26:17 -07:00
Michael Yoshitaka Erlewine
3d2303aca5
Rewrote various scaling/easing functions in terms of the Range's, with the new proportion and scale methods.
...
- removed Math.tanh, instead moving it into the Range proportion method for its "smooth" option
+ rewrote TabItem close button opacity and title font size using the new Range utilities. Should make code a tad easier to follow.
2010-07-23 00:35:07 -04:00
Michael Yoshitaka Erlewine
6402eab8cf
Bug 579223: got snapping to work for tab-on-tab phantom groups.
2010-07-22 23:40:25 -04:00
Michael Yoshitaka Erlewine
bab949c726
Bug 579223: using Aza's recommendation, centering tab-on-tab phantom group around the drop target tab (no snapping yet).
...
+ fixing font size adjustment while tabitem is resized
--HG--
extra : rebase_source : b93cafa6f0601c9609d362a2312c1abe70fe3346
2010-07-22 22:24:31 -04:00
Michael Yoshitaka Erlewine
c0525ed650
Bug 579223: a new approach (on Aza's recommendation): simply take the target (drop target) bounds and expand it a bit, rather than trying to do a union of the areas.
...
Also, fixed font size changing on tab resizing.
--HG--
extra : rebase_source : ba5db5468f9e9c9f823f352757eb06d198618003
2010-07-22 22:20:44 -04:00
Raymond Lee
861ba289ba
Bug 580919 - Fold Storage.saveVisibilityData into saveUIData
2010-07-23 10:05:22 +08:00
Michael Yoshitaka Erlewine
c393681602
Bug 580878: simplifying date expression
2010-07-22 15:58:10 -04:00
Michael Yoshitaka Erlewine
f1b5e78bca
Bug 581143: Cleanup geometry utilities in utils.js
...
1. Move isRect, isPoint, isRange to Utils, to facilitate JSMing and to clean up
namespace
2. Remove unused/underutilized methods of Rect/Point/Range
3. Use QuickDraw-style comparison of pixel overlap (using < instead of <=)
throughout.
4. Range.overlaps is now Range.contains, to be more consistent with Rect.
--HG--
extra : rebase_source : cc3507bb3bbe92f922d3147cc9130c1f713391b2
2010-07-22 15:46:51 -04:00
Michael Yoshitaka Erlewine
c55e0a7400
Bug 580878: removing some underutilized Utils functions: getMilliseconds, and testLogging
...
--HG--
extra : rebase_source : 28ff49903f395240a3aca3b3761c7638ee6d4b7d
2010-07-22 15:42:29 -04:00
Edward Lee
80e523d1f2
Bug 581078 - Get rid of Utils.activeTab to avoid iterating over all Tabs
...
Directly access gBrowser.selectedTab and compare other raw tabs against it until BrowserTab goes away. Get the reference to the BrowserTab instead of iterating over Tabs through .tabcandyBrowserTab.
2010-07-22 12:36:17 -07:00
Edward Lee
eb7d36a49e
Bug 581052 - Don't grab Tabs[0] to get the tabbar for its tabs
...
Just grab gBrowser.tabs to get an array-list of tabs instead of jumping through Tabs[0].raw.parentNode.children hoops.
2010-07-22 12:35:56 -07:00
Edward Lee
6aed86af34
Bug 580905 - Remove unused Tabs.focused window/tab and BrowserWindow reference
...
Don't save gWindow.tabcandyBrowserWindow but still create the BrowserWindow object for events.
2010-07-22 12:34:52 -07:00
Edward Lee
7a2f35d721
Bug 580901 - Directly call loadOneTab instead of Tabs.open
...
Remove Tabs.open and BrowserWindow.addTab and directly deal with xul tabs.
2010-07-22 12:34:23 -07:00
Edward Lee
4676cee80f
Bug 580870 - Alias gBrowser to the tabcandy context to remove getCurrentWindow
...
Add aliases for gWindow, gBrowser, gTabDeck, gTabFrame for the tabcandy chrome context. Update uses and simplify some code like removing Navbar.
2010-07-22 12:34:13 -07:00
Edward Lee
c19a142733
Bug 580900 - Remove feedback and dev doc links
...
Get rid of _newTab to create tabs from the ui and remove feedback references.
--HG--
extra : rebase_source : 5fb505427e1353127e7dcba1ab1b8c634b13221b
2010-07-22 12:31:39 -07:00
Raymond Lee
f5d6acf5da
Fixed Bug 566865 - Define all Keyboard Shortcuts for TabCandy
2010-07-22 11:29:58 +08:00
Ian Gilman
f1e406804f
+ Removed the animation from Mirror.hideCachedData()
...
+ Removed the tab argument from Mirror.hideCachedData and Mirror.showCachedData, as it's already part of the object
+ Improve the logic for when to hide the cached data
--HG--
extra : rebase_source : 7b18b5880990bd0807413297012c1cdd98ac267b
2010-07-21 16:44:11 -07:00
Edward Lee
6e3eb1b573
Resolve merge conflicts.
2010-07-21 00:35:09 -07:00
Edward Lee
025fe8aa96
Merge mozilla-central (4.0b2) to tabcandy-central with conflicts.
2010-07-21 00:32:53 -07:00
Rail Aliev
a4787c8a73
Bug 580010, bump versions to Fx4.0b3pre/Gecko 2.0b3pre, r=nthomas (CLOSED TREE)
2010-07-21 12:49:22 +12:00
Raymond Lee
b65b14f504
Merge
2010-07-21 08:14:36 +08:00
Raymond Lee
5e022790c9
Merge
2010-07-21 08:09:28 +08:00
Michael Yoshitaka Erlewine
da7fb4f331
removing trailing whitespace. I bow down to the Great Mardak and ask for his mercy.
2010-07-20 20:09:17 -04:00
Raymond Lee
4731967f49
Fixed Bug 580419 - Using option-space to enter Tabcandy doesn't work when in the the Awesome Bar or Search Bar
2010-07-21 07:58:50 +08:00
Michael Yoshitaka Erlewine
9abef4d54a
tabs cleanup: conservative commit 2
...
rm Extension, Dictionary. We are now attaching the BrowserTab and BrowserWindow objects to their respective chromeTab and chrome window objects as an attribute for lookup purposes.
The unload management is now gone, which means this may break reset/reload.
2010-07-20 19:44:05 -04:00
Michael Yoshitaka Erlewine
208476da6d
tabs cleanup: conservative commit 1
...
rm ImmutableArray, XULApp, Tabs.tab, and some other unused things.
2010-07-20 19:02:08 -04:00
Michael Yoshitaka Erlewine
e8e6a2da9c
mirror.js: rm _createEl and just create the Mirror directly in link
2010-07-20 18:54:28 -04:00
Benjamin Smedberg
b041c8bcfa
Remove pieces of bug 557225 which depend on the incorrect @loader_path changes in bug 578751. This will probably allow plugin-container to launch, because DYLD_LIBRARY_PATH has been munged for it. a=johnath for pushing to a CLOSED TREE
2010-07-20 17:57:02 -04:00
Benjamin Smedberg
8c3ec754de
Back out bug 578751 to help solve bug 580360 (all dynamic components fail to load). The patch was not properly reviewed to begin with :-(
2010-07-20 17:52:27 -04:00
Benjamin Smedberg
bb899649a4
Backed out changeset 0c116ba35956
2010-07-20 17:49:10 -04:00
Axel Hecht
88ce58bdda
bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE
2010-07-20 20:59:54 +02:00
Axel Hecht
afcdfbbb05
bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE
2010-07-20 20:22:04 +02:00
Axel Hecht
51ae486a62
bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE
2010-07-20 20:01:56 +02:00
Benjamin Smedberg
34b6f661c3
Bug 580227: Upgrade Test Pilot for the new component registration changes. r=dtownsend landing on a CLOSED TREE
2010-07-20 10:42:17 -07:00
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
Benjamin Smedberg
09788e7997
The #ifdefs in the last patch were incorrect. This one actually works, even on a CLOSED TREE. (bug 557225)
2010-07-20 12:30:56 -04:00
Benjamin Smedberg
b1eadd4b31
Fix packaging bustage from bug 557225 on a CLOSED TREE.
2010-07-20 10:19:11 -04:00
Marco Bonardo
9e8a9835ef
Bug 575132 - Intermittent failure in browser_history_sidebar_search.js a=bsmedberg for CLOSED TREE
2010-07-20 16:48:23 +02:00
Axel Hecht
761692850f
bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE
2010-07-20 15:51:28 +02:00
Benjamin Smedberg
1b4ac02c48
Bug 579497 - Add error console logging for missing/incorrect command-line handlers, r=Mossop a=beltzner for landing in a CLOSED TREE
2010-07-20 09:29:38 -04:00
Benjamin Smedberg
4dd7594175
Bug 579487 - Better error reporting when NS_CreateServicesFromCategory can't find a contract (especially to help extension developers with profile-after-change issues), r=Mossop
2010-07-20 09:28:45 -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
Axel Hecht
5aa3995fed
bug 579900, update shipped-locales for fx4b2, ra=drivers, CLOSED TREE
2010-07-20 08:58:31 +02:00
Mitchell Field
76b93110a5
Clean up configure.in a bit. r=khuey
2010-07-20 15:43:54 +10:00
Ted Mielczarek
c087cbcbef
Bug 578751: Use @loader_path instead of @executable_path on Mac OS X. Committing as a bustage fix, still needs review.
2010-07-20 01:41:22 -04: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
Vladimir Vukicevic
32f7f1aef8
b=580101; fix GLX GL context provider (nvidia/intel fix); r=cjones
2010-07-19 22:25:47 -07:00
Benoit Girard
33301ca730
Bug 557225 - Fix TryServer failures. r=cjones r=josh
2010-07-20 00:17:45 -04:00