YUKI Hiroshi
1b8f61f778
Place newly opened tab to the correct position
2016-01-19 20:27:43 +09:00
YUKI Hiroshi
e2c93cc59c
Introduce new API to open orphan tab intentionally.
...
It is required to open a new tab with "relatedToCurrent" as orphaned.
This solves the problem https://github.com/piroor/treestyletab/issues/1013#issuecomment-172780573
2016-01-19 18:09:49 +09:00
YUKI Hiroshi
2ede365e18
Delete flags from the service object when they are expired
2016-01-19 18:04:29 +09:00
YUKI Hiroshi
f4fff387b1
Make new tabs opened with "relatedToCurrent:true" as a child of the current tab
2016-01-19 17:47:45 +09:00
YUKI Hiroshi
28ba3b54ad
Fixup tree structure after tab move correctly.
...
Keyboard shortcuts Ctrl-Shift-PageUp/PageDown sometimes broke the tree.
This commit fixes following cases:
case 1:
* [-] A
* A-1 <= Ctrl-Shift-PageDown at here
* [+] B
then they should be:
* A
* [+] B
* A-1
but actually:
* [-] A
* [+] B
* A-1 <= still a child of A!
case 2:
* A
* [-] B
* [+] B-1 <= Ctrl-Shift-PageUp at here
then they should be:
* A
* [+] B-1
* B
but actually:
* A
* [+] B-1 <= still a child of B!
* [-] B
2016-01-18 18:43:36 +09:00
YUKI Hiroshi
1623bc43a9
Output more logs for debugging
2016-01-18 17:02:53 +09:00
YUKI Hiroshi
63e291b603
Don't change scroll position of the tab bar when it is expanded from shrunken
2015-12-25 17:21:50 +09:00
YUKI Hiroshi
44825b4e24
Add more debug logs around fullscreen toggling
2015-12-25 16:17:27 +09:00
Piro / YUKI Hiroshi
21715d2c3c
Don't touch missing "detail" information of TabAttrModified event on Firefox 38 #1010
2015-12-14 23:26:00 +09:00
Piro / YUKI Hiroshi
34278450e1
Add a secret preference to disable the safeguard for infinity promoting of all children #988
2015-11-30 01:04:54 +09:00
Piro / YUKI Hiroshi
184555c3fa
Update insertion position info for old previous/next sibling elements too #735
2015-11-30 00:43:59 +09:00
Piro / YUKI Hiroshi
6cf8e5ee25
Reattach a moved tab to its preferred parent, for moving by Ctrl-Sihft-PageUp.
...
See also: https://github.com/piroor/treestyletab/issues/998#issuecomment-160177595
2015-11-28 02:31:22 +09:00
Piro / YUKI Hiroshi
191bb0ce26
Output more debug messages
2015-11-28 02:23:03 +09:00
YUKI Hiroshi
92e03c52a9
Control "muted" status of descendant tabs if the tab has a subtree and they are collapsed
2015-11-19 20:20:15 +09:00
YUKI Hiroshi
38928625a9
Fix indent
2015-11-19 19:41:26 +09:00
YUKI Hiroshi
d0cfd42c02
Apply virtual muted status for the parent tab correctly
2015-11-19 19:40:43 +09:00
YUKI Hiroshi
01587b928d
Observe changes of "muted" attribute of tabs
2015-11-19 19:29:09 +09:00
YUKI Hiroshi
1d30207dc0
Apply soundplaying attribute restored from session as the really-sound-playing state
2015-11-19 19:11:41 +09:00
YUKI Hiroshi
e950d56879
Use better method name
2015-11-19 18:33:07 +09:00
YUKI Hiroshi
e6eac24805
Show sound indicator in a tab which have any soundplaying descendant
2015-11-19 18:30:38 +09:00
YUKI Hiroshi
573556a834
Store state of actual sound-playing for each tab
2015-11-19 18:10:17 +09:00
YUKI Hiroshi
44c7cd117a
Separate method to update tab's descendant count
2015-11-19 17:21:22 +09:00
YUKI Hiroshi
1a1e609b9d
Restore tab bar visible after the grippy is clicked again (regression)
2015-11-19 15:20:30 +09:00
YUKI Hiroshi
ffd7c26150
Add a comment to describe its design around promoting of children
2015-11-18 19:16:06 +09:00
Piro / YUKI Hiroshi
3fa5aec658
Add reference counter implementation to detect memory leak
2015-11-10 03:00:43 +09:00
Piro / YUKI Hiroshi
4b32a22531
Remove registered event listeners more completely
2015-11-10 01:44:39 +09:00
YUKI Hiroshi
36ccd7a321
Fix misspelling of "phisical" - it should be "physical" #889
2015-11-06 15:47:39 +09:00
Piro / YUKI Hiroshi
d534c28a6d
Use meaningful name for "tabs in titlebar" hack
2015-11-05 23:28:38 +09:00
Piro / YUKI Hiroshi
49dd724d0d
Revert hacks for "tabs on top" partially.
...
It is still required to disable "tabs in titlebar".
2015-11-05 23:26:34 +09:00
YUKI Hiroshi
3bfa87f0e0
Remove obsolete hack for TabsOnTop
2015-11-05 18:44:03 +09:00
YUKI Hiroshi
296bae010f
Output more debug print
2015-11-05 18:08:22 +09:00
YUKI Hiroshi
f75443ce6f
Fix indent
2015-11-02 16:15:48 +09:00
YUKI Hiroshi
7e5916cce5
Allow to update the size of the tab bar by other addons with the nsDOMTreeStyleTabTabbarRendered event
2015-11-02 16:14:46 +09:00
YUKI Hiroshi
050a87e108
Dispatch custom event to notify other addons that the tab bar is rendered by TST.
...
This event is required to fix the issue #938 with Unified Sidebar.
2015-11-02 16:01:35 +09:00
Piro / YUKI Hiroshi
036ca2a5d5
Hide toolbar related elements completely in the DOM fullscreen mode.
...
The "inDOMFullscreen" attribute is introduced at Firefox 36 by http://hg.mozilla.org/mozilla-central/rev/3aef39ca3919 and now TST supports only Firefox 38 and newer. So we should use it instead of my custom attribute.
2015-10-27 00:42:52 +09:00
YUKI Hiroshi
ad15b22b39
Output more debug prints
2015-10-26 18:50:38 +09:00
YUKI Hiroshi
5bd7112a24
Control more debug prints by preferences
2015-10-26 16:37:28 +09:00
YUKI Hiroshi
de777e7ff2
Control debug prints via preferences
2015-10-26 16:32:31 +09:00
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
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
Piro / YUKI Hiroshi
dd6a01532d
Add credit
2015-09-29 06:18:14 +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