Commit Graph

215 Commits

Author SHA1 Message Date
Akash Mozumdar
fc81b17a3c massive refactor, also fix newline issue and google translate throw and different number formats for process id 2021-01-15 06:07:23 -07:00
Akash Mozumdar
3a34f989e5 Merge branch 'master' into pr/416-add-devtools-api-and-new-deepl-extension 2020-12-16 12:23:52 -07:00
Akash Mozumdar
2c9ac1da3c improve JSON parser 2020-12-15 07:28:12 -07:00
Akash Mozumdar
95b145bece revert separation line 2020-12-14 19:10:47 -07:00
Akash Mozumdar
457aed96c2 fix unicode mangling 2020-12-14 10:37:54 -07:00
Akash Mozumdar
4783469a0a style 2020-12-14 07:48:02 -07:00
Akash Mozumdar
268f40771d improve reliability of translations 2020-12-14 06:26:01 -07:00
zeheyler
7eb45899c0 fix target language check
Fixed target language check
2020-12-13 00:56:00 +03:00
zeheyler
ea6ddc7a7c small improvements
Added check for the empty answer from the translator
Small refactors
2020-12-09 14:00:57 +03:00
zeheyler
6958b22e68 fix target selector check
Fixed target selector check in some cases
Changed line endings from CRLF to LF
2020-11-04 20:51:23 +03:00
zeheyler
9bb7fbff06 add source language selection and rename variables
Added source language selection since autodetect fails sometimes
Refactored names of variables
2020-11-04 01:23:20 +03:00
Akash Mozumdar
01b6b6de16 fix things not being localized and settings not loading 2020-11-02 06:27:21 -07:00
zeheyler
4b46057800 add backup check method
Added backup check method in case the first method fails
2020-10-29 02:08:11 +03:00
zeheyler
93b8711bf8 refactor errorcode
Refactored error processing
2020-10-22 23:15:45 +03:00
zeheyler
8ab1e576bd add call queue check
Added queue check for multiple calls from the main program
2020-10-21 00:10:58 +03:00
zeheyler
3af4217075 add check for outdated doc and refactor input text modifications
Added the flag for checking if webdocument structure is outdated
Refactor text modifications before processing to the translator
2020-10-20 02:08:59 +03:00
zeheyler
2ab780a491 add user-agent switch method
Add method that changes user-agent when in the headless mode
2020-10-18 16:16:06 +03:00
zeheyler
73d1f21bc1 add notification alert
When timeout from the net the method searches for notifications from the translator and put them to output
2020-10-15 23:23:41 +03:00
zeheyler
a3ebaf0023 add event catch method and refactor error messages
Added method that catches specified events from the page
Refactored error messages
2020-10-15 02:32:58 +03:00
Akash Mozumdar
f0a1690c92 fix deepl 2020-10-13 20:19:53 -06:00
zeheyler
6b54ec0733 add devtools api and new deepl extension
Added the DevTools API and the wrapper with  the use of the QtWebSockets library.
Added a new DeepL extension which uses the DevTools API.
2020-10-14 03:37:03 +03:00
Akash Mozumdar
f6742de3d5 parse shortened hook codes 2020-09-10 07:12:50 -06:00
Akash Mozumdar
dc1f819952 fix infinite loop 2020-09-09 15:13:19 -06:00
Akash Mozumdar
6da63208c7 try both deepl api versions 2020-08-12 01:42:24 -06:00
Akash Mozumdar
4b0fc12794 dynamic port 2020-05-14 18:09:52 -06:00
Akash Mozumdar
a129394fb5 dont need that param anymore 2020-04-25 20:39:12 -06:00
Akash Mozumdar
e20a12862c default setting tweak 2020-04-25 20:36:58 -06:00
Akash Mozumdar
9711ce94c9 thread linker doesn't append sentences anymore 2020-04-25 20:34:53 -06:00
Akash Mozumdar
d1887db2a5 use precompiled headers 2020-04-18 19:04:07 -06:00
Akash Mozumdar
386e09a81a fix translation extensions 2020-04-02 03:07:32 -06:00
Akash Mozumdar
86415fca10 all official apis now supported and performance improvements 2020-03-29 20:55:12 -06:00
Akash Mozumdar
ecab473482 small fixes 2020-03-27 05:55:11 -06:00
Akash Mozumdar
accd231c64 add option to only translate selected thread 2020-03-27 04:07:05 -06:00
Akash Mozumdar
8a710659dc merge google and google cloud 2020-03-26 06:12:20 -06:00
Akash Mozumdar
87c056a5b3 add settings to translation dialog and implement deepl 2020-03-26 06:05:42 -06:00
Akash Mozumdar
e4d9b70040 better logging for translation extensions 2020-03-17 22:01:16 -06:00
Akash Mozumdar
d1d453f359 remove weird stuff 2020-03-16 03:04:40 -06:00
Akash Mozumdar
ac4cec9708 add gcp translator and add continous dialog for translators and update language lists and make extension dialogs uncloseable without properly removing the extension 2020-03-16 02:56:04 -06:00
Akash Mozumdar
39e81bb904 escape unformatted 2020-03-07 04:06:45 -07:00
Akash Mozumdar
d6412ca0b0 fix lookup with << 2020-03-07 03:45:26 -07:00
Akash Mozumdar
b9081f2472 fix large file being read wrong 2020-03-07 03:45:07 -07:00
Akash Mozumdar
3ff31e0ac6 reorganize config files 2020-03-05 01:51:36 -07:00
Akash Mozumdar
99be5fd40f configurable max size 2020-03-04 23:30:59 -07:00
Akash Mozumdar
b4b26d50ca attach to current process 2020-03-02 23:49:31 -07:00
Akash Mozumdar
b515a17767 fix exception 2020-03-02 23:49:18 -07:00
Akash Mozumdar
6a61342d19 fix issue with too large sentence and topmost window blocking dictionary 2020-03-02 23:48:29 -07:00
Akash Mozumdar
ffff4f2eb9 tiny fixes 2020-02-29 17:51:38 -07:00
Akash Mozumdar
22e0d38a1e small fixes 2020-02-28 02:34:07 -07:00
Akash Mozumdar
f6cf3c9c62 save regex 2020-02-28 02:33:51 -07:00
Akash Mozumdar
16540bfe69 move utility functions into common.h and module.h 2020-02-28 00:34:34 -07:00