| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* Update focus when internal focus is changed
* Update scroll layout
|
|
|
|
|
|
|
| |
* Update query parser text assignment
* Update how padding is used
* Hide query parser container by default
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add close function to Display
* Add new sidebar with navigation and close buttons
* Set up new navigation functionality
* Remove old navigation
|
|
|
|
|
|
|
| |
* Fix an entry not always being focused
* Fix typo
* Fix copy action not working on Firefox
|
|
|
|
|
|
|
| |
* Fix display scroll not always using the right position
* Update display layout and scroll method
* Fix border size
|
| |
|
|
|
|
|
| |
* Update display generation to use new format assumptions
* Simplify how debug information is presented
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update translator to flag redundant tags instead of remove
* Update how compact tags are shown in the popup
* Pass compactTags option to note builder
* Update options templates
* Add options upgrade
* Add options upgrade test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update Display.setOptionsContext to update options
* Update how options context is updated in Popup
* Omit optionsContext for some _showPopupContent calls
* Remove extension unload
* Disable modifier keys in frontend's options context
* Update how text scanner passes modifiers to options context
* Update how options context is passed to display
* Update how display uses options context
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update event order
* Update inputs
* Add type and cause to input info
* Update input info args
* Simplify arguments
* Update argument name
* Change order
|
| |
|
|
|
|
|
| |
* Move/rename functions
* Prevent overlapping calls to check addable definitions
|
|
|
|
|
|
|
| |
* Add anki.checkForDuplicates option
* Use checkForDuplicates for button display
* Add property to card creation
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify select generation
* Refactor text generation
* Change optional argument
* Remove query-parser-templates.html
* Simplify prepare
* Simplify preview
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use same selectors
* Use consistent stylesheet declaration
* Fix query parser not being cleared
* Set property upon load
* Don't focus for Enter key press
* Update search page styles
* Update indent and nodes
* Support dark style
* Add missing var
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add abstraction: _getDefinitionPrimaryExpressionAndReading
* Reuse existing definitions in a sequence
* Revert change to related definition source/rawSource/sourceTerm
* Update _getDefinitionPrimaryExpressionAndReading to return best match
|
|
|
|
|
|
|
|
|
| |
* Add preventMiddleMouse option to TextScanner
* Add preventMiddleMouse options
* Add options
* Apply preventMiddleMouse options
|
| |
|
|
|
|
|
|
|
| |
* Add clipboard-text anki field
* Add markers
* Update clipboard injection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor AudioUriBuilder
* Add downloadAudio function
* Refactor AudioSystem
* Update API usage
* Rename file
* Update scripts
* Add prepare calls
|
|
|
|
|
|
|
|
|
| |
* Set up template renderer proxy
* Use proxy
* Remove unused handlebars script tags
* Update manifest
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add option pointerEventsEnabled
* Add _pointerEventsEnabled option to TextScanner
* Add additional options
* Mouse pointer events
* Touch pointer events
* Pen pointer events
|
|
|
|
|
| |
* Rename _searchAtFromMouse to _searchAtFromMouseMove
* Rename cause 'mouse' to 'mouseMove' for clarity
|
|
|
|
|
|
|
|
|
|
|
| |
* Add _getTemplates function
* Add template renderer to display pages
* Add AnkiNoteBuilder to Display
* Update AnkiTemplatesController to directly use TemplateRenderer
* Remove old APIs
|
|
|
|
|
|
|
| |
* Assign duplicateScope to a variable
* Add api.addAnkiNote
* Add api.getAnkiNoteInfo, update returned data format
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename variables to disambiguate
* Update handler argument convention
* Update getUri argument convention
* Change _getAudioUri argument convention
* Change getDefinitionAudio argument convention
* Add api.getDefinitionAudio definition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add inputs to options.scanning
* Update CSS for mouse buttons
* Update list counters
* Set up HTML/CSS
* Add input controller
* Use new inputs
* Include mouse buttons
* Update how button inputs are detected
* Add index/empty fields to the input details object
* Update none check for scanning modifier
* Remove old settings
* Remove unused global
|
|
|
|
|
|
|
| |
* Use more consistent style for injectScreenshot
* Move screenshot generation into AnkiNoteBuilder/Backend
* Get optionsContext before await
|
|
|
|
|
|
|
| |
* Fix incorrect argument being passed
* Clear causeCurrent
* Change cause string to a more general input object
|
| |
|
|
|
|
|
|
|
| |
* Add option usePopupWindow
* Add PopupWindow class
* Add support for creating PopupWindow
|
|
|
|
|
| |
* Fix sessionStorage not being supported when cookies are disabled
* Update comment
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Move ownerFrameId definition to Display
* Rename _invoke to _invokeOwner
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix incorrect popup depth reassignment
* Rename variable
* Rename property
* Use explicit parameter values
* Refactor setupNestedPopups
* Refactor frontend initialization
|
|
|
|
|
|
|
|
|
| |
* Add DOM functions to DocumentUtil
* Use DocumentUtil instead of DOM
* Remove DOM
* Move document-util.js into mixed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Add _setSelectedParser helper
* Update TextScanner internal options representation
* Update QueryParser internal options representation
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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'
|
|
|
|
| |
this._setContentToken was cleared, so comparison exited.
There is not really a good reason to clear this object.
|
|
|
|
|
|
|
| |
* Remove try-catch from _termLookup
Already handled by _onTermLookup
* Move try-catch out of _onTermLookup and into _onGlossaryMouseUp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|