Commit Graph

1269 Commits

Author SHA1 Message Date
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
saneyuki_s
e32cb52068 Merge branch 'uninstall' into pref2
Conflicts:
	modules/window.js
2013-01-03 10:01:03 +09:00
saneyuki_s
ab170f086c Fix to fail loading module. 2013-01-03 09:59:43 +09:00
saneyuki_s
9cc3f04f14 Load UninstallationListener.js as JS code modules. 2013-01-03 09:56:57 +09:00
saneyuki_s
d2ee91b604 Use Function.bind() instead of 'self'. 2013-01-03 09:07:55 +09:00
saneyuki_s
cec873a303 Define 'prefs' as lazy getter in modules/window.js 2013-01-03 09:06:21 +09:00
saneyuki_s
af929f6858 Change TreeStyleTabUtils.prefs to simple getter. 2013-01-02 05:57:37 +09:00
saneyuki_s
5042651b81 Restore the backuped user pref when this addon is disabled or removed. 2013-01-02 04:46:26 +09:00
saneyuki_s
92d98ba51b Fix typo. 2013-01-02 04:46:26 +09:00
YUKI Hiroshi
4797ddfb6b Don't raise error while dragging of non-tab objects over the tab bar 2012-12-21 13:56:46 +09:00
Piro / YUKI Hiroshi
175286eba2 Update codes for MutationObserver.
XPIDL style callback is no longer supported, so we have to use callback function based on Web IDL.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=790978 and https://developer.mozilla.org/en-US/docs/DOM/MutationObserver)
2012-12-20 04:03:05 +09:00
YUKI Hiroshi
5718fef495 Collapse/hide the tab bar automatically even if the webpage includes any plugin area
Logic A) Tab bar autohide is intentionally blocked by opened popup because the tab bar should not be hidden while you open a context menu on the tab bar.
Logic B) On the other hand, TST shows hidden popup on the content area if the webpage includes any plugin area, because Firefox cannot receive mousemove events on plugin areas.
As the result, the hidden popup unexpectedly blocked to hide the tab bar... The popup for the logic B must be ignored by the logic A.
2012-12-05 11:35:37 +09:00
YUKI Hiroshi
f97f25c9e6 Fallback to another method to find tabs by coordinates correctly 2012-12-04 12:32:40 +09:00
Piro / YUKI Hiroshi
196bb1e93c Calculate drop position correctly (fix https://github.com/piroor/treestyletab/issues/399#issuecomment-10961365) 2012-12-04 02:04:06 +09:00
Piro / YUKI Hiroshi
5e09e88bb2 Operate drag and drop of pinned tabs more correctly 2012-12-04 01:40:31 +09:00
Piro / YUKI Hiroshi
8e37edc535 find tab from screen coordinates more quickly 2012-12-04 01:16:20 +09:00
Piro / YUKI Hiroshi
8511c0e9ce Operate dragging of pinned tabs (not faviconized) correctly 2012-12-04 00:28:23 +09:00
YUKI Hiroshi
1d2566765d Define minimum width/height of the tab bar and restore it on the startup (so, if you accidentaly get too narrow tab bar, it will be fixed in the next startup: workaround for #380) 2012-12-03 21:41:12 +09:00
YUKI Hiroshi
b38c6f8066 Optimize to collect "not dragged" tabs 2012-11-30 03:21:56 +09:00
YUKI Hiroshi
da462ef098 Fix behaviors around dragging of multiple tabs 2012-11-30 03:03:59 +09:00
YUKI Hiroshi
fa893b9801 Change the algorythm to find tab from coordinate based on _animateTabMove 2012-11-30 00:58:47 +09:00
YUKI Hiroshi
18d4fec990 Fix wrong dragging animations of pinned tabs in the vertical tab bar 2012-11-28 18:49:03 +09:00
Piro / YUKI Hiroshi
5f59ddb19d Unify extensions.treestyletab.animation.enabled to browser.tabs.animate 2012-11-28 03:34:57 +09:00
Piro / YUKI Hiroshi
5b07dc8a65 Open new tabs from Linky as child tabs of the current tab even if they are opened vi a dialog (fix #411) 2012-11-26 02:18:23 +09:00
YUKI Hiroshi
8a490b0f12 Update credits 2012-11-21 11:06:11 +09:00
Piro / YUKI Hiroshi
a1001d510f Fix typo 2012-11-19 23:27:43 +09:00
YUKI Hiroshi
04eff24408 Don't listen "mouseleave" event (because it increases CPU usage even if we ended to listen the event by removeEventListener) 2012-11-19 16:20:10 +09:00
YUKI Hiroshi
f2fb69e663 Hide tab bar for only one tab window correctly (fix #406) 2012-11-15 16:03:24 +09:00
YUKI Hiroshi
c326bdda44 Don't update indent of tabs for collapsed tab bar (fix #404) 2012-11-14 13:14:15 +09:00
Piro / YUKI Hiroshi
9a27aba8d8 Don't run animation without window (to fix a regression: all animation effect was unexpectedly stopped after the configuration dialog is opened) 2012-11-12 03:28:40 +09:00
Piro / YUKI Hiroshi
450fa34790 Simplify codes to load modules lazily 2012-11-11 22:48:42 +09:00
Piro / YUKI Hiroshi
c4342a5d43 Simplify implementation of the animation manager (to fix unexpected-stop problems) 2012-11-11 22:30:45 +09:00
Piro / YUKI Hiroshi
0c86b970ac Drop support for Firefox 3.6 and olders.
And, make the implementation (possibly) robust for multiple windows to fix #385, #387, #390.
2012-11-09 01:33:42 +09:00
Piro / YUKI Hiroshi
3577111d0b Don't hide closeboxes of other tabs when toolbars are shown/hidden (Update floating tab bar before calling of adjustTabstrip(), because floating tab bar is unexpectedly resized to smallest size on the time) 2012-11-08 20:07:03 +09:00
Piro / YUKI Hiroshi
af4fb9e426 Update reference for getTreePref 2012-10-31 23:03:50 +09:00
Piro / YUKI Hiroshi
66e2e268f5 .utils => .base 2012-10-30 03:11:39 +09:00
YUKI Hiroshi
c0e9280444 Shorten "TSTUtils" to "utils" (because they are already in the context) 2012-10-24 01:43:56 +09:00
YUKI Hiroshi
22f8f1f6d2 Remove trailing "," in object literals 2012-10-24 01:39:30 +09:00
saneyuki_s
3e658380c9 Move some pref methods from TSTBase to TSTUtils. 2012-10-19 23:20:08 +09:00
Piro / YUKI Hiroshi
147d38aef3 Accept drop of non-tab objects onto the tab bar correctly on Firefox 16 and olders 2012-10-14 03:54:46 +09:00
Piro / YUKI Hiroshi
5bd57741df Accept drop of non-tab objects onto the tab bar correctly 2012-10-14 03:47:34 +09:00
Piro / YUKI Hiroshi
9182259ab5 Update credit 2012-10-14 03:31:06 +09:00
Piro / YUKI Hiroshi
153f271479 Use Services.jsm 2012-10-13 04:18:59 +09:00
YUKI "Piro" Hiroshi
c5bb7ec8ad Merge pull request #349 from Infocatcher/patch-11
Use checkLoadURIStrWithPrincipal() instead of checkLoadURIStr()
2012-10-12 12:16:41 -07:00
Piro / YUKI Hiroshi
49810b0f31 Restore opacity of dragged tabs correctly (again) 2012-10-13 03:16:08 +09:00
Piro / YUKI Hiroshi
c1770fe9f0 Restore opacity of dragged tabs correctly 2012-10-13 03:05:48 +09:00
Piro / YUKI Hiroshi
5dec3a90ce Make transparent dragged tabs when they are going to be dropped onto a tab 2012-10-13 02:56:02 +09:00
Piro / YUKI Hiroshi
0db8f5f765 Handle hidden/collapsed tabs while tab dragging correctly 2012-10-13 02:43:34 +09:00
Piro / YUKI Hiroshi
d66b7083d2 Add line breaks for dynamic patches 2012-10-13 02:24:02 +09:00
Piro / YUKI Hiroshi
a314e75bdb Update visual effects for tab dragging animation correctly, for trees expanded while dragging 2012-10-13 02:18:16 +09:00
Piro / YUKI Hiroshi
b2a90224d6 Calculate drop position based on visual positions of tabs 2012-10-13 02:09:34 +09:00
Piro / YUKI Hiroshi
cefa9b52fa Calculate actual tab position for Firefox 16 and olders 2012-10-13 00:41:03 +09:00
Piro / YUKI Hiroshi
4d19cd75c6 Process animation effect for dragged tabs correctly 2012-10-13 00:37:03 +09:00
YUKI Hiroshi
83626af553 Reduce use of <![CDATA[ ... ]]> 2012-10-12 16:46:37 +09:00
YUKI Hiroshi
d71a063db5 Update Multiple Tabs Drag and Drop Utilities 2012-10-11 20:03:40 +09:00
saneyuki_s
f4340866c0 Rename the file name to modules/base.js from modules/utils.js . 2012-09-27 15:46:51 +09:00
saneyuki_s
f27cfc745a Rename to 'TreeStyleTabBase' from 'TreeStyleTabUtils'. 2012-09-27 15:40:14 +09:00
YUKI "Piro" Hiroshi
efa6a309f3 Merge pull request #367 from saneyuki/props
Remove some properties which returns Services.foo from TreeStyleTabUtils
2012-09-24 01:10:41 -07:00
Piro / YUKI Hiroshi
f9f346f522 Merge branch 'master' of github.com:piroor/treestyletab 2012-09-23 23:44:56 +09:00
Piro / YUKI Hiroshi
cfc8da1577 Failed to collect root tabs (regression, fix #375) 2012-09-23 23:44:06 +09:00
saneyuki_s
f05c10f5ef Fix the order of parameters. 2012-09-23 21:04:20 +09:00
saneyuki_s
a18738be8f Remove TreeStyleTabUtils.PromptService. 2012-09-23 18:39:34 +09:00
saneyuki_s
4a023989b9 Remove TreeStyleTabUtils.WindowMediator. 2012-09-23 18:39:34 +09:00
saneyuki_s
7aa69f4882 Remove TreeStyleTabUtils.Comparator. 2012-09-23 18:39:34 +09:00
Piro / YUKI Hiroshi
bf068dfdab Fix broken tree which can appear after a tab is duplicated as a child of the original tab 2012-09-23 17:59:19 +09:00
Piro / YUKI Hiroshi
7ffe6709d2 Add failsafe for unexpectedly stored tab attribute "tabbrowser-id" 2012-09-23 17:19:09 +09:00
Piro / YUKI Hiroshi
6f157657bc Fix syntax error 2012-09-23 16:13:35 +09:00
Piro / YUKI Hiroshi
e5d4e509e3 Fix syntax error 2012-09-23 16:13:01 +09:00
Piro / YUKI Hiroshi
3b692b4de4 Reduce usecases of evaluateXPath() 2012-09-23 16:11:03 +09:00
Piro / YUKI Hiroshi
d2e9f51f8f Fix broken XPath expression 2012-09-23 16:08:08 +09:00
Piro / YUKI Hiroshi
62e9132d5e Reduce usecases of evaluateXPath() 2012-09-23 15:51:11 +09:00
Piro / YUKI Hiroshi
a6792a2b4b Reduce usecases of evaluateXPath() 2012-09-23 15:43:49 +09:00
Piro / YUKI Hiroshi
c9a3d28c72 Open duplicated tabs from back/forward buttons as children of the current tab 2012-09-23 14:57:29 +09:00
saneyuki_s
f2a50a4615 Remove TreeStyleTabUtils.XULAppInfo. 2012-09-18 02:15:08 +09:00
saneyuki_s
7db770368d Remove currently needless code. 2012-09-18 02:08:36 +09:00
saneyuki_s
ee71d841c4 Call Services.io directly in modules/tabbarDNDObserver.js. 2012-09-18 01:18:05 +09:00
saneyuki_s
2cff8ebc48 Remove TreeStyleTabUtils.IOService. 2012-09-18 01:18:05 +09:00
YUKI "Piro" Hiroshi
37a21325a9 Merge pull request #362 from saneyuki/obs
Remove TreeStyleTabUtils.ObserverService.
2012-09-17 09:02:56 -07:00
saneyuki_s
3941b88b1f Remove TreeStyleTabUtils.ObserverService. 2012-09-18 00:31:48 +09:00
saneyuki_s
6a5d12915e Use XPCOMUtils.defineLazyModuleGetter() to import |TreeStyleTabUtils| in modules/pseudoTreeBuilder.js. 2012-09-17 23:47:46 +09:00
saneyuki_s
a856ba112f Remove setting PseudoTreeBuilder.__proto__. Call TreeStyleTabUtils' methods directly. 2012-09-17 23:41:05 +09:00
Piro / YUKI Hiroshi
03723bd457 Fix typo (fix #359) 2012-09-15 21:53:22 +09:00
Piro / YUKI Hiroshi
18639ccbea Don't override BrowserReloadOrDuplicate, BrowserForward, BrowserBack, and gotoHistoryIndex anymore 2012-09-15 12:32:58 +09:00
Piro / YUKI Hiroshi
d7121d9042 Simplify codes dynamically inserted by eval() 2012-09-15 12:09:15 +09:00
YUKI Hiroshi
d1977a1695 Merge branch 'master' of github.com:piroor/treestyletab 2012-09-03 10:25:29 +09:00
YUKI Hiroshi
5825e5e9cc Replace "new Date.getTime()" with "Date.now()" 2012-09-03 10:25:08 +09:00
Infocatcher
790d3dfee0 Ignore wrong URIs in securityCheck()
Example: view-source:chrome://browser/content/tabbrowser.xml
2012-09-01 17:16:19 +04:00
Infocatcher
bc6912fe03 Inherit built-in dragDropSecurityCheck() behavior
See chrome://global/content/nsDragAndDrop.js
2012-09-01 17:01:38 +04:00
Piro / YUKI Hiroshi
1aa4f0e97a Rename preferences for vertical tab bar with the suffix ".vertical" 2012-08-31 03:48:00 +09:00
Infocatcher
9fc8f4a882 Add separate indent preferences for horizontal tabs
Note: I think, we should cache "this.isVertical"... Only TST itself can change tab bar position, so this looks simple to implement.
2012-08-30 21:51:21 +04:00
Infocatcher
5f29a2dc5f Add separate indent preferences for horizontal tabs
Note: original code doesn't handle "extensions.treestyletab.indent.min" change.
2012-08-30 21:46:50 +04:00
Piro / YUKI Hiroshi
baaede95a8 Fix wrong live preview of moving tabs after auto-expansion while dragging 2012-08-30 09:43:23 +09:00
Piro / YUKI Hiroshi
6393abb4c9 Show the dragged tab transparently if the tab is going to be dropped onto another tab 2012-08-30 06:25:59 +09:00
Piro / YUKI Hiroshi
11f725eb0b Handle automatically expanded trees correctly 2012-08-30 06:10:47 +09:00
Piro / YUKI Hiroshi
714d4a3771 Automatic expansion of collapsed trees while dragging works correctly 2012-08-30 06:04:01 +09:00
Piro / YUKI Hiroshi
4a8dd74cfb Don't set drop position marker for the dragged tab itself 2012-08-30 06:02:37 +09:00
Piro / YUKI Hiroshi
267ab40a9b Clear dragging status correctly for cross-window tab drag and drop 2012-08-30 05:48:28 +09:00
Piro / YUKI Hiroshi
929dbce943 Support live preview of tab dragging, for dragging on a tab to attach 2012-08-30 05:41:25 +09:00
Piro / YUKI Hiroshi
c0ab92a24a Partially support live preview of tab dragging, introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=783282 (Not supported yet: dragging on a tab to attach) 2012-08-30 05:28:03 +09:00
Infocatcher
13eee1e594 Skip missing nsIDragSession.sourceDocument
See https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIDragSession#Attributes
2012-08-29 18:29:04 +04:00
Infocatcher
5e39c1b25b Use checkLoadURIStrWithPrincipal() instead of checkLoadURIStr()
Because checkLoadURIStr() are missing in Nightly
2012-08-29 14:23:05 +04:00
YUKI "Piro" Hiroshi
5a08ebf666 Merge pull request #345 from Infocatcher/patch-8
Optimize setAttribute/removeAttribute usage during DragOver (v.2)
2012-08-29 02:58:04 -07:00
Infocatcher
1c4409d85c Fix missing aEvent in securityCheck() 2012-08-29 13:16:42 +04:00
Infocatcher
ddeddd38ee Reset tab bar height only using left double click 2012-08-28 17:21:46 +04:00
Infocatcher
54b62268a9 Add handling of *.default preferences for tab bar size 2012-08-28 17:16:16 +04:00
Infocatcher
03f41d9db4 Optimize setAttribute/removeAttribute usage during DragOver (v.2)
Should fix #331
2012-08-28 17:11:06 +04:00
Infocatcher
76defb974a Convert from Shift-JIS to UTF-8 2012-08-28 16:53:25 +04:00
Infocatcher
bc6015919a Convert from Shift-JIS to UTF-8 2012-08-28 16:52:13 +04:00
Infocatcher
f6a534e4c5 Convert from Shift-JIS to UTF-8 2012-08-28 16:38:39 +04:00
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
Piro / SHIMODA Hiroshi
17c7280d05 switch the role of the counter in tabs for vertical and horizontal tab bar 2012-01-14 01:45:51 +09:00
Piro / SHIMODA Hiroshi
4d816760b5 reduce obsolete version-specific logic and comments 2012-01-14 01:30:06 +09:00
Piro / SHIMODA Hiroshi
9fc01781a1 remove module for optimization 2012-01-14 01:20:43 +09:00
Piro / SHIMODA Hiroshi
23e3457530 update version specific comments 2012-01-14 01:15:12 +09:00
SHIMODA Hiroshi
7d23e2b9b3 remove obsolete codes 2012-01-13 20:17:16 +09:00
SHIMODA Hiroshi
b44c9b20f9 remove regacy codes 2012-01-13 18:06:40 +09:00
SHIMODA Hiroshi
bcb8615f47 drop Firefox 3.6 support 2012-01-13 17:38:12 +09:00
SHIMODA Hiroshi
4636f201bc in the horizontal tab bar, tabs should be stacked always 2012-01-13 17:12:25 +09:00
SHIMODA Hiroshi
07b0e15aaa suppress unexpected jumping of the tab bar more intelligently 2012-01-13 12:28:13 +09:00
SHIMODA Hiroshi
585ab07c48 suppress unexpected jumping on the tab bar after new child tabs are opened 2012-01-13 12:16:35 +09:00
SHIMODA Hiroshi
d45ec4a947 when the browser is too slow, manual scrollings on the tab bar can be canceled by smooth scroll animations of TST 2012-01-06 19:38:38 +09:00
Piro / SHIMODA Hiroshi
d512dbbfa4 failed to create tree for the tab initially selected in a background group ( some tabs restored in background group cannot be found by getTabById() ) 2012-01-04 00:13:35 +09:00
Piro / SHIMODA Hiroshi
08aa9a3459 failed to restore closed tree 2012-01-03 22:03:51 +09:00
Piro / SHIMODA Hiroshi
1b50b890c4 tab bar should not be hidden by keyboard input if it is expanded by mouse 2012-01-03 06:00:04 +09:00
Piro / SHIMODA Hiroshi
afca500dbe With Tab Mix Plus, failed to restore secondary or later pinned tabs if there is no normal tab 2012-01-03 05:50:38 +09:00
Piro / SHIMODA Hiroshi
7ed52bca37 failed to store edited title of group tab (regression) 2012-01-03 05:16:50 +09:00
Piro / SHIMODA Hiroshi
3cf6b76fee F2 key didn't work on group tab (regression) 2012-01-03 05:13:39 +09:00
Piro / SHIMODA Hiroshi
6c2eacc16a tree of tabs cannot be restored (regression) 2012-01-02 19:52:51 +09:00
Piro / SHIMODA Hiroshi
e8f092b7b1 By ctrl-shift-` and ctrl-shift-~ tab groups (Panorama) were broken unexpectedly. 2012-01-02 05:18:14 +09:00
SHIMODA Hiroshi
60af382b89 manually expanded tree should not collapsed automatically (like Windows Explorer) 2011-12-27 13:21:23 +09:00
SHIMODA Hiroshi
d0664b4552 "fast restore" didn't work for secondary (and later) window 2011-12-19 19:20:14 +09:00
SHIMODA Hiroshi
8e0159712a when the current tab includes <embed>, drag and drop feature ottally broken after you tried to drag the tab bar itself. 2011-12-19 18:58:25 +09:00
SHIMODA Hiroshi
d447107fbe shrink sensitive area based on the size of clickable element 2011-12-19 17:29:37 +09:00
SHIMODA Hiroshi
6a9f32235c we should not expand tab bar automatically if the pointer is over the twisty 2011-12-19 16:49:23 +09:00
SHIMODA Hiroshi
3870310023 generalize 2011-12-19 16:43:18 +09:00
SHIMODA Hiroshi
b5f3f4abd3 don't shrink sensitive area if there is no closebox near the pointer 2011-12-19 16:37:48 +09:00
Piro / SHIMODA Hiroshi
058d27612b event listener for initialization was not unregistered 2011-12-17 00:50:30 +09:00
SHIMODA Hiroshi
668a4f667e we should save data to TMP's session manager always 2011-12-15 14:28:40 +09:00
SHIMODA Hiroshi
7832e7a2e6 fast restore should work with TMP if TMP session managemnt is disabled 2011-12-15 14:12:41 +09:00
SHIMODA Hiroshi
527acb44f8 when a tab was moved into an existing tree, it was not become a new member of the tree. (regression) 2011-12-15 13:32:17 +09:00
Piro / SHIMODA Hiroshi
5f771740db don't do fast restore if TMP's session management is activated 2011-12-14 23:51:56 +09:00
SHIMODA Hiroshi
35e8280451 tree structure of hidden tabs in background groups should not be restored on the startup. 2011-12-14 18:05:32 +09:00
SHIMODA Hiroshi
737320ef7d tab bar was wrongly shrunken for fullscreen window on the starutp 2011-12-14 15:33:25 +09:00
SHIMODA Hiroshi
e6f29af997 isMaximized => maximized 2011-12-14 15:28:47 +09:00
SHIMODA Hiroshi
55854683a0 tab bar was wrongly shrunken on the startup (fix for https://github.com/piroor/treestyletab/issues/177 ) 2011-12-14 15:26:58 +09:00
SHIMODA Hiroshi
4b36391e66 failed to save tab id (regression) 2011-12-14 13:41:26 +09:00
SHIMODA Hiroshi
fdf03c5f35 * fast restore can be disabled
* no need to observe sessionstore topics
2011-12-14 13:30:29 +09:00
Piro / SHIMODA Hiroshi
a3af97ef98 rearrange methods 2011-12-13 23:21:31 +09:00
Piro / SHIMODA Hiroshi
f6fddbdadc output stack trace 2011-12-13 23:00:44 +09:00
Piro / SHIMODA Hiroshi
594abe6e54 simplify 2011-12-13 22:59:45 +09:00
SHIMODA Hiroshi
cf4b3bd1f1 don't restore already restored tabs 2011-12-13 20:41:42 +09:00
SHIMODA Hiroshi
476ffb70d5 refactoring 2011-12-13 20:18:32 +09:00
SHIMODA Hiroshi
e3b7f7adf4 relation of the selected tab was unexpectedly lost 2011-12-13 18:03:16 +09:00
SHIMODA Hiroshi
e21c0f4d01 if we can restore tree more quickly, do it 2011-12-13 16:32:42 +09:00
SHIMODA Hiroshi
4c51a856b1 better handling of duplicated tabs 2011-12-13 16:10:49 +09:00
Piro / SHIMODA Hiroshi
8d981a7d13 always restore all tree 2011-12-13 03:54:43 +09:00
SHIMODA Hiroshi
b8fd343863 unity fastRestoreTreeStructure to onWindowStateRestored 2011-12-12 18:39:46 +09:00
SHIMODA Hiroshi
67ff3b111f items in "all tabs" popup were not indented on Nightly. 2011-12-12 18:27:11 +09:00
SHIMODA Hiroshi
1bc3146759 activate "fast restore" for any window restoration (ex. Private Browsing, Session Manager, etc.) 2011-12-12 16:44:10 +09:00
SHIMODA Hiroshi
fa4d4e1648 now we can apply "fast restore" for tabs in background groups 2011-12-12 15:04:29 +09:00
SHIMODA Hiroshi
726a4ae03f tabs were unexpectedly rearranged after you exited from Panorama. 2011-12-12 14:48:51 +09:00
SHIMODA Hiroshi
5d9c5f3a74 don't collapse a existing tree automatically if it is in a background group 2011-12-12 11:51:48 +09:00
Piro / SHIMODA Hiroshi
55dc28600b move codes for group tabs to a JS code module 2011-12-11 23:09:53 +09:00
Piro / SHIMODA Hiroshi
80b64709c7 "event." is required 2011-12-10 02:36:08 +09:00
Piro / SHIMODA Hiroshi
3e4cbe02c7 now tabs can be closed from full tooltips 2011-12-10 02:35:19 +09:00
Piro / SHIMODA Hiroshi
9259ecad17 middle click on tab link should close the tab 2011-12-10 02:05:08 +09:00
SHIMODA Hiroshi
1e8daf3ded draw links in the "dummy" tab 2011-12-09 20:10:04 +09:00
SHIMODA Hiroshi
39234833fc on Linux + GNOME3, "narrow scroll bar" was not narrow. 2011-12-09 17:55:15 +09:00
SHIMODA Hiroshi
7b41779a0b failed to restore subtree-collapsed state for restored tabs (by undo close tab command) 2011-12-09 11:12:27 +09:00
SHIMODA Hiroshi
491ec519a7 rename methods for handling events 2011-12-09 11:11:53 +09:00
Piro / SHIMODA Hiroshi
90e4852836 confirmation message should be shown immediately, and it should not be closed by page loadings 2011-12-09 02:58:36 +09:00
Piro / SHIMODA Hiroshi
7d891dd32c "undo closed set" feature didn't work (part 2) 2011-12-09 01:40:43 +09:00
Piro / SHIMODA Hiroshi
7035a53d4f "undo closed set" feature didn't work 2011-12-09 01:39:55 +09:00
Piro / SHIMODA Hiroshi
2d54b402c0 call updateInsertionPositionInfo only for "fast restor"ed tabs 2011-12-08 05:17:06 +09:00
Piro / SHIMODA Hiroshi
5193c60a3b "fast restore" should restore collapsed/expand state based on user pref 2011-12-08 05:12:33 +09:00
Piro / SHIMODA Hiroshi
acefddccb7 set position of child tabs 2011-12-08 04:43:51 +09:00
Piro / SHIMODA Hiroshi
7d3f967b1a add codes for failsafe 2011-12-08 04:40:26 +09:00
Piro / SHIMODA Hiroshi
87c0b4ad27 "fast restore" didn't work as I expected for tabs without children. 2011-12-08 01:40:33 +09:00
Piro / SHIMODA Hiroshi
46326d4997 fix typo 2011-12-07 21:33:57 +09:00
SHIMODA Hiroshi
828e6e48f9 simplify implementation of "fast restore" 2011-12-07 15:14:02 +09:00
SHIMODA Hiroshi
9b5c3c594d tree structure was not restored correctly 2011-12-07 12:06:05 +09:00
SHIMODA Hiroshi
ff5a299316 part => detach 2011-12-07 10:20:14 +09:00
SHIMODA Hiroshi
ca0b1fe073 partTab() => detachTab() (API is renamed) 2011-12-07 10:18:05 +09:00
SHIMODA Hiroshi
87352e22e6 add a comment about restoreTreeStructure() on Firefox 3.6 2011-12-06 18:06:59 +09:00
SHIMODA Hiroshi
db286777de tree structure should be restored even if there are any extra tab 2011-12-05 20:19:32 +09:00
SHIMODA Hiroshi
f500a66092 refactoring 2011-12-05 19:51:38 +09:00
SHIMODA Hiroshi
a706c81340 brush up codes 2011-12-05 19:42:08 +09:00
SHIMODA Hiroshi
3de7d79b67 brush up restoreOnStartup 2011-12-05 19:31:12 +09:00
SHIMODA Hiroshi
a64ff91010 getNextSiblingTab() failed for broken "children" list 2011-12-05 17:21:19 +09:00
SHIMODA Hiroshi
af9bc6257b don't show content area screen if it is not required 2011-12-05 17:10:16 +09:00
SHIMODA Hiroshi
8018a3ca8d fix typo 2011-12-05 16:41:13 +09:00
SHIMODA Hiroshi
00be6a4f00 don't show content area screen if the window is not active 2011-12-05 16:27:33 +09:00
SHIMODA Hiroshi
04c9515d24 restore indent levels at first 2011-12-05 12:19:50 +09:00
SHIMODA Hiroshi
8578d23548 improve fast restora of tree structure 2011-12-05 11:54:07 +09:00
SHIMODA Hiroshi
f524c96c79 no need to restore tab attributes (revert the last commit) 2011-12-05 10:26:23 +09:00
Piro / SHIMODA Hiroshi
7be4a42f0e store TST attributes 2011-12-05 09:47:16 +09:00
Piro / SHIMODA Hiroshi
776cfbc5c7 full tooltip was shown on wrong position if the window is not in the primary display (part 2) 2011-12-05 03:48:54 +09:00
Piro / SHIMODA Hiroshi
e27c117343 full tooltip was shown on wrong position if the window is not in the primary display 2011-12-05 03:46:40 +09:00
Piro / SHIMODA Hiroshi
d4ca094600 if the shrunken tab bar was too narrow, we couldn't expand tab bar automatically by mouseover. 2011-12-05 02:44:49 +09:00
Piro / SHIMODA Hiroshi
e1ba70474b "Autohide tab bar" feature should work for PDF documents and other contents drawn by plugins. (To disable this hack, you have to turn "extensions.treestyletab.tabbar.autoHide.contentAreaScreen.enabled" to "false".) 2011-12-05 02:27:30 +09:00
Piro / SHIMODA Hiroshi
1bba301260 emulate behaviors of folder trees, for arrow keys on focused tabs (but not wrapped on Windows and Linux - this is designed behavior of Firefox itself!) 2011-12-03 05:01:38 +09:00
Piro / SHIMODA Hiroshi
44af0c7f83 set minimum size too 2011-12-01 03:02:03 +09:00
Piro / SHIMODA Hiroshi
dcac8b1a6b load full tooltip manager on demand 2011-12-01 02:59:46 +09:00
Piro / SHIMODA Hiroshi
03c677e522 MozBeforePaint is no longer available on Firefox 11 2011-12-01 02:22:15 +09:00
Piro / SHIMODA Hiroshi
69efc14044 on Firefox 11, mozRequestAnimationFrame() requires the callback anyway 2011-12-01 01:54:18 +09:00
Piro / SHIMODA Hiroshi
e0d949b99e shrunken tab bar couldn't be resized by drag and drop because the tab bar was unexpectedly expanded near the resizer. 2011-11-30 23:22:16 +09:00
Piro / SHIMODA Hiroshi
e3b5a236d8 arrowscrollbox in tooltip should be re-created 2011-11-30 20:32:57 +09:00
Piro / SHIMODA Hiroshi
cf49041b8c animation effect for full tooltip 2011-11-30 20:22:19 +09:00
Piro / SHIMODA Hiroshi
8f8e96da16 full tooltip should be hidden after the pointer goes out from it 2011-11-30 19:33:12 +09:00
SHIMODA Hiroshi
867bd4d5f9 didn't work on Firefox 3.6 2011-11-30 10:14:17 +09:00
Piro / SHIMODA Hiroshi
0cb0cb92a4 simplify calculation of size of pinned tabs from integer to boolean (simply faviconized or not) 2011-11-30 05:33:47 +09:00
Piro / SHIMODA Hiroshi
5d379c12c3 optimize 2011-11-30 05:01:56 +09:00
Piro / SHIMODA Hiroshi
1ffd3fbb71 emulate behavior of tooltip 2011-11-30 04:27:08 +09:00
Piro / SHIMODA Hiroshi
15da5d1e9b fix some minor bugs 2011-11-30 03:52:47 +09:00
Piro / SHIMODA Hiroshi
71d517d51b split implementation of full tooltip 2011-11-30 03:40:11 +09:00
Piro / SHIMODA Hiroshi
617cf38a1f When a child tab is selected and the tree is collapsed, the parent tab is automatically selected and the tree was collapsed but re-expanded after a delay unexpectedly. 2011-11-30 02:21:33 +09:00
Piro / SHIMODA Hiroshi
ff1cd2ebe5 implement "full tooltip" for too many children 2011-11-30 02:09:32 +09:00
Piro / SHIMODA Hiroshi
e886c75ca3 tooltip on tree should be more flexible 2011-11-30 00:52:25 +09:00
SHIMODA Hiroshi
93bb61f1c1 focused tree should be expanded automatically with delay, while switching focus by ctrl-(shift)-tab. 2011-11-29 20:36:49 +09:00
SHIMODA Hiroshi
6c13384537 pinned tabs can be smaller than 24x24 (new minimum size = 16x16) 2011-11-29 17:34:20 +09:00
SHIMODA Hiroshi
bbd95f450b the counter in a parent tab should report the count of tabs not only collapsed descendants but including itself. 2011-11-16 10:45:19 +09:00
Piro / SHIMODA Hiroshi
bcca67868e Fix broken behavior about tabs dropped on indented area (fix for https://github.com/piroor/treestyletab/issues/175 ) 2011-11-05 19:50:30 +09:00
Piro / SHIMODA Hiroshi
a3d1651ca7 update mail address 2011-11-02 02:43:39 +09:00
Piro / SHIMODA Hiroshi
c797f25a3e Pinned tabs were mispositioned on rightside tab bar. 2011-10-30 14:52:56 +09:00
Piro / SHIMODA Hiroshi
78a178b0c2 children of a newly pinned tab should be treated same to children of a closed tab (https://github.com/piroor/treestyletab/issues/155 ) 2011-10-30 05:50:27 +09:00
Piro / SHIMODA Hiroshi
188031b1a3 New tabs from "new blank tab" button on the tab bar didn't become "first-child" by the user preference automatically when it is opened. Now it works. 2011-10-30 05:26:01 +09:00
Piro / SHIMODA Hiroshi
e466b9bccd When a parent tab is moved to another tab group, then descendant tabs also should be moved to the group. 2011-10-30 05:03:44 +09:00
Piro / SHIMODA Hiroshi
785666ccf7 When "treeViewEnabled" was set to false twice, twisties in tabs were lost. ( https://github.com/piroor/treestyletab/issues/160 ) 2011-10-30 03:10:53 +09:00
Piro / SHIMODA Hiroshi
23cb3917e1 add workspace to hack other extensions 2011-10-28 04:17:22 +09:00
SHIMODA Hiroshi
d80d323aa1 fix mispositioned pinned tabs on Gecko 10.0a 2011-10-24 19:54:16 +09:00
SHIMODA Hiroshi
3c581a5683 add comment 2011-09-06 11:37:24 +09:00
SHIMODA Hiroshi
6201e7a523 children of a newly pinned tab should be treated same to children of a closed tab (partial fix for https://github.com/piroor/treestyletab/issues/155 ) 2011-09-06 11:33:38 +09:00
Piro / SHIMODA Hiroshi
ec294ee820 Search result tabs didn't become children of the current tab if the selection include white spaces before/after the search term. 2011-08-30 00:39:17 +09:00
SHIMODA Hiroshi
147812ff1c split methods 2011-08-24 14:27:19 +09:00
SHIMODA Hiroshi
197911a031 split methods 2011-08-24 14:17:01 +09:00
SHIMODA Hiroshi
75e2f69552 don't shrink/hide/expand tab bar when something is dragged on the browsing area 2011-08-23 11:59:01 +09:00
Piro / SHIMODA Hiroshi
327771a2b6 * Needless group tab is not closed correctly when it is "to-be-reloaded".
* Group tab wrongly closed even if the last sibling has any child.
2011-07-30 03:07:37 +09:00
Piro / SHIMODA Hiroshi
0494e7a229 Needless dummy "group" tab isn't closed if it is a to-be-restored tab 2011-07-30 02:52:28 +09:00
Piro / SHIMODA Hiroshi
fd6cac3f6a remove needless variable 2011-07-30 02:11:08 +09:00
Piro / SHIMODA Hiroshi
14a2370d4f When a root tab is closed and there is only one left "dummy" group-tab, then close it automatically. 2011-07-30 02:10:28 +09:00
Piro / SHIMODA Hiroshi
749d98bf05 group tab should be closed with delay 2011-07-30 00:40:39 +09:00
SHIMODA Hiroshi
c419a3f63b needless sibling group tab should be removed automatically 2011-07-29 17:22:13 +09:00
SHIMODA Hiroshi
93c2f9f94f size of pinned tabs can be customized by secret prefs extensions.treestyletab.pinnedTab.width and extensions.treestyletab.pinnedTab.height 2011-07-29 14:44:31 +09:00
SHIMODA Hiroshi
3bbf28b4f0 restore _lastRelatedTab on the last point of onTabAdded() 2011-07-29 10:34:44 +09:00
Piro / SHIMODA Hiroshi
ee95b8c7c0 closing a child tab when there are multiple child tabs next to it focuses the parent tab instead of the child tab next to the one closed 2011-07-29 09:45:21 +09:00
Piro / SHIMODA Hiroshi
5dfbffc0be Merge branch 'master' of github.com:piroor/treestyletab 2011-07-21 01:30:50 +09:00
SHIMODA Hiroshi
2c0d84aaa2 update for Firefox 8 2011-07-20 19:59:59 +09:00
Piro / SHIMODA Hiroshi
61e6984df3 don't resize window if it is maximized 2011-06-24 02:43:21 +09:00
Piro / SHIMODA Hiroshi
131d15c8cb fix typo 2011-06-19 22:57:35 +09:00
SHIMODA Hiroshi
3a2a5e8844 don't control visibility of menuitems and selarators if they are removed by Menu Editor addon. 2011-06-18 00:02:43 +09:00
Piro / SHIMODA Hiroshi
24775182de failed to import/duplicate/move windows 2011-06-17 01:59:57 +09:00
Piro / SHIMODA Hiroshi
2399608213 duplicateTabs, moveTabs also new public methods. 2011-06-17 01:48:32 +09:00
SHIMODA Hiroshi
face3c44c9 possibly raised error 2011-06-16 11:54:13 +09:00
Piro / SHIMODA Hiroshi
d6ccafc958 forgot to fix for new name 2011-06-16 00:31:26 +09:00
SHIMODA Hiroshi
f9e9e4efd4 new API, importTabs() (and moveTabs()) 2011-06-15 18:13:23 +09:00
SHIMODA Hiroshi
c39d55061a refactoring around performDrop() 2011-06-15 17:38:14 +09:00
SHIMODA Hiroshi
213aa81361 Merge branch 'master' of github.com:piroor/treestyletab 2011-06-15 15:44:15 +09:00
SHIMODA Hiroshi
a57bd32d1c split methods and define new utility API "collectRootTabs()" 2011-06-15 13:32:39 +09:00
Piro / SHIMODA Hiroshi
511348dd66 forgot to initialize as an empty array 2011-06-15 00:34:08 +09:00
Piro / SHIMODA Hiroshi
bb77306af2 dragging of multiple URIs causes error. 2011-06-15 00:29:36 +09:00
Piro / SHIMODA Hiroshi
de11611005 revert 2011-06-14 02:04:37 +09:00
Piro / SHIMODA Hiroshi
650f2b4d93 do destruction process later than other addons 2011-06-14 00:59:34 +09:00
Piro / SHIMODA Hiroshi
75dc1da17d while dragging, auto-hidden tab bar should be expanded automatically 2011-06-13 02:03:50 +09:00
Piro / SHIMODA Hiroshi
f86ac91786 toggleAutoHide() wasn't proxied 2011-06-13 01:23:52 +09:00
Piro / SHIMODA Hiroshi
1b4327f63b animations are suddenly stopped by window close (or other reasons) 2011-06-11 03:32:34 +09:00
Piro / SHIMODA Hiroshi
e1d25883eb forget to handle "this" 2011-06-06 01:05:22 +09:00
Piro / SHIMODA Hiroshi
dfcb7f14f3 don't cancel dragstart events from Multiple Tab Handler (fix for https://github.com/piroor/treestyletab/issues/118 ) 2011-06-02 09:27:18 +09:00
Piro / SHIMODA Hiroshi
7b7c7ba5e8 simplify 2011-05-28 09:18:44 +09:00
Piro / SHIMODA Hiroshi
b80e90091f autohide feature didn't work (regression) 2011-05-28 07:49:02 +09:00
Piro / SHIMODA Hiroshi
cf8d2072a4 drag and drop of tabs between windows was broken (regression) 2011-05-28 06:21:48 +09:00
Piro / SHIMODA Hiroshi
df1caa3ad1 fix undefined variable error 2011-05-28 06:08:45 +09:00
SHIMODA Hiroshi
68a8a9fe44 fix comment 2011-05-27 11:33:00 +09:00
SHIMODA Hiroshi
d25e006a2f On Nightly, background color of the vertical tab bar was unexpectedly fixed to "white" by patches http://hg.mozilla.org/mozilla-central/rev/e90bdd97d168 introduced by the bug https://bugzilla.mozilla.org/show_bug.cgi?id=558585 2011-05-27 11:31:02 +09:00
SHIMODA Hiroshi
4a8041ced5 built-in themes were not work correctly 2011-05-27 10:55:21 +09:00
SHIMODA Hiroshi
69f78feafb * pre-loading of images didn't work.
* "default" style didn't work correctly (it worked just same as "flat".)
2011-05-27 10:44:23 +09:00
Piro / SHIMODA Hiroshi
e8ad95487a With All-in-One Sidebar the tab bar was wrongly left on the content area after the sidebar was hidden automatically (fix for http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2902 ) 2011-05-27 02:50:36 +09:00
Piro / SHIMODA Hiroshi
dc5eda4278 extensions.treestyletab.tabbar.scrollToNewTab.mode didn't work for new tabs opened in the background (fix for http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2903 ) 2011-05-27 02:31:44 +09:00
Piro / SHIMODA Hiroshi
60f3b28c54 add module for performance tuning 2011-05-27 00:35:43 +09:00
Piro / SHIMODA Hiroshi
ff1fef531f flatten stylesheets 2011-05-27 00:10:18 +09:00
Piro / SHIMODA Hiroshi
c9aca50c1b don't load needless stylesheets 2011-05-26 23:22:42 +09:00
Piro / SHIMODA Hiroshi
47f32679c1 rename module to preload images 2011-05-26 21:08:56 +09:00
SHIMODA Hiroshi
82abedc946 fix error on drag and drop on the tab bar 2011-05-26 12:17:48 +09:00
SHIMODA Hiroshi
0502528d65 load JSDeferred by a lazy getter 2011-05-26 12:15:47 +09:00
SHIMODA Hiroshi
f690d637c6 define lazy getters for modules 2011-05-26 12:11:08 +09:00
SHIMODA Hiroshi
5429946e37 undefined variable 2011-05-26 11:14:15 +09:00
SHIMODA Hiroshi
d67ecd7d80 update compatibility codes for Tab Mix Plus 2011-05-26 11:02:34 +09:00
SHIMODA Hiroshi
91ee4592dc re-split initialization methods 2011-05-26 10:47:28 +09:00
Piro / SHIMODA Hiroshi
1e6daae6fb shorten 2011-05-26 06:23:02 +09:00
Piro / SHIMODA Hiroshi
00174ecc12 failed to restore session (regression) 2011-05-26 06:04:16 +09:00
Piro / SHIMODA Hiroshi
d4e4ad9e42 most of codes are moved to JavaScript code module 2011-05-26 05:54:46 +09:00
SHIMODA Hiroshi
2ab1e856d8 new APIs: readyToOpenChildTabNow(), readyToOpenNextSiblingTabNow(), and readyToOpenNewTabGroupNow() 2011-05-25 13:58:25 +09:00
SHIMODA Hiroshi
e18da85c38 On Firefox 3.6, multiple tabs selected by Multiple Tab Handler couldn't be attached by drag and drop. (regression, fix for https://github.com/piroor/treestyletab/issues/110 ) 2011-05-24 18:41:18 +09:00
Piro / SHIMODA Hiroshi
e6768050d4 don't override "ordinal" attribute for the #TabsToolbar 2011-05-18 00:27:46 +09:00
SHIMODA Hiroshi
e6aafebcc7 When collapsed tree is moved (not attached to another existing tab), tree was unexpectedly expanded. (fix for https://github.com/piroor/treestyletab/issues/106 ) 2011-05-17 09:24:19 +09:00
Piro / SHIMODA Hiroshi
4b8eb2cf6b when the last visible tab is collapsed, drop indicator wasn't shown. 2011-05-17 02:23:38 +09:00
SHIMODA Hiroshi
eade75a329 rightside tab bar should be resizable even if it is shrunken and not inverted. 2011-05-06 18:58:05 +09:00
Piro / SHIMODA Hiroshi
4787316304 New API: TreeStyleTabService.readyToOpenNextSiblingTab() to open a new next sibling tab. 2011-05-05 04:14:38 +09:00
Piro / SHIMODA Hiroshi
b277f8df1a status panel was shown on wrong position 2011-05-04 17:10:02 +09:00
Piro / SHIMODA Hiroshi
86d59ed306 don't drag whole tree if there is any selection 2011-04-27 02:44:19 +09:00
SHIMODA Hiroshi
a722935c00 fix undefined symbol problem (regression on recent commits) 2011-04-11 16:23:17 +09:00
SHIMODA Hiroshi
9ad3ab64ff simplify 2011-04-08 12:20:25 +09:00
SHIMODA Hiroshi
0a0bf642a5 when selected tabs are dragged and there is any partially selected tree, only selected tabs should be moved. (not selected members in trees are ignored.) 2011-04-08 12:15:42 +09:00
Piro / SHIMODA Hiroshi
1fca2619ef don't override behavior when selected tabs are dropped to bookmarks tree. 2011-04-08 03:38:31 +09:00
SHIMODA Hiroshi
8c2fa45c2a remode obsolete lines 2011-04-07 10:06:36 +09:00
SHIMODA Hiroshi
b7194c201a fix "too narrow tab bar" probelm automatically (fix for https://github.com/piroor/treestyletab/issues/76 ) 2011-04-06 22:04:02 +09:00
SHIMODA Hiroshi
028399cd59 ignore dragging of the tab bar from another window 2011-04-06 21:27:26 +09:00
SHIMODA Hiroshi
f29f3011c8 apply new pref if the pref is changed from non-direct operations with user actions 2011-04-06 21:05:59 +09:00
SHIMODA Hiroshi
a3514bdd9a The drop indicator bar were unexpectedly shown on the vertical tab bar with some theme 2011-03-30 16:18:23 +09:00
Piro / SHIMODA Hiroshi
b5805daa3e With the top tab bar or the case only the top level tree can be collapsed, any collapsed tree was never expanded automatically if a descendant tab (a child of "cannot be collapsed" tree) was selected. 2011-03-29 02:14:27 +09:00
SHIMODA Hiroshi
29396bb18c inverted scrollbar can be disabled by a secret pref "extensions.treestyletab.tabbar.invertScrollbar" 2011-03-25 12:12:33 +09:00
SHIMODA Hiroshi
f272ed650a remove needless style 2011-03-25 11:57:56 +09:00
SHIMODA Hiroshi
78871944c6 apply narrow scrollbar styles fro Firefox 3.6 2011-03-25 11:55:24 +09:00
SHIMODA Hiroshi
15ca73e001 show scrollbar in the tab bar with narrow width 2011-03-25 11:42:50 +09:00
Piro / SHIMODA Hiroshi
894198e0fc while tab dragging on tabs, collapsed tree weren't expanded automatically. 2011-03-24 03:30:01 +09:00
Piro / SHIMODA Hiroshi
9f89599dc4 Drag and drop of tabs to pinned tabs breaks tree of tabs. (Pinned tabs must not accept dropping of tabs ON it.) 2011-03-19 05:14:17 +09:00
Piro / SHIMODA Hiroshi
9b8c693628 export Deferred 2011-03-19 05:00:12 +09:00
Piro / SHIMODA Hiroshi
bb2b541ea0 regression: when the last parent tab and its children are closed, Firefox froze. (fix for https://github.com/piroor/treestyletab/issues/#issue/50 ) 2011-03-19 02:56:00 +09:00
Piro / SHIMODA Hiroshi
3eb8838ded * error handler was wrongly called.
* show notification with delay
2011-03-18 22:52:27 +09:00
Piro / SHIMODA Hiroshi
e005536edf auto detection of accesskey was broken 2011-03-18 22:10:53 +09:00
Piro / SHIMODA Hiroshi
7cd0d20f50 searchbar in the tab bar couldn't receive mousedown events because the event was wrongly canceled. textbox should be a clickable element which can receive mousedown events always. 2011-03-18 21:48:54 +09:00
SHIMODA Hiroshi
6ee1bf6f9c Merge branch 'master' of https://github.com/ed2010/treestyletab into ed2010-master 2011-03-16 23:05:47 +09:00
SHIMODA Hiroshi
7d9ee67d34 when there are too many tabs, click on extra toolbar items in the tab bar was wrongly ignored. 2011-03-15 01:25:46 +09:00
Piro / SHIMODA Hiroshi
79ed882157 update jsdeferred 2011-03-04 03:45:45 +09:00
Piro / SHIMODA Hiroshi
61a4e307eb update jsdeferred 2011-03-04 03:25:54 +09:00
ed2010
d5d8844e27 Corrected typo in @fileOverview description for confirmWithTab.js 2011-03-01 09:30:08 -08:00
Piro / SHIMODA Hiroshi
6b0366400c update JSDeferred 2011-03-02 00:17:57 +09:00
Piro / SHIMODA Hiroshi
caa7bfce9b update library 2011-03-01 02:35:57 +09:00
Piro / SHIMODA Hiroshi
fda2d6e4cc update jsdeferred 2011-02-28 23:09:15 +09:00
Piro / SHIMODA Hiroshi
41eb5685b2 update jsdeferred 2011-02-27 18:15:48 +09:00
Piro / SHIMODA Hiroshi
05c86c85c6 improve compatibility with TotalToolbar ( http://totaltoolbar.mozdev.org/ ) 2011-02-19 22:07:08 +09:00
Piro / SHIMODA Hiroshi
d0bf81b511 ignore drag and drop while toolbar customization (better compatibility with TotalToolbar http://totaltoolbar.mozdev.org/ ) 2011-02-19 20:27:30 +09:00
Piro / SHIMODA Hiroshi
84d60f9302 improve compatibility with TotalToolbar ( http://totaltoolbar.mozdev.org/ ) 2011-02-19 20:08:42 +09:00
SHIMODA Hiroshi
bb8b1a9af0 nsIPromptService compatible accesskey detection 2011-02-10 10:08:26 +09:00
SHIMODA Hiroshi
3c38f43d5d Merge branch 'master' of github.com:piroor/treestyletab 2011-02-10 08:58:50 +09:00
SHIMODA Hiroshi
8e36e02926 add comment 2011-02-10 08:58:28 +09:00
Piro / SHIMODA Hiroshi
e8cba54fd5 confirmWithTab didn't provide accesskey for buttons (fix for https://github.com/piroor/treestyletab/issues#issue/43 ) 2011-02-10 08:19:49 +09:00
Piro / SHIMODA Hiroshi
68e4690da8 failed to tear off selected tabs if the multiple tab handler is installed 2011-02-09 03:13:04 +09:00
Piro / SHIMODA Hiroshi
6d13730c64 when a tab is dropped out of windows, two windows were wrongly opened. 2011-02-09 02:56:33 +09:00
SHIMODA Hiroshi
4fab352cce fix compatibility issue with Multiple Tab Handler about drag and drop of multiple tabs between windows 2011-02-07 12:09:12 +09:00
SHIMODA Hiroshi
33044b454e drag and drop of text like "www.example.com" (without schema) is unexpectedly rejected by the security check. (fix for https://github.com/piroor/treestyletab/issues#issue/37 ) 2011-02-07 10:45:59 +09:00
Piro / SHIMODA Hiroshi
b94b2efee3 don't draw BG if alpha=1 2011-02-07 03:09:34 +09:00
SHIMODA Hiroshi
1cad55af50 fix typo 2011-01-26 10:21:41 +09:00
Piro / SHIMODA Hiroshi
06c3b3b297 remove customizability of tabbar transparency, and fix it to "partially transparent". 2011-01-26 09:08:55 +09:00
Piro / SHIMODA Hiroshi
9c0a063edf rename prefs: extensions.treestyletab.autoAttachNewTabsAsChildren => extensions.treestyletab.autoAttach, extensions.treestyletab.autoAttachSearchResultAsChildren => extensions.treestyletab.searchResult 2011-01-26 00:06:32 +09:00
SHIMODA Hiroshi
f3292d295d referred undefined constant 2011-01-24 13:27:41 +09:00
Piro / SHIMODA Hiroshi
9bb9f05685 when a collapsed tree was moved, children unexpectedly stayed open. (fix for https://github.com/piroor/treestyletab/issues#issue/31 ) 2011-01-24 09:13:23 +09:00
Piro / SHIMODA Hiroshi
8a77d791c7 indicate which toolbar becomes the tab bar, by tooltip 2011-01-23 16:01:26 +09:00
Piro / SHIMODA Hiroshi
791db5e9ba indicate which toolbar will become "vertical tab bar". (experimental) 2011-01-23 15:20:06 +09:00
Piro / SHIMODA Hiroshi
4578f832dd mark canvas for autohide as legacy (only for Firefox 3.6 or older versions) 2011-01-23 14:51:59 +09:00
Piro / SHIMODA Hiroshi
3ae902cac9 mark "hide alltabs button" feature as legacy (only for Firefox 3.6 or older versions) 2011-01-23 14:33:16 +09:00
Piro / SHIMODA Hiroshi
800e64c94d When the twisty style is "none", entire tabs are recognized as "twisty" unexpectedly. (fix for https://github.com/piroor/treestyletab/issues#issue/21 ) 2011-01-23 04:03:39 +09:00
Piro / SHIMODA Hiroshi
95ba144808 cast a value to a boolean by "!!" 2011-01-23 03:32:04 +09:00
Piro / SHIMODA Hiroshi
7ec5d3a933 tabbar position changing was not saved for drag and drop of the tab bar. 2011-01-23 03:26:45 +09:00
Piro / SHIMODA Hiroshi
be197178b5 allow to change the tab bar position without changing the preference 2011-01-23 00:46:29 +09:00
Piro / SHIMODA Hiroshi
5ba83972c4 the orient of the tab bar was wrongly recognized when sycnReinitiTabbar. 2011-01-22 23:43:55 +09:00
Piro / SHIMODA Hiroshi
0b8a4070c5 split destroying/reinitializing process from event listener methods 2011-01-22 12:31:57 +09:00
Piro / SHIMODA Hiroshi
41084ec097 experimental: allow to move the tab bar from TabsToolbar to another toolbar 2011-01-22 02:15:04 +09:00
Piro / SHIMODA Hiroshi
6e676a29d6 allow to place tabbar not in #TabsToolbar 2011-01-22 00:01:19 +09:00
SHIMODA Hiroshi
568a1703bf restore tree structure on the startup (expedimental, disabled by extensions.treestyletab.restoreTreeOnStartup) 2011-01-20 11:55:49 +09:00
Piro / SHIMODA Hiroshi
bd0e8b39e5 remove needless codes 2011-01-20 01:31:22 +09:00
SHIMODA Hiroshi
c117ad1ccf drop indicator of the tab bar is shown wrongly for vertical tab bar. 2011-01-19 19:03:40 +09:00
Piro / SHIMODA Hiroshi
93c69131e3 for hidden twisties, screenX and screenY are possibly smaller than the tab's position. 2011-01-16 13:46:18 +09:00
Piro / SHIMODA Hiroshi
8d5fb95b80 if twisty in tabs are hidden, recognize click events on favicons as ones on twisties. 2011-01-16 12:01:59 +09:00
SHIMODA Hiroshi
7961570eb4 don't hide the tab bar when exiting auto hide mode 2011-01-12 17:25:41 +09:00
SHIMODA Hiroshi
b7d3a55fa2 On Minefield, the tab bar is shown with wrong width when entering/exitting auto hide mode 2011-01-12 17:06:06 +09:00
SHIMODA Hiroshi
0a3773c5a1 fire all custom events as DataContainerEvent 2011-01-11 19:29:14 +09:00
SHIMODA Hiroshi
136a61ac3e use DataContainerEvent type 2011-01-11 13:20:01 +09:00
SHIMODA Hiroshi
a2cbc32c8b send nsDOMTreeStyleTabTabbarPositionChanging and nsDOMTreeStyleTabTabbarPositionChanged events as UIEvents 2011-01-11 12:21:24 +09:00
Piro / SHIMODA Hiroshi
9635fc2154 2011 2011-01-10 16:02:15 +09:00
Piro / SHIMODA Hiroshi
977a015199 the tab bar is wrongly shown by mousemove, even if it is disabled by user preference 2011-01-10 14:01:09 +09:00
Piro / SHIMODA Hiroshi
141e819498 [autohide] When the window is resized while the tab bar is expanded, hide it before updating width of the bar. (fix for https://github.com/piroor/treestyletab/issues#issue/18 ) 2011-01-10 12:27:02 +09:00
Piro / SHIMODA Hiroshi
5d4d478802 on Minefield, the tab bar was not shown by keyboard shortcuts if "TreeStyleTabService.shouldListenKeyEventsForAutoExpandByFocusChange" returned "false". 2011-01-10 01:43:23 +09:00
Piro / SHIMODA Hiroshi
bcfc9dc413 on Minefield, the tab bar was never shown by keyboard shortcuts. 2011-01-10 01:40:24 +09:00
Piro / SHIMODA Hiroshi
e24ee77e71 update the position of the floating tab bar without delay on the startup (fix for https://github.com/piroor/treestyletab/issues#issue/12 ) 2011-01-07 22:08:22 +09:00
SHIMODA Hiroshi
d4781a8a6e add configuration UI for "extensions.treestyletab.bookmarkDroppedTabs.behavior" (see https://github.com/piroor/treestyletab/issues#issue/6 ) 2011-01-06 10:25:17 +09:00
SHIMODA Hiroshi
cbeff338d2 couldn't handle click on twisty of tabs, on Minefield, Mac OS X. 2010-12-27 18:58:02 +09:00
SHIMODA Hiroshi
3bbe37ddfa add "nsDOM" prefix to custom event types (it is required to pass custom data. see: https://developer.mozilla.org/en/Creating_Custom_Events_That_Can_Pass_Data ) 2010-12-20 20:54:42 +09:00
SHIMODA Hiroshi
6d3fd864d6 add ability to control "how to bookmark dropped tree?" (fix for https://github.com/piroor/treestyletab/issues/issue/6 ) 2010-12-20 20:41:22 +09:00
SHIMODA Hiroshi
efca844cf5 don't select dragged tabs 2010-12-20 16:24:47 +09:00
SHIMODA Hiroshi
a1b73fb9a2 to feedback actual behavior, select dragged tabs automatically if MTH is installed 2010-12-20 15:46:38 +09:00
SHIMODA Hiroshi
3acb6a2bfc add "close other tabs except this tree" context menu item 2010-12-08 20:34:42 +09:00
SHIMODA Hiroshi
f54f673b73 don't access to gBrowser before it is initialized 2010-12-08 16:38:00 +09:00
Piro / SHIMODA Hiroshi
60d15d1715 New tabs opened in a loop should be ordered by "opened order", even if I set new child is inserted at the first position of existing children. (fix for http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2812 ) 2010-12-08 01:28:23 +09:00
SHIMODA Hiroshi
b2a72cdc8d fix error on dragging the tab bar if there are only pinned tabs 2010-12-07 12:40:41 +09:00
Piro / SHIMODA Hiroshi
a8d4e7fd9e startRendering is a method of treeStyleTab 2010-12-06 23:34:32 +09:00
Piro / SHIMODA Hiroshi
b488475bd8 move codes for autohide into JS code modules 2010-12-06 22:31:58 +09:00
Piro / SHIMODA Hiroshi
0713e54fda move codes for drag and drop into JS code modules 2010-12-06 21:04:52 +09:00
Piro / SHIMODA Hiroshi
433bec4ade specify the reason of updating floating tab bar, to fix incorrect tab bar width problem on multiple windows ( https://github.com/piroor/treestyletab/issues#issue/2 ) 2010-12-03 23:50:42 +09:00
Piro / SHIMODA Hiroshi
f9c965d1b1 getCurrentDragSession() => currentDragSession 2010-12-02 09:02:27 +09:00
SHIMODA Hiroshi
fabd5f546d split methods and add a new API getAncestorTabs() 2010-12-01 17:40:18 +09:00
SHIMODA Hiroshi
34cd4244c1 define event types as constant properties 2010-12-01 17:16:26 +09:00
SHIMODA Hiroshi
a72ee733a8 move event type and topic definitions below class definitions 2010-12-01 09:40:27 +09:00
SHIMODA Hiroshi
98e5745217 define event types as constant properties 2010-12-01 09:36:22 +09:00
SHIMODA Hiroshi
23326d9ab3 define topic types as constant properties 2010-12-01 09:33:07 +09:00
SHIMODA Hiroshi
619d47c77d support new API based on DOM Events 2010-11-30 19:05:00 +09:00
SHIMODA Hiroshi
9b2b99674f enable tree separation on vertical tab bar if maxTreeLevel==0 2010-11-29 19:35:47 +09:00
SHIMODA Hiroshi
89732dc67b now we can set maximum level of nesting 2010-11-29 17:24:45 +09:00
Piro / SHIMODA Hiroshi
241edec464 now we can stack collapsed tabs in the horizontal tab bar 2010-11-25 01:14:36 +09:00
SHIMODA Hiroshi
3ef3ee4612 On Linux and Mac OS X, selected theme didn't saved. (regression) 2010-11-18 16:04:31 +09:00
Piro / SHIMODA Hiroshi
0426180299 remove "open link in tab" and "new tab from location bar" codes 2010-11-18 02:50:54 +09:00
Piro / SHIMODA Hiroshi
c1871b94c6 fix careless misses 2010-11-18 01:08:40 +09:00
Piro / SHIMODA Hiroshi
c8d15704f2 add comment 2010-11-13 15:52:40 +09:00
SHIMODA Hiroshi
1d586818ba "askUndoClosedTabSet" always show the confirmation. 2010-11-12 11:09:05 +09:00
SHIMODA Hiroshi
a00e64c4fc on Minefield, tabs opened from links didn't become children of the current tab. this is caused by XRayWrapper... 2010-11-12 10:42:06 +09:00
SHIMODA Hiroshi
387016339d about: URLs should be regarded as different domains. 2010-11-12 10:24:22 +09:00
Piro / SHIMODA Hiroshi
e1fdc67340 fix regression: sometimes failed to restore closed tab set 2010-11-11 02:13:18 +09:00
Piro / SHIMODA Hiroshi
d190070edc fix regression: checkbox state of the confirmation notification is saved correctly (truely!) 2010-11-11 02:05:02 +09:00
Piro / SHIMODA Hiroshi
c1e1aa6520 fix regression: checkbox state of the confirmation notification is saved correctly 2010-11-11 01:56:00 +09:00
Piro / SHIMODA Hiroshi
cdeed0bc2b fix regression: checkbox state of the confirmation notification is saved correctly 2010-11-11 01:54:24 +09:00
Piro / SHIMODA Hiroshi
4dbdefc368 restore closed tab set without blocking (incomplete)
* tree structure doesn't restored. (regression)
* Deferred.wait(0.25) in askUndoCloseTabSetBehavior() should be removed.
2010-11-11 01:14:04 +09:00
piro
b09eeca43d https://bugzilla.mozilla.org/show_bug.cgi?id=568691 の変更によってプラットフォームごとの初期設定が読み込まれなくなっていたのを修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7299 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-10-25 03:06:02 +00:00
piro
f14b0b0d8f Bug 586234 – When middle clicking links in popups, open the new tab in a full browser window
( https://bugzilla.mozilla.org/show_bug.cgi?id=586234 ) の影響で、リンクをタブで開いた時に子タブにならなくなっていたのを修正


git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7297 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-10-25 02:36:47 +00:00
piro
7d336bfc03 Bug 602555 – Refactor CSR code
https://bugzilla.mozilla.org/show_bug.cgi?id=602555 によって、セッションが復元されなくなっていたのを修正(しかしそもそもreturnしていたせいで元の挙動がおかしくなっていた)

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7293 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-10-24 18:29:49 +00:00
piro
aec3c88848 Minefieldでセッションが復元されなくなっていたのを修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7273 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-09-26 15:32:44 +00:00
piro
ecce3aa3b4 extensions.treestyletab.openOuterLinkInNewTab.asChild、およびextensions.treestyletab.openAnyLinkInNewTab.asChildによって、リンクから自動的に開かれるタブを子タブにするかどうかを制御できるようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7265 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-09-18 15:54:36 +00:00
piro
e494c270f6 「子タブをリロードする」が親タブまでリロードしてしまっていた
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7260 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-09-18 15:12:14 +00:00
piro
37cbcc8973 Minefieldにおいて、タブバーを自動的に隠す設定のときに、展開された状態のタブバーをリサイズできなくなっていたのを修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7235 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-09-16 04:07:58 +00:00
piro
b4d59e9614 すべてのタブを一度に閉じようとしていた時などの特別な場合の処理について、Tab Panoramaによってタブがグループ分けされている場合の「他のグループも含めたすべてのタブ」と「現在のグループのすべてのタブ」とで処理を分けるようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7200 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-09-14 07:39:17 +00:00
piro
8427b2f595 Tab Panoramasでタブをグループ分けしている時、「タブの一覧」が正常に機能していなかった
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7199 599a83e7-65a4-db11-8015-0010dcdd6dc2
2010-09-14 07:05:27 +00:00