Commit Graph

760 Commits

Author SHA1 Message Date
Tetsuharu OHZEKI
97637256a8 Use SessionStore.jsm only. 2013-11-06 22:46:25 +09:00
Tetsuharu OHZEKI
5991114c47 Use Services.focus. 2013-11-06 22:11:15 +09:00
YUKI Hiroshi
e7637b55dc Merge branch 'timer' of git://github.com/saneyuki/treestyletab
Conflicts:
	install.rdf
2013-11-05 10:56:05 +09:00
Tetsuharu OHZEKI
8df4d85c95 Remove jstimer.jsm. 2013-11-04 00:49:04 +09:00
Tetsuharu OHZEKI
4183ced2d8 Remove using jstimer from animationManager.js. 2013-11-04 00:48:36 +09:00
Tetsuharu OHZEKI
b7ee2cf847 Use Timer.jsm in module/base.js 2013-11-04 00:43:52 +09:00
Piro / YUKI Hiroshi
78e4ea5526 Don't cancel the timer to hide (or collapse) the tab bar after a tab is opened or closed (#581, regression) 2013-10-30 04:30:08 +09:00
Piro / YUKI Hiroshi
2964e64df5 Better compatibility with someone who change visibility of the tab bar.
ex. Hide Tab Bar With One Tab ( https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/ ), Tab Mix Plus, and Pale Moon.
2013-10-30 04:20:50 +09:00
Piro / YUKI Hiroshi
0c6acbce7d Support "auto hide tab bar" feature provided by Tab Mix Plus.
This commit is related to #574 and #557.
2013-10-30 04:11:16 +09:00
Piro / YUKI Hiroshi
d17c117804 Prevent infinity loop around show/hide of tab bar related elements. (#574)
With browser.tabs.autoHide=true, some environments (ex. Pale Moon) fall into infinity loop. To avoid this problem, I have to ignore changing visibility around tab bar elements controlled by TST itself.
2013-10-30 03:36:31 +09:00
YUKI Hiroshi
6756ec255a Don't define multiple constant property with same value 2013-10-24 10:16:53 +09:00
Piro / YUKI Hiroshi
13584c712a Hide (collapse) the tab bar when the floating tab bar is going to be updated.
By this change, the size of the shrunken tab bar will saved and restored correctly. (#575)
2013-10-23 02:42:22 +09:00
Piro / YUKI Hiroshi
f7e172172b Expand the shrunken tab bar immediately when the mouse pointer moves onto the tab bar, if the size of teh tab bar is fixed. 2013-10-23 01:41:26 +09:00
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
YUKI "Piro" Hiroshi
aeaabeb526 Merge pull request #571 from Infocatcher/fix_fullscreen
Handle changes of "moz-collapsed" attribute to correctly update after exiting from full screen mode
2013-10-08 10:44:53 -07:00
Infocatcher
77542aabf5 Handle changes of "moz-collapsed" attribute to correctly update after exiting from full screen mode
(#546)
2013-10-08 21:40:16 +04: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
4004ec6f64 Update floating tab bar when UI element is inserted/removed from the browser box (#546) 2013-10-09 01:30:52 +09:00
Piro / YUKI Hiroshi
d2ff4f545e Show the full tooltip near the original tooltip correctly, even if there are multiple screens. (#302) 2013-10-09 01:09:01 +09:00
Piro / YUKI Hiroshi
e58a7b9987 Don't shrink/hide the tab bar for keyboard shortcuts Ctrl-T, Ctrl-R, etc. 2013-10-09 00:13:29 +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
a641d748c7 Allow users to create new subtree from partially selected tree of tabs (#553) 2013-09-18 12:10:15 +09:00
YUKI Hiroshi
f0e71741a1 Break lines after condition block of "if" statements 2013-09-17 18:17:20 +09:00
YUKI Hiroshi
47774acf54 Keep tab bar shown (expanded) if one of triggers is still there. (#552)
The tab bar can be shown by three reasons: mouseover, keyboard shortcut,
and feedback for new tabs. However, sometimes two or more triggers can
be fired in a same time. Now TST keeps the tab bar showing (expanded)
for combinated cases, like: shown by the keyboard shortcut, the mouse
goes onto the tab bar, and it leaves from the tab bar.
2013-09-17 16:22:29 +09:00
YUKI Hiroshi
1f5188defd Add wanabe to the list of contributors in license blocks 2013-09-13 19:58:52 +09:00
YUKI Hiroshi
443356caa1 Observe changes of attributes of the parent box itself correctly 2013-09-13 19:44:48 +09:00
YUKI Hiroshi
bbe6b79024 Update tab bar position for "disablechrome" attribute of the root element 2013-09-13 19:37:21 +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
a60af4b0c7 Fix error on the initialization (#543)
It is caused by the preference "browser.tabs.autoHide" which is not defined in the default branch.
2013-08-23 17:09:03 +09:00
YUKI Hiroshi
e80560034b Use "&" instead of ";" as the separator of URL parameters 2013-08-21 17:36:12 +09:00
YUKI Hiroshi
23b1a043ef Add customizability for newly opened temporary groups (#537) 2013-08-21 17:34:07 +09:00
YUKI Hiroshi
c9b3bcd5d0 Add "temporary group" checkbox 2013-08-21 13:51:03 +09:00
YUKI Hiroshi
79555c9b3d Update UI for title of group tabs by setter 2013-08-21 13:49:31 +09:00
YUKI Hiroshi
c22c03186f Open temporary group tabs with "temporary=true" parameter 2013-08-21 13:35:26 +09:00
YUKI Hiroshi
4fe157dec2 Detect temporary group tabs ignoring session history 2013-08-21 13:08:56 +09:00
YUKI Hiroshi
2cd526253e Detect temporary group tab correctly 2013-08-21 13:05:18 +09:00
YUKI Hiroshi
1170b1075a Simulate location.search because it is not available on about: URIs 2013-08-21 13:00:38 +09:00
YUKI Hiroshi
163b14646d Close needless group tabs automatically if they are temporary 2013-08-21 12:53:36 +09:00
YUKI Hiroshi
570502a6fb Fix typo
ues =>
yes
^
2013-08-21 12:52:40 +09:00
YUKI Hiroshi
05f837d0c6 Update URI by setter 2013-08-21 12:46:17 +09:00
YUKI Hiroshi
ee25050cf1 Support multiple parameters for group tabs, like "title=(title);temporary=(boolean)" 2013-08-21 12:39:58 +09:00
YUKI Hiroshi
158e41caf1 Support "?" in the title of group tabs 2013-08-21 12:28:47 +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