Skip to content
Permalink
Browse files

Move all Xdebug sources into the 'src' directory

  • Loading branch information...
derickr committed Sep 26, 2019
1 parent 0e7ab67 commit f7895865a2e7453e9707abc9940bd8beb7851f32
Showing with 91 additions and 80 deletions.
  1. +6 −2 .gitignore
  2. +10 −7 config.m4
  3. +8 −7 config.w32
  4. +67 −64 package.xml
  5. 0 { → src}/base/xdebug_filter.c
  6. 0 { → src}/base/xdebug_filter.h
  7. 0 { → src}/base/xdebug_monitor.c
  8. 0 { → src}/base/xdebug_monitor.h
  9. 0 { → src}/base/xdebug_stack.c
  10. 0 { → src}/base/xdebug_stack.h
  11. 0 { → src}/base/xdebug_superglobals.c
  12. 0 { → src}/base/xdebug_superglobals.h
  13. 0 { → src}/coverage/xdebug_branch_info.c
  14. 0 { → src}/coverage/xdebug_branch_info.h
  15. 0 { → src}/coverage/xdebug_code_coverage.c
  16. 0 { → src}/coverage/xdebug_code_coverage.h
  17. 0 { → src}/debugger/xdebug_com.c
  18. 0 { → src}/debugger/xdebug_com.h
  19. 0 { → src}/debugger/xdebug_handler_dbgp.c
  20. 0 { → src}/debugger/xdebug_handler_dbgp.h
  21. 0 { → src}/debugger/xdebug_handlers.c
  22. 0 { → src}/debugger/xdebug_handlers.h
  23. 0 { → src}/gcstats/xdebug_gc_stats.c
  24. 0 { → src}/gcstats/xdebug_gc_stats.h
  25. 0 { → src}/lib/usefulstuff.c
  26. 0 { → src}/lib/usefulstuff.h
  27. 0 { → src}/lib/xdebug_compat.c
  28. 0 { → src}/lib/xdebug_compat.h
  29. 0 { → src}/lib/xdebug_hash.c
  30. 0 { → src}/lib/xdebug_hash.h
  31. 0 { → src}/lib/xdebug_llist.c
  32. 0 { → src}/lib/xdebug_llist.h
  33. 0 { → src}/lib/xdebug_mm.h
  34. 0 { → src}/lib/xdebug_private.c
  35. 0 { → src}/lib/xdebug_private.h
  36. 0 { → src}/lib/xdebug_set.c
  37. 0 { → src}/lib/xdebug_set.h
  38. 0 { → src}/lib/xdebug_str.c
  39. 0 { → src}/lib/xdebug_str.h
  40. 0 { → src}/lib/xdebug_var.c
  41. 0 { → src}/lib/xdebug_var.h
  42. 0 { → src}/lib/xdebug_xml.c
  43. 0 { → src}/lib/xdebug_xml.h
  44. 0 { → src}/profiler/xdebug_profiler.c
  45. 0 { → src}/profiler/xdebug_profiler.h
  46. 0 { → src}/tracing/xdebug_trace_computerized.c
  47. 0 { → src}/tracing/xdebug_trace_computerized.h
  48. 0 { → src}/tracing/xdebug_trace_html.c
  49. 0 { → src}/tracing/xdebug_trace_html.h
  50. 0 { → src}/tracing/xdebug_trace_textual.c
  51. 0 { → src}/tracing/xdebug_trace_textual.h
  52. 0 { → src}/tracing/xdebug_tracing.c
  53. 0 { → src}/tracing/xdebug_tracing.h
@@ -6,8 +6,12 @@
/*.mk
/*.la
/.libs
*/*.lo
*/.libs
src/*.lo
src/*.loT
src/.libs
src/*/*.lo
src/*/*.loT
src/*/.libs
/libs.mk
/ac*.m4
/build
@@ -77,16 +77,19 @@ if test "$PHP_XDEBUG" != "no"; then

PHP_XDEBUG_CFLAGS="$STD_CFLAGS $MAINTAINER_CFLAGS"

