Date: Thu Apr 6 20:47:28 CEST 2006
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Try to fix encoding issues with Komodo, but this seems to make Komodo hang.
Modified files:
xdebug/xdebug_handler_dbgp.c (version: 1.89)
[FILE: /xdebug/xdebug_handler_dbgp.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- xdebug/xdebug_handler_dbgp.c:1.88 Thu Apr 06 04:38:53 2006 GMT
+++ xdebug/xdebug_handler_dbgp.c Thu Apr 06 16:47:28 2006 GMT
@@ -234,8 +234,9 @@
fflush(XG(remote_log_file));
}
- xdebug_str_add(ret, xdebug_sprintf("%d", xml_message.l), 1);
+ xdebug_str_add(ret, xdebug_sprintf("%d", xml_message.l + sizeof("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n")), 1);
xdebug_str_addl(ret, "\0", 1, 0);
+ xdebug_str_add(ret, "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n", 0);
xdebug_str_add(ret, xml_message.d, 0);
xdebug_str_addl(ret, "\0", 1, 0);
xdebug_str_dtor(xml_message);
@@ -1367,7 +1368,7 @@
XDEBUG_STR_CASE_END
XDEBUG_STR_CASE("encoding")
- xdebug_xml_add_text(*retval, xdstrdup("UTF-8"));
+ xdebug_xml_add_text(*retval, xdstrdup("iso-8859-1"));
xdebug_xml_add_attribute(*retval, "supported", "1");
XDEBUG_STR_CASE_END
@@ -1407,7 +1408,7 @@
XDEBUG_STR_CASE_END
XDEBUG_STR_CASE("supported_encodings")
- xdebug_xml_add_text(*retval, xdstrdup("UTF-8"));
+ xdebug_xml_add_text(*retval, xdstrdup("iso-8859-1"));
xdebug_xml_add_attribute(*retval, "supported", "1");
XDEBUG_STR_CASE_END
@@ -1447,7 +1448,7 @@
XDEBUG_STR_SWITCH(CMD_OPTION('n')) {
XDEBUG_STR_CASE("encoding")
- if (strcmp(CMD_OPTION('v'), "UTF-8") != 0) {
+ if (strcmp(CMD_OPTION('v'), "iso-8859-1") != 0) {
RETURN_RESULT(XG(status), XG(reason), XDEBUG_ERROR_ENCODING_NOT_SUPPORTED);
}
XDEBUG_STR_CASE_END
@@ -2086,7 +2087,7 @@
char *xdebug_dbgp_get_revision(void)
{
- return "$Revision: 1.88 $";
+ return "$Revision: 1.89 $";
}
int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
Received on Thu Apr 06 2006 - 20:47:32 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST