summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Popup window (#773)toasted-nutbread2020-09-05
| | | | | | | * Add option usePopupWindow * Add PopupWindow class * Add support for creating PopupWindow
* Fix touch input always being disabled (#772)toasted-nutbread2020-09-05
|
* Text scanner refactor (#771)toasted-nutbread2020-09-05
| | | | | | | | | | | | | | | | | * Create searchAt wrappers * Add optional support for searching on the click event * Update QueryParser to use TextScanner's searchOnClick functionality * Move/rename searchAt * Move pendingLookup checks * Add 'searched' event to TextScanner * Use common searched event for Frontend and QueryParser * Move functions, make private
* Fix template renderer sandbox compatibility (#770)toasted-nutbread2020-09-04
| | | | | * Use Object.prototype.hasOwnProperty.call instead of hasOwn * Disable WebExtension and core.js APIs for template-renderer.js
* Remove old conditions.js references (#769)toasted-nutbread2020-09-04
|
* Make fetchModifyHeaders private (#767)toasted-nutbread2020-09-04
|
* Fix cross frame comm issues (#765)toasted-nutbread2020-09-04
| | | | | | | * Send ack before sending error response * Fix error response not being JSON'ified * Use _sendResult
* Popup proxy improvements (#764)toasted-nutbread2020-09-04
| | | | | | | | | * Fix incorrect function invocations * Ignore setVisibleOverride when it returns null * Omit redundant async * Change default return value
* Add api.isTabSearchPopup (#763)toasted-nutbread2020-09-04
| | | | | * Add api.isTabSearchPopup * Fix missing asyncs
* Defer assignment of marker (#762)toasted-nutbread2020-09-04
|
* Fix log context not being in the correct format (#761)toasted-nutbread2020-09-04
|
* Handle error if _waitForFrontendReady fails when creating a popup proxy (#760)toasted-nutbread2020-09-04
|
* Settings dictionary import refactor (#759)toasted-nutbread2020-09-04
| | | | | | | * Fix .purge not re-opening the database after deletion failure * Create DictionaryImportController * Remove backend dictionary import
* Profile conditions cleanup (#768)toasted-nutbread2020-09-04
| | | | | * Remove conditions.js * Rename profile-conditions2.js to profile-conditions.js
* Fix versiontoasted-nutbread2020-09-04
|
* Json schema profile conditions (#758)toasted-nutbread2020-09-04
| | | | | | | | | | | | | | | * Add clearCache function * Add upgrade * Use schema-based profile condition validation * Update profile conditions settings controller * Remove unnecessary async * Remove old * Remove unused templates
* Version to 20.8.24.020.8.24.0Alex Yatskov2020-08-24
|
* Add tests for data: and blob: iframe URLs (#757)toasted-nutbread2020-08-24
|
* Fix sessionStorage not being supported when cookies are disabled (#756)toasted-nutbread2020-08-24
| | | | | * Fix sessionStorage not being supported when cookies are disabled * Update comment
* Update manifest-variants with new version number :)20.8.23.0Alex Yatskov2020-08-23
|
* Verison bump to 20.8.23.0Alex Yatskov2020-08-23
|
* Change build script permissions to 0755Alex Yatskov2020-08-23
|
* Fix screenshot popup hide (#753)toasted-nutbread2020-08-23
| | | | | | | | | | | | | * Refactor Popup.setVisibleOverride * Use event to observe visibility changes * Add setAllVisibleOverride/clearAllVisibleOverride * Add setAllVisibleOverride/clearAllVisibleOverride cross frame handlers * Update how visibility is changed * Wait for next frame to ensure visibility has been updated
* Add promiseAnimationFrame function (#752)toasted-nutbread2020-08-23
|
* Display owner frame (#751)toasted-nutbread2020-08-23
| | | | | * Move ownerFrameId definition to Display * Rename _invoke to _invokeOwner
* Dynamic property (#749)toasted-nutbread2020-08-22
| | | | | * Add DynamicProperty class * Add tests for DynamicProperty
* Move generateId to core.js (#748)toasted-nutbread2020-08-22
|
* Move findTerms and findKanji functions into TextScanner (#747)toasted-nutbread2020-08-22
|
* Make Popup extend EventDispatcher for parity with PopupProxy (#746)toasted-nutbread2020-08-22
|
* Popup factory proxy creation (#745)toasted-nutbread2020-08-22
| | | | | | | * Change getOrCreatePopup to async * Rename parentFrameId to frameId, expose frameId property * Update how proxy popups are created
* Fix error during pitch accent info generation for kanji data (#744)toasted-nutbread2020-08-22
|
* Revert "Add PopupVoid (#734)" (#739)toasted-nutbread2020-08-22
| | | This reverts commit 90d694429029d804740d2af384ad903be48b040e.
* XMLDocument handling (#738)toasted-nutbread2020-08-22
| | | | | | | * Add tests for SVGs * Add more null checks for Frontend._popup * Use null popup when on an XMLDocument
* Frontend initialization refactor (#737)toasted-nutbread2020-08-16
| | | | | | | | | | | | | * Fix incorrect popup depth reassignment * Rename variable * Rename property * Use explicit parameter values * Refactor setupNestedPopups * Refactor frontend initialization
* Add PopupVoid (#734)toasted-nutbread2020-08-15
|
* Refactor some frontend cross-frame communication (#733)toasted-nutbread2020-08-15
| | | | | * Refactor iframe proxy setup * Simplify document title acquisition
* Popup API refactor (#732)toasted-nutbread2020-08-15
| | | | | | | | | | | | | | | | | * Simplify how parent/child are set * Remove unused public frameId property * Change use of getFrame * Simplify parent access * Use property for the container * Remove isProxy * Public function API parity * Public property API parity
* Fix profile conditions unit test using old JsonSchema (#735)toasted-nutbread2020-08-15
|
* JSON schema refactor (#731)toasted-nutbread2020-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | * Remove JsonSchema.clone * Move createProxy function * Group public properties first * Create private version of getPropertySchema * Mark functions as private * Use non-static getValidValueOrDefault * Mark private * Make public validate function not take an info parameter * Remove JsonSchema * Add isValid function * Use isValid for some tests * Fix incorrect type
* JSON-schema-based profile conditions (#730)toasted-nutbread2020-08-15
| | | | | | | * Add ProfileConditions class * Add URL to VM * Add new ProfileConditions tests
* More JSON schema improvements (#729)toasted-nutbread2020-08-11
| | | | | | | | | * Add support for constant values * Add contains check for arrays * Add tests * Simplify getValidValueOrDefault testing
* Remove leftover handlebars.js imports (#728)toasted-nutbread2020-08-09
|
* DOM + DocumentUtil merge (#727)toasted-nutbread2020-08-09
| | | | | | | | | * Add DOM functions to DocumentUtil * Use DocumentUtil instead of DOM * Remove DOM * Move document-util.js into mixed
* Merge dictionary.js functions into Translator class (#726)toasted-nutbread2020-08-09
| | | | | | | | | | | | | * Move dictFieldSplit * Copy dictionary.js definitions into translator.js * Convert to member functions * Refactor names * Remove dictionary.js * Rename
* Search refactoring (#725)toasted-nutbread2020-08-09
| | | | | * Rename node fields to disambiguate * Change order
* Create dev utility class for some shared functionality (#724)toasted-nutbread2020-08-09
|
* Json schema improvements (#722)toasted-nutbread2020-08-09
| | | | | | | | | | | | | * Add support for regex pattern testing * Add tests * Separate JsonSchemaProxyHandler statics into JsonSchemaValidator * Use this instead of JsonSchemaValidator * Make JsonSchemaValidator non-static * Use cache map for regex
* Fix a stray error printed due to not catching (#723)toasted-nutbread2020-08-09
|
* document.js refactor (#719)toasted-nutbread2020-08-09
| | | | | | | | | | | | | | | | | | | * Refactor document.js into a class * Move public functions first * Rename private functions * Rename * Rename argument * Use instance of DocumentUtil * Update tests * Refactor * Rename (test-)document.js to (test-)document-util.js
* Translator refactor (#720)toasted-nutbread2020-08-09
| | | | | | | | | | | | | | | * Move simple find sort into translator.js * Remove unused * Use direct reference to database * Make field private * Remove statics * Convert functions to private * Organize by public/private