]> granicus.if.org Git - php/log
php
10 years agofurther improvements to windows/sigio
Anatol Belski [Mon, 20 Oct 2014 20:55:00 +0000 (22:55 +0200)]
further improvements to windows/sigio

10 years agobasic sigio surrogate for windows
Anatol Belski [Mon, 20 Oct 2014 20:12:58 +0000 (22:12 +0200)]
basic sigio surrogate for windows

10 years agoAlways show the prompt (now also: <prompt> tag)
Bob Weinand [Mon, 20 Oct 2014 20:05:05 +0000 (22:05 +0200)]
Always show the prompt (now also: <prompt> tag)

10 years agoFix off-by-one bug in text messages (msg/<phpdbg>)
Bob Weinand [Mon, 20 Oct 2014 19:52:47 +0000 (21:52 +0200)]
Fix off-by-one bug in text messages (msg/<phpdbg>)

10 years agoAdd xml.md info for info constants
Bob Weinand [Mon, 20 Oct 2014 19:22:16 +0000 (21:22 +0200)]
Add xml.md info for info constants

10 years agoEnsure that %.*s uses the full string (INCLUDING \0)
Bob Weinand [Mon, 20 Oct 2014 19:17:45 +0000 (21:17 +0200)]
Ensure that %.*s uses the full string (INCLUDING \0)

10 years agoAdd info constants (alias: i d) command
Bob Weinand [Mon, 20 Oct 2014 19:14:13 +0000 (21:14 +0200)]
Add info constants (alias: i d) command

10 years agoAdd values of scalars to info vars/globals
Bob Weinand [Mon, 20 Oct 2014 14:05:37 +0000 (16:05 +0200)]
Add values of scalars to info vars/globals

10 years agoFix for ports >= 1<<15
Bob Weinand [Mon, 20 Oct 2014 07:47:35 +0000 (09:47 +0200)]
Fix for ports >= 1<<15

10 years agoFix reading from remote on some *nixes
Bob Weinand [Mon, 20 Oct 2014 06:46:22 +0000 (08:46 +0200)]
Fix reading from remote on some *nixes

10 years agoFix TSRMLS_* and a few warnings
Bob Weinand [Sun, 19 Oct 2014 19:20:43 +0000 (21:20 +0200)]
Fix TSRMLS_* and a few warnings

10 years agorevert PHP_EOL changes
Anatol Belski [Sun, 19 Oct 2014 18:09:39 +0000 (20:09 +0200)]
revert PHP_EOL changes

10 years agodon't use timeout for the remote prompt, recv() will block until input arrives
Anatol Belski [Sun, 19 Oct 2014 16:30:07 +0000 (18:30 +0200)]
don't use timeout for the remote prompt, recv() will block until input arrives

10 years agoimprove server sock creation and support ipv6
Anatol Belski [Sun, 19 Oct 2014 11:40:45 +0000 (13:40 +0200)]
improve server sock creation and support ipv6

10 years agoadd comment
Anatol Belski [Sun, 19 Oct 2014 09:16:56 +0000 (11:16 +0200)]
add comment

10 years agoincrease default recv timeout to 30 seconds
Anatol Belski [Sun, 19 Oct 2014 09:16:01 +0000 (11:16 +0200)]
increase default recv timeout to 30 seconds

10 years agomore EOL fixes
Anatol Belski [Sun, 19 Oct 2014 09:10:13 +0000 (11:10 +0200)]
more EOL fixes

10 years agouse MSG_PEEK flag for recv() everywhere
Anatol Belski [Sun, 19 Oct 2014 09:03:17 +0000 (11:03 +0200)]
use MSG_PEEK flag for recv() everywhere

10 years agofixed EOL transferred to the client side, fixed strftime fmt string
Anatol Belski [Sun, 19 Oct 2014 08:39:44 +0000 (10:39 +0200)]
fixed EOL transferred to the client side, fixed strftime fmt string

the windows telnet gets broken output when receiving no '\r'

10 years agoincrease stack to avoid overflow crash on SIGINT
Anatol Belski [Sun, 19 Oct 2014 00:14:31 +0000 (02:14 +0200)]
increase stack to avoid overflow crash on SIGINT

