Piro / YUKI Hiroshi
8185bafaae
Define global symbol which to be exported, by "var" instead of "const".
...
This should avoid the issue caused by new behavior of ES6 "const".
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1202902
2015-10-11 12:40:17 +09:00
Piro / YUKI Hiroshi
f2e07bd5b7
Define constant objects with "var", not "const".
...
Objects defined with "const" cannot be exported by the method:
let { SymbolName } = Cu.import("URL", {})
because variables defined with "const" are not stored as a property of the global object, at Firefox 44 and later.
2015-10-10 19:25:00 +09:00
Piro / YUKI Hiroshi
ff2d3caed5
Don't redefine gBrowserInit._delayedStartup() with eval() to avoid errors from mismatched variable scopes.
...
I don't know why but redefined function with eval() has a variable scope different from its original one, and fails to access gSessionHistoryObserver defined in Firefox's script with "const" statement. So I gave up to use eval() hack.
2015-10-10 19:19:11 +09:00
Piro / YUKI Hiroshi
9985b4a21e
Fix typo
2015-10-06 00:55:29 +09:00
Piro / YUKI Hiroshi
d7066482d2
Add news topics
2015-10-05 23:46:29 +09:00
YUKI Hiroshi
9985efab20
Fix typo
2015-10-05 20:04:10 +09:00
YUKI Hiroshi
b4cac92814
Update insertion position info about detached tabs by the method detachTab itself
2015-10-05 20:02:04 +09:00
YUKI Hiroshi
b248f68fad
Update insertion position info of old previous/next tabs after rearrangement
2015-10-05 19:57:17 +09:00
YUKI Hiroshi
7c592fce12
Gather methods to update insertion position info of tabs
2015-10-05 19:56:02 +09:00
YUKI Hiroshi
7c0abf4ee9
Ignore null argument
2015-10-05 19:55:33 +09:00
YUKI Hiroshi
055a64f114
Use commom method to fixup insertion info
2015-10-05 19:34:54 +09:00
YUKI Hiroshi
6fd907ff9a
Use meanignful method name
2015-10-05 19:33:50 +09:00
YUKI Hiroshi
3980ea3c5d
Add method to dump stored tree structure.
...
gBrowser.treeStyleTab.dumpTreeInformation() exports the result as an object, so you can see the result like:
JSON.stringify(gBrowser.treeStyleTab.dumpTreeInformation())
via the browser console.
2015-10-05 19:21:41 +09:00
YUKI Hiroshi
586ab135c3
Remove needless information to reference sibling tabs after rearrangement.
...
This commit is related to the issue #735
2015-10-05 18:59:13 +09:00
YUKI Hiroshi
fdffdacd36
Support tab bar outside of #TabsToolbar
2015-10-05 17:07:08 +09:00
YUKI Hiroshi
5f022d3067
Show the icon of the "all tabs" button in the tab bar, on Linux
2015-10-05 17:06:27 +09:00
YUKI Hiroshi
47ee8fe048
Don't update the size of the floating tab bar when any descendant of self-managed elements is modified.
...
This should conflict with Unified Sidebar. See: #938
2015-10-05 16:58:08 +09:00
YUKI Hiroshi
4a6901d499
Hide needless gray box for hidden pinned tabs
2015-10-05 16:27:18 +09:00
YUKI Hiroshi
f30652bef7
Hide pinned tabs in collapsed tab bar
2015-10-05 16:23:44 +09:00
YUKI Hiroshi
20ada7e5d8
Don't show gray rect of pinned tabs on full screen videos
...
See also: #950
2015-10-02 16:26:00 +09:00
Piro / YUKI Hiroshi
7430a767c1
Add credit
2015-09-29 06:20:22 +09:00
Piro / YUKI Hiroshi
dd6a01532d
Add credit
2015-09-29 06:18:14 +09:00
Piro / YUKI Hiroshi
f52486493f
Add credit of Xidorn Quan
2015-09-29 06:16:43 +09:00
Piro / YUKI Hiroshi
1d6d4b9f0c
Add news topocs
2015-09-29 06:11:59 +09:00
Piro / YUKI Hiroshi
90afd04187
Bump maxVersion to 44.0a1
2015-09-29 06:05:21 +09:00
Piro / YUKI Hiroshi
01eae840aa
Partially revert 04b06ef084
...
Regression: width of tab bar is wrongly reset on the next startup.
2015-09-29 05:11:12 +09:00
Piro / YUKI Hiroshi
2018b2063e
Apply new size of the tab bar specified at the configuration dialog, for all windows
2015-09-29 04:50:16 +09:00
Piro / YUKI Hiroshi
dcb84057c8
Hide stressful fog on the tab bar.
...
It is a background color of the tab bar in a transparent window on Windows. Because vertical tab bar always have its background, we don't need it.
2015-09-29 03:56:45 +09:00
Piro / YUKI Hiroshi
b1b886d27d
Suppress error on window closing
2015-09-29 03:47:29 +09:00
Piro / YUKI Hiroshi
04b06ef084
Apply new pref value only for the topmost browser window smartly
2015-09-29 03:45:10 +09:00
YUKI Hiroshi
fe39d5d6f3
Fix mismatched references
2015-09-28 21:42:05 +09:00
YUKI Hiroshi
3a9e922175
Re-introduce configuration UI to change fixed/unfixed and the size of the tab bar #940
2015-09-28 21:32:06 +09:00
YUKI Hiroshi
5913bf1f86
Don't shrink tab bar when a tab is closed or the focus is moved
2015-09-28 21:08:49 +09:00
YUKI Hiroshi
8e47c84fd0
Output more debug print for show/hide of the tab bar
2015-09-28 21:08:33 +09:00
YUKI Hiroshi
7fe5a517f7
Place "overlay" icon at top-right of the tab for "Metal" theme
2015-09-28 20:45:22 +09:00
YUKI Hiroshi
06fb2d4f2f
Place "overlay" icon on pinned tabs at top-right of the tab
2015-09-28 20:42:35 +09:00
YUKI Hiroshi
3a3d0945c7
Place sound button in tabs before the closebox
2015-09-28 20:33:31 +09:00
YUKI Hiroshi
b607f36586
Update library to fix broken preferences dialog at Firefox 42
...
See: https://github.com/piroor/treestyletab/issues/944#issuecomment-143146598
2015-09-25 17:24:55 +09:00
YUKI Hiroshi
a43b31b5c7
Set tab-strip-element attribute for the tabbar internal box ceratinly.
...
TreeStyleTabBrowser#init() fails to set the attribute for the tabbar internal box,
so resizing of the element is unexpectedly tracked by BrowserUIShowHideObserver
even if it is triggered by the "auto hide" feature. It causes the bug #942 .
When the mouse cursor moves onth the shrunken tab bar, autohide service expands
the width of the tab bar by setting width/height attribuets. Such a "resizing"
must be ignored by BrowserUIShowHideObserver because only unexpected resizing
caused by other addons triggers "update size of the floating tab bar".
2015-09-25 15:32:58 +09:00
YUKI Hiroshi
ae050bba76
Output more debug print
2015-09-25 15:26:40 +09:00
YUKI Hiroshi
f42c8c14bd
Output attribute old value in the debug print
2015-09-25 15:10:19 +09:00
YUKI Hiroshi
af4c15f08d
Report the reason why the tab bar is collapsed/expanded
2015-09-25 14:36:20 +09:00
YUKI Hiroshi
888a858a7d
More debug prints
2015-09-25 14:36:01 +09:00
YUKI Hiroshi
064578b3e0
Open child tab correctly with middle click on "view image" in the context menu
2015-09-03 16:24:28 +09:00
YUKI Hiroshi
cbf0cbd47e
Open new dummy tab when a blank bookmark folder is droppend to the tab bar (inspired from #923 )
2015-08-31 18:55:54 +09:00
YUKI Hiroshi
b4fd1e9fac
Drop support for firefox 31
2015-08-28 18:27:39 +09:00
YUKI Hiroshi
84d73d7471
Fix indent
2015-08-28 18:27:03 +09:00
YUKI Hiroshi
7831a6b6cc
Remove codes for old Firefox
2015-08-28 18:26:30 +09:00
YUKI Hiroshi
e1198f1ef3
Remove debug print
2015-08-28 18:23:08 +09:00
YUKI Hiroshi
e2b143b372
Fix indent
2015-08-28 18:22:44 +09:00