Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Display refactor (#643) | toasted-nutbread | 2020-07-03 |
| | | | | | | | | | | | | | | | | | | | * Remove statics * Move orphan detection and error handling to Display * Add clearContent function * Add/use public get/set functions for optionsContext * Add public getOptions * Move interactive assignment * Mark fields as private * Mark functions as private * Change stray getter into a function | ||
* | Yomichan object separation (#627) | toasted-nutbread | 2020-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 | ||
* | Use DOMTextScanner (#536) | toasted-nutbread | 2020-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 | ||
* | Safely handle volume values that are out of range (#617) | toasted-nutbread | 2020-06-21 |
| | |||
* | API refactor (#532) | toasted-nutbread | 2020-05-24 |
| | | | | | | | | | | | | | * Convert api.js into a class instance * Use new api.* functions * Fix missing binds * Group functions with progress callbacks together * Change style * Fix API override not working | ||
* | Use CSS variables for themes (#528) | toasted-nutbread | 2020-05-10 |
| | | | | | | | | | | | | | | | | | | | * Update formatting * Merge default tag color with category-less tags * Use CSS variables for colors * Add dark theme colors * Move color variables into display.css * Remove old stylesheets * Update headings * Bump minimum Firefox version to support CSS var() * Revert popular kanji text color | ||
* | Modifier key profile condition (#487) | siikamiika | 2020-05-03 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * update Frontend options on modifier change * add modifier key profile condition * use select element for modifier condition value * support "is" and "is not" modifier key conditions * use plural * remove dead null check it's never null in that function * pass element on rather than assigning to this * rename event * remove Firefox OS key to Meta detection * hide Meta from dropdown on Firefox * move input type | ||
* | Frontend refactor (part 1) (#484) | toasted-nutbread | 2020-04-27 |
| | | | | | | | | | | | | | | | | | | | * Remove _getVisualViewportScale * Use super's mouse event listener definitions * Remove redundant override * Remove getTouchEventListeners override * Rename Display.onSearchClear to onEscape * Change onSearchClear to clearSelection and use an event * Update how text is marked for selection and deselection * Replace onError with yomichan.logError * Update setEnabled to refresh all event listeners | ||
* | Update Popup and DisplayFloat optionsContext from Frontend (#464) | siikamiika | 2020-04-26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * set optionsContext from Frontend * update Popup+Display options on Frontend change * remove popup setOptions * only update DisplayFloat options from Frontend * fix optionsContext usage * fix preview frame arguments * keep Frontend URL up to date * cache url * fix preview frame * trigger modifyingProfileChange in correct places * remove async from function not using await * refactor optionsContext in Frontend | ||
* | Add support for displaying images | toasted-nutbread | 2020-04-18 |
| | |||
* | Fix overlapping audio.play calls due to await | toasted-nutbread | 2020-04-18 |
| | |||
* | Await and handle errors from audio.play() | toasted-nutbread | 2020-04-18 |
| | |||
* | Update style | toasted-nutbread | 2020-04-18 |
| | |||
* | Fix button title text not updating correctly in merge mode | toasted-nutbread | 2020-04-18 |
| | |||
* | Return index of the source instead of the source value | toasted-nutbread | 2020-04-18 |
| | |||
* | Disable cache on the backend and fix a bug with the cache key | toasted-nutbread | 2020-04-18 |
| | |||
* | Update the parameters passed to various audio-related functions | toasted-nutbread | 2020-04-18 |
| | |||
* | Merge pull request #437 from toasted-nutbread/backend-api-handler-changes | toasted-nutbread | 2020-04-11 |
|\ | | | | | Backend api handler changes | ||
| * | apiBroadcast => apiBroadcastTab | toasted-nutbread | 2020-04-10 |
| | | |||
| * | Rename apiForward to apiBroadcast | toasted-nutbread | 2020-04-07 |
| | | |||
* | | Update license author field to broader to explicitly reflect that | Alex Yatskov | 2020-04-10 |
|/ | | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :) | ||
* | Fix not awaiting this._getNoteContext | toasted-nutbread | 2020-04-06 |
| | |||
* | Add overridable getDocumentTitle | toasted-nutbread | 2020-04-06 |
| | |||
* | Add support for {document-title} | toasted-nutbread | 2020-04-06 |
| | |||
* | Add custom context object for note creation | toasted-nutbread | 2020-04-06 |
| | |||
* | Rename context to details | toasted-nutbread | 2020-04-06 |
| | |||
* | Add options | toasted-nutbread | 2020-03-28 |
| | |||
* | remove targetPopupId 'all' | siikamiika | 2020-03-21 |
| | | | | Make unset targetPopupId mean the same thing instead | ||
* | apply all options on profile change | siikamiika | 2020-03-21 |
| | |||
* | Update global declarations | toasted-nutbread | 2020-03-10 |
| | |||
* | Rename audio functions using "url" to use "uri" | toasted-nutbread | 2020-03-07 |
| | |||
* | Rename function | toasted-nutbread | 2020-03-07 |
| | |||
* | Use dependency injection for getAudioUri implementation | toasted-nutbread | 2020-03-07 |
| | |||
* | Use AudioSystem in Display | toasted-nutbread | 2020-03-07 |
| | |||
* | ensure Backend prepare in other places | siikamiika | 2020-03-02 |
| | |||
* | Fix audio buttons not being hidden properly | toasted-nutbread | 2020-03-01 |
| | |||
* | Move event handler definitions | toasted-nutbread | 2020-02-26 |
| | |||
* | Fix noteUsesScreenshot not checking mode | toasted-nutbread | 2020-02-25 |
| | |||
* | Use for of | toasted-nutbread | 2020-02-25 |
| | |||
* | Use for of | toasted-nutbread | 2020-02-25 |
| | |||
* | temporarily disable navigation header mouse wheel | siikamiika | 2020-02-24 |
| | | | | Unblock release #355, #376 | ||
* | Create EventListenerCollection class | toasted-nutbread | 2020-02-16 |
| | |||
* | Use consistent timeout for both setContentTerms and setContentKanji | toasted-nutbread | 2020-02-15 |
| | |||
* | Use promiseTimeout instead of delay | toasted-nutbread | 2020-02-15 |
| | |||
* | Move error handling for apiDefinitionsAddable | toasted-nutbread | 2020-02-15 |
| | |||
* | Rename optionsUpdate event to optionsUpdated | toasted-nutbread | 2020-02-14 |
| | | | | | | Past tense better indicates that the options were changed, but no data is being included as part of the event. It is also more consistent with the other event names the yomichan object currently provides. | ||
* | Merge pull request #358 from toasted-nutbread/general-refactoring | toasted-nutbread | 2020-02-14 |
|\ | | | | | General refactoring | ||
| * | Validate bounds of Display.definitions before using | toasted-nutbread | 2020-02-13 |
| | | |||
| * | Use Map for audioGetFromSources's cache parameter | toasted-nutbread | 2020-02-13 |
| | | |||
* | | remove extra setContentToken check from Display | siikamiika | 2020-02-14 |
| | |