but should actually check, maybe something is causing a recursive
stack exhaustion

10 years agoseveral fixes to the new io stuff
Anatol Belski [Sat, 18 Oct 2014 23:32:46 +0000 (01:32 +0200)]
several fixes to the new io stuff

10 years agooverride stdin and stdout to be remote, stderr is untouched however
Anatol Belski [Sat, 18 Oct 2014 23:31:00 +0000 (01:31 +0200)]
override stdin and stdout to be remote, stderr is untouched however

is this ok? some functions want to write a log there ...

10 years agomove these to use the mixed read/write routines
Anatol Belski [Sat, 18 Oct 2014 23:30:00 +0000 (01:30 +0200)]
move these to use the mixed read/write routines

10 years agoadd basic stuff to generalize IO
Anatol Belski [Sat, 18 Oct 2014 22:12:23 +0000 (00:12 +0200)]
add basic stuff to generalize IO

10 years agoenable php_stdiop_write for windows
Anatol Belski [Sat, 18 Oct 2014 20:59:49 +0000 (22:59 +0200)]
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

10 years agofix dll export
Anatol Belski [Sat, 18 Oct 2014 20:45:17 +0000 (22:45 +0200)]
fix dll export

10 years agoC89 compat
Anatol Belski [Sat, 18 Oct 2014 20:43:56 +0000 (22:43 +0200)]
C89 compat

10 years agoFix for 5.4/5.5
Bob Weinand [Sat, 18 Oct 2014 19:54:44 +0000 (21:54 +0200)]
Fix for 5.4/5.5

10 years agoMerge branch 'xml-protocol'
Bob Weinand [Sat, 18 Oct 2014 19:12:25 +0000 (21:12 +0200)]
Merge branch 'xml-protocol'

Conflicts:
phpdbg.c
phpdbg_list.c

10 years agoFix execution of immediately following commands
Bob Weinand [Sat, 18 Oct 2014 18:42:54 +0000 (20:42 +0200)]
Fix execution of immediately following commands

10 years agoFixed potential segfault in backtrace of internal funcs
Bob Weinand [Fri, 17 Oct 2014 20:20:54 +0000 (22:20 +0200)]
Fixed potential segfault in backtrace of internal funcs

10 years agoRemove accidentally added null-byte in attributes
Bob Weinand [Fri, 17 Oct 2014 17:39:09 +0000 (19:39 +0200)]
Remove accidentally added null-byte in attributes

10 years agoFix negative list offsets
Bob Weinand [Fri, 17 Oct 2014 17:32:02 +0000 (19:32 +0200)]
Fix negative list offsets

10 years agoFix lexing of -r \d+ in raw-string commands
Bob Weinand [Thu, 16 Oct 2014 10:27:26 +0000 (12:27 +0200)]
Fix lexing of -r \d+ in raw-string commands

10 years agoFix invalid dereference
Bob Weinand [Thu, 16 Oct 2014 09:04:45 +0000 (11:04 +0200)]
Fix invalid dereference

10 years agoFix segfault in exceptions with xml
Bob Weinand [Wed, 15 Oct 2014 20:00:33 +0000 (22:00 +0200)]
Fix segfault in exceptions with xml

10 years agoFix ctrl characters handling
Bob Weinand [Wed, 15 Oct 2014 18:30:16 +0000 (20:30 +0200)]
Fix ctrl characters handling

10 years agoFix invalid efree() on null pointer and add help for -x
Bob Weinand [Tue, 14 Oct 2014 07:16:30 +0000 (09:16 +0200)]
Fix invalid efree() on null pointer and add help for -x

10 years agoenable console options for remote on win
Anatol Belski [Sun, 12 Oct 2014 18:05:26 +0000 (20:05 +0200)]
enable console options for remote on win

10 years agobasic rework for remote on win
Anatol Belski [Sun, 12 Oct 2014 17:53:05 +0000 (19:53 +0200)]
basic rework for remote on win

10 years agofix config.w32
Anatol Belski [Sun, 12 Oct 2014 17:31:38 +0000 (19:31 +0200)]
fix config.w32

10 years agoFix some compiler warnings
Bob Weinand [Sat, 11 Oct 2014 22:30:09 +0000 (00:30 +0200)]
Fix some compiler warnings

