Commit Graph

50 Commits

Author SHA1 Message Date
5f2b1a432e improve type annotations 2024-08-01 00:21:55 -07:00
fec96b92a7 improve error handling 2024-08-01 00:20:53 -07:00
42c69867b8 using == on purpose here 2024-07-31 22:54:27 -07:00
db1dcc5e83 re-export using "import x as x" 2024-07-31 22:54:10 -07:00
1ecab08651 add ruff config 2024-07-31 22:53:55 -07:00
e26381a578 bump version to v0.8 2024-03-30 17:46:16 -07:00
e316322fbf Update reqs 2024-03-30 17:45:41 -07:00
b889ad8133 update readme and note github mirror 2024-03-30 17:44:19 -07:00
f10674e2b5 flake8 preferences 2024-03-30 17:43:25 -07:00
bdf0fb323e early bailout conditions caught by type check 2024-03-30 17:41:44 -07:00
f7c7496cfd get_path should return None on failure 2024-03-30 17:41:23 -07:00
e56ec88761 modernize some code style
indentation, type annotations, f-strings
2024-03-30 17:41:18 -07:00
f03ea6acad bump version to v0.7 2022-08-18 23:42:12 -07:00
303620b0a2 Move to hatch-based build 2022-08-18 23:41:19 -07:00
jan
d49555ad15 Merge pull request 'linux: wait for process before detach, and send SIGCONT' (#1) from XeroOl/mem_edit:master into master
Reviewed-on: jan/mem_edit#1
2022-08-18 23:38:31 -07:00
xerool
46e9456fd4 linux: wait for process before detach, and send SIGCONT
I had issues with the ptrace call failing because the process had not yet stopped
from SIGSTOP.
From this stackoverflow answer, it seems that you can use waitpid to
wait until the process is actually stopped. In python, this is exposed
as os.waitpid.

https://stackoverflow.com/questions/20510300/ptrace-detach-fails-after-ptrace-cont-with-errno-esrch#20525326

Additionally, the process was left frozen. I send a SIGCONT to continue
the process after the detach, so that it isn't left stopped.
2022-04-30 22:37:17 -05:00
f3154e443d update email 2021-07-11 17:25:00 -07:00
ef1a39152c bump version to v0.6 2021-04-08 19:50:22 -07:00
c29be9f429 strip newlines from version string 2021-04-08 19:49:55 -07:00
5a032da984 try to reduce log spam 2021-04-08 19:49:19 -07:00
6ab295fc26 bump version to v0.5 2020-11-01 20:21:35 -08:00
6913f73db4 cosmetic and typing-related changes 2020-11-01 20:16:46 -08:00
9759645f92 move version info into VERSION.py
This avoid needing custom spec files for pyinstaller, which doesn't
handle package_data by default
2020-11-01 20:16:06 -08:00
0632b205ab bump version number to v0.4: fixed on 64-bit python on windows 2020-04-15 02:03:13 -07:00
jan
5c75da31d5 support 64-bit python 2020-04-15 01:33:36 -07:00
jan
bd6c22ca1d windows: Don't fail search on unopenable process 2020-04-15 01:32:33 -07:00
260d67bf81 update gitignore 2019-10-27 13:54:43 -07:00
4deaa41d7e whitespace fixes 2019-10-27 13:05:27 -07:00
8b5d5af95b bump version number to 0.3 2019-10-01 00:00:06 -07:00
e8c6c4f74c clean up whitespace 2019-09-30 23:59:37 -07:00
e842f81575 update tags 2019-09-30 23:59:28 -07:00
49a7c21ed2 Move version number into VERSION file
to avoid importing mem_edit in setup.py
2019-09-30 23:59:20 -07:00
6321d4221c specify pip3 in readme 2019-03-24 21:13:19 -07:00
d0bbed8db1 remove ctypes from reqs, should be built-in 2019-03-24 20:57:09 -07:00
83e105dc30 Bump version to 0.2; Move version number into module 2019-03-24 20:53:24 -07:00
53b1b1ade8 Bump python version used for writing/testing 2019-03-24 20:52:41 -07:00
571ecc7a95 Add readme as long_description 2019-03-24 20:51:26 -07:00
5021d5fb9a indicate python3 for setup 2019-03-24 20:50:19 -07:00
522999cd61 Add verbatim mode to searches (default true) 2019-03-24 20:39:58 -07:00
3b766be616 Add utils.search_buffer_verbatim() 2019-03-24 20:36:18 -07:00
9f71883fbe Fix docs (Process.open() -> Process(); remove trailing whitespace 2018-08-09 14:04:30 -07:00
96eea79bfc move code to new location 2018-01-15 22:35:36 -08:00
0cff0c3bd1 Fix spacing 2017-06-21 01:45:53 -07:00
18ba692cfd Remove unused code 2017-06-21 01:45:46 -07:00
a13e622f7a Fix type annotations and docs. 2017-06-21 01:45:39 -07:00
61289a6858 Add missing import 2017-06-21 01:45:07 -07:00
b50b37c1c4 Style fixes 2017-06-21 01:44:57 -07:00
e962137950 Update readme with website 2017-06-21 01:44:03 -07:00
ea83dc5670 Spelling fixes 2017-06-21 01:43:32 -07:00
a6b5f94bf5 initial commit 2017-06-21 01:29:38 -07:00