Skip to content
Permalink
Browse files

Removed xdebug_ prefix from all filenames

  • Loading branch information...
derickr committed Sep 26, 2019
1 parent f789586 commit f8242d4bbd3eab5f9e035604410030fdb090bddb
Showing with 206 additions and 206 deletions.
  1. +7 −7 config.m4
  2. +7 −7 config.w32
  3. +47 −47 package.xml
  4. +6 −6 php_xdebug.h
  5. +2 −2 src/base/{xdebug_filter.c → filter.c}
  6. 0 src/base/{xdebug_filter.h → filter.h}
  7. +3 −3 src/base/{xdebug_monitor.c → monitor.c}
  8. 0 src/base/{xdebug_monitor.h → monitor.h}
  9. +12 −12 src/base/{xdebug_stack.c → stack.c}
  10. +1 −1 src/base/{xdebug_stack.h → stack.h}
  11. +4 −4 src/base/{xdebug_superglobals.c → superglobals.c}
  12. 0 src/base/{xdebug_superglobals.h → superglobals.h}
  13. +2 −2 src/coverage/{xdebug_branch_info.c → branch_info.c}
  14. +3 −3 src/coverage/{xdebug_branch_info.h → branch_info.h}
  15. +10 −10 src/coverage/{xdebug_code_coverage.c → code_coverage.c}
  16. +5 −5 src/coverage/{xdebug_code_coverage.h → code_coverage.h}
  17. +2 −2 src/debugger/{xdebug_com.c → com.c}
  18. +1 −1 src/debugger/{xdebug_com.h → com.h}
  19. +12 −12 src/debugger/{xdebug_handler_dbgp.c → handler_dbgp.c}
  20. +2 −2 src/debugger/{xdebug_handler_dbgp.h → handler_dbgp.h}
  21. +4 −4 src/debugger/{xdebug_handlers.c → handlers.c}
  22. +4 −4 src/debugger/{xdebug_handlers.h → handlers.h}
  23. +2 −2 src/gcstats/{xdebug_gc_stats.c → gc_stats.c}
  24. 0 src/gcstats/{xdebug_gc_stats.h → gc_stats.h}
  25. +1 −1 src/lib/{xdebug_compat.c → compat.c}
  26. +1 −1 src/lib/{xdebug_compat.h → compat.h}
  27. +2 −2 src/lib/{xdebug_hash.c → hash.c}
  28. +1 −1 src/lib/{xdebug_hash.h → hash.h}
  29. +1 −1 src/lib/{xdebug_llist.c → llist.c}
  30. 0 src/lib/{xdebug_llist.h → llist.h}
  31. 0 src/lib/{xdebug_mm.h → mm.h}
  32. +1 −1 src/lib/{xdebug_private.c → private.c}
  33. +3 −3 src/lib/{xdebug_private.h → private.h}
  34. +1 −1 src/lib/{xdebug_set.c → set.c}
  35. 0 src/lib/{xdebug_set.h → set.h}
  36. +3 −3 src/lib/{xdebug_str.c → str.c}
  37. +1 −1 src/lib/{xdebug_str.h → str.h}
  38. +2 −2 src/lib/usefulstuff.c
  39. +5 −5 src/lib/{xdebug_var.c → var.c}
  40. +4 −4 src/lib/{xdebug_var.h → var.h}
  41. +5 −5 src/lib/{xdebug_xml.c → xml.c}
  42. +1 −1 src/lib/{xdebug_xml.h → xml.h}
  43. +4 −4 src/profiler/{xdebug_profiler.c → profiler.c}
  44. +1 −1 src/profiler/{xdebug_profiler.h → profiler.h}
  45. +2 −2 src/tracing/{xdebug_trace_computerized.c → trace_computerized.c}
  46. +1 −1 src/tracing/{xdebug_trace_computerized.h → trace_computerized.h}
  47. +2 −2 src/tracing/{xdebug_trace_html.c → trace_html.c}
  48. +1 −1 src/tracing/{xdebug_trace_html.h → trace_html.h}
  49. +3 −3 src/tracing/{xdebug_trace_textual.c → trace_textual.c}
  50. +1 −1 src/tracing/{xdebug_trace_textual.h → trace_textual.h}
  51. +9 −9 src/tracing/{xdebug_tracing.c → tracing.c}
  52. 0 src/tracing/{xdebug_tracing.h → tracing.h}
  53. +14 −14 xdebug.c