10 years agoMaybe-fix for krakjoe/phpdbg#120, fixed remote on darwin
Bob Weinand [Sat, 11 Oct 2014 21:36:12 +0000 (23:36 +0200)]
Maybe-fix for krakjoe/phpdbg#120, fixed remote on darwin

10 years agoFix issue krakjoe/phpdbg#122 (segfault in helpaliases)
Bob Weinand [Fri, 10 Oct 2014 22:20:30 +0000 (00:20 +0200)]
Fix issue krakjoe/phpdbg#122 (segfault in helpaliases)

10 years agoEscape control characters
Bob Weinand [Thu, 9 Oct 2014 14:06:10 +0000 (16:06 +0200)]
Escape control characters

10 years agoOnly show req attribute if given
Bob Weinand [Thu, 9 Oct 2014 12:54:47 +0000 (14:54 +0200)]
Only show req attribute if given

10 years agoFix ev/run/sh parsing
Bob Weinand [Thu, 9 Oct 2014 12:54:08 +0000 (14:54 +0200)]
Fix ev/run/sh parsing

10 years agoFixed segfault when listing and last line is empty
Bob Weinand [Thu, 9 Oct 2014 10:43:53 +0000 (12:43 +0200)]
Fixed segfault when listing and last line is empty

Conflicts:
phpdbg_list.c

10 years agoFixed segfault when listing and last line is empty
Bob Weinand [Thu, 9 Oct 2014 10:43:53 +0000 (12:43 +0200)]
Fixed segfault when listing and last line is empty

10 years agoUpdated xml.md
Bob Weinand [Thu, 9 Oct 2014 10:35:54 +0000 (12:35 +0200)]
Updated xml.md

10 years agoAlways output request id in containers
Bob Weinand [Thu, 9 Oct 2014 10:24:52 +0000 (12:24 +0200)]
Always output request id in containers

10 years agoMerge branch 'master' into xml-protocol
Bob Weinand [Thu, 9 Oct 2014 10:01:43 +0000 (12:01 +0200)]
Merge branch 'master' into xml-protocol

10 years agoPorts are unsigned short, use unsigned to display
Bob Weinand [Thu, 9 Oct 2014 10:01:25 +0000 (12:01 +0200)]
Ports are unsigned short, use unsigned to display

10 years agoFix regression in list
Bob Weinand [Thu, 9 Oct 2014 09:52:57 +0000 (11:52 +0200)]
Fix regression in list
It showed the entire remaining file before...

10 years agoReduce variabledetails+variable to just one variable tag
Bob Weinand [Thu, 9 Oct 2014 09:47:52 +0000 (11:47 +0200)]
Reduce variabledetails+variable to just one variable tag

10 years agoAdd <intros> tag around <intro /> tags
Bob Weinand [Wed, 8 Oct 2014 22:25:25 +0000 (00:25 +0200)]
Add <intros> tag around <intro /> tags

10 years agoPut stack_verify in error buffer too
Bob Weinand [Wed, 8 Oct 2014 21:44:22 +0000 (23:44 +0200)]
Put stack_verify in error buffer too

10 years agoFix escaping of <
Bob Weinand [Wed, 8 Oct 2014 21:42:20 +0000 (23:42 +0200)]
Fix escaping of <

10 years agoRevert WS change from "[\r\n\t ]+" to "[\t ]+"
Bob Weinand [Tue, 7 Oct 2014 22:35:17 +0000 (00:35 +0200)]
Revert WS change from "[\r\n\t ]+" to "[\t ]+"

10 years agoMerge branch 'master' into xml-protocol
Bob Weinand [Tue, 7 Oct 2014 22:27:12 +0000 (00:27 +0200)]
Merge branch 'master' into xml-protocol

Conflicts:
phpdbg_lexer.c
phpdbg_prompt.c

10 years agoFix bug which causes inf loop on \r\n
Bob Weinand [Tue, 7 Oct 2014 22:14:31 +0000 (00:14 +0200)]
Fix bug which causes inf loop on \r\n

10 years agomake build work moar
krakjoe [Tue, 7 Oct 2014 11:36:03 +0000 (12:36 +0100)]
make build work moar

