| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Rename TemplateHandler to HtmlTemplateCollection
* Rename _templateHandler to _templates
* Allow creation from both string and element
* Simplify setup of templates, don't throw errors on invalid ID
|
|
|
|
|
|
|
|
|
| |
* Add abstraction: _getDefinitionPrimaryExpressionAndReading
* Reuse existing definitions in a sequence
* Revert change to related definition source/rawSource/sourceTerm
* Update _getDefinitionPrimaryExpressionAndReading to return best match
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add scanOnTouchMove/preventTouchScrolling scanning input options
* Add settings controls
* Support scanOnTouchMove in TextScanner
* Support preventTouchScrolling in TextScanner
|
|
|
|
|
|
|
|
|
| |
* Add preventMiddleMouse option to TextScanner
* Add preventMiddleMouse options
* Add options
* Apply preventMiddleMouse options
|
| |
|
|
|
|
|
| |
* Move mouse0 blocking during mousemove into options
* Update primary button detection
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* Update CacheMap API; get=>getOrCreate; add get; add set; add has
* Update tests
* Add more tests
|
| |
|
|
|
|
|
|
|
| |
* Change where clearDatabaseCaches occurs
* Move dictionary deletion into the settings page
* Remove api.deleteDictionary
|
|
|
|
|
| |
* Add Modal class
* Use Modal class
|
|
|
|
|
|
|
|
|
| |
* Set up template renderer proxy
* Use proxy
* Remove unused handlebars script tags
* Update manifest
|
|
|
|
|
|
|
|
|
| |
* Remove api.optionsSave
* Remove getOptionsMutable and getOptionsFullMutable
* Remove util.js
* Remove yomichanBackend
|
|
|
|
|
| |
* Create new DictionaryController
* Update input disabling when modifying the database
|
|
|
|
|
| |
* Add api.triggerDatabaseUpdated and yomichan.on('databaseUpdated')
* Update databaseUpdated event usage
|
|
|
|
|
| |
* Ensure buttons is positive before adding to set
* Break early when there are no flags remaining
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add options for searchTerms and searchKanji
* Add settings HTML
* Add options to TextScanner
* Update _search/_findDefinitions to include searchTerms/searchKanji args
* Update _searchAtFromMouseMove args
* Change argument structure for _searchAt
* Use scanning options for searchTerms and searchKanji
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 functions _onPrimaryTouchStart and _onPrimaryTouchEnd
* Add "type" to input details
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Replace _readFile with _fetchAsset for consistency with Backend
* Fix error messages
* Make OptionsUtil non-static
* Update how default options are assigned
* Add createValidatingProxy
* Add validate, update _onApiSetAllSettings
* Remove unused api.optionsSchemaGet
* Remove Backend._optionsSchema
* Update OptionsUtil to create its own JsonSchemaValidator
* Rename Backend._optionsSchemaValidator
* Make getDefault non-async
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add options for scanning input types
* Move buttons in layout, refactor CSS
* Add options for input types
* Use input type filters
* Add _getMatchingInputGroupFromEvent
* Use input filters for touch events
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
(#795)
* Update AnkiController to use AnkiConnect instance directly
* Remove unused
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* Add hideDelay option
* Add _clearSelection
* Use hideDelay
* Prevent repeated delayed selection clears
* Fix popup hide timer being cleared when the cursor is moved into the frame
|
|
|
|
|
|
|
| |
* Fix incorrect argument being passed
* Clear causeCurrent
* Change cause string to a more general input object
|
| |
|
|
|
|
|
|
|
| |
* Add functions for getting keyboard key information
* Use os + DocumentUtil to get modifier key names
* Remove keyboard modifier info from environment info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add mouse icon
* Add _updateModifiers
* Add support for mouse button modifiers
* Improve names of mouse inputs
* Improve mouse input sorting
* Rename getModifierKeyStrings to getModifierInputStrings
* Refactor keyboard/mouse inputs into KeyboardMouseInputField
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename clipboardPasteTarget to just target
* Remove else block
* Add helper functions
* Defer assignment of clipboard paste target
* Add api.clipboardGetImage
|
| |
|
|
|
|
|
|
|
| |
* Add option usePopupWindow
* Add PopupWindow class
* Add support for creating PopupWindow
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|