Commit Graph

1168 Commits

Author SHA1 Message Date
39cf302eef Merge branch 'master' of https://github.com/FooSoft/yomichan 2018-06-22 19:02:01 -07:00
Gareth Parker
0cc5566886
Fixes for imposter element and range y position
Hides the imposter element once we've finished using it and checks the y position for the range against the point given
2018-06-08 22:48:26 +01:00
68cdd7d85b Merge branch 'dev' 2018-03-12 13:04:37 -07:00
f659702ba2 workaround chrome options breakage 2018-03-12 13:04:08 -07:00
guidocella
15b93060c7 Add option to play audio automatically 2017-12-16 19:56:53 +01:00
siikamiika
1682850970 merged mode: expand termTags earlier
Fixes errors with main dictionary other than JMdict
2017-11-09 17:25:28 +02:00
5f6830c7dd fixing broken anki template 2017-11-08 17:18:16 -08:00
siikamiika
0c3e10a822 merged mode: remove whitespace between expressions 2017-11-06 04:38:01 +02:00
dcef7ce377 version bump 2017-11-04 08:18:26 -07:00
fd1f448ab6 update settings page 2017-10-29 12:22:21 -07:00
c08dc6e00a add dictionary update nag screen 2017-10-29 12:20:56 -07:00
d6603fd031 include sequence property in header data 2017-10-29 10:59:50 -07:00
c62cc01642 simplify database interface 2017-10-29 10:42:39 -07:00
7d29e5b533 cleanup of settings page 2017-10-29 10:18:15 -07:00
0b602925ab cleanup 2017-10-28 08:11:33 -07:00
Alex Yatskov
25ae2e475a Merge pull request #95 from siikamiika/feature-merge-similar-results
Feature: result grouping by main dictionary sequence (along with some other changes)
2017-10-26 09:58:32 -07:00
siikamiika
ab1e2b3d5d settings: move main dictionary below Dictionaries, styling 2017-10-26 10:31:59 +03:00
siikamiika
e063a315d4 settings: add missing const 2017-10-26 10:20:48 +03:00
siikamiika
de28190f5a merged mode: restore whitespace between frequencies 2017-10-26 10:18:28 +03:00
siikamiika
ee80fa5331 merged mode: restore whitespace between termTags 2017-10-25 00:58:11 +03:00
siikamiika
f828043838 terms.html: fix whitespace issues in merged mode 2017-10-24 23:50:33 +03:00
siikamiika
9697c9a65b terms.html: rename classes, remove inline css 2017-10-24 23:30:55 +03:00
siikamiika
6f43fffb4e util.js: remove unnecessary conditional 2017-10-24 23:12:55 +03:00
siikamiika
73d542547b translator.js: coding style 2017-10-24 23:10:47 +03:00
siikamiika
c9b1dd56dc fixups: remove redundant options, use template str 2017-10-24 23:01:07 +03:00
siikamiika
27a56dc236 expand tags before dictTermsMergeByGloss 2017-10-24 18:31:18 +03:00
siikamiika
78442fff1a settings: main dictionary selection as dropdown 2017-10-24 16:23:13 +03:00
siikamiika
df0d2beb73 database.js: add hasSequences 2017-10-24 13:45:51 +03:00
siikamiika
8400f0e4c0 Anki: use CSS classes for term frequency color 2017-10-24 12:49:10 +03:00
siikamiika
e034ca3ad4 add tag meta score 2017-10-24 12:38:05 +03:00
siikamiika
bf15358bb4 ...with {furigana-plain}, too 2017-10-19 19:30:29 +03:00
siikamiika
bc92327d86 Anki: term frequency colors in merged mode 2017-10-19 19:27:28 +03:00
siikamiika
f54f909701 merged mode: rewrite term frequency (use score) 2017-10-19 18:35:42 +03:00
siikamiika
04def64521 merged mode: fix another OBOE related to sequence 2017-10-19 18:15:50 +03:00
siikamiika
9d4b75de20 fix error in utilStringHashCode 2017-10-19 00:47:08 +03:00
siikamiika
7e556e8d32 field template fixup for modified templates only 2017-10-18 23:40:56 +03:00
siikamiika
b59980067a old database format compatibility 2017-10-18 11:08:54 +03:00
siikamiika
2cbbcd242e fixups: remove useless check 2017-10-18 10:08:34 +03:00
siikamiika
552185ffb4 Anki: fixup for note template 2017-10-18 08:01:38 +03:00
siikamiika
966fa2ff75 merged mode: replace ", " with "、" in Anki notes 2017-10-17 18:07:28 +03:00
siikamiika
c1c851d781 merged mode: support {audio} marker (first term) 2017-10-17 17:57:44 +03:00
siikamiika
81f0a61651 merged mode: Anki support 2017-10-17 11:16:38 +03:00
siikamiika
1edeabdaa8 merged mode: tags -> termTags (inside expressions) 2017-10-17 09:27:47 +03:00
siikamiika
b104dfd524 merged mode: fix OBOE (sequence 0) 2017-10-17 08:29:31 +03:00
siikamiika
7913b094b7 scrap tagLineBreak option 2017-10-15 10:38:30 +03:00
siikamiika
293606d2b1 line break after tags on by default 2017-10-15 10:22:29 +03:00
siikamiika
0404b42f61 compact glossaries, line break after tags: on/off 2017-10-15 09:45:00 +03:00
siikamiika
03f7ca23e1 merged mode: add secondary searches 2017-10-15 05:19:16 +03:00
Roderic Day
5502bf8aed Place nodeType checks inside caretRangeFromPoint function
Checked that it does not un-fix #80
Squelches alerts (but does not fix underlying issue) for #89
2017-10-13 15:12:41 -04:00
siikamiika
4203fda906 rename pos to partOfSpeech 2017-10-13 03:14:06 +03:00
siikamiika
7ec28bea54 change db format, rename tags to definitionTags 2017-10-13 02:40:20 +03:00
siikamiika
c0f56480bb compact tags: reset PoS on new dictionary 2017-10-12 11:28:32 +03:00
siikamiika
8d660e2829 add compact tags 2017-10-12 09:59:09 +03:00
siikamiika
6523b77ca1 pos tag color 2017-10-12 08:23:28 +03:00
siikamiika
4e57fa1ad1 merged mode: remove options.dictionary.main 2017-10-12 01:10:05 +03:00
siikamiika
7783aa4c1a reset main dictionary on purge 2017-10-11 19:58:57 +03:00
siikamiika
4fb983a70c add termTags
The dictionary tags field can now have a '\t' in it, and it is used to
separate tags associated with definitions and terms.
2017-10-11 09:18:55 +03:00
siikamiika
e1c5d7a401 merged mode: make gloss hash more unique
Use ['gloss', 'ary'].concat('DictName')
Known collision: 日本国有鉄道 in JMdict and JMnedict
2017-10-10 06:04:49 +03:00
siikamiika
b9d589374c merged mode: support audio hotkey Alt+P 2017-10-10 04:13:36 +03:00
siikamiika
9f277b6a20 merged mode: support frequencies 2017-10-10 00:56:47 +03:00
siikamiika
84420e00bf merged mode: fix tags for non-main dictionaries 2017-10-09 23:22:12 +03:00
siikamiika
7b9ad61352 merged mode: fix regression (voice), tweak hover
Alt+P now works again in grouped/split mode

