Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | move text selection to TextScanner | siikamiika | 2019-12-05 |
| | |||
* | scan decoupling | siikamiika | 2019-12-05 |
| | |||
* | initial text scanner extract | siikamiika | 2019-12-05 |
| | |||
* | fix serialization errors on Chrome | siikamiika | 2019-12-04 |
| | |||
* | Merge pull request #291 from toasted-nutbread/cloze-fixes | Alex Yatskov | 2019-12-03 |
|\ | | | | | Cloze fixes | ||
| * | Simplify clozeBuild | toasted-nutbread | 2019-11-26 |
| | | |||
| * | Update cloze.body to use original sentence text | toasted-nutbread | 2019-11-26 |
| | | |||
| * | Pass kanji character to clozeBuild | toasted-nutbread | 2019-11-26 |
| | | |||
* | | fix entry scroll index 0 bug | siikamiika | 2019-12-01 |
| | | | | | | | | | | Introduced in 4e7d08ff2c184a361622a6efaf00e21af51428a9 because the range-limited index value isn't kept in the same scope. | ||
* | | always update current position on term lookup | siikamiika | 2019-12-01 |
| | | |||
* | | move Display context to a new class | siikamiika | 2019-12-01 |
| | | |||
* | | remove dead code | siikamiika | 2019-11-30 |
| | | |||
* | | rewrite history as a doubly linked list | siikamiika | 2019-11-30 |
| | | |||
* | | fix context type inconsistencies | siikamiika | 2019-11-29 |
| | | |||
* | | clear Display history on new lookup | siikamiika | 2019-11-28 |
| | | |||
* | | correct X scroll direction for history navigation | siikamiika | 2019-11-28 |
| | | |||
* | | preventDefault correctly | siikamiika | 2019-11-28 |
| | | |||
* | | store popped context history in Display | siikamiika | 2019-11-28 |
| | | |||
* | | set current entry even when disableScroll is true | siikamiika | 2019-11-28 |
| | | |||
* | | fix scroll issues in Display.entryScrollIntoView | siikamiika | 2019-11-28 |
| | | | | | | | | | | | | - Save scroll context before scrolling to top - Explicit null check for scroll param to handle scrolling to y=0 correctly | ||
* | | Update arrow-parens to always | toasted-nutbread | 2019-11-26 |
| | | |||
* | | Update unused arguments | toasted-nutbread | 2019-11-26 |
| | | |||
* | | Remove unnecessary escapes from regex literals | toasted-nutbread | 2019-11-26 |
| | | |||
* | | Use single quotes | toasted-nutbread | 2019-11-26 |
| | | |||
* | | Replace hasOwnProperty with simplified hasOwn function | toasted-nutbread | 2019-11-26 |
| | | |||
* | | Move additional utility functions to DOM | toasted-nutbread | 2019-11-26 |
| | | |||
* | | Create DOM utility file | toasted-nutbread | 2019-11-26 |
| | | |||
* | | use fallback for ambiguous furigana | siikamiika | 2019-11-27 |
| | | | | | | | | fixes #281, fixes #94 | ||
* | | Organize core.js | toasted-nutbread | 2019-11-26 |
| | | |||
* | | utilIsObject => isObject, move to core.js | toasted-nutbread | 2019-11-26 |
| | | |||
* | | Rename extension.js to core.js to better reflect its use | toasted-nutbread | 2019-11-26 |
|/ | |||
* | Update how source terms are navigated | toasted-nutbread | 2019-11-26 |
| | |||
* | Require context for setContentTerms and setContentKanji | toasted-nutbread | 2019-11-26 |
| | |||
* | Merge pull request #279 from siikamiika/query-parser-1 | siikamiika | 2019-11-26 |
|\ | | | | | Search page query parser | ||
| * | add reading modes | siikamiika | 2019-11-23 |
| | | |||
| * | give names to complex slices | siikamiika | 2019-11-23 |
| | | |||
| * | remove unneeded feature | siikamiika | 2019-11-23 |
| | | | | | | | | Unidic actually has a field for the base form of the input | ||
| * | add mecab support | siikamiika | 2019-11-23 |
| | | |||
| * | fix default params for term clicking | siikamiika | 2019-11-23 |
| | | |||
| * | add kana to text | siikamiika | 2019-11-23 |
| | | |||
| * | add simple query parser | siikamiika | 2019-11-23 |
| | | |||
* | | Replace string.substr and string.slice with string.substring | toasted-nutbread | 2019-11-24 |
|/ | | | | Improves semantic clarity, and it's recommended to not use substr. | ||
* | Merge pull request #274 from toasted-nutbread/lookup-wildcards | Alex Yatskov | 2019-11-13 |
|\ | | | | | Lookup wildcards | ||
| * | Add details field to apiTermsFind | toasted-nutbread | 2019-11-10 |
| | | |||
* | | only paste Japanese text from clipboard | siikamiika | 2019-11-13 |
|/ | |||
* | Create functions for the cases of isMouseButton | toasted-nutbread | 2019-11-10 |
| | | | | | | | | | | | | | | jshint was showing a warning that there was no break statement after the first case, which there doesn't need to be. The most straightforward way to fix this without using the unclear // jshint ignore:line is to just have two functions. This change also updates invocations of isMouseButton to use the exact case function, as this will remove the need to check the case of mosueEvent.type. This was done because onMouseMove is invoked at a high frequency. | ||
* | Fix overwriting const value | toasted-nutbread | 2019-11-10 |
| | |||
* | Fix several warnings about name conflicts | toasted-nutbread | 2019-11-10 |
| | |||
* | Use for of loop instead of forEach | toasted-nutbread | 2019-11-10 |
| | |||
* | Remove Download check when resolving Audio data | sabs | 2019-11-09 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug (seemingly unreported) in Yomichan where an Anki card will not contain any audio if the JapanesePod101 audio source trumps a secondary audio source (e.g. JapanesePod101-alternate) where the jpod101 source can't find the word requested. For example, そして has an audio entry in the alternate source but not the standard source. (Alternatively, there may be a bug in the jpod101 audioUrlBuilder, because I've only noticed this problem with hiragana-only expressions. JPod101 may not host those on the same url scheme any more. I'm not sure how to fix that, though, and the bug I'm addressing here does still persist). The reason this happens is that audioGetFromUrl uses downloaded audio to effectively check for a 404 (by examining the audio duration), but that check doesn't happen when an Anki card is being created (i.e. "download" is set, which I've changed to "willDownload" here). This change removes that check, but retains the will-download intent information to prevent attempts to download tts data, which AnkiConnect cannot do. I've also added a short explanation as to why the download check happens where it does. I think the unused audio object will get garbage collected since it's not referenced again, but I've explicitly unset it as well. |