| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
* Add option for using settings v2
* Add options/info about settings v2
* Use settings v2 URL when applicable
* Update tests
|
|
|
|
|
|
|
|
|
| |
* Test multipleOf
* Refactor defaulting
* Use default if invalid for non-object/array properties
* Add tests
|
|
|
|
|
| |
* Use JapaneseUtil as a class which is manually instantiated
* Use alias function for toKana
|
|
|
|
|
|
|
|
|
|
|
| |
* Update japanese.js tests
* Simplify fallback/early exit
* Add overloads to furigana and furiganaPlain handlebars helper functions
* Expose unique expression/reading arrays (and subsequently counts)
* Add {frequencies} marker
|
|
|
|
|
|
|
|
|
|
|
| |
* Replace compactGlossaries option with new glossaryLayoutMode option
* Update attributes
* Update attributes
* Update color definitions
* Fix default theme scrollbar
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update translator to flag redundant tags instead of remove
* Update how compact tags are shown in the popup
* Pass compactTags option to note builder
* Update options templates
* Add options upgrade
* Add options upgrade test
|
|
|
|
|
| |
* Add a core deepEqual function
* Add tests
|
|
|
|
|
|
|
| |
* Add anki.checkForDuplicates option
* Use checkForDuplicates for button display
* Add property to card creation
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add {conjugation} marker
* Add info
* Add upgrade
* Update test
|
|
|
|
|
| |
* Ensure value has property before using its value
* Add tests
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix default options not having the correct versions
* Move schema validation
* Remove legacy version number
* Add tests for OptionsUtil.getDefault()
* Remove unused getValidValueOrDefault
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add scanOnTouchMove/preventTouchScrolling scanning input options
* Add settings controls
* Support scanOnTouchMove in TextScanner
* Support preventTouchScrolling in TextScanner
|
|
|
|
|
|
|
|
|
| |
* Add preventMiddleMouse option to TextScanner
* Add preventMiddleMouse options
* Add options
* Apply preventMiddleMouse options
|
|
|
|
|
| |
* Move mouse0 blocking during mousemove into options
* Update primary button detection
|
|
|
|
|
|
|
| |
* Update CacheMap API; get=>getOrCreate; add get; add set; add has
* Update tests
* Add more tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move lint scripts
* Move dictionary-validate.js
* Move schema-validate.js
* Move createTestDictionaryArchive, remove yomichan-test.js
* Rename yomichan-util.js to util.js
* Move test/yomichan-vm.js to dev/vm.js
* Move getArgs into util.js (and fix name)
* Create test-all.js
* Update test-code script
|
|
|
|
|
| |
* Remove conditions.js
* Rename profile-conditions2.js to profile-conditions.js
|
| |
|
|
|
|
|
| |
* Add DynamicProperty class
* Add tests for DynamicProperty
|
|
|
|
|
|
|
| |
* Add tests for SVGs
* Add more null checks for Frontend._popup
* Use null popup when on an XMLDocument
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove JsonSchema.clone
* Move createProxy function
* Group public properties first
* Create private version of getPropertySchema
* Mark functions as private
* Use non-static getValidValueOrDefault
* Mark private
* Make public validate function not take an info parameter
* Remove JsonSchema
* Add isValid function
* Use isValid for some tests
* Fix incorrect type
|
|
|
|
|
|
|
| |
* Add ProfileConditions class
* Add URL to VM
* Add new ProfileConditions tests
|
|
|
|
|
|
|
|
|
| |
* Add support for constant values
* Add contains check for arrays
* Add tests
* Simplify getValidValueOrDefault testing
|
|
|
|
|
|
|
|
|
| |
* Add DOM functions to DocumentUtil
* Use DocumentUtil instead of DOM
* Remove DOM
* Move document-util.js into mixed
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move dictFieldSplit
* Copy dictionary.js definitions into translator.js
* Convert to member functions
* Refactor names
* Remove dictionary.js
* Rename
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for regex pattern testing
* Add tests
* Separate JsonSchemaProxyHandler statics into JsonSchemaValidator
* Use this instead of JsonSchemaValidator
* Make JsonSchemaValidator non-static
* Use cache map for regex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor document.js into a class
* Move public functions first
* Rename private functions
* Rename
* Rename argument
* Use instance of DocumentUtil
* Update tests
* Refactor
* Rename (test-)document.js to (test-)document-util.js
|
|
|
|
|
| |
* Create CacheMap class
* Add test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor manifest.json
* Change end-of-line convention for built plain-text files
* Ignore builds directory
* Mark the "dev" directory as using the node environment
* Create build script
* Register build scripts
* Remove old build script
* Fix 64x64 icon
* Add test to ensure manifest data is updated properly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert audio fetching functionality to use XMLHttpRequest
* Replace requestJson
* Replace requestJson
* Replace requestJson
* Replace requestJson and requestText
* Fix tests
* Include support for vulgar word searches
* Remove request.js
|
|
|
|
|
|
|
|
|
|
|
| |
* Update eslint to 7.5.0
* Update eslint-plugin-no-unsanitized to 3.1.2
* Update fake-indexeddb to 3.1.1
* Rename DictionaryImporter.import to .importDictionary
Conflicts with o-unsanitized/method
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 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 with fetch
* Implement fetch placeholder for tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Fix unity test missing a parameter
* Update docSentenceExtract to not rescan content
|
|
|
|
|
|
|
|
|
| |
* Fix test case
* Add test-dom-text-scanner
* Ensure that DOMTextScanner._node never becomes null
* Add remainder
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|