siikamiika
|
8abab28c4d
|
remove isPrepared check
|
2020-02-13 14:36:32 +02:00 |
|
siikamiika
|
df37acd17f
|
rename display initialize methods to prepare
|
2020-02-13 01:59:26 +02:00 |
|
siikamiika
|
93eaee9765
|
simplify DisplayGenerator initialization
|
2020-02-13 01:43:01 +02:00 |
|
toasted-nutbread
|
4629fb3639
|
Change no-undef from off to error
|
2020-02-11 22:22:16 -05:00 |
|
siikamiika
|
9ffd0cb441
|
Merge pull request #350 from siikamiika/query-parser-html-templates
query parser html templates
|
2020-02-11 11:07:05 +02:00 |
|
toasted-nutbread
|
bbb74d0a48
|
Assign _isInitialized
|
2020-02-10 20:38:20 -05:00 |
|
siikamiika
|
4f1ed14f07
|
simplify TemplateHandler
|
2020-02-10 21:56:48 +02:00 |
|
siikamiika
|
6c63a17d66
|
query parser html templates
|
2020-02-10 21:19:18 +02:00 |
|
siikamiika
|
56f1f8384d
|
use parseUrl in Backend
|
2020-02-10 00:09:29 +02:00 |
|
toasted-nutbread
|
165959ef06
|
Move japanese.js into bg
|
2020-02-08 20:45:30 -05:00 |
|
siikamiika
|
8eac191c97
|
prevent unwanted wheel events on history bar
|
2020-02-05 14:19:48 +02:00 |
|
siikamiika
|
b8326138a3
|
add scannable tags for expression and reading
|
2020-02-02 13:57:30 +02:00 |
|
siikamiika
|
24690ceb7c
|
fix glossary item selector
|
2020-02-02 13:44:08 +02:00 |
|
toasted-nutbread
|
6b9116ee49
|
Fix term tags not always being displayed
|
2020-02-01 21:00:27 -05:00 |
|
toasted-nutbread
|
db247a2837
|
Fix double clicking reason and glossary text
|
2020-02-01 21:00:07 -05:00 |
|
toasted-nutbread
|
dd700af0be
|
Fix tag double click
|
2020-02-01 21:00:07 -05:00 |
|
siikamiika
|
dd019ecf68
|
fix audio index in resultOutputMode = 'merge'
|
2020-01-27 23:24:34 +02:00 |
|
toasted-nutbread
|
54a48a7a9b
|
Ensure textSource is cleaned up if it isn't used
|
2020-01-26 10:31:17 -05:00 |
|
siikamiika
|
7357eaf07a
|
Merge pull request #330 from siikamiika/query-parser-helper-disabling
Query parser helper disabling
|
2020-01-25 03:29:55 +02:00 |
|
toasted-nutbread
|
be645c2c98
|
Add support for dashes
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
46e3d72641
|
Move where 'a' character offset is applied
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
317bf35bc0
|
Replace and remove old character/string testing functions
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
1fa8a59626
|
Create new character/string testing functions
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
9b509d50a9
|
Add character range definitions
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
3c17388ff8
|
Update constant naming convention
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
b5015264f2
|
Include half width and full width characters as Japanese characters
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
86d96a9036
|
Update detection of Japanese characters
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
be2e6e0d93
|
Optimize jpIsKanji and jpIsKana
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
73cc64fb5c
|
Implement new translation options
|
2020-01-24 20:15:25 -05:00 |
|
siikamiika
|
aa5a044dad
|
query parser: add reading mode 'none'
|
2020-01-25 02:56:14 +02:00 |
|
toasted-nutbread
|
8ef57936d7
|
Add functionality for getting and observing zoom factor
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
26ea278c29
|
Improve debug logging
|
2020-01-21 19:08:56 -05:00 |
|
siikamiika
|
1fd568ab8e
|
fix term reason selector
|
2020-01-19 03:04:45 +02:00 |
|
toasted-nutbread
|
9abfd7acde
|
Always show actions when there is only a single term result
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
6c344b2740
|
Fix incorrect selector
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
d4296a34cc
|
Fix scroll position when header is visible
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
7686e56c00
|
Move display templates into a single file
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
d512c111f6
|
Update how content display is changed
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
97f7df3302
|
Don't use document fragment
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
7a6f85879e
|
Update content assignment to use unique token
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
dbbcfa5739
|
Only use Display.setContent
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
c53947a94a
|
Only instantiate the first child
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
24832be636
|
Update how spinner visibility is controlled
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
a50e2fb0f1
|
Fix furigana segmentation
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
56ee7f8df4
|
Update display content generation to use HTML templates
|
2020-01-16 22:39:26 -05:00 |
|
siikamiika
|
8292be92d8
|
use TextScanner in QueryParser
|
2020-01-16 23:22:38 +02:00 |
|
toasted-nutbread
|
0d7ccf25b8
|
Update license info URL
|
2020-01-01 12:00:31 -05:00 |
|
toasted-nutbread
|
899ef167d1
|
Update copyright
|
2020-01-01 12:00:00 -05:00 |
|
toasted-nutbread
|
d2da4f7e62
|
Add apiOptionsSchemaGet
|
2019-12-29 12:33:15 -05:00 |
|
toasted-nutbread
|
2519f99f54
|
Update how orphan state is observed
|
2019-12-20 13:44:33 -05:00 |
|
toasted-nutbread
|
2a95f1420f
|
Move optionsUpdate message handler into Yomichan class
|
2019-12-20 13:36:54 -05:00 |
|
toasted-nutbread
|
e14bd75a4f
|
Change how getUrl message is handled
|
2019-12-20 13:15:26 -05:00 |
|
toasted-nutbread
|
cab2a39981
|
Simplify options passed to docRangeFromPoint
|
2019-12-17 20:56:32 -05:00 |
|
toasted-nutbread
|
ce51fe7eca
|
Use a single api.js
|
2019-12-13 23:11:56 -05:00 |
|
toasted-nutbread
|
4177b63726
|
Remove redundant getUrl handlers
|
2019-12-13 23:11:56 -05:00 |
|
toasted-nutbread
|
a9c4ce724c
|
Update display key handlers
|
2019-12-13 23:11:56 -05:00 |
|
toasted-nutbread
|
a2263e5729
|
Update display message handlers
|
2019-12-13 23:11:56 -05:00 |
|
toasted-nutbread
|
47feb95842
|
Add timer class for debugging
|
2019-12-10 19:40:40 -05:00 |
|
toasted-nutbread
|
bb334acab6
|
Use substring instead of slice
|
2019-12-08 16:01:29 -05:00 |
|
toasted-nutbread
|
1659340898
|
Add support for prefix wildcards
|
2019-12-07 14:34:35 -05:00 |
|
toasted-nutbread
|
20679255b0
|
Add class for dispatching custom events
|
2019-12-07 13:59:47 -05:00 |
|
siikamiika
|
e99c8c40a1
|
navigate history with wheel only over buttons
|
2019-12-07 17:41:14 +02:00 |
|
siikamiika
|
f6d0503604
|
simplify with inheritance
|
2019-12-06 21:39:29 +02:00 |
|
siikamiika
|
595636c40b
|
move text selection to TextScanner
|
2019-12-05 22:48:05 +02:00 |
|
siikamiika
|
e5be42d3de
|
scan decoupling
|
2019-12-05 22:12:43 +02:00 |
|
siikamiika
|
02a34bb4bc
|
initial text scanner extract
|
2019-12-05 03:58:35 +02:00 |
|
siikamiika
|
d8935b6aa9
|
fix serialization errors on Chrome
|
2019-12-04 21:49:51 +02:00 |
|
Alex Yatskov
|
a24146538c
|
Merge pull request #291 from toasted-nutbread/cloze-fixes
Cloze fixes
|
2019-12-03 14:19:33 -08:00 |
|
siikamiika
|
403b86675d
|
fix entry scroll index 0 bug
Introduced in 4e7d08ff2c because the
range-limited index value isn't kept in the same scope.
|
2019-12-01 15:03:37 +02:00 |
|
siikamiika
|
abe70e3b8c
|
always update current position on term lookup
|
2019-12-01 06:08:05 +02:00 |
|
siikamiika
|
5929018fac
|
move Display context to a new class
|
2019-12-01 05:38:23 +02:00 |
|
siikamiika
|
be23ad7213
|
remove dead code
|
2019-11-30 04:59:36 +02:00 |
|
siikamiika
|
ff9510356e
|
rewrite history as a doubly linked list
|
2019-11-30 04:49:37 +02:00 |
|
siikamiika
|
8a94d186c3
|
fix context type inconsistencies
|
2019-11-29 01:36:14 +02:00 |
|
siikamiika
|
1dd88763de
|
clear Display history on new lookup
|
2019-11-28 18:24:24 +02:00 |
|
siikamiika
|
f1ecb4cd39
|
correct X scroll direction for history navigation
|
2019-11-28 15:54:55 +02:00 |
|
siikamiika
|
86ff831600
|
preventDefault correctly
|
2019-11-28 15:24:00 +02:00 |
|
siikamiika
|
beea89a421
|
store popped context history in Display
|
2019-11-28 15:20:18 +02:00 |
|
siikamiika
|
4e7d08ff2c
|
set current entry even when disableScroll is true
|
2019-11-28 13:22:47 +02:00 |
|
siikamiika
|
e37ffb6cf5
|
fix scroll issues in Display.entryScrollIntoView
- Save scroll context before scrolling to top
- Explicit null check for scroll param to handle scrolling to y=0
correctly
|
2019-11-28 12:38:25 +02:00 |
|
toasted-nutbread
|
5a1046bc90
|
Update arrow-parens to always
|
2019-11-26 22:06:27 -05:00 |
|
toasted-nutbread
|
acb70f126c
|
Update unused arguments
|
2019-11-26 22:06:27 -05:00 |
|
toasted-nutbread
|
527595f79b
|
Remove unnecessary escapes from regex literals
|
2019-11-26 22:06:27 -05:00 |
|
toasted-nutbread
|
943350a1f6
|
Use single quotes
|
2019-11-26 22:06:27 -05:00 |
|
toasted-nutbread
|
0aed27b66d
|
Replace hasOwnProperty with simplified hasOwn function
|
2019-11-26 22:06:27 -05:00 |
|
toasted-nutbread
|
4110a848f5
|
Move additional utility functions to DOM
|
2019-11-26 18:59:52 -05:00 |
|
toasted-nutbread
|
96aad50340
|
Create DOM utility file
|
2019-11-26 18:59:52 -05:00 |
|
siikamiika
|
c2ff25b0ec
|
use fallback for ambiguous furigana
fixes #281, fixes #94
|
2019-11-27 01:20:04 +02:00 |
|
toasted-nutbread
|
50604b25e6
|
Organize core.js
|
2019-11-26 17:38:05 -05:00 |
|
toasted-nutbread
|
099847729c
|
utilIsObject => isObject, move to core.js
|
2019-11-26 17:33:09 -05:00 |
|
toasted-nutbread
|
7e94fca7c7
|
Rename extension.js to core.js to better reflect its use
|
2019-11-26 17:29:52 -05:00 |
|
toasted-nutbread
|
3a7ef6c560
|
Simplify clozeBuild
|
2019-11-26 12:35:17 -05:00 |
|
toasted-nutbread
|
afddec66eb
|
Update cloze.body to use original sentence text
|
2019-11-26 12:35:17 -05:00 |
|
toasted-nutbread
|
befee9ceca
|
Pass kanji character to clozeBuild
|
2019-11-26 12:35:17 -05:00 |
|
toasted-nutbread
|
cb9f9b585a
|
Update how source terms are navigated
|
2019-11-26 12:31:20 -05:00 |
|
toasted-nutbread
|
c7cb1b3d9e
|
Require context for setContentTerms and setContentKanji
|
2019-11-26 12:31:17 -05:00 |
|
siikamiika
|
3423ed7d67
|
Merge pull request #279 from siikamiika/query-parser-1
Search page query parser
|
2019-11-26 18:31:35 +02:00 |
|
toasted-nutbread
|
cf18e3b42e
|
Replace string.substr and string.slice with string.substring
Improves semantic clarity, and it's recommended to not use substr.
|
2019-11-24 11:02:52 -05:00 |
|
siikamiika
|
cc8221c6ea
|
add reading modes
|
2019-11-23 17:50:46 +02:00 |
|
siikamiika
|
84f30113e4
|
give names to complex slices
|
2019-11-23 17:50:46 +02:00 |
|