@@ -77,14 +77,14 @@ if test "$PHP_XDEBUG" != "no"; then

PHP_XDEBUG_CFLAGS="$STD_CFLAGS $MAINTAINER_CFLAGS"

XDEBUG_BASE_SOURCES="src/base/xdebug_filter.c src/base/xdebug_monitor.c src/base/xdebug_stack.c src/base/xdebug_superglobals.c"
XDEBUG_LIB_SOURCES="src/lib/usefulstuff.c src/lib/xdebug_compat.c src/lib/xdebug_hash.c src/lib/xdebug_llist.c src/lib/xdebug_private.c src/lib/xdebug_set.c src/lib/xdebug_str.c src/lib/xdebug_var.c src/lib/xdebug_xml.c"
XDEBUG_BASE_SOURCES="src/base/filter.c src/base/monitor.c src/base/stack.c src/base/superglobals.c"
XDEBUG_LIB_SOURCES="src/lib/usefulstuff.c src/lib/compat.c src/lib/hash.c src/lib/llist.c src/lib/private.c src/lib/set.c src/lib/str.c src/lib/var.c src/lib/xml.c"

XDEBUG_COVERAGE_SOURCES="src/coverage/xdebug_branch_info.c src/coverage/xdebug_code_coverage.c"
XDEBUG_DEBUGGER_SOURCES="src/debugger/xdebug_com.c src/debugger/xdebug_handler_dbgp.c src/debugger/xdebug_handlers.c"
XDEBUG_GCSTATS_SOURCES="src/gcstats/xdebug_gc_stats.c"
XDEBUG_PROFILER_SOURCES="src/profiler/xdebug_profiler.c"
XDEBUG_TRACING_SOURCES="src/tracing/xdebug_trace_computerized.c src/tracing/xdebug_trace_html.c src/tracing/xdebug_trace_textual.c src/tracing/xdebug_tracing.c"
XDEBUG_COVERAGE_SOURCES="src/coverage/branch_info.c src/coverage/code_coverage.c"
XDEBUG_DEBUGGER_SOURCES="src/debugger/com.c src/debugger/handler_dbgp.c src/debugger/handlers.c"
XDEBUG_GCSTATS_SOURCES="src/gcstats/gc_stats.c"
XDEBUG_PROFILER_SOURCES="src/profiler/profiler.c"
XDEBUG_TRACING_SOURCES="src/tracing/trace_computerized.c src/tracing/trace_html.c src/tracing/trace_textual.c src/tracing/tracing.c"

PHP_NEW_EXTENSION(xdebug, xdebug.c $XDEBUG_BASE_SOURCES $XDEBUG_LIB_SOURCES $XDEBUG_COVERAGE_SOURCES $XDEBUG_DEBUGGER_SOURCES $XDEBUG_GCSTATS_SOURCES $XDEBUG_PROFILER_SOURCES $XDEBUG_TRACING_SOURCES, $ext_shared,,$PHP_XDEBUG_CFLAGS,,yes)
PHP_SUBST(XDEBUG_SHARED_LIBADD)
@@ -3,14 +3,14 @@
ARG_WITH("xdebug", "Xdebug support", "no");

