Konstantin Pereiaslov
|
629515652e
|
Rework get_child_processes to use array instead of linked list
|
2024-01-04 01:39:38 -06:00 |
|
Konstantin Pereiaslov
|
264da8d4c7
|
Update sizeof syntax
|
2024-01-04 00:34:23 -06:00 |
|
Konstantin Pereiaslov
|
475350b05f
|
Change default pause method to SIGSTOP for compatibility with more programs out of the box.
|
2024-01-04 00:07:04 -06:00 |
|
Konstantin Pereiaslov
|
dc61e18ba4
|
Add support of managing an external pid
|
2024-01-04 00:03:55 -06:00 |
|
Konstantin Pereiaslov
|
26925400bd
|
Improve parsing of /proc/[pid]/stat to better support the format and account for command names with spaces
|
2024-01-03 23:03:04 -06:00 |
|
Konstantin Pereiaslov
|
fd450f8079
|
Fix failed to parse message
|
2024-01-03 14:51:30 -06:00 |
|
Konstantin Pereiaslov
|
f964e64751
|
Automated code formatting
|
2024-01-01 22:13:00 -06:00 |
|
Konstantin Pereiaslov
|
e833f1645f
|
Handle fscanf error
|
2024-01-01 22:05:40 -06:00 |
|
Konstantin Pereiaslov
|
c60145da54
|
Make pausing fully recursive, even with multiple levels of processes.
|
2024-01-01 22:02:31 -06:00 |
|
Konstantin Pereiaslov
|
a94e9e0ad5
|
Update switch syntax to delineate blocks with variable declarations in them
|
2024-01-01 17:51:47 -06:00 |
|
Konstantin Pereiaslov
|
7b0294558c
|
Fix passing invalid value to pause-method argument not causing an error
|
2024-01-01 17:50:54 -06:00 |
|
Konstantin Pereiaslov
|
a983cb2490
|
First version of pausing/resuming recursively
|
2023-10-01 23:14:10 -05:00 |
|
Konstantin Pereiaslov
|
77b26a4cdf
|
Remove unused include
|
2023-09-21 01:53:26 -05:00 |
|
Konstantin Pereiaslov
|
de8b698545
|
Pass errno to handle_kill_error rather than reading it there and use strerror() rather than parsing error manually.
This fixes the compilation warning where reason was possibly undefined.
0.4.1
|
2023-09-21 01:44:07 -05:00 |
|
Konstantin Pereiaslov
|
3228448b64
|
Fix typo in help text
0.4.0
|
2023-09-21 00:29:25 -05:00 |
|
Konstantin Pereiaslov
|
3d489a39a3
|
Improve help text
|
2023-09-21 00:27:31 -05:00 |
|
Konstantin Pereiaslov
|
c3f5ac2f2c
|
Better help text formatting
|
2023-09-21 00:27:31 -05:00 |
|
Konstantin Pereiaslov
|
7ca7a439d0
|
Fail compilation on gcc warnings
|
2023-09-21 00:27:31 -05:00 |
|
Konstantin Pereiaslov
|
c629c302ad
|
Fix incorrect variable types in debug message strings
|
2023-09-21 00:27:31 -05:00 |
|
Konstantin Pereiaslov
|
2372b47522
|
Update README.md - fix typo
|
2023-09-21 08:04:24 +03:00 |
|
Konstantin Pereiaslov
|
77606972ab
|
Add "Known issues" section to README
|
2023-09-08 11:40:49 +03:00 |
|
Konstantin Pereiaslov
|
c647c18fcd
|
Newline in README
|
2023-09-06 04:52:50 +03:00 |
|
Konstantin Pereiaslov
|
ff867ea9cf
|
README minor improvements
|
2023-09-05 20:52:10 -05:00 |
|
Konstantin Pereiaslov
|
62225b1de7
|
Update README and TODO as AUR package now exists.
|
2023-09-05 20:51:57 -05:00 |
|
Konstantin Pereiaslov
|
c0ca488f4e
|
Fix that default pause method was undefined
|
2023-09-05 03:38:08 -05:00 |
|
Konstantin Pereiaslov
|
468dba6985
|
Fix typo and lack of new line
|
2023-09-05 03:37:47 -05:00 |
|
Konstantin Pereiaslov
|
0d0f5c81ef
|
Add missing include
|
2023-09-05 03:37:04 -05:00 |
|
Konstantin Pereiaslov
|
55b16873c2
|
Consistent spaces in README
|
2023-09-05 05:13:17 +03:00 |
|
Konstantin Pereiaslov
|
a44f030b6b
|
Synchronize option description between --help and README
|
2023-09-04 21:09:20 -05:00 |
|
Konstantin Pereiaslov
|
34f502fb2c
|
Add pause method argument and support SIGSTOP
|
2023-09-04 21:01:30 -05:00 |
|
Konstantin Pereiaslov
|
d61c15ab0f
|
Remove unnecessary extra braces
|
2023-09-04 20:55:19 -05:00 |
|
Konstantin Pereiaslov
|
dfb2e8aec0
|
Move newline from fprintf_error to the error messages
|
2023-09-04 20:38:28 -05:00 |
|
Konstantin Pereiaslov
|
731b3f791d
|
Remove unreachable break
|
2023-09-04 19:35:43 -05:00 |
|
Konstantin Pereiaslov
|
6d7471e17e
|
Fix typo
|
2023-09-04 01:50:59 -05:00 |
|
Konstantin Pereiaslov
|
b00fce8538
|
Move argument parsing to a separate file
|
2023-09-04 01:50:54 -05:00 |
|
Konstantin Pereiaslov
|
7e2725aad1
|
Move wait_for_pid_to_exit_synchronously and exit_if_pid_has_finished to process_handling.c
|
2023-09-04 01:37:51 -05:00 |
|
Konstantin Pereiaslov
|
f32da29ab9
|
Move process handling to a separate source file
|
2023-09-04 01:27:21 -05:00 |
|
Konstantin Pereiaslov
|
8ba84e47ec
|
Move command line arguments parsing into a separate function
|
2023-09-04 00:57:28 -05:00 |
|
Konstantin Pereiaslov
|
7c5370ba03
|
Add start-monitoring-after option, move main check to pause_or_resume_command_depending_on_user_activity, improve help.
|
2023-09-04 00:51:09 -05:00 |
|
Konstantin Pereiaslov
|
fbebf378e7
|
Move code comment
|
2023-09-03 23:48:04 -05:00 |
|
Konstantin Pereiaslov
|
26460aaafa
|
Make command_paused volatile sig_atomic_t
|
2023-09-03 23:46:50 -05:00 |
|
Konstantin Pereiaslov
|
c6343fe721
|
Fix error message when using --quiet and --debug
|
2023-09-03 22:24:12 -05:00 |
|
Konstantin Pereiaslov
|
d29b649b07
|
Implement handling the interruption signals: pass them to the underlying command and stop the idle checks
0.3.0
|
2023-09-03 21:26:40 -05:00 |
|
Konstantin Pereiaslov
|
d85a6c3e11
|
More debug output
|
2023-09-03 20:29:13 -05:00 |
|
Konstantin Pereiaslov
|
4c7e4b5c80
|
Fix typo
|
2023-09-03 20:16:12 -05:00 |
|
Konstantin Pereiaslov
|
3d62c26f8f
|
Add debug output
|
2023-09-03 20:16:12 -05:00 |
|
Konstantin Pereiaslov
|
42556a508a
|
Fix default values not being defined for verbose and quiet variables.
|
2023-08-31 04:55:40 -05:00 |
|
Konstantin Pereiaslov
|
a9604fce1f
|
Rework error messages printing function and make more error messages red
|
2023-06-29 00:21:45 -05:00 |
|
Konstantin Pereiaslov
|
8421817c82
|
Make error messages red
|
2023-06-28 23:55:49 -05:00 |
|
Konstantin Pereiaslov
|
75d1a2135f
|
Check that X and XScreensaver are available and if not, run the command without pausing it.
|
2023-06-28 23:55:49 -05:00 |
|