In merged mode, 「、」 is added even after the last term, but it's
hidden for that. This ensures consistent behavior with voice button and
tags
2017-10-08 03:37:28 +03:00
siikamiika
94d590fc85 merged mode: support audio and tags for terms 2017-10-07 07:02:50 +03:00
siikamiika
981d9eddb6 merged mode: rewrite previous commit 2017-10-07 01:19:40 +03:00
siikamiika
72fe83d353 merged mode: merge other results with main dict 2017-10-05 06:56:45 +03:00
siikamiika
cfad3b3099 merged mode: add main dictionary selection 2017-10-05 05:21:07 +03:00
siikamiika
03fd9dcdb4 merged mode: remove extra whitespace between terms 2017-10-05 01:06:11 +03:00
siikamiika
69ad4a7c9b merged mode: implement missing stuff, refactoring
- use correct tags
- indicate popular and rare terms
- indicate definitions restricted to specific terms
- frequencies (Innocent Corpus)
2017-10-03 07:20:02 +03:00
siikamiika
803ccc1661 merged: first draft, only supports JMdict 2017-10-01 04:17:02 +03:00
siikamiika
b24c705234 basic structure for feature-merge-similar-results 2017-09-29 05:41:29 +03:00
siikamiika
62c881cfeb Go to next and previous result with Alt+wheel
Analogous to Alt+up/down which does the same thing
2017-09-25 23:47:53 +03:00
00c20aed42 Merge branch 'master' into firefox-amo 2017-09-24 11:01:40 -07:00
8651c11d36 frequency fixup 2017-09-23 13:31:03 -07:00
d13cb09fae improve error text for firefox 2017-09-23 08:55:53 -07:00
8d85321cf9 update database for new format 2017-09-23 08:46:34 -07:00
088c608d80 Revert "kanji template work"
This reverts commit d398440d2b.
2017-09-22 20:50:52 -07:00
d398440d2b kanji template work 2017-09-22 20:48:07 -07:00
578ec0b6d1 rewrite indexedDb errors to work around firefox issues 2017-09-22 20:38:23 -07:00
7a6e2925bd improved error reporting 2017-09-22 19:57:00 -07:00
8ba8397170 update error handling 2017-09-22 19:39:05 -07:00
27296de9f5 wip 2017-09-21 23:22:49 -07:00
3d87615917 sort stats 2017-09-21 23:20:51 -07:00
fe859a96cd kanji layout 2017-09-21 23:10:43 -07:00
f22a699012 wip 2017-09-21 20:59:43 -07:00
a55576260a work on kanji page 2017-09-21 20:52:18 -07:00
2ba01d2910 fix dictionary indices 2017-09-21 11:14:17 -07:00
65ce976423 wip 2017-09-21 09:21:32 -07:00
119def2beb wip 2017-09-20 23:15:02 -07:00
0554aa0d27 make sure ranges are created over text nodes only (fixes #80) 2017-09-19 23:05:17 -07:00
e90274519a combine indices and stats 2017-09-17 19:57:39 -07:00
d9d16613f8 wip 2017-09-17 19:16:08 -07:00
269a4f0b9b template fixups 2017-09-17 14:17:14 -07:00
c8810581e6 version bump 2017-09-17 13:08:20 -07:00
7c69b4f28a fix sort order 2017-09-17 13:07:15 -07:00
ba25fbfd1f backwards compat 2017-09-17 12:56:34 -07:00
5476c10046 more improvements to automatic search result hiding (#71) 2017-09-17 10:09:48 -07:00
9280985306 add option to automatically hide search results (fixes #71) 2017-09-16 23:08:43 -07:00
5a53154123 style fixes 2017-09-15 14:06:10 -07:00
e044f0107a style fixes 2017-09-15 14:03:05 -07:00
7f55f1c8d2 display term frequencies 2017-09-15 13:32:49 -07:00
39e38d5665 improve kanji template 2017-09-15 13:18:21 -07:00
d3d760ed6c cleanup 2017-09-14 10:15:54 -07:00
f5009cd63c cleanup 2017-09-13 23:22:41 -07:00
33d9d6ff57 cleanup 2017-09-13 18:03:55 -07:00
04f9a0f543 cleanup 2017-09-13 17:30:45 -07:00
4d4b819d6c tag caching 2017-09-13 17:26:02 -07:00
13961e6a10 better tag handling 2017-09-13 16:42:04 -07:00
ba8451f429 cleanup 2017-09-13 15:45:53 -07:00
219eeb6e81 cleanup 2017-09-13 15:41:06 -07:00
79b99131f6 add frequency table support for kanji 2017-09-12 20:20:03 -07:00
3b29893072 add frequency table support for terms 2017-09-12 18:29:16 -07:00
28364b97b0 hopeful workaround to firefox crash 2017-09-12 14:12:40 -07:00
af93d446de fix dictionary importing 2017-09-12 13:29:13 -07:00
3a1aad07d6 Merge branch 'master' into firefox-amo 2017-09-11 16:56:27 -07:00
be87e916df wip on new database 2017-09-10 21:49:37 -07:00
5f46006e8d scrap sandbox 2017-09-09 12:59:49 -07:00
9a5a9aa47f better error handling 2017-09-09 11:36:50 -07:00
124ecaf824 sandbox template cache 2017-09-06 14:19:26 -07:00
9efe7bfe1b work on sandbox 2017-09-06 13:35:18 -07:00
a3c8508031 work on sandbox 2017-09-06 13:18:06 -07:00
083999212e work on sandbox 2017-09-05 21:10:19 -07:00
722ddf1638 work on sandbox 2017-09-05 20:35:39 -07:00
9eac50ea05 add sandbox stub 2017-09-05 12:34:52 -07:00
65b679caeb Merge branch 'master' into firefox-amo 2017-08-26 12:36:56 -07:00
dbe6a16ca4 version bump 2017-08-26 12:23:10 -07:00
f6df5db556 . 2017-08-26 12:21:28 -07:00
643e6204dc cleanup 2017-08-26 12:20:04 -07:00
18321ee4ed ankidroid furigana support 2017-08-26 12:18:35 -07:00
190c749527 improved furigana support 2017-08-26 11:57:34 -07:00
49f0243527 Merge branch 'dev' of https://github.com/FooSoft/yomichan into dev 2017-08-23 20:57:08 -07:00
a4c3ba434a fixing syntax issues 2017-08-23 20:56:52 -07:00
4ea0db3f62 inject content script into all frames, fixes #29 2017-08-23 09:34:45 -07:00
Yoitsumi
c89678f5db Improve {furigana} marker for anki export 2017-08-20 16:07:55 +02:00
c4525027da bugfix and version 2017-08-19 21:09:54 -07:00
e22699cfcc bugfix and version 2017-08-19 21:08:06 -07:00
d5b4b04998 Merge branch 'master' into firefox-amo 2017-08-19 17:30:38 -07:00
7219bc99f5 fixing deck and model not being set correctly 2017-08-19 11:23:19 -07:00
112bf36f88 cleanup 2017-08-18 21:33:30 -07:00
30fe3d2506 fix anki network error dialog on search page, cleanup template
workaround
2017-08-18 21:14:09 -07:00
922d2cd468 version bump 2017-08-18 21:05:17 -07:00
d960ba6dd6 fixing bugs, new version 2017-08-18 09:42:34 -07:00
39fbabfe62 Merge branch 'master' into firefox-amo 2017-08-17 19:39:32 -07:00
191336522c fix flicker on form elements on mouseover (fixes #56) 2017-08-17 19:14:06 -07:00
6367894df0 fixing broken firefox object behavior 2017-08-17 19:11:23 -07:00
0c650dac82 don't show busy spinner while waiting for card info
smoother cursor movement in firefox
2017-08-17 19:05:31 -07:00
84d2204d96 firefox fixes 2017-08-15 21:51:48 -07:00
8ed3ca6fd4 cleanup 2017-08-15 21:40:41 -07:00
e19933f980 jisho.org audio support 2017-08-15 21:36:30 -07:00
e079e5f252 fix loss of anki settings 2017-08-15 20:58:50 -07:00
5c353f41e5 version bump 2017-08-15 20:42:27 -07:00
3362a68e06 frontend cleanup 2017-08-15 20:04:15 -07:00
211e5d1155 cleanup 2017-08-14 23:22:37 -07:00
61dde5b3b7 upgrade to wanikana 2.2.3 (fixes #42) 2017-08-14 23:10:59 -07:00
c9623276e1 change color for "off" state, fixes #67 2017-08-14 22:58:03 -07:00
b1ec7cdddd tweaks 2017-08-14 21:47:39 -07:00
bdf231082f lots of fixes to backend 2017-08-14 21:43:09 -07:00
82863cd861 renaming files 2017-08-14 19:55:04 -07:00
8b50dfe1e9 unify files 2017-08-13 21:11:10 -07:00
a202817b98 wip 2017-08-13 20:50:43 -07:00
3ca28a9374 wip 2017-08-13 16:42:22 -07:00
aac2a58b5f wip 2017-08-13 16:11:51 -07:00
7fbe2ddaf3 more cleanup 2017-08-05 20:20:22 -07:00
7e635d6382 more cleanup 2017-08-05 19:23:17 -07:00
dfecef1f23 more cleanup 2017-08-05 19:11:06 -07:00
8e1c6776d1 more cleanup 2017-08-05 19:02:03 -07:00
257c864bb5 fix anki 2017-08-05 14:57:33 -07:00
b2003a0a56 cleanup 2017-08-05 13:13:06 -07:00
b061cc9142 cleanup 2017-07-29 09:55:54 -07:00
fea35435b2 cleanup 2017-07-29 08:55:29 -07:00
ba155e7706 cleanup 2017-07-27 23:26:36 -07:00
9ecc7c17f3 cleanup 2017-07-27 21:45:18 -07:00
adbc7a32cc cleanup 2017-07-27 21:42:14 -07:00
eed630e9fa cleanup 2017-07-24 22:44:19 -07:00
32680c58b8 cleanup 2017-07-23 22:48:33 -07:00
edf1c0ff6d cleanup 2017-07-22 23:19:38 -07:00
611b4420af cleanup 2017-07-20 21:34:10 -07:00
a0e2d9cb72 cleanup 2017-07-20 21:32:17 -07:00
d6c2f1cc38 cleanup 2017-07-20 21:29:27 -07:00
8bcc4ddf19 cleanup 2017-07-20 21:21:22 -07:00
ac2e079c98 cleanup 2017-07-19 21:41:30 -07:00
fe137e94c9 cleanup 2017-07-19 21:28:09 -07:00
62db3d74b8 factor out handlebars from util 2017-07-19 09:24:38 -07:00
26e1cc517f refactor 2017-07-18 23:07:46 -07:00
f6077c4242 . 2017-07-17 00:00:38 -07:00
c4a39da766 . 2017-07-16 23:56:36 -07:00
dcaf345549 cleanup 2017-07-16 19:55:33 -07:00
a22facec98 refactor options page 2017-07-16 19:29:43 -07:00
39f1f30dc9 refactor bg/js/util.js 2017-07-16 13:14:28 -07:00
7dd75082ab rename options to settings 2017-07-16 12:59:16 -07:00
c3383867be Merge branch 'dev' of https://github.com/FooSoft/yomichan into dev 2017-07-16 12:49:17 -07:00
516c7f5381 refactor mixed/js/util.js 2017-07-16 12:48:27 -07:00
dequis
ede139097c Add glossary-brief anki field, like glossary but without tags 2017-07-16 05:33:16 -03:00
1ed8997240 work on audio 2017-07-10 16:48:26 -07:00
e2373345a4 version bump 2017-07-10 16:30:28 -07:00
b0cdf59bd8 move anki to async 2017-07-10 16:24:31 -07:00
efb5ed2af8 cleanup 2017-07-10 15:22:19 -07:00
a73b8fbab7 cleanup 2017-07-10 15:20:07 -07:00
28bc1449d1 cleanup 2017-07-10 15:00:38 -07:00
f694026827 move zip import to async 2017-07-10 14:53:06 -07:00
49352c5fa1 move deinflector to async 2017-07-10 14:30:34 -07:00
b6f3919ef6 move translator to async 2017-07-10 14:10:58 -07:00
f49a69c993 move database to use async 2017-07-10 13:16:24 -07:00
6e986bf1f5 cleanup 2017-07-09 16:29:52 -07:00
b3984ccd54 cleanup 2017-07-09 15:23:11 -07:00
d57c5530b7 view added notes 2017-07-01 18:27:49 -07:00
c23298dbb2 Merge branch 'master' into firefox-amo 2017-06-26 20:23:53 -07:00
21b29ff135 version bump 2017-06-26 20:04:42 -07:00
0c7f3f52c8 open links in new windows from options page 2017-06-25 21:19:23 -07:00
80d8934e74 remove dictionary data 2017-06-25 21:15:48 -07:00
5e72c387cc fix result page for no items found 2017-06-25 21:14:39 -07:00
8f850055a5 update wording on options page 2017-06-25 16:27:53 -07:00
e7e700e597 version bump 2017-06-25 16:26:05 -07:00
2de9efe8a4 updating options page 2017-06-25 16:25:46 -07:00
84ef2ea8c2 update wording on options page 2017-06-25 16:06:53 -07:00
1849f95b4e simplify file loading 2017-06-25 15:56:30 -07:00
4cb7e8d2ac reset file input after upload 2017-06-25 15:43:29 -07:00
d3c342071f support importing from zip files 2017-06-25 15:36:28 -07:00
98d22a92f3 prepare ui for zip dictionaries 2017-06-12 22:58:02 -07:00
a0a3bb1e12 add zip library 2017-06-12 16:01:59 -07:00
72c02c39c7 fix audio card creation for kana-only definitions 2017-06-08 23:04:25 -07:00
16baf9a400 Merge branch 'master' into firefox-amo 2017-05-25 23:06:10 -07:00
618a3cb319 support variable modifier keys, fixes #5 2017-05-25 20:56:08 -07:00
9aeb807d4b fix buggy extent detection 2017-05-25 09:09:15 -07:00
992852d3c0 make form search be always enabled 2017-05-24 20:42:54 -07:00
cf4a86fa1c update options labels 2017-05-24 20:33:35 -07:00
867f7dd24f make soft katakana search be implicit 2017-05-24 20:29:50 -07:00
0efab9773d options debugging code 2017-05-24 19:13:56 -07:00
b2833891f9 fix incorrect deinflection 2017-05-24 19:03:45 -07:00
c0f74bbc8f smarter imposter hiding, version bump 2017-05-23 22:51:48 -07:00
5de9ac1712 add debug logging 2017-05-23 21:27:20 -07:00
ac406bdbf0 add debug info checkbox 2017-05-23 20:54:03 -07:00
48693fa594 fix search for input controls 2017-05-22 22:27:09 -07:00
fd346ae44b wip 2017-05-22 21:07:25 -07:00
c6673bdf48 version bump 2017-05-21 22:47:23 -07:00
84f5954ad5 handle scanning text for janky websites better #23 2017-05-21 22:44:22 -07:00
52f092f0d2 fixing old variable name 2017-05-20 18:34:13 -07:00
b04c4d8be7 block RT and some other tags when scanning, fixes #50, #30 2017-05-20 18:15:51 -07:00
1cdf496824 Merge branch 'master' into firefox-amo 2017-04-29 12:35:43 -07:00
abdb5e68be deal with firefox object reference bug (fixes #49) 2017-04-29 12:30:36 -07:00
a209228c31 Merge branch 'master' into firefox-amo 2017-04-23 11:10:35 -07:00
3319d0d3cd update documentation for anki field editor (fixes #46) 2017-04-22 17:09:01 -07:00
e661c4bd43 add option to disable searching of alphanumeric text, fixes #47 2017-04-22 13:02:06 -07:00
3523b85be0 Merge branch 'master' into firefox-amo 2017-04-09 11:42:20 -07:00
56fe02e945 version bump 2017-04-09 11:37:31 -07:00
957c283d8a fix #44, fix #45 2017-04-09 11:36:52 -07:00
cb5f725db7 hide field editor description when cannot connect to anki 2017-04-09 10:46:05 -07:00
1b49f91a9b Merge branch 'master' into firefox-amo 2017-04-08 18:04:37 -07:00
d263a93d44 usage guide 2017-04-08 18:01:36 -07:00
a551b0d462 . 2017-04-08 13:12:15 -07:00
2a233bd621 add hint about specifying anki model fields 2017-04-08 13:11:06 -07:00