| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
* Fix _getDefinitionDetailsForNote
* Fix _getExpressionAndReading
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Sort by the maximum length of transformedText instead of deinflectedText
* Update docs
* Update tests
|
|
|
|
|
| |
* Update display generator to use new data format for tag disambiguation
* Add separator for multiple disambiguations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update test data
* Move translator.js
* Create new version of Translator
* Update Backend
* Update DictionaryDataUtil
* Update DisplayGenerator
* Create AnkiNoteDataCreator
* Replace AnkiNoteData with AnkiNoteDataCreator
* Update tests
* Remove AnkiNoteData
* Update test data
* Remove translator-old.js
* Add TypeScript interface definitions for the new translator data format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Expose modifier keys
* Add updateMenuItems
* Don't close menu if shift key is held
* Add _createMenuItems
* Simplification
* Maintain a list of open popup menus
* Expose expression/reading
* Reuse existing items
* Update menu after a cache update
* Update menu position
|
|
|
|
|
| |
* Test null for simple mode
* Update test data
|
|
|
|
|
| |
* Add test for AnkiNoteBuilder
* Add test data
|
| |
|
|
|
|
|
| |
* Add TranslatorVM
* Update test-translator.js
|
| |
|
| |
|
|
|
|
|
| |
* Expose resultOutputMode
* Update display styles
|
| |
|
| |
|
|
|
|
|
| |
* Fix furigana distribution when source/expression kana differs
* Add an additional test
|
|
|
|
|
|
|
| |
* Organize files
* Split translator test data into two files
* Add test for AnkiNoteData
|
| |
|
| |
|
|
|
|
|
| |
* Remove old settings page
* Remove spinner.gif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update formatting
* Add _findMultiBulk
* Update implementation of findTermsBySequenceBulk
* Update tests
* Generalize query creation
* Remove _findGenericBulk
* Reduce function creation
* Add more bindings
* Simplify findTermsExactBulk implementation
* Update var names
* Update _findMultiBulk to support multiple index queries
* Update findTermsBulk
* Update getMedia implementation
* Pass data arg to getAll and findFirst to avoid having multiple closures
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix content security policy for images
* Add createBlobFromBase64Content to MediaUtil
* Update MediaLoader to use MediaUtil
* Use blob URLs when importing dictionaries
* Update VM's URL to support createObjectURL and revokeObjectURL
* Fix test
|
| |
|
|
|
|
|
| |
* Rename --main-content-size to --content-width
* Add --content-width-search variable
|
| |
|
| |
|
|
|
|
|
| |
* Add Database.findFirst
* Add DictionaryDatabase.findTagMetaBulk
|
| |
|
| |
|
|
|
|
|
| |
* Improve distributeFuriganaInflected implementation
* Update tests
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Move function
* Add _onSearchClick function
* Move _onSearchClick after event prevention
* Prevent search if selection is changed before a click occurs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove unused: _removeUsedDefinitions
* Remove unused: _scoreToTermFrequency
* Remove unused: _getTermTagsScoreSum
* Add RegexUtil
* Update Translator to use RegexUtil
* Update sw.js
* Update tests
|
|
|
|
|
|
|
|
|
|
|
| |
* Add getTermFrequency
* Update DisplayGenerator to use getTermFrequency
* Remove termFrequency from Translator data
* Backwards compatibility
* Update tests
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove redundant language assignment
* Segment furigana from DisplayGenerator
* Remove furiganaSegments from translator data
* Add backwards compatibility for furiganaSegments
* Update tests
|
|
|
|
|
|
|
|
|
| |
* Make Deinflector._ruleTypes private
* Add createDeinflection helper
* Remove unnecessary field assignments from Deinflector
Move them to Translator instead
|
|
|
|
|
| |
* Update _createTermDetailsList usage and docs
* Update source of expression/reading/furiganaSegments
|
|
|
|
|
| |
* Update _getInfoJpod101's empty reading check
* Use URLSearchParams instead of a string
|
|
|
|
|
|
|
| |
* Handle empty readings earlier in the definition creation process
* Remove empty reading check
* Remove special handling of empty readings
|
|
|
|
| |
remainder characters (#1496)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Make invokeContentOrigin public
* Move display resizer functionality into a new class: DisplayResizer
* Simplify field names
* Use parent frame instead of content origin
* Remove unused
|
|
|
|
|
| |
* Change order
* Update multiline text assignment
|
| |
|
|
|
|
|
|
|
|
|
| |
* Refactor expression comparison
* Rename function
* Add dictionary index sorting
* Update test data
|
| |
|
| |
|
| |
|