toasted-nutbread
|
566012f228
|
Use await
|
2020-02-01 21:00:43 -05:00 |
|
toasted-nutbread
|
5541aae201
|
Assign valid score during construction
|
2020-02-01 21:00:27 -05:00 |
|
toasted-nutbread
|
daf0385448
|
Add declaration
|
2020-02-01 21:00:27 -05:00 |
|
toasted-nutbread
|
6b9116ee49
|
Fix term tags not always being displayed
|
2020-02-01 21:00:27 -05:00 |
|
toasted-nutbread
|
1d9332cb69
|
Simplify getSequencedDefinitions and dictTermsMergeBySequence
|
2020-02-01 21:00:27 -05:00 |
|
toasted-nutbread
|
09a1214f49
|
More fixes for Firefox
|
2020-02-01 21:00:07 -05:00 |
|
toasted-nutbread
|
0762f13a6d
|
Workaround Firefox text selection bug
|
2020-02-01 21:00:07 -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
|
05bb4aef71
|
partially revert be77544d77ba1f07955d76ebba1ab36286f0e52f
|
2020-01-28 02:34:05 +02:00 |
|
siikamiika
|
02e0e24153
|
change jpod101 kana check to detect katakana
|
2020-01-27 23:28:01 +02:00 |
|
siikamiika
|
dd019ecf68
|
fix audio index in resultOutputMode = 'merge'
|
2020-01-27 23:24:34 +02:00 |
|
toasted-nutbread
|
2dbb24ea04
|
Improve error messages when Interface server is invalid
|
2020-01-26 21:01:19 -05:00 |
|
|
0cf1cf3aa0
|
Version bump
|
2020-01-26 11:27:31 -08:00 |
|
toasted-nutbread
|
1f3ff6fad0
|
Fix equals function on TextSourceRange when imposter elements are used
|
2020-01-26 10:31:17 -05:00 |
|
toasted-nutbread
|
54a48a7a9b
|
Ensure textSource is cleaned up if it isn't used
|
2020-01-26 10:31:17 -05:00 |
|
siikamiika
|
e70638e8ea
|
fix term spacing value display in settings
|
2020-01-26 00:56:52 +02:00 |
|
siikamiika
|
d2430783fd
|
fix scanning parser
|
2020-01-26 00:46:23 +02:00 |
|
siikamiika
|
7a2dbb6f73
|
add default value for termSpacing
|
2020-01-25 18:29:52 +02:00 |
|
toasted-nutbread
|
a5fc79a754
|
Create buildKanjiMeta for parity with buildTermMeta
|
2020-01-24 22:27:25 -05:00 |
|
toasted-nutbread
|
8233119eb7
|
Update how frequency data is set up
|
2020-01-24 22:24:05 -05:00 |
|
toasted-nutbread
|
ee41e0e42e
|
Rename buildTermFrequencies to buildTermMeta
|
2020-01-24 22:23:25 -05:00 |
|
toasted-nutbread
|
00bbcff8a2
|
Fix findTermMetaBulk and findKanjiMetaBulk not returning expression/character
|
2020-01-24 22:22:40 -05:00 |
|
toasted-nutbread
|
d7ce829107
|
Use Map for Mecab.listeners
|
2020-01-24 22:02:53 -05:00 |
|
toasted-nutbread
|
632765a3b5
|
Change termsUniqueMap to use a real map
|
2020-01-24 21:57:01 -05:00 |
|
toasted-nutbread
|
c75d04ccb7
|
Change uniqueDeinflectionsMap to use a real Map
|
2020-01-24 21:51:58 -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
|
0c3b7d0fbc
|
Add description of translation options
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
67759b7aa3
|
Add convertHiraganaToKatakana option
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
538d83c5a6
|
Reorganized variants to better reflect usage order
|
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
|
9c5f1d4e59
|
Update options schema
|
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
|
fb6e56b3b7
|
Remove redundant alphanumeric parameter from findTermsInternal
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
73cc64fb5c
|
Implement new translation options
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
4415a71ae2
|
Add translation options
|
2020-01-24 20:15:25 -05:00 |
|
toasted-nutbread
|
9ae87f186a
|
Update how deinflections are generated
|
2020-01-24 20:15:25 -05:00 |
|
siikamiika
|
fa4004437d
|
query parser: add toggle for term spacing
|
2020-01-25 02:57:57 +02:00 |
|
siikamiika
|
aa5a044dad
|
query parser: add reading mode 'none'
|
2020-01-25 02:56:14 +02:00 |
|
toasted-nutbread
|
04727a8cd7
|
Fix viewport issues when popupScaleRelativeToVisualViewport is disabled
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
2f994a7e5d
|
Fix font size issue with action-button
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
8e15c20311
|
Remove window.onscroll handler since it causes a warning
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
5afad35c4e
|
Fix _onApiGetZoom when chrome.tabs.getZoom is not available
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
74d9b0e857
|
Update full-width popup to stay on screen
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
d59f2022b9
|
Allow viewport to be used for constraining popup position
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
21dbb19565
|
Update popup position on scroll
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
e73e4c032c
|
Implement scale relative to visual viewport
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
5d366b722f
|
Add option for changing poup scale relative to visual viewport
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
48d93f3fa5
|
Fix default value for popupScaleRelativeToPageZoom
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
14c1f379ec
|
Update options schema
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
4d85a36091
|
Fix popup size changing when zooming
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
351598a182
|
Add settings to control popup content scale
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
e740965d4f
|
Scale popup based on current page zoom factor
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
22afab2f47
|
Remove _isInitialized
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
e51fd8ea71
|
Add _isInjectedAndLoaded property
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
f725549330
|
Remove redundant window resize handler
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
14e48cf854
|
Create single function for how the frontend shows popup content
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
8ef57936d7
|
Add functionality for getting and observing zoom factor
|
2020-01-22 20:38:21 -05:00 |
|
toasted-nutbread
|
f662137481
|
Move body font settings to root
|
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
|
d8b0d5267b
|
Catch exception on range.setStart
Fixes #328
|
2020-01-17 20:47:51 -05:00 |
|
toasted-nutbread
|
4c3321612b
|
Add space to end of term list
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
c8fd33ecf4
|
Remove redundant definition
|
2020-01-16 22:39:26 -05: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
|
f969b5b8a9
|
Update popup scan ignore selectors
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
62da7ec5cc
|
Update expression-scan-toggle to term-expression-text
|
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
|
0b1bee8c00
|
Fix invalid variables
|
2020-01-16 22:39:26 -05:00 |
|
toasted-nutbread
|
dccc60562a
|
Update navigation header style on search page
|
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
|
6c58cbcf51
|
Remove kanji.html and terms.html
|
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 |
|
|
9b4ec5a094
|
Version bump
|
2020-01-12 19:32:48 -08:00 |
|
toasted-nutbread
|
fe5e05f8aa
|
Fix incorrect result ordering
|
2020-01-12 21:31:04 -05:00 |
|
|
f1f6a21732
|
Remove leading zeroes from version number to make Mozilla happy.
|
2020-01-11 18:19:45 -08:00 |
|
|
174b923665
|
New version for a new year
|
2020-01-04 11:53:05 -08: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
|
bbace4c93b
|
Fix schema defaults not applying to arrays
|
2019-12-29 18:57:29 -05:00 |
|
toasted-nutbread
|
e2a4a46e60
|
Implement settings reset
|
2019-12-29 12:33:28 -05:00 |
|
toasted-nutbread
|
f17b55239e
|
Implement settings import
|
2019-12-29 12:33:28 -05:00 |
|
toasted-nutbread
|
5045a9a3a0
|
Implement settings export
|
2019-12-29 12:33:28 -05:00 |
|
toasted-nutbread
|
d2da4f7e62
|
Add apiOptionsSchemaGet
|
2019-12-29 12:33:15 -05:00 |
|
toasted-nutbread
|
50e0fbbb66
|
Use schema to validate options
|
2019-12-29 12:33:15 -05:00 |
|
toasted-nutbread
|
b770944b12
|
Create proxy system for json schema validation
|
2019-12-29 12:33:15 -05:00 |
|
toasted-nutbread
|
277e13f22f
|
Add schema file for options
|
2019-12-29 12:33:15 -05:00 |
|
toasted-nutbread
|
ca2aca19c5
|
Upgrade default fieldTemplates to null
|
2019-12-29 12:33:03 -05:00 |
|
toasted-nutbread
|
d2ae7364bb
|
Update anki-templates.js to control the value of fieldTemplates
Also assigns a value of null when using the default value
|
2019-12-29 12:33:03 -05:00 |
|
toasted-nutbread
|
3033fea31e
|
Treat null templates as the default value
|
2019-12-29 12:33:03 -05:00 |
|
toasted-nutbread
|
024f969bfd
|
Update comment on getClipboardText
|
2019-12-22 20:35:26 -05:00 |
|
toasted-nutbread
|
dec7f6cabb
|
Add comment describing what token is used for
|
2019-12-22 20:35:26 -05:00 |
|
toasted-nutbread
|
8b89e99eff
|
Remove contenteditable="true" from textarea
|
2019-12-22 20:35:26 -05:00 |
|
toasted-nutbread
|
11b94d5a82
|
Make apiClipboardGet use plaintext
Also clear the value before returning
|
2019-12-22 20:35:26 -05:00 |
|
toasted-nutbread
|
bf93d9f5f9
|
Improve performance of DisplaySearch's clipboard monitor
|
2019-12-22 20:35:26 -05:00 |
|
toasted-nutbread
|
362e317a5d
|
Change FrontendApiSender.callbacks to be a map
|
2019-12-21 14:30:13 -05:00 |
|
toasted-nutbread
|
a2175f2c29
|
Move PopupProxyHost initialization
|
2019-12-21 13:27:32 -05:00 |
|
toasted-nutbread
|
7ae0584077
|
Update initialization
|
2019-12-21 13:19:31 -05:00 |
|
toasted-nutbread
|
35216332bf
|
Replace window.yomichan_backend with window.yomichanBackend
|
2019-12-20 23:21:29 -05:00 |
|
toasted-nutbread
|
f8365b8092
|
Replace window.yomichan_search with DisplaySearch.instance
|
2019-12-20 23:20:56 -05:00 |
|
toasted-nutbread
|
b2cc694d95
|
Replace window.yomichan_display with DisplayFloat.instance
|
2019-12-20 23:20:42 -05:00 |
|
toasted-nutbread
|
8c236cca44
|
Remove unused yomichan_frontend
|
2019-12-20 23:20:22 -05:00 |
|
toasted-nutbread
|
7b9731e616
|
Fix apiOptionsGet being used on the background page
|
2019-12-20 22:54:28 -05:00 |
|
toasted-nutbread
|
ec8b805e8f
|
Fix missing API functions being used on the background page
|
2019-12-20 22:46:20 -05:00 |
|
toasted-nutbread
|
d7bf128333
|
Update handlebars cache
|
2019-12-20 21:51:34 -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
|
4b5138b96e
|
Override pointer-events with important
|
2019-12-17 20:54:57 -05:00 |
|
toasted-nutbread
|
ff1f256ffa
|
Only return unique elements from docElementsFromPoint
This fixes #294
|
2019-12-17 20:53:12 -05:00 |
|
toasted-nutbread
|
9557d8048b
|
Fix undefined reference
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
68a0293867
|
Make PopupProxy functions async enabled status match Popup
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
d6c64643b1
|
Don't return promises for frontend message handlers
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
0fb2357ec7
|
isVisibleAsync => isVisible
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
29734ea6e9
|
isVisible => isVisibleSync
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
72ab6f1f45
|
Remove unused child getter
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
801df8000f
|
Mark private members
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
7c68490d2e
|
Add setParent to popup
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
30e13354b3
|
Add Popup.isProxy
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
289a1849c4
|
Add _createPopupInternal to return both popup and new ID
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
41fadfd0a9
|
Add setChildrenSupported to popup
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
7140a19100
|
Remove unused property assignment
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
c4719cb7f4
|
Add getContainer to popup
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
4ba93b0770
|
Add getContainerRect to popup
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
37da5fef59
|
Move container definition
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
c3ea952844
|
Mark private functions
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
44bde5c676
|
Reorganize popup-only public functions
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
4014bbab42
|
Reorganize popup public functions to match popup proxy
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
8164ccfbfc
|
Group poup static functions together
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
fab0d70358
|
Move popup public properties
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
2c3a145866
|
Mark private members
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
8a127e07f3
|
Mark private message handlers
|
2019-12-16 19:54:41 -05:00 |
|
toasted-nutbread
|
525a3a50d1
|
Mark private functions
|
2019-12-16 19:54:41 -05:00 |
|