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

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

Replace incorrect `E` command with `ev` in watch help

10 years agoFix issue krakjoe/phpdbg#99
Bob Weinand [Sun, 29 Jun 2014 09:26:27 +0000 (11:26 +0200)]
Fix issue krakjoe/phpdbg#99
register function has the same behavior as run

10 years agoFix readline/libedit (Thanks to @remicollet)
Bob Weinand [Sun, 29 Jun 2014 09:26:03 +0000 (11:26 +0200)]
Fix readline/libedit (Thanks to @remicollet)

10 years agoReplace incorrect `E` command with `ev` in watch help
Davey Shafik [Sun, 29 Jun 2014 08:33:27 +0000 (04:33 -0400)]
Replace incorrect `E` command with `ev` in watch help

Fixes #95

10 years agoFix typo in `finish` help
Davey Shafik [Sun, 29 Jun 2014 08:32:01 +0000 (04:32 -0400)]
Fix typo in `finish` help

Fixes #96

10 years agoMerge branch 'master' of https://github.com/oerdnj/phpdbg into master
Bob Weinand [Wed, 25 Jun 2014 11:26:58 +0000 (13:26 +0200)]
Merge branch 'master' of https://github.com/oerdnj/phpdbg into master
Rewritten author line and included instructions to make install the man page

10 years agoAdd initial manual page for phpdbg.1
Ondřej Surý [Mon, 23 Jun 2014 09:35:42 +0000 (11:35 +0200)]
Add initial manual page for phpdbg.1

10 years agofix bugsnet #67212: phpdbg uses non-standard TIOCGWINSZ
kovacs.ferenc [Sat, 14 Jun 2014 21:48:17 +0000 (23:48 +0200)]
fix bugsnet #67212: phpdbg uses non-standard TIOCGWINSZ

10 years agochange the default terminal width from 100 to 80, as that is the most common value
kovacs.ferenc [Thu, 12 Jun 2014 21:13:50 +0000 (23:13 +0200)]
change the default terminal width from 100 to 80, as that is the most common value

10 years agoremove all references
krakjoe [Fri, 13 Jun 2014 06:35:11 +0000 (07:35 +0100)]
remove all references

10 years agoMake run-tests.php PHP-5.4 compatible
Bob Weinand [Thu, 12 Jun 2014 15:49:02 +0000 (18:49 +0300)]
Make run-tests.php PHP-5.4 compatible

10 years agoFixed order in travis script
Bob Weinand [Wed, 11 Jun 2014 21:18:47 +0000 (00:18 +0300)]
Fixed order in travis script

10 years agoCheck for all phpdbg compitble php versions
Bob Weinand [Wed, 11 Jun 2014 21:08:55 +0000 (23:08 +0200)]
Check for all phpdbg compitble php versions

10 years agoFix issue #89 — Compile failure in PHP 5.4
Bob Weinand [Wed, 11 Jun 2014 20:35:12 +0000 (23:35 +0300)]
Fix issue #89 — Compile failure in PHP 5.4

zend_hash_get_current_key_zval_ex isn't defined in PHP 5.4. (used in phpdbg_watch.c)

10 years agoAdd line in run-tests.php help
Bob Weinand [Mon, 9 Jun 2014 13:38:38 +0000 (15:38 +0200)]
Add line in run-tests.php help

10 years agoFinish fixing phpdbg on ZTS build
Bob Weinand [Mon, 9 Jun 2014 07:49:21 +0000 (09:49 +0200)]
Finish fixing phpdbg on ZTS build

10 years agoFix segfault in tests with lexer
Bob Weinand [Sun, 8 Jun 2014 22:38:06 +0000 (00:38 +0200)]
Fix segfault in tests with lexer
There's still a bug in parsing commands

10 years agoFix ZTS build
Bob Weinand [Sun, 8 Jun 2014 22:02:10 +0000 (00:02 +0200)]
Fix ZTS build

10 years agoremove phpdbg directory from source tree on travis
krakjoe [Sun, 8 Jun 2014 21:16:06 +0000 (22:16 +0100)]
remove phpdbg directory from source tree on travis

10 years agoUpdated parser & leer to be usable with re2c
Bob Weinand [Sun, 8 Jun 2014 20:34:30 +0000 (20:34 +0000)]
Updated parser & leer to be usable with re2c
Fixes some weird temporary compilation errors too

10 years agoFix tests
Bob Weinand [Wed, 4 Jun 2014 00:15:50 +0000 (02:15 +0200)]
Fix tests

