Commit Graph

179 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
1126c9f211 Output log more safely #1067 2016-02-15 23:45:58 +09:00
Piro / YUKI Hiroshi
9580dc574f Don' open new single tab from middle click on the Home button as a child of the current tab 2016-02-14 18:37:58 +09:00
Piro / YUKI Hiroshi
573f1d179d Move some utilities from TSTBase to TSTUtils 2016-02-13 01:01:44 +09:00
Piro / YUKI Hiroshi
fc38c81839 Collapse/expand the tab bar by middle click on the splitter #242 2016-02-12 23:06:49 +09:00
YUKI Hiroshi
e531d8cd93 Output debug log to the browser console also 2016-02-10 19:10:46 +09:00
YUKI Hiroshi
fe7cf571f5 Move XPath related utilities from TSTBase to TSTUtils 2016-02-10 17:42:37 +09:00
YUKI Hiroshi
bad68d5a9b Fix indent 2016-02-10 15:08:57 +09:00
YUKI Hiroshi
bb4a172308 Don't cancel new child tab action by default orphan tab action 2016-02-10 15:08:32 +09:00
YUKI Hiroshi
e41d737fe2 Output more debug log 2016-01-20 20:39:46 +09:00
YUKI Hiroshi
f26193f55f Open new tabs from window.open() in non-tab frames as independent tab 2016-01-20 19:41:07 +09:00
YUKI Hiroshi
7973071bd1 Open orphan tab from links if it is not related to the current tab 2016-01-20 11:58:25 +09:00
YUKI Hiroshi
9ef9f0ec62 Open as orphan by default 2016-01-20 11:38:01 +09:00
YUKI Hiroshi
475798dcb6 Output more debug messages 2016-01-20 11:37:14 +09:00
YUKI Hiroshi
9302255cf9 Handle keyboard events even if tab previews is activated 2016-01-15 15:21:57 +09:00
YUKI Hiroshi
a44d25c47b Simulate key release event only when the window is actually lost its focus 2016-01-15 15:18:46 +09:00
Piro / YUKI Hiroshi
551ce8d809 Disallow to enlarge the width of the tab bar over a half of the window 2015-11-30 01:44:24 +09:00
Piro / YUKI Hiroshi
3fa5aec658 Add reference counter implementation to detect memory leak 2015-11-10 03:00:43 +09:00
Piro / YUKI Hiroshi
b98fe4afbc Remove registered event listeners more completely 2015-11-10 02:14:23 +09:00
Piro / YUKI Hiroshi
4b32a22531 Remove registered event listeners more completely 2015-11-10 01:44:39 +09:00
YUKI Hiroshi
3cff4eb9ca Fix indent 2015-11-09 17:28:03 +09:00
YUKI Hiroshi
081acb238b Don't activate "tabs in titlebar" for OS X #983 2015-11-09 17:27:35 +09:00
Piro / YUKI Hiroshi
a6eb66c216 Activate "draw in titlebar" when the menubar is permanently shown #893
Because the special binding chrome://browser/content/customizableui/toolbar.xml#toolbar-drag works only when the "chromemargin" attribute is specified for the root element like "0,2,2,2". In other words, draggable UI elements don't work as expected for regular window.
2015-11-08 22:50:39 +09:00
YUKI Hiroshi
0ac67fcdff Update appearance of the tab bar by changes around the social sidebar #895 2015-11-06 14:36:54 +09:00
Piro / YUKI Hiroshi
d534c28a6d Use meaningful name for "tabs in titlebar" hack 2015-11-05 23:28:38 +09:00
Piro / YUKI Hiroshi
49dd724d0d Revert hacks for "tabs on top" partially.
It is still required to disable "tabs in titlebar".
2015-11-05 23:26:34 +09:00
YUKI Hiroshi
20afc67a68 Remove "isPopupWindow" utility.
Because it was used only by hacks for TabsOnTop.
2015-11-05 18:44:16 +09:00
YUKI Hiroshi
3bfa87f0e0 Remove obsolete hack for TabsOnTop 2015-11-05 18:44:03 +09:00
YUKI Hiroshi
d8f4a17873 Suppress "TypeError: this.formatAccessKey is not a function" error on startup 2015-11-05 17:39:14 +09:00
YUKI Hiroshi
c1d0047c1d Do nothing if rootElementObserver is not initialized yet 2015-11-05 17:08:24 +09:00
YUKI Hiroshi
983edcb17a Simply use Timer.jsm 2015-11-05 16:43:59 +09:00
Piro / YUKI Hiroshi
7ffc1f3b89 Don't activate "tabs on top" after toolbar customizations (See #968) 2015-11-04 23:21:42 +09:00
YUKI Hiroshi
d911e243c6 Open new search result tab as a child of the current tab, when a selection text is dragged and dropped to the searchbar.
This should fix the issue #884
2015-10-30 17:47:14 +09:00
YUKI Hiroshi
ee0937ee43 Get selection text from remote tab for context search.
This partially fixes the problem reported at #884
2015-10-29 12:17:08 +09:00
Piro / YUKI Hiroshi
8185bafaae Define global symbol which to be exported, by "var" instead of "const".
This should avoid the issue caused by new behavior of ES6 "const".
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1202902
2015-10-11 12:40:17 +09:00
Piro / YUKI Hiroshi
04b06ef084 Apply new pref value only for the topmost browser window smartly 2015-09-29 03:45:10 +09:00
YUKI Hiroshi
4ad032d55c Listen messages from the content process with single listener for the window, instead of separate listeners for each frame.
If we register listeners for each frame, they don't work after the type of related browser is changed between remote and in-process.
2015-03-13 16:37:02 +09:00
Piro / YUKI Hiroshi
aa375bea22 Detect opener tab more correctly when multiple tabs are opened at once from a remote tab #812
However, some cases are still not supported:

 * When the new tab has no referrer
 * When any opened tab has an URI same to the opener tab
2015-03-05 02:36:14 +09:00
Piro / YUKI Hiroshi
a6fe5e8fdb Set expanded width of the tab bar correctly 2015-03-04 01:34:24 +09:00
Piro / YUKI Hiroshi
2d8649735e Manage position of the tab bar for each window 2015-03-04 01:22:22 +09:00
Piro / YUKI Hiroshi
ff38e9587c Manage width and height of the tab bar for each window 2015-03-04 00:44:01 +09:00
Piro / YUKI Hiroshi
95c403efa0 Restore per-window auto hide mode correctly 2015-03-03 23:11:55 +09:00
YUKI Hiroshi
8a1e2f20fa Restore window's auto hide state with delay for safety 2015-03-03 20:49:00 +09:00
YUKI Hiroshi
480f3c4c6f Observe preference changes about autohide by the module itself 2015-03-03 20:01:03 +09:00
YUKI Hiroshi
af8a061ca1 Store and restore last autohide mode for each window 2015-03-03 19:45:44 +09:00
YUKI Hiroshi
a829f25bba Extract constant definitions to a shared base object 2015-03-03 19:16:27 +09:00
YUKI Hiroshi
cd46194bb0 Return boolean value for "isXXX" property 2015-03-03 19:10:35 +09:00
YUKI Hiroshi
b09881797a Allow to store zero and false values 2015-03-03 19:05:53 +09:00
YUKI Hiroshi
253e581173 Add utility methods to manage window values 2015-03-03 19:01:24 +09:00
Piro / YUKI Hiroshi
54b2c981b1 Fix too deep indent 2015-02-27 00:59:53 +09:00
Piro / YUKI Hiroshi
6352d57858 Remove deprecated JS1.7's let blocks 2015-02-27 00:59:31 +09:00