Commit Graph

183 Commits

Author SHA1 Message Date
Gres
3e1ab494d9 Add warning for incorrect captured data 2020-04-23 22:14:45 +03:00
Gres
6c70b0f21a Add trace messages 2020-04-23 22:14:01 +03:00
Gres
74d4a6eca4 Set default updates sorting 2020-04-20 20:46:29 +03:00
Gres
38b9086cac Add tesseract language names 2020-04-20 20:46:29 +03:00
Gres
c26d9a0924 Place downloadable resources in one dir 2020-04-20 20:46:29 +03:00
Gres
9b2009ed6c Change trace file name 2020-04-20 20:46:29 +03:00
Gres
1a44e17739 Use absolute paths in portable mode 2020-04-20 20:46:29 +03:00
Gres
351ac398b4 Add updater application dir variable 2020-04-20 20:46:29 +03:00
Gres
461f1f433d Do not set downloaded file time
Because actually downloaded file can be newer than stated in updates.json
2020-04-20 20:46:29 +03:00
Gres
0b0b0cb09c Add note about visible translation window instead of silently showing and hiding it
Toggling visibility looks terrible on Windows
2020-04-20 20:46:29 +03:00
Gres
c63abf4809 Fix error message 2020-04-20 20:46:29 +03:00
Gres
dce3c798a2 Add ability to set substitution for any language 2020-04-20 20:46:29 +03:00
Gres
da51f79708 Allow special characters in substitutions 2020-04-20 20:46:29 +03:00
Gres
bcf83acf4e Add redirect support 2020-04-20 20:46:29 +03:00
Gres
48a01a3992 Add auto correction with hunspell 2020-04-20 20:46:29 +03:00
Gres
23cdc3e57c Fix update download error show 2020-04-20 20:46:29 +03:00
Gres
3c39faaaad Silence warnings 2020-04-20 20:46:29 +03:00
Gres
7227fc9844 Change messages text 2020-04-20 20:46:29 +03:00
Gres
7c87371fe5 Add task debug print 2020-04-20 20:46:29 +03:00
Gres
8bd89db060 Collect updater errors and signal only on final failure 2020-04-20 20:46:29 +03:00
Gres
a865381b65 Enable trace if env variable is set 2020-04-20 20:46:29 +03:00
Gres
0c3893ddf8 Add support of zip archived components 2020-04-20 20:46:29 +03:00
Gres
7bc5030ed5 Cleanup 2020-04-20 20:46:29 +03:00
Gres
5be05c46d8 Change action order in context menu 2020-04-20 20:46:29 +03:00
Gres
eff7552d07 Replace one-use methods with lambdas 2020-04-20 20:46:29 +03:00
Gres
1ba4f6be4d Check for supported actions in setter 2020-04-20 20:46:29 +03:00
Gres
b2e0694dfa Disable edition updates via delegate 2020-04-20 20:46:29 +03:00
Gres
69819dee7f Add ability to select all updates and reset action from menu 2020-04-20 20:46:29 +03:00
Gres
576d9d5662 Add support of multiple update urls 2020-04-20 20:46:29 +03:00
Gres
d931015d6b Remove unused tesseract engines after some time 2020-04-20 20:46:29 +03:00
Gres
5397521c79 Hide result before capture 2020-04-20 20:46:29 +03:00
Gres
b9ff1eaca3 Add items to run new capture to result menu 2020-04-20 20:46:29 +03:00
Gres
ae8801d837 Change widgets that show paths 2020-04-20 20:46:29 +03:00
Gres
071eadc088 Fix last update check date handling 2020-04-20 20:46:29 +03:00
Gres
56bacbfc7e Warn if version might be outdated 2020-04-20 20:46:29 +03:00
Gres
ee899c1b23 Add ability to select updates via context menu 2020-04-20 20:46:29 +03:00
Gres
0ef82187d6 Add size to update info 2020-04-20 20:46:29 +03:00
Gres
7e73804348 Shuffle update urls 2020-04-20 20:46:29 +03:00
Gres
b2f5cc93f2 Show used translator name 2020-04-20 20:46:29 +03:00
Gres
77a1f4a00b Change cursor on selected area 2020-04-20 20:46:29 +03:00
Gres
8d2e726715 Add ability to capture multiple areas 2020-04-20 20:46:29 +03:00
Gres
5f4ef955e1 Add support of multiple component urls 2020-04-20 20:46:29 +03:00
Gres
35cbdb17e8 Move update download handling to separate method 2020-04-20 20:46:29 +03:00
Gres
bbe7d0a729 Add ability to move result widget with middle button 2020-04-20 20:46:29 +03:00
Gres
013370e51e Write trace to file for debugging 2020-04-20 20:46:29 +03:00
Gres
58f6283fe3 Move about info to settings 2020-04-20 20:46:29 +03:00
Gres
45e12265c1 Show update download progress 2020-04-20 20:46:29 +03:00
Gres
8aa10754e2 Add methods to convert between component/index 2020-04-20 20:46:29 +03:00
Gres
040d0ff540 Change user agent string 2020-04-20 20:46:29 +03:00
Gres
a85dafa18d Ensure page is visible during translation
Because some translator sites require it
2020-04-20 20:46:29 +03:00
Gres
6f7270f229 Preserve translators order in settings 2020-04-20 20:46:29 +03:00
Gres
2f1779ee9b Add ability to show debug page from translator window
Also always enable chromium debug mode
2020-04-20 20:46:29 +03:00
Gres
4dd2d2ddb6 Add ability to show translator from menu and close it 2020-04-20 20:46:29 +03:00
Gres
9ea8974108 Hide previous results before capturing new 2020-04-20 20:46:29 +03:00
Gres
ff19f87b44 Improve support of empty input data 2020-04-20 20:46:29 +03:00
Gres
e36fbbf3b0 Change about message 2020-04-20 20:46:29 +03:00
Gres
15d4bcb36e Change help and area tooltip drawing 2020-04-20 20:46:29 +03:00
Gres
0738a88eb7 Add ability to lock capture areas and capture them by hotkey 2020-04-20 20:46:29 +03:00
Gres
aac286df9d Fix corrector work with empty corrections 2020-04-20 20:46:29 +03:00
Gres
e70f5c21a5 Add ability to change result font and background colors 2020-04-20 20:46:29 +03:00
Gres
ac1267c88d Show current languages for capture area 2020-04-20 20:46:29 +03:00
Gres
1ff3fb1f1b Add ability to edit results 2020-04-20 20:46:29 +03:00
Gres
c9b2677bec Remove unneeded variable 2020-04-20 20:46:29 +03:00
Gres
9e72e67ee7 Check if translated before copy to clipboard 2020-04-20 20:46:28 +03:00
Gres
258073c785 Move common model to separate class 2020-04-20 20:46:28 +03:00
Gres
87987f4a71 Move updater setup to separate function 2020-04-20 20:46:28 +03:00
Gres
c2a1dab1c7 Show results with errors 2020-04-20 20:46:28 +03:00
Gres
4ca17dca30 Update supported translation languages 2020-04-20 20:46:28 +03:00
Gres
2da5363448 Move interaction with last result to representer 2020-04-20 20:46:28 +03:00
Gres
d55ccd82b9 Compact capture editor 2020-04-20 20:46:28 +03:00
Gres
7ed6742f51 Add ability to swap languages in customization menu 2020-04-20 20:46:28 +03:00
Gres
872b047d70 Show translated/recognized text on top if there is no space below 2020-04-20 20:46:28 +03:00
Gres
4b5fb132f7 Place editor respecting available space 2020-04-20 20:46:28 +03:00
Gres
e1c2defd71 Add ability to edit selected rect 2020-04-20 20:46:28 +03:00
Gres
cc815f4245 Changed language codes to singleton 2020-04-20 20:46:28 +03:00
Gres
aee380fcd5 Move task creation to separate class 2020-04-20 20:46:28 +03:00
Gres
6336d3545a Change overlay drawing 2020-04-20 20:46:28 +03:00
Gres
295353332f Move available translations getter to translator class 2020-04-20 20:46:28 +03:00
Gres
10f5e5e387 Add default translation state to help 2020-04-20 20:46:28 +03:00
Gres
12b8d332c8 Cleanup 2020-04-20 20:46:28 +03:00
Gres
ce83cfff54 Change default result font family 2020-04-20 20:46:28 +03:00
Gres
4edb231c4e Move service classes to separate namespace 2020-04-20 20:46:28 +03:00
Gres
2874177bc4 Use one capture widget for all screens instead of one per screen 2020-04-20 20:46:28 +03:00
Gres
178c954124 Prevent capture stuck 2020-04-20 20:46:28 +03:00
Gres
668c8f1183 Add capture help message 2020-04-20 20:46:28 +03:00
Gres
71b74bb286 Rename capture overlay 2020-04-20 20:46:28 +03:00
Gres
d7cb1e3f56 Add translation search path in resources 2020-04-20 20:46:28 +03:00
Gres
1757b2b89f Recreate page on webengine render error/crash 2020-04-20 20:46:28 +03:00
Gres
705bae636d Use only one settings instance 2020-04-20 20:46:28 +03:00
Gres
2bf5515b0b Convert both translation languages ids to codes 2020-04-20 20:45:26 +03:00
Gres
0fcdff9be2 Added ability to toggle autorun 2020-04-20 20:45:26 +03:00
Gres
1f478bc48a Added ability to show/hide captured image and recognized text 2020-04-20 20:45:26 +03:00
Gres
69f7d10c3a Added ability to change result font 2020-04-20 20:45:26 +03:00
Gres
124d32857f Keep only available languages in correction selector 2020-04-20 20:45:26 +03:00
Gres
8b84fef929 Update only last check date when needed 2020-04-20 20:45:26 +03:00
Gres
cc00f0a54d Use localized language names 2020-04-20 20:45:26 +03:00
Gres
fa75537487 Print localized update name 2020-04-20 20:45:26 +03:00
Gres
1582bdf294 Added auto update checker 2020-04-20 20:45:26 +03:00
Gres
71bb96fe2f Refactoring 2020-04-20 20:45:26 +03:00
Gres
148bf249f8 Change updated file time if available 2020-04-20 20:45:26 +03:00