1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Commit Graph

1227 Commits

Author SHA1 Message Date
Bob Weinand 28dcdb2d13 Fix some compiler warnings 2014-10-23 13:23:37 +02:00
Bob Weinand 6ee2dc47f3 Move phpdbg_print and helper functions to phpdbg_out.* 2014-10-23 13:16:00 +02:00
Bob Weinand 4a836ced7e Do not use int8_t when it is useless... 2014-10-23 13:02:50 +02:00
Bob Weinand 504448bce3 Fixed frame numbering in xml output 2014-10-23 12:38:35 +02:00
Bob Weinand d61a12799c Do not display dots in xml output for i v/i d 2014-10-23 12:23:48 +02:00
Bob Weinand 801080cf7e Try fixing 5.4 and 5.5 build, again 2014-10-22 19:58:52 +02:00
Anatol Belski 242387e51b add comment 2014-10-21 17:43:23 +02:00
Anatol Belski d7229b2bb6 restart listening on socket
if remote sent somthing else than ctrl+c while performing something blocking
2014-10-21 16:56:06 +02:00
Anatol Belski b8368a7bcf some minor fixes 2014-10-21 16:19:31 +02:00
Anatol Belski 6fcf7ede49 added phpdbg_eol.* sources 2014-10-21 16:18:44 +02:00
Anatol Belski a741d3b266 basic EOL implementation for CRLF 2014-10-21 15:50:55 +02:00
Anatol Belski 0f3448ef8b start sigio watcher only for run and eval for now
there myght be more needing that
2014-10-21 11:47:22 +02:00
Anatol Belski 63a450281a reworked the current EOL stuff 2014-10-21 11:47:21 +02:00
Anatol Belski e011f0ca60 prepare setting EOL with command or INI 2014-10-21 11:47:20 +02:00
Anatol Belski 55936dc23d correct place to start the sigio watcher
plus started with the eol command
2014-10-21 11:47:19 +02:00
Anatol Belski da40b116a6 further improvements to windows/sigio 2014-10-21 11:47:18 +02:00
Anatol Belski 3dec59f00d basic sigio surrogate for windows 2014-10-21 11:47:17 +02:00
Bob Weinand bafe6a9f7a Always show the prompt (now also: <prompt> tag) 2014-10-20 22:05:05 +02:00
Bob Weinand dfdc19fb2a Fix off-by-one bug in text messages (msg/<phpdbg>) 2014-10-20 21:52:47 +02:00
Bob Weinand 27629577b0 Add xml.md info for info constants 2014-10-20 21:22:16 +02:00
Bob Weinand d410b23f90 Ensure that %.*s uses the full string (INCLUDING \0) 2014-10-20 21:17:45 +02:00
Bob Weinand 3e5a4c6f30 Add info constants (alias: i d) command 2014-10-20 21:14:13 +02:00
Bob Weinand 6c6b356f63 Add values of scalars to info vars/globals 2014-10-20 16:05:37 +02:00
Bob Weinand fa1c26f022 Fix for ports >= 1<<15 2014-10-20 09:47:35 +02:00
Bob Weinand 2916a14018 Fix reading from remote on some *nixes 2014-10-20 08:46:22 +02:00
Bob Weinand 07670ff871 Fix TSRMLS_* and a few warnings 2014-10-19 21:20:43 +02:00
Anatol Belski 795cb98ac6 revert PHP_EOL changes 2014-10-19 20:09:39 +02:00
Anatol Belski 362c87f4b0 don't use timeout for the remote prompt, recv() will block until input arrives 2014-10-19 18:30:07 +02:00
Anatol Belski 0acafba89d improve server sock creation and support ipv6 2014-10-19 13:40:45 +02:00
Anatol Belski 75bc207653 add comment 2014-10-19 11:16:56 +02:00
Anatol Belski 0929b7a4e4 increase default recv timeout to 30 seconds 2014-10-19 11:16:01 +02:00
Anatol Belski 2be895e4fe more EOL fixes 2014-10-19 11:10:13 +02:00
Anatol Belski 52686b3226 use MSG_PEEK flag for recv() everywhere 2014-10-19 11:03:17 +02:00
Anatol Belski e853fec3fd fixed EOL transferred to the client side, fixed strftime fmt string
the windows telnet gets broken output when receiving no '\r'
2014-10-19 10:39:44 +02:00
Anatol Belski d5fb8e5830 increase stack to avoid overflow crash on SIGINT
but should actually check, maybe something is causing a recursive
stack exhaustion
2014-10-19 02:14:31 +02:00
Anatol Belski 1137d9cb2b several fixes to the new io stuff 2014-10-19 01:32:46 +02:00
Anatol Belski 52d2ead59d override stdin and stdout to be remote, stderr is untouched however
is this ok? some functions want to write a log there ...
2014-10-19 01:31:00 +02:00
Anatol Belski 47388e6362 move these to use the mixed read/write routines 2014-10-19 01:30:00 +02:00
Anatol Belski dd551706a9 add basic stuff to generalize IO 2014-10-19 00:12:23 +02:00
Anatol Belski 0cfd77185b enable php_stdiop_write for windows
yet it's unclear whether it'll be usable, but otherwise it breaks
compilation as some places depend on it
2014-10-18 22:59:49 +02:00
Anatol Belski 3ca381ee8b fix dll export 2014-10-18 22:45:17 +02:00
Anatol Belski f67bd30131 C89 compat 2014-10-18 22:43:56 +02:00
Bob Weinand 8525c40eac Fix for 5.4/5.5 2014-10-18 21:54:44 +02:00
Bob Weinand 6932bbfd52 Merge branch 'xml-protocol'
Conflicts:
	phpdbg.c
	phpdbg_list.c
2014-10-18 21:12:25 +02:00
Bob Weinand bdb18d9f48 Fix execution of immediately following commands 2014-10-18 20:42:54 +02:00
Bob Weinand 24972fa986 Fixed potential segfault in backtrace of internal funcs 2014-10-17 22:20:54 +02:00
Bob Weinand f0e67720d4 Remove accidentally added null-byte in attributes 2014-10-17 19:39:09 +02:00
Bob Weinand afe01e4956 Fix negative list offsets 2014-10-17 19:32:02 +02:00
Bob Weinand a80f0b982a Fix lexing of -r \d+ in raw-string commands 2014-10-16 12:27:26 +02:00
Bob Weinand 68694e3141 Fix invalid dereference 2014-10-16 11:04:45 +02:00