Commit Graph

856 Commits

Author SHA1 Message Date
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
YUKI Hiroshi
9e32fbe386 Update tabbar appearance correctly, after toolbar customiation (fix #728) 2014-05-19 19:25:38 +09:00
Piro / YUKI Hiroshi
8ba98a1059 Reduce use of mutation observers 2014-05-11 15:55:20 +09:00
Piro / YUKI Hiroshi
0df14f3989 Use "attributeFilter" for mutation observers 2014-05-11 15:41:43 +09:00
Piro / YUKI Hiroshi
5e777a6838 Don't hide the toolbox in the full screen mode, if "browser.fullscreen.autohide" is "false" 2014-05-11 04:51:07 +09:00
Infocatcher
aea4d110ec Fix typo: 'Transition' -> 'transition'
We still have 'MozTransition' in latest Firefox 32.0a1, so all should have working fine
2014-05-05 17:23:45 +04: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
9436957452 Don't update the size of the floating tab bar by "resize" event from another floating box.
This the compatibility issue with Unified Sidebar.
See: https://github.com/piroor/unifiedsidebar/issues/3
2014-05-01 15:44:06 +09:00
Piro / YUKI Hiroshi
e8826a01bd Follow to changes introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=989984 2014-05-01 00:47:14 +09:00
YUKI Hiroshi
f2dc08bc43 Fix wrong version numbers of Firefox 2014-04-17 20:05:05 +09:00
YUKI "Piro" Hiroshi
a92de60fd8 Clear wrong relation of duplicated tabs (#605) 2014-04-16 18:58:30 +09:00
YUKI "Piro" Hiroshi
6681a7cd44 Revert "Ignore already cleared redirection table (#605)"
This reverts commit bf576cfb75.
2014-04-16 18:47:11 +09:00
YUKI "Piro" Hiroshi
bf576cfb75 Ignore already cleared redirection table (#605) 2014-04-16 18:45:53 +09:00
YUKI "Piro" Hiroshi
97a06e85db Don't clear tab relations for correctly duplicated tabs (#605) 2014-04-16 18:41:46 +09:00
YUKI "Piro" Hiroshi
ed6fafb2ec Cleanup needless (wrong) tab relations correctly (#605) 2014-04-16 18:23:59 +09:00
YUKI "Piro" Hiroshi
66734bbfaf Ignore already removed tabs 2014-04-16 17:43:03 +09:00
YUKI "Piro" Hiroshi
b94b562446 Specify given tab correctly 2014-04-16 17:42:31 +09:00
YUKI "Piro" Hiroshi
7976852515 Fix missing ")" 2014-04-16 17:39:47 +09:00
YUKI "Piro" Hiroshi
5fccd33645 Clear tab relations based on redirected IDs, if they never been "restored" (#605) 2014-04-16 17:34:39 +09:00
YUKI "Piro" Hiroshi
6e3d43d24b Add "with delay" suffix 2014-04-16 17:19:17 +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
Piro / YUKI Hiroshi
d72978a364 Fix memory leak
See: https://github.com/piroor/fxaddonlib-inherit/issues/1
2014-04-05 03:15:24 +09:00
YUKI Hiroshi
d29444fa07 Update library 2014-04-03 12:21:16 +09:00
YUKI Hiroshi
626649c00c Update library 2014-04-02 19:38:32 +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
e7051b8856 Name to function 2014-03-31 14:54:56 +09:00
YUKI Hiroshi
29982f0522 Skip dirty hack on Firefox 29 and later 2014-03-31 14:54:39 +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
f58cd7a994 Restore tree structure on the startup correctly, with Firefox 28 2014-03-31 14:52:44 +09:00
Piro / YUKI Hiroshi
30d4bc82e5 Reduce indent 2014-03-29 02:19:06 +09:00
Piro / YUKI Hiroshi
2c603b7558 Don't do forEach loop twice 2014-03-29 02:18:44 +09:00
YUKI Hiroshi
4f80fb7f97 Update copyright year 2014-03-24 18:29:46 +09:00
YUKI Hiroshi
852177b49e Merge branch 'master' of github.com:piroor/treestyletab 2014-03-24 18:29:32 +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
84d4cb2002 Update copyright year 2014-03-12 22:27:35 +09:00
Piro / YUKI Hiroshi
5f3cddcf24 Fix syntax error 2014-03-12 22:27:20 +09:00
YUKI Hiroshi
5e7dc7684a Initialize CustomEvent correctly 2014-03-12 11:34:42 +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
YUKI Hiroshi
9a69cb5d1a Split prefs correctly 2014-03-11 11:51:32 +09:00
YUKI Hiroshi
9d1d964f74 Split preference fo different purpose 2014-03-11 11:09:28 +09:00
Piro / YUKI Hiroshi
67aa67a67f Detect number of "not restored yet" tabs on Firefox 29 and later correctly 2014-02-09 01:38:55 +09:00
Piro / YUKI Hiroshi
8a2989c03e Don't start dragging operation of the tab bar itself from a button which have its own popup menu (#656) 2014-02-09 01:06:35 +09:00