| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
* Change getOrCreatePopup to async
* Rename parentFrameId to frameId, expose frameId property
* Update how proxy popups are created
|
| |
|
|
|
| |
This reverts commit 90d694429029d804740d2af384ad903be48b040e.
|
|
|
|
|
|
|
| |
* Add tests for SVGs
* Add more null checks for Frontend._popup
* Use null popup when on an XMLDocument
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix incorrect popup depth reassignment
* Rename variable
* Rename property
* Use explicit parameter values
* Refactor setupNestedPopups
* Refactor frontend initialization
|
| |
|
|
|
|
|
| |
* Refactor iframe proxy setup
* Simplify document title acquisition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Add ProfileConditions class
* Add URL to VM
* Add new ProfileConditions tests
|
|
|
|
|
|
|
|
|
| |
* Add support for constant values
* Add contains check for arrays
* Add tests
* Simplify getValidValueOrDefault testing
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add DOM functions to DocumentUtil
* Use DocumentUtil instead of DOM
* Remove DOM
* Move document-util.js into mixed
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move dictFieldSplit
* Copy dictionary.js definitions into translator.js
* Convert to member functions
* Refactor names
* Remove dictionary.js
* Rename
|
|
|
|
|
| |
* Rename node fields to disambiguate
* Change order
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* Add _setSelectedParser helper
* Update TextScanner internal options representation
* Update QueryParser internal options representation
|
| |
|
|
|
|
|
| |
* Create CacheMap class
* Add test
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify calls using chrome.tabs.sendMessage and getMessageResponseResult
* Rename message handlers
* Move onMessage handler into Display
* Assign search popup mode which persists across refreshes
* Update clipboard monitor on the search page
* Remove mode param
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor manifest.json
* Change end-of-line convention for built plain-text files
* Ignore builds directory
* Mark the "dev" directory as using the node environment
* Create build script
* Register build scripts
* Remove old build script
* Fix 64x64 icon
* Add test to ensure manifest data is updated properly
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add _invokeSafe function to silently ignore extension unload errors
* Remove "Api" from function names
* Add invokeSafe to Popup
* Don't redundantly set content type to 'unloaded'
|
|
|
|
| |
(#707)
|
|
|
|
|
|
|
| |
* Update TextSourceElement.equals check to match TextSourceRange.equals
* Force full query to be visible when scanning buttons or images with more text
* Update style of query parser
|
|
|
|
|
|
|
| |
* Add web request permissions
* Create fetch wrapper that anonymizes the request
* Fix Firefox not supporting 'extraHeaders' option
|
|
|
|
| |
this._setContentToken was cleared, so comparison exited.
There is not really a good reason to clear this object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert audio fetching functionality to use XMLHttpRequest
* Replace requestJson
* Replace requestJson
* Replace requestJson
* Replace requestJson and requestText
* Fix tests
* Include support for vulgar word searches
* Remove request.js
|
|
|
|
|
|
|
| |
* Remove try-catch from _termLookup
Already handled by _onTermLookup
* Move try-catch out of _onTermLookup and into _onGlossaryMouseUp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Template helper updates
* Add pitch data to exported field formatting data
* Reuse note data
* Add no-op
* Set up pitch accent templates
* Refactor version update functions
* Implement upgrade process for new Anki templates
* Consistency
* Update README and anki.js to have matching markers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove some unnecessary _setQuery calls
* Add support for forcing the query parser to be visible or hidden
* Move _setEventListenersActive calls
* Remove URL for kanji links
* Refactor _setContentTermsOrKanji
* Move search query text assignment into Display
* Move title updates into Display
* Move popup close calls
* Prevent infinite loop of extension unload events
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move options functions into a class
* Rename and privatize
* Organize by public/private
* Refactor to use async function
* Simplify update function signature
* Add comment for update
* Rename
* Copy _applyUpdates into _legacyProfileUpdateUpdateVersion
* Organize
* Move profile options updates
* Refactor update details
* Add async support
* Formatting
|
|
|
|
|
|
|
|
|
| |
* Add spread function
* Add generic operator evaluation function
* Add variable get/set/scope functions
* Add isMoraPitchHigh function
|
|
|
|
|
| |
* Create utility class for helping format dictionary data
* Change format
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Standardize setContent calls
* Rename _queryText to _fullQuery
* Move query parser into Display and update float.html
* Generalize params
* Add "full" parameter to maintain the original full query
|
|
|
|
|
|
|
|
|
| |
* Cache navigation header
* Create _focusEntry
* Update scroll restoration
* Require explicit entry focus index
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create DisplayHistory
* Change arguments for _setContentTermsOrKanji
* Set up history-driven content updates
* Use new history only
* Load definitions if missing
* Refactor definitions getting
* Add support for wildcards
* Move definitions setup
* Add events
* Allow state change even if there is no history state
* Update search page to use history
* Fix history overwriting
* Fix search page not seeing state chang events during prepare
* Update state if necessary
* Don't reassign query text if the same
* Remove DisplayContext
* Initialize with real history state
* Track URL
* Update DisplayHistory to support pseudo-history
* Configure history settings on search page
* Fix state
* Use full URL
* Change data format of setContent
* Rename details to content
* Update event arguments
* Fix animation
* Remove old state changes
* Clear content properly
* Remove set/clear content overrides
* Fix setting up event listeners for content clear
* Make clearContent private
* Make focus opt-in
* Validate source
* Add unloaded type
* Generalize content params
* Update how extension unload content is assigned
* Restore query blurring
|
| |
|
|
|
|
|
| |
* Fix missing mode on search popup
* Remove mode update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify invoke
* Pass isTerms instead of type
* Update DisplaySearch.setContent to pass argument array
* Simplify argument object structure for setContent
* Move focus and disableHistory level
* Always include focus and disableHistory options
* Change disableHistory to history
* Pass source text to setContent
* Use consistent argument/object field order
* Remove unused previous field
* Combine logic for forward/back navigation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix scroll target override sometimes using undefined value
* Clear event listeners in clearContent()
* Remove unused arguments
* Remove unused disableScroll
* Destructure definitions and context
* Merge _setContentTerms and _setContentKanji
* Move history tracking
* Destructure context
* Rename context to noteContext for clarity
* Destructure before passing args
* Move window focus
* Update scroll defaults
|
| |
|
|
|
|
|
| |
* Rename files to better match class name
* Don't pass setContent to QueryParser; use a generic event instead
|