if (PHP_XDEBUG != 'no') {
var XDEBUG_BASE_SOURCES="xdebug_filter.c xdebug_monitor.c xdebug_stack.c xdebug_superglobals.c"
var XDEBUG_LIB_SOURCES="usefulstuff.c xdebug_compat.c xdebug_hash.c xdebug_llist.c xdebug_private.c xdebug_set.c xdebug_str.c xdebug_var.c xdebug_xml.c"
var XDEBUG_BASE_SOURCES="filter.c monitor.c stack.c superglobals.c"
var XDEBUG_LIB_SOURCES="usefulstuff.c compat.c hash.c llist.c private.c set.c str.c var.c xml.c"

var XDEBUG_COVERAGE_SOURCES="xdebug_branch_info.c xdebug_code_coverage.c"
var XDEBUG_DEBUGGER_SOURCES="xdebug_com.c xdebug_handler_dbgp.c xdebug_handlers.c"
var XDEBUG_GCSTATS_SOURCES="xdebug_gc_stats.c"
var XDEBUG_PROFILER_SOURCES="xdebug_profiler.c"
var XDEBUG_TRACING_SOURCES="xdebug_trace_computerized.c xdebug_trace_html.c xdebug_trace_textual.c xdebug_tracing.c"
var XDEBUG_COVERAGE_SOURCES="branch_info.c code_coverage.c"
var XDEBUG_DEBUGGER_SOURCES="com.c handler_dbgp.c handlers.c"
var XDEBUG_GCSTATS_SOURCES="gc_stats.c"
var XDEBUG_PROFILER_SOURCES="profiler.c"
var XDEBUG_TRACING_SOURCES="trace_computerized.c trace_html.c trace_textual.c tracing.c"

var files = "xdebug.c";

@@ -96,67 +96,67 @@ Thu, Jul 25, 2019 - xdebug 2.8.0beta1
<dir name="src">
<file name="php_xdebug.h" role="src" />
<dir name="base">
<file name="xdebug_filter.c" role="src" />
<file name="xdebug_filter.h" role="src" />
<file name="xdebug_monitor.c" role="src" />
<file name="xdebug_monitor.h" role="src" />
<file name="xdebug_stack.c" role="src" />
<file name="xdebug_stack.h" role="src" />
<file name="xdebug_superglobals.c" role="src" />
<file name="xdebug_superglobals.h" role="src" />
<file name="filter.c" role="src" />
<file name="filter.h" role="src" />
<file name="monitor.c" role="src" />
<file name="monitor.h" role="src" />
<file name="stack.c" role="src" />
<file name="stack.h" role="src" />
<file name="superglobals.c" role="src" />
<file name="superglobals.h" role="src" />
</dir>
<dir name="lib">
<file name="usefulstuff.c" role="src" />
<file name="usefulstuff.h" role="src" />
<file name="xdebug_compat.c" role="src" />
<file name="xdebug_compat.h" role="src" />
<file name="xdebug_hash.c" role="src" />
<file name="xdebug_hash.h" role="src" />
<file name="xdebug_llist.c" role="src" />
<file name="xdebug_llist.h" role="src" />
<file name="xdebug_mm.h" role="src" />
<file name="xdebug_private.c" role="src" />
<file name="xdebug_private.h" role="src" />
<file name="xdebug_set.c" role="src" />
<file name="xdebug_set.h" role="src" />
<file name="xdebug_str.c" role="src" />
<file name="xdebug_str.h" role="src" />
<file name="xdebug_var.c" role="src" />
<file name="xdebug_var.h" role="src" />
<file name="xdebug_xml.c" role="src" />
<file name="xdebug_xml.h" role="src" />
<file name="compat.c" role="src" />
<file name="compat.h" role="src" />
<file name="hash.c" role="src" />
<file name="hash.h" role="src" />
<file name="llist.c" role="src" />
<file name="llist.h" role="src" />
<file name="mm.h" role="src" />
<file name="private.c" role="src" />
<file name="private.h" role="src" />
<file name="set.c" role="src" />
<file name="set.h" role="src" />
<file name="str.c" role="src" />
<file name="str.h" role="src" />
<file name="var.c" role="src" />
<file name="var.h" role="src" />
<file name="xml.c" role="src" />
<file name="xml.h" role="src" />
</dir>
<dir name="coverage">
<file name="xdebug_branch_info.c" role="src" />
<file name="xdebug_branch_info.h" role="src" />
<file name="xdebug_code_coverage.c" role="src" />
<file name="xdebug_code_coverage.h" role="src" />
<file name="branch_info.c" role="src" />
<file name="branch_info.h" role="src" />
<file name="code_coverage.c" role="src" />
<file name="code_coverage.h" role="src" />
</dir>
<dir name="debugger">
<file name="xdebug_com.c" role="src" />
<file name="xdebug_com.h" role="src" />
<file name="xdebug_handlers.c" role="src" />
<file name="xdebug_handlers.h" role="src" />
<file name="xdebug_handler_dbgp.c" role="src" />
<file name="xdebug_handler_dbgp.h" role="src" />
<file name="com.c" role="src" />
<file name="com.h" role="src" />
<file name="handlers.c" role="src" />
<file name="handlers.h" role="src" />
<file name="handler_dbgp.c" role="src" />
<file name="handler_dbgp.h" role="src" />
</dir>
<dir name="gcstats">
<file name="xdebug_gc_stats.c" role="src" />
<file name="xdebug_gc_stats.h" role="src" />
<file name="gc_stats.c" role="src" />
<file name="gc_stats.h" role="src" />
</dir>
<dir name="profiler">
<file name="xdebug_profiler.c" role="src" />
<file name="xdebug_profiler.h" role="src" />
<file name="profiler.c" role="src" />
<file name="profiler.h" role="src" />
</dir>
<dir name="tracing">
<file name="xdebug_tracing.c" role="src" />
<file name="xdebug_tracing.h" role="src" />
<file name="xdebug_trace_textual.c" role="src" />
<file name="xdebug_trace_textual.h" role="src" />
<file name="xdebug_trace_computerized.c" role="src" />
<file name="xdebug_trace_computerized.h" role="src" />
<file name="xdebug_trace_html.c" role="src" />
<file name="xdebug_trace_html.h" role="src" />
<file name="tracing.c" role="src" />
<file name="tracing.h" role="src" />
<file name="trace_textual.c" role="src" />
<file name="trace_textual.h" role="src" />
<file name="trace_computerized.c" role="src" />
<file name="trace_computerized.h" role="src" />
<file name="trace_html.c" role="src" />
<file name="trace_html.h" role="src" />
</dir>
</dir>
</dir> <!-- / -->
@@ -29,12 +29,12 @@

#include "php.h"

#include "coverage/xdebug_branch_info.h"
#include "coverage/xdebug_code_coverage.h"
#include "debugger/xdebug_handlers.h"
#include "lib/xdebug_compat.h"
#include "lib/xdebug_hash.h"
#include "lib/xdebug_llist.h"
#include "coverage/branch_info.h"
#include "coverage/code_coverage.h"
#include "debugger/handlers.h"
#include "lib/compat.h"
#include "lib/hash.h"
#include "lib/llist.h"

extern zend_module_entry xdebug_module_entry;
#define phpext_xdebug_ptr &xdebug_module_entry
@@ -17,9 +17,9 @@
*/
#include "php_xdebug.h"

#include "xdebug_filter.h"
#include "filter.h"

#include "lib/xdebug_private.h"
#include "lib/private.h"

ZEND_EXTERN_MODULE_GLOBALS(xdebug)

File renamed without changes.
@@ -18,10 +18,10 @@

#include "php_xdebug.h"

#include "xdebug_monitor.h"
#include "monitor.h"

#include "lib/xdebug_compat.h"
#include "lib/xdebug_hash.h"
#include "lib/compat.h"
#include "lib/hash.h"

ZEND_EXTERN_MODULE_GLOBALS(xdebug)

File renamed without changes.
@@ -21,18 +21,18 @@

#include "ext/standard/html.h"
#include "ext/standard/php_smart_string.h"
#include "xdebug_stack.h"

#include "base/xdebug_filter.h"
#include "base/xdebug_monitor.h"
#include "base/xdebug_superglobals.h"
#include "coverage/xdebug_code_coverage.h"
#include "debugger/xdebug_com.h"
#include "lib/xdebug_compat.h"
#include "lib/xdebug_private.h"
#include "lib/xdebug_str.h"
#include "lib/xdebug_var.h"
#include "profiler/xdebug_profiler.h"
#include "stack.h"

#include "base/filter.h"
#include "base/monitor.h"
#include "base/superglobals.h"
#include "coverage/code_coverage.h"
#include "debugger/com.h"
#include "lib/compat.h"
#include "lib/private.h"
#include "lib/str.h"
#include "lib/var.h"
#include "profiler/profiler.h"

ZEND_EXTERN_MODULE_GLOBALS(xdebug)

@@ -19,7 +19,7 @@
#ifndef XDEBUG_STACK_H
#define XDEBUG_STACK_H

#include "lib/xdebug_str.h"
#include "lib/str.h"

#define XDEBUG_STACK_NO_DESC 0x01

@@ -20,11 +20,11 @@
#include "SAPI.h"

#include "php_xdebug.h"
#include "xdebug_superglobals.h"
#include "superglobals.h"

#include "lib/xdebug_compat.h"
#include "lib/xdebug_private.h"
#include "lib/xdebug_var.h"
#include "lib/compat.h"
#include "lib/private.h"
#include "lib/var.h"

extern ZEND_DECLARE_MODULE_GLOBALS(xdebug);

File renamed without changes.
@@ -12,8 +12,8 @@
#include <stdlib.h>
#include <math.h>
#include "php_xdebug.h"
#include "lib/xdebug_hash.h"
#include "lib/xdebug_str.h"
#include "lib/hash.h"
#include "lib/str.h"

ZEND_EXTERN_MODULE_GLOBALS(xdebug)

@@ -21,9 +21,9 @@

#include "zend_compile.h"

#include "lib/xdebug_hash.h"
#include "lib/xdebug_set.h"
#include "lib/xdebug_str.h"
#include "lib/hash.h"
#include "lib/set.h"
#include "lib/str.h"

#if ZEND_USE_ABS_JMP_ADDR
# define XDEBUG_ZNODE_JMP_LINE(node, opline, base) (int32_t)(((long)((node).jmp_addr) - (long)(base_address)) / sizeof(zend_op))
@@ -18,16 +18,16 @@

#include "php_xdebug.h"

#include "xdebug_branch_info.h"
#include "xdebug_code_coverage.h"

#include "base/xdebug_filter.h"
#include "base/xdebug_stack.h"
#include "lib/xdebug_compat.h"
#include "lib/xdebug_private.h"
#include "lib/xdebug_set.h"
#include "lib/xdebug_var.h"
#include "tracing/xdebug_tracing.h"
#include "branch_info.h"
#include "code_coverage.h"

#include "base/filter.h"
#include "base/stack.h"
#include "lib/compat.h"
#include "lib/private.h"
#include "lib/set.h"
#include "lib/var.h"
#include "tracing/tracing.h"

extern ZEND_DECLARE_MODULE_GLOBALS(xdebug);

@@ -21,12 +21,12 @@

#include "php.h"

#include "xdebug_branch_info.h"
#include "branch_info.h"

#include "lib/xdebug_private.h"
#include "lib/xdebug_compat.h"
#include "lib/xdebug_hash.h"
#include "lib/xdebug_mm.h"
#include "lib/private.h"
#include "lib/compat.h"
#include "lib/hash.h"
#include "lib/mm.h"

typedef struct xdebug_coverage_line {
int lineno;
@@ -49,9 +49,9 @@
# define poll WSAPoll
#endif

#include "xdebug_com.h"
#include "com.h"

#include "lib/xdebug_private.h"
#include "lib/private.h"

ZEND_EXTERN_MODULE_GLOBALS(xdebug)

@@ -20,7 +20,7 @@
#ifndef __HAVE_XDEBUG_COM_H__
#define __HAVE_XDEBUG_COM_H__

#include "xdebug_handlers.h"
#include "handlers.h"

#if WIN32|WINNT
# define SOCK_ERR INVALID_SOCKET
@@ -36,18 +36,18 @@
#include "php_globals.h"
#include "php_xdebug.h"

#include "xdebug_com.h"
#include "xdebug_handler_dbgp.h"

#include "base/xdebug_stack.h"
#include "coverage/xdebug_code_coverage.h"
#include "lib/xdebug_compat.h"
#include "lib/xdebug_hash.h"
#include "lib/xdebug_llist.h"
#include "lib/xdebug_mm.h"
#include "lib/xdebug_private.h"
#include "lib/xdebug_var.h"
#include "lib/xdebug_xml.h"
#include "com.h"
#include "handler_dbgp.h"

#include "base/stack.h"
#include "coverage/code_coverage.h"
#include "lib/compat.h"
#include "lib/hash.h"
#include "lib/llist.h"
#include "lib/mm.h"
#include "lib/private.h"
#include "lib/var.h"
#include "lib/xml.h"

#ifdef PHP_WIN32
#include "win32/time.h"
@@ -20,8 +20,8 @@
#define __HAVE_XDEBUG_HANDLER_DBGP_H__

#include <string.h>
#include "xdebug_handlers.h"
#include "lib/xdebug_xml.h"
#include "handlers.h"
#include "lib/xml.h"

#define DBGP_VERSION "1.0"

0 comments on commit f8242d4

Please sign in to comment.
You can’t perform that action at this time.