Piro / YUKI Hiroshi
9f721f5be2
Re-show the tab bar correctly after exitting DOM fullscreen mode by F11 ( #576 )
2013-10-23 01:32:54 +09:00
Piro / YUKI Hiroshi
a234135786
Remove ruin for compatibility with Tab Mix Plus's "hide the tab bar when there is only one tab" feature
2013-10-09 02:38:47 +09:00
Piro / YUKI Hiroshi
a9c59cc286
Don't focus to the tab which is going to be removed.
...
This fixes #569 . In the previous revision, onTabClose method tried to focus to the first child even if it was going to be closed as a member of closing tree. Then TabSelect event was unexpectedly fired, TabWindow.prototype.handleEven (defined in resource:///modules/WindowsPreviewPerTab.jsm) raised an error, and blocked all following event handlers for TabSelect event. As the result, cached tabs list were not cleared and Ctrl-Tab feature was killed.
2013-10-08 02:47:53 +09:00
YUKI Hiroshi
163df63f04
Hide vertical tab bar in the DOM-fullscreen mode (ex. YouTube) ( #564 )
2013-10-01 10:20:02 +09:00
YUKI Hiroshi
f42084c29d
Disable detection for Tab Mix Plus because it is buggy for me.
2013-09-18 18:02:37 +09:00
YUKI Hiroshi
5d54fd5a38
Fix indent
2013-09-18 17:43:41 +09:00
YUKI Hiroshi
8bce1239b3
Detect mode of Tab Mix Plus correctly
2013-09-18 17:43:18 +09:00
YUKI Hiroshi
4bcca0d787
Support "hide tab bar only when one tab" again for Tab Mix Plus ( #557 )
2013-09-18 17:34:21 +09:00
YUKI Hiroshi
f0e71741a1
Break lines after condition block of "if" statements
2013-09-17 18:17:20 +09:00
YUKI Hiroshi
1f5188defd
Add wanabe to the list of contributors in license blocks
2013-09-13 19:58:52 +09:00
wanabe
47ac7924e1
Improve compatibility with "How Many Times Can I Back?" ( #397 )
...
use commonAncestorContainer instead of getCommonAncestor()
2013-09-12 14:54:38 +09:00
wanabe
1a83376034
Improved compatibility with "How Many Times Can I Back?" ( #397 )
...
"getCommonAncestor" method is not available without jQuery
2013-09-12 12:36:00 +09:00
Piro / YUKI Hiroshi
6bce4e5e19
Inherit width, height, and others via xbl:inherits ( #550 )
...
The inner box of the tab bar should inherit width, height, and other attributes given via setTabbrowserAttribute(), from the parent element. However, if the binding is re-assigned again and again, then it can happen infinitely loop when the inheritance is done by xbl:constructor.
2013-08-28 02:25:49 +09:00
YUKI Hiroshi
163b14646d
Close needless group tabs automatically if they are temporary
2013-08-21 12:53:36 +09:00
YUKI Hiroshi
db4cd9b6f1
Revert "Don't close the window with the last group tab, if the last child of the group is closed. ( #537 )"
...
This reverts commit 63a72c9e62
.
2013-08-21 12:20:12 +09:00
Piro / YUKI Hiroshi
2b103ee178
Show/hide tab bar correctly after the grippy is clicked ( #538 )
2013-08-21 03:50:03 +09:00
Piro / YUKI Hiroshi
63a72c9e62
Don't close the window with the last group tab, if the last child of the group is closed. ( #537 )
...
This behaviour can be disabled (and get the old behaviour) by setting the preference "extensions.treestyletab.autoRemoveNeedlessGroupTab.lastTab" to "true".
2013-08-21 03:42:50 +09:00
Piro / YUKI Hiroshi
637a4fd9bc
Don't hide the tab bar even if there is only one tab, on Firefox 23 and later ( #541 )
...
Because the feature is removed on Firefox 23.
https://bugzilla.mozilla.org/show_bug.cgi?id=855370
However, the addon "Hide Tab Bar With One Tab" still provides it.
https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/
So, I decided to activate the behavior only on old Firefox or the environment which has the addon.
2013-08-21 01:09:03 +09:00
Piro / YUKI Hiroshi
481bc1c303
Initialize "Close Tabs to the Right" menuitem even if Multiple Tab Handler is installed.
...
ddbd41163b (commitcomment-3731331)
2013-07-28 01:57:50 +09:00
Piro / YUKI Hiroshi
fd071ba859
Use vertical tab bar specific accesskey for "Close Tabs to Bottom"
2013-07-28 01:53:46 +09:00
Piro / YUKI Hiroshi
e35f7f04d3
Restore tree structure for "undo close tab" feature #525
...
It was a regression on 0.14.2013052901.
2013-07-27 13:56:24 +09:00
Piro / YUKI Hiroshi
a416b179a9
Print more information in the debugging mode
2013-07-27 13:55:20 +09:00
Piro / YUKI Hiroshi
54143f450d
Don't shrink tab bar when user selects background tabs #526
2013-07-27 03:04:04 +09:00
Piro / YUKI Hiroshi
5b30204112
Output more messages for debugging
2013-07-27 02:03:44 +09:00
Piro / YUKI Hiroshi
ddbd41163b
Update label of "Close Tabs to the Right" menuitem to "Close Tabs to the Bottom" in the vertical tab bar #529
2013-07-27 00:51:38 +09:00
YUKI Hiroshi
096830cf22
Don't use __SS_restoreState (See https://bugzilla.mozilla.org/show_bug.cgi?id=867142 )
2013-05-28 15:43:37 +09:00
Piro / YUKI Hiroshi
43e1813650
Collect strongly related codes
2013-05-06 06:36:17 +09:00
Piro / YUKI Hiroshi
eedc895e22
_reserveCloseNeedlessGroupTabParent() should receive the closing tab instead of the parent tab.
...
Because another similar method _reserveCloseNeedlessGroupTabSibling() receives the closing tab.
2013-05-06 05:15:55 +09:00
Piro / YUKI Hiroshi
895b038fe7
Flatten codes
2013-05-06 04:52:55 +09:00
Piro / YUKI Hiroshi
1f6333c22c
Split a large method onTabClose() to small methods
2013-05-06 02:01:36 +09:00
Piro / YUKI Hiroshi
eda95c427a
Collect strongly related codes
2013-05-06 01:33:53 +09:00
Piro / YUKI Hiroshi
1746dbbff6
Split a large method onTabClose() to small methods
2013-05-06 01:22:57 +09:00
Piro / YUKI Hiroshi
f999733b75
Add compatibility note for deprecated feature on Firefox 20
2013-03-06 23:44:24 +09:00
Piro / YUKI Hiroshi
adbebdef7e
Reduce use of arguments.callee because it doesn't work on the strict mode
2013-03-02 21:29:41 +09:00
Piro / YUKI Hiroshi
b21590525d
Don't insert needless margins between collapsed tabs. ( #466 )
...
Negative margins for collapsed tabs were unexpectedly inverted for tabs which have its "cannot be collapsed" parent tab. However, such tabs still can be collapsed if its root parent tab can be collapse its sub tree.
2013-02-27 04:38:20 +09:00
Piro / YUKI Hiroshi
72d38659d8
TreeStyleTabBase should not inherit "prefs"
2013-01-06 11:47:50 +09:00
Piro / YUKI Hiroshi
75fdc626b5
Remove codes for Firefox 9 and older versions
2013-01-04 15:17:22 +09:00
saneyuki_s
665cb5668f
Move TreeStyleTabBase.evalInSandbox() to TreeStyleTabUtils.
2013-01-04 12:39:58 +09:00
saneyuki_s
a7fc238e4e
Move string bundles to TreeStyleTabUtils.
2013-01-03 11:08:25 +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
8e37edc535
find tab from screen coordinates more quickly
2012-12-04 01:16:20 +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
fa893b9801
Change the algorythm to find tab from coordinate based on _animateTabMove
2012-11-30 00:58:47 +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
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
450fa34790
Simplify codes to load modules lazily
2012-11-11 22:48: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