| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
* Update Mecab API
* Add testMecab API function
* Add a test button for the Mecab component
|
|
|
|
|
|
|
| |
* Remove screenshotGet
* Remove downloadDefinitionAudio
* Remove clipboardGetImage
|
|
|
|
|
|
|
|
|
|
|
| |
* Add getChildFrameElement to FrameAncestryHandler
* Add isRootFrame
* Initialize _frameOffset to [0, 0]
* Update FrameOffsetForwarder implementation
* Update documentation
|
|
|
|
|
|
|
|
|
| |
* Assign text content and a language
* Remove _appendMultilineText
* Assign lang for createTextNode content
* Add language attributes to HTML pages
|
|
|
|
|
|
|
|
|
|
|
| |
* Validate source window before handling messages
* Add unregisterHandler to CrossFrameAPI
* Refactor the process FrameAncestryHandler uses to get ancestor frame IDs
* Store a mapping of child frame information
* Update getFrameAncestryInfo to only run once
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update _addAnkiNote to track errors
* Change comparison
* Update anki note adding to show errors
* Fix template
* Show errors when Anki card creation behaves unexpectedly
* Update some errors related to anki media injection
* Update addAnkiNote error handling
* Improve Anki errors
* Simplify error messages related to template rendering
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove dictionary tag from term definitionTags and kanji tags
* Update test data
* Update templates
* Update tests
* Update information
|
|
|
|
|
|
|
| |
* Add optionsUpdated event to Display
* Update this._clipboardMonitorEnabled
* Update settings to ensure no unexpected behaviour
|
|
|
|
|
|
|
|
|
| |
* Add autoSearchClipboardContent option
* Hide header if there is any search text
* Add setting for autoSearchClipboardContent
* Add support for autoSearchClipboardContent
|
| |
|
|
|
|
|
| |
* Fix for chrome.commands not being present on Firefox's embedded float.html
* Fix _getSearchContext mishandling _optionsContextOverride
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix label
* Fix icon size being flexible
* Add schema
* Add customSourceType option
* Update settings
* Pass customSourceType to the audio downloader
* Implement custom audio JSON mode
|
|
|
|
|
|
|
|
|
| |
* Fix popup menus not stoping events
* Ensure non-stale use of buttons
* Enable popup menus on the popup/search pages
* Add audio menu
|
|
|
|
|
|
|
|
|
| |
* Wrap menu items in popup-menu-body
* Use bodyNode instead of node
* Update selector
* Update _setPosition to not use items
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add plus-thick.svg
* Add success-color variable
* Fix icon display
* Add badge
* Add missing audioResolved
* Update audio badge
* Expose attribute
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add _getExpressionAndReading utility
* Add _getExpressionReadingKey utility
* Add _getAudioOptions
* Separate some logic into _createAudioFromInfoList
* Update cache data format so that it can be accessed synchronously
* Allow sources to be manually specified
* Add options to enable playback of a specific entry of a source
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use a standard map
* Wrap function
* Improve cache to support multiple different source arrays
For the same reading/expression
* Rename variable
* Use null instead of an error
|
|
|
|
|
|
|
| |
* Move createExpressionAudio to DisplayAudio
* Move createAudioFromInfo to DisplayAudio
* Update TextToSpeechAudio
|
| |
|
|
|
|
|
|
|
|
|
| |
* Simplify CacheMap, removing support for array path keys
* Update keys
* Update JsonSchemaValidator
* Update AudioSystem
|
|
|
|
| |
(#1286)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify details
* Simplify audio creation
* Return an array of sources instead of a single item
* Use sourceIndex instead of index
* Rename APIs
* Return more info about the source
* Return source instead of sourceIndex
|
|
|
|
|
|
|
|
|
|
|
| |
* Create HotkeyHelpController
* Expose getAllTemplates
* Update hotkeys on the context page
* Update hotkeys on the display pages
* Fix display issue where a hotkey used to be defined but no longer is
|
|
|
|
|
|
|
|
|
| |
* Create HotkeyUtil
* Create tests
* Use HotkeyUtil
* Fix issues
|
|
|
|
|
| |
* Update display definition/definition node handling
* Separate display audio controls into a separate class
|
|
|
|
|
| |
* Simplify API
* Move fallback audio
|
|
|
|
|
|
|
| |
* Add support for frontend hotkeys; add scanSelectedText action
* Remove unused global
* Remove duplicate hotkey handler script
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add support for allowing HotkeyHandler to forward hotkeys
* Update hotkey registration
* Pass HotkeyHandler instance into Display* constructor
* Implement hotkey forwarding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for allowing TextScanner.search to force focus
* Simplify query parser searched event forwarding
* Defer fallback creation
* Simplify event listeners
* Change type to pointerType
* Change cause to eventType
* Change empty to passive; make .search function passive
* Remove unused input index
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Create HotkeyHandler
* Update Display to use HotkeyHandler
|
|
|
|
|
| |
* Scroll to the bottom when adding inputs
* Skip if empty action
|
|
|
|
|
| |
* Add nextEntryDifferentDictionary and previousEntryDifferentDictionary hotkeys
* Update settings
|
|
|
|
|
|
|
| |
* Add focusSearchBox hotkey
* Update close hotkey action
* Update hotkeys
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new option: anki.suspendNewCards
* Update Anki APIs
* Suspend card based on options
* Add setting
* Disable wrap for toggle property
|
|
|
|
|
|
|
|
|
|
|
| |
* Set up hotkey inputs
* Improve key display
* Add setInput
* Add KeyboardShortcutController
* Update how display handles hotkeys
|
|
|
|
|
|
|
| |
* Update KeyboardMouseInputField to use .code instead of .key
* Update Display to use .code instead of .key
* Remove unused function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create AnkiNoteData
* Create AnkiNoteDataDefinitionProxyHandler
* Update media injection
* Create AnkiNoteDataDefinitionSecondaryProperties
* Update note context format
* Expose url and cloze on definition
* Simplify for understandability
* Remove unused _createNoteData
* Update public object
* Remove trims on sentence, since it should already be trimmed
* Fix unused global
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass url into setContent
* Update where url is checked from
* Add documentTitle to state information
* Update how _getNoteContext gets the document title
* Update how url is fetched for options context
* Pass document title in to 'searched' event
|
|
|
|
|
| |
* Refactor how options context is created and updated
* Udpate TextScanner/QueryParser to use getSearchContext instead of getOptionsContext
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor note adding/viewing functions
* Move _addDefinition
* Update where anki field templates are assigned
* Update _createNote to not include options/templates arguments
* Simplify getAnkiNoteInfo to not require duplicateScope
|
|
|
|
|
|
|
|
|
|
|
| |
* Move TemplateRendererProxy creation into AnkiNoteBuilder
* Simplify _stringReplaceAsync
* Organize note generation
* Rename API
* Make the template rendering function more generic
|
| |
|