tern-def-tbext v1.45.0
tern-def-tbext
At ver 0.1.0, webextensions-desktop-nightly.json
is included.
since ver 1.0.0, that file is droped, because it is irrelevant.
- Thunderbird extension definition files for tern.
- for completion
- Thunderbird WebExtension APIs
- all things are rough.
- this does not include any URL of online doc for Thunderbird extension (MDN does not support. comment)
- npm package provides definition-file.
- distilled from comm-central and mozilla-central repositories.
how to use with tern
I confirmed only with vim. install tern-for-vim
and add to project's .tern-project
file.
This package include a definition-file.
{
"libs": [
"browser",
"node_modules/tern-def-tbext/defs/tbext-nightly"
]
}
make definition files
$ npm run build -- --mozilla-repo /path/to/mozilla --comm-repo /path/to/comm
This create only tbext-nightly.json
definition-file.
Notice
Since ver. 1.1.1, --mozilla-repo
is necessary to include Firefox APIs.
(At 2019-04-11) You will see following error messages, but no problem.
> tern-def-tbext@1.5.0 build X:\path\to\tern-def-tbext
> node build.js "--mozilla-repo" "x:/repository/mozilla-central" "--comm-repo" "x:/repository/mozilla-central/comm"
"--shrink"
(API: commAPI, Schema Name: commands): Error: ENOENT: no such file or directory, open 'x:\repository\mozilla-central\comm\mail\components\extensions\schemas\commands.json'
(API: commAPI, Schema Name: geckoProfiler): Error: ENOENT: no such file or directory, open 'x:\repository\mozilla-central\comm\toolkit\components\extensions\schemas\geckoProfiler.json'
WARN:split over some files menus
Problem:dup at menus !doc
(API: commAPI, Schema Name: pkcs11): Error: ENOENT: no such file or directory, open 'x:\repository\mozilla-central\comm\mail\components\extensions\schemas\pkcs11.json'
use not nightly
In case of that you would like to use beta.
$ npm run build -- --mozilla-repo /path/to/mozilla-beta --comm-repo /path/to/comm-beta --channel beta
This create tbext-beta.json
.
--channel
option only effects to filename.
Using this option is for switching files specified within .tern-project
.
If you don't need to switch, there is no need for this option.
License
MPL-2.0.
npm package includes json files. These contains contents which come from
json schema files of comm-central repository.
Some ones are under 3-Clause BSD License, others are under MPL-2.0 License.
Both are in License
directory.
Release Notes
- 0.1.0 initial release.
- 1.0.0
webextensions-desktop-nightly.json
is droped. - 1.1.0
browser.compose
1.1.1 fix: add Firefox APIs.
- contentScripts
- experiments
- extension
- i18n
- management
- permissions
- pkcs11
- runtime
- theme
1.2.0 geckoProfiler
- 1.3.0 fix: pick up
getTargetElement()
of menus API. fix: the place ofcommands
API files changed. 1.4.0 new functions
browser.accounts.createSubfolder()
browser.accounts.renameFolder()
browser.accounts.deleteFolder()
1.5.0 new function
browser.contacts.quickSearch()
1.6.0 new function
browser.messages.archive()
1.7.0 new API
folders
and permissionaccountsFolders
MailFolder
move fromaccounts
tofolders
browser.accounts.createSubolder
etc. move tobrowser.folders
1.8.0 new arg
id
ofcontacts.create()
- 1.9.0 new property
mailTabs.QuickFilterTextDetail
- 1.10.0 New:
query()
function ofmessages
API 1531317 - 1.11.0 New:
getProfileAsGzippedArrayBuffer()
function ofgeckoProfiler
API 1551992 - 1.12.0 New:
dumpProfileToFile()
ofgeckoProfiler
API 1552845 - 1.13.0 New:
messageDisplay
API 1575708 - 1.14.0 New:
messageDisplayAction
API 1531597 1.15.0
1.16.0 New:
getRaw()
ofmessages
API 1525274- 1.17.0 New:
subFolders
offolders.MailFolder
1606584 - 1.18.0 New:
onBeforeSend()
ofcompose
API 1532528 1.19.0
- New:
getComposeDetails()/setComposeDetails
ofcompose
API 1590121 - fix: failed to include many top level definitions
- New:
2020-02-09 (NO RELEASE) New permission
compose
16135622020-02-11 (NO RELEASE. This project does not handle the details of arguments of each function.)
2020-02-20 1.20.0
- New:
tabId
argument ofonBeforeSend()
ofcompose
API / New:tabId
argument ofonClicked()
ofcomposeAction
API 1615934
- New:
2020-02-25 1.21.0 Change and New: argument of some functions;
onClicked()
ofbrowserAction
,onBeforeSend()
ofcompose
,onClicked()
ofcomposeAction
,onClicked()
ofmessageDisplayAction
16175142020-03-10 1.22.0
2020-03-28 1.23.0 New:
setDefaultIdentity()
ofaccounts
API 15315932020-04-01 New:
details
argument ofbeginReply()
ofcompose
API- 2020-10-26 very many changes from April To October.
This may fail to handle informations about
mail/components/extensions/schemas/extensionScripts.json
. - 2020-11-28 1.25.0 New:
setLabel()
andgetLabel()
ofbrowser_action
,compose_action
, andmessage_display_action
1583478 - 2020-11-28 1.26.0 New:
openDefaultBrowser()
ofwindows
1664708 2020-12-10 1.27.0
- New:
getDefault()
andgetDefaultIdentity()
ofaccounts
API 1681141 - New schema file:
toolkit/components/extensions/schemas/browsing_data.json
- New:
2021-02-04 1.27.1 fix: some APIs are not included
- 2021-02-23 1.28.0 New:
type
property ofComposeDetails
ofcompose
API 1677062 - 2021-02-26 No Release: only docstring 1681131
- 2021-03-05 1.29.0 Modified: arguments of
onShown()
andonClicked()
ofmenus
API 1625746 - 2021-03-05 1.30.0 New:
from
property of argument of functions ofcompose
API;beginNew()
,beginReply()
,beginForward()
,setComposeDetails()
,onBeforeSend()
. 1691253 - 2021-03-11 1.31.0 New:
listAttachments()
andgetAttachmentFile()
ofmessages
API 1550960 - 2021-03-13 No Release: only docstring 1697743
2021-04-06 1.32.0 New:
get()
andgetCurrent()
ofmailTabs
API 1698306Modified: new argument
callback
forquery()
andgetSelectedMessages()
2021-04-08 1.33.0 1703276
- Modified: new argument
callback
forlist()
,get()
,getDefault()
andgetDefaultIdentity()
ofaccounts
API - Modified: new argument
callback
forlist()
,get()
,create()
ofaddressBooks
API - Modified: new argument
callback
forisEnabled()
ofbrowserAction
API - Modified: new argument
callback
forgetAccount()
,getAllAccounts()
,updateAccount()
ofcloudFile
API - Modified: new argument
callback
forbeginNew()
,beginReply()
,beginForward()
andgetComposeDetails()
ofcompose
API
Removed:
get()
andgetCurrent()
ofmailTabs
API in 1.32.0- Modified: new argument
2021-04-09 1.34.0 New(again):
get()
andgetCurrent()
ofmailTabs
API 16983062021-04-18 1.35.0 New:
fieldId
foronShown()
andonClicked()
ofmenus
API 16565062021-04-30 No Update 1708187
2021-05-22 No Update: property of
details
argument ofbrowserAction.setIcon()
, or so. 17120582021-05-28 1.36.0 New:
sendMessage()
,getComposeState()
andonComposeStateChanged()
ofcompose
API 16996722021-06-14 No Update 1605937
2021-06-18 1.37.0 New:
identity
API. 10 functions. 16426902021-06-25 1.38.0 New:
provider.onSearchRequest()
ofaddressBooks
API 16707522021-07-02 1.39.0 New:
onUpdated()
,onMoved()
,onCopied()
,onDeleted()
ofmessages
API 16276042021-07-06 No Update 1719091
2021-07-08 No Update 1616114
2021-07-08 1.40.0 Modified: new
tab
argument foronFileUpload()
,onFileUploadAbort()
,onFileDeleted()
ofcloudFile
API 16743742021-07-13 1.41.0 Removed:
accountsFolders
permissionviewType
property for callback function ofquery()
,get()
,getCurrent()
ofmailTab
API. 1719093includeFolders
argument oflist()
,get()
,getDefault()
ofaccounts
API.- And change in arguments of
create()
offolders
API. - And New:
getParentFolders()
,getSubFolders()
offolders
API. And
accountsFolders
permission was removed from manifest-widepermissions
array. 1520427maybe nothing. 1719908
2021-07-14 1.42.0 1719813
- Modified: argument of
quickSearch()
ofcontacts
API. remote
property for many functions.list()
,get()
,onCreated()
,onUpdated()
ofaddressBooks
API.- Contact information of
contacts
API and others. - MailingLists information of
mailingLists
API and others.
- Modified: argument of
maybe completion fails for
addressBooks.provider.onSearchRequest()
.2021-07-20 1.43.0 New:
type
property oftab
object, for many place. 17206622021-07-21 1.44.0 New: many for
folders
API. 1708644- New callback argument for
create()
,rename()
- New functions.
move()
,copy()
,getFolderInfo()
"onFolderInfoChanged": { onCreated()
,onRenamed()
,onMoved()
,onCopied()
,onDeleted()
,()
- New callback argument for
2021-08-27 1.45.0 New:
resetScrollPosition
property of argument ofcaptureTab()
andcaptureVisibleTab()
oftabs
API. 1708403
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago