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

10 years agoless strange!
krakjoe [Sun, 13 Apr 2014 13:43:34 +0000 (14:43 +0100)]
less strange!

10 years agoRemove some dead code...
Bob Weinand [Sun, 13 Apr 2014 11:33:07 +0000 (13:33 +0200)]
Remove some dead code...

10 years agofix compat with lexer stuff
krakjoe [Sun, 13 Apr 2014 10:42:47 +0000 (11:42 +0100)]
fix compat with lexer stuff

10 years agoMerge branch 'master' of https://github.com/krakjoe/phpdbg into watchpoints_recursive
krakjoe [Sun, 13 Apr 2014 10:32:43 +0000 (11:32 +0100)]
Merge branch 'master' of https://github.com/krakjoe/phpdbg into watchpoints_recursive

10 years agofix build
krakjoe [Sun, 13 Apr 2014 10:32:35 +0000 (11:32 +0100)]
fix build

10 years agofix command structure
krakjoe [Sun, 13 Apr 2014 10:17:04 +0000 (11:17 +0100)]
fix command structure

10 years agoMerge branch 'master' of https://github.com/krakjoe/phpdbg into watchpoints_recursive
krakjoe [Sun, 13 Apr 2014 10:07:38 +0000 (11:07 +0100)]
Merge branch 'master' of https://github.com/krakjoe/phpdbg into watchpoints_recursive

Conflicts:
config.m4
phpdbg.c
phpdbg_prompt.c

10 years agosquish warnings
krakjoe [Sun, 13 Apr 2014 08:07:15 +0000 (09:07 +0100)]
squish warnings

10 years agocleanup
krakjoe [Sun, 13 Apr 2014 07:48:59 +0000 (08:48 +0100)]
cleanup

10 years agofix moar
krakjoe [Sun, 13 Apr 2014 07:43:19 +0000 (08:43 +0100)]
fix moar

10 years agofix argc/argv
krakjoe [Sun, 13 Apr 2014 07:34:16 +0000 (08:34 +0100)]
fix argc/argv

10 years agomerge master
krakjoe [Sun, 13 Apr 2014 07:09:53 +0000 (08:09 +0100)]
merge master

10 years agoMerge branch 'master' of https://github.com/krakjoe/phpdbg into lexer
krakjoe [Sun, 13 Apr 2014 07:06:42 +0000 (08:06 +0100)]
Merge branch 'master' of https://github.com/krakjoe/phpdbg into lexer

Conflicts:
phpdbg_prompt.c

10 years agofix addr parameters
krakjoe [Sun, 13 Apr 2014 07:06:21 +0000 (08:06 +0100)]
fix addr parameters

10 years agoAdded support for command line arg passing
Bob Weinand [Sat, 12 Apr 2014 22:27:46 +0000 (00:27 +0200)]
Added support for command line arg passing
"phpdbg -- arg" in shell
"run arg" in phpdbg prompt

10 years agoFixed frame number order
Bob Weinand [Sat, 12 Apr 2014 20:08:02 +0000 (22:08 +0200)]
Fixed frame number order

10 years agoRetain full compability for all micro versions since PHP 5.4
Bob Weinand [Sat, 12 Apr 2014 16:00:33 +0000 (18:00 +0200)]
Retain full compability for all micro versions since PHP 5.4

10 years agoAdd array watchpoints if recursive zval watchpoint changed + WS
Bob Weinand [Thu, 3 Apr 2014 19:53:58 +0000 (19:53 +0000)]
Add array watchpoints if recursive zval watchpoint changed + WS

10 years agoFixed deleting watchpoints (plus error in btree_delete)
Bob Weinand [Thu, 3 Apr 2014 19:34:08 +0000 (19:34 +0000)]
Fixed deleting watchpoints (plus error in btree_delete)

10 years agoUse the internal zend_get_opcode_name() function
Bob Weinand [Mon, 24 Mar 2014 13:46:14 +0000 (14:46 +0100)]
Use the internal zend_get_opcode_name() function
Requires now >=5.4.24 or >=5.5.8 or >=5.6

10 years agoMerge branch 'master' into watchpoints_recursive
Bob Weinand [Sun, 23 Mar 2014 22:32:13 +0000 (23:32 +0100)]
Merge branch 'master' into watchpoints_recursive

Conflicts:
phpdbg.c
phpdbg_utils.c
phpdbg_utils.h

10 years agoFixed TSRM build
Bob Weinand [Sun, 23 Mar 2014 13:57:25 +0000 (14:57 +0100)]
Fixed TSRM build

10 years agoFixed possible duplication of watchpoints output
Bob Weinand [Sun, 23 Mar 2014 01:27:25 +0000 (21:27 -0400)]
Fixed possible duplication of watchpoints output

10 years agoFixed possible segmentation fault upon unset with watchpoints
Bob Weinand [Sat, 22 Mar 2014 13:39:39 +0000 (09:39 -0400)]
Fixed possible segmentation fault upon unset with watchpoints

10 years agoFixed one major bug in phpdbg_btree_delete
Bob Weinand [Mon, 17 Mar 2014 10:19:14 +0000 (06:19 -0400)]
Fixed one major bug in phpdbg_btree_delete
There is some bug when arrays/property tables are deleted: the children are not notified

(Considering now to overwrite the dtor of the array)

10 years agoremoved some weird crash when freeing to early
Bob Weinand [Sun, 16 Mar 2014 21:37:33 +0000 (22:37 +0100)]
removed some weird crash when freeing to early

10 years agoCleanup
Bob Weinand [Sun, 16 Mar 2014 19:04:08 +0000 (20:04 +0100)]
Cleanup

10 years agoAdded WINDOWS support for watchpoints
Bob Weinand [Sun, 16 Mar 2014 18:39:02 +0000 (19:39 +0100)]
Added WINDOWS support for watchpoints

Actually it mainly works by just a bit macro substitution and function
redeclarations.
So it leaves the code working on UNIX mostly untouched.

I needed to substitute the allocating functions by a Virtual*() functions
wrapper to use VirtualProtect() on the memory.