xinkai
249c9b6287
wiew
should be view
.
...
This typo causes TST unable to reshow the tabs after FF exiting full-screen mode.
2014-11-16 13:18:14 +08:00
YUKI Hiroshi
ee8918e460
Merge branch 'master' of github.com:piroor/treestyletab
2014-10-30 12:27:26 +09:00
YUKI Hiroshi
e5171ea638
Fix mismatched variable name
2014-10-30 12:26:41 +09:00
Piro / YUKI Hiroshi
9c2a175e6a
Find <tabbrowser> from <browser> correctly
2014-10-30 06:20:44 +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
Piro / YUKI Hiroshi
fe26d207ca
Migrate from JSDeferred to ES6 Promise (Promise.jsm)
2014-10-22 02:28:19 +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
e3c589406d
Output message for debugging around unexpected new child tab
2014-09-30 15:13:10 +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
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
YUKI Hiroshi
fd6c08937a
Use Object.create to create subclasses
2014-04-02 19:25:51 +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
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
c91ffcac54
Remove codes for outdated versions of Firefox
2014-01-30 12:36:36 +09:00
Piro / YUKI Hiroshi
7f3fdb1ab1
Remove codes for "replace current one tab".
...
Because it was removed on Firefox 8. These codes are already expired.
2014-01-29 01:35:13 +09:00
Piro / YUKI Hiroshi
1198defd82
Detect drop position on pinned tabs correctly ( #585 )
...
This is partial fix.
2013-11-28 04:30:10 +09:00
YUKI Hiroshi
1322154117
Use single quotation
2013-11-19 19:13:38 +09:00
Piro / YUKI Hiroshi
8b77d49cca
Fix path to AeroPeek module
2013-11-13 02:19:24 +09:00
Piro / YUKI Hiroshi
56d8b32ab7
Avoid error for undefined symbol "AeroPeek"
2013-11-13 02:18:27 +09:00
Piro / YUKI Hiroshi
2bfa8d7f4a
Revert "Use SessionStore.jsm only."
...
This reverts commit 97637256a8
.
This fixes a breakage of session restoration behaviors. The public symbol "SessionStore" doesn't have "TabRestoreStates", it is not exported.
2013-11-13 02:15:55 +09:00
Piro / YUKI Hiroshi
765b0d2e9f
Report and ignore error from changes of Scriptish_openInTab
2013-11-10 14:01:06 +09:00
Piro / YUKI Hiroshi
461a8aca98
Update credit
2013-11-10 04:28:07 +09:00
Piro / YUKI Hiroshi
a0b26441bf
Fix breakage of *Now APIs
2013-11-10 04:16:29 +09:00
Piro / YUKI Hiroshi
5676165ebe
Fix breakage of hooked tabModule.Scriptish_openInTab
2013-11-10 04:16:21 +09:00
Tetsuharu OHZEKI
b779d9306a
Remove needless access to 'arguments'.
2013-11-10 04:16:14 +09:00
Tetsuharu OHZEKI
ee1eec680d
Use ES6 Rest parameters.
2013-11-10 04:15:23 +09:00
Tetsuharu OHZEKI
97637256a8
Use SessionStore.jsm only.
2013-11-06 22:46:25 +09:00
Tetsuharu OHZEKI
5991114c47
Use Services.focus.
2013-11-06 22:11:15 +09:00
YUKI Hiroshi
e7637b55dc
Merge branch 'timer' of git://github.com/saneyuki/treestyletab
...
Conflicts:
install.rdf
2013-11-05 10:56:05 +09:00
Tetsuharu OHZEKI
b7ee2cf847
Use Timer.jsm in module/base.js
2013-11-04 00:43:52 +09:00
YUKI Hiroshi
f0e71741a1
Break lines after condition block of "if" statements
2013-09-17 18:17:20 +09:00
YUKI Hiroshi
e80560034b
Use "&" instead of ";" as the separator of URL parameters
2013-08-21 17:36:12 +09:00
YUKI Hiroshi
c22c03186f
Open temporary group tabs with "temporary=true" parameter
2013-08-21 13:35:26 +09:00
YUKI Hiroshi
4fe157dec2
Detect temporary group tabs ignoring session history
2013-08-21 13:08:56 +09:00
YUKI Hiroshi
2cd526253e
Detect temporary group tab correctly
2013-08-21 13:05:18 +09:00
YUKI Hiroshi
163b14646d
Close needless group tabs automatically if they are temporary
2013-08-21 12:53:36 +09:00
YUKI Hiroshi
db4cd9b6f1
Revert "Don't close the window with the last group tab, if the last child of the group is closed. ( #537 )"
...
This reverts commit 63a72c9e62
.
2013-08-21 12:20:12 +09:00
Piro / YUKI Hiroshi
63a72c9e62
Don't close the window with the last group tab, if the last child of the group is closed. ( #537 )
...
This behaviour can be disabled (and get the old behaviour) by setting the preference "extensions.treestyletab.autoRemoveNeedlessGroupTab.lastTab" to "true".
2013-08-21 03:42:50 +09:00
Infocatcher
b2365f075d
Correctly detect group tabs
...
Testcase: about:blank?about:treestyletab-group
2013-06-13 10:02:22 +04:00
YUKI Hiroshi
a17941500d
Detect "to be restored" tab correctly
2013-05-28 16:14:31 +09:00
YUKI Hiroshi
8b8b048138
Add notation for an obsolete method
2013-05-28 16:04:58 +09:00
YUKI Hiroshi
096830cf22
Don't use __SS_restoreState (See https://bugzilla.mozilla.org/show_bug.cgi?id=867142 )
2013-05-28 15:43:37 +09:00
Piro / YUKI Hiroshi
28a2880fb6
Change prefix for name of method functions of TSTBase
...
utils_ =>
TSTBase_
2013-03-06 02:56:29 +09:00
Piro / YUKI Hiroshi
cc72b2ebfc
Rename generic method to open new related tab with specified behavior
...
handleNewTabCommand =>
readyToOpenRelatedTabAs
2013-03-06 02:54:04 +09:00
Piro / YUKI Hiroshi
aa5b1339e5
Open new tab from the current tab as a sibling correctly
2013-03-06 02:51:17 +09:00
Piro / YUKI Hiroshi
f8b994eb26
Define handleNewTabFromCurrent and handleNewTabCommand as methods of both TSTWindow and TSTBrowser (for future changes to open related tab from the current tab from TSTBrowser)
2013-03-06 02:40:18 +09:00
Piro / YUKI Hiroshi
a1dd914a09
TreeStyleTabBase should not inherit "prefs" (part 2)
2013-01-06 11:56:20 +09:00
Piro / YUKI Hiroshi
8d845095f7
Split definitions of constant properties from TreeStyleTabBase
2013-01-06 11:50:55 +09:00
Piro / YUKI Hiroshi
72d38659d8
TreeStyleTabBase should not inherit "prefs"
2013-01-06 11:47:50 +09:00
saneyuki_s
620cce867f
Move TreeStyleTabBase.migratePrefs() to TreeStyleTabUtils .migratePrefs().
2013-01-06 02:36:29 +09:00
saneyuki_s
205a1f884c
Change TreeStyleTabBase.SessionStore simply.
2013-01-06 01:52:47 +09:00
Piro / YUKI Hiroshi
97e6f930d9
Refer "prefs" instead of "window['...'].prefs" to load depending modules
2013-01-06 00:31:43 +09:00
saneyuki_s
6a26ea6f7e
Add the constant to cache 'Components.utils' to modules/base.js.
2013-01-05 02:44:01 +09:00
Piro / YUKI Hiroshi
62d35c49af
Sectionize codes by STED (Structured Text Editor)
2013-01-04 15:30:08 +09:00
Piro / YUKI Hiroshi
75fdc626b5
Remove codes for Firefox 9 and older versions
2013-01-04 15:17:22 +09:00
saneyuki_s
e06bbe785d
Change the loading point of jsdeferred.js.
2013-01-04 13:07:32 +09:00
saneyuki_s
ce9bd03e3c
Load namespace.jsm & pref.js as lazy getter.
2013-01-04 13:06:20 +09:00
saneyuki_s
6361cd71a1
Simple loading Services.jsm.
2013-01-04 13:04:02 +09:00
saneyuki_s
94d46878fa
Add the simple getter 'TreeStyleTabBase.AeroPeek' & Remove TreeStyleTabBase.updateAeroPeek().
2013-01-04 12:59:45 +09:00
saneyuki_s
efd07b5e7e
Remove modules/lib/boxObject,js.
...
At this time, this module is not used in this addon.
2013-01-04 12:46:28 +09:00
saneyuki_s
9921ea2246
Remove TreeStyleTabBase.getBoxObjectFor().
...
At this time, this method is not used in this addon.
2013-01-04 12:44:29 +09:00
saneyuki_s
665cb5668f
Move TreeStyleTabBase.evalInSandbox() to TreeStyleTabUtils.
2013-01-04 12:39:58 +09:00
saneyuki_s
c732e5e280
Not setting '.override' pref when uninstall/diasble this addon.
2013-01-04 02:57:38 +09:00
YUKI "Piro" Hiroshi
f914c5cc72
Merge pull request #435 from saneyuki/string
...
Move string bundles to TreeStyleTabUtils
2013-01-03 08:24:27 -08:00
saneyuki_s
a7fc238e4e
Move string bundles to TreeStyleTabUtils.
2013-01-03 11:08:25 +09:00
saneyuki_s
b4ee0ed4ff
Split restoring some prefs which are handled in modules/base.js.
2013-01-03 10:04:09 +09:00
YUKI Hiroshi
5718fef495
Collapse/hide the tab bar automatically even if the webpage includes any plugin area
...
Logic A) Tab bar autohide is intentionally blocked by opened popup because the tab bar should not be hidden while you open a context menu on the tab bar.
Logic B) On the other hand, TST shows hidden popup on the content area if the webpage includes any plugin area, because Firefox cannot receive mousemove events on plugin areas.
As the result, the hidden popup unexpectedly blocked to hide the tab bar... The popup for the logic B must be ignored by the logic A.
2012-12-05 11:35:37 +09:00
YUKI Hiroshi
1d2566765d
Define minimum width/height of the tab bar and restore it on the startup (so, if you accidentaly get too narrow tab bar, it will be fixed in the next startup: workaround for #380 )
2012-12-03 21:41:12 +09:00
Piro / YUKI Hiroshi
5f59ddb19d
Unify extensions.treestyletab.animation.enabled to browser.tabs.animate
2012-11-28 03:34:57 +09:00
Piro / YUKI Hiroshi
5b07dc8a65
Open new tabs from Linky as child tabs of the current tab even if they are opened vi a dialog ( fix #411 )
2012-11-26 02:18:23 +09:00
Piro / YUKI Hiroshi
450fa34790
Simplify codes to load modules lazily
2012-11-11 22:48:42 +09:00
YUKI Hiroshi
c0e9280444
Shorten "TSTUtils" to "utils" (because they are already in the context)
2012-10-24 01:43:56 +09:00
saneyuki_s
3e658380c9
Move some pref methods from TSTBase to TSTUtils.
2012-10-19 23:20:08 +09:00
Piro / YUKI Hiroshi
9182259ab5
Update credit
2012-10-14 03:31:06 +09:00
Piro / YUKI Hiroshi
d66b7083d2
Add line breaks for dynamic patches
2012-10-13 02:24:02 +09:00
Piro / YUKI Hiroshi
cefa9b52fa
Calculate actual tab position for Firefox 16 and olders
2012-10-13 00:41:03 +09:00
Piro / YUKI Hiroshi
4d19cd75c6
Process animation effect for dragged tabs correctly
2012-10-13 00:37:03 +09:00
YUKI Hiroshi
83626af553
Reduce use of <![CDATA[ ... ]]>
2012-10-12 16:46:37 +09:00
saneyuki_s
f4340866c0
Rename the file name to modules/base.js from modules/utils.js .
2012-09-27 15:46:51 +09:00