Commit Graph

578 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
31a743ef25 Don't register the event handler twice 2012-08-25 00:22:29 +09:00
YUKI Hiroshi
d8c1a702f7 Don't update indent of tabs if the mouse pointer is still on the tab 2012-08-24 21:30:24 +09:00
YUKI Hiroshi
2639d2050a Update indent of tabs when a tab is moved to another group or the tab group is switched 2012-08-24 20:52:26 +09:00
YUKI Hiroshi
b6b766e9e9 Update indent size automatically when "too deeply nested" tabs are collapsed/expanded. This behavior can be disabled by the secret preference "extensions.treestyletab.indent.autoShrink.onlyForVisible". 2012-08-24 20:51:37 +09:00
saneyuki_s
54a5d46758 Use Service.jsm in modules/ (exclude modules/lib/). 2012-08-13 14:58:40 +09:00
Piro / SHIMODA Hiroshi
ee82f580e2 Don't stop animation effects for newly opened tabs accidentally. (#332) 2012-08-10 03:49:07 +09:00
Piro / SHIMODA Hiroshi
df23d21ce0 Output warning for recursive or broken tree from getDescendantTabs() 2012-08-09 05:02:24 +09:00
SHIMODA Hiroshi
e5ffbf3bea Collapse a tree correctly even if a grandchild is focused (#330, regression) 2012-08-08 21:25:22 +09:00
YUKI "Piro" Hiroshi
8184411e0e Fix "tabs don't appear" problem. (Animation effects were unexpectedly stopped by some errors.) 2012-08-08 15:35:59 +09:00
Piro / SHIMODA Hiroshi
ceb4e7da77 Don't stop delayed smooth scroll by itself 2012-08-06 04:28:04 +09:00
Piro / SHIMODA Hiroshi
be216aec1f Update library 2012-08-06 04:27:15 +09:00
Piro / SHIMODA Hiroshi
d2a6034f8a "Fast restore" didn't work if TST is initialized after blank tabs are opened for restoring tabs 2012-08-05 22:38:06 +09:00
Piro / SHIMODA Hiroshi
b33d012b44 Fix broken tree after session restoration 2012-08-05 07:08:04 +09:00
Piro / SHIMODA Hiroshi
cf64de0000 Return first, last and other tabs without specifying child element 2012-08-05 07:06:32 +09:00
Piro / SHIMODA Hiroshi
d05be51412 Delete unused reference 2012-08-05 06:11:23 +09:00
Piro / SHIMODA Hiroshi
b82b985e19 Don't use xpath-less getTabById until the TreeStyleTabBrowser object is initialized 2012-08-05 06:03:34 +09:00
Piro / SHIMODA Hiroshi
26d060919e Fix missing "this" problem 2012-08-05 05:58:35 +09:00
Piro / SHIMODA Hiroshi
3657a95c2e Fix conflict with Informational Tab 2012-08-05 05:49:17 +09:00
Piro / SHIMODA Hiroshi
d100d26da3 Suppress infinity loop from cyclic reference of tabs #309 2012-08-05 05:31:38 +09:00
Piro / SHIMODA Hiroshi
7016e1eca1 Automatically fix broken reference for already closed tabs by getParentTab() 2012-08-05 05:04:26 +09:00
Piro / SHIMODA Hiroshi
7063c166d1 Suppress errors from operations for already closed windows or tabs 2012-08-05 02:53:57 +09:00
Piro / SHIMODA Hiroshi
ce6b3b95db Tree can be broken when the last child tab is moved to the upper level by drag and drop #297 2012-08-04 02:35:44 +09:00
Piro / SHIMODA Hiroshi
42d84c9633 Expand collapsed children of newly pinned tab automatically (children are unexpectedly vanished when a parent tab with collapsed children is pinned) 2012-08-03 03:29:23 +09:00
Piro / SHIMODA Hiroshi
21beb2e35b Fix mispositioned pinned tabs on the startup 2012-08-03 03:26:23 +09:00
Piro / SHIMODA Hiroshi
4e9e6100f2 Move the dragged pinned tab to the dropped position correctly when the drop target is also pinned. 2012-08-03 02:41:47 +09:00
SHIMODA Hiroshi
8b5a200583 Update tab bar appearance correctly when contents of the browser bottom box is shown or hidden #312 2012-07-29 14:47:11 +09:00
SHIMODA Hiroshi
3fe6641839 Open new tabs at the dropped position for drag and drop of bookmark folders #316 2012-07-29 11:11:41 +09:00
SHIMODA Hiroshi
b64dbbda9f Open bookmark group as a tree if a bookmark folder is dropped to the tab bar (but not moved to the dropped position yet) #316 2012-07-29 04:08:57 +09:00
SHIMODA Hiroshi
4b34d12c74 Add codes to retrieve URLs from dropped bookmark folder on Firefox 13 and later (related to #316 ) 2012-07-29 02:32:57 +09:00
SHIMODA Hiroshi
41a42fc106 Don't forget collapsed state of trees while toolbar customizing 2012-07-29 00:13:56 +09:00
Piro / SHIMODA Hiroshi
8e28fb2444 The preference "extensions.treestyletab.autoExpand.intelligently" should work correctly (regression) #303 2012-05-30 21:43:36 +09:00
SHIMODA Hiroshi
247ec2a3b7 Fix NS_ERROR_XPC_BAD_OP_ON_WN_PROTO error while auto-shrink is enabled ( #241 ) 2012-05-02 19:29:29 +09:00
Piro / SHIMODA Hiroshi
3b9c542e5a Open new tabs from GM_openInTab() with Scriptish 0.1.7 (https://addons.mozilla.org/firefox/addon/scriptish/) #276 2012-05-02 04:56:45 +09:00
Piro / SHIMODA Hiroshi
5550e49ecb Layout pinned tabs correctly even if the tab bar is narrower than the size of a pinned tab (#269) 2012-05-02 03:38:39 +09:00
Piro / SHIMODA Hiroshi
5bec33ba6f Move the dragged tab to the correct position even if the drop target tab has no child. 2012-05-02 03:27:30 +09:00
Piro / SHIMODA Hiroshi
5e5db54748 Disable the "tabs on top" menu item correctly on Firefox 12 and later 2012-04-28 05:31:12 +09:00
SHIMODA Hiroshi
c35e56f87b Enlarge max width of the status panel (update for changes introduced on https://bugzilla.mozilla.org/show_bug.cgi?id=632634) 2012-04-17 15:05:10 +09:00
SHIMODA Hiroshi
3792c8a239 Don't show full tooltip if TST's tooltip is disabled by user preference (#268) 2012-04-09 21:28:48 +09:00
SHIMODA Hiroshi
7c6b3475ba Store the original state of the "Tabs on Top" for user's expectation correctly 2012-04-09 20:18:52 +09:00
SHIMODA Hiroshi
b1b029686d Don't reset "Tabs on Top" state on the startup (It was wrongly enabled on every startup) 2012-04-09 17:59:06 +09:00
Piro / SHIMODA Hiroshi
528545ff25 Don't override the result of middle-click on the new tab button, by the result for the new tab command fired by the click event itself. (Specified behavior for middle-click on the new tab button was unexpectedly ignored. #247) 2012-02-29 02:28:05 +09:00
Piro / SHIMODA Hiroshi
c3d5c3f296 Move tab to the upper level if it is dropped on the bottom area of its parent tab (fix for #249) 2012-02-29 01:50:24 +09:00
Piro / SHIMODA Hiroshi
9b819f7e28 Simplify updateTabbarState() 2012-02-29 00:40:31 +09:00
Piro / SHIMODA Hiroshi
8d07bf0452 Prevent to collapse tabs if they shouldn't be collapsed 2012-02-29 00:36:50 +09:00
SHIMODA Hiroshi
018cee82b7 Expand all tree internally, after the status is changed from "cannot collapse" to "can collapse" 2012-02-28 21:51:19 +09:00
SHIMODA Hiroshi
29d033d476 Expand collapsed tree when they become to "cannot be collapsed" 2012-02-28 21:42:37 +09:00
SHIMODA Hiroshi
aea0595898 Support border-radius and other CSS3 properties (without -moz-prefix) 2012-02-28 15:11:24 +09:00
SHIMODA Hiroshi
74be5512ac Clear "twisty-hover" state correctly even if the pointer goes away from the tab bar 2012-02-28 12:56:28 +09:00
Piro / SHIMODA Hiroshi
94ec1878f5 pref version 1 should be handled 2012-02-11 03:09:24 +09:00
Piro / SHIMODA Hiroshi
8b7a7f22c4 pref migration on the initial startup didn't work 2012-02-11 02:20:24 +09:00
SHIMODA Hiroshi
4fd96587f5 Merge branch 'master' of github.com:piroor/treestyletab 2012-02-10 15:32:02 +09:00
Piro / SHIMODA Hiroshi
1471fbd8da a link dropped onto the last parent tab was wrongly opened as the first child tab even if it should be opened as the last child. 2012-02-10 04:47:59 +09:00
Piro / SHIMODA Hiroshi
9e8993cfdd pref migration should be done by globally at first. 2012-02-10 04:01:13 +09:00
Piro / SHIMODA Hiroshi
bae7c30238 even if "auto collapse/expand of focused tree" is disabled, long time pressing of Ctrl key should expand the tree. 2012-02-10 03:59:13 +09:00
Piro / SHIMODA Hiroshi
b42df2780f User preference of "When a tab gets focus, expand its tree and collapse others automatically" was wrongly ignored if focusMode = 0 ( https://github.com/piroor/treestyletab/issues/232 ) 2012-02-10 02:59:50 +09:00
Piro / SHIMODA Hiroshi
db70b7f469 for horizontal tab bar, failed to reset z index 2012-02-09 02:52:10 +09:00
Piro / SHIMODA Hiroshi
330fcd301a update library 2012-02-09 02:22:25 +09:00
SHIMODA Hiroshi
ff6bfb3473 Merge branch 'master' of github.com:piroor/treestyletab 2012-02-08 10:22:58 +09:00
Piro / SHIMODA Hiroshi
a00e0bcb0d update library 2012-02-08 03:23:10 +09:00
SHIMODA Hiroshi
f0333d5a32 hide temporary states if Tab Mix Plus or Informational Tab are available 2012-02-07 11:46:14 +09:00
Piro / SHIMODA Hiroshi
89cecd0fe2 fix missing "this" 2012-02-07 02:15:15 +09:00
Piro / SHIMODA Hiroshi
c844906cb1 handle errors in deferred tasks 2012-02-07 02:13:46 +09:00
Piro / SHIMODA Hiroshi
d6f0e5e6b3 on Nightly 13.0a1, drag and drop of the last tree from another window broke tab animations (tab animations shouldn't be processed while the window is destroying) 2012-02-05 08:24:26 +09:00
Piro / SHIMODA Hiroshi
5cbbd36fea dragging out of tree wrongly duplicated the dragged tree. now they should be duplicated if Ctrl or Command key is pressed. (but it doesn't work currently, because modifier keys are ignored on dragend event.) 2012-02-05 07:50:26 +09:00
Piro / SHIMODA Hiroshi
16f6cd7dd9 optimize: reduce use of Iterator 2012-02-05 06:31:03 +09:00
Piro / SHIMODA Hiroshi
f9daab2ae0 with Tab Mix Plus, appearance of tabs is broken on the startup 2012-02-05 04:15:21 +09:00
Piro / SHIMODA Hiroshi
d02eb93c8a use Iterator instead of forEach (for performance optimization) 2012-02-05 04:03:28 +09:00
Piro / SHIMODA Hiroshi
59444c68a6 use Iterator instead of forEach (for performance optimization) 2012-02-05 03:15:38 +09:00
Piro / SHIMODA Hiroshi
35d1bfce99 don't touch vertical containers 2012-02-05 01:02:02 +09:00
Piro / SHIMODA Hiroshi
6ab0543a32 support tab contents modified by Tab Mix Plus 2012-02-04 20:28:30 +09:00
Piro / SHIMODA Hiroshi
3aaf8bc8d7 fix drop marker in sidebar style 2012-02-04 04:36:26 +09:00
Piro / SHIMODA Hiroshi
f744f51802 * remove custom drop marker in tabs
* initTabContents always update the order of tab contents
2012-02-04 02:33:49 +09:00
SHIMODA Hiroshi
968155edb7 the sensitive area was wrongly expanded to the width of the shown tab bar 2012-02-03 19:11:56 +09:00
SHIMODA Hiroshi
dd275b4e24 Merge branch 'master' of github.com:piroor/treestyletab 2012-02-03 12:22:04 +09:00
Piro / SHIMODA Hiroshi
5ef4c9f795 don't reset position of thumbnail container inserted by informational tab 2012-02-03 05:59:32 +09:00
Piro / SHIMODA Hiroshi
6c43a67836 don't apply custom binding to tabs anymore 2012-02-03 05:27:57 +09:00
SHIMODA Hiroshi
2f1f69a16f autoscroll didn't work when the first tab was hidden. 2012-01-31 15:06:32 +09:00
Piro / SHIMODA Hiroshi
bf9f48dfdb In some cases, "Tabs on Top" was wrongly enabled when a popup window is opened. 2012-01-31 03:38:41 +09:00
Piro / SHIMODA Hiroshi
80679b2893 failed to update the size of the floating tab bar in some cases (ex. Firebug's panel) 2012-01-31 03:15:00 +09:00
Piro / SHIMODA Hiroshi
00d6ef7609 support about:newtab (update for changes introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=455553 ) 2012-01-30 23:42:40 +09:00
Piro / SHIMODA Hiroshi
ed46793caa When new tab is opened in the background, it should be notified by an animation effect. 2012-01-29 19:54:02 +09:00
Piro / SHIMODA Hiroshi
10f25fe0ef when a tree is expanded, the parent tab could be scrolled out unexpectedly. 2012-01-29 06:43:43 +09:00
Piro / SHIMODA Hiroshi
7511b03b8e failed to scroll to the expanded tree when a collapsed tree was selected 2012-01-29 06:22:04 +09:00
Piro / SHIMODA Hiroshi
95b6e0a5b9 update comment 2012-01-28 04:49:12 +09:00
Piro / SHIMODA Hiroshi
ddf539ae5f add comment 2012-01-28 04:48:21 +09:00
Piro / SHIMODA Hiroshi
43b22f1e22 When the system is too slow on TabOpen event (by Informational Tab or some addons), the tab bar failed to be scrolled to the newly opened tab. 2012-01-28 04:33:02 +09:00
Piro / SHIMODA Hiroshi
9608f76989 TreeStyleTabService.restoringTree was wrongly true if there is any to-be-restored tabs in background groups. 2012-01-28 03:57:48 +09:00
SHIMODA Hiroshi
8e1188d9be fix wrong method name 2012-01-24 10:15:25 +09:00
Piro / SHIMODA Hiroshi
f077af1317 ignore events after destruction 2012-01-24 04:07:56 +09:00
Piro / SHIMODA Hiroshi
6bab97a38f * we couldn't resize shrunken tab bar by mouse drag
* now we can prevent auto-show/hide of the tab bar by pressing shift key
2012-01-24 03:35:48 +09:00
Piro / SHIMODA Hiroshi
7a83c1ef67 don't hide doorhangar even if the tab is restored after the doorhangar is shown 2012-01-21 00:35:53 +09:00
Piro / SHIMODA Hiroshi
1166dc4849 image size was not applied correctly 2012-01-21 00:33:19 +09:00
Piro / SHIMODA Hiroshi
b2c3e44ce6 update library 2012-01-21 00:13:27 +09:00
Piro / SHIMODA Hiroshi
2fa9659480 update library 2012-01-21 00:10:57 +09:00
Piro / SHIMODA Hiroshi
0f894471a2 update library 2012-01-20 23:58:22 +09:00
Piro / SHIMODA Hiroshi
ed2b234977 update library 2012-01-19 03:23:06 +09:00
Piro / SHIMODA Hiroshi
f0b6f6e040 update library 2012-01-19 02:56:55 +09:00
SHIMODA Hiroshi
32c45ab150 use doorhangar instead of notification bar 2012-01-18 13:56:50 +09:00
SHIMODA Hiroshi
ca830a8f53 revert changes on 4636f201bc (in the horizontal tab bar, tabs should be stacked always) 2012-01-18 11:58:12 +09:00
Piro / SHIMODA Hiroshi
c604a72eec Firefox can remove "overflow" property wrongly, by horizontal overflow/underflow on a vertical tab bar. 2012-01-15 03:42:51 +09:00