XDEBUG_BASE_SOURCES="base/xdebug_filter.c base/xdebug_monitor.c base/xdebug_stack.c base/xdebug_superglobals.c"
XDEBUG_LIB_SOURCES="lib/usefulstuff.c lib/xdebug_compat.c lib/xdebug_hash.c lib/xdebug_llist.c lib/xdebug_private.c lib/xdebug_set.c lib/xdebug_str.c lib/xdebug_var.c lib/xdebug_xml.c"
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_COVERAGE_SOURCES="coverage/xdebug_branch_info.c coverage/xdebug_code_coverage.c"
XDEBUG_DEBUGGER_SOURCES="debugger/xdebug_com.c debugger/xdebug_handler_dbgp.c debugger/xdebug_handlers.c"
XDEBUG_GCSTATS_SOURCES="gcstats/xdebug_gc_stats.c"
XDEBUG_PROFILER_SOURCES="profiler/xdebug_profiler.c"
XDEBUG_TRACING_SOURCES="tracing/xdebug_trace_computerized.c tracing/xdebug_trace_html.c tracing/xdebug_trace_textual.c tracing/xdebug_tracing.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"

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

PHP_ADD_INCLUDE($ext_srcdir/src)
PHP_ADD_INCLUDE($ext_builddir/src)
fi
@@ -20,13 +20,14 @@ if (PHP_XDEBUG != 'no') {
ZEND_EXTENSION('xdebug', files);
}
ADD_FLAG("CFLAGS_XDEBUG", " /I " + configure_module_dirname + " ");
ADD_SOURCES(configure_module_dirname + "/base", XDEBUG_BASE_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/lib", XDEBUG_LIB_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/coverage", XDEBUG_COVERAGE_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/debugger", XDEBUG_DEBUGGER_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/gcstats", XDEBUG_GCSTATS_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/profiler", XDEBUG_PROFILER_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/tracing", XDEBUG_TRACING_SOURCES, "xdebug");
ADD_FLAG("CFLAGS_XDEBUG", " /I " + configure_module_dirname + "/src ");
ADD_SOURCES(configure_module_dirname + "/src/base", XDEBUG_BASE_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/lib", XDEBUG_LIB_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/coverage", XDEBUG_COVERAGE_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/debugger", XDEBUG_DEBUGGER_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/gcstats", XDEBUG_GCSTATS_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/profiler", XDEBUG_PROFILER_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/tracing", XDEBUG_TRACING_SOURCES, "xdebug");

AC_DEFINE("HAVE_XDEBUG", 1, "Xdebug support");
}
@@ -83,78 +83,81 @@ Thu, Jul 25, 2019 - xdebug 2.8.0beta1
<file name="usefulstuff.c" role="src" />
<file name="usefulstuff.h" role="src" />
</dir> <!-- /debugclient -->

<file name="config.m4" role="src" />
<file name="config.w32" role="src" />
<file name="CREDITS" role="doc" />
<file name="LICENSE" role="doc" />
<file name="xdebug.ini" role="doc" />
<file name="Makefile.frag" role="src" />
<file name="php_xdebug.h" role="src" />
<file name="README.rst" role="doc" />
<file name="xdebug.c" 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" />
</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" />
</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" />
</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" />
</dir>
<dir name="gcstats">
<file name="xdebug_gc_stats.c" role="src" />
<file name="xdebug_gc_stats.h" role="src" />
</dir>
<dir name="profiler">
<file name="xdebug_profiler.c" role="src" />
<file name="xdebug_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="xdebug.c" role="src" />
<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" />
</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" />
</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" />
</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" />
</dir>
<dir name="gcstats">
<file name="xdebug_gc_stats.c" role="src" />
<file name="xdebug_gc_stats.h" role="src" />
</dir>
<dir name="profiler">
<file name="xdebug_profiler.c" role="src" />
<file name="xdebug_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" />
</dir>
</dir>
</dir> <!-- / -->
</contents>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f789586

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