Commit Graph

144 Commits

Author SHA1 Message Date
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
YUKI Hiroshi
97a87d0b1a Remove obsolete "stopRendering" module 2014-11-11 18:58:31 +09:00
Piro / YUKI Hiroshi
fe26d207ca Migrate from JSDeferred to ES6 Promise (Promise.jsm) 2014-10-22 02:28:19 +09:00
Piro / YUKI Hiroshi
e62cd87bff Open new tabs from target="_blank" links as children of the current tab, when e10s is enabled. 2014-10-02 02:51:43 +09:00
Piro / YUKI Hiroshi
db487f32bb Detect DOM instances by constructor function instead of XPCOM interface 2014-10-01 01:32:27 +09:00
YUKI Hiroshi
09f43c8f84 Use LF instead of CRLF 2014-09-30 20:09:27 +09:00
YUKI Hiroshi
af6e5d0ba7 Don't open new tab from Ctrl-T as a new tab from content link 2014-09-30 15:12:29 +09:00
YUKI Hiroshi
a9f1f8a86d Fix mismatched function name 2014-09-30 15:01:44 +09:00
John Schoenick
0cc0714723 Fix click hook for nesting new tabs in e10s mode 2014-08-27 16:17:00 -07:00
Piro / YUKI Hiroshi
503803c076 Drop support for Firefox 30 or older versions.
Because Firefox 31 becomes new ESR.
2014-07-27 02:44:23 +09:00
Piro / YUKI Hiroshi
66eb630cdf Revert "Read value of custom attributes of tabs via TSTBase.getTabAttribute() safely."
This reverts commit f4fb6174d2.

This change breaks other features...
2014-07-02 04:44:43 +09:00
Piro / YUKI Hiroshi
f4fb6174d2 Read value of custom attributes of tabs via TSTBase.getTabAttribute() safely.
Tab's ID and other attributes saved via setTabValue is not available before the tab is completely restored.
As the result, TST sometimes fail to restore tab positions. (See: #676)
This issue doesn't happen on Firefox 24ESR, because recent Firefox (29 and later) uses message manager to restore tabs and it causes such "delay" of initializations about custom attributes.
2014-07-02 04:29:49 +09:00
Piro / YUKI Hiroshi
22a635e8d9 Allow "tabs in titlebar" if Tabs On Bottom addon is installed 2014-05-05 17:46:29 +09:00
YUKI Hiroshi
f2dc08bc43 Fix wrong version numbers of Firefox 2014-04-17 20:05:05 +09:00
YUKI Hiroshi
32feaa2d8c Fix missing message for closing multiple tabs correctly 2014-04-14 14:37:57 +09:00
YUKI Hiroshi
e7ac5542e5 Fix typo 2014-04-14 14:31:35 +09:00
YUKI Hiroshi
c2d37f721f Show a confirmation dialog for browser.tabs.warnOnClose correctly on Firefox 29 and later 2014-04-14 14:29:11 +09:00
YUKI Hiroshi
fd6c08937a Use Object.create to create subclasses 2014-04-02 19:25:51 +09:00
Piro / YUKI Hiroshi
84640a12ca Allow "tabs in titlebar" feature if Classic Theme Restorer is installed (#674)
https://addons.mozilla.org/firefox/addon/classicthemerestorer/
2014-04-02 03:43:42 +09:00
YUKI Hiroshi
482bab417b Use String#trim() instead of String#replace() 2014-03-31 15:10:51 +09:00
YUKI Hiroshi
a112fffe09 Change line breaks 2014-03-31 14:56:44 +09:00
YUKI Hiroshi
0a0a4003b5 Restore tree structure on the startup correctly, with Firefox 29 and later 2014-03-31 14:54:14 +09:00
YUKI Hiroshi
4f80fb7f97 Update copyright year 2014-03-24 18:29:46 +09:00
YUKI Hiroshi
7bdd9eed23 Open new tabs from "search by" in the context menu correctly, even if the selection includes line breaks or the selection is too long. (fix #671) 2014-03-24 18:27:45 +09: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
Piro / YUKI Hiroshi
c68d85c617 Collapse the tab bar expanded by long-press of the Ctrl key automatically, when a new window is opened (#654) 2014-02-07 00:40:23 +09:00
YUKI Hiroshi
b3382623dd Detect visibility of the tab bar more robustly 2014-02-03 17:14:38 +09:00
YUKI Hiroshi
081c0dd34b Disable "draw in titlebar" feature for non-popup windows 2014-01-31 22:02:33 +09:00
Piro / YUKI Hiroshi
9494634235 Better compatibility with Nav Bar on Title Bar addon #620
https://addons.mozilla.org/firefox/addon/nav-bar-on-title-bar/
2013-12-06 18:10:54 +09:00
Piro / YUKI Hiroshi
5587ca68c6 Handle sizemode change by MutationObserver 2013-12-01 01:09:05 +09:00
Piro / YUKI Hiroshi
fcd1b04aa2 Remove legacy codes before "beforecustomization" and "aftercustomization" are landed 2013-11-29 01:43:43 +09:00
Piro / YUKI Hiroshi
a431551eed Remove codes for "tabs in titlebar" #611 2013-11-29 01:22:18 +09:00
Piro / YUKI Hiroshi
fa7ae93db0 Disallow "tabs in titlebar" when the tab bar is not shown on the top (for Australis) 2013-11-28 05:02:39 +09:00
Piro / YUKI Hiroshi
6fb5b1a0e3 Activate "tabs in titlebar" mode only when the menubar is hidden 2013-11-21 00:01:39 +09:00
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