aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update simple test (#1551)toasted-nutbread2021-03-23
| | | | | * Test null for simple mode * Update test data
* Test AnkiNoteBuilder (#1550)toasted-nutbread2021-03-23
| | | | | * Add test for AnkiNoteBuilder * Add test data
* Fix case where {tags} returns an error (#1549)toasted-nutbread2021-03-23
|
* TranslatorVM (#1548)toasted-nutbread2021-03-22
| | | | | * Add TranslatorVM * Update test-translator.js
* Remove node data for 'simple' mode, since this is never used (#1538)toasted-nutbread2021-03-17
|
* Fix incorrect mode in translator test (#1537)toasted-nutbread2021-03-17
|
* Update display results style (#1536)toasted-nutbread2021-03-16
| | | | | * Expose resultOutputMode * Update display styles
* Update packages (#1534)toasted-nutbread2021-03-15
|
* Fix invalid commas in HTML (#1533)toasted-nutbread2021-03-15
|
* 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
* Improve translator test data (#1531)toasted-nutbread2021-03-15
| | | | | | | * Organize files * Split translator test data into two files * Add test for AnkiNoteData
* 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
|
* Update browser bug list (#1488)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
|