10 years agoMerge branch 'master' into xml-protocol
Bob Weinand [Tue, 7 Oct 2014 11:08:30 +0000 (13:08 +0200)]
Merge branch 'master' into xml-protocol

Conflicts:
phpdbg.c
phpdbg.h
phpdbg_cmd.c
phpdbg_cmd.h
phpdbg_frame.c
phpdbg_info.c
phpdbg_list.c
phpdbg_print.c
phpdbg_prompt.c
phpdbg_utils.c
phpdbg_utils.h
phpdbg_watch.c

10 years agofix case insensitivity for registered functions
krakjoe [Tue, 7 Oct 2014 10:30:26 +0000 (11:30 +0100)]
fix case insensitivity for registered functions

10 years agofix mistake in help
krakjoe [Tue, 7 Oct 2014 09:28:21 +0000 (10:28 +0100)]
fix mistake in help

10 years agoMerge branch 'webdata_transfer'
Bob Weinand [Mon, 6 Oct 2014 22:45:29 +0000 (00:45 +0200)]
Merge branch 'webdata_transfer'

10 years ago&quot; => &amp;quot; in md document
Bob Weinand [Mon, 6 Oct 2014 20:34:41 +0000 (22:34 +0200)]
&quot; => &amp;quot; in md document

10 years agoAdd request id to <backtrace>
Bob Weinand [Mon, 6 Oct 2014 11:20:04 +0000 (13:20 +0200)]
Add request id to <backtrace>

10 years agoFix frames output
Bob Weinand [Mon, 6 Oct 2014 09:46:39 +0000 (11:46 +0200)]
Fix frames output

10 years agoAdd request_id possibility for xml output
Bob Weinand [Mon, 6 Oct 2014 09:26:08 +0000 (11:26 +0200)]
Add request_id possibility for xml output

10 years agoUse PHP 5.4 compatible zend_execute in #if
Bob Weinand [Sun, 5 Oct 2014 11:57:35 +0000 (13:57 +0200)]
Use PHP 5.4 compatible zend_execute in #if

10 years agoFix infinite recursion issues (segfaults)
Bob Weinand [Sun, 5 Oct 2014 11:29:56 +0000 (13:29 +0200)]
Fix infinite recursion issues (segfaults)

10 years agoFix infinite recursion issues (segfaults)
Bob Weinand [Sun, 5 Oct 2014 11:29:56 +0000 (13:29 +0200)]
Fix infinite recursion issues (segfaults)

10 years agoConsistency in breakpoint tags, <run> => <stop>
Bob Weinand [Sun, 5 Oct 2014 10:33:24 +0000 (12:33 +0200)]
Consistency in breakpoint tags, <run> => <stop>

10 years agoFix precision handling in strings
Bob Weinand [Sun, 5 Oct 2014 09:57:14 +0000 (11:57 +0200)]
Fix precision handling in strings

10 years agoDisable automatic resetting of imported auto_globals
Bob Weinand [Sun, 5 Oct 2014 00:27:51 +0000 (02:27 +0200)]
Disable automatic resetting of imported auto_globals

10 years agoFix (system) ini entry transfer
Bob Weinand [Sat, 4 Oct 2014 22:16:19 +0000 (00:16 +0200)]
Fix (system) ini entry transfer

10 years agoFix issues with path names and cwd
Bob Weinand [Sat, 4 Oct 2014 21:30:57 +0000 (23:30 +0200)]
Fix issues with path names and cwd

10 years agoAdd transfer of output back to webserver and merge master in
Bob Weinand [Sat, 4 Oct 2014 21:21:34 +0000 (23:21 +0200)]
Add transfer of output back to webserver and merge master in

Conflicts:
config.m4
phpdbg.c
phpdbg.h
phpdbg_cmd.c
phpdbg_prompt.c

10 years agoLIBREADLINE => HAVE_LIBREADLINE
Bob Weinand [Sat, 4 Oct 2014 15:02:44 +0000 (17:02 +0200)]
LIBREADLINE => HAVE_LIBREADLINE

10 years agoUse or instead of and for libedit and readline
Bob Weinand [Sat, 4 Oct 2014 14:31:34 +0000 (16:31 +0200)]
Use or instead of and for libedit and readline

