Commit Graph

289 Commits

Author SHA1 Message Date
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
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
fc32a2e31b Merge pull request #432 from saneyuki/getter
Change TreeStyleTabUtils.prefs to simple getter
2013-01-03 10:37:37 -08:00
Piro / YUKI Hiroshi
d7d988ee96 Fix syntax error 2013-01-04 01:34:08 +09:00
saneyuki_s
a7fc238e4e Move string bundles to TreeStyleTabUtils. 2013-01-03 11:08:25 +09:00
saneyuki_s
af929f6858 Change TreeStyleTabUtils.prefs to simple getter. 2013-01-02 05:57:37 +09:00
YUKI Hiroshi
22f8f1f6d2 Remove trailing "," in object literals 2012-10-24 01:39:30 +09:00
saneyuki_s
3e658380c9 Move some pref methods from TSTBase to TSTUtils. 2012-10-19 23:20:08 +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
saneyuki_s
f27cfc745a Rename to 'TreeStyleTabBase' from 'TreeStyleTabUtils'. 2012-09-27 15:40:14 +09:00
YUKI "Piro" Hiroshi
efa6a309f3 Merge pull request #367 from saneyuki/props
Remove some properties which returns Services.foo from TreeStyleTabUtils
2012-09-24 01:10:41 -07:00
Piro / YUKI Hiroshi
f9f346f522 Merge branch 'master' of github.com:piroor/treestyletab 2012-09-23 23:44:56 +09:00
Piro / YUKI Hiroshi
cfc8da1577 Failed to collect root tabs (regression, fix #375) 2012-09-23 23:44:06 +09:00
saneyuki_s
f05c10f5ef Fix the order of parameters. 2012-09-23 21:04:20 +09:00
saneyuki_s
a18738be8f Remove TreeStyleTabUtils.PromptService. 2012-09-23 18:39:34 +09:00
saneyuki_s
4a023989b9 Remove TreeStyleTabUtils.WindowMediator. 2012-09-23 18:39:34 +09:00
saneyuki_s
7aa69f4882 Remove TreeStyleTabUtils.Comparator. 2012-09-23 18:39:34 +09:00