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

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

11 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

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

11 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

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

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

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

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

11 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)

11 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

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

11 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

11 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[]

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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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...

11 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

11 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

11 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

11 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

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

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

11 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

11 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

11 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

11 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

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

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

11 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

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

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

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

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

11 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

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

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

11 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

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

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

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

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

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

11 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

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

11 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

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

11 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

11 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

11 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)

11 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

11 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

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

11 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

11 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

11 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)

11 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

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

11 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.

11 years agoAdded support for recursive watchpoints deletion
Bob Weinand [Tue, 11 Mar 2014 13:11:27 +0000 (09:11 -0400)]
Added support for recursive watchpoints deletion

11 years agoAdded COW handling and fixed various bugs
Bob Weinand [Tue, 11 Mar 2014 10:14:32 +0000 (06:14 -0400)]
Added COW handling and fixed various bugs

11 years agoAdded handling of zval separation (aka watchpoint changes)
Bob Weinand [Mon, 10 Mar 2014 13:10:27 +0000 (09:10 -0400)]
Added handling of zval separation (aka watchpoint changes)

11 years agoFixed recursive segfault in segfault handler
Bob Weinand [Sat, 8 Mar 2014 14:52:57 +0000 (09:52 -0500)]
Fixed recursive segfault in segfault handler

11 years agoparse stream locations properly, bp.c still needs work for #82
krakjoe [Fri, 28 Feb 2014 07:41:34 +0000 (07:41 +0000)]
parse stream locations properly, bp.c still needs work for #82

11 years agouse php streams to handle line endings better for #81
krakjoe [Thu, 27 Feb 2014 19:10:59 +0000 (19:10 +0000)]
use php streams to handle line endings better for #81

11 years agomoar params for registered functions
krakjoe [Mon, 24 Feb 2014 22:30:46 +0000 (22:30 +0000)]
moar params for registered functions

11 years agoexport command
krakjoe [Mon, 24 Feb 2014 19:03:55 +0000 (19:03 +0000)]
export command

11 years agowoops+correction in help
krakjoe [Mon, 24 Feb 2014 17:11:09 +0000 (17:11 +0000)]
woops+correction in help

11 years agofix ts build
krakjoe [Mon, 24 Feb 2014 09:26:03 +0000 (09:26 +0000)]
fix ts build

11 years agoset colors working
krakjoe [Sun, 23 Feb 2014 07:33:48 +0000 (07:33 +0000)]
set colors working

11 years agodo not allow abbreivation of anything without alias, fixes input for sh/ev
krakjoe [Fri, 21 Feb 2014 21:31:01 +0000 (21:31 +0000)]
do not allow abbreivation of anything without alias, fixes input for sh/ev

11 years agomoar cleanup
krakjoe [Fri, 21 Feb 2014 20:46:56 +0000 (20:46 +0000)]
moar cleanup

11 years agocall register
krakjoe [Fri, 21 Feb 2014 20:42:15 +0000 (20:42 +0000)]
call register

11 years ago...
krakjoe [Fri, 21 Feb 2014 19:37:16 +0000 (19:37 +0000)]
...

11 years agoverify noargs
krakjoe [Fri, 21 Feb 2014 19:05:20 +0000 (19:05 +0000)]
verify noargs

11 years ago...
krakjoe [Fri, 21 Feb 2014 18:52:06 +0000 (18:52 +0000)]
...

11 years ago...
krakjoe [Fri, 21 Feb 2014 18:12:52 +0000 (18:12 +0000)]
...

11 years agoupdate export function
krakjoe [Fri, 21 Feb 2014 18:05:11 +0000 (18:05 +0000)]
update export function

11 years agointroduce proper support for file:#opline
krakjoe [Fri, 21 Feb 2014 18:01:50 +0000 (18:01 +0000)]
introduce proper support for file:#opline

11 years agocase insensitive
krakjoe [Fri, 21 Feb 2014 17:47:02 +0000 (17:47 +0000)]
case insensitive

11 years ago...
krakjoe [Fri, 21 Feb 2014 16:29:09 +0000 (16:29 +0000)]
...

11 years agotrim breaking commands
krakjoe [Fri, 21 Feb 2014 16:18:46 +0000 (16:18 +0000)]
trim breaking commands

11 years agoconditional breakpoints working again
krakjoe [Fri, 21 Feb 2014 15:00:55 +0000 (15:00 +0000)]
conditional breakpoints working again

11 years agobetter-ness, I think
krakjoe [Fri, 21 Feb 2014 14:44:16 +0000 (14:44 +0000)]
better-ness, I think

11 years agowork on lexer to be more permissive (accept moar strings)
krakjoe [Wed, 19 Feb 2014 20:18:49 +0000 (20:18 +0000)]
work on lexer to be more permissive (accept moar strings)
work on parameter parsing and command resolution
work on error reporting for failed arguments
update most commands
move quiet to set quiet
move set break on/off to set breaks on/off
keep set break for set break <id> <on/off>
update help accordingly

11 years agoremove input_t
krakjoe [Wed, 19 Feb 2014 08:33:54 +0000 (08:33 +0000)]
remove input_t
support single char aliases
...

11 years agowork on parameters to commands
krakjoe [Wed, 19 Feb 2014 00:33:49 +0000 (00:33 +0000)]
work on parameters to commands

11 years agoOplines run from 0 to op_array->last - 1
Bob Weinand [Wed, 19 Feb 2014 00:13:03 +0000 (01:13 +0100)]
Oplines run from 0 to op_array->last - 1

See also in issue 76

11 years ago...
krakjoe [Tue, 18 Feb 2014 20:04:02 +0000 (20:04 +0000)]
...

11 years agoexecute new stack now
krakjoe [Tue, 18 Feb 2014 19:48:33 +0000 (19:48 +0000)]
execute new stack now