264 Commits

Author SHA1 Message Date
Akash Mozumdar
c5a6e16488 fix some cmake fuckups 2019-06-10 13:58:19 -04:00
Akash Mozumdar
d25a61e9e6 catch garbage pipe data 2019-06-09 07:33:26 -04:00
Akash Mozumdar
b18fe3ddd0 horrific memeory leak in rate limiter 2019-06-05 20:26:50 -04:00
Akash Mozumdar
cf90539d09 optimize 2019-06-04 23:12:45 -04:00
Akash Mozumdar
d16db4d319 add repeated sentences filter (laxer than before) 2019-06-04 15:30:48 -04:00
Akash Mozumdar
3a36dbca1d refactor regex filter, add guide, and make it a default 2019-06-03 19:29:37 -04:00
Akash Mozumdar
7cdbd93dcb cleanup 2019-06-03 18:54:20 -04:00
Akash Mozumdar
44558a6059 change to format strings 2019-06-01 13:59:37 -04:00
Akash Mozumdar
2f7365acbd small fixes 2019-04-23 02:49:06 -04:00
Akash Mozumdar
7e8dfc0332 fix race condition 2019-02-28 01:40:40 -05:00
Akash Mozumdar
0345181484 split text declarations 2019-02-27 11:33:17 -05:00
Akash Mozumdar
4c1cac7dbb small fixes 2019-02-25 01:06:35 -05:00
Akash Mozumdar
f62f90a068 store trie match and use if another isnt found 2019-02-25 01:06:16 -05:00
Akash Mozumdar
ec0b9c077c remove some false positives from repetition detection 2019-02-25 00:47:18 -05:00
Akash Mozumdar
7b82aa62aa add size locking option 2019-02-25 00:00:20 -05:00
Akash Mozumdar
107544df70 minor fixes 2019-02-21 13:09:44 -05:00
Akash Mozumdar
f6a82984c2 allow empty replacements 2019-02-20 22:14:32 -05:00
Akash Mozumdar
40e62a13d6 upgrade repetition remover algorithm 2019-02-20 22:12:26 -05:00
Akash Mozumdar
241d5906e4 minor fixes 2019-02-20 21:54:25 -05:00
Akash Mozumdar
a64fa9b3dd reorganize includes 2019-02-18 23:12:12 -05:00
Akash Mozumdar
29f616ae9d more efficient extension abi 2019-02-18 20:57:10 -05:00
Akash Mozumdar
146afdc926 using new api 2019-02-17 19:14:49 -05:00
Akash Mozumdar
e826801c87 more lua features 2019-02-17 18:52:09 -05:00
Akash Mozumdar
48ea8f531b static link lua 2019-02-16 22:53:19 -05:00
Akash Mozumdar
8e40c71563 refactor 2019-02-16 22:43:31 -05:00
Akash Mozumdar
551d5ba49d small refactor 2019-02-12 23:54:33 -05:00
Akash Mozumdar
e494ebc077 add lua extension 2019-02-12 19:54:15 -05:00
Akash Mozumdar
72b9a1f8ed huge refactor 2019-02-10 21:46:39 -05:00
Akash Mozumdar
cf34160bbe update docs 2019-02-09 00:34:14 -05:00
Akash Mozumdar
a07e10344f performance optimizations 2019-02-09 00:30:38 -05:00
Akash Mozumdar
5aa4b982fd skip empty sentence 2019-01-30 14:51:08 -05:00
Akash Mozumdar
69f5522492 dont allow root modifiy 2019-01-27 08:49:08 -05:00
Akash Mozumdar
413c5b17cf more stable and user friendly replacer 2019-01-24 08:32:21 -05:00
Akash Mozumdar
c57e97bd83 add replacer extension 2019-01-23 16:11:14 -05:00
Akash Mozumdar
b9590a1c36 fix encoding 2019-01-23 14:48:09 -05:00
Akash Mozumdar
632139dce2 perf improvement 2019-01-23 13:59:34 -05:00
Akash Mozumdar
ba83760157 fix newlines 2019-01-23 13:49:41 -05:00
Akash Mozumdar
ac6294f30e translation thread safety 2019-01-23 13:41:50 -05:00
Akash Mozumdar
df3ba5dec8 readd thread linker extension 2019-01-22 14:35:34 -05:00
Akash Mozumdar
d1917ed9a6 replace \ properly 2019-01-21 14:22:47 -05:00
Akash Mozumdar
0f7fe46980 dont copy infinitely when clipboard is selected with clipboard copy extension 2019-01-10 21:55:11 -05:00
Akash Mozumdar
54afbb24a5 using raw string literals 2019-01-10 21:51:20 -05:00
Akash Mozumdar
a9249111c0 fix some geometry issues 2019-01-06 00:07:20 -05:00
Akash Mozumdar
6247a4ed35 let extra window split on new lines 2019-01-05 03:48:25 -05:00
Akash Mozumdar
a53af3d0fd lots of refactors and fixes on extra window 2019-01-01 22:40:29 -05:00
Akash Mozumdar
b87b4c0b41 initial implementation of new extra window feeatures 2018-12-30 22:10:56 -05:00
Akash Mozumdar
54c1b508d5 upgrade repetition remover and add tests 2018-12-28 11:57:06 -05:00
Akash Mozumdar
507e0bc1e6 add extra window to view text 2018-12-21 15:11:12 -05:00
Akash Mozumdar
7015ef0c53 move more text into include/text.h and make a better ux for extenwindow and misc refactors 2018-12-21 14:18:43 -05:00
Akash Mozumdar
4e4cf00884 fix error log 2018-12-20 11:02:03 -05:00
Akash Mozumdar
f184654883 fix file ends 2018-12-18 16:55:07 -05:00
Akash Mozumdar
240f5f235b extract remaining text 2018-12-18 16:32:28 -05:00
Akash Mozumdar
5523644ef9 google translate optimized 2018-12-18 14:21:27 -05:00
Akash Mozumdar
b82d8d5523 forgot how lambdas work 2018-12-18 12:15:18 -05:00
Akash Mozumdar
e7e81f09bf reorganize extensions and remove thread linker (doesnt work very well) 2018-12-17 20:48:14 -05:00
Akash Mozumdar
97f3f51758 more consistent/organized text 2018-12-14 22:26:59 -05:00
Akash Mozumdar
a3ac850bf4 refactor. remove unneeded abstraction, alias verbose conversions 2018-12-13 08:37:37 -05:00
Akash Mozumdar
651cd486eb tiny refactors 2018-12-13 03:17:28 -05:00
Akash Mozumdar
be185233d1 fix google translate (new api) 2018-12-06 04:10:21 -05:00
Akash Mozumdar
4efaa9f34f nvm it is safe to delete nullptr 2018-12-03 18:44:08 -05:00
Akash Mozumdar
aae330ebef Close process cleanly 2018-12-03 18:31:00 -05:00
Akash Mozumdar
9068228427 improve regex filter UX 2018-12-03 18:29:54 -05:00
Akash Mozumdar
2f43249aa8 regex filter doesnt apply to console 2018-12-01 15:23:48 -05:00
Akash Mozumdar
026912ca9c refactor repetition remover 2018-11-27 16:54:19 -05:00
Akash Mozumdar
d9a3d5cefd improve repetition remover perf 2018-11-15 00:06:49 -05:00
Akash Mozumdar
1d17902c64 add error handling in clipboard copier 2018-11-15 00:06:10 -05:00
Akash Mozumdar
22bb1420c1 update tkk regularly 2018-11-08 05:51:20 -05:00
Akash Mozumdar
ddc8313d37 clean up repetition remover. dont need to remove repeated sentences since that detection was added in textthread 2018-11-07 10:43:54 -05:00
Akash Mozumdar
3b5ad6edfe organize includes 2018-11-04 21:19:00 -05:00
Akash Mozumdar
a48815e9f4 add thread linker extension 2018-11-04 16:37:23 -05:00
Akash Mozumdar
3cb65dba63 dont need those names for 30 line program 2018-11-04 16:31:39 -05:00
Akash Mozumdar
43a0bac59f remove whats this button on dialogs 2018-11-04 04:31:49 -05:00
Akash Mozumdar
d88900aa46 make dialog smaller 2018-11-04 01:20:38 -04:00
Akash Mozumdar
1d90787564 casting does not work like i thought it did 2018-11-04 01:15:34 -04:00
Akash Mozumdar
66d02a7bf0 add regex filter 2018-11-03 23:58:52 -04:00
Akash Mozumdar
1ca9b3c8e6 readd google translate 2018-11-03 23:29:26 -04:00
Akash Mozumdar
83e8c2ecde reorganize 2018-11-03 23:26:27 -04:00
Akash Mozumdar
d42dcc1705 fix buffer overrun 2018-11-03 04:59:18 -04:00
Akash Mozumdar
5167ec3a6b fix bing translate for wine (how did that ever work?) 2018-11-01 21:32:13 -04:00
Akash Mozumdar
8e45b35ebe refactor 2018-10-30 21:21:21 -04:00
Akash Mozumdar
6bc8143980 fix bing translate not working if added later 2018-10-28 02:28:08 -04:00
Akash Mozumdar
3a3bdfd48e refactor extensions some and let user rearrange them 2018-10-28 02:27:24 -04:00
Akash Mozumdar
8f60060e37 extract http request and refactor == L""/.size() == 0 2018-10-18 22:52:27 -04:00
Akash Mozumdar
d71fe0f147 auto detect language from bing 2018-10-18 10:13:33 -04:00
Akash Mozumdar
5e6d67691c google seems to be locking down their ap. imove to bing translate 2018-10-17 17:36:56 -04:00
Akash Mozumdar
199844987b move onnewsentence into own file 2018-10-11 14:29:11 -04:00
Akash Mozumdar
7304727c17 better comment 2018-10-10 06:16:47 -04:00
Akash Mozumdar
1325d41e35 leave room for more extensions 2018-10-09 17:43:52 -04:00
Akash Mozumdar
39a0161989 improve extension abi (dont rely on exceptions across dlls) 2018-10-09 17:43:33 -04:00
Akash Mozumdar
a21ee5bba4 use win32 to allocate memory (more stable) 2018-10-07 11:02:00 -04:00
Akash Mozumdar
23736478c0 rename 2018-09-29 16:05:08 -04:00
Akash Mozumdar
8cd4ea4a29 upgrade google translate reliability 2018-09-29 05:17:35 -04:00
Akash Mozumdar
1dfaa759b9 fix crash 2018-09-23 01:36:54 -04:00
Akash Mozumdar
310d12ea14 get rid of some warnings 2018-09-22 15:45:54 -04:00
Akash Mozumdar
22c4f10c82 refactor extensions 2018-09-22 15:08:31 -04:00
Akash Mozumdar
665c5b3eea bugfixes 2018-09-22 03:17:52 -04:00
Akash Mozumdar
4bc0c834d7 refactor and give extensions 64 bits 2018-09-20 22:32:47 -04:00
Akash Mozumdar
aa4e289cc8 bugfix google translate 2018-09-20 21:27:13 -04:00
Akash Mozumdar
50c488f109 remove unneeded code 2018-09-17 19:26:44 -04:00
Akash Mozumdar
329d56c969 improve repetition detection 2018-09-13 02:50:03 -04:00
Akash Mozumdar
a59942fde2 fix oboe in repeat remover 2018-09-03 18:37:32 -04:00
Akash Mozumdar
c0b294de0f bugfix 2018-09-02 12:47:48 -04:00
Akash Mozumdar
ee0a953848 typo 2018-09-01 13:25:05 -04:00
Akash Mozumdar
d31748c105 refactor all extensions. move repetition detection to extension 2018-09-01 04:24:22 -04:00
Akash Mozumdar
6a25a41d79 fix google tanslation 2018-08-29 22:47:00 -04:00
Akash Mozumdar
72221106ac change name convention 2018-08-25 17:08:45 -04:00
Akash Mozumdar
29eb1dcfe6 fix memory leaks 2018-08-22 13:22:37 -04:00
Akash Mozumdar
2a222c4446 start cleaning up headers 2018-08-22 12:24:55 -04:00
Akash Mozumdar
fffb63edf4 google translate error handling 2018-08-21 23:41:30 -04:00
Akash Mozumdar
2c37a50f7b massive refactor 2018-08-21 22:43:30 -04:00
Akash Mozumdar
47ea350eaa translate everything 2018-08-21 12:41:49 -04:00
Akash Mozumdar
91ac0825f8 misc refactors 2018-08-19 17:55:50 -04:00
Akash Mozumdar
3f7a0fdd52 add google translate 2018-08-19 15:26:50 -04:00
Akash Mozumdar
8711332f77 update build stuff and add the starter extensions 2018-08-19 00:13:19 -04:00