aboutsummaryrefslogtreecommitdiffstats
path: root/js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a couple of stylistic choicesAlessio Vanni2019-07-041-4/+2
|
* Change how modules are importedAlessio Vanni2019-07-0411-18/+13
| | | | | | | | I can't really find a reason why the returned value is preferred over the normal importing process. Additionally, there's a good chance importing Services.jsm can be done only once at the start of everything, instead of binding each object to a separate closure.
* Temporarily fix undefined referenceAlessio Vanni2019-07-042-5/+5
| | | | | Ideally HttpObserver should be its own module, but right now it depends on too much "context" to be independent from vapi-background.
* Split context menu from vapi-backgroundAlessio Vanni2019-07-042-184/+219
| | | | Also fix a typo in Makefile.
* Remove some commentsAlessio Vanni2019-06-238-31/+0
| | | | | | While they are technically informative, the splitting makes things easier to follow already (somewhat) and there's not really a need to list each global variable (there aren't many anyway.)
* Get cookie management out of vapi-backgroundAlessio Vanni2019-06-232-101/+127
|
* Split vAPI.netAlessio Vanni2019-06-232-41/+78
|
* Make HTTPRequestHeaders a moduleAlessio Vanni2019-06-231-77/+3
| | | | The same as CallbackWrapper.
* Make CallbackWrapper a moduleAlessio Vanni2019-06-232-66/+2
| | | | | | In theory this way it can be used anywhere else if needed, but right now it's simply because it has to be placed somewhere and a module seems the best place for an object definition (constructor, etc.)
* Make messaging its own fileAlessio Vanni2019-06-232-108/+144
| | | | Also reorganize the Makefile a bit.
* Move storage APIAlessio Vanni2019-06-232-302/+339
| | | | | | Also remove optional cachestorage script. It doesn't exists and the cachedstorage, whatever it is, is defined as an alias for the normal storage system.
* Move browser-related entities away from vapi-backgroundAlessio Vanni2019-06-223-214/+252
|
* Move more entities to coreAlessio Vanni2019-06-222-31/+31
|
* Minor refactoringAlessio Vanni2019-06-223-21/+20
|
* Put window management into its own fileAlessio Vanni2019-06-222-238/+198
|
* Move some commonly used functions out of vapi-backgroundAlessio Vanni2019-06-221-0/+109
|
* Remove commented-out regionAlessio Vanni2019-06-221-132/+0
|
* More refactoringAlessio Vanni2019-06-221-11/+12
|
* Remove some cruftAlessio Vanni2019-06-223-6/+9
|
* Fix missing namespaceAlessio Vanni2019-06-211-1/+2
|
* Keep refactoringAlessio Vanni2019-06-212-39/+49
| | | | Exported stuff to handle the splitting.
* Make some private entities publicAlessio Vanni2019-06-212-37/+39
| | | | | Since things have been split, some of these have to be exposed to the rest of the world.
* Split tab handling from vapi-backgroundAlessio Vanni2019-06-212-704/+743
| | | | That file is too large, let's split it up.
* Don't use child-srcAlessio Vanni2019-06-192-6/+9
| | | | | | | It generates an error in the browser console and it's rather annoying. There is still one error being generated, but it's unclear from where it comes from. Not yet tested in Basilisk.
* Fix typos and reinstate some old declarationsAlessio Vanni2019-06-191-11/+11
|
* Reformat style (huge and mostly boring commit)Alessio Vanni2019-06-191-3144/+3175
|
* Load cache earlierAlessio Vanni2019-05-271-0/+10
| | | | | The cache should be available, either read from the database or as an empty object, before any asset is fetched.
* Stop the infinite recursionAlessio Vanni2019-05-271-16/+36
| | | | Happens when third-party assets can't be downloaded from the web.
* Another fixAlessio Vanni2019-05-171-1/+1
|
* Fix migration againAlessio Vanni2019-05-171-2/+3
|
* Fix migration from old pathAlessio Vanni2019-05-171-1/+2
| | | | | | uBlock Origin also uses "extension-data" as a directory, so moving the whole thing is a bad move. Instead, simply move the ematrix.sqlite database from one place to another.
* Remove debugging statementsAlessio Vanni2019-05-151-6/+0
|
* Rewrite assets.jsAlessio Vanni2019-05-151-857/+882
| | | | It has come to this in the end.
* Fix return statementAlessio Vanni2019-05-141-1/+1
| | | | | | | The caller calling this function with topic equal to "before-asset-updated" expects a non-false value, but is never returned (a return with no value is equal to "return undefined" or something like that.)
* Remove error reportingAlessio Vanni2019-05-131-3/+1
| | | | It's not actually needed anymore
* Remove a debugging statementAlessio Vanni2019-05-131-1/+0
|
* Remove migration functionAlessio Vanni2019-05-131-2/+4
| | | | | Presumably, no one is using the old format anymore (especially since eMatrix is a different extension than uMatrix/uBlock...)
* Fix handling of existing dataAlessio Vanni2019-05-131-2/+1
|
* Fix typoAlessio Vanni2019-05-121-1/+1
|
* Migrate database from old directoryAlessio Vanni2019-05-121-1/+9
|
* Change directory name to be more informativeAlessio Vanni2019-05-121-1/+1
|
* Report error to consoleAlessio Vanni2019-05-121-1/+3
|
* Use "modern" branch unconditionallyAlessio Vanni2019-04-231-6/+9
| | | | | | | Tests showed that it works without any noticeable problems. As such, it was deemed better to throw it in the wild and see what happens. If there are any problems, this commit can simply be reverted.
* Use the right property for version checks in BasiliskAlessio Vanni2019-03-141-5/+2
|
* Let Basilisk be considered "modern Firefox"Alessio Vanni2019-03-141-2/+3
|
* Remove useless preference and check app ID in second Basilisk branchAlessio Vanni2019-03-111-6/+6
| | | | | | | | the `forceLegacyToolbarButton' preference is useless because on Pale Moon the button is always added with the "legacy" method, while on Basilisk it's always added with CustomizableUI, so there is nothing to "force" here. Also add a check that was forgotten in the previous commit.
* Check how to add the button based on the app IDAlessio Vanni2019-03-111-15/+14
| | | | | | | Unlike checking different versions of Firefox, the features that Basilisk has over Pale Moon (and viceversa) are better known and just checking the application ID is enough to understand how to add the button to the toolbar.
* Improve space elements detectionAlessio Vanni2019-03-041-5/+21
|
* Fix wyciwyg URLsAlessio Vanni2019-03-021-0/+9
| | | | Ported from uMatrix.
* Minor changesAlessio Vanni2019-03-028-7/+15
|