Commit Graph

662 Commits

Author SHA1 Message Date
saneyuki_s
e33409fb9a Freeze TreeStyleTabConstants.
We treat this as constants.
2013-01-06 12:12:35 +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
Piro / YUKI Hiroshi
04471a3f3a Fix typo 2013-01-06 11:22:53 +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
94067b8bf8 Add the constant to cache 'Components.utils' to modules/utils.js. 2013-01-04 12:32:05 +09:00
YUKI "Piro" Hiroshi
05dd8078b3 Merge pull request #437 from saneyuki/pref
Not setting '.override' pref when uninstall/diasble this addon
2013-01-03 18:06:23 -08:00
YUKI "Piro" Hiroshi
fc32a2e31b Merge pull request #432 from saneyuki/getter
Change TreeStyleTabUtils.prefs to simple getter
2013-01-03 10:37:37 -08:00
saneyuki_s
c732e5e280 Not setting '.override' pref when uninstall/diasble this addon. 2013-01-04 02:57:38 +09:00
Piro / YUKI Hiroshi
d7d988ee96 Fix syntax error 2013-01-04 01:34:08 +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
saneyuki_s
e32cb52068 Merge branch 'uninstall' into pref2
Conflicts:
	modules/window.js
2013-01-03 10:01:03 +09:00
saneyuki_s
ab170f086c Fix to fail loading module. 2013-01-03 09:59:43 +09:00
saneyuki_s
9cc3f04f14 Load UninstallationListener.js as JS code modules. 2013-01-03 09:56:57 +09:00
saneyuki_s
d2ee91b604 Use Function.bind() instead of 'self'. 2013-01-03 09:07:55 +09:00
saneyuki_s
cec873a303 Define 'prefs' as lazy getter in modules/window.js 2013-01-03 09:06:21 +09:00
saneyuki_s
af929f6858 Change TreeStyleTabUtils.prefs to simple getter. 2013-01-02 05:57:37 +09:00
saneyuki_s
5042651b81 Restore the backuped user pref when this addon is disabled or removed. 2013-01-02 04:46:26 +09:00
saneyuki_s
92d98ba51b Fix typo. 2013-01-02 04:46:26 +09:00
YUKI Hiroshi
4797ddfb6b Don't raise error while dragging of non-tab objects over the tab bar 2012-12-21 13:56:46 +09:00
Piro / YUKI Hiroshi
175286eba2 Update codes for MutationObserver.
XPIDL style callback is no longer supported, so we have to use callback function based on Web IDL.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=790978 and https://developer.mozilla.org/en-US/docs/DOM/MutationObserver)
2012-12-20 04:03:05 +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
f97f25c9e6 Fallback to another method to find tabs by coordinates correctly 2012-12-04 12:32:40 +09:00
Piro / YUKI Hiroshi
196bb1e93c Calculate drop position correctly (fix https://github.com/piroor/treestyletab/issues/399#issuecomment-10961365) 2012-12-04 02:04:06 +09:00
Piro / YUKI Hiroshi
5e09e88bb2 Operate drag and drop of pinned tabs more correctly 2012-12-04 01:40:31 +09:00
Piro / YUKI Hiroshi
8e37edc535 find tab from screen coordinates more quickly 2012-12-04 01:16:20 +09:00
Piro / YUKI Hiroshi
8511c0e9ce Operate dragging of pinned tabs (not faviconized) correctly 2012-12-04 00:28:23 +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
YUKI Hiroshi
b38c6f8066 Optimize to collect "not dragged" tabs 2012-11-30 03:21:56 +09:00
YUKI Hiroshi
da462ef098 Fix behaviors around dragging of multiple tabs 2012-11-30 03:03:59 +09:00
YUKI Hiroshi
fa893b9801 Change the algorythm to find tab from coordinate based on _animateTabMove 2012-11-30 00:58:47 +09:00
YUKI Hiroshi
18d4fec990 Fix wrong dragging animations of pinned tabs in the vertical tab bar 2012-11-28 18:49:03 +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
YUKI Hiroshi
8a490b0f12 Update credits 2012-11-21 11:06:11 +09:00