Commit Graph

387 Commits

Author SHA1 Message Date
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
Akash Mozumdar
e244799a72 recolor icon 2018-09-29 17:44:57 -04:00
Akash Mozumdar
d506b3edd9 new icon 2018-09-29 16:31:17 -04:00
Akash Mozumdar
23736478c0 rename 2018-09-29 16:05:08 -04:00
Akash Mozumdar
baa7923be2 fix oboe 2018-09-29 13:10:07 -04:00
Akash Mozumdar
d2c9e5a6f5 let user change max buffer size 2018-09-23 22:29:33 -04:00
Akash Mozumdar
e31c9563ef refactor error handler 2018-09-23 19:36:00 -04:00
Akash Mozumdar
3df68a6c2c small bugfixes 2018-09-23 01:08:33 -04:00
Akash Mozumdar
524a0f362d update version 2018-09-22 17:13:53 -04:00
Akash Mozumdar
cd3cb280d5 move to hex for processId display and display text handles 2018-09-22 17:13:06 -04:00
Akash Mozumdar
310d12ea14 get rid of some warnings 2018-09-22 15:45:54 -04:00
Akash Mozumdar
665c5b3eea bugfixes 2018-09-22 03:17:52 -04:00
Akash Mozumdar
38ea5dba36 refactor and use .ini 2018-09-21 22:25:37 -04:00
Akash Mozumdar
e5dcd33680 bugfix 2018-09-21 22:20:53 -04:00
Akash Mozumdar
4dc7b236c9 refactor 2018-09-21 21:27:59 -04:00
Akash Mozumdar
a2cc3bab28 bugfix 2018-09-20 23:04:11 -04:00
Akash Mozumdar
4bc0c834d7 refactor and give extensions 64 bits 2018-09-20 22:32:47 -04:00
Akash Mozumdar
e2f83d47b9 god, "unsigned __int64" was a mouthful 2018-09-20 21:59:07 -04:00
Akash Mozumdar
50c488f109 remove unneeded code 2018-09-17 19:26:44 -04:00
Akash Mozumdar
878e4b443f update version 2018-09-13 15:57:52 -04:00
Akash Mozumdar
6d59ad763c process id as hex 2018-09-13 11:59:15 -04:00
Akash Mozumdar
a455869837 attach all processes in given name 2018-09-09 22:37:48 -04:00
Akash Mozumdar
7d49166dc4 update read code description 2018-09-05 10:52:50 -04:00
Akash Mozumdar
72c37c9f9e generate derefed read code 2018-09-03 18:37:53 -04:00
Akash Mozumdar
5b31e9fed9 update version 2018-09-02 22:34:34 -04:00
Akash Mozumdar
6ca7eb3f54 update version 2018-09-02 14:19:58 -04:00
Akash Mozumdar
ee14e73541 update version 2018-09-01 16:17:55 -04:00
Akash Mozumdar
030cdd6a03 bugfix 2018-09-01 15:49:16 -04:00
Akash Mozumdar
7c2bddcc98 improve error msg 2018-09-01 15:31:18 -04:00
Akash Mozumdar
072840e307 add exception handler 2018-09-01 14:57:25 -04:00
Akash Mozumdar
88d67c5378 refactor 2018-09-01 14:11:48 -04:00
Akash Mozumdar
50fc7e24c6 refactor 2018-09-01 13:56:45 -04:00
Akash Mozumdar
d31748c105 refactor all extensions. move repetition detection to extension 2018-09-01 04:24:22 -04:00
Akash Mozumdar
ca749691f8 refactor extension code and add error handling 2018-09-01 04:23:29 -04:00
Akash Mozumdar
4854cd35f1 super embarassing bugfix 2018-08-31 12:17:04 -04:00
Akash Mozumdar
4f1bc5a9b2 legacy r code support 2018-08-30 16:48:14 -04:00
Akash Mozumdar
a40222285a update version 2018-08-30 16:09:20 -04:00
Akash Mozumdar
8342850bb7 bugfix deadlock 2018-08-30 02:29:06 -04:00
Akash Mozumdar
383fe554c9 bugfix 2018-08-28 17:46:53 -04:00
Akash Mozumdar
fcb3fd63d3 bugfix (?) 2018-08-28 17:28:26 -04:00
Akash Mozumdar
189691a562 refactor 2018-08-28 17:21:20 -04:00
Akash Mozumdar
d1007097ad actual performance improvement 2018-08-28 16:26:19 -04:00
Akash Mozumdar
a36ba41eb4 Revert "performance improvement"
This reverts commit 41f80622cb.
2018-08-28 16:25:08 -04:00
Akash Mozumdar
41f80622cb performance improvement 2018-08-28 15:17:45 -04:00
Akash Mozumdar
4660be2efb add repetition filter and refactor host 2018-08-27 20:49:33 -04:00
Akash Mozumdar
41e4b9fd9a improve read code 2018-08-26 22:21:15 -04:00
Akash Mozumdar
6d670324f5 prepare for 64 bit hcode support 2018-08-25 20:11:02 -04:00
Akash Mozumdar
33210a95ac enable WPO 2018-08-25 17:09:36 -04:00
Akash Mozumdar
72221106ac change name convention 2018-08-25 17:08:45 -04:00
Akash Mozumdar
3f35c5c230 refactor 2018-08-25 16:02:16 -04:00
Akash Mozumdar
2be762b708 reorganize 2018-08-25 15:51:18 -04:00
Akash Mozumdar
a8cebd1b86 std::optional is beautiful 2018-08-24 14:24:46 -04:00
Akash Mozumdar
13c2bfed2f another refactor 2018-08-24 12:50:20 -04:00
Akash Mozumdar
65bb4b35cf error handling 2018-08-23 15:28:40 -04:00
Akash Mozumdar
446ff71464 reorganize, everything 2018-08-23 11:53:23 -04:00
Akash Mozumdar
6a3c07ee63 update version 2018-08-22 18:40:05 -04:00
Akash Mozumdar
cda2cefc28 refactor 2018-08-22 15:11:40 -04:00
Akash Mozumdar
29eb1dcfe6 fix memory leaks 2018-08-22 13:22:37 -04:00
Akash Mozumdar
5984ae514b oops 2018-08-22 12:44:53 -04:00
Akash Mozumdar
4c5814d1a7 no one saw that 2018-08-22 12:44:16 -04:00
Akash Mozumdar
2a222c4446 start cleaning up headers 2018-08-22 12:24:55 -04:00
Akash Mozumdar
e35e26c2eb refactor 2018-08-22 01:22:34 -04:00
Akash Mozumdar
51dc229edc delete unused code 2018-08-22 00:57:32 -04:00
Akash Mozumdar
67e5ff31d1 refactor 2018-08-21 23:41:44 -04:00
Akash Mozumdar
2c37a50f7b massive refactor 2018-08-21 22:43:30 -04:00
Akash Mozumdar
0b3599cb84 better ux for attaching games 2018-08-20 14:30:50 -04:00
Akash Mozumdar
2f09b534d2 save window dimensions between sessions 2018-08-20 11:00:34 -04:00
Akash Mozumdar
dc2643ffa7 change text size (was uncomfortably big) 2018-08-20 01:19:49 -04:00
Akash Mozumdar
91ac0825f8 misc refactors 2018-08-19 17:55:50 -04:00
Akash Mozumdar
f1a2beef4f minor ui fixes 2018-08-18 15:06:14 -04:00
Akash Mozumdar
34acf4f300 improve UX 2018-08-17 14:45:14 -04:00
Akash Mozumdar
b290392034 abstract extension loading code 2018-08-17 14:37:37 -04:00
Akash Mozumdar
16cf2eb9b2 remove qt project, using only cmake 2018-08-17 13:31:46 -04:00
Akash Mozumdar
5e630f76f5 update version 2018-08-11 15:15:00 -04:00
Akash Mozumdar
7353a95a7e fixes for 64 bit 2018-08-11 03:05:31 -04:00
Akash Mozumdar
1150d83474 update version 2018-08-07 13:24:54 -04:00
Akash Mozumdar
143a2f091f move display logic to gui 2018-08-07 12:50:31 -04:00
Akash Mozumdar
c3707de5b5 extension bugfix 2018-08-07 02:19:20 -04:00
Akash Mozumdar
0d3597a91d gui tweak 2018-08-06 16:27:59 -04:00
Akash Mozumdar
a55f04d628 bugfix 2018-08-06 11:28:57 -04:00
Akash Mozumdar
7a336af56c change gui style 2018-08-06 10:46:19 -04:00
Akash Mozumdar
959d7c2dd5 bugfixes 2018-08-04 18:42:06 -04:00
Akash Mozumdar
7739c45458 tiny fixes 2018-08-04 18:29:43 -04:00
Akash Mozumdar
ed4879ba5c implement read code 2018-08-04 18:01:59 -04:00
Akash Mozumdar
c32066e43c make host play nice with larger addresses, and more refactoring 2018-08-04 03:16:14 -04:00
Akash Mozumdar
5edfb4de0d bug fix and version update 2018-08-03 10:41:30 -04:00
Akash Mozumdar
60fb17155e change build system, prepare for x64 someday 2018-08-03 10:00:42 -04:00
Akash Mozumdar
c7f119e0a2 add /h code explanation 2018-08-03 02:32:05 -04:00