Commit Graph

3310 Commits

Author SHA1 Message Date
YUKI Hiroshi
e5171ea638 Fix mismatched variable name 2014-10-30 12:26:41 +09:00
YUKI Hiroshi
86b46c04cd Add a note for safely "contentWindow" access 2014-10-29 20:44:01 +09:00
YUKI Hiroshi
12cdd76f7e Detect targets for API calls about tab relations based on "browser" element, instead of "Window" objects 2014-10-29 20:36:12 +09:00
YUKI Hiroshi
b871d1ab4e Fix broken drag and drop of bookmarks on Firefox 35 and later 2014-10-22 14:51:02 +09:00
YUKI Hiroshi
61183f4be2 Add credit and bump maxVersion to 36.0a1 2014-10-22 13:43:10 +09:00
YUKI Hiroshi
e48cf4e38b Uniform coding style 2014-10-22 13:37:08 +09:00
YUKI "Piro" Hiroshi
8c6e28ea0d Merge pull request #777 from mnoorenberghe/nsIScrollBoxObject
Fix scrolling of tabs on Firefox 36
2014-10-22 13:26:40 +09:00
Matthew Noorenberghe
4ea8f31301 Fix scrolling of tabs on Firefox 36 2014-10-21 18:23:17 -07:00
Piro / YUKI Hiroshi
89337cfcdf Bump major version to 0.15 2014-10-22 03:02:05 +09:00
Piro / YUKI Hiroshi
9be3c3493d Flatten deeply nested "setTimeout()" 2014-10-22 03:00:12 +09:00
Piro / YUKI Hiroshi
e0a7e43b3c Flatten deeply nested "setTimeout()" 2014-10-22 02:57:45 +09:00
Piro / YUKI Hiroshi
f89d42db14 Free symbol after all accesses 2014-10-22 02:36:38 +09:00
Piro / YUKI Hiroshi
fe26d207ca Migrate from JSDeferred to ES6 Promise (Promise.jsm) 2014-10-22 02:28:19 +09:00
YUKI Hiroshi
4f43006773 Use latest JSDeferred (based on Official) 2014-10-21 21:44:13 +09:00
YUKI Hiroshi
b0b2305bd7 Output index of the "to be restored" tabs for debugging 2014-10-16 18:00:55 +09:00
YUKI Hiroshi
397894d678 Don't mark tab to be restored, if it is already restored 2014-10-16 18:00:37 +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
72ae666e12 Restore ancestor relation of tabs even if it is restored by "undo close tab" 2014-10-02 02:10:10 +09:00
Piro / YUKI Hiroshi
35aab258b8 Update the "to be restored" state only once.
Don't update the state again and again, because the tab is unexpectedly "restored" twice after I do "undo close tab"...
2014-10-02 00:57:17 +09:00
Piro / YUKI Hiroshi
db487f32bb Detect DOM instances by constructor function instead of XPCOM interface 2014-10-01 01:32:27 +09:00
Piro / YUKI Hiroshi
fc7f336c69 Detect window safely 2014-10-01 00:27:30 +09:00
Piro / YUKI Hiroshi
20e58a5b0b Update library 2014-10-01 00:23:08 +09:00
Piro / YUKI Hiroshi
b356bd2969 Bump maxVersion to 35.0a1 2014-09-30 23:28:02 +09:00
YUKI Hiroshi
eb42092e49 Use DOM constructor instead of XPCOM interface to detect DOM element 2014-09-30 21:19:33 +09:00
YUKI Hiroshi
2b4be0cdfc Update library 2014-09-30 21:11:12 +09:00
YUKI Hiroshi
1604e9f2d4 Update news topics 2014-09-30 20:14:43 +09:00
YUKI Hiroshi
09f43c8f84 Use LF instead of CRLF 2014-09-30 20:09:27 +09:00
YUKI Hiroshi
c595c8ba22 Restore tree structure with multiple trees from bookmarks correctly, even if the dummy tab is disabled. (#662) 2014-09-30 19:59:15 +09:00
YUKI Hiroshi
5e498bd0ac Use LF instead of CRLF 2014-09-30 19:48:58 +09:00
YUKI Hiroshi
db4d2bac2c Update cached "toBeRestored" state for TSTWindow#restoringTree and others 2014-09-30 17:06:49 +09:00
YUKI Hiroshi
b7389dd744 Remove duplicated check ror to-be-restored tab 2014-09-30 16:46:33 +09:00
YUKI Hiroshi
e3c589406d Output message for debugging around unexpected new child tab 2014-09-30 15:13:10 +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
YUKI Hiroshi
19d2ded9d1 Stringify saved value 2014-09-30 14:42:28 +09:00
YUKI Hiroshi
8fc1998fd4 Stringify saved value.
This is required to bypass type check introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=908440
2014-09-30 14:31:08 +09:00
YUKI "Piro" Hiroshi
8962230b0e Merge pull request #760 from Nephyrin/master
Fix treestyletab in multiprocess (e10s) firefox
2014-09-30 14:19:24 +09:00
John Schoenick
0cc0714723 Fix click hook for nesting new tabs in e10s mode 2014-08-27 16:17:00 -07:00
John Schoenick
8fa1d76281 Fix click->open link handler for bug 1050447/Fx 34 2014-08-27 16:17:00 -07:00
John Schoenick
b64986b292 Workaround for bug 1042680 issue #3 in e10s mode 2014-08-27 16:16:41 -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
fffcd3172f Fix typo 2014-07-03 02:06:10 +09:00
Piro / YUKI Hiroshi
dfe07b5894 Update history topics and bump maxVersion to 33.0a1 2014-07-03 00:02:48 +09:00
Piro / YUKI Hiroshi
579d926537 Get actual stored tab id correctly (#676) 2014-07-02 23:32:08 +09:00
Piro / YUKI Hiroshi
511a51dd7e Restore tab position for "Undo Close Tab" command correctly on Firefox 29 and newer versions (#676) 2014-07-02 23:02:53 +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
ca776a606f Get new position safely 2014-07-02 04:44:02 +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
b386b85bd3 Make the meaning of "tabsToRestore" clear 2014-07-02 02:27:26 +09:00
Piro / YUKI Hiroshi
a1ced64bfb Don't reassign a global variable. (fix #741)
With the preference "dom.compartment_per_addon"="true", updated gBrowserInit._delayedStartup cannot reassign a global variable defined by Firefox itself.
Accessing it as a property of the global object is not forbidden for now.
2014-06-30 01:48:51 +09:00