| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
| |
_isKeyCharacterInput only worked when not using an IME, as inside of an
IME when a keydown event is fired, the key is reported as "Process",
which does not have a key.length equal to 1. This resulted in hotkeys
being triggered while typing, which this commit fixes.
|
|
|
|
| |
Fixes #775. Note that this behavior gets overridden if backspace is set
as a shortcut action.
|
|
|
|
|
| |
* cache clipboard image to prevent duplicating in anki media
* change filename format for all media
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added Old Irish (SGA)
* Merge Yomitan Updates (#1)
* fix (#811)
* Add scanOnTouchTap and improve touch scanning defaults (#791)
* Add scanOnTouchTap
* Update version to 30
* Cleanup if statement
* log anki error when hiding button (#821)
* Fix noteInfos not getting assigned (#819)
* improve term sorting (#806)
* improve term sorting
* edge case
* fix: add missing handlebar entry (#823)
* fix: add missing handlebar entry
* fix: add new handlebar to tests
* Revert to using canAddNotes (#827)
Fix #818
* Remove unused canAdd (#824)
Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
* Fix duplicate check not working across note types (#830)
* Fix duplicate check not working across note types
* Add invalidNoteId
---------
Co-authored-by: James Maa <jmaa@berkeley.edu>
---------
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
Co-authored-by: m-edlund <me@fwegmann.com>
Co-authored-by: Eloy Robillard <eloy.robillard@gmail.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
* Revert "Merge Yomitan Updates (#1)"
This reverts commit 748dc2202b3ea9e0a028ebae5ecf51208b422c2b.
* Fix Static Analysis Error
* Fix eslint erro
---------
Co-authored-by: martholomew <martholomew@users.noreply.github.com>
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
Co-authored-by: m-edlund <me@fwegmann.com>
Co-authored-by: Eloy Robillard <eloy.robillard@gmail.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
|
|
|
|
|
|
|
|
|
| |
* Fix duplicate check not working across note types
* Add invalidNoteId
---------
Co-authored-by: James Maa <jmaa@berkeley.edu>
|
|
|
| |
Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
|
|
|
| |
Fix #818
|
|
|
|
|
| |
* fix: add missing handlebar entry
* fix: add new handlebar to tests
|
|
|
|
|
| |
* improve term sorting
* edge case
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Add scanOnTouchTap
* Update version to 30
* Cleanup if statement
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* feat: add handlebar for jidoujisho pitch graph
* fix: update handlebar upgrade test
---------
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix duplicated title
* add comment
* fix lint
* change to use action.default_title
---------
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplified diacratic removal and added preprocessors to LA and GRC
* linted
* Clarified the name of removeAlphabeticDiacritics
* Add comment to removeAlphabeticDiacritics
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
* Change to NFD
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* Remove trailing spaces in comment
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
* Remove latin preprocessors .eslintrc.json
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* fix tests
---------
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
Co-authored-by: martholomew <martholomew@users.noreply.github.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* abstract deinflections
* undo redundant changes
* remove cast
* switch to js
* MultiLanguageTransformer
* comments
* comments
* fix test
* suffixInflection
* fix bench
* substring instead of replace
* without heuristic
* suffixMap
* add other language deinflections
* wip
* catch cycles
* fix tests
* uninflect to deinflect
* use less regex
* add suru masu stem deinflection
|
| |
|
| |
|
|
|
|
|
| |
* Detect duplicates when checking if can add note
* Display the stacked add buttons
|
|
|
|
|
| |
* Move sandbox files
* Update order
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create utilities
* Rename old isObject
* Use new isObject
* Remove old function
* Add additional function
* Simplify for now
* Rename function for clarity
* Rename function
* Expand type
* Update eslint
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* abstract deinflections
* undo redundant changes
* remove cast
* MultiLanguageTransformer
* comments
* comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move isStringPartiallyJapanese out of ClipboardMonitor
* Create isStringPartiallyJapanese function
* Add textMayBeTranslatable
* Rename API function
* Rename internal function
* Add helper
* Update translatable check
* Pass language to TextScanner
* Pass language explicitly
* Use textMayBeTranslatable
* No redundant translatable check
* Update eslint
* Remove double newline
* Collapse
* Rename
|
| |
|
|
|
|
|
|
|
|
|
| |
* Fix HTML collection
* Expose templates
* Fix menu setup
* Warn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* simplify transformer
* use isPartOfSpeech
* simplify
* rename to isDictionaryForm
* NOP
---------
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* part1
* frotend done?
* fix tests
* offscreen and type complications
* add tests
* start fixing tests
* keep fixing tests
* fix tests
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* delete pt
* renames
* add tests
* kebab-case filenames
* lint
* minor fixes
* merge
* fixes
* fix part of comments
* fix more comments
* delete unused types
* comment
* comment
* do backend
* other files
* move fetch utils to own file
* remove extra line
* add extra line
* remove unnecessary export
* simplify folder structure
* remove redundant async
* fix param type in api
* fix language index
* undo changes to cssStyleApplier
* undo changes to utilities.js
* undo changes to utilities.js
* simplify language util
* lint
* undo phantom changes to anki integration
* require textTransformations options
* explicit locale in localeCompare
* punctuate notes
* prefer early exit
* rename LanguageOptionsObjectMap
* rename to textPreprocessor
* tuple with names instead of boolean array
* safe data setting
* optional chaining
* simplify LanguageOptions
* encapsulate languages
* delete language util
* nullable language in text preprocessors controller
* rename transform to process
* remove settings
* make translation advanced again
* remove unused getTextTransformations api call
* comments
* change language types
* RIP flags
* comments
* fix tests
* lint
* Text preprocessor type changes (#10)
* Add types
* Update types
* Simplify type check
* Refactor typing and structuring of language definitions
* lint
* update translator benchmark
* undo markdown changes
* undo markdown changes
* undo markdown changes
* more merge
* add more languages
* wip
* refactoring
* fixes
* add comment, delete settings text
* remove language from jsconfig
---------
Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update AudioDownloader
* Update Translator
* Update ClipboardMonitor
* Update ClipboardReader
* Update PanelElement
* Update QueryParser
* Update DisplayGenerator
* Update DisplayHistory
* Update DOMDataBinder
* Remove unnecessary cast
* Update Popup types
* One declaration per line
* Remove optionals from Frontend constructor
* Fix Translator constructor
|
|
|
|
|
|
|
|
|
| |
* Add API map type safety
* Add API map types
* Simplify names
* Remove unused type
|
| |
|
|
|
|
|
|
|
| |
* Move waitForBackendReady
* Add option to wait for DOM before running main
* Move script load to be earlier
|
|
|
|
|
| |
* Refactor DocumentUtil
* Isolate suppression
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify display template loading
* Add helper
* Rename file
* Rename for simplicity
* Create templates file
* Load
* Remove templates
* Move permissions templates
* Remove "templates" from comments
* Fix prepare
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move languageDescriptorMap
* Move text preprocessors
* Merge into language-descriptors.js
* Merge typescript
* Initialize inline
* Move types
* Update types
* Update eslint
* Update jsconfig reference
* Rename
|
|
|
|
|
|
|
| |
* disable kana conversion for other languages
* ternary parentheses
* css fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't export Logger
* Rename logger.js to log.js
* Move helper function
* Update extension name configuration
* Simplify docs
* Move issue URL to a field
* Simplify context
* Remove optional params that are never used
* Configure backend
* Update eslint
* Simplify
* Rename function
* Simplify _api reference
* Simplify docs
* Remove unused log levels (except 'log')
* Add log function
* Rename for more clear intent
* Use log.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* part1
* frotend done?
* fix tests
* offscreen and type complications
* add tests
* start fixing tests
* keep fixing tests
* fix tests
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* delete pt
* renames
* add tests
* kebab-case filenames
* lint
* minor fixes
* merge
* fixes
* fix part of comments
* fix more comments
* delete unused types
* comment
* comment
* do backend
* other files
* move fetch utils to own file
* remove extra line
* add extra line
* remove unnecessary export
* simplify folder structure
* remove redundant async
* fix param type in api
* fix language index
* undo changes to cssStyleApplier
* undo changes to utilities.js
* undo changes to utilities.js
* simplify language util
* lint
* undo phantom changes to anki integration
* require textTransformations options
* explicit locale in localeCompare
* punctuate notes
* prefer early exit
* rename LanguageOptionsObjectMap
* rename to textPreprocessor
* tuple with names instead of boolean array
* safe data setting
* optional chaining
* simplify LanguageOptions
* encapsulate languages
* delete language util
* nullable language in text preprocessors controller
* rename transform to process
* remove settings
* make translation advanced again
* remove unused getTextTransformations api call
* comments
* change language types
* RIP flags
* comments
* fix tests
* lint
* Text preprocessor type changes (#10)
* Add types
* Update types
* Simplify type check
* Refactor typing and structuring of language definitions
* lint
* update translator benchmark
* undo markdown changes
* undo markdown changes
* undo markdown changes
* more merge
* use example text
* comments
* comments
---------
Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass tabId and frameId to Application
* Remove casts
* Remove redundant frameInformationGet calls
* Expose tabId and frameId
* Remove unsed
* Simplify
* Update FrameAncestryHandler to not need a direct frameId
* Remove frameId from FrameOffsetForwarder
* Remove frameId from PopupFactory
* Remove frameId from Frontend
* Remove frameId from PopupPreviewFrame
* Fix PopupFactory and Frontend constructor
* Remove frameId from Display
* Remove frameId from SearchDisplayController
* Restore if check
|