10 years agoFix possible segfault depending on memory location...
Bob Weinand [Wed, 4 Jun 2014 00:15:34 +0000 (02:15 +0200)]
Fix possible segfault depending on memory location...

10 years agoFixed startup segfault in non-debug builds
Bob Weinand [Tue, 3 Jun 2014 21:00:45 +0000 (21:00 +0000)]
Fixed startup segfault in non-debug builds
Fixes issue #87

10 years agoPHP 5.4/5.5 compability in phpdbg_watch.c
Bob Weinand [Sun, 18 May 2014 09:38:55 +0000 (11:38 +0200)]
PHP 5.4/5.5 compability in phpdbg_watch.c

10 years ago/me blushes, really hard
krakjoe [Sat, 3 May 2014 09:37:11 +0000 (10:37 +0100)]
/me blushes, really hard

10 years agoAdded stdion/stdout/stderr constsnts and their php:// wrappers
Bob Weinand [Thu, 1 May 2014 09:38:08 +0000 (11:38 +0200)]
Added stdion/stdout/stderr constsnts and their php:// wrappers
Fixes issue #85

10 years agoC89 compat
Anatol Belski [Sun, 27 Apr 2014 15:57:38 +0000 (17:57 +0200)]
C89 compat

10 years agoremoved /EHa as __try/__catch syntax is used anyway
Anatol Belski [Fri, 25 Apr 2014 22:07:13 +0000 (00:07 +0200)]
removed /EHa as __try/__catch syntax is used anyway

see http://msdn.microsoft.com/en-us/library/1deeycx5.aspx

10 years agofix ZEND_DEBUG usage
Anatol Belski [Fri, 25 Apr 2014 20:33:28 +0000 (22:33 +0200)]
fix ZEND_DEBUG usage

10 years agofix CFLAGS_PHPDBGS and some formatting
Anatol Belski [Thu, 24 Apr 2014 11:15:16 +0000 (13:15 +0200)]
fix CFLAGS_PHPDBGS and some formatting

10 years agouse a portable strndup implementation
Anatol Belski [Thu, 24 Apr 2014 09:01:54 +0000 (11:01 +0200)]
use a portable strndup implementation

10 years agofixed C89 compat
Anatol Belski [Thu, 24 Apr 2014 09:00:36 +0000 (11:00 +0200)]
fixed C89 compat

10 years agoprepare config.w32
Anatol Belski [Thu, 24 Apr 2014 08:58:30 +0000 (10:58 +0200)]
prepare config.w32

10 years agoadd parser files to dist
krakjoe [Thu, 24 Apr 2014 07:09:35 +0000 (08:09 +0100)]
add parser files to dist

10 years agoFixed infinite loop when quitting (sometimes)
Bob Weinand [Mon, 21 Apr 2014 21:14:06 +0000 (23:14 +0200)]
Fixed infinite loop when quitting (sometimes)

10 years agofixup help, behaviour of step command when not executing
krakjoe [Mon, 21 Apr 2014 21:00:21 +0000 (22:00 +0100)]
fixup help, behaviour of step command when not executing

10 years agobuffer input to repeat commands
krakjoe [Mon, 21 Apr 2014 20:43:19 +0000 (21:43 +0100)]
buffer input to repeat commands

10 years agoMerge branch 'master' of https://github.com/krakjoe/phpdbg
krakjoe [Mon, 21 Apr 2014 20:28:02 +0000 (21:28 +0100)]
Merge branch 'master' of https://github.com/krakjoe/phpdbg

10 years agoremove -e option in favour of taking script from argv[]
krakjoe [Mon, 21 Apr 2014 20:24:41 +0000 (21:24 +0100)]
remove -e option in favour of taking script from argv[]

10 years agoFixed stepping
Bob Weinand [Sun, 20 Apr 2014 18:20:59 +0000 (20:20 +0200)]
Fixed stepping

10 years agoMerge branch 'master' of https://github.com/krakjoe/phpdbg
Bob Weinand [Sun, 20 Apr 2014 17:55:44 +0000 (19:55 +0200)]
Merge branch 'master' of https://github.com/krakjoe/phpdbg

Conflicts:
phpdbg_help.c
phpdbg_prompt.c

10 years agostep by line and opcode modes preserved, set stepping added, help updated
krakjoe [Sun, 20 Apr 2014 17:46:35 +0000 (18:46 +0100)]
step by line and opcode modes preserved, set stepping added, help updated

10 years agorename next to continue, cleanup help
krakjoe [Sun, 20 Apr 2014 16:10:52 +0000 (17:10 +0100)]
rename next to continue, cleanup help