10 years agoAdded support for a restricted ev (variables only) in async safe contexts
Bob Weinand [Fri, 3 Oct 2014 10:43:32 +0000 (12:43 +0200)]
Added support for a restricted ev (variables only) in async safe contexts

10 years agoMade some functions async safe and provide interactive shell in signal handler
Bob Weinand [Thu, 2 Oct 2014 23:29:41 +0000 (01:29 +0200)]
Made some functions async safe and provide interactive shell in signal handler
Fixes also (as a side-effect) a possible bug in list function when included files become unreachable after loading by caching the file contents
This is already pretty stable; a (restricted) ev and sh may follow.

10 years agoRemove accidental insertion of a single "s"
Bob Weinand [Thu, 2 Oct 2014 09:18:36 +0000 (11:18 +0200)]
Remove accidental insertion of a single "s"

10 years agoSend a \x03 during execution to interrupt (POSIX only)
Bob Weinand [Sun, 28 Sep 2014 00:57:12 +0000 (02:57 +0200)]
Send a \x03 during execution to interrupt (POSIX only)

10 years agoFix typo: inactivee => inactive
Bob Weinand [Thu, 25 Sep 2014 20:01:31 +0000 (22:01 +0200)]
Fix typo: inactivee => inactive

10 years agoPush first draft of xml protocol documentation
Bob Weinand [Thu, 25 Sep 2014 19:26:57 +0000 (21:26 +0200)]
Push first draft of xml protocol documentation

10 years agoMake set commands more consistent
Bob Weinand [Thu, 25 Sep 2014 19:25:18 +0000 (21:25 +0200)]
Make set commands more consistent

10 years agoMake phpdbg_prompt.c xml messages more consistent
Bob Weinand [Thu, 25 Sep 2014 13:28:25 +0000 (15:28 +0200)]
Make phpdbg_prompt.c xml messages more consistent

10 years agoMake print command xml output more consistent
Bob Weinand [Thu, 25 Sep 2014 00:04:12 +0000 (02:04 +0200)]
Make print command xml output more consistent

10 years agoFix tests
Bob Weinand [Wed, 24 Sep 2014 23:29:08 +0000 (01:29 +0200)]
Fix tests

10 years agoMerge branch 'master' into xml-protocol
Bob Weinand [Wed, 24 Sep 2014 23:22:33 +0000 (01:22 +0200)]
Merge branch 'master' into xml-protocol

Conflicts:
phpdbg_utils.c

10 years agoFix test after adding script ended notice
Bob Weinand [Wed, 24 Sep 2014 22:59:17 +0000 (00:59 +0200)]
Fix test after adding script ended notice

10 years agoAlways add a newline before a warning or a notice
Bob Weinand [Wed, 24 Sep 2014 22:55:17 +0000 (00:55 +0200)]
Always add a newline before a warning or a notice

10 years agoBetter naming in list command and inform about filename
Bob Weinand [Wed, 24 Sep 2014 22:22:58 +0000 (00:22 +0200)]
Better naming in list command and inform about filename

10 years agoUse more consistent naming in info command for xml protocol
Bob Weinand [Wed, 24 Sep 2014 22:21:27 +0000 (00:21 +0200)]
Use more consistent naming in info command for xml protocol

10 years agoFix accidental short-circuiting when comparing fds (& warnings)
Bob Weinand [Tue, 23 Sep 2014 16:29:36 +0000 (18:29 +0200)]
Fix accidental short-circuiting when comparing fds (& warnings)

10 years agoUse consistently "num" for an nth opline number
Bob Weinand [Tue, 23 Sep 2014 15:04:39 +0000 (17:04 +0200)]
Use consistently "num" for an nth opline number

10 years agoMerge branch 'master' into xml-protocol
Bob Weinand [Tue, 23 Sep 2014 14:51:18 +0000 (16:51 +0200)]
Merge branch 'master' into xml-protocol

Conflicts:
phpdbg_prompt.c

10 years agoAdd info globals command
Bob Weinand [Tue, 23 Sep 2014 14:48:37 +0000 (16:48 +0200)]
Add info globals command