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
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
c2fee561d1
Respect the behaviour of "Disable detach and tear off tab" ( #540 )
...
The addon provides ability to disable tearing off of dragged tab:
https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t/
but TST killed the feature...
2013-08-21 02:18:30 +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
032d36d28c
Support getShortcutOrURIAndPostData() on Firefox 25 and later.
...
See also:
https://github.com/piroor/treestyletab/issues/524
https://bugzilla.mozilla.org/show_bug.cgi?id=846635
2013-07-27 03:47:53 +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
a18af8638f
Deactivate debugging flag
2013-07-27 01:35:22 +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
Piro / YUKI Hiroshi
df8ccdd54d
Find "insert before" reference tab and move the dragged tab to the upper level correctly, even if the parent tab has no next sibling.
...
This should work for cases like #297 .
2013-07-27 00:19:47 +09:00
Piro / YUKI Hiroshi
873a810eb0
Suppress error while the last tabs is dragged over the tab itself
2013-07-26 23:42:11 +09:00
YUKI Hiroshi
c03ad9eaff
Detect new tabs opened from content scripts correctly ( #517 , #510 )
2013-07-02 19:47:41 +09:00
Infocatcher
b2365f075d
Correctly detect group tabs
...
Testcase: about:blank?about:treestyletab-group
2013-06-13 10:02:22 +04:00
Piro / YUKI Hiroshi
20b43cbbb0
Fix wrong path
2013-05-29 23:06:11 +09:00
Piro / YUKI Hiroshi
0ec947b4de
Update library
2013-05-29 23:04:40 +09:00
Piro / YUKI Hiroshi
51f0dcb960
Fix syntax error
2013-05-28 23:26:30 +09:00
YUKI Hiroshi
a17941500d
Detect "to be restored" tab correctly
2013-05-28 16:14:31 +09:00
YUKI Hiroshi
8b8b048138
Add notation for an obsolete method
2013-05-28 16:04:58 +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
2f2004b8e0
Don't open new window/tabs as children of the current tab, when the opener is not a subframe of the current tab ( #510 )
2013-05-11 01:55:41 +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
a173cf3a59
Update the tab bar correctly when contents in the browser bottom bar or the toolbar are modified. (Regression on 0.14.2013040601) #497 #480
2013-04-13 16:47:18 +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
28a2880fb6
Change prefix for name of method functions of TSTBase
...
utils_ =>
TSTBase_
2013-03-06 02:56:29 +09:00
Piro / YUKI Hiroshi
cc72b2ebfc
Rename generic method to open new related tab with specified behavior
...
handleNewTabCommand =>
readyToOpenRelatedTabAs
2013-03-06 02:54:04 +09:00
Piro / YUKI Hiroshi
aa5b1339e5
Open new tab from the current tab as a sibling correctly
2013-03-06 02:51:17 +09:00
Piro / YUKI Hiroshi
f8b994eb26
Define handleNewTabFromCurrent and handleNewTabCommand as methods of both TSTWindow and TSTBrowser (for future changes to open related tab from the current tab from TSTBrowser)
2013-03-06 02:40:18 +09:00
Piro / YUKI Hiroshi
5954e76c02
Add new secret option "extensions.treestyletab.autoAttach.fromCurrent" to control new tab position from the current tab ( #452 )
2013-03-06 02:37:21 +09:00
Piro / YUKI Hiroshi
6fe9401c39
Suppress errors while dragging the tab bar itself
2013-03-06 01:51:24 +09:00
Piro / YUKI Hiroshi
948883c891
Find pseudo drop target tab from the drop position for dragging on the bottom of the tab bar correctly ( #461 )
2013-03-06 00:26:23 +09:00
YUKI Hiroshi
cd858d12f3
Find pseudo drop target tab from the drop position for dragging on the top or bottom of the tab bar ( #461 )
2013-03-05 18:48:49 +09:00
Piro / YUKI Hiroshi
bcad184e5d
Ignore show/hide of the tab bar itself, to avoid infinity loop ( #473 )
2013-03-04 01:40:07 +09:00
Piro / YUKI Hiroshi
acd1d744f5
Move dragged tab to the correct position, even if there are hidden tabs.
2013-03-03 03:48:24 +09:00
Piro / YUKI Hiroshi
0140ae8a49
Make dragging tabs transparently always, to see the drop position marker
2013-03-02 22:22:50 +09:00
Piro / YUKI Hiroshi
7e03fef929
Observe changes of UI shown/hidden not only the browser bottom box but also the toolbox (for #470 )
2013-03-02 22:12:28 +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
34d48370c4
Rename conflicting variable:
...
prefs =>
subTreePrefs
2013-01-15 23:00:19 +09:00
saneyuki_s
9e889c3e6d
Remove setting TreeStyleTabUtils.__proto__.
2013-01-06 13:02:51 +09:00
saneyuki_s
e33409fb9a
Freeze TreeStyleTabConstants.
...
We treat this as constants.
2013-01-06 12:12:35 +09:00
Piro / YUKI Hiroshi
a1dd914a09
TreeStyleTabBase should not inherit "prefs" (part 2)
2013-01-06 11:56:20 +09:00
Piro / YUKI Hiroshi
8d845095f7
Split definitions of constant properties from TreeStyleTabBase
2013-01-06 11:50:55 +09:00
Piro / YUKI Hiroshi
72d38659d8
TreeStyleTabBase should not inherit "prefs"
2013-01-06 11:47:50 +09:00
Piro / YUKI Hiroshi
04471a3f3a
Fix typo
2013-01-06 11:22:53 +09:00
saneyuki_s
620cce867f
Move TreeStyleTabBase.migratePrefs() to TreeStyleTabUtils .migratePrefs().
2013-01-06 02:36:29 +09:00
saneyuki_s
205a1f884c
Change TreeStyleTabBase.SessionStore simply.
2013-01-06 01:52:47 +09:00
Piro / YUKI Hiroshi
97e6f930d9
Refer "prefs" instead of "window['...'].prefs" to load depending modules
2013-01-06 00:31:43 +09:00
saneyuki_s
6a26ea6f7e
Add the constant to cache 'Components.utils' to modules/base.js.
2013-01-05 02:44:01 +09:00
Piro / YUKI Hiroshi
62d35c49af
Sectionize codes by STED (Structured Text Editor)
2013-01-04 15:30:08 +09:00
Piro / YUKI Hiroshi
75fdc626b5
Remove codes for Firefox 9 and older versions
2013-01-04 15:17:22 +09:00
saneyuki_s
e06bbe785d
Change the loading point of jsdeferred.js.
2013-01-04 13:07:32 +09:00
saneyuki_s
ce9bd03e3c
Load namespace.jsm & pref.js as lazy getter.
2013-01-04 13:06:20 +09:00
saneyuki_s
6361cd71a1
Simple loading Services.jsm.
2013-01-04 13:04:02 +09:00
saneyuki_s
94d46878fa
Add the simple getter 'TreeStyleTabBase.AeroPeek' & Remove TreeStyleTabBase.updateAeroPeek().
2013-01-04 12:59:45 +09:00
saneyuki_s
efd07b5e7e
Remove modules/lib/boxObject,js.
...
At this time, this module is not used in this addon.
2013-01-04 12:46:28 +09:00
saneyuki_s
9921ea2246
Remove TreeStyleTabBase.getBoxObjectFor().
...
At this time, this method is not used in this addon.
2013-01-04 12:44:29 +09:00
saneyuki_s
665cb5668f
Move TreeStyleTabBase.evalInSandbox() to TreeStyleTabUtils.
2013-01-04 12:39:58 +09:00
saneyuki_s
94067b8bf8
Add the constant to cache 'Components.utils' to modules/utils.js.
2013-01-04 12:32:05 +09:00
YUKI "Piro" Hiroshi
05dd8078b3
Merge pull request #437 from saneyuki/pref
...
Not setting '.override' pref when uninstall/diasble this addon
2013-01-03 18:06:23 -08:00
YUKI "Piro" Hiroshi
fc32a2e31b
Merge pull request #432 from saneyuki/getter
...
Change TreeStyleTabUtils.prefs to simple getter
2013-01-03 10:37:37 -08:00
saneyuki_s
c732e5e280
Not setting '.override' pref when uninstall/diasble this addon.
2013-01-04 02:57:38 +09:00
Piro / YUKI Hiroshi
d7d988ee96
Fix syntax error
2013-01-04 01:34:08 +09:00
YUKI "Piro" Hiroshi
f914c5cc72
Merge pull request #435 from saneyuki/string
...
Move string bundles to TreeStyleTabUtils
2013-01-03 08:24:27 -08:00
saneyuki_s
a7fc238e4e
Move string bundles to TreeStyleTabUtils.
2013-01-03 11:08:25 +09:00
saneyuki_s
b4ee0ed4ff
Split restoring some prefs which are handled in modules/base.js.
2013-01-03 10:04:09 +09:00