remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/apps/remix-ide/src/remixAppManager.js

378 lines
10 KiB

1 year ago
import {PluginManager} from '@remixproject/engine'
import {EventEmitter} from 'events'
import {QueryParams} from '@remix-project/remix-lib'
import {IframePlugin} from '@remixproject/engine-web'
1 year ago
import {Registry} from '@remix-project/remix-lib'
1 year ago
1 year ago
const _paq = (window._paq = window._paq || [])
// requiredModule removes the plugin from the plugin manager list on UI
let requiredModules = [ // services + layout views + system views
1 year ago
'manager',
'config',
'compilerArtefacts',
'compilerMetadata',
'contextualListener',
'editor',
'offsetToLineColumnConverter',
'network',
'theme',
'locale',
'fileManager',
'contentImport',
'blockchain',
'web3Provider',
'scriptRunner',
'fetchAndCompile',
'mainPanel',
'hiddenPanel',
'sidePanel',
'menuicons',
'filePanel',
'terminal',
'settings',
'pluginManager',
'tabs',
'udapp',
'dGitProvider',
'solidity',
'solidity-logic',
'gistHandler',
'layout',
'notification',
'permissionhandler',
'walkthrough',
'storage',
'restorebackupzip',
'link-libraries',
'deploy-libraries',
'openzeppelin-proxy',
'hardhat-provider',
'ganache-provider',
'foundry-provider',
'basic-http-provider',
'injected',
'injected-trustwallet',
'injected-optimism-provider',
'injected-arbitrum-one-provider',
'injected-ephemery-testnet-provider',
'injected-skale-chaos-testnet-provider',
'vm-custom-fork',
'vm-goerli-fork',
'vm-mainnet-fork',
'vm-sepolia-fork',
'vm-merge',
'vm-london',
'vm-berlin',
2 years ago
'vm-shanghai',
1 year ago
'compileAndRun',
'search',
'recorder',
'fileDecorator',
'codeParser',
'codeFormatter',
'solidityumlgen',
'compilationDetails',
1 year ago
'contractflattener',
'solidity-script',
'openaigpt',
'home',
'doc-viewer',
'doc-gen'
1 year ago
]
Squashed commit of the following: commit b4f616a2c9067223432e79d6083f75343d40b4e3 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 17:02:29 2023 +0200 fix bash commit 50b5f5083d7b60e70afe1985b4ff655b06e78cc7 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 16:10:27 2023 +0200 bash commit dffa78e3dc1815e9aa006bacf9a84df6eb3114b1 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 15:10:28 2023 +0200 shells commit f34a4e394e3c0591e3eb7ebd8fa2787b38b1c3f2 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 14:26:48 2023 +0200 update readme commit f53cba9205cb6a3443bbdcdea0ccdf70c98aec8d Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 14:18:57 2023 +0200 static commit 897e81246fbe3f9194b6e99850029ad00d6bbdab Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 14:01:07 2023 +0200 Update README.md commit 5d7e112a35e5a8e6a103f29b3e5256fdb3029cdf Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 13:56:34 2023 +0200 rm txt file commit 0d77e68ddf6865352b43e64124d2bff542b9baa0 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 13:55:40 2023 +0200 add readme commit b7f59b65ac3daed3930f89a3540c8c34f1515dd0 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 13:54:52 2023 +0200 fix glob commit 962395926e7a58726f03ee4eb9d90f7b48c694b3 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 12:50:44 2023 +0200 fix modals commit 3e610699ccd3aba2daa46d285e96fb45ad7b187d Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 12:18:01 2023 +0200 commits commit c0cc7328eff406ebafbc5cb269d826e6662c882f Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:57:11 2023 +0200 fix class commit d2eea4eea2dd4a039734827cad8706d2d79bff2f Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:39:53 2023 +0200 linting commit 673258ef87ef8dab9b524eedd13603a996188cdb Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:11:57 2023 +0200 filter commit 0257e2928ecd34b81573ac285aa5eadcad041a6e Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:10:13 2023 +0200 ci filter commit 329de0d339bba0e86b699c14b12c394224a073c8 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:06:40 2023 +0200 fix lint commit 29abc4076e7b58b40e1890905d9e7fe49d1afad0 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 09:27:31 2023 +0200 install yarn commit 366fd4969e1510024bc32c86e987b6c0b5231057 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 17:33:56 2023 +0200 yarn commit ea7e69faa32ea9db3e1f68348448e82f1b4a44ac Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:52:08 2023 +0200 console commit 3b6561c488a98d5ab165ae606e8ae0700cdc3ccd Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:51:44 2023 +0200 consoles commit 57ef21ab9411de2c1afb9b0b8db9d318933697b4 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:50:20 2023 +0200 consoles commit 867b9775c01d2b7431bdc7711db289fb20f7bcb3 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:49:54 2023 +0200 consoles commit a2dc8b996a11079435edd98e6dade391466552b7 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:47:14 2023 +0200 rm lock commit bc6d4d23a37bbc4ad23ccb31bb88c90fd847ceb0 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:46:16 2023 +0200 restore libs commit 1a76ab87ba499892a8625ed4eb26ddcb1392b0e7 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:44:40 2023 +0200 fix git commit 870083ff49893c67a11dd01b485e1132ac530367 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:29:33 2023 +0200 typo commit 8987d73d201c345a85e5e16e5af7c8f16c05ae3f Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:26:14 2023 +0200 can use worker commit 6045655cd2bb601e32dba4d0bdfa41e431bdff67 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:26:07 2023 +0200 can use worker commit 5ee444e0307839bfa55f5e16a663b8a82f2f4f61 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:13:38 2023 +0200 cleanup package commit 7f5f0bfd37706ca436f7d9cc6485d0316d79ec4c Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:10:01 2023 +0200 fix lib commit 1d97df570ca4722f4f68137647823a9bb9f641de Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:05:26 2023 +0200 rm test app commit 0483d13e5675a0ed09da1cabfc3f1e9202bf6e62 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:03:17 2023 +0200 logs commit 8edd1925b7a3afa41921b44290a6d74224dda2b2 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 19:53:27 2023 +0200 debugger commit 16f337a2d77c8a47effd362fcfd9bb9fcec9f523 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 16:36:44 2023 +0200 fix env shell commit 35a76905911d8c5efc65793c9db5850f73e64402 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 16:15:54 2023 +0200 terminal menu commit 12c089407998e1359a058ed8a718beb1200b84b5 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 13:26:23 2023 +0200 custom components commit 731aecd556cf16aab8f2ad25c38ef95b229e8b70 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 12:39:36 2023 +0200 terminals commit 297c476b2191723fcb2e3ba524bf29a4739d74e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 12:39:32 2023 +0200 terminals commit aeebd08602aa62ef4b68e6ed98ab639824664011 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 15:57:26 2023 +0200 bugfix commit c104f7056a605f39d39f1273676d068e1bfed8f6 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 15:54:07 2023 +0200 rm ripgrep commit 9c3283c017a7e4e5e734badcd3c47e09dac29f4f Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 15:01:41 2023 +0200 xterm panels commit e0a2f62f710debc030a793322a5033d6e5ffa266 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jun 27 13:51:09 2023 +0200 terminals commit 1607d4a586382a4fbe7eff19aec50167a8ea4c3c Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jun 27 13:02:36 2023 +0200 pre18 commit f4e3dfc01d210633050b9b745ed974f2307fe7f0 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jun 27 12:29:16 2023 +0200 xterm build commit cb32ecbd3108a6d169bd7a2e5bb2d95f43e00712 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 10:21:47 2023 +0200 ripgrep tests commit ee56ee6a0ee6d25ba9922760d8f350ab5463bda2 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:41:05 2023 +0200 machine image commit f5bdd715ce7dca0173c2841bb29f705fff0375a2 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:34:32 2023 +0200 14.17.6 commit 5af1131851a62c6c88186189d51f151b95e83369 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:26:58 2023 +0200 add orb commit 6897b22cad3e95a7ad6d6688f97294caaa9ba605 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:25:06 2023 +0200 node install commit 84e58d7ad075295e0e2b85112911ac4b3b067333 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:21:03 2023 +0200 18.04 commit 716e39f00f92298c998bbcae6e22a6f39ecdf386 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:12:05 2023 +0200 docker commit 26006c6e2aedb5286508746531697e45475a7a7a Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:04:35 2023 +0200 typo commit 48444e18bf33d501a46f9dc72ac4dc8df675b7e1 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:03:13 2023 +0200 machine commit bf007bb1d150f47969cbe1c53be8ac45dd44eaa6 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:01:54 2023 +0200 electronuserland/builder:14 commit 80e367e82732a346a7c3761a10f7a0a28366318a Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 07:56:17 2023 +0200 current commit fcc036660006b8f3d1f7971d5be8ad35ad72ab08 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 07:52:28 2023 +0200 run commit 5a76be67fa8d37a8e1fb9918623781394b2dde6b Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 07:51:20 2023 +0200 linux commit 3b04e0df7c3dc2c8de21a75f7c23ea0e0c788546 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Mon Jun 26 18:06:15 2023 +0200 ripgrep commit f9277301715d90b07cc30117428ab1ad2c5ca004 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jun 26 17:26:36 2023 +0200 fixes for git commit e5ec564b1ea750844c2c230e34e954685b503d1d Author: bunsenstraat <bunsenstraat@gmail.com> Date: Mon Jun 26 12:11:29 2023 +0200 git fixes commit cc3d9ea5fb202e3ce865775628d85ae1a8635086 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 17:30:19 2023 +0200 less logs commit dc8cf19bf1592d19e221d79d6d22bcfb74678a12 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 16:51:27 2023 +0200 use native git commit fe86f5927bb51e30bebd050b331f6890ad69e459 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 14:27:19 2023 +0200 icon commit 76244314f454864a971c49730dfae67a46a49958 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 14:10:51 2023 +0200 no asar commit f31ac8e008d106cb2facd677bd67101a7f135670 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:51:41 2023 +0200 linux fields commit 30c186d20b4f383c373540d1d29ab194124dcc63 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:42:38 2023 +0200 author commit 2035636e204bdf313e7631bd16868662f25c1341 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:36:00 2023 +0200 email commit 7a28db2f528ab76f38160a03290f114759e320d2 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:23:27 2023 +0200 linux commit 6d8b169c3001f7acfca8798fe10eb843f444b113 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:22:28 2023 +0200 config commit a1050f17141e508b53987540f4c2125584590dda Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:21:41 2023 +0200 linux commit 0728709ce2409c4dcadbbbda26e2cd07bfe37292 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:04:43 2023 +0200 desktopbuild commit 539d992108ce8b900e110fd6933073bd46e489ce Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:00:52 2023 +0200 unzip commit ec52d9acf3341aaeb3dfe581b1ea814e7c02e7d5 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:54:52 2023 +0200 typo commit 3690a7b3147c054305a85438ee38b18be408116f Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:50:29 2023 +0200 typo commit 7880ff4e36c4a35d42eb64a6c1444a1a1188b985 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:47:15 2023 +0200 windows commit 34242019257f597d0f4440f607ea5e3537198d32 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:45:26 2023 +0200 config commit 1ad75731f73395b3794c7ba1d76334213ade09f5 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:41:34 2023 +0200 config commit 8fa20b74a466f71bf05609da75719187e39c04f0 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:41:11 2023 +0200 config commit be174d3da3664774d7e2f32e94841b3aead5f2a8 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:40:35 2023 +0200 config commit 32bbaf31bc9abab527420ff9d02d27e3465bff0b Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:35:18 2023 +0200 config commit 1ec69c6e1e3b99881f69d4c7eddd88ced31b176b Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:34:52 2023 +0200 config commit acca77164c09cb5645a8f99dd7e85932db38da5d Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:33:25 2023 +0200 build desktop commit 6ecd1e8b2e736a720e94a5b84cd79d71e1a5c9b7 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:23:44 2023 +0200 cache commit b75983af55c3db436718540f8ae70fa047aea8c4 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:15:18 2023 +0200 ci commit 9b4b8970ae43af78f174200fe14021aedfb7639d Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:13:27 2023 +0200 fix path commit 34acdb76a154eb0aa8c33f8fcc6b94c7a946e86c Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 11:28:41 2023 +0200 fix windows commit 0de6b9cc745c7d89c13453d641d5c55567316b14 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Sat Jun 24 14:22:09 2023 +0200 es6 commit 7a51a12912f8cc892adc1a1b5083cd76450deee7 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Sat Jun 24 09:49:07 2023 +0200 USE_HARD_LINKS commit f77e8cb9a46a4022f106588b3d1ad1b196ab3ab5 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 23 20:03:26 2023 +0200 mkdir commit 16b492cb20e1ee5431c491d3cea456310882a930 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 23 19:58:24 2023 +0200 m1 commit 2daccdec4233e2a57c64f3f66df394eac0723eb9 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 17:22:31 2023 +0200 revert commit 0e1c48d3a14a8dacfcd58a80be0173875d929f42 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 17:12:09 2023 +0200 targets commit 3187054eb7feea6a9f3b715d28919b166265e989 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:59:52 2023 +0200 large commit e0765f2b1e3326db88a9f54fd3413d3676ef77c5 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:58:53 2023 +0200 large commit d2b9e1b55719acb160b70f8063be8ca30e208e27 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:58:19 2023 +0200 xlarge commit a2d6acaab8479a5b9c3fe583a9b7676415ae8cb8 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:41:29 2023 +0200 cmd commit 6108f51031f22f791a540c45ecef6e0dffcdab6d Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:35:11 2023 +0200 windows commit 9f68bdf415c11ffed7fd280e0ccb97c0ed2d0d3f Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:24:27 2023 +0200 package commit bf57415b8da120c1a26cf1423645051863c457a9 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:09:00 2023 +0200 apps/remixdesktop/ commit f8b6de1cfc10ebec40756fe922991f00b3e8bf65 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:03:46 2023 +0200 store commit 02646d2f191763e82232ffec083ab3ddbd9d49ec Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:41:19 2023 +0200 other glob version commit f77e18dfa52ba9adce1d498c102c7612c8bd7b5c Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:19:07 2023 +0200 rm lock commit 276760eeeebe4fe79286d0d476938f032a573ae5 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:15:43 2023 +0200 path commit ad8811c068b4dd7a0328cc036ee9e24a9a4628c6 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:14:04 2023 +0200 orb commit 016b29a94b42bb3e2bf0fa6030b0b7726b41d446 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:13:26 2023 +0200 job commit 2a115aa6e8f3ef98f16868ac86d0cd3d628b3936 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:12:22 2023 +0200 windows test commit 570fdd3ab33bff1b5d9106c254560af55767c07a Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:54:32 2023 +0200 typo commit cb41e83dec595c4e61b348f6cfb4d15c6c08ac01 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:49:52 2023 +0200 mdkir commit 24908d0ffaf3424a540e9ab2b9721b618f18c997 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:35:41 2023 +0200 lock commit f67726f191bd81b156f72b6e19cf933feadd068b Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:29:11 2023 +0200 lock commit 90c6f5e1d90661820ab697505e9cb3d34768e754 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:12:35 2023 +0200 20 commit 99d9b6cc334afef0270d648c27b813ccf3f7ffde Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:05:21 2023 +0200 use20 commit 6053f2d38a329084d393b2f8bc8a05d7e6ffc47e Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:54:05 2023 +0200 space commit eb6d01edb708d7083db378e4b0893d502050ad2e Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:51:12 2023 +0200 ls commit abedb4a95dba68e68c023226fe1c274b073c8745 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:50:09 2023 +0200 node v commit 0b818ca9fd805aa5837fb8077f194e45c955987a Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:47:51 2023 +0200 ci commit cca1a7d63dd5a2036ff64a4d55651e4182c496ad Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:44:12 2023 +0200 build CI commit 07c392e0ca1d8416cc3dd7e5d60ab4f9d5c13a66 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 10:31:42 2023 +0200 gist fix commit 9ecc3949df3e298e76e6d3f62bfb50a10fe0da37 Merge: 54ffcd5dc c7dbcf15c Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 14:42:55 2023 +0200 Merge branch 'rdesktop' of https://github.com/ethereum/remix-project into rdesktop commit 54ffcd5dc35ffb074738d87b2c996846f61f9f05 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 14:38:00 2023 +0200 fix commit cedb19ed9e3f1babccce0a81b5187853d84c8520 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 14:01:54 2023 +0200 remixd test commit 7f13f5d7979d08602509f58c2fbfe704d95ae7e8 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:57:37 2023 +0200 fix test commit 2216cebb4bbe1bb26ac923596c2a2fc794b1197b Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:56:08 2023 +0200 fix test commit 5dcfef2820ac9133491bf7f3dd12853a5eb6555e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:45:36 2023 +0200 required modules commit 5c8a92ac0f0e8c11686f8ddb80d053754c5d5fae Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:20:12 2023 +0200 remove recent folder commit a69a6e648a429bf47338be46c91bfa6f0ae23a58 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:04:35 2023 +0200 filechanged commit 3ce2e5b200220f6d0877e30a2543669171ab3996 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 10:12:59 2023 +0200 context menu commit 570658f54c005eb8d5b7382c70c09a1b94011412 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 09:34:53 2023 +0200 menu commit 3660c8bc336b665dbeea6ea296b0c8569dd8cfe6 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 08:44:51 2023 +0200 fix menu commit a1dceb706da238933f1dee217cca7ecf7ac4f11f Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 08:21:41 2023 +0200 hometab & clone commit e58d67345bb4acfd7fecc357889ba632c7d8a4e3 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 21 09:24:15 2023 +0200 provider events commit 356d8ed3dcfd41f7403745c03a97a469b09fc017 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 20:24:44 2023 +0200 some git functions commit ee259cd49f73796ca7fb6a7f6b99eec2da443f98 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 17:34:31 2023 +0200 fix search commit 193230f6756c6fef839819d74ac785aa8030f591 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 16:31:17 2023 +0200 glob commit f3ec824c62c277e0e685121f2dbb8df84fe8fb42 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 14 15:45:55 2023 +0200 folder handling commit b888c2b894e42015213c15d0a21a83a2d5361d8a Author: bunsenstraat <filip.mertens@ethereum.org> Date: Tue Jun 13 17:16:36 2023 +0200 open folder commit eaefe37861e522269f938e2e7d5b3448201b768e Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 13 12:51:12 2023 +0200 loading engine commit 5728f3c7dbbf37220e2611bb66486ae7f51e400d Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 13 07:47:33 2023 +0200 isogit commit 429e845785234de86ffc9054237bc5c6f277d1dc Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 19:39:39 2023 +0200 dgit commit b106cc8cdf68aa442bfbd708ac43f868891b4f1c Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 17:22:30 2023 +0200 fs support commit ac28db3a521cbb1c3442080b1a9d3481ded58a91 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 13:33:28 2023 +0200 refactor commit 892915b13813a2dd2d2ea4ff4c8cedfed2739f4e Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:54:41 2023 +0200 fs integration commit 218a56bdc73ee004768b016f672155732f7da977 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:54:27 2023 +0200 update test1 commit 6c25d81166aa15afec911e5e01ffff633682215a Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:49:03 2023 +0200 update test app commit 24039ebb438ab296c8ff7cad29270ef56bee2566 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat Jun 3 13:42:10 2023 +0200 other builder commit a5c71f437975296c617e6096246d718ac19fae26 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 2 13:45:26 2023 +0200 cleanup commit 69398c09af4cecffb56fad7a9b13e64274a1d02b Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 2 13:33:38 2023 +0200 terminals commit 89c146f1decd28cd4ceaedfe7b0b4a62f2b6f669 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 18:07:07 2023 +0200 serve commit 6bb9beb9508fbe35d2159f3a3872d6d8301a8061 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:52:42 2023 +0200 engine:activatePlugin commit 3b26898fb14a13de2b183b0304f23386db544605 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:50:57 2023 +0200 refactor commit 881d0c1b1264ba6f11f9e3a69d3c03e7baf0e0d8 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:47:48 2023 +0200 rename commit c28f72bca6ef8fd935ab8cc09891740868b9c5df Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:46:39 2023 +0200 cleanup commit 96df90fa1c9560703dd632bc1dcebce3f8d095f3 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:43:04 2023 +0200 refactor commit 92feaa0283f7c29e008502939338a9df17a0c0fa Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:32:35 2023 +0200 close watcher commit bea74d41242eb392b7a9a624f1f536bbcd2ffe08 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:28:33 2023 +0200 close watcher commit 6778a113f8ee632b5a5353e97759d2264d6409fc Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:47:55 2023 +0200 refactor commit 87f65eeba73346b3b18f70e237a8eef3707781ea Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:41:22 2023 +0200 refactor commit 971e4d02651c6144cbc595ebc4a1684552e16ee8 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:02:37 2023 +0200 refactor commit 78d324772542273352877a6d9b30f9bcae5f57a3 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 00:39:47 2023 +0200 change fs commit ee4b672de33b057d6b193ada3135bc96b8884c0c Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 00:29:36 2023 +0200 add test app commit 8287f68209372c3ddc72382ba7cded4562075171 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Tue May 30 08:31:18 2023 +0200 fix path commit 47f3fa47a36f61e38c330e80d8c930b2f120104d Author: bunsenstraat <filip.mertens@ethereum.org> Date: Mon May 29 18:39:08 2023 +0200 app build & serve commit c65465b056400d7e87fce7d27bba996df9d23e85 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Mon May 29 09:52:36 2023 +0200 rm trash commit 59210c07b5bf38012184cc14552ffe10517ec00d Author: bunsenstraat <filip.mertens@ethereum.org> Date: Sun May 28 10:56:08 2023 +0200 new app commit 463d39d99ebc323a05e4122ad65cb8cb1ca2954b Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 15:29:49 2023 +0200 fix webpack commit f3401854152fe631d6bf886b94f56e2f2f4f2c0a Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 14:56:07 2023 +0200 prepackage commit 620ede28b09a2eaee87f014c9d1257be35cfd992 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:56:08 2023 +0200 testing commit cca42ea2a56884d865178b15960218947b1aee93 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:38:54 2023 +0200 dev server commit 560cfc23719232bd0c63397fc560a6a67ccdae0c Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:17:18 2023 +0200 experiments commit c7dbcf15c296ad68b46874d411aa5191f4e26a53 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 14:01:54 2023 +0200 remixd test commit 367761fe7f5fa6870491ed8a2d2705e47e2a647e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:57:37 2023 +0200 fix test commit 3a259607359e6a2d1683f875979a1ca5fbe596a4 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:56:08 2023 +0200 fix test commit 3cd59ec57b259b5be53f85cd09b4d9bfa94f2cb4 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:45:36 2023 +0200 required modules commit 6c0ffc29afb71d7bd35112213afee8bac00a2b7b Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:20:12 2023 +0200 remove recent folder commit f170b0834405f2a770f19f63d32f7b9cb7d0358e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:04:35 2023 +0200 filechanged commit 68515019a93471d7ce7a541409a5fda66d72969e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 10:12:59 2023 +0200 context menu commit 443dcde26016dabb022f43f0267a4e4caa5ca96e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 09:34:53 2023 +0200 menu commit 21e85f6881f865309d66346b82d5bbdbc1c90677 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 08:44:51 2023 +0200 fix menu commit 1d36d50ab69f1b09fed868409844a0706de74d79 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 08:21:41 2023 +0200 hometab & clone commit f542fd8d1b09355682214e5dcf1923c07c1bbd58 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 21 09:24:15 2023 +0200 provider events commit cdf0ca95c25049700bc5a2a6f4ba8134fbd2ac11 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 20:24:44 2023 +0200 some git functions commit 7dac9f1731cb4e3d45d42b7d24debedb98bfcd19 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 17:34:31 2023 +0200 fix search commit d1073ed3220aded304b08ef7de5a6733925f5a61 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 16:31:17 2023 +0200 glob commit 71eef01e5d5c9b644366cc38a80c5ce4e37d464d Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 14 15:45:55 2023 +0200 folder handling commit b8ed5556cb6079b8f3ed975f8abf6352db3731f3 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Tue Jun 13 17:16:36 2023 +0200 open folder commit 274a3c7cbd47ca59ffc038767e3c688630aa9057 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 13 12:51:12 2023 +0200 loading engine commit 01433bae4fe70ca7bd5eaa09ddd078d7c92ee0cb Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 13 07:47:33 2023 +0200 isogit commit 038c63e362984b36d230df7d2f07993860ade7ad Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 19:39:39 2023 +0200 dgit commit 336d191c20536c756e84560461d2e3e1f5fa3cc7 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 17:22:30 2023 +0200 fs support commit 87c498fa9124a283de4127545123273916f1225f Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 13:33:28 2023 +0200 refactor commit 34abe45ebc6a674e882dec99324da38f021bc023 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:54:41 2023 +0200 fs integration commit 2e39267532862b343cf955ed8093103e87d6c9e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:54:27 2023 +0200 update test1 commit 6534e8aa472220cfeb5a1427c21d3467613968c4 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:49:03 2023 +0200 update test app commit 272bf13344746d716aec003f8b58fa3754b596ec Author: filip mertens <filip.mertens@ethereum.org> Date: Sat Jun 3 13:42:10 2023 +0200 other builder commit a2d511d44569b67ac41c1ff970ce4f260234aa29 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 2 13:45:26 2023 +0200 cleanup commit 15d1a0189cedfac7274d3a2450ab5b335de995e7 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 2 13:33:38 2023 +0200 terminals commit 3cd5c54262c6e9e37238f0d852bde43203d8936c Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 18:07:07 2023 +0200 serve commit b8e344da37de1b529aa047484589c242fdc3c37f Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:52:42 2023 +0200 engine:activatePlugin commit 05f5bad529caeaec5f5c8d6c63d89b9de162d659 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:50:57 2023 +0200 refactor commit 12b51f44bd0762b6921633ced9327b86e2398315 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:47:48 2023 +0200 rename commit 5bff29ea3a5ae3904e8517e4a9e451b066a91219 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:46:39 2023 +0200 cleanup commit 0b878097cb7c481dfe4fc3afb0b136be2872d8e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:43:04 2023 +0200 refactor commit f68b1899699ab3382f452aab81b2180a2074ba9e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:32:35 2023 +0200 close watcher commit 03163d303e60f38ea0712e79b991a5869803f67b Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:28:33 2023 +0200 close watcher commit 946135bde069983cf853e259f6d845a80748fcaf Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:47:55 2023 +0200 refactor commit eae0a0f6967f1491a02707e3443338b71780e10e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:41:22 2023 +0200 refactor commit 93973004e9cfbdc515db97468a4cf1451392efc3 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:02:37 2023 +0200 refactor commit 171518f49a68b7acf124e74338b1c474f7c8e6ca Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 00:39:47 2023 +0200 change fs commit f275f0ae8a797644927c21ebc80aafb273096eff Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 00:29:36 2023 +0200 add test app commit c9297a4d8f04fc98ef5f6603bf1a4d54a734b4ad Author: bunsenstraat <filip.mertens@ethereum.org> Date: Tue May 30 08:31:18 2023 +0200 fix path commit acf2e01aa86be237b3152dbeb7e033165702ef68 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Mon May 29 18:39:08 2023 +0200 app build & serve commit 481947757773ceb66aa3624898ca09a01e133b22 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Mon May 29 09:52:36 2023 +0200 rm trash commit b4c9657e9b966ee6a1fffb02c0cb6bfcd84e5e06 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Sun May 28 10:56:08 2023 +0200 new app commit 542e20ea9c7e363cfe3b4edcc312b3d82c371f78 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 15:29:49 2023 +0200 fix webpack commit 94c19ac6d44d7d633e053c14d1f1ba9aef4ee8e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 14:56:07 2023 +0200 prepackage commit 2102b3004428efb0d8a4030dc80f1e747d5901b7 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:56:08 2023 +0200 testing commit 8220097fb770953b4d9b498cf9f3fa95e98065e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:38:54 2023 +0200 dev server commit f966c4cb9b9ce56f3332c08773a7c5f23e0b2cf9 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:17:18 2023 +0200 experiments
1 year ago
// dependentModules shouldn't be manually activated (e.g hardhat is activated by remixd)
const dependentModules = ['foundry', 'hardhat', 'truffle', 'slither']
const loadLocalPlugins = ['doc-gen', 'doc-viewer', 'etherscan', 'vyper', 'solhint', 'walletconnect', 'circuit-compiler']
3 years ago
const sensitiveCalls = {
1 year ago
fileManager: ['writeFile', 'copyFile', 'rename', 'copyDir'],
contentImport: ['resolveAndSave'],
web3Provider: ['sendAsync']
3 years ago
}
export function isNative(name) {
// nativePlugin allows to bypass the permission request
1 year ago
const nativePlugins = [
'vyper',
'workshops',
'debugger',
'remixd',
'menuicons',
'solidity',
'solidity-logic',
'solidityStaticAnalysis',
'solidityUnitTesting',
'layout',
'notification',
'hardhat-provider',
'ganache-provider',
'foundry-provider',
'basic-http-provider',
'injected-optimism-provider',
'tabs',
'injected-arbitrum-one-provider',
'injected-skale-chaos-testnet-provider',
'injected-ephemery-testnet-provider',
'injected',
'doc-gen',
'doc-viewer',
'circuit-compiler',
'compilationDetails'
1 year ago
]
return nativePlugins.includes(name) || requiredModules.includes(name)
}
/**
* Checks if plugin caller 'from' is allowed to activate plugin 'to'
* The caller can have 'canActivate' as a optional property in the plugin profile.
* This is an array containing the 'name' property of the plugin it wants to call.
* canActivate = ['plugin1-to-call','plugin2-to-call',....]
* or the plugin is allowed by default because it is native
*
* @param {any, any}
* @returns {boolean}
*/
3 years ago
export function canActivate(from, to) {
1 year ago
return ['ethdoc'].includes(from.name) || isNative(from.name) || (to && from && from.canActivate && from.canActivate.includes(to.name))
}
5 years ago
export class RemixAppManager extends PluginManager {
3 years ago
constructor() {
5 years ago
super()
this.event = new EventEmitter()
this.pluginsDirectory = 'https://raw.githubusercontent.com/ethereum/remix-plugins-directory/master/build/metadata.json'
this.pluginLoader = new PluginLoader()
1 year ago
if (Registry.getInstance().get('platform').api.isDesktop()) {
requiredModules = [...requiredModules, 'fs', 'electronTemplates', 'isogit', 'remix-templates', 'electronconfig']
}
}
3 years ago
async canActivatePlugin(from, to) {
return canActivate(from, to)
5 years ago
}
3 years ago
async canDeactivatePlugin(from, to) {
if (requiredModules.includes(to.name)) return false
return isNative(from.name)
5 years ago
}
3 years ago
async canDeactivate(from, to) {
return this.canDeactivatePlugin(from, to)
3 years ago
}
3 years ago
async deactivatePlugin(name) {
const profile = await this.getProfile(name)
1 year ago
const [to, from] = [profile, await this.getProfile(this.requestFrom)]
if (this.canDeactivatePlugin(from, to)) {
if (profile.methods.includes('deactivate')) {
try {
await this.call(name, 'deactivate')
} catch (e) {
console.log(e)
}
}
await this.toggleActive(name)
}
}
3 years ago
async canCall(from, to, method, message) {
const isSensitiveCall = sensitiveCalls[to] && sensitiveCalls[to].includes(method)
5 years ago
// Make sure the caller of this methods is the target plugin
if (to !== this.currentRequest.from) {
5 years ago
return false
}
// skipping native plugins' requests
3 years ago
if (isNative(from)) {
return true
}
3 years ago
// ask the user for permission
3 years ago
return await this.call('permissionhandler', 'askPermission', this.profiles[from], this.profiles[to], method, message, isSensitiveCall)
5 years ago
}
3 years ago
onPluginActivated(plugin) {
1 year ago
this.pluginLoader.set(
plugin,
this.actives.filter((plugin) => !this.isDependent(plugin))
)
this.event.emit('activate', plugin)
this.emit('activate', plugin)
if (!requiredModules.includes(plugin.name)) _paq.push(['trackEvent', 'pluginManager', 'activate', plugin.name])
}
3 years ago
getAll() {
return Object.keys(this.profiles).map((p) => {
return this.profiles[p]
})
}
3 years ago
getIds() {
return Object.keys(this.profiles)
}
3 years ago
onPluginDeactivated(plugin) {
1 year ago
this.pluginLoader.set(
plugin,
this.actives.filter((plugin) => !this.isDependent(plugin))
)
this.event.emit('deactivate', plugin)
_paq.push(['trackEvent', 'pluginManager', 'deactivate', plugin.name])
}
3 years ago
isDependent(name) {
return dependentModules.includes(name)
}
3 years ago
isRequired(name) {
// excluding internal use plugins
return requiredModules.includes(name)
}
3 years ago
async registeredPlugins() {
let plugins
try {
const res = await fetch(this.pluginsDirectory)
plugins = await res.json()
4 years ago
plugins = plugins.filter((plugin) => {
if (plugin.targets && Array.isArray(plugin.targets) && plugin.targets.length > 0) {
1 year ago
return plugin.targets.includes('remix')
4 years ago
}
return true
})
localStorage.setItem('plugins-directory', JSON.stringify(plugins))
} catch (e) {
console.log('getting plugins list from localstorage...')
const savedPlugins = localStorage.getItem('plugins-directory')
if (savedPlugins) {
try {
4 years ago
plugins = JSON.parse(savedPlugins)
} catch (e) {
console.error(e)
}
}
}
2 years ago
const testPluginName = localStorage.getItem('test-plugin-name')
const testPluginUrl = localStorage.getItem('test-plugin-url')
for (let plugin of loadLocalPlugins) {
// fetch the profile from the local plugin
try {
const profile = await fetch(`plugins/${plugin}/profile.json`)
const profileJson = await profile.json()
// remove duplicates
plugins = plugins.filter((p) => p.name !== profileJson.name && p.displayName !== profileJson.displayName)
// change url
profileJson.url = `plugins/${plugin}/index.html`
// add the local plugin
plugins.push(profileJson)
} catch (e) {
console.log(e)
}
}
return plugins.map(plugin => {
Squashed commit of the following: commit b4f616a2c9067223432e79d6083f75343d40b4e3 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 17:02:29 2023 +0200 fix bash commit 50b5f5083d7b60e70afe1985b4ff655b06e78cc7 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 16:10:27 2023 +0200 bash commit dffa78e3dc1815e9aa006bacf9a84df6eb3114b1 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 15:10:28 2023 +0200 shells commit f34a4e394e3c0591e3eb7ebd8fa2787b38b1c3f2 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 14:26:48 2023 +0200 update readme commit f53cba9205cb6a3443bbdcdea0ccdf70c98aec8d Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 14:18:57 2023 +0200 static commit 897e81246fbe3f9194b6e99850029ad00d6bbdab Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 14:01:07 2023 +0200 Update README.md commit 5d7e112a35e5a8e6a103f29b3e5256fdb3029cdf Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 13:56:34 2023 +0200 rm txt file commit 0d77e68ddf6865352b43e64124d2bff542b9baa0 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 13:55:40 2023 +0200 add readme commit b7f59b65ac3daed3930f89a3540c8c34f1515dd0 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jul 4 13:54:52 2023 +0200 fix glob commit 962395926e7a58726f03ee4eb9d90f7b48c694b3 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 12:50:44 2023 +0200 fix modals commit 3e610699ccd3aba2daa46d285e96fb45ad7b187d Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 12:18:01 2023 +0200 commits commit c0cc7328eff406ebafbc5cb269d826e6662c882f Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:57:11 2023 +0200 fix class commit d2eea4eea2dd4a039734827cad8706d2d79bff2f Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:39:53 2023 +0200 linting commit 673258ef87ef8dab9b524eedd13603a996188cdb Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:11:57 2023 +0200 filter commit 0257e2928ecd34b81573ac285aa5eadcad041a6e Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:10:13 2023 +0200 ci filter commit 329de0d339bba0e86b699c14b12c394224a073c8 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 10:06:40 2023 +0200 fix lint commit 29abc4076e7b58b40e1890905d9e7fe49d1afad0 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jul 4 09:27:31 2023 +0200 install yarn commit 366fd4969e1510024bc32c86e987b6c0b5231057 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 17:33:56 2023 +0200 yarn commit ea7e69faa32ea9db3e1f68348448e82f1b4a44ac Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:52:08 2023 +0200 console commit 3b6561c488a98d5ab165ae606e8ae0700cdc3ccd Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:51:44 2023 +0200 consoles commit 57ef21ab9411de2c1afb9b0b8db9d318933697b4 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:50:20 2023 +0200 consoles commit 867b9775c01d2b7431bdc7711db289fb20f7bcb3 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:49:54 2023 +0200 consoles commit a2dc8b996a11079435edd98e6dade391466552b7 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:47:14 2023 +0200 rm lock commit bc6d4d23a37bbc4ad23ccb31bb88c90fd847ceb0 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:46:16 2023 +0200 restore libs commit 1a76ab87ba499892a8625ed4eb26ddcb1392b0e7 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:44:40 2023 +0200 fix git commit 870083ff49893c67a11dd01b485e1132ac530367 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:29:33 2023 +0200 typo commit 8987d73d201c345a85e5e16e5af7c8f16c05ae3f Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:26:14 2023 +0200 can use worker commit 6045655cd2bb601e32dba4d0bdfa41e431bdff67 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:26:07 2023 +0200 can use worker commit 5ee444e0307839bfa55f5e16a663b8a82f2f4f61 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:13:38 2023 +0200 cleanup package commit 7f5f0bfd37706ca436f7d9cc6485d0316d79ec4c Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:10:01 2023 +0200 fix lib commit 1d97df570ca4722f4f68137647823a9bb9f641de Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:05:26 2023 +0200 rm test app commit 0483d13e5675a0ed09da1cabfc3f1e9202bf6e62 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jul 3 16:03:17 2023 +0200 logs commit 8edd1925b7a3afa41921b44290a6d74224dda2b2 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 19:53:27 2023 +0200 debugger commit 16f337a2d77c8a47effd362fcfd9bb9fcec9f523 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 16:36:44 2023 +0200 fix env shell commit 35a76905911d8c5efc65793c9db5850f73e64402 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 16:15:54 2023 +0200 terminal menu commit 12c089407998e1359a058ed8a718beb1200b84b5 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 13:26:23 2023 +0200 custom components commit 731aecd556cf16aab8f2ad25c38ef95b229e8b70 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 12:39:36 2023 +0200 terminals commit 297c476b2191723fcb2e3ba524bf29a4739d74e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 28 12:39:32 2023 +0200 terminals commit aeebd08602aa62ef4b68e6ed98ab639824664011 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 15:57:26 2023 +0200 bugfix commit c104f7056a605f39d39f1273676d068e1bfed8f6 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 15:54:07 2023 +0200 rm ripgrep commit 9c3283c017a7e4e5e734badcd3c47e09dac29f4f Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 15:01:41 2023 +0200 xterm panels commit e0a2f62f710debc030a793322a5033d6e5ffa266 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jun 27 13:51:09 2023 +0200 terminals commit 1607d4a586382a4fbe7eff19aec50167a8ea4c3c Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jun 27 13:02:36 2023 +0200 pre18 commit f4e3dfc01d210633050b9b745ed974f2307fe7f0 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Tue Jun 27 12:29:16 2023 +0200 xterm build commit cb32ecbd3108a6d169bd7a2e5bb2d95f43e00712 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 10:21:47 2023 +0200 ripgrep tests commit ee56ee6a0ee6d25ba9922760d8f350ab5463bda2 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:41:05 2023 +0200 machine image commit f5bdd715ce7dca0173c2841bb29f705fff0375a2 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:34:32 2023 +0200 14.17.6 commit 5af1131851a62c6c88186189d51f151b95e83369 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:26:58 2023 +0200 add orb commit 6897b22cad3e95a7ad6d6688f97294caaa9ba605 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:25:06 2023 +0200 node install commit 84e58d7ad075295e0e2b85112911ac4b3b067333 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:21:03 2023 +0200 18.04 commit 716e39f00f92298c998bbcae6e22a6f39ecdf386 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:12:05 2023 +0200 docker commit 26006c6e2aedb5286508746531697e45475a7a7a Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:04:35 2023 +0200 typo commit 48444e18bf33d501a46f9dc72ac4dc8df675b7e1 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:03:13 2023 +0200 machine commit bf007bb1d150f47969cbe1c53be8ac45dd44eaa6 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 08:01:54 2023 +0200 electronuserland/builder:14 commit 80e367e82732a346a7c3761a10f7a0a28366318a Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 07:56:17 2023 +0200 current commit fcc036660006b8f3d1f7971d5be8ad35ad72ab08 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 07:52:28 2023 +0200 run commit 5a76be67fa8d37a8e1fb9918623781394b2dde6b Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 27 07:51:20 2023 +0200 linux commit 3b04e0df7c3dc2c8de21a75f7c23ea0e0c788546 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Mon Jun 26 18:06:15 2023 +0200 ripgrep commit f9277301715d90b07cc30117428ab1ad2c5ca004 Author: filip mertens <filip.mertens@ethereum.org> Date: Mon Jun 26 17:26:36 2023 +0200 fixes for git commit e5ec564b1ea750844c2c230e34e954685b503d1d Author: bunsenstraat <bunsenstraat@gmail.com> Date: Mon Jun 26 12:11:29 2023 +0200 git fixes commit cc3d9ea5fb202e3ce865775628d85ae1a8635086 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 17:30:19 2023 +0200 less logs commit dc8cf19bf1592d19e221d79d6d22bcfb74678a12 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 16:51:27 2023 +0200 use native git commit fe86f5927bb51e30bebd050b331f6890ad69e459 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 14:27:19 2023 +0200 icon commit 76244314f454864a971c49730dfae67a46a49958 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 14:10:51 2023 +0200 no asar commit f31ac8e008d106cb2facd677bd67101a7f135670 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:51:41 2023 +0200 linux fields commit 30c186d20b4f383c373540d1d29ab194124dcc63 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:42:38 2023 +0200 author commit 2035636e204bdf313e7631bd16868662f25c1341 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:36:00 2023 +0200 email commit 7a28db2f528ab76f38160a03290f114759e320d2 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:23:27 2023 +0200 linux commit 6d8b169c3001f7acfca8798fe10eb843f444b113 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:22:28 2023 +0200 config commit a1050f17141e508b53987540f4c2125584590dda Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:21:41 2023 +0200 linux commit 0728709ce2409c4dcadbbbda26e2cd07bfe37292 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:04:43 2023 +0200 desktopbuild commit 539d992108ce8b900e110fd6933073bd46e489ce Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 13:00:52 2023 +0200 unzip commit ec52d9acf3341aaeb3dfe581b1ea814e7c02e7d5 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:54:52 2023 +0200 typo commit 3690a7b3147c054305a85438ee38b18be408116f Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:50:29 2023 +0200 typo commit 7880ff4e36c4a35d42eb64a6c1444a1a1188b985 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:47:15 2023 +0200 windows commit 34242019257f597d0f4440f607ea5e3537198d32 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:45:26 2023 +0200 config commit 1ad75731f73395b3794c7ba1d76334213ade09f5 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:41:34 2023 +0200 config commit 8fa20b74a466f71bf05609da75719187e39c04f0 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:41:11 2023 +0200 config commit be174d3da3664774d7e2f32e94841b3aead5f2a8 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:40:35 2023 +0200 config commit 32bbaf31bc9abab527420ff9d02d27e3465bff0b Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:35:18 2023 +0200 config commit 1ec69c6e1e3b99881f69d4c7eddd88ced31b176b Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:34:52 2023 +0200 config commit acca77164c09cb5645a8f99dd7e85932db38da5d Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:33:25 2023 +0200 build desktop commit 6ecd1e8b2e736a720e94a5b84cd79d71e1a5c9b7 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:23:44 2023 +0200 cache commit b75983af55c3db436718540f8ae70fa047aea8c4 Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:15:18 2023 +0200 ci commit 9b4b8970ae43af78f174200fe14021aedfb7639d Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 12:13:27 2023 +0200 fix path commit 34acdb76a154eb0aa8c33f8fcc6b94c7a946e86c Author: bunsenstraat <bunsenstraat@gmail.com> Date: Sun Jun 25 11:28:41 2023 +0200 fix windows commit 0de6b9cc745c7d89c13453d641d5c55567316b14 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Sat Jun 24 14:22:09 2023 +0200 es6 commit 7a51a12912f8cc892adc1a1b5083cd76450deee7 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Sat Jun 24 09:49:07 2023 +0200 USE_HARD_LINKS commit f77e8cb9a46a4022f106588b3d1ad1b196ab3ab5 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 23 20:03:26 2023 +0200 mkdir commit 16b492cb20e1ee5431c491d3cea456310882a930 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 23 19:58:24 2023 +0200 m1 commit 2daccdec4233e2a57c64f3f66df394eac0723eb9 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 17:22:31 2023 +0200 revert commit 0e1c48d3a14a8dacfcd58a80be0173875d929f42 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 17:12:09 2023 +0200 targets commit 3187054eb7feea6a9f3b715d28919b166265e989 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:59:52 2023 +0200 large commit e0765f2b1e3326db88a9f54fd3413d3676ef77c5 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:58:53 2023 +0200 large commit d2b9e1b55719acb160b70f8063be8ca30e208e27 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:58:19 2023 +0200 xlarge commit a2d6acaab8479a5b9c3fe583a9b7676415ae8cb8 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:41:29 2023 +0200 cmd commit 6108f51031f22f791a540c45ecef6e0dffcdab6d Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:35:11 2023 +0200 windows commit 9f68bdf415c11ffed7fd280e0ccb97c0ed2d0d3f Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:24:27 2023 +0200 package commit bf57415b8da120c1a26cf1423645051863c457a9 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:09:00 2023 +0200 apps/remixdesktop/ commit f8b6de1cfc10ebec40756fe922991f00b3e8bf65 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 16:03:46 2023 +0200 store commit 02646d2f191763e82232ffec083ab3ddbd9d49ec Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:41:19 2023 +0200 other glob version commit f77e18dfa52ba9adce1d498c102c7612c8bd7b5c Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:19:07 2023 +0200 rm lock commit 276760eeeebe4fe79286d0d476938f032a573ae5 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:15:43 2023 +0200 path commit ad8811c068b4dd7a0328cc036ee9e24a9a4628c6 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:14:04 2023 +0200 orb commit 016b29a94b42bb3e2bf0fa6030b0b7726b41d446 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:13:26 2023 +0200 job commit 2a115aa6e8f3ef98f16868ac86d0cd3d628b3936 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 15:12:22 2023 +0200 windows test commit 570fdd3ab33bff1b5d9106c254560af55767c07a Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:54:32 2023 +0200 typo commit cb41e83dec595c4e61b348f6cfb4d15c6c08ac01 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:49:52 2023 +0200 mdkir commit 24908d0ffaf3424a540e9ab2b9721b618f18c997 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:35:41 2023 +0200 lock commit f67726f191bd81b156f72b6e19cf933feadd068b Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:29:11 2023 +0200 lock commit 90c6f5e1d90661820ab697505e9cb3d34768e754 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:12:35 2023 +0200 20 commit 99d9b6cc334afef0270d648c27b813ccf3f7ffde Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 12:05:21 2023 +0200 use20 commit 6053f2d38a329084d393b2f8bc8a05d7e6ffc47e Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:54:05 2023 +0200 space commit eb6d01edb708d7083db378e4b0893d502050ad2e Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:51:12 2023 +0200 ls commit abedb4a95dba68e68c023226fe1c274b073c8745 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:50:09 2023 +0200 node v commit 0b818ca9fd805aa5837fb8077f194e45c955987a Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:47:51 2023 +0200 ci commit cca1a7d63dd5a2036ff64a4d55651e4182c496ad Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 11:44:12 2023 +0200 build CI commit 07c392e0ca1d8416cc3dd7e5d60ab4f9d5c13a66 Author: filip mertens <filip.mertens@ethereum.org> Date: Fri Jun 23 10:31:42 2023 +0200 gist fix commit 9ecc3949df3e298e76e6d3f62bfb50a10fe0da37 Merge: 54ffcd5dc c7dbcf15c Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 14:42:55 2023 +0200 Merge branch 'rdesktop' of https://github.com/ethereum/remix-project into rdesktop commit 54ffcd5dc35ffb074738d87b2c996846f61f9f05 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 14:38:00 2023 +0200 fix commit cedb19ed9e3f1babccce0a81b5187853d84c8520 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 14:01:54 2023 +0200 remixd test commit 7f13f5d7979d08602509f58c2fbfe704d95ae7e8 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:57:37 2023 +0200 fix test commit 2216cebb4bbe1bb26ac923596c2a2fc794b1197b Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:56:08 2023 +0200 fix test commit 5dcfef2820ac9133491bf7f3dd12853a5eb6555e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:45:36 2023 +0200 required modules commit 5c8a92ac0f0e8c11686f8ddb80d053754c5d5fae Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:20:12 2023 +0200 remove recent folder commit a69a6e648a429bf47338be46c91bfa6f0ae23a58 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:04:35 2023 +0200 filechanged commit 3ce2e5b200220f6d0877e30a2543669171ab3996 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 10:12:59 2023 +0200 context menu commit 570658f54c005eb8d5b7382c70c09a1b94011412 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 09:34:53 2023 +0200 menu commit 3660c8bc336b665dbeea6ea296b0c8569dd8cfe6 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 08:44:51 2023 +0200 fix menu commit a1dceb706da238933f1dee217cca7ecf7ac4f11f Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 08:21:41 2023 +0200 hometab & clone commit e58d67345bb4acfd7fecc357889ba632c7d8a4e3 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 21 09:24:15 2023 +0200 provider events commit 356d8ed3dcfd41f7403745c03a97a469b09fc017 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 20:24:44 2023 +0200 some git functions commit ee259cd49f73796ca7fb6a7f6b99eec2da443f98 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 17:34:31 2023 +0200 fix search commit 193230f6756c6fef839819d74ac785aa8030f591 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 16:31:17 2023 +0200 glob commit f3ec824c62c277e0e685121f2dbb8df84fe8fb42 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 14 15:45:55 2023 +0200 folder handling commit b888c2b894e42015213c15d0a21a83a2d5361d8a Author: bunsenstraat <filip.mertens@ethereum.org> Date: Tue Jun 13 17:16:36 2023 +0200 open folder commit eaefe37861e522269f938e2e7d5b3448201b768e Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 13 12:51:12 2023 +0200 loading engine commit 5728f3c7dbbf37220e2611bb66486ae7f51e400d Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 13 07:47:33 2023 +0200 isogit commit 429e845785234de86ffc9054237bc5c6f277d1dc Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 19:39:39 2023 +0200 dgit commit b106cc8cdf68aa442bfbd708ac43f868891b4f1c Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 17:22:30 2023 +0200 fs support commit ac28db3a521cbb1c3442080b1a9d3481ded58a91 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 13:33:28 2023 +0200 refactor commit 892915b13813a2dd2d2ea4ff4c8cedfed2739f4e Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:54:41 2023 +0200 fs integration commit 218a56bdc73ee004768b016f672155732f7da977 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:54:27 2023 +0200 update test1 commit 6c25d81166aa15afec911e5e01ffff633682215a Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:49:03 2023 +0200 update test app commit 24039ebb438ab296c8ff7cad29270ef56bee2566 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat Jun 3 13:42:10 2023 +0200 other builder commit a5c71f437975296c617e6096246d718ac19fae26 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 2 13:45:26 2023 +0200 cleanup commit 69398c09af4cecffb56fad7a9b13e64274a1d02b Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 2 13:33:38 2023 +0200 terminals commit 89c146f1decd28cd4ceaedfe7b0b4a62f2b6f669 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 18:07:07 2023 +0200 serve commit 6bb9beb9508fbe35d2159f3a3872d6d8301a8061 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:52:42 2023 +0200 engine:activatePlugin commit 3b26898fb14a13de2b183b0304f23386db544605 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:50:57 2023 +0200 refactor commit 881d0c1b1264ba6f11f9e3a69d3c03e7baf0e0d8 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:47:48 2023 +0200 rename commit c28f72bca6ef8fd935ab8cc09891740868b9c5df Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:46:39 2023 +0200 cleanup commit 96df90fa1c9560703dd632bc1dcebce3f8d095f3 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:43:04 2023 +0200 refactor commit 92feaa0283f7c29e008502939338a9df17a0c0fa Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:32:35 2023 +0200 close watcher commit bea74d41242eb392b7a9a624f1f536bbcd2ffe08 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:28:33 2023 +0200 close watcher commit 6778a113f8ee632b5a5353e97759d2264d6409fc Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:47:55 2023 +0200 refactor commit 87f65eeba73346b3b18f70e237a8eef3707781ea Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:41:22 2023 +0200 refactor commit 971e4d02651c6144cbc595ebc4a1684552e16ee8 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:02:37 2023 +0200 refactor commit 78d324772542273352877a6d9b30f9bcae5f57a3 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 00:39:47 2023 +0200 change fs commit ee4b672de33b057d6b193ada3135bc96b8884c0c Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 00:29:36 2023 +0200 add test app commit 8287f68209372c3ddc72382ba7cded4562075171 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Tue May 30 08:31:18 2023 +0200 fix path commit 47f3fa47a36f61e38c330e80d8c930b2f120104d Author: bunsenstraat <filip.mertens@ethereum.org> Date: Mon May 29 18:39:08 2023 +0200 app build & serve commit c65465b056400d7e87fce7d27bba996df9d23e85 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Mon May 29 09:52:36 2023 +0200 rm trash commit 59210c07b5bf38012184cc14552ffe10517ec00d Author: bunsenstraat <filip.mertens@ethereum.org> Date: Sun May 28 10:56:08 2023 +0200 new app commit 463d39d99ebc323a05e4122ad65cb8cb1ca2954b Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 15:29:49 2023 +0200 fix webpack commit f3401854152fe631d6bf886b94f56e2f2f4f2c0a Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 14:56:07 2023 +0200 prepackage commit 620ede28b09a2eaee87f014c9d1257be35cfd992 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:56:08 2023 +0200 testing commit cca42ea2a56884d865178b15960218947b1aee93 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:38:54 2023 +0200 dev server commit 560cfc23719232bd0c63397fc560a6a67ccdae0c Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:17:18 2023 +0200 experiments commit c7dbcf15c296ad68b46874d411aa5191f4e26a53 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 14:01:54 2023 +0200 remixd test commit 367761fe7f5fa6870491ed8a2d2705e47e2a647e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:57:37 2023 +0200 fix test commit 3a259607359e6a2d1683f875979a1ca5fbe596a4 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:56:08 2023 +0200 fix test commit 3cd59ec57b259b5be53f85cd09b4d9bfa94f2cb4 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:45:36 2023 +0200 required modules commit 6c0ffc29afb71d7bd35112213afee8bac00a2b7b Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:20:12 2023 +0200 remove recent folder commit f170b0834405f2a770f19f63d32f7b9cb7d0358e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 13:04:35 2023 +0200 filechanged commit 68515019a93471d7ce7a541409a5fda66d72969e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 10:12:59 2023 +0200 context menu commit 443dcde26016dabb022f43f0267a4e4caa5ca96e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 09:34:53 2023 +0200 menu commit 21e85f6881f865309d66346b82d5bbdbc1c90677 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 08:44:51 2023 +0200 fix menu commit 1d36d50ab69f1b09fed868409844a0706de74d79 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 22 08:21:41 2023 +0200 hometab & clone commit f542fd8d1b09355682214e5dcf1923c07c1bbd58 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 21 09:24:15 2023 +0200 provider events commit cdf0ca95c25049700bc5a2a6f4ba8134fbd2ac11 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 20:24:44 2023 +0200 some git functions commit 7dac9f1731cb4e3d45d42b7d24debedb98bfcd19 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 17:34:31 2023 +0200 fix search commit d1073ed3220aded304b08ef7de5a6733925f5a61 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 20 16:31:17 2023 +0200 glob commit 71eef01e5d5c9b644366cc38a80c5ce4e37d464d Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 14 15:45:55 2023 +0200 folder handling commit b8ed5556cb6079b8f3ed975f8abf6352db3731f3 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Tue Jun 13 17:16:36 2023 +0200 open folder commit 274a3c7cbd47ca59ffc038767e3c688630aa9057 Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 13 12:51:12 2023 +0200 loading engine commit 01433bae4fe70ca7bd5eaa09ddd078d7c92ee0cb Author: filip mertens <filip.mertens@ethereum.org> Date: Tue Jun 13 07:47:33 2023 +0200 isogit commit 038c63e362984b36d230df7d2f07993860ade7ad Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 19:39:39 2023 +0200 dgit commit 336d191c20536c756e84560461d2e3e1f5fa3cc7 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 17:22:30 2023 +0200 fs support commit 87c498fa9124a283de4127545123273916f1225f Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 13:33:28 2023 +0200 refactor commit 34abe45ebc6a674e882dec99324da38f021bc023 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:54:41 2023 +0200 fs integration commit 2e39267532862b343cf955ed8093103e87d6c9e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:54:27 2023 +0200 update test1 commit 6534e8aa472220cfeb5a1427c21d3467613968c4 Author: filip mertens <filip.mertens@ethereum.org> Date: Wed Jun 7 11:49:03 2023 +0200 update test app commit 272bf13344746d716aec003f8b58fa3754b596ec Author: filip mertens <filip.mertens@ethereum.org> Date: Sat Jun 3 13:42:10 2023 +0200 other builder commit a2d511d44569b67ac41c1ff970ce4f260234aa29 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 2 13:45:26 2023 +0200 cleanup commit 15d1a0189cedfac7274d3a2450ab5b335de995e7 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Fri Jun 2 13:33:38 2023 +0200 terminals commit 3cd5c54262c6e9e37238f0d852bde43203d8936c Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 18:07:07 2023 +0200 serve commit b8e344da37de1b529aa047484589c242fdc3c37f Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:52:42 2023 +0200 engine:activatePlugin commit 05f5bad529caeaec5f5c8d6c63d89b9de162d659 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:50:57 2023 +0200 refactor commit 12b51f44bd0762b6921633ced9327b86e2398315 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:47:48 2023 +0200 rename commit 5bff29ea3a5ae3904e8517e4a9e451b066a91219 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:46:39 2023 +0200 cleanup commit 0b878097cb7c481dfe4fc3afb0b136be2872d8e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:43:04 2023 +0200 refactor commit f68b1899699ab3382f452aab81b2180a2074ba9e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:32:35 2023 +0200 close watcher commit 03163d303e60f38ea0712e79b991a5869803f67b Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 11:28:33 2023 +0200 close watcher commit 946135bde069983cf853e259f6d845a80748fcaf Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:47:55 2023 +0200 refactor commit eae0a0f6967f1491a02707e3443338b71780e10e Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:41:22 2023 +0200 refactor commit 93973004e9cfbdc515db97468a4cf1451392efc3 Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 10:02:37 2023 +0200 refactor commit 171518f49a68b7acf124e74338b1c474f7c8e6ca Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 00:39:47 2023 +0200 change fs commit f275f0ae8a797644927c21ebc80aafb273096eff Author: filip mertens <filip.mertens@ethereum.org> Date: Thu Jun 1 00:29:36 2023 +0200 add test app commit c9297a4d8f04fc98ef5f6603bf1a4d54a734b4ad Author: bunsenstraat <filip.mertens@ethereum.org> Date: Tue May 30 08:31:18 2023 +0200 fix path commit acf2e01aa86be237b3152dbeb7e033165702ef68 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Mon May 29 18:39:08 2023 +0200 app build & serve commit 481947757773ceb66aa3624898ca09a01e133b22 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Mon May 29 09:52:36 2023 +0200 rm trash commit b4c9657e9b966ee6a1fffb02c0cb6bfcd84e5e06 Author: bunsenstraat <filip.mertens@ethereum.org> Date: Sun May 28 10:56:08 2023 +0200 new app commit 542e20ea9c7e363cfe3b4edcc312b3d82c371f78 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 15:29:49 2023 +0200 fix webpack commit 94c19ac6d44d7d633e053c14d1f1ba9aef4ee8e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 14:56:07 2023 +0200 prepackage commit 2102b3004428efb0d8a4030dc80f1e747d5901b7 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:56:08 2023 +0200 testing commit 8220097fb770953b4d9b498cf9f3fa95e98065e0 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:38:54 2023 +0200 dev server commit f966c4cb9b9ce56f3332c08773a7c5f23e0b2cf9 Author: filip mertens <filip.mertens@ethereum.org> Date: Sat May 27 13:17:18 2023 +0200 experiments
1 year ago
if (plugin.name === 'dgit') { plugin.url = 'https://dgit4-76cc9.web.app/' }
2 years ago
if (plugin.name === testPluginName) plugin.url = testPluginUrl
2 years ago
return new IframePlugin(plugin)
})
}
3 years ago
async registerContextMenuItems() {
await this.call('filePanel', 'registerContextMenuItem', {
id: 'contractflattener',
name: 'flattenAContract',
label: 'Flatten',
type: [],
extension: ['.sol'],
path: [],
pattern: [],
sticky: true,
group: 5
})
await this.call('filePanel', 'registerContextMenuItem', {
id: 'nahmii-compiler',
name: 'compileCustomAction',
label: 'Compile for Nahmii',
type: [],
extension: ['.sol'],
path: [],
pattern: [],
sticky: true,
group: 6
})
2 years ago
await this.call('filePanel', 'registerContextMenuItem', {
id: 'solidityumlgen',
name: 'generateCustomAction',
label: 'Generate UML',
2 years ago
type: [],
extension: ['.sol'],
path: [],
pattern: [],
sticky: true,
group: 7
2 years ago
})
await this.call('filePanel', 'registerContextMenuItem', {
id: 'doc-gen',
name: 'generateDocsCustomAction',
label: 'Generate Docs',
type: [],
extension: ['.sol'],
path: [],
pattern: [],
sticky: true,
group: 7
})
}
6 years ago
}
5 years ago
/** @class Reference loaders.
* A loader is a get,set based object which load a workspace from a defined sources.
* (localStorage, queryParams)
**/
class PluginLoader {
3 years ago
get currentLoader() {
5 years ago
return this.loaders[this.current]
}
5 years ago
3 years ago
constructor() {
const queryParams = new QueryParams()
this.donotAutoReload = ['remixd'] // that would be a bad practice to force loading some plugins at page load.
this.loaders = {}
this.loaders.localStorage = {
set: (plugin, actives) => {
const saved = actives.filter((name) => !this.donotAutoReload.includes(name))
localStorage.setItem('workspace', JSON.stringify(saved))
},
1 year ago
get: () => {
return JSON.parse(localStorage.getItem('workspace'))
}
}
this.loaders.queryParams = {
1 year ago
set: () => {
/* Do nothing. */
},
get: () => {
1 year ago
const {activate} = queryParams.get()
if (!activate) return []
return activate.split(',')
}
}
this.current = queryParams.get().activate ? 'queryParams' : 'localStorage'
}
3 years ago
set(plugin, actives) {
5 years ago
this.currentLoader.set(plugin, actives)
}
3 years ago
get() {
5 years ago
return this.currentLoader.get()
}
}