Commit Graph

3833 Commits

Author SHA1 Message Date
YUKI Hiroshi
59fa80adf1 Reduce using of eval() 2015-11-05 19:12:21 +09:00
YUKI Hiroshi
a029d82f18 Reduce use of eval() 2015-11-05 19:01:01 +09:00
YUKI Hiroshi
1d341ab3a0 Reduce use of eval() 2015-11-05 18:48:25 +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
d4dcefc75a Reduce use of eval() hack 2015-11-05 18:37:31 +09:00
YUKI Hiroshi
2afd90c96a Remove obsolete hack for XULBrowserWindow.hideChromeForLocation.
The method became obsolete by https://bugzilla.mozilla.org/show_bug.cgi?id=752434
2015-11-05 18:29:44 +09:00
YUKI Hiroshi
572c153337 Add news topics 2015-11-05 18:27:45 +09:00
YUKI Hiroshi
c01e26cfa7 Fix indent 2015-11-05 18:20:51 +09:00
YUKI Hiroshi
f6cf37c90c Remove obsolete code for too old Firefox.
SidebarUI is already available at Firefox 38.
2015-11-05 18:19:47 +09:00
YUKI Hiroshi
8fb3ce884e Update floating tab bar if the sidebar width is changed 2015-11-05 18:14:17 +09:00
YUKI Hiroshi
1f4458cb3a Fix indent 2015-11-05 18:11:56 +09:00
YUKI Hiroshi
8bfe8dfc2e Reposition the floating tab bar only when the sidebar is actually opened or closed 2015-11-05 18:11:28 +09:00
YUKI Hiroshi
296bae010f Output more debug print 2015-11-05 18:08:22 +09:00
YUKI Hiroshi
e219b479f2 Reposition the floating tab bar only when the window mode is really changed between normal and maximized 2015-11-05 18:06:25 +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
f7d4b970bd Output more debug information 2015-11-05 16:45:09 +09:00
YUKI Hiroshi
983edcb17a Simply use Timer.jsm 2015-11-05 16:43:59 +09:00
YUKI Hiroshi
5a9da781a8 Fix indent 2015-11-05 16:08:15 +09:00
YUKI Hiroshi
92e8912256 Dump more debug information 2015-11-05 16:00:32 +09:00
Piro / YUKI Hiroshi
25cbd7d718 Add news topics 2015-11-05 01:38:50 +09:00
Piro / YUKI Hiroshi
766e88bfbb Override max-width of toolbar button icons always #964 2015-11-05 01:31:38 +09:00
Piro / YUKI Hiroshi
86c376d73a Fix unexpectedly shrunken tab bar on OS X #964 2015-11-05 01:28:09 +09:00
Piro / YUKI Hiroshi
729ec1bdcc Update news topics 2015-11-05 00:11:19 +09:00
Piro / YUKI Hiroshi
67d5ba7ac8 Remove too much "0" 2015-11-04 23:37:03 +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
b417c45425 Detect tab from drag events more correctly 2015-11-04 11:58:44 +09:00
YUKI Hiroshi
e8941963d4 Update library 2015-11-04 11:45:08 +09:00
YUKI Hiroshi
0fbea3cfbf Fix indent 2015-11-04 11:44:53 +09:00
YUKI Hiroshi
1029b40e09 Follow to changes introduced by the bug 1207594.
The method "_setEffectAllowedForDataTransfer" was renamed to "_getDropEffectForTabDrag".
2015-11-04 11:43:54 +09:00
YUKI Hiroshi
f75443ce6f Fix indent 2015-11-02 16:15:48 +09:00
YUKI Hiroshi
7e5916cce5 Allow to update the size of the tab bar by other addons with the nsDOMTreeStyleTabTabbarRendered event 2015-11-02 16:14:46 +09:00
YUKI Hiroshi
050a87e108 Dispatch custom event to notify other addons that the tab bar is rendered by TST.
This event is required to fix the issue #938 with Unified Sidebar.
2015-11-02 16:01:35 +09:00
YUKI Hiroshi
809cc403c6 Clear "last mousedown target" after mouseup event at anywhere 2015-11-02 15:18:23 +09:00
YUKI Hiroshi
ac78634432 Hide the tab bar automatically after a tab is moved by drag-and-drop. 2015-11-02 15:06:44 +09:00
YUKI Hiroshi
b3211b64e2 Output more debug information 2015-11-02 14:43:27 +09:00
YUKI Hiroshi
5111cf446b Don't apply "auto hide" prefs for mismatched mode 2015-11-02 12:00:24 +09:00
YUKI Hiroshi
35927b1148 Shorten 2015-11-02 10:04:58 +09:00
Piro / YUKI Hiroshi
8b2af7ce6f Fix misplaced tab bar when I exit from the DOM fullscreen mode (#957) 2015-10-31 00:53:29 +09:00
Piro / YUKI Hiroshi
b11a175cbf Suppress error like TypeError: aEvent.target.getSelection is not a function 2015-10-31 00:11:16 +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
YUKI Hiroshi
baf96c545b Remove garbage 2015-10-29 11:01:55 +09:00
Piro / YUKI Hiroshi
036ca2a5d5 Hide toolbar related elements completely in the DOM fullscreen mode.
The "inDOMFullscreen" attribute is introduced at Firefox 36 by http://hg.mozilla.org/mozilla-central/rev/3aef39ca3919 and now TST supports only Firefox 38 and newer. So we should use it instead of my custom attribute.
2015-10-27 00:42:52 +09:00
Piro / YUKI Hiroshi
cfca590bc3 Fix wrong attribute name 2015-10-27 00:11:37 +09:00
YUKI Hiroshi
f0f3076629 Attach tabs from GM_openInTab after all tabs are opened.
Because Greasemonkey moves opened tabs to the bottom of the tab bar always, TST detaches the new child tab unexpectedly.
2015-10-26 19:05:49 +09:00
YUKI Hiroshi
ad15b22b39 Output more debug prints 2015-10-26 18:50:38 +09:00
YUKI Hiroshi
42c0bfa407 Indent stack trace 2015-10-26 18:50:27 +09:00
YUKI Hiroshi
4509c76e90 Rewrite hack for Greasemonkey (based on GM 3.5) 2015-10-26 17:47:05 +09:00