aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Test handlebars (#529)toasted-nutbread2024-02-08
| | | | | | | * Add test for handlebars * Add another test * Fix header
* Transformation performance optimizations (#645)Cashew2024-02-07
| | | | | | | | | | | | | | | | | | | | | | * perform transformation bounds * fix wrong continue * fix wrong undefined check * regex performance * suffixHeuristic * escape RegExp * fix escapeRegExp * move destructuring after suffixHeuristic check --------- Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com> Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Bench updates (#649)Cashew2024-02-07
| | | | | * update bench * add bench
* Update application init process (#634)toasted-nutbread2024-02-07
|
* ignore soft hyphen when scanning text (#640)StefanVukovic992024-02-05
| | | | | * add soft hyphen to ignored characters * add soft hyphen to ignored characters
* Reduce repeated anki field marker code (#632)toasted-nutbread2024-02-05
| | | | | | | | | | | * Unify repeated code for getting anki field markers * Throw because type safety exists * Simplify * Update order * Update test data
* kbn-handlebars dependency update (#613)toasted-nutbread2024-02-05
| | | | | | | | | | | | | * Update kbn-handlebars dependency * Move handlebars dependency to dev * Update package * Update readme * Update readme * Ignore legal file
* Update @types/node to 20.11.5 and pin (#637)toasted-nutbread2024-02-05
|
* allow inflection rule chains with "polite" (#627)StefanVukovic992024-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | * fix deinflection bug * add test * fix polite te and past * expand verb flag * fix polite negative * fix polite volitional * fix polite past negative * remove unneeded rules in * new deinflector format * make nicer * lint * remove extra line
* Fix EOL whitespace (#631)toasted-nutbread2024-02-04
| | | | | * Remove eol whitespace * Add setting
* move files (#630)StefanVukovic992024-02-04
|
* Extract fetch functions to utilities (#629)StefanVukovic992024-02-04
| | | | | | | | | | | | | | | * do backend * other files * move fetch utils to own file * remove extra line * add extra line * remove unnecessary export * undo changes to cssStyleApplier
* Deinflect Json overhaul (#433)Cashew2024-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deinflect overhaul template * remove duplicates with -e rule * deinflection updates * add neba deinflections * kansaiben updates * remove redundancy * Revert "remove redundancy" This reverts commit de714066851680314c988b577e77e6bd4c9db26a. * update deinflect.json * move deinflect.json to japanese-transforms.json * remove trailing spaces * wip add tests * update deinflect.json, add tests * run 'npm run test-code-write' * rename to kansai-ben * update tests * run 'npm run test-code-write' again * add -tara deinflection
* Add documentation for new frequency handlebars (#621)Kuuuube2024-02-04
| | | | | | | | | * Add documentation for new frequency handlebars * Roughly mark default meanings * Reword explanations * Reword explanation in other docs
* fix merge_group not allowed (#625)Cashew2024-02-03
|
* Add vitest benchmark (#583)Cashew2024-02-03
| | | | | | | | | | | | | | | | | | | * add basic benches * add package.json script * fix header * add codspeed plugin * add benchmark GitHub action * add env * revert change * merge upstream * update names
* Replace `text-decoration` with `bottom-border` in links with ruby text (#595)Stephen Kraus2024-02-03
| | | | | | | | | * Replace text-decoration with bottom-border for links with ruby text * Calculate style sizes based upon current font size --------- Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Add Prettier Formatting for Markdown Files and Pre-Commit Hook (#543)marv2024-02-03
| | | | | | | * Install prettier, add prettierignore * Add precommit hook for md * Prettier format md files
* Update vitest (#616)toasted-nutbread2024-02-03
| | | | | * Update vitest * Pin version
* Chrome types update (#614)toasted-nutbread2024-02-03
| | | | | | | * Update chrome types * Fix issues * Update manifest author
* Text source generator function move (#611)toasted-nutbread2024-02-03
| | | | | | | * Move functionality into TextSourceGenerator * Move extractSentence * Move isWhitespace
* Improve translator test inputs typing (#601)toasted-nutbread2024-02-03
| | | | | * Add type identifier * Improve type correctness of translator test utilities
* Add frequency number handlebars (#600)Kuuuube2024-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add frequencies-num handlebar * Fix handlebar name * Fix inconsistent variable name format * Add frequency-number to anki tests * Use full names for total and frequency variables * Migrate handlebars to JS, split rank and occurance, add average * Remove left behind frequency-number * Fix "occurrence" spelling * Cleanup types * Add frequency support for kanji cards * Fix code style * Clean up most of duplicate code and merge functions * Fix frequencies.length check * Use less witchcraft and remove redundant type casting
* Fix auto hide search popup (#592)toasted-nutbread2024-02-03
| | | | | | | | | | | * Remove return * Update searched event * Fix auto-hide search popup event not occuring * Add TODO * Split into multiple events
* Bump the minor group with 3 updates (#602)dependabot[bot]2024-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the minor group with 3 updates: [juliangruber/read-file-action](https://github.com/juliangruber/read-file-action), [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) and [robinraju/release-downloader](https://github.com/robinraju/release-downloader). Updates `juliangruber/read-file-action` from 1.1.6 to 1.1.7 - [Release notes](https://github.com/juliangruber/read-file-action/releases) - [Commits](https://github.com/juliangruber/read-file-action/compare/02bbba9876a8f870efd4ad64e3b9088d3fb94d4b...b549046febe0fe86f8cb4f93c24e284433f9ab58) Updates `lycheeverse/lychee-action` from 1.8.0 to 1.9.3 - [Release notes](https://github.com/lycheeverse/lychee-action/releases) - [Commits](https://github.com/lycheeverse/lychee-action/compare/ec3ed119d4f44ad2673a7232460dc7dff59d2421...c053181aa0c3d17606addfe97a9075a32723548a) Updates `robinraju/release-downloader` from 1.8 to 1.9 - [Release notes](https://github.com/robinraju/release-downloader/releases) - [Commits](https://github.com/robinraju/release-downloader/compare/efa4cd07bd0195e6cc65e9e30c251b49ce4d3e51...368754b9c6f47c345fcfbf42bcb577c2f0f5f395) --- updated-dependencies: - dependency-name: juliangruber/read-file-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: lycheeverse/lychee-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: robinraju/release-downloader dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump actions/cache from 3 to 4 (#603)dependabot[bot]2024-02-01
| | | | | | | | | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump jsdom from 23.0.1 to 24.0.0 (#605)dependabot[bot]2024-02-01
| | | | | | | | | | | | | | | | Bumps [jsdom](https://github.com/jsdom/jsdom) from 23.0.1 to 24.0.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/23.0.1...24.0.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump eslint-plugin-jsdoc from 47.0.1 to 48.0.4 (#606)dependabot[bot]2024-02-01
| | | | | | | | | | | | | | | | Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 47.0.1 to 48.0.4. - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v47.0.1...v48.0.4) --- updated-dependencies: - dependency-name: eslint-plugin-jsdoc dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix dictionary data write (#607)toasted-nutbread2024-02-01
|
* Application refactor (#591)toasted-nutbread2024-02-01
| | | | | | | | | | | * Rename Yomitan class to Application, change initialization style * Rename file * Update init * Update config * Remove dead code
* Document util + google docs util state refactor (#590)toasted-nutbread2024-01-31
| | | | | | | | | * Remove static from GoogleDocsUtil since it has state * Create TextSourceGenerator * Remove DocumentUtil custom registrations * Use TextSourceGenerator
* Module refactoring (#588)toasted-nutbread2024-01-31
| | | | | | | | | | | | | | | | | | | | | * Convert PronunciationGenerator into static functions * Convert DictionaryDataUtil into static functions * Convert AnkiNoteDataCreator into static functions * Convert MediaUtil into static functions * Convert RegexUtil into static functions * Convert StringUtil into static functions * Convert ArrayBufferUtil into static functions * Convert AnkiUtil into static functions * Convert PermissionsUtil into static functions * Convert ProfileConditionsUtil into static functions
* Language transformer (#582)toasted-nutbread2024-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set up new deinflection data file * Define types * Test * Add internal types * Set up loading for transforms * Add getPartOfSpeechFlags * Convert static methods * Add note * Add transform function * Update trace structure * Add a language tag to the language transform descriptor * Add clear function * Add function for multiple parts of speech * Clarify naming * Add getConditionFlagsFromConditionType * Add plural function * Replace usages of Deinflector * Update tests * Update config * Remove old * Rename * Rename files
* Allow `clip-path`, `background`, `text-emphasis` styles in structured ↵Stephen Kraus2024-01-31
| | | | | | | | | | | content (#556) * Allow `clip-path` and `background` styles in structured content * Allow `text-emphasis` style in structured content --------- Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Fix chrome.runtime.lastError not working properly on Firefox (#593)toasted-nutbread2024-01-31
|
* fix some dead links in the welcome page (#587)notaz2024-01-29
|
* add translator text transformation tests (#565)StefanVukovic992024-01-28
| | | | | | | | | | | | | | | | | | | | * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions * add tests * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions --------- Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com> Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* improve deinflector tests (#558)Cashew2024-01-28
| | | | | | | | | | | | | | | | | * update tests * refactor types * relocate test cases * indentation * fix * fix lint * fix * fix lint
* JapaneseUtil refactor (#555)toasted-nutbread2024-01-28
| | | | | | | * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions
* Deinflection cycle testing (#477)toasted-nutbread2024-01-28
| | | | | | | | | | | | | | | | | * Add ReasonRaw * Set up cycle checks * Use Deinflector.rulesMatch * Remove checkRules * Use Deinflector.rulesMatch * Convert to test * Rename * Rename
* Adding a handlebar to return pitch accent categories of a word (#563)arbyste2024-01-27
| | | | | * Fixing logic in isNonNounVerbOrAdjective function * Adding handlebar to return pitch accent categories of a word
* Add border styling options for structured content images (#577)Stephen Kraus2024-01-27
| | | | | | | | | * Add border styling options for structured content images * Replace border style, width, and color properties with shorthand --------- Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Fix Ajv validation warning (#576)toasted-nutbread2024-01-27
| | | | | * Fix Ajv validation warning * Add test
* fix typo (#557)StefanVukovic992024-01-27
|
* Remove unneeded eslint disables (#554)toasted-nutbread2024-01-27
| | | | | * Install eslint-plugin-eslint-comments * Update rules, fix issues
* fix deinflection bug (#547)StefanVukovic992024-01-27
| | | | | * fix deinflection bug * add test
* WebExtension class (#551)toasted-nutbread2024-01-21
| | | | | | | | | | | * Add WebExtension class * Use WebExtension class * Use WebExtension instance for all runtime message sending * Use getUrl * Add a sendMessage variant which ignores the response and error
* Remove note to zip or rename settings json in bug report template (#550)Kuuuube2024-01-21
| | | | | * Remove note to zip or rename settings json in bug report template * Revise bug report template message
* Add warning if available storage space is low (#548)The Man2024-01-21
| | | | | * Add warning if storage space is low * b -> strong
* Improve handling of the applicationReady message (#552)toasted-nutbread2024-01-21
|