aboutsummaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAge
...
* Enable audio menu shift click (#1555)toasted-nutbread2021-03-25
| | | | | | | | | | | | | | | | | | | | | * 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
* Fix case where {tags} returns an error (#1549)toasted-nutbread2021-03-23
|
* Update display results style (#1536)toasted-nutbread2021-03-16
| | | | | * Expose resultOutputMode * Update display styles
* Fix furigana distribution when source/expression kana differs (#1532)toasted-nutbread2021-03-15
| | | | | * Fix furigana distribution when source/expression kana differs * Add an additional test
* Fix error for kanji note data (#1530)toasted-nutbread2021-03-15
|
* Fix search tab not focusing correctly (#1529)toasted-nutbread2021-03-15
|
* Remove old settings page (#1524)toasted-nutbread2021-03-14
| | | | | * Remove old settings page * Remove spinner.gif
* Dictionary database improvements (#1527)toasted-nutbread2021-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 dictionary image support (#1526)toasted-nutbread2021-03-14
| | | | | | | | | | | | | * 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
* Make MediaUtil a static class (#1525)toasted-nutbread2021-03-14
|
* Add css width var (#1523)toasted-nutbread2021-03-13
| | | | | * Rename --main-content-size to --content-width * Add --content-width-search variable
* Remove TODO comment from settings.css (#1522)toasted-nutbread2021-03-13
|
* Simplify _findFirstBulk (#1521)toasted-nutbread2021-03-13
|
* Database API updates (#1520)toasted-nutbread2021-03-13
| | | | | * Add Database.findFirst * Add DictionaryDatabase.findTagMetaBulk
* Fix sorting of non-top-level definitions (#1516)toasted-nutbread2021-03-10
|
* Fix tag height (#1515)toasted-nutbread2021-03-10
|
* Fix incorrect furigana distribution (#1514)toasted-nutbread2021-03-10
| | | | | * Improve distributeFuriganaInflected implementation * Update tests
* Fix permissions changes not being supported on some browsers (#1513)toasted-nutbread2021-03-10
|
* Fix previousStyles being recreated for every transparent element (#1512)toasted-nutbread2021-03-10
|
* Fix text selection during scanning (#1508)toasted-nutbread2021-03-09
| | | | | | | | | * Move function * Add _onSearchClick function * Move _onSearchClick after event prevention * Prevent search if selection is changed before a click occurs
* Clean up translator (#1505)toasted-nutbread2021-03-08
| | | | | | | | | | | | | | | * Remove unused: _removeUsedDefinitions * Remove unused: _scoreToTermFrequency * Remove unused: _getTermTagsScoreSum * Add RegexUtil * Update Translator to use RegexUtil * Update sw.js * Update tests
* Refactor term frequency data (#1503)toasted-nutbread2021-03-07
| | | | | | | | | | | * Add getTermFrequency * Update DisplayGenerator to use getTermFrequency * Remove termFrequency from Translator data * Backwards compatibility * Update tests
* Refactor furigana segment data (#1502)toasted-nutbread2021-03-07
| | | | | | | | | | | * Remove redundant language assignment * Segment furigana from DisplayGenerator * Remove furiganaSegments from translator data * Add backwards compatibility for furiganaSegments * Update tests
* Deinflector refactor (#1501)toasted-nutbread2021-03-07
| | | | | | | | | * Make Deinflector._ruleTypes private * Add createDeinflection helper * Remove unnecessary field assignments from Deinflector Move them to Translator instead
* Translator data format improvements (#1500)toasted-nutbread2021-03-07
| | | | | * Update _createTermDetailsList usage and docs * Update source of expression/reading/furiganaSegments
* Update audio downloader (#1499)toasted-nutbread2021-03-06
| | | | | * Update _getInfoJpod101's empty reading check * Use URLSearchParams instead of a string
* Improve empty reading handling (#1497)toasted-nutbread2021-03-06
| | | | | | | * Handle empty readings earlier in the definition creation process * Remove empty reading check * Remove special handling of empty readings
* Fix furigana distribution when reading starts with expression, but has ↵toasted-nutbread2021-03-06
| | | | remainder characters (#1496)
* Add CSS variable to control tag height (#1495)toasted-nutbread2021-03-06
|
* Separate display resizer (#1494)toasted-nutbread2021-03-06
| | | | | | | | | | | * Make invokeContentOrigin public * Move display resizer functionality into a new class: DisplayResizer * Simplify field names * Use parent frame instead of content origin * Remove unused
* Fix multiline copying (#1493)toasted-nutbread2021-03-06
| | | | | * Change order * Update multiline text assignment
* Use dictionary priority later in the definition sorting algorithm (#1492)toasted-nutbread2021-03-06
|
* Split dictionary order and index sorting (#1491)toasted-nutbread2021-03-06
| | | | | | | | | * Refactor expression comparison * Rename function * Add dictionary index sorting * Update test data
* Add workaround for a frequency disambiguation layout issue on Firefox (#1489)toasted-nutbread2021-03-05
|
* Fix missing meta when reading is empty (#1486)toasted-nutbread2021-03-05
|
* Fix text being overwritten when generating the query parser content (#1483)toasted-nutbread2021-03-03
|
* Fix missing required options (#1482)toasted-nutbread2021-03-02
|
* Add clickable web browser settings links (#1481)toasted-nutbread2021-03-02
|
* Request persistent storage on Firefox (#1480)toasted-nutbread2021-03-02
|
* Add a toggle for the persistent storage option on the permissions page (#1479)toasted-nutbread2021-03-02
|
* Persistent storage controller (#1478)toasted-nutbread2021-03-02
| | | | | | | | | * Add PersistentStorageController * Update DictionaryController * Update DictionaryImportController * Update when storage stats are updated
* Fix enter key causing duplicate text when typing using an IME (#1477)toasted-nutbread2021-03-02
|
* Remove zero-width space (#1475)toasted-nutbread2021-03-01
|
* Refactor translator merged mode (#1474)toasted-nutbread2021-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove sourceDefinitions * Add id * Remove related definitions from unsequencedDefinitions * Add separate _addRelatedDefinitions function * Add secondary definitions * Update how secondary definitions are added * Update expression/reading source * Move _mergeByGlossary body * Refactor _createTermDetailsListFromTermInfoMap * Move _addUniqueTermInfos body * Rename function * Organize * Simplify duplicate check * Rename relatedDefinitionIds to definitionIds * Refactor secondary definition adding * Early exit * Add matching unsequencedDefinitions to secondaryDefinitions * Clean * Fix incorrect condition * Move _addSecondaryDefinitions call * Add comments
* Translator refactor (#1473)toasted-nutbread2021-03-01
| | | | | | | | | | | | | * Refactor _groupTerms and add doc comment * Update where expression/reading is acquired from * Add doc comment * Add isPrimary field * Update test data * Add definition which has "isPrimary": false definitions
* Update version21.2.28.0toasted-nutbread2021-02-28
|
* Add support for resizing the popup window using touch events (#1471)toasted-nutbread2021-02-28
|
* Wrap host selection copy in a try-catch (#1470)toasted-nutbread2021-02-28
|
* Improve text parser (#1469)toasted-nutbread2021-02-28
| | | | | | | | | | | | | * Merge ungrouped characters * Update iteration * Fix incorrect code point handling * Simplify text * Specify language * Update how parsed status is represented
* Fix a poorly handled edge case of the scanning parser (#1468)toasted-nutbread2021-02-28
|