Commit Graph

940 Commits

Author SHA1 Message Date
Shea Levy
aed1a8f129 Make freerdp_handle_signals return an int, return -1 and set errno to ENOSYS on Windows for now 2011-09-28 02:48:18 -04:00
Shea Levy
71da4593c2 Don't block SIGCONT 2011-09-28 02:40:35 -04:00
Shea Levy
4dc28ae04a Handle the stopping signals, explicitly unblock the signal before re-raising it in the handler 2011-09-28 02:09:52 -04:00
Shea Levy
79551abb1b passphrase: Use the global values the signal handler needs 2011-09-28 01:37:43 -04:00
Shea Levy
a87b4e5671 xfreerdp: Handle signals on start 2011-09-28 01:27:14 -04:00
Shea Levy
5c20c22547 freerdp_handle_signals: Handle all POSIX-specified fatal signals 2011-09-28 01:21:49 -04:00
Shea Levy
77bffc4afb freerdp_handle_signals: Reset the terminal for a fatal signal 2011-09-28 01:15:42 -04:00
Shea Levy
6ad931bebd Actually wait for the child process to stop 2011-09-28 01:01:25 -04:00
Shea Levy
5aea0e2e0c Add test to check that handle_signals resets the terminal 2011-09-28 00:04:36 -04:00
Shea Levy
48f474316d Missing includes in signal.h 2011-09-27 23:35:12 -04:00
Shea Levy
cebf376b62 Merge remote-tracking branch 'upstream/master' into signal-handling 2011-09-27 23:21:49 -04:00
Shea Levy
ae2018fef8 Compile signal.c 2011-09-27 22:33:55 -04:00
Shea Levy
3d1041e8ee Add a stub for freerdp_handle_signals 2011-09-27 22:32:19 -04:00
Shea Levy
3c4cd4afe9 Add a header for signal handling 2011-09-27 21:59:42 -04:00
Marc-André Moreau
8f87f3e817 xfreerdp: fix color conversion in 16-bit X11 environment 2011-09-27 17:10:07 -04:00
Marc-André Moreau
7ee5089a17 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-27 13:40:48 -04:00
Marc-André Moreau
c2f0538af2 libfreerdp-utils: fix home path detection for certstore utils 2011-09-27 13:40:29 -04:00
Jay Sorg
78fd201ab8 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-26 22:31:11 -07:00
Jay Sorg
769508bd7d code cleanup 2011-09-26 22:30:58 -07:00
Marc-André Moreau
a573898810 xfreerdp: improve error tolerance in xf_GetWorkArea 2011-09-26 23:06:45 -04:00
Marc-André Moreau
9b9e952501 libfreerdp-utils: avoid relying on HOME environment variable, provide method for hard-coding home path 2011-09-26 22:58:49 -04:00
Marc-André Moreau
3894983766 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-26 21:48:24 -04:00
Marc-André Moreau
3b3152003f xfreerdp: fix usage of invalid structure pointer in event handling 2011-09-25 17:47:40 -04:00
Marc-André Moreau
e5215158d2 wfreerdp: start Win32 GDI implementation, fix certstore 2011-09-25 16:30:20 -04:00
Marc-André Moreau
347f626a61 wfreerdp: fix tcp non-blocking read 2011-09-25 14:54:07 -04:00
Marc-André Moreau
5de4cdbedc wfreerdp: fix mutex handling 2011-09-25 03:12:29 -04:00
Otavio Salvador
dc224b14fd Merge pull request #122 from shlevy/readpassphrase
Readpassphrase utility
2011-09-24 23:55:52 -07:00
Vic Lee
7891ce2c75 rdpsnd/pulse: add latency control. 2011-09-25 14:00:09 +08:00
Vic Lee
c82dfa2a0b rdpsnd/alsa: better buffer size against requested latency. 2011-09-25 13:41:38 +08:00
Vic Lee
7b2f737cee libfreerdp-utils/memory: add a pointer check in xstrdup. 2011-09-25 11:49:09 +08:00
Vic Lee
e5060dcaee rdpsnd: add manual latency control for ALSA. 2011-09-25 11:41:37 +08:00
Shea Levy
fce487b876 passphrase_read: Set errno to ENOSYS and return on Windows for now 2011-09-24 19:18:25 -04:00
Shea Levy
90f00a99d3 Merge remote-tracking branch 'upstream/master' into readpassphrase 2011-09-24 19:08:41 -04:00
Shea Levy
a56bdea4c5 xfreerdp: Read passwords using passphrase_read if none is specified 2011-09-24 19:08:16 -04:00
Shea Levy
9d59747dc9 passphrase_read: Don't include a null terminator in the prompt 2011-09-24 19:01:06 -04:00
Shea Levy
5153943796 passphrase_read: Read from stdin if tty can't be opened 2011-09-24 17:30:56 -04:00
Shea Levy
3312eb8952 Add test to check that passphrase_read reads from stdin when no TTY is available 2011-09-24 17:21:25 -04:00
Shea Levy
a50695cdb8 passphrase_read: Write to stderr if tty can't be opened 2011-09-24 17:05:35 -04:00
Shea Levy
6f9f0e8a17 Add test to check that passphrase_read prompts to stderr when no TTY is available 2011-09-24 16:54:25 -04:00
Shea Levy
3abc1c0fe5 passphrase_read: Echo newlines during read 2011-09-24 15:21:51 -04:00
Shea Levy
b0b46903c0 Add test to check that passphrase_read turns on ECHONL 2011-09-24 15:20:30 -04:00
Shea Levy
505b464e68 passphrase_read: Factor out error handling 2011-09-24 15:13:23 -04:00
Shea Levy
f5c618a3fe passphrase_read: Reset terminal to original attributes if ECHO was turned off 2011-09-24 15:03:24 -04:00
Shea Levy
4c4bd49006 Add test to check that passphrase_read resets the terminal once it's done 2011-09-24 14:45:13 -04:00
Shea Levy
fc68f8e908 passphrase_read: Turn off ECHO on the terminal 2011-09-24 14:15:36 -04:00
Shea Levy
eb1c231f5e Fix assert in passphrase_read_turns_off_echo_during_read 2011-09-24 14:07:37 -04:00
Shea Levy
ba33f0eed7 passphrase_read: Overwrite possible references to passphrase data in local stack frame before any potential return
Also, accidentally included termios.h here, should have been at next commit
2011-09-24 13:32:40 -04:00
Shea Levy
bde5a8e076 Remove chance of undefined behavior corner case 2011-09-24 13:23:52 -04:00
Shea Levy
9b93d57d9c passphrase_read: set errno and return NULL when possibly-failing functions fail 2011-09-24 13:21:00 -04:00
Shea Levy
416c097926 Add test to check that passphrase_read turns off ECHO 2011-09-24 12:54:01 -04:00