Commit Graph

374 Commits

Author SHA1 Message Date
Akash Mozumdar
855f8ebfe5 fix unique_lock starvation and extension loading 2019-02-13 18:23:42 -05:00
Akash Mozumdar
4eefafeae9 fix clipboard monitor 2019-02-13 18:22:07 -05:00
Akash Mozumdar
f1ab7cd208 wow, it's like every time i have a chance to allow a buffer overrun, i do so 2019-02-13 17:00:44 -05:00
Akash Mozumdar
a4133ce243 fix game ordering 2019-02-13 16:22:49 -05:00
Akash Mozumdar
f21db0925c fix thread saving on x64 2019-02-12 04:14:08 -05:00
Akash Mozumdar
4a7b29de72 refactor 2019-02-09 18:24:54 -05:00
Akash Mozumdar
a07e10344f performance optimizations 2019-02-09 00:30:38 -05:00
tinyAdapter
d6b39eb2c3 CLI: add code information when outputing
this can be necessary
2019-02-07 21:11:41 +08:00
Akash Mozumdar
5e53e63e07 perf optimization 2019-02-06 19:48:42 -05:00
Akash Mozumdar
ac86323010 whoops didnt mean to commit that 2019-02-04 15:54:41 -05:00
Akash Mozumdar
4b7452bef2 toggleable repetition filter 2019-02-04 15:53:13 -05:00
Akash Mozumdar
e6805a2be3 refactor, perf improvement 2019-02-04 15:18:47 -05:00
Akash Mozumdar
c78747c228 refactor 2019-02-04 15:02:06 -05:00
Akash Mozumdar
a7a4a80913 remember saved thread and refactor 2019-02-03 08:49:58 -05:00
Akash Mozumdar
f74cd553c0 refactor 2019-02-02 16:54:13 -05:00
Akash Mozumdar
b7ec42ee4e process list in order of last used 2019-02-02 16:50:28 -05:00
Akash Mozumdar
4e8a8cce25 build speed improvement 2019-02-01 16:56:10 -05:00
tinyAdapter
3f1b2fcccb repair stdout flush issue (#85) 2019-02-01 09:18:07 -05:00
Akash Mozumdar
84bf8c659f fix code generation 2019-01-31 12:47:56 -05:00
Akash Mozumdar
c89b05cf42 add cli, move exception handlers and code parsers into host 2019-01-31 11:41:43 -05:00
Akash Mozumdar
0d9976b0c4 fix single byte hooks 2019-01-28 07:25:58 -05:00
Akash Mozumdar
e398fdf94e allow single char utf8 hooks 2019-01-27 09:14:45 -05:00
Akash Mozumdar
7e4cc13bcf Add extra window as default extension, and reorganize build 2019-01-25 22:49:50 -05:00
Akash Mozumdar
632139dce2 perf improvement 2019-01-23 13:59:34 -05:00
Akash Mozumdar
4e65d29978 copy on select 2019-01-22 14:57:13 -05:00
Akash Mozumdar
cba353438d emulate path 2019-01-22 11:23:35 -05:00
Akash Mozumdar
3cb8016b2c show when h code has no agth equivalent 2019-01-20 15:09:38 -05:00
Akash Mozumdar
332e5aecaf refactor 2019-01-20 09:52:35 -05:00
Akash Mozumdar
a84ea357ec give up on emulating non jp locale and launching in correct directory 2019-01-13 03:40:00 -05:00
Akash Mozumdar
75454b3fa5 save attached games and allow launching from textractor using locale emulator 2019-01-11 17:14:49 -05:00
Akash Mozumdar
d8429851cb better hash fn 2019-01-11 16:15:42 -05:00
Akash Mozumdar
5903bbe2e4 fix freeze when connecting process, crash when process name cant be found, and other refactors 2019-01-10 21:47:16 -05:00
Akash Mozumdar
cdfbd77d21 simplify (and maybe break) wolf2 hook and fix display error 2019-01-10 02:00:39 -05:00
Akash Mozumdar
0afdafb3d1 bunch of refactoring and cleanup 2019-01-09 22:35:01 -05:00
Akash Mozumdar
f1e7b4dc70 fix race condition (i think) 2019-01-07 22:17:46 -05:00
Akash Mozumdar
a9249111c0 fix some geometry issues 2019-01-06 00:07:20 -05:00
Akash Mozumdar
103c805cfe always use codepage when searching 2019-01-05 03:47:32 -05:00
Akash Mozumdar
f5d8d43149 implement searching for read codes 2019-01-03 17:52:16 -05:00
Akash Mozumdar
3dd7be65ff optimize dispatchsentence 2019-01-01 17:50:22 -05:00
Akash Mozumdar
f080656e60 improvements in thread safety and repetition detection in textthread 2019-01-01 15:15:09 -05:00
Akash Mozumdar
8880d27dc5 more consistent use of qsettings 2018-12-31 15:06:47 -05:00
Akash Mozumdar
e8b378da75 fix whitespace 2018-12-28 12:14:56 -05:00
Akash Mozumdar
bdc083a62a more sane way to capture clipboard, also move extension dispatch off main thread 2018-12-28 11:13:02 -05:00
Akash Mozumdar
96e9b66e9f remove error dialog on win7 2018-12-27 18:52:59 -05:00
Akash Mozumdar
bf4eb4df8b tiny fixes 2018-12-27 00:18:05 -05:00
Akash Mozumdar
6c0f4be45b easier testing 2018-12-26 23:56:42 -05:00
Akash Mozumdar
1817a3ac53 small refactor 2018-12-22 16:17:08 -05:00
Akash Mozumdar
1c391e3a4b small refactor. rename and extract exception handling 2018-12-22 13:05:01 -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
afea96e9d5 more efficient thread safe wrapper 2018-12-21 14:11:40 -05:00
Akash Mozumdar
e0507b85d3 small refactors 2018-12-21 09:34:01 -05:00
Akash Mozumdar
6bef925920 refactor insertion_address (and i think fix a bug with deref offset in r codes) 2018-12-20 02:48:21 -05:00
Akash Mozumdar
f184654883 fix file ends 2018-12-18 16:55:07 -05:00
Akash Mozumdar
3c67f5a15d capturing this by ref is dumb 2018-12-18 12:55:11 -05:00
Akash Mozumdar
464c001773 eh who needs moc anyway 2018-12-18 12:14:54 -05:00
Akash Mozumdar
c747e68344 fewer heap allocations 2018-12-17 21:03:42 -05:00
Akash Mozumdar
86b2014a12 fix crash when saving hooks. refactor other things to compile time 2018-12-14 23:14:30 -05:00
Akash Mozumdar
97f3f51758 more consistent/organized text 2018-12-14 22:26:59 -05:00
Akash Mozumdar
dfb45a3699 refactor 2018-12-13 22:44:55 -05:00
Akash Mozumdar
a3ac850bf4 refactor. remove unneeded abstraction, alias verbose conversions 2018-12-13 08:37:37 -05:00
Akash Mozumdar
c92a67dbe3 automatically check for new updates 2018-12-13 07:54:25 -05:00
Akash Mozumdar
651cd486eb tiny refactors 2018-12-13 03:17:28 -05:00
Akash Mozumdar
aae330ebef Close process cleanly 2018-12-03 18:31:00 -05:00
Akash Mozumdar
74383ee0d8 refactor HANDLE out param 2018-12-03 18:29:30 -05:00
Akash Mozumdar
f409ee78ce small fixes 2018-12-02 15:55:02 -05:00
Akash Mozumdar
dca006b28c use thread pooling and remove text thread cap 2018-12-02 15:30:35 -05:00
Akash Mozumdar
de109d0840 tiny fixes 2018-12-02 02:57:03 -05:00
Akash Mozumdar
cc1d2b0414 make headers consistent 2018-12-01 19:12:45 -05:00
Akash Mozumdar
5ef1ff6352 using raii for processrecords and qfileinfo for files and other refactors 2018-12-01 16:00:15 -05:00
Akash Mozumdar
0ddd4a3461 remove unreliable error log 2018-11-27 21:29:09 -05:00
Akash Mozumdar
7310f9349b remove unhook button 2018-11-27 16:57:47 -05:00
Akash Mozumdar
966620429e structured bindings are awesome! 2018-11-27 15:54:18 -05:00
Akash Mozumdar
efa8d26ada holy shit you can overload operator-> to do WHAT?? 2018-11-27 15:54:04 -05:00
Akash Mozumdar
24e31247af fix current directory being wrong if launched in weird ways 2018-11-25 21:40:19 -05:00
Akash Mozumdar
f48355c096 more reliable error messaging 2018-11-25 19:06:38 -05:00
Akash Mozumdar
7a2ceec29e Revert "more reliable error logging"
This reverts commit 49c4af8c2c.
2018-11-25 16:45:43 -05:00
Akash Mozumdar
c50e2992bf make StringToWideString pure 2018-11-25 16:23:41 -05:00
Akash Mozumdar
49c4af8c2c more reliable error logging 2018-11-25 15:05:41 -05:00
Akash Mozumdar
c105f6700f extract repetition filter 2018-11-22 16:02:45 -05:00
Akash Mozumdar
9f85edf704 rename host files 2018-11-22 15:54:11 -05:00
Akash Mozumdar
b80f795143 extract utility functions. specify deleted constructors. other misc fixes 2018-11-22 15:53:32 -05:00
Akash Mozumdar
902ded684d small fixes 2018-11-19 08:17:00 -05:00
Akash Mozumdar
523008d7e0 ok, finally have a good repetition filter 2018-11-16 08:34:15 -05:00
Akash Mozumdar
59869dc45a optimize repetition removal at cost of some correctness (can be dealt with by extensions) 2018-11-15 00:29:21 -05:00
Akash Mozumdar
0492cb9549 refactor 2018-11-15 00:27:48 -05:00
Akash Mozumdar
d0f48a67a4 refactor. less global variables 2018-11-10 23:29:12 -05:00
Akash Mozumdar
f351148b3d add settings dialog box 2018-11-10 07:16:08 -05:00
Akash Mozumdar
97d0528550 DRY 2018-11-10 01:17:02 -05:00
Akash Mozumdar
e489c38990 fix several perf issues in textthread 2018-11-09 04:24:33 -05:00
Akash Mozumdar
3b5ad6edfe organize includes 2018-11-04 21:19:00 -05:00
Akash Mozumdar
0c7103964d rename 2018-11-04 20:48:46 -05:00
Akash Mozumdar
46ffaf017c refactor error handling 2018-11-04 17:12:25 -05:00
Akash Mozumdar
a48815e9f4 add thread linker extension 2018-11-04 16:37:23 -05:00
Akash Mozumdar
6b2dcaa957 check and avoid crashes 2018-11-04 04:51:14 -05:00
Akash Mozumdar
43a0bac59f remove whats this button on dialogs 2018-11-04 04:31:49 -05:00
Akash Mozumdar
b218e241da extract more strings 2018-11-04 04:00:14 -05:00
Akash Mozumdar
62541968aa extract display text 2018-11-04 02:13:51 -05:00
Akash Mozumdar
5468e44929 small refactors 2018-11-04 01:34:49 -05:00
Akash Mozumdar
0160578c2d rename 2018-11-03 21:41:38 -04:00
Akash Mozumdar
a99131fa23 add default codepage option 2018-11-01 21:59:13 -04:00
Akash Mozumdar
71f7e9bf29 update version 2018-11-01 21:32:18 -04:00
Akash Mozumdar
534ca4ec35 add clipboard text thread 2018-11-01 19:51:23 -04:00
Akash Mozumdar
c1198aeefd
Merge pull request #48 from Artikash/extension-dialog
Extension dialog
2018-11-01 19:04:28 -04:00
Akash Mozumdar
7696d45475 ui touchup 2018-11-01 18:54:28 -04:00
Akash Mozumdar
5caf42a6b1 kill everything when mainwindow is closed 2018-11-01 18:47:46 -04:00
Akash Mozumdar
ee0a8c4887 add drag'n'drop for extensions 2018-11-01 18:47:19 -04:00
Akash Mozumdar
4b82d545bf update ui to match new extension window design 2018-11-01 17:02:52 -04:00
Akash Mozumdar
942cdd94ba refactor. less reliance on edge cases 2018-11-01 15:03:30 -04:00
Akash Mozumdar
6ec8e7c19e make extensions thread safe 2018-11-01 14:46:37 -04:00
Akash Mozumdar
ce225fd900 big refactor. move extension internals into unnamed namespace. use mainwindow instead of dialog for extension window. and other renames/bugfixes 2018-11-01 14:07:42 -04:00
Akash Mozumdar
e48adc14bb add extension dialog 2018-11-01 10:38:14 -04:00
Akash Mozumdar
aa2d71a078 clean up some definitions 2018-10-31 20:09:29 -04:00
Akash Mozumdar
c877d9cd31 use raii for process records and mutexes. remove a lot of manual resource management 2018-10-31 12:04:32 -04:00
Akash Mozumdar
1915008d00 using shared_ptr to improve thread safety 2018-10-31 01:20:44 -04:00
Akash Mozumdar
8e45b35ebe refactor 2018-10-30 21:21:21 -04:00
Akash Mozumdar
69e01dab7c allow different codepages 2018-10-30 20:50:50 -04:00
Akash Mozumdar
dddbc00694 small refactors 2018-10-28 02:35:19 -04:00
Akash Mozumdar
3a3bdfd48e refactor extensions some and let user rearrange them 2018-10-28 02:27:24 -04:00
Akash Mozumdar
26dbab020d update version 2018-10-20 15:22:12 -04:00
Akash Mozumdar
16666ac699 add some tests 2018-10-18 23:42:53 -04:00
Akash Mozumdar
8f60060e37 extract http request and refactor == L""/.size() == 0 2018-10-18 22:52:27 -04:00
Akash Mozumdar
3fc5cb17bd update version 2018-10-17 17:38:05 -04:00
Akash Mozumdar
104f9a7b8c fix extension thread safety 2018-10-17 01:08:31 -04:00
Akash Mozumdar
3ad311293f add cyclic repetition detection in textthread 2018-10-17 00:42:51 -04:00
Akash Mozumdar
abba2d77e3 improve error msg reliability 2018-10-15 06:46:02 -04:00
Akash Mozumdar
273411d22e whoops 2018-10-14 10:28:40 -04:00
Akash Mozumdar
e79bbe4c03 move extension instead of deleting 2018-10-14 10:28:22 -04:00
Akash Mozumdar
6d35e7ea67 update version 2018-10-11 15:06:44 -04:00
Akash Mozumdar
f7e3bbeb02 add function based offset. rewrite hookparam processing while we're at it 2018-10-11 12:58:30 -04:00
Akash Mozumdar
3b9ca65e39 refactor 2018-10-10 08:16:14 -04:00
Akash Mozumdar
effb005376 add extension class and refactor extensions using it 2018-10-10 07:03:15 -04:00
Akash Mozumdar
ec1bd5622e no need for filter 2018-10-10 06:17:23 -04:00
Akash Mozumdar
59effb32dd refactor 2018-10-09 17:44:14 -04:00
Akash Mozumdar
39a0161989 improve extension abi (dont rely on exceptions across dlls) 2018-10-09 17:43:33 -04:00
Akash Mozumdar
586e22e4a5 read filter from ini 2018-10-09 05:45:49 -04:00
Akash Mozumdar
69511ddeda fix error message on empty throws 2018-10-09 04:31:54 -04:00
Akash Mozumdar
16e17526c7 improve exception handler 2018-10-09 04:02:33 -04:00
Akash Mozumdar
59be83eee8 that was embarassing 2018-10-09 02:22:59 -04:00
Akash Mozumdar
967f75a5ec rename 2018-10-09 02:09:52 -04:00
Akash Mozumdar
0166df7209 regex filter added 2018-10-09 01:46:11 -04:00
Akash Mozumdar
5a464fc083 refactor 2018-10-08 00:26:43 -04:00
Akash Mozumdar
9929c3fac1 use unique lock for replacing extensions and fix extensions with _ in them 2018-10-07 23:32:31 -04:00
Akash Mozumdar
a21ee5bba4 use win32 to allocate memory (more stable) 2018-10-07 11:02:00 -04:00
Akash Mozumdar
e126e4c4f3 use size of hashtable instead of total threads created for thread cap 2018-10-04 23:31:26 -04:00
Akash Mozumdar
0b7db9e5ca add prefilter 2018-10-04 23:23:57 -04:00
Akash Mozumdar
5f74684b46 revert that idea, laggy as hell and unstable-ish. hard cap thread count. still leave conversion in addtext 2018-10-04 22:10:27 -04:00
Akash Mozumdar
68bafcdda7 whoops 2018-10-04 20:00:35 -04:00
Akash Mozumdar
effe03fd96 rearrange textthread logic. dont have threads where not needed. 2018-10-04 19:52:16 -04:00
Akash Mozumdar
257e617eb6 refactor to use shared_lock 2018-10-02 14:10:25 -04:00
Akash Mozumdar
f4c068fa29 update version 2018-09-29 20:24:57 -04:00