Commit Graph

102 Commits

Author SHA1 Message Date
toasted-nutbread
899ef167d1 Update copyright 2020-01-01 12:00:00 -05:00
toasted-nutbread
35216332bf Replace window.yomichan_backend with window.yomichanBackend 2019-12-20 23:21:29 -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
ce51fe7eca Use a single api.js 2019-12-13 23:11:56 -05:00
toasted-nutbread
11b300ab76 Move apiClipboardGet implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
2fef2bf5a8 Move apiGetEnvironmentInfo implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
f786713466 Move apiInjectStylesheet implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
01a3432627 Move apiFrameInformationGet implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
daff44a010 Move apiForward implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
d8b21606ba Move apiScreenshotGet implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
1202ad261e Move apiAudioGetUrl implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
f63220b6c5 Move apiCommandExec implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
f07207c9bf Move apiTemplateRender implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
5a74350552 Move apiNoteView implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
233ed4d0fb Move apiDefinitionsAddable implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
c9cd29889d Move apiDefinitionAdd implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
7091c8c5c0 Move apiTextParseMecab implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
ddad034aa6 Move apiTextParse implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
73ce2fe3d3 Move apiTermsFind implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
5cceba15e2 Move apiKanjiFind implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
8dff73679e Move apiOptionsSave implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
6a1cfbaad6 Move apiOptionsSet implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
d6fe5c3e46 Move apiOptionsGetFull implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
4922d3433d Move apiOptionsGet implementation into Backend 2019-12-13 23:11:56 -05:00
toasted-nutbread
832405c74a Mark functions as private 2019-12-13 23:11:56 -05:00
toasted-nutbread
bb334acab6 Use substring instead of slice 2019-12-08 16:01:29 -05:00
toasted-nutbread
5a1046bc90 Update arrow-parens to always 2019-11-26 22:06:27 -05:00
toasted-nutbread
1daed12290 Comment empty blocks 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
siikamiika
2577d4054e fix scanning parser 2019-11-23 18:08:22 +02:00
siikamiika
cc8221c6ea add reading modes 2019-11-23 17:50:46 +02:00
siikamiika
b02a30a2fd explicit checks in while and if 2019-11-23 17:50:46 +02:00
siikamiika
b336ab3a9a use const 2019-11-23 17:49:25 +02:00
siikamiika
955e131f96 add parser selection options 2019-11-23 17:45:44 +02:00
siikamiika
41020289ab add mecab support 2019-11-23 17:45:44 +02:00
siikamiika
3881457e4e use handlebars templates for query parser 2019-11-23 17:45:44 +02:00
siikamiika
e6a1b78164 use correct source text 2019-11-23 17:44:31 +02:00
siikamiika
d19f447b80 fix stem length checking
Starting from the end and stopping at first match doesn't guarantee
correctness. Starting from the beginning does.
2019-11-23 17:40:52 +02:00
siikamiika
c35a05cd62 add kana to text 2019-11-23 17:40:52 +02:00
toasted-nutbread
3a225c3f91 Add details field to apiTermsFind 2019-11-10 14:02:43 -05:00
toasted-nutbread
7093d8f06e Simplify how definition count is limited 2019-11-10 14:02:43 -05:00
toasted-nutbread
58c0997999 Give findKanji the same API as findTerms 2019-11-10 14:02:43 -05:00
toasted-nutbread
af1662acad Update how apiTermsFind works 2019-11-10 14:02:43 -05:00
toasted-nutbread
120f97be26 Refactor apiOptionsSet 2019-11-10 13:36:35 -05:00
siikamiika
a31ee0a0e9 refactoring 2019-10-28 00:09:36 +02:00
siikamiika
68179607b3 use apiOptionsGet to modify the correct profile 2019-10-27 23:34:50 +02:00
siikamiika
9641747ba1 Revert "modify correct profile apiOptionsSet"
This reverts commit 51c35c9f30.
2019-10-27 23:02:41 +02:00
siikamiika
51c35c9f30 modify correct profile apiOptionsSet 2019-10-27 22:43:20 +02:00
siikamiika
70418202cf make search page checkbox options persist 2019-10-27 20:11:23 +02:00
siikamiika
48776145d6 add workaround to Chrome clipboard.readText
For some reason this doesn't work on Firefox, so keep using the new API
for Firefox
2019-10-27 15:46:27 +02:00