summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Rename GenericDatabase to Database (#634)toasted-nutbread2020-06-28
|
* Rename Database to DictionaryDatabase (#633)toasted-nutbread2020-06-28
|
* Clone function (#624)toasted-nutbread2020-06-28
| | | | | | | | | | | * Add clone function * Replace utilIsolate with clone * Replace JsonSchema.isolate with clone function * Include core.js for tests which use json-schema.js * Update visisted set
* Yomichan object separation (#627)toasted-nutbread2020-06-28
| | | | | | | | | | | | | * Move "yomichan" object setup to a separate file * Update script imports * Align message handlers * Rename Yomichan.prepare to Yomichan.ready * Add new prepare function * Improve isExtensionUrl
* Generic database (#600)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | | | * Update test * Rename db to _db * Create GenericDatabase class * Catch prepare error * Allow database to be purged even if it was not open * Remove unused functions * Change static functions to non-static * Delete and count using the media object store * Update tests
* Use DOMTextScanner (#536)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | * Use DOMTextScanner instead of TextSourceRange.seek* * Move getNodesInRange to dom.js * Move anyNodeMatchesSelector to dom.js * Remove unused functions * Update tests * Add layoutAwareScan option * Use layoutAwareScan for source and sentence scanning * Remove unused IGNORE_TEXT_PATTERN
* Replace XMLHttpRequest (#562)toasted-nutbread2020-06-13
| | | | | * Replace XMLHttpRequest with fetch * Implement fetch placeholder for tests
* Simplify shadow test and add an open shadow DOM test (#533)toasted-nutbread2020-05-10
|
* Japanese util refactor (#510)toasted-nutbread2020-05-06
| | | | | | | | | | | * Convert mixed japanese.js to utility class * Copy functions from bg/js/japanese.js into mixed/js/japanese.js * Remove bg/js/japanese.js * Make wanakana dependency optional * Update tests
* Text scanning update (#507)toasted-nutbread2020-05-06
| | | | | * Fix unity test missing a parameter * Update docSentenceExtract to not rescan content
* Dom text scanner fixes (#505)toasted-nutbread2020-05-06
| | | | | | | | | * Fix test case * Add test-dom-text-scanner * Ensure that DOMTextScanner._node never becomes null * Add remainder
* Move util database modification functions (#499)toasted-nutbread2020-05-06
| | | | | | | | | | | | | | | | | | | * Update onProgress callback to handle multiple arguments * Add apiImportDictionaryArchive * Add apiDeleteDictionary * Make onProgress the last argument for consistency * Remove deprecated util functions * Fix issue with missing progress args * Remove function calls which modify the database from Translator * Update tests * Fix errors not being serialized correctly in _createActionListenerPort
* DOMTextScanner (#458)toasted-nutbread2020-05-02
| | | | | | | * Create new class for scanning text in a document * Update test styles * Add tests
* Object property accessor API update (#485)toasted-nutbread2020-05-02
| | | | | | | | | | | | | | | | | | | | | | | * Simplify function names * Add delete and swap functions * Remove custom setter Not currently part of the expected use cases. * Add documentation * Update tests * Add delete test functions * Update tests to use fresh objects * Add swap test functions * Add empty tests * Disable delete on arrays
* Error logging refactoring (#454)toasted-nutbread2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create new logging methods on yomichan object * Use new yomichan.logError instead of global logError * Remove old logError * Handle unhandledrejection events * Add addEventListener stub * Update log function * Update error conversion to support more types * Add log event * Add API log function * Log errors to the backend * Make error/warning logs update the badge * Clear log error indicator on extension button click * Log correct URL on the background page * Fix incorrect error conversion * Remove unhandledrejection handling Firefox doesn't support it properly. * Remove unused argument type from log function * Improve function name * Change console.warn to yomichan.logWarning * Move log forwarding initialization into main scripts
* Update teststoasted-nutbread2020-04-22
|
* Change some test variables using 'source' instead of 'content'toasted-nutbread2020-04-19
|
* Add teststoasted-nutbread2020-04-18
|
* add manual performance testssiikamiika2020-04-18
|
* support iframes inside open shadow domsiikamiika2020-04-18
|
* Merge pull request #450 from toasted-nutbread/frequency-readingstoasted-nutbread2020-04-18
|\ | | | | Add support for filtering frequency metadata based on readings
| * Add support for filtering frequency metadata based on readingstoasted-nutbread2020-04-11
| |
* | Merge pull request #456 from siikamiika/parse-text-refactorsiikamiika2020-04-17
|\ \ | | | | | | Parse text refactor
| * | remove "fragment" from jp.convertReading variablessiikamiika2020-04-13
| | |
| * | assume and propagate strings for text parsingsiikamiika2020-04-13
| | |
* | | Merge pull request #444 from toasted-nutbread/unused-globalstoasted-nutbread2020-04-13
|\ \ \ | |/ / |/| | Check for unused globals as part of CI
| * | Add simple check to see if globals are unusedtoasted-nutbread2020-04-10
| |/
* | Merge pull request #440 from toasted-nutbread/collapse-emphatic-sequencestoasted-nutbread2020-04-12
|\ \ | |/ |/| Add support for collapsing emphatic character sequences
| * Add tests, remove logstoasted-nutbread2020-04-11
| |
| * Add teststoasted-nutbread2020-04-10
| |
* | Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
|/ | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* add fake chrome.runtime.onMessage.removeListenersiikamiika2020-04-05
|
* Merge pull request #424 from toasted-nutbread/dictionary-importertoasted-nutbread2020-04-05
|\ | | | | Dictionary importer
| * Move dictionary import functionality into a new classtoasted-nutbread2020-03-30
| |
* | Merge pull request #423 from toasted-nutbread/text-source-maptoasted-nutbread2020-04-05
|\ \ | | | | | | Text source map
| * | Add teststoasted-nutbread2020-03-28
| | |
| * | Create simplified source map classtoasted-nutbread2020-03-28
| |/
* | Merge pull request #385 from toasted-nutbread/pitch-accentstoasted-nutbread2020-04-05
|\ \ | | | | | | Pitch accents
| * | Move Japanese utility functions out of display-generator.jstoasted-nutbread2020-03-28
| | |
| * | Update dictionary schema to support pitch accent datatoasted-nutbread2020-03-28
| |/
* | Add allowfullscreen="true"toasted-nutbread2020-04-04
| |
* | Create some tests for fullscreen elements, <iframe>s, and shadow DOMstoasted-nutbread2020-04-04
|/
* Add more tests for convertReadingtoasted-nutbread2020-03-21
|
* Move basic string/character testing functions into a mixed/js/japanese.jstoasted-nutbread2020-03-21
|
* Add unit teststoasted-nutbread2020-03-15
|
* Add some extra teststoasted-nutbread2020-03-14
|
* Add error message checkingtoasted-nutbread2020-03-14
|
* Add teststoasted-nutbread2020-03-14
|
* Add script to validate and fix global declaration formattoasted-nutbread2020-03-10
|
* Add missing copyright commenttoasted-nutbread2020-03-08
|