Commit Graph

146 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
0f82638570 Draw navigation bar in the titlebar for Australis on Windows 2013-11-20 23:38:12 +09:00
Piro / YUKI Hiroshi
1b4eb1cd8a Disable "TabsInTitlebar" if tabs are not on the top 2013-11-19 23:23:25 +09:00
Infocatcher
ff9023012f Correctly update "list all tabs" menu if there is pinned tabs + simplify 2013-11-18 12:15:14 +04:00
Piro / YUKI Hiroshi
461a8aca98 Update credit 2013-11-10 04:28:07 +09:00
Tetsuharu OHZEKI
ee1eec680d Use ES6 Rest parameters. 2013-11-10 04:15:23 +09:00
Tetsuharu OHZEKI
5991114c47 Use Services.focus. 2013-11-06 22:11:15 +09:00
Piro / YUKI Hiroshi
4004ec6f64 Update floating tab bar when UI element is inserted/removed from the browser box (#546) 2013-10-09 01:30:52 +09:00
Piro / YUKI Hiroshi
e58a7b9987 Don't shrink/hide the tab bar for keyboard shortcuts Ctrl-T, Ctrl-R, etc. 2013-10-09 00:13:29 +09:00
YUKI Hiroshi
a641d748c7 Allow users to create new subtree from partially selected tree of tabs (#553) 2013-09-18 12:10:15 +09:00
YUKI Hiroshi
f0e71741a1 Break lines after condition block of "if" statements 2013-09-17 18:17:20 +09:00
YUKI Hiroshi
bbe6b79024 Update tab bar position for "disablechrome" attribute of the root element 2013-09-13 19:37:21 +09:00
YUKI Hiroshi
23b1a043ef Add customizability for newly opened temporary groups (#537) 2013-08-21 17:34:07 +09:00
YUKI Hiroshi
c22c03186f Open temporary group tabs with "temporary=true" parameter 2013-08-21 13:35:26 +09:00
YUKI Hiroshi
c03ad9eaff Detect new tabs opened from content scripts correctly (#517, #510) 2013-07-02 19:47:41 +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
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
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
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
a1dd914a09 TreeStyleTabBase should not inherit "prefs" (part 2) 2013-01-06 11:56:20 +09:00
Piro / YUKI Hiroshi
72d38659d8 TreeStyleTabBase should not inherit "prefs" 2013-01-06 11:47:50 +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
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
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
Piro / YUKI Hiroshi
450fa34790 Simplify codes to load modules lazily 2012-11-11 22:48:42 +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
saneyuki_s
3e658380c9 Move some pref methods from TSTBase to TSTUtils. 2012-10-19 23:20:08 +09:00
Piro / YUKI Hiroshi
9182259ab5 Update credit 2012-10-14 03:31:06 +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
saneyuki_s
a18738be8f Remove TreeStyleTabUtils.PromptService. 2012-09-23 18:39:34 +09:00
Piro / YUKI Hiroshi
d2e9f51f8f Fix broken XPath expression 2012-09-23 16:08:08 +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
3941b88b1f Remove TreeStyleTabUtils.ObserverService. 2012-09-18 00:31:48 +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
Infocatcher
ddeddd38ee Reset tab bar height only using left double click 2012-08-28 17:21:46 +04:00
Infocatcher
76defb974a Convert from Shift-JIS to UTF-8 2012-08-28 16:53:25 +04: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
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
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
c844906cb1 handle errors in deferred tasks 2012-02-07 02:13:46 +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
59444c68a6 use Iterator instead of forEach (for performance optimization) 2012-02-05 03:15:38 +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
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
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
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
Piro / SHIMODA Hiroshi
8d981a7d13 always restore all tree 2011-12-13 03:54:43 +09:00
SHIMODA Hiroshi
67ff3b111f items in "all tabs" popup were not indented on Nightly. 2011-12-12 18:27:11 +09:00
Piro / SHIMODA Hiroshi
7035a53d4f "undo closed set" feature didn't work 2011-12-09 01:39:55 +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
SHIMODA Hiroshi
828e6e48f9 simplify implementation of "fast restore" 2011-12-07 15:14:02 +09:00
SHIMODA Hiroshi
ca0b1fe073 partTab() => detachTab() (API is renamed) 2011-12-07 10:18:05 +09:00
SHIMODA Hiroshi
f500a66092 refactoring 2011-12-05 19:51:38 +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
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
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
SHIMODA Hiroshi
6c13384537 pinned tabs can be smaller than 24x24 (new minimum size = 16x16) 2011-11-29 17:34:20 +09:00
Piro / SHIMODA Hiroshi
a3d1651ca7 update mail address 2011-11-02 02:43:39 +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
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
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
e1d25883eb forget to handle "this" 2011-06-06 01:05:22 +09:00
Piro / SHIMODA Hiroshi
df1caa3ad1 fix undefined variable error 2011-05-28 06:08:45 +09:00
Piro / SHIMODA Hiroshi
60f3b28c54 add module for performance tuning 2011-05-27 00:35:43 +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
f690d637c6 define lazy getters for modules 2011-05-26 12:11:08 +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
d4e4ad9e42 most of codes are moved to JavaScript code module 2011-05-26 05:54:46 +09:00