| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Send ack before sending error response
* Fix error response not being JSON'ified
* Use _sendResult
|
|
|
|
|
| |
* Add api.isTabSearchPopup
* Fix missing asyncs
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Fix .purge not re-opening the database after deletion failure
* Create DictionaryImportController
* Remove backend dictionary import
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Add DynamicProperty class
* Add tests for DynamicProperty
|
| |
|
| |
|