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.
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"
]
}
$ npm run build -- --mozilla-repo /path/to/mozilla --comm-repo /path/to/commThis 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.
> [email protected] 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'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 betaThis 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.
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.
-
0.1.0 initial release.
-
1.0.0
webextensions-desktop-nightly.jsonis 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 ofcommandsAPI 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
foldersand permissionaccountsFoldersMailFoldermove fromaccountstofoldersbrowser.accounts.createSubolderetc. move tobrowser.folders
-
1.8.0 new arg
idofcontacts.create() -
1.9.0 new property
mailTabs.QuickFilterTextDetail -
1.10.0 New:
query()function ofmessagesAPI 1531317 -
1.11.0 New:
getProfileAsGzippedArrayBuffer()function ofgeckoProfilerAPI 1551992 -
1.12.0 New:
dumpProfileToFile()ofgeckoProfilerAPI 1552845 -
1.13.0 New:
messageDisplayAPI 1575708 -
1.14.0 New:
messageDisplayActionAPI 1531597 -
1.15.0
-
1.16.0 New:
getRaw()ofmessagesAPI 1525274 -
1.17.0 New:
subFoldersoffolders.MailFolder1606584 -
1.18.0 New:
onBeforeSend()ofcomposeAPI 1532528 -
1.19.0
- New:
getComposeDetails()/setComposeDetailsofcomposeAPI 1590121 - fix: failed to include many top level definitions
- New:
-
2020-02-09 (NO RELEASE) New permission
compose1613562 -
2020-02-11 (NO RELEASE. This project does not handle the details of arguments of each function.)
-
2020-02-20 1.20.0
- New:
tabIdargument ofonBeforeSend()ofcomposeAPI / New:tabIdargument ofonClicked()ofcomposeActionAPI 1615934
- New:
-
2020-02-25 1.21.0 Change and New: argument of some functions;
onClicked()ofbrowserAction,onBeforeSend()ofcompose,onClicked()ofcomposeAction,onClicked()ofmessageDisplayAction1617514 -
2020-03-10 1.22.0
-
2020-03-28 1.23.0 New:
setDefaultIdentity()ofaccountsAPI 1531593 -
2020-04-01 New:
detailsargument ofbeginReply()ofcomposeAPI -
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_action1583478 -
2020-11-28 1.26.0 New:
openDefaultBrowser()ofwindows1664708 -
2020-12-10 1.27.0
- New:
getDefault()andgetDefaultIdentity()ofaccountsAPI 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:
typeproperty ofComposeDetailsofcomposeAPI 1677062 -
2021-02-26 No Release: only docstring 1681131
-
2021-03-05 1.29.0 Modified: arguments of
onShown()andonClicked()ofmenusAPI 1625746 -
2021-03-05 1.30.0 New:
fromproperty of argument of functions ofcomposeAPI;beginNew(),beginReply(),beginForward(),setComposeDetails(),onBeforeSend(). 1691253 -
2021-03-11 1.31.0 New:
listAttachments()andgetAttachmentFile()ofmessagesAPI 1550960 -
2021-03-13 No Release: only docstring 1697743
-
2021-04-06 1.32.0 New:
get()andgetCurrent()ofmailTabsAPI 1698306Modified: new argument
callbackforquery()andgetSelectedMessages() -
2021-04-08 1.33.0 1703276
- Modified: new argument
callbackforlist(),get(),getDefault()andgetDefaultIdentity()ofaccountsAPI - Modified: new argument
callbackforlist(),get(),create()ofaddressBooksAPI - Modified: new argument
callbackforisEnabled()ofbrowserActionAPI - Modified: new argument
callbackforgetAccount(),getAllAccounts(),updateAccount()ofcloudFileAPI - Modified: new argument
callbackforbeginNew(),beginReply(),beginForward()andgetComposeDetails()ofcomposeAPI
Removed:
get()andgetCurrent()ofmailTabsAPI in 1.32.0 - Modified: new argument
-
2021-04-09 1.34.0 New(again):
get()andgetCurrent()ofmailTabsAPI 1698306 -
2021-04-18 1.35.0 New:
fieldIdforonShown()andonClicked()ofmenusAPI 1656506 -
2021-04-30 No Update 1708187
-
2021-05-22 No Update: property of
detailsargument ofbrowserAction.setIcon(), or so. 1712058 -
2021-05-28 1.36.0 New:
sendMessage(),getComposeState()andonComposeStateChanged()ofcomposeAPI 1699672 -
2021-06-14 No Update 1605937
-
2021-06-18 1.37.0 New:
identityAPI. 10 functions. 1642690 -
2021-06-25 1.38.0 New:
provider.onSearchRequest()ofaddressBooksAPI 1670752 -
2021-07-02 1.39.0 New:
onUpdated(),onMoved(),onCopied(),onDeleted()ofmessagesAPI 1627604 -
2021-07-06 No Update 1719091
-
2021-07-08 No Update 1616114
-
2021-07-08 1.40.0 Modified: new
tabargument foronFileUpload(),onFileUploadAbort(),onFileDeleted()ofcloudFileAPI 1674374 -
2021-07-13 1.41.0 Removed:
accountsFolderspermission-
viewTypeproperty for callback function ofquery(),get(),getCurrent()ofmailTabAPI. 1719093 -
includeFoldersargument oflist(),get(),getDefault()ofaccountsAPI. -
And change in arguments of
create()offoldersAPI. -
And New:
getParentFolders(),getSubFolders()offoldersAPI. -
And
accountsFolderspermission was removed from manifest-widepermissionsarray. 1520427 -
maybe nothing. 1719908
-
-
2021-07-14 1.42.0 1719813
-
Modified: argument of
quickSearch()ofcontactsAPI. -
remoteproperty for many functions.list(),get(),onCreated(),onUpdated()ofaddressBooksAPI.- Contact information of
contactsAPI and others. - MailingLists information of
mailingListsAPI and others.
-
-
maybe completion fails for
addressBooks.provider.onSearchRequest(). -
2021-07-20 1.43.0 New:
typeproperty oftabobject, for many place. 1720662 -
2021-07-21 1.44.0 New: many for
foldersAPI. 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:
resetScrollPositionproperty of argument ofcaptureTab()andcaptureVisibleTab()oftabsAPI. 1708403