10 years agoUpdate help
Bob Weinand [Sun, 20 Apr 2014 14:55:49 +0000 (16:55 +0200)]
Update help

10 years agoStepping is now line by line with gdb style command
Bob Weinand [Sun, 20 Apr 2014 14:47:24 +0000 (16:47 +0200)]
Stepping is now line by line with gdb style command

10 years agoFixed potential bug in run command
Bob Weinand [Sun, 20 Apr 2014 11:28:11 +0000 (13:28 +0200)]
Fixed potential bug in run command

10 years agoBreakpoints now hit only once if line was not switched
Bob Weinand [Sun, 20 Apr 2014 11:25:28 +0000 (13:25 +0200)]
Breakpoints now hit only once if line was not switched

10 years agoAdded error on compile failure in exec cmd
Bob Weinand [Sun, 20 Apr 2014 10:54:50 +0000 (12:54 +0200)]
Added error on compile failure in exec cmd

10 years agoremove compile command
krakjoe [Sat, 19 Apr 2014 20:22:09 +0000 (21:22 +0100)]
remove compile command

10 years agoMerge branch 'master' of https://github.com/krakjoe/phpdbg
krakjoe [Sat, 19 Apr 2014 20:09:10 +0000 (21:09 +0100)]
Merge branch 'master' of https://github.com/krakjoe/phpdbg

10 years agoauto compile when execution context set
krakjoe [Sat, 19 Apr 2014 20:08:54 +0000 (21:08 +0100)]
auto compile when execution context set

10 years agoCommented out a few PHPDBG_IS_QUITTING checks to fix bug
Bob Weinand [Wed, 16 Apr 2014 18:55:41 +0000 (20:55 +0200)]
Commented out a few PHPDBG_IS_QUITTING checks to fix bug
If it does not work, please revert...

10 years agocommand tokens just available at the beginning now
Bob Weinand [Wed, 16 Apr 2014 18:55:29 +0000 (20:55 +0200)]
command tokens just available at the beginning now

10 years agoAlso check for length to not segfault
Bob Weinand [Wed, 16 Apr 2014 18:55:02 +0000 (20:55 +0200)]
Also check for length to not segfault

10 years agoUpdated version number to 0.4.0
Bob Weinand [Wed, 16 Apr 2014 11:56:26 +0000 (13:56 +0200)]
Updated version number to 0.4.0
Made run accept any input and lexer re2c compatible

10 years agoFixed bug: ev output was buffered instead of directly displayed
Bob Weinand [Wed, 16 Apr 2014 09:40:29 +0000 (11:40 +0200)]
Fixed bug: ev output was buffered instead of directly displayed

10 years agoFixed refcount removing if specified
Bob Weinand [Tue, 15 Apr 2014 17:20:01 +0000 (19:20 +0200)]
Fixed refcount removing if specified

10 years agoFixed segfault when input == NULL
Bob Weinand [Tue, 15 Apr 2014 15:52:46 +0000 (15:52 +0000)]
Fixed segfault when input == NULL

10 years agoMade refcount info switchable by set refcount on/off. Default: off
Bob Weinand [Mon, 14 Apr 2014 17:37:31 +0000 (19:37 +0200)]
Made refcount info switchable by set refcount on/off. Default: off

10 years agoReturn SUCCESS and do not confuse use with errors
Bob Weinand [Mon, 14 Apr 2014 14:26:27 +0000 (16:26 +0200)]
Return SUCCESS and do not confuse use with errors

10 years agoAdded $this and superglobals support for watchpoints
Bob Weinand [Mon, 14 Apr 2014 13:45:15 +0000 (15:45 +0200)]
Added $this and superglobals support for watchpoints

10 years agoClean up information on watchpoint breaks
Bob Weinand [Mon, 14 Apr 2014 08:46:52 +0000 (10:46 +0200)]
Clean up information on watchpoint breaks

10 years agotidy help
krakjoe [Sun, 13 Apr 2014 15:58:45 +0000 (16:58 +0100)]
tidy help

10 years agoCR CR etc. in help
Bob Weinand [Sun, 13 Apr 2014 15:55:18 +0000 (17:55 +0200)]
CR CR etc. in help

10 years agoAdded information about $var parameter in watchpoints
Bob Weinand [Sun, 13 Apr 2014 15:48:35 +0000 (17:48 +0200)]
Added information about $var parameter in watchpoints

10 years agoAdded help
Bob Weinand [Sun, 13 Apr 2014 15:34:27 +0000 (17:34 +0200)]
Added help