Commit Graph

1331 Commits

Author SHA1 Message Date
YUKI Hiroshi
55fa2764b8 Keep current tab visible after the window is resized #660 2016-02-22 12:49:48 +09:00
YUKI Hiroshi
8581e3abc5 Disallow to scroll to hidden tab always #604 2016-02-22 12:08:46 +09:00
YUKI Hiroshi
bd3f2969a7 Don't scroll to newly opened hidden tab #604 2016-02-22 12:03:36 +09:00
Piro / YUKI Hiroshi
9c3221b722 Revert "Don't modify position of thumbnail inserted by Informational Tab"
This reverts commit 2a750342bb.
2016-02-21 05:14:18 +09:00
Piro / YUKI Hiroshi
a9351d71e0 Remove too many space 2016-02-21 05:06:48 +09:00
Piro / YUKI Hiroshi
22aa339047 Suppress errors from missing nodes 2016-02-20 17:59:52 +09:00
Piro / YUKI Hiroshi
479e6c5137 Accept text including whitespaces for drag and drop on the tab bar #633
Now such dropped text will be searched by the default search engine.
2016-02-20 16:10:59 +09:00
Piro / YUKI Hiroshi
833b1c924e Search dragged text by dropping on the tab bar #634 2016-02-20 16:02:28 +09:00
Piro / YUKI Hiroshi
2a750342bb Don't modify position of thumbnail inserted by Informational Tab 2016-02-20 15:46:27 +09:00
Piro / YUKI Hiroshi
fef54cec8b Compact constants 2016-02-20 15:20:13 +09:00
Piro / YUKI Hiroshi
c901a1ce82 Remove obsolete code for "Always show the tab bar" feature removed at Firefox 23 2016-02-20 15:16:45 +09:00
Piro / YUKI Hiroshi
c5dbe0627d Calculate size of the tooltip and reposition more correctly & smartly 2016-02-20 02:15:45 +09:00
YUKI Hiroshi
e07384795a Show whole tree correctly even if there is caption 2016-02-19 20:55:04 +09:00
YUKI Hiroshi
745c53ba24 Output stack trace why the tooltip is closed 2016-02-19 20:49:03 +09:00
YUKI Hiroshi
77a212e1b0 Reduce needless log 2016-02-19 20:48:52 +09:00
YUKI Hiroshi
13bf7d0fc0 Separate method to reposition tooltip 2016-02-19 20:48:39 +09:00
YUKI Hiroshi
f7f1ab7762 Ignore other events while tooltip resizing 2016-02-19 20:48:03 +09:00
YUKI Hiroshi
44c3c288aa Shrink column count automatically by pseudo tree builder itself 2016-02-19 20:19:52 +09:00
YUKI Hiroshi
e73be800ff Fix conding style 2016-02-19 20:16:58 +09:00
YUKI Hiroshi
a5f7dbe501 Show multi column tree more smartly 2016-02-19 20:16:41 +09:00
YUKI Hiroshi
bff7c1c776 Ignore transition for non-size properties 2016-02-19 20:16:09 +09:00
YUKI Hiroshi
56b4bfb716 Don't hide full tooltip while it is showing 2016-02-19 18:37:18 +09:00
YUKI Hiroshi
56186c4c28 Output more logs 2016-02-19 18:37:05 +09:00
YUKI Hiroshi
b879844bca Better positioning of full tooltip 2016-02-19 18:36:42 +09:00
YUKI Hiroshi
a6ea63feed Relabel 2016-02-19 17:46:13 +09:00
YUKI Hiroshi
1b0f1b1f50 Output more debug logs 2016-02-19 17:45:13 +09:00
Piro / YUKI Hiroshi
115cbc1e61 Rearrange methods by their executed order 2016-02-19 00:24:57 +09:00
Piro / YUKI Hiroshi
b040f2db20 Don't show the container larger than the tooltip itself 2016-02-19 00:14:04 +09:00
Piro / YUKI Hiroshi
a97c42c4d1 Clear fake tree when the tooltip is hidden 2016-02-19 00:08:09 +09:00
Piro / YUKI Hiroshi
409103c9ba Show full tooltip with correct size enough to show its contents 2016-02-18 23:59:44 +09:00
Piro / YUKI Hiroshi
961477b0ca Output more debug log for full tooltip 2016-02-18 23:12:24 +09:00
YUKI Hiroshi
7bfb22b3e6 Don't open startup home pages as a tree #1063 2016-02-18 20:50:14 +09:00
YUKI Hiroshi
d7c74933b5 Fix indent 2016-02-18 20:34:48 +09:00
YUKI Hiroshi
388103a20b Open home tabs as flat tabs if the yare opened by single left click 2016-02-18 20:34:29 +09:00
YUKI Hiroshi
36d145155a Open home tabs as new tabs always (See #1063) 2016-02-18 20:29:51 +09:00
YUKI Hiroshi
c955acefd2 Don't leave needless group tab after a tree is detached #1071 2016-02-18 20:13:41 +09:00
YUKI Hiroshi
af093118b4 Output more logs 2016-02-18 20:13:28 +09:00
YUKI Hiroshi
c51112886a Detect dummy group tab correctly even if it is still loading 2016-02-18 20:12:50 +09:00
YUKI Hiroshi
a82d5adac8 Output more debug log 2016-02-18 19:32:22 +09:00
YUKI Hiroshi
334fcbcf41 Output more debug logs 2016-02-18 19:29:41 +09:00
YUKI Hiroshi
e92bc3d2ac Fix indent 2016-02-18 13:02:48 +09:00
YUKI Hiroshi
172df772d3 Render narrow scrollbar more correctly, without any side effect like #1072 2016-02-18 12:59:29 +09:00
YUKI Hiroshi
cb8dcc4a8c Align 2016-02-18 11:35:35 +09:00
YUKI Hiroshi
7ffe13c8b4 Use platform specific preference correctly 2016-02-18 11:35:21 +09:00
YUKI Hiroshi
718475c010 Allways apply the font size for narrow scrollbar 2016-02-18 11:25:48 +09:00
YUKI Hiroshi
b4177eed60 Fix indent 2016-02-18 11:20:05 +09:00
YUKI Hiroshi
998cf5d47e Use different method to narrowrize scrollbar for each platform 2016-02-18 11:19:28 +09:00
Piro / YUKI Hiroshi
3a28f1ec49 Migrate configurations to simulate old behavior.
This is inspired from the discussion around https://twitter.com/piro_or/status/700004661227442177
2016-02-18 02:32:50 +09:00
YUKI Hiroshi
35783c647f Don't show sound indicator for flat parent tabs 2016-02-17 17:22:57 +09:00
YUKI Hiroshi
9594f1c740 Allow to disable indentation for horizontal tab bar #1070 2016-02-17 16:52:19 +09:00
YUKI Hiroshi
d9e13abd83 Redirect users to other vertical tab addons 2016-02-17 16:46:29 +09:00
YUKI Hiroshi
bacdaf424f Activate "alllow to collapse/expand" on the startup #1070 2016-02-17 16:30:24 +09:00
YUKI Hiroshi
c3b170fe24 Add missing function 2016-02-17 16:24:28 +09:00
YUKI Hiroshi
ee7d2392c8 Disallow to make indentation level smaller than the default value #1070 2016-02-17 16:23:20 +09:00
YUKI Hiroshi
3a2c801f5d Don't apply obsolete "extensions.treestyletab.allowSubtreeCollapseExpand.*" preferences #1070 2016-02-17 16:05:23 +09:00
YUKI Hiroshi
f0f62b89ae Add credit 2016-02-17 10:09:23 +09:00
YUKI Hiroshi
557e69f42e Use "aXXX" form for arguments 2016-02-17 10:06:18 +09:00
J. Ryan Stinnett
97a0afea4c Repair tearing off a tree of multiple tabs 2016-02-16 17:37:32 -06:00
Piro / YUKI Hiroshi
0bfedf7480 Attach new tab to the current tab only if it seems actually opened with relatedToCurrent=true
There are two keys: tab.owner and gBrowser._lastRelatedTab.
tab.owner can appear even if the tab is opened without relatedToCurrent=true, for example, about:addons.
On the other hand, gBrowser._lastRelatedTab is updated only when relatedToCurrent=true.
So it seems more better trigger to attach a new tab to the parent automatically.
This should fix #1065 (https://github.com/5digits/dactyl/issues/140)
2016-02-16 09:46:34 +09:00
Piro / YUKI Hiroshi
c68c299fa2 Reduce too many columns 2016-02-16 01:46:06 +09:00
Piro / YUKI Hiroshi
45c0b300b8 Fix indent 2016-02-16 01:33:15 +09:00
Piro / YUKI Hiroshi
d1200d2264 Add secret preferences to disable multicolumn pseud tree
* extensions.treestyletab.groupTab.columnize
 * extensions.treestyletab.tooltip.columnize
2016-02-16 01:32:56 +09:00
Piro / YUKI Hiroshi
0d6e26585e Support multicolumn full tooltip 2016-02-16 01:24:36 +09:00
Piro / YUKI Hiroshi
af4d2f7b40 Don't show pseud tree in multiple columns if the container is narrow 2016-02-16 00:29:30 +09:00
Piro / YUKI Hiroshi
7c2b939cab Don't show too large tooltip 2016-02-16 00:10:59 +09:00
Piro / YUKI Hiroshi
1126c9f211 Output log more safely #1067 2016-02-15 23:45:58 +09:00
YUKI Hiroshi
f5198c31aa Show pseudo tree in multiple columns 2016-02-15 20:26:14 +09:00
YUKI Hiroshi
f973be9ae5 Build pseudo tree based on HTML 2016-02-15 19:49:09 +09:00
YUKI Hiroshi
696bda9e8d Break too long line in group tabs 2016-02-15 19:18:42 +09:00
Piro / YUKI Hiroshi
72bb2f1a08 Collapse the tab bar automatically for inactive window when it is expanded automatically 2016-02-14 22:09:15 +09:00
Piro / YUKI Hiroshi
b8333261b5 Don't open new tab as a child of the current if extensions.treestyletab.autoAttach=false #1062 2016-02-14 18:41:42 +09:00
Piro / YUKI Hiroshi
9580dc574f Don' open new single tab from middle click on the Home button as a child of the current tab 2016-02-14 18:37:58 +09:00
Piro / YUKI Hiroshi
be6df2121f Fix syntax error 2016-02-14 03:17:28 +09:00
Piro / YUKI Hiroshi
74bdeb4a31 Fix indent 2016-02-13 23:28:39 +09:00
Piro / YUKI Hiroshi
799504b8bf Add secret preferences to control feedback cases 2016-02-13 23:28:22 +09:00
Piro / YUKI Hiroshi
bbffed0d5d Highlight tabs more slowly 2016-02-13 04:59:52 +09:00
Piro / YUKI Hiroshi
2c6534a771 Apply animation more smoothly 2016-02-13 04:57:45 +09:00
Piro / YUKI Hiroshi
ea99c3cf71 Fix regression: open bookmarks as separate tabs for user preference #949 2016-02-13 04:40:16 +09:00
Piro / YUKI Hiroshi
0c213398f4 Describe why we don't use the actual width of the scrollbar directly 2016-02-13 01:52:30 +09:00
Piro / YUKI Hiroshi
6ca9f61115 Calculate style rules for narrow scroll bar more intelligently #240 2016-02-13 01:50:15 +09:00
Piro / YUKI Hiroshi
0a86767afb Update style rules for the narrow scroll bar when the tab bar becomes overflow 2016-02-13 01:11:44 +09:00
Piro / YUKI Hiroshi
6f53b64872 Fix mismatched references 2016-02-13 01:05:33 +09:00
Piro / YUKI Hiroshi
998fb39410 Update name of a preference 2016-02-13 01:03:48 +09:00
Piro / YUKI Hiroshi
4d34bd48f7 Define size of narrow sidebar by pixels always 2016-02-13 01:02:43 +09:00
Piro / YUKI Hiroshi
573f1d179d Move some utilities from TSTBase to TSTUtils 2016-02-13 01:01:44 +09:00
Piro / YUKI Hiroshi
fc38c81839 Collapse/expand the tab bar by middle click on the splitter #242 2016-02-12 23:06:49 +09:00
Piro / YUKI Hiroshi
0ab8961894 Bump copyright year to 2016 2016-02-12 22:39:49 +09:00
YUKI Hiroshi
09bb874f34 Highlight tabs more slowly 2016-02-12 20:22:12 +09:00
YUKI Hiroshi
c35a01035d Show animation for highlighted tab more slowly 2016-02-12 20:19:25 +09:00
YUKI Hiroshi
9eb445ce99 Highlight modified tab 2016-02-12 20:15:29 +09:00
YUKI Hiroshi
f21efeac3d Add a TODO comment 2016-02-12 19:58:45 +09:00
YUKI Hiroshi
2f557c218b Specify modified tab for feedback 2016-02-12 19:57:52 +09:00
YUKI Hiroshi
775c0f7a9c Show the tab bar when a tab's title is changed 2016-02-12 19:57:35 +09:00
YUKI Hiroshi
32cd96d1f2 Allow to customize observing attributes 2016-02-12 19:56:57 +09:00
YUKI Hiroshi
3de447706c Move the tab correctly 2016-02-12 19:32:59 +09:00
YUKI Hiroshi
e2aff9e21f Keep tree's position when a root tab is closed 2016-02-12 19:30:50 +09:00
YUKI Hiroshi
7050d5994c Revert "Don't replace parent tab with group tab if it ls already replaced"
This reverts commit c3efa9bd13.
2016-02-12 19:29:15 +09:00
YUKI Hiroshi
c3efa9bd13 Don't replace parent tab with group tab if it ls already replaced 2016-02-12 19:27:51 +09:00
YUKI Hiroshi
7480757a0f Disable animation for temporary modification of tree 2016-02-12 19:26:26 +09:00
YUKI Hiroshi
b4f153d083 Add ability to replace closed parent tab with new dummy tab #133 2016-02-12 19:23:56 +09:00
YUKI Hiroshi
8898534f10 Fix indent 2016-02-12 16:48:31 +09:00
YUKI Hiroshi
25e7783899 Don't update order of tab contents infinitely 2016-02-12 16:48:08 +09:00
YUKI Hiroshi
75050af492 Put closebox in each tab rightside 2016-02-12 16:15:37 +09:00
YUKI Hiroshi
12757cf2c3 Update the order of tab contents, when they are dynamically changed. 2016-02-12 16:10:56 +09:00
YUKI Hiroshi
a1c378f7b4 Ignore overwriting attribute value with same value 2016-02-10 19:33:40 +09:00
YUKI Hiroshi
f6cd1c2602 Output more debug logs 2016-02-10 19:31:01 +09:00
YUKI Hiroshi
1267db34b7 Fix typo 2016-02-10 19:14:51 +09:00
YUKI Hiroshi
7a579a7c2a Fix mismatched variable name 2016-02-10 19:13:15 +09:00
YUKI Hiroshi
80b77a1001 Fix typo 2016-02-10 19:12:03 +09:00
YUKI Hiroshi
e531d8cd93 Output debug log to the browser console also 2016-02-10 19:10:46 +09:00
YUKI Hiroshi
120dc6b522 Get parent tab correctly 2016-02-10 17:45:49 +09:00
YUKI Hiroshi
49a025a1da Move utility to find tab browser from tab related element from TSTBase to TSTUtils 2016-02-10 17:44:10 +09:00
YUKI Hiroshi
fe7cf571f5 Move XPath related utilities from TSTBase to TSTUtils 2016-02-10 17:42:37 +09:00
YUKI Hiroshi
bad68d5a9b Fix indent 2016-02-10 15:08:57 +09:00
YUKI Hiroshi
bb4a172308 Don't cancel new child tab action by default orphan tab action 2016-02-10 15:08:32 +09:00
Piro / YUKI Hiroshi
94e1b0d89d Open new tabs from histories as orphan tabs 2016-01-28 21:41:09 +09:00
YUKI Hiroshi
cf6e1c4f1c Don't touch to tab's session history to determine the tab is a group tab or not.
For remote tabs, browser.sessionHistory raises exception. See #1028
2016-01-26 14:51:51 +09:00
YUKI Hiroshi
7fdc114ed6 Output more debug log 2016-01-25 17:28:59 +09:00
YUKI Hiroshi
84c0822592 Disallow to move a new tab by loadOneTab itself 2016-01-25 17:28:22 +09:00
YUKI Hiroshi
355b3f181b Simplify 2016-01-25 17:28:06 +09:00
YUKI Hiroshi
0dab3f30ec Store "internally moving" for individual tab for tab events about individual tab 2016-01-25 17:00:03 +09:00
Piro / YUKI Hiroshi
d5b05b6017 Reduce eval hack 2016-01-22 00:13:56 +09:00
Piro / YUKI Hiroshi
190d8cd71c Add new utility TST.doAndGetNewTabs(aFunction) to get newly opened by the function 2016-01-22 00:13:37 +09:00
YUKI Hiroshi
fdc472441b Move codes to override behaviors around bookmarks to a JS code module.
Moreover, it reduces use of eval.
2016-01-21 18:23:11 +09:00
YUKI Hiroshi
e41d737fe2 Output more debug log 2016-01-20 20:39:46 +09:00
YUKI Hiroshi
f26193f55f Open new tabs from window.open() in non-tab frames as independent tab 2016-01-20 19:41:07 +09:00
YUKI Hiroshi
7973071bd1 Open orphan tab from links if it is not related to the current tab 2016-01-20 11:58:25 +09:00
YUKI Hiroshi
9ef9f0ec62 Open as orphan by default 2016-01-20 11:38:01 +09:00
YUKI Hiroshi
475798dcb6 Output more debug messages 2016-01-20 11:37:14 +09:00
YUKI Hiroshi
49f17f596d Fix typo 2016-01-20 11:15:22 +09:00
YUKI Hiroshi
1b8f61f778 Place newly opened tab to the correct position 2016-01-19 20:27:43 +09:00
YUKI Hiroshi
97e1ae2eb9 Restore backuped preference correctly 2016-01-19 18:55:31 +09:00
YUKI Hiroshi
6dd37567c1 Open as orphan by default 2016-01-19 18:51:33 +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
ef5d21b413 Give up to disable browser.tabs.insertRelatedAfterCurrent 2016-01-19 17:47:18 +09:00
YUKI Hiroshi
6ba7134d08 Don't hide/shrink the tab bar when the visibility of menu items is changed.
It unexpectedly reacted changes of the visibility of the menu item #menu_readerModeItem and others.
2016-01-18 19:01:07 +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
9507102bfa Fix mismatched variable name 2016-01-15 15:52:52 +09:00
YUKI Hiroshi
9302255cf9 Handle keyboard events even if tab previews is activated 2016-01-15 15:21:57 +09:00
YUKI Hiroshi
a44d25c47b Simulate key release event only when the window is actually lost its focus 2016-01-15 15:18:46 +09:00
YUKI Hiroshi
1a16b8f657 Fix path to DOMDocument 2016-01-15 12:35:23 +09:00
Piro / YUKI Hiroshi
bd1e134c29 handle onsizemodechange events correctly 2016-01-15 00:12:44 +09:00
YUKI Hiroshi
ff08f39190 Detect vertical tab bar correctly 2016-01-05 17:05:47 +09:00
YUKI Hiroshi
279abc811c Ignroe show/hide change of scroll indicator in the vertical tab bar 2016-01-05 17:01:11 +09:00
YUKI Hiroshi
04427948de Output more debug logs 2016-01-05 16:47:37 +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