]> granicus.if.org Git - php/log
php
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

10 years agoAdd notification at script end
Bob Weinand [Tue, 23 Sep 2014 11:04:53 +0000 (13:04 +0200)]
Add notification at script end

10 years agoFix breakpoints and listing
Bob Weinand [Mon, 22 Sep 2014 21:28:07 +0000 (23:28 +0200)]
Fix breakpoints and listing

10 years agoA few general segfault fixes
Bob Weinand [Sun, 21 Sep 2014 22:52:22 +0000 (00:52 +0200)]
A few general segfault fixes

10 years agoFirst draft of an xml protocol
Bob Weinand [Sun, 21 Sep 2014 02:17:19 +0000 (04:17 +0200)]
First draft of an xml protocol

10 years agoUse full duplex stdin/stdout socket
Bob Weinand [Mon, 15 Sep 2014 07:58:14 +0000 (09:58 +0200)]
Use full duplex stdin/stdout socket

10 years agoFix bug #111 (compile error without ZEND_SIGNALS)
Bob Weinand [Sun, 14 Sep 2014 10:24:56 +0000 (12:24 +0200)]
Fix bug #111 (compile error without ZEND_SIGNALS)

10 years agoDo not unload phpdbg module in any case
Bob Weinand [Wed, 10 Sep 2014 15:01:08 +0000 (17:01 +0200)]
Do not unload phpdbg module in any case

10 years agoFix segfaults, reorder files and set filename to exec
Bob Weinand [Wed, 10 Sep 2014 13:53:40 +0000 (15:53 +0200)]
Fix segfaults, reorder files and set filename to exec

10 years agoAdd webhelper extension and support for loading extensions
Bob Weinand [Tue, 9 Sep 2014 00:15:33 +0000 (02:15 +0200)]
Add webhelper extension and support for loading extensions

New phpdbg commands:
dl [path] - loads module / Zend extension
wait - waits for incoming connection from a phpdbg_webhelper module

Webhelper module is a UNIX domain socket to which a SAPI with the phpdbg_webhelper module loaded will write to the socket information about its whole environment.
phpdbg can then run the request locally [TODO: write the request back to the sender]

10 years agoDon't run travis against master (phpng)
Bob Weinand [Tue, 9 Sep 2014 13:29:54 +0000 (15:29 +0200)]
Don't run travis against master (phpng)

10 years agoMerge pull request #106 from EagleEyeJohn/patch-1
Bob Weinand [Tue, 22 Jul 2014 02:49:41 +0000 (04:49 +0200)]
Merge pull request #106 from EagleEyeJohn/patch-1

Update README.md

10 years agoUpdate README.md
John Nicholls [Thu, 17 Jul 2014 14:43:24 +0000 (15:43 +0100)]
Update README.md

correct spelling of "exert"

10 years agoMerge pull request #104 from andytson/feature/rpm-build-fix
Bob Weinand [Sat, 5 Jul 2014 23:16:03 +0000 (01:16 +0200)]
Merge pull request #104 from andytson/feature/rpm-build-fix

Fix phpdbg.1 man page installation when build != src directory

10 years agoFix phpdbg.1 man page installation when build != src directory
Andy Thompson [Sat, 5 Jul 2014 12:05:05 +0000 (13:05 +0100)]
Fix phpdbg.1 man page installation when build != src directory

10 years ago- CS
Felipe Pena [Sun, 29 Jun 2014 12:57:57 +0000 (09:57 -0300)]
- CS

10 years agoFixed issue krakjoe/phpdbg#94 - List behavior is inconsistent
Bob Weinand [Sun, 29 Jun 2014 10:43:51 +0000 (12:43 +0200)]
Fixed issue krakjoe/phpdbg#94 - List behavior is inconsistent

10 years agoFix issue krakjoe/phpdbg#97 - list now appends a newline if there is none
Bob Weinand [Sun, 29 Jun 2014 10:18:39 +0000 (12:18 +0200)]
Fix issue krakjoe/phpdbg#97 - list now appends a newline if there is none
The prompt should always ensure it is on a newline

10 years agoInform about back command existence in help - Fixes krakjoe/phpdbg#100
Bob Weinand [Sun, 29 Jun 2014 09:55:42 +0000 (11:55 +0200)]
Inform about back command existence in help - Fixes krakjoe/phpdbg#100
No way to list the current stack/frames

10 years agoFix issue krakjoe/phpdbg#98
Bob Weinand [Sun, 29 Jun 2014 09:40:48 +0000 (11:40 +0200)]
Fix issue krakjoe/phpdbg#98
break if does not seem to work

10 years agoMerge pull request #102 from dshafik/fix-96
Bob Weinand [Sun, 29 Jun 2014 09:28:44 +0000 (11:28 +0200)]
Merge pull request #102 from dshafik/fix-96

Fix typo in `finish` help