YUKI Hiroshi
480f3c4c6f
Observe preference changes about autohide by the module itself
2015-03-03 20:01:03 +09:00
YUKI Hiroshi
3ae3bad1b4
Store last autohide mode after deactivating correctly
2015-03-03 19:53:26 +09:00
YUKI Hiroshi
67fcb13e05
Apply autoHide mode only for the active window
2015-03-03 19:49:34 +09:00
YUKI Hiroshi
af8a061ca1
Store and restore last autohide mode for each window
2015-03-03 19:45:44 +09:00
YUKI Hiroshi
949fab8ae3
Store last mode
2015-03-03 19:22:24 +09:00
YUKI Hiroshi
a829f25bba
Extract constant definitions to a shared base object
2015-03-03 19:16:27 +09:00
YUKI Hiroshi
6802444a23
Save last autohide state as window value
2015-03-03 19:07:52 +09:00
YUKI Hiroshi
801c28bd1a
Simplify
2015-03-03 18:57:21 +09:00
YUKI Hiroshi
767479f9f1
Break line for condition and operation
2015-03-03 18:56:55 +09:00
YUKI Hiroshi
1cf6887ff7
Output more debug-friendly messages for the "autohide" feature
2014-12-01 23:25:48 +09:00
YUKI Hiroshi
53e805b4d9
Remove obsolete comment
2014-11-11 18:51:28 +09:00
YUKI Hiroshi
06c89a80c2
Check existence of plugin area in the current tab asynchronously with e10s
2014-11-11 18:42:30 +09:00
YUKI Hiroshi
02bcfe5d8b
Handle mouse events for auto hide feature by a frame script, for e10s
2014-11-11 17:45:12 +09:00
YUKI Hiroshi
09f43c8f84
Use LF instead of CRLF
2014-09-30 20:09:27 +09:00
John Schoenick
b64986b292
Workaround for bug 1042680 issue #3 in e10s mode
2014-08-27 16:16:41 -07:00
Piro / YUKI Hiroshi
8b3792b312
Use CustomEvent instead of DataContainerEvent.
...
DataContainerEvent is going to be deprecated.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=980134
2014-03-12 01:50:40 +09:00
YUKI Hiroshi
617771c1c1
Restore scroll position of the tab bar in "auto hide" mode ( #653 )
2014-02-06 17:49:47 +09:00
Piro / YUKI Hiroshi
8596d9dec1
Fix broken show/hide API #392
2014-01-25 00:00:44 +09:00
Piro / YUKI Hiroshi
461a8aca98
Update credit
2013-11-10 04:28:07 +09:00
Tetsuharu OHZEKI
5991114c47
Use Services.focus.
2013-11-06 22:11:15 +09:00
Piro / YUKI Hiroshi
78e4ea5526
Don't cancel the timer to hide (or collapse) the tab bar after a tab is opened or closed ( #581 , regression)
2013-10-30 04:30:08 +09:00
YUKI Hiroshi
6756ec255a
Don't define multiple constant property with same value
2013-10-24 10:16:53 +09:00
Piro / YUKI Hiroshi
13584c712a
Hide (collapse) the tab bar when the floating tab bar is going to be updated.
...
By this change, the size of the shrunken tab bar will saved and restored correctly. (#575 )
2013-10-23 02:42:22 +09:00
Piro / YUKI Hiroshi
f7e172172b
Expand the shrunken tab bar immediately when the mouse pointer moves onto the tab bar, if the size of teh tab bar is fixed.
2013-10-23 01:41:26 +09:00
YUKI Hiroshi
47774acf54
Keep tab bar shown (expanded) if one of triggers is still there. ( #552 )
...
The tab bar can be shown by three reasons: mouseover, keyboard shortcut,
and feedback for new tabs. However, sometimes two or more triggers can
be fired in a same time. Now TST keeps the tab bar showing (expanded)
for combinated cases, like: shown by the keyboard shortcut, the mouse
goes onto the tab bar, and it leaves from the tab bar.
2013-09-17 16:22:29 +09:00
Piro / YUKI Hiroshi
5b30204112
Output more messages for debugging
2013-07-27 02:03:44 +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
72d38659d8
TreeStyleTabBase should not inherit "prefs"
2013-01-06 11:47:50 +09:00
Piro / YUKI Hiroshi
8e37edc535
find tab from screen coordinates more quickly
2012-12-04 01:16:20 +09:00
Piro / YUKI Hiroshi
450fa34790
Simplify codes to load modules lazily
2012-11-11 22:48:42 +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
Piro / YUKI Hiroshi
a6792a2b4b
Reduce usecases of evaluateXPath()
2012-09-23 15:43:49 +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
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
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
4d816760b5
reduce obsolete version-specific logic and comments
2012-01-14 01:30:06 +09:00
SHIMODA Hiroshi
b44c9b20f9
remove regacy codes
2012-01-13 18:06:40 +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
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
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
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
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
a3d1651ca7
update mail address
2011-11-02 02:43:39 +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
61e6984df3
don't resize window if it is maximized
2011-06-24 02:43:21 +09:00
Piro / SHIMODA Hiroshi
bb77306af2
dragging of multiple URIs causes error.
2011-06-15 00:29:36 +09:00
Piro / SHIMODA Hiroshi
75dc1da17d
while dragging, auto-hidden tab bar should be expanded automatically
2011-06-13 02:03:50 +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
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
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
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
be197178b5
allow to change the tab bar position without changing the preference
2011-01-23 00:46:29 +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
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
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
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
f54f673b73
don't access to gBrowser before it is initialized
2010-12-08 16:38:00 +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