Commit Graph

628 Commits

Author SHA1 Message Date
YUKI Hiroshi
4797ddfb6b Don't raise error while dragging of non-tab objects over the tab bar 2012-12-21 13:56:46 +09:00
Piro / YUKI Hiroshi
175286eba2 Update codes for MutationObserver.
XPIDL style callback is no longer supported, so we have to use callback function based on Web IDL.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=790978 and https://developer.mozilla.org/en-US/docs/DOM/MutationObserver)
2012-12-20 04:03:05 +09:00
YUKI Hiroshi
5718fef495 Collapse/hide the tab bar automatically even if the webpage includes any plugin area
Logic A) Tab bar autohide is intentionally blocked by opened popup because the tab bar should not be hidden while you open a context menu on the tab bar.
Logic B) On the other hand, TST shows hidden popup on the content area if the webpage includes any plugin area, because Firefox cannot receive mousemove events on plugin areas.
As the result, the hidden popup unexpectedly blocked to hide the tab bar... The popup for the logic B must be ignored by the logic A.
2012-12-05 11:35:37 +09:00
YUKI Hiroshi
f97f25c9e6 Fallback to another method to find tabs by coordinates correctly 2012-12-04 12:32:40 +09:00
Piro / YUKI Hiroshi
196bb1e93c Calculate drop position correctly (fix https://github.com/piroor/treestyletab/issues/399#issuecomment-10961365) 2012-12-04 02:04:06 +09:00
Piro / YUKI Hiroshi
5e09e88bb2 Operate drag and drop of pinned tabs more correctly 2012-12-04 01:40:31 +09:00
Piro / YUKI Hiroshi
8e37edc535 find tab from screen coordinates more quickly 2012-12-04 01:16:20 +09:00
Piro / YUKI Hiroshi
8511c0e9ce Operate dragging of pinned tabs (not faviconized) correctly 2012-12-04 00:28:23 +09:00
YUKI Hiroshi
1d2566765d Define minimum width/height of the tab bar and restore it on the startup (so, if you accidentaly get too narrow tab bar, it will be fixed in the next startup: workaround for #380) 2012-12-03 21:41:12 +09:00
YUKI Hiroshi
b38c6f8066 Optimize to collect "not dragged" tabs 2012-11-30 03:21:56 +09:00
YUKI Hiroshi
da462ef098 Fix behaviors around dragging of multiple tabs 2012-11-30 03:03:59 +09:00
YUKI Hiroshi
fa893b9801 Change the algorythm to find tab from coordinate based on _animateTabMove 2012-11-30 00:58:47 +09:00
YUKI Hiroshi
18d4fec990 Fix wrong dragging animations of pinned tabs in the vertical tab bar 2012-11-28 18:49:03 +09:00
Piro / YUKI Hiroshi
5f59ddb19d Unify extensions.treestyletab.animation.enabled to browser.tabs.animate 2012-11-28 03:34:57 +09:00
Piro / YUKI Hiroshi
5b07dc8a65 Open new tabs from Linky as child tabs of the current tab even if they are opened vi a dialog (fix #411) 2012-11-26 02:18:23 +09:00
YUKI Hiroshi
8a490b0f12 Update credits 2012-11-21 11:06:11 +09:00
Piro / YUKI Hiroshi
a1001d510f Fix typo 2012-11-19 23:27:43 +09:00
YUKI Hiroshi
04eff24408 Don't listen "mouseleave" event (because it increases CPU usage even if we ended to listen the event by removeEventListener) 2012-11-19 16:20:10 +09:00
YUKI Hiroshi
f2fb69e663 Hide tab bar for only one tab window correctly (fix #406) 2012-11-15 16:03:24 +09:00
YUKI Hiroshi
c326bdda44 Don't update indent of tabs for collapsed tab bar (fix #404) 2012-11-14 13:14:15 +09:00
Piro / YUKI Hiroshi
9a27aba8d8 Don't run animation without window (to fix a regression: all animation effect was unexpectedly stopped after the configuration dialog is opened) 2012-11-12 03:28:40 +09:00
Piro / YUKI Hiroshi
450fa34790 Simplify codes to load modules lazily 2012-11-11 22:48:42 +09:00
Piro / YUKI Hiroshi
c4342a5d43 Simplify implementation of the animation manager (to fix unexpected-stop problems) 2012-11-11 22:30:45 +09:00
Piro / YUKI Hiroshi
0c86b970ac Drop support for Firefox 3.6 and olders.
And, make the implementation (possibly) robust for multiple windows to fix #385, #387, #390.
2012-11-09 01:33:42 +09:00
Piro / YUKI Hiroshi
3577111d0b Don't hide closeboxes of other tabs when toolbars are shown/hidden (Update floating tab bar before calling of adjustTabstrip(), because floating tab bar is unexpectedly resized to smallest size on the time) 2012-11-08 20:07:03 +09:00
Piro / YUKI Hiroshi
af4fb9e426 Update reference for getTreePref 2012-10-31 23:03:50 +09:00
Piro / YUKI Hiroshi
66e2e268f5 .utils => .base 2012-10-30 03:11:39 +09:00
YUKI Hiroshi
c0e9280444 Shorten "TSTUtils" to "utils" (because they are already in the context) 2012-10-24 01:43:56 +09:00
YUKI Hiroshi
22f8f1f6d2 Remove trailing "," in object literals 2012-10-24 01:39:30 +09:00
saneyuki_s
3e658380c9 Move some pref methods from TSTBase to TSTUtils. 2012-10-19 23:20:08 +09:00
Piro / YUKI Hiroshi
147d38aef3 Accept drop of non-tab objects onto the tab bar correctly on Firefox 16 and olders 2012-10-14 03:54:46 +09:00
Piro / YUKI Hiroshi
5bd57741df Accept drop of non-tab objects onto the tab bar correctly 2012-10-14 03:47:34 +09:00
Piro / YUKI Hiroshi
9182259ab5 Update credit 2012-10-14 03:31:06 +09:00
Piro / YUKI Hiroshi
153f271479 Use Services.jsm 2012-10-13 04:18:59 +09:00
YUKI "Piro" Hiroshi
c5bb7ec8ad Merge pull request #349 from Infocatcher/patch-11
Use checkLoadURIStrWithPrincipal() instead of checkLoadURIStr()
2012-10-12 12:16:41 -07:00
Piro / YUKI Hiroshi
49810b0f31 Restore opacity of dragged tabs correctly (again) 2012-10-13 03:16:08 +09:00
Piro / YUKI Hiroshi
c1770fe9f0 Restore opacity of dragged tabs correctly 2012-10-13 03:05:48 +09:00
Piro / YUKI Hiroshi
5dec3a90ce Make transparent dragged tabs when they are going to be dropped onto a tab 2012-10-13 02:56:02 +09:00
Piro / YUKI Hiroshi
0db8f5f765 Handle hidden/collapsed tabs while tab dragging correctly 2012-10-13 02:43:34 +09:00
Piro / YUKI Hiroshi
d66b7083d2 Add line breaks for dynamic patches 2012-10-13 02:24:02 +09:00
Piro / YUKI Hiroshi
a314e75bdb Update visual effects for tab dragging animation correctly, for trees expanded while dragging 2012-10-13 02:18:16 +09:00
Piro / YUKI Hiroshi
b2a90224d6 Calculate drop position based on visual positions of tabs 2012-10-13 02:09:34 +09:00
Piro / YUKI Hiroshi
cefa9b52fa Calculate actual tab position for Firefox 16 and olders 2012-10-13 00:41:03 +09:00
Piro / YUKI Hiroshi
4d19cd75c6 Process animation effect for dragged tabs correctly 2012-10-13 00:37:03 +09:00
YUKI Hiroshi
83626af553 Reduce use of <![CDATA[ ... ]]> 2012-10-12 16:46:37 +09:00
YUKI Hiroshi
d71a063db5 Update Multiple Tabs Drag and Drop Utilities 2012-10-11 20:03:40 +09:00
saneyuki_s
f4340866c0 Rename the file name to modules/base.js from modules/utils.js . 2012-09-27 15:46:51 +09:00
saneyuki_s
f27cfc745a Rename to 'TreeStyleTabBase' from 'TreeStyleTabUtils'. 2012-09-27 15:40:14 +09:00
YUKI "Piro" Hiroshi
efa6a309f3 Merge pull request #367 from saneyuki/props
Remove some properties which returns Services.foo from TreeStyleTabUtils
2012-09-24 01:10:41 -07:00
Piro / YUKI Hiroshi
f9f346f522 Merge branch 'master' of github.com:piroor/treestyletab 2012-09-23 23:44:56 +09:00