Commit Graph

302 Commits

Author SHA1 Message Date
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
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
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
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
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
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
05c86c85c6 improve compatibility with TotalToolbar ( http://totaltoolbar.mozdev.org/ ) 2011-02-19 22:07:08 +09:00
Piro / SHIMODA Hiroshi
84d60f9302 improve compatibility with TotalToolbar ( http://totaltoolbar.mozdev.org/ ) 2011-02-19 20:08:42 +09:00
SHIMODA Hiroshi
1cad55af50 fix typo 2011-01-26 10:21:41 +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