Commit Graph

305 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
3a28f1ec49 Migrate configurations to simulate old behavior.
This is inspired from the discussion around https://twitter.com/piro_or/status/700004661227442177
2016-02-18 02:32:50 +09:00
YUKI Hiroshi
d9e13abd83 Redirect users to other vertical tab addons 2016-02-17 16:46:29 +09:00
YUKI Hiroshi
c3b170fe24 Add missing function 2016-02-17 16:24:28 +09:00
Piro / YUKI Hiroshi
1126c9f211 Output log more safely #1067 2016-02-15 23:45:58 +09:00
Piro / YUKI Hiroshi
0c213398f4 Describe why we don't use the actual width of the scrollbar directly 2016-02-13 01:52:30 +09:00
Piro / YUKI Hiroshi
6ca9f61115 Calculate style rules for narrow scroll bar more intelligently #240 2016-02-13 01:50:15 +09:00
Piro / YUKI Hiroshi
0a86767afb Update style rules for the narrow scroll bar when the tab bar becomes overflow 2016-02-13 01:11:44 +09:00
Piro / YUKI Hiroshi
6f53b64872 Fix mismatched references 2016-02-13 01:05:33 +09:00
Piro / YUKI Hiroshi
4d34bd48f7 Define size of narrow sidebar by pixels always 2016-02-13 01:02:43 +09:00
Piro / YUKI Hiroshi
573f1d179d Move some utilities from TSTBase to TSTUtils 2016-02-13 01:01:44 +09:00
YUKI Hiroshi
1267db34b7 Fix typo 2016-02-10 19:14:51 +09:00
YUKI Hiroshi
80b77a1001 Fix typo 2016-02-10 19:12:03 +09:00
YUKI Hiroshi
e531d8cd93 Output debug log to the browser console also 2016-02-10 19:10:46 +09:00
YUKI Hiroshi
120dc6b522 Get parent tab correctly 2016-02-10 17:45:49 +09:00
YUKI Hiroshi
49a025a1da Move utility to find tab browser from tab related element from TSTBase to TSTUtils 2016-02-10 17:44:10 +09:00
YUKI Hiroshi
fe7cf571f5 Move XPath related utilities from TSTBase to TSTUtils 2016-02-10 17:42:37 +09:00
YUKI Hiroshi
fdc472441b Move codes to override behaviors around bookmarks to a JS code module.
Moreover, it reduces use of eval.
2016-01-21 18:23:11 +09:00
YUKI Hiroshi
97e1ae2eb9 Restore backuped preference correctly 2016-01-19 18:55:31 +09:00
YUKI Hiroshi
ef5d21b413 Give up to disable browser.tabs.insertRelatedAfterCurrent 2016-01-19 17:47:18 +09:00
Piro / YUKI Hiroshi
991390d88f Export EXPORTED_SYMBOLS 2015-11-10 01:40:54 +09:00
Piro / YUKI Hiroshi
00d43f577c Remove obsolete code 2015-11-09 23:15:45 +09:00
Piro / YUKI Hiroshi
adc8a7e1ed Block to save TST specific internal attributes to the session data.
Unexpectedly persisted attributes automatically restored are cause many odd problems. We must block it.
2015-11-08 18:27:47 +09:00
Piro / YUKI Hiroshi
dbd94d4b62 Use getShortcutOrURIAndPostData() directly 2015-11-07 15:48:11 +09:00
YUKI Hiroshi
710ca20510 Migrate old misspelled preference 2015-11-06 15:50:11 +09:00
YUKI Hiroshi
de777e7ff2 Control debug prints via preferences 2015-10-26 16:32:31 +09:00
Piro / YUKI Hiroshi
f2e07bd5b7 Define constant objects with "var", not "const".
Objects defined with "const" cannot be exported by the method:

    let { SymbolName } = Cu.import("URL", {})

because variables defined with "const" are not stored as a property of the global object, at Firefox 44 and later.
2015-10-10 19:25:00 +09:00
Piro / YUKI Hiroshi
04b06ef084 Apply new pref value only for the topmost browser window smartly 2015-09-29 03:45:10 +09:00
Piro / YUKI Hiroshi
6352d57858 Remove deprecated JS1.7's let blocks 2015-02-27 00:59:31 +09:00
Piro / YUKI Hiroshi
3de030ce48 Report errors if TST fails to apply patch to Firefox's functions 2014-11-13 02:13:23 +09:00
YUKI Hiroshi
09f43c8f84 Use LF instead of CRLF 2014-09-30 20:09:27 +09: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
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
e7051b8856 Name to function 2014-03-31 14:54:56 +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
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
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
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
461a8aca98 Update credit 2013-11-10 04:28:07 +09:00
Tetsuharu OHZEKI
97637256a8 Use SessionStore.jsm only. 2013-11-06 22:46:25 +09:00
Piro / YUKI Hiroshi
032d36d28c Support getShortcutOrURIAndPostData() on Firefox 25 and later.
See also:
https://github.com/piroor/treestyletab/issues/524
https://bugzilla.mozilla.org/show_bug.cgi?id=846635
2013-07-27 03:47:53 +09:00
Piro / YUKI Hiroshi
51f0dcb960 Fix syntax error 2013-05-28 23:26:30 +09:00
YUKI Hiroshi
a17941500d Detect "to be restored" tab correctly 2013-05-28 16:14:31 +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
34d48370c4 Rename conflicting variable:
prefs =>
subTreePrefs
2013-01-15 23:00:19 +09:00
saneyuki_s
9e889c3e6d Remove setting TreeStyleTabUtils.__proto__. 2013-01-06 13:02:51 +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
665cb5668f Move TreeStyleTabBase.evalInSandbox() to TreeStyleTabUtils. 2013-01-04 12:39:58 +09:00