Commit Graph

441 Commits

Author SHA1 Message Date
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
toasted-nutbread
2c8c6866ef jsonRectToDOMRect => convertJsonRectToDOMRect
Also make static
2019-12-16 19:54:41 -05:00
toasted-nutbread
3f8cc83c25 Group nested message handlers together 2019-12-16 19:54:41 -05:00
toasted-nutbread
88ac8f4ead Update PopupProxyHost.popups to use a Map 2019-12-16 19:54:41 -05:00
toasted-nutbread
8efbf9bd0d Flag members as private 2019-12-16 19:54:41 -05:00
toasted-nutbread
bf02eb2ea1 Mark PopupProxy internal functions as private 2019-12-16 19:54:41 -05:00
toasted-nutbread
ce51fe7eca Use a single api.js 2019-12-13 23:11:56 -05:00
toasted-nutbread
7addf5a2dd Add API calls for optionsGetFull and optionsSave 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
573f83b65a Update frontend API receiver handlers 2019-12-13 23:11:56 -05:00
toasted-nutbread
b7144ed879 Update display float key handlers 2019-12-13 23:11:56 -05:00
toasted-nutbread
5588643988 Update float message handlers 2019-12-13 23:11:56 -05:00
toasted-nutbread
863e36e829 Update frontend message handlers 2019-12-13 23:11:56 -05:00
toasted-nutbread
f287d68624 Add showContentCompleted for improved semantic clarity 2019-12-11 21:31:21 -05: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
a40f3b1c9f add missing disableHistory 2019-12-01 06:32:17 +02:00
siikamiika
be23ad7213 remove dead code 2019-11-30 04:59:36 +02:00
siikamiika
1dd88763de clear Display history on new lookup 2019-11-28 18:24:24 +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
ef833d2bea Use const rather than let where possible 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
toasted-nutbread
a14b820a19 Move utilInvoke into api.js, rename to _apiInvoke 2019-11-26 17:23:55 -05:00
toasted-nutbread
7f9a73135d Remove utilAsync 2019-11-26 17:18: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
820beb7c93 Fix incorrect opacity check 2019-11-25 21:04:34 -05: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
41020289ab add mecab support 2019-11-23 17:45:44 +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
d9b4404075 Create functions for the cases of isMouseButton
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.
2019-11-10 14:00:44 -05:00
siikamiika
40c8268fd6 always disable scanning IME checkbox label 2019-11-09 13:01:21 +02:00
siikamiika
25af532ab7 enable expression scan toggling on search page 2019-11-09 12:27:09 +02:00
toasted-nutbread
fa963722a7 Fix seekForward and seekBackward not handling length=0 case correctly 2019-11-08 19:24:33 -05:00
toasted-nutbread
a85ec440d6 Fix overlapping popup timers 2019-11-05 19:48:08 -05:00