Commit Graph

316 Commits

Author SHA1 Message Date
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
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
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
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
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
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
fc32a2e31b Merge pull request #432 from saneyuki/getter
Change TreeStyleTabUtils.prefs to simple getter
2013-01-03 10:37:37 -08:00
Piro / YUKI Hiroshi
d7d988ee96 Fix syntax error 2013-01-04 01:34:08 +09:00
saneyuki_s
a7fc238e4e Move string bundles to TreeStyleTabUtils. 2013-01-03 11:08:25 +09:00
saneyuki_s
af929f6858 Change TreeStyleTabUtils.prefs to simple getter. 2013-01-02 05:57:37 +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
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
7ffe6709d2 Add failsafe for unexpectedly stored tab attribute "tabbrowser-id" 2012-09-23 17:19:09 +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
saneyuki_s
f2a50a4615 Remove TreeStyleTabUtils.XULAppInfo. 2012-09-18 02:15:08 +09:00
saneyuki_s
2cff8ebc48 Remove TreeStyleTabUtils.IOService. 2012-09-18 01:18:05 +09:00
saneyuki_s
3941b88b1f Remove TreeStyleTabUtils.ObserverService. 2012-09-18 00:31:48 +09:00
Piro / YUKI Hiroshi
1aa4f0e97a Rename preferences for vertical tab bar with the suffix ".vertical" 2012-08-31 03:48:00 +09: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
saneyuki_s
54a5d46758 Use Service.jsm in modules/ (exclude modules/lib/). 2012-08-13 14:58:40 +09:00
Piro / SHIMODA Hiroshi
df23d21ce0 Output warning for recursive or broken tree from getDescendantTabs() 2012-08-09 05:02:24 +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
7016e1eca1 Automatically fix broken reference for already closed tabs by getParentTab() 2012-08-05 05:04:26 +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
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
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
SHIMODA Hiroshi
aea0595898 Support border-radius and other CSS3 properties (without -moz-prefix) 2012-02-28 15:11:24 +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
Piro / SHIMODA Hiroshi
9e8993cfdd pref migration should be done by globally at first. 2012-02-10 04:01:13 +09:00
Piro / SHIMODA Hiroshi
c844906cb1 handle errors in deferred tasks 2012-02-07 02:13:46 +09:00
Piro / SHIMODA Hiroshi
16f6cd7dd9 optimize: reduce use of Iterator 2012-02-05 06:31:03 +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
f744f51802 * remove custom drop marker in tabs
* initTabContents always update the order of tab contents
2012-02-04 02:33:49 +09:00
Piro / SHIMODA Hiroshi
6c43a67836 don't apply custom binding to tabs anymore 2012-02-03 05:27:57 +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
f077af1317 ignore events after destruction 2012-01-24 04:07:56 +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
SHIMODA Hiroshi
32c45ab150 use doorhangar instead of notification bar 2012-01-18 13:56:50 +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
bcb8615f47 drop Firefox 3.6 support 2012-01-13 17:38:12 +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
SHIMODA Hiroshi
60af382b89 manually expanded tree should not collapsed automatically (like Windows Explorer) 2011-12-27 13:21:23 +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
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
8d981a7d13 always restore all tree 2011-12-13 03:54:43 +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
39234833fc on Linux + GNOME3, "narrow scroll bar" was not narrow. 2011-12-09 17:55:15 +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
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
ca0b1fe073 partTab() => detachTab() (API is renamed) 2011-12-07 10:18:05 +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
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
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
a3d1651ca7 update mail address 2011-11-02 02:43:39 +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
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
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
2c0d84aaa2 update for Firefox 8 2011-07-20 19:59:59 +09:00
SHIMODA Hiroshi
face3c44c9 possibly raised error 2011-06-16 11:54:13 +09:00
SHIMODA Hiroshi
c39d55061a refactoring around performDrop() 2011-06-15 17:38:14 +09:00
SHIMODA Hiroshi
a57bd32d1c split methods and define new utility API "collectRootTabs()" 2011-06-15 13:32:39 +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
60f3b28c54 add module for performance tuning 2011-05-27 00:35:43 +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
2ab1e856d8 new APIs: readyToOpenChildTabNow(), readyToOpenNextSiblingTabNow(), and readyToOpenNewTabGroupNow() 2011-05-25 13:58:25 +09:00
Piro / SHIMODA Hiroshi
e6768050d4 don't override "ordinal" attribute for the #TabsToolbar 2011-05-18 00:27:46 +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
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