[webkit-changes] cvs commit: WebCore/khtml/ecma kjs_traversal.cpp
Eric
eseidel at opensource.apple.com
Sun Dec 4 15:14:28 PST 2005
eseidel 05/12/04 15:14:28
Modified: . ChangeLog
khtml/css css_ruleimpl.cpp
khtml/dom css_value.h dom2_events.cpp dom2_events.h
dom2_range.h dom2_traversal.cpp dom_exception.h
dom_node.h dom_string.cpp
khtml/ecma kjs_traversal.cpp
Removed: ForwardingHeaders kdomcssproperties.h kdomcssvalues.h
kinstance.h q3intdict.h q3memarray.h
q3ptrcollection.h q3ptrdict.h qcstring.h qcursor.h
qintdict.h qpair.h qprinter.h qptrcollection.h
qsize.h qsortedlist.h qvaluevector.h
ForwardingHeaders/dom dom2_views.h dom_core.h dom_doc.h
dom_element.h dom_misc.h dom_text.h dom_xml.h
html_base.h html_block.h html_document.h
html_element.h html_form.h html_head.h html_image.h
html_inline.h html_list.h html_misc.h html_object.h
html_table.h
ForwardingHeaders/ecma kjs_css.h kjs_html.h kjs_html.lut.h
kjs_views.h kjs_views.lut.h kjs_window.h
ForwardingHeaders/html dtd.h
ForwardingHeaders/kdom KDOMPart.h KDOMView.h
ForwardingHeaders/kdom/core NodeListImpl.h
ForwardingHeaders/kdom/css CSSMediaRuleImpl.h CSSRuleImpl.h
CSSRuleListImpl.h cssproperties.h cssvalues.h
ForwardingHeaders/kdom/events DocumentEventImpl.h
ForwardingHeaders/kdom/parser KDOMDocumentBuilder.h
ForwardingHeaders/kjs identifier.h property_map.h
protected_object.h scope_chain.h ustring.h value.h
ForwardingHeaders/ksvg2/svg svgtags.h
ForwardingHeaders/xml dom_positioniterator.h
Log:
Bug #: 5930
Submitted by: eseidel
Reviewed by: ggaren
No additional test cases needed (or possible).
Further dom/* cleanup, also removing extra forwarding headers
http://bugzilla.opendarwin.org/show_bug.cgi?id=5930
* ForwardingHeaders/dom/dom2_views.h: Removed.
* ForwardingHeaders/dom/dom_core.h: Removed.
* ForwardingHeaders/dom/dom_doc.h: Removed.
* ForwardingHeaders/dom/dom_element.h: Removed.
* ForwardingHeaders/dom/dom_misc.h: Removed.
* ForwardingHeaders/dom/dom_text.h: Removed.
* ForwardingHeaders/dom/dom_xml.h: Removed.
* ForwardingHeaders/dom/html_base.h: Removed.
* ForwardingHeaders/dom/html_block.h: Removed.
* ForwardingHeaders/dom/html_document.h: Removed.
* ForwardingHeaders/dom/html_element.h: Removed.
* ForwardingHeaders/dom/html_form.h: Removed.
* ForwardingHeaders/dom/html_head.h: Removed.
* ForwardingHeaders/dom/html_image.h: Removed.
* ForwardingHeaders/dom/html_inline.h: Removed.
* ForwardingHeaders/dom/html_list.h: Removed.
* ForwardingHeaders/dom/html_misc.h: Removed.
* ForwardingHeaders/dom/html_object.h: Removed.
* ForwardingHeaders/dom/html_table.h: Removed.
* ForwardingHeaders/ecma/kjs_css.h: Removed.
* ForwardingHeaders/ecma/kjs_html.h: Removed.
* ForwardingHeaders/ecma/kjs_html.lut.h: Removed.
* ForwardingHeaders/ecma/kjs_views.h: Removed.
* ForwardingHeaders/ecma/kjs_views.lut.h: Removed.
* ForwardingHeaders/ecma/kjs_window.h: Removed.
* ForwardingHeaders/html/dtd.h: Removed.
* ForwardingHeaders/kdom/KDOMPart.h: Removed.
* ForwardingHeaders/kdom/KDOMView.h: Removed.
* ForwardingHeaders/kdom/core/NodeListImpl.h: Removed.
* ForwardingHeaders/kdom/css/CSSMediaRuleImpl.h: Removed.
* ForwardingHeaders/kdom/css/CSSRuleImpl.h: Removed.
* ForwardingHeaders/kdom/css/CSSRuleListImpl.h: Removed.
* ForwardingHeaders/kdom/css/cssproperties.h: Removed.
* ForwardingHeaders/kdom/css/cssvalues.h: Removed.
* ForwardingHeaders/kdom/events/DocumentEventImpl.h: Removed.
* ForwardingHeaders/kdom/parser/KDOMDocumentBuilder.h: Removed.
* ForwardingHeaders/kdomcssproperties.h: Removed.
* ForwardingHeaders/kdomcssvalues.h: Removed.
* ForwardingHeaders/kinstance.h: Removed.
* ForwardingHeaders/kjs/identifier.h: Removed.
* ForwardingHeaders/kjs/property_map.h: Removed.
* ForwardingHeaders/kjs/protected_object.h: Removed.
* ForwardingHeaders/kjs/scope_chain.h: Removed.
* ForwardingHeaders/kjs/ustring.h: Removed.
* ForwardingHeaders/kjs/value.h: Removed.
* ForwardingHeaders/ksvg2/svg/svgtags.h: Removed.
* ForwardingHeaders/q3intdict.h: Removed.
* ForwardingHeaders/q3memarray.h: Removed.
* ForwardingHeaders/q3ptrcollection.h: Removed.
* ForwardingHeaders/q3ptrdict.h: Removed.
* ForwardingHeaders/qcstring.h: Removed.
* ForwardingHeaders/qcursor.h: Removed.
* ForwardingHeaders/qintdict.h: Removed.
* ForwardingHeaders/qpair.h: Removed.
* ForwardingHeaders/qprinter.h: Removed.
* ForwardingHeaders/qptrcollection.h: Removed.
* ForwardingHeaders/qsize.h: Removed.
* ForwardingHeaders/qsortedlist.h: Removed.
* ForwardingHeaders/qvaluevector.h: Removed.
* ForwardingHeaders/xml/dom_positioniterator.h: Removed.
* khtml/css/css_ruleimpl.cpp:
* khtml/dom/css_value.h:
* khtml/dom/dom2_events.cpp:
* khtml/dom/dom2_events.h:
* khtml/dom/dom2_range.h:
* khtml/dom/dom2_traversal.cpp:
* khtml/dom/dom_exception.h:
* khtml/dom/dom_node.h:
* khtml/dom/dom_string.cpp:
* khtml/ecma/kjs_traversal.cpp:
Revision Changes Path
1.472 +80 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.471
retrieving revision 1.472
diff -u -r1.471 -r1.472
--- ChangeLog 4 Dec 2005 20:55:42 -0000 1.471
+++ ChangeLog 4 Dec 2005 23:14:22 -0000 1.472
@@ -1,3 +1,83 @@
+2005-12-04 Eric Seidel <eseidel at apple.com>
+
+ Reviewed by ggaren.
+
+ No additional test cases needed (or possible).
+
+ Further dom/* cleanup, also removing extra forwarding headers
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=5930
+
+ * ForwardingHeaders/dom/dom2_views.h: Removed.
+ * ForwardingHeaders/dom/dom_core.h: Removed.
+ * ForwardingHeaders/dom/dom_doc.h: Removed.
+ * ForwardingHeaders/dom/dom_element.h: Removed.
+ * ForwardingHeaders/dom/dom_misc.h: Removed.
+ * ForwardingHeaders/dom/dom_text.h: Removed.
+ * ForwardingHeaders/dom/dom_xml.h: Removed.
+ * ForwardingHeaders/dom/html_base.h: Removed.
+ * ForwardingHeaders/dom/html_block.h: Removed.
+ * ForwardingHeaders/dom/html_document.h: Removed.
+ * ForwardingHeaders/dom/html_element.h: Removed.
+ * ForwardingHeaders/dom/html_form.h: Removed.
+ * ForwardingHeaders/dom/html_head.h: Removed.
+ * ForwardingHeaders/dom/html_image.h: Removed.
+ * ForwardingHeaders/dom/html_inline.h: Removed.
+ * ForwardingHeaders/dom/html_list.h: Removed.
+ * ForwardingHeaders/dom/html_misc.h: Removed.
+ * ForwardingHeaders/dom/html_object.h: Removed.
+ * ForwardingHeaders/dom/html_table.h: Removed.
+ * ForwardingHeaders/ecma/kjs_css.h: Removed.
+ * ForwardingHeaders/ecma/kjs_html.h: Removed.
+ * ForwardingHeaders/ecma/kjs_html.lut.h: Removed.
+ * ForwardingHeaders/ecma/kjs_views.h: Removed.
+ * ForwardingHeaders/ecma/kjs_views.lut.h: Removed.
+ * ForwardingHeaders/ecma/kjs_window.h: Removed.
+ * ForwardingHeaders/html/dtd.h: Removed.
+ * ForwardingHeaders/kdom/KDOMPart.h: Removed.
+ * ForwardingHeaders/kdom/KDOMView.h: Removed.
+ * ForwardingHeaders/kdom/core/NodeListImpl.h: Removed.
+ * ForwardingHeaders/kdom/css/CSSMediaRuleImpl.h: Removed.
+ * ForwardingHeaders/kdom/css/CSSRuleImpl.h: Removed.
+ * ForwardingHeaders/kdom/css/CSSRuleListImpl.h: Removed.
+ * ForwardingHeaders/kdom/css/cssproperties.h: Removed.
+ * ForwardingHeaders/kdom/css/cssvalues.h: Removed.
+ * ForwardingHeaders/kdom/events/DocumentEventImpl.h: Removed.
+ * ForwardingHeaders/kdom/parser/KDOMDocumentBuilder.h: Removed.
+ * ForwardingHeaders/kdomcssproperties.h: Removed.
+ * ForwardingHeaders/kdomcssvalues.h: Removed.
+ * ForwardingHeaders/kinstance.h: Removed.
+ * ForwardingHeaders/kjs/identifier.h: Removed.
+ * ForwardingHeaders/kjs/property_map.h: Removed.
+ * ForwardingHeaders/kjs/protected_object.h: Removed.
+ * ForwardingHeaders/kjs/scope_chain.h: Removed.
+ * ForwardingHeaders/kjs/ustring.h: Removed.
+ * ForwardingHeaders/kjs/value.h: Removed.
+ * ForwardingHeaders/ksvg2/svg/svgtags.h: Removed.
+ * ForwardingHeaders/q3intdict.h: Removed.
+ * ForwardingHeaders/q3memarray.h: Removed.
+ * ForwardingHeaders/q3ptrcollection.h: Removed.
+ * ForwardingHeaders/q3ptrdict.h: Removed.
+ * ForwardingHeaders/qcstring.h: Removed.
+ * ForwardingHeaders/qcursor.h: Removed.
+ * ForwardingHeaders/qintdict.h: Removed.
+ * ForwardingHeaders/qpair.h: Removed.
+ * ForwardingHeaders/qprinter.h: Removed.
+ * ForwardingHeaders/qptrcollection.h: Removed.
+ * ForwardingHeaders/qsize.h: Removed.
+ * ForwardingHeaders/qsortedlist.h: Removed.
+ * ForwardingHeaders/qvaluevector.h: Removed.
+ * ForwardingHeaders/xml/dom_positioniterator.h: Removed.
+ * khtml/css/css_ruleimpl.cpp:
+ * khtml/dom/css_value.h:
+ * khtml/dom/dom2_events.cpp:
+ * khtml/dom/dom2_events.h:
+ * khtml/dom/dom2_range.h:
+ * khtml/dom/dom2_traversal.cpp:
+ * khtml/dom/dom_exception.h:
+ * khtml/dom/dom_node.h:
+ * khtml/dom/dom_string.cpp:
+ * khtml/ecma/kjs_traversal.cpp:
+
2005-12-04 Anders Carlsson <andersca at mac.com>
Reviewed by Darin and Geoffrey.
1.26 +0 -1 WebCore/khtml/css/css_ruleimpl.cpp
Index: css_ruleimpl.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/css/css_ruleimpl.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- css_ruleimpl.cpp 25 Oct 2005 00:07:45 -0000 1.25
+++ css_ruleimpl.cpp 4 Dec 2005 23:14:26 -0000 1.26
@@ -23,7 +23,6 @@
#include "config.h"
#include "dom/css_rule.h"
#include "dom/css_stylesheet.h"
-#include "dom/dom_exception.h"
#include "dom/dom_string.h"
#include "css/css_stylesheetimpl.h"
1.12 +0 -8 WebCore/khtml/dom/css_value.h
Index: css_value.h
===================================================================
RCS file: /cvs/root/WebCore/khtml/dom/css_value.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- css_value.h 4 Dec 2005 11:35:05 -0000 1.11
+++ css_value.h 4 Dec 2005 23:14:26 -0000 1.12
@@ -27,16 +27,8 @@
#ifndef _CSS_css_value_h_
#define _CSS_css_value_h_
-#include <dom/dom_string.h>
-
-#include <qcolor.h>
-
namespace DOM {
-class CSSStyleDeclarationImpl;
-class CSSRule;
-class CSSValue;
-
/**
* The <code> CSSValue </code> interface represents a simple or a
* complexe value.
1.28 +1 -4 WebCore/khtml/dom/dom2_events.cpp
Index: dom2_events.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/dom/dom2_events.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- dom2_events.cpp 4 Dec 2005 11:35:05 -0000 1.27
+++ dom2_events.cpp 4 Dec 2005 23:14:26 -0000 1.28
@@ -22,7 +22,7 @@
*/
#include "config.h"
-#include "dom/dom2_events.h"
+#include "dom2_events.h"
#include "xml/dom2_eventsimpl.h"
@@ -34,8 +34,6 @@
const unsigned KeyboardEvent::DOM_KEY_LOCATION_NUMPAD;
const unsigned KeyboardEvent::DOM_KEY_LOCATION_UNKNOWN;
-// -----------------------------------------------------------------------------
-
EventListener::EventListener()
{
}
@@ -58,5 +56,4 @@
return "";
}
-// -----------------------------------------------------------------------------
} // namespace
1.23 +1 -1 WebCore/khtml/dom/dom2_events.h
Index: dom2_events.h
===================================================================
RCS file: /cvs/root/WebCore/khtml/dom/dom2_events.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- dom2_events.h 4 Dec 2005 12:43:11 -0000 1.22
+++ dom2_events.h 4 Dec 2005 23:14:26 -0000 1.23
@@ -25,7 +25,7 @@
#define _DOM_Events_h_
#include "misc/shared.h"
-#include <dom/dom_string.h>
+#include "dom_string.h"
namespace DOM {
1.13 +1 -1 WebCore/khtml/dom/dom2_range.h
Index: dom2_range.h
===================================================================
RCS file: /cvs/root/WebCore/khtml/dom/dom2_range.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- dom2_range.h 4 Dec 2005 11:35:05 -0000 1.12
+++ dom2_range.h 4 Dec 2005 23:14:26 -0000 1.13
@@ -31,7 +31,7 @@
#ifndef _dom2_range_h_
#define _dom2_range_h_
-#include <dom/dom_node.h>
+#include "dom_node.h"
namespace DOM {
1.10 +1 -1 WebCore/khtml/dom/dom2_traversal.cpp
Index: dom2_traversal.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/dom/dom2_traversal.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- dom2_traversal.cpp 4 Dec 2005 12:43:12 -0000 1.9
+++ dom2_traversal.cpp 4 Dec 2005 23:14:26 -0000 1.10
@@ -21,7 +21,7 @@
*/
#include "config.h"
-#include "dom/dom2_traversal.h"
+#include "dom2_traversal.h"
namespace DOM {
1.8 +0 -20 WebCore/khtml/dom/dom_exception.h
Index: dom_exception.h
===================================================================
RCS file: /cvs/root/WebCore/khtml/dom/dom_exception.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dom_exception.h 4 Dec 2005 12:43:12 -0000 1.7
+++ dom_exception.h 4 Dec 2005 23:14:26 -0000 1.8
@@ -31,26 +31,6 @@
namespace DOM {
-/**
- * DOM operations only raise exceptions in "exceptional"
- * circumstances, i.e., when an operation is impossible to perform
- * (either for logical reasons, because data is lost, or because the
- * implementation has become unstable). In general, DOM methods return
- * specific error values in ordinary processing situation, such as
- * out-of-bound errors when using <code> NodeList </code> .
- *
- * Implementations may raise other exceptions under other
- * circumstances. For example, implementations may raise an
- * implementation-dependent exception if a <code> null </code>
- * argument is passed.
- *
- * Some languages and object systems do not support the concept of
- * exceptions. For such systems, error conditions may be indicated
- * using native error reporting mechanisms. For some bindings, for
- * example, methods may return error codes similar to those listed in
- * the corresponding method descriptions.
- *
- */
class DOMException
{
public:
1.18 +0 -114 WebCore/khtml/dom/dom_node.h
Index: dom_node.h
===================================================================
RCS file: /cvs/root/WebCore/khtml/dom/dom_node.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- dom_node.h 4 Dec 2005 11:35:06 -0000 1.17
+++ dom_node.h 4 Dec 2005 23:14:26 -0000 1.18
@@ -31,121 +31,11 @@
namespace DOM {
-/**
- * The <code> Node </code> interface is the primary datatype for the
- * entire Document Object Model. It represents a single node in the
- * document tree. While all objects implementing the <code> Node
- * </code> interface expose methods for dealing with children, not all
- * objects implementing the <code> Node </code> interface may have
- * children. For example, <code> Text </code> nodes may not have
- * children, and adding children to such nodes results in a <code>
- * DOMException </code> being raised.
- *
- * The attributes <code> nodeName </code> , <code> nodeValue </code>
- * and <code> attributes </code> are included as a mechanism to get at
- * node information without casting down to the specific derived
- * interface. In cases where there is no obvious mapping of these
- * attributes for a specific <code> nodeType </code> (e.g., <code>
- * nodeValue </code> for an Element or <code> attributes </code> for a
- * Comment), this returns <code> null </code> . Note that the
- * specialized interfaces may contain additional and more convenient
- * mechanisms to get and set the relevant information.
- *
- */
class Node
{
-
public:
-
/**
* An integer indicating which type of node this is.
- *
- *
- * <p>The values of <code>nodeName</code>, <code>nodeValue</code>,
- * and <code>attributes</code> vary according to the node type as follows:
- * <table border="1">
- * <tbody>
- * <tr>
- * <td></td>
- * <td>nodeName</td>
- * <td>nodeValue</td>
- * <td>attributes</td>
- * </tr>
- * <tr>
- * <td>Element</td>
- * <td>tagName</td>
- * <td>null</td>
- * <td>NamedNodeMap</td>
- * </tr>
- * <tr>
- * <td>Attr</td>
- * <td>name of attribute</td>
- * <td>value of attribute</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>Text</td>
- * <td>#text</td>
- * <td>content of the text node</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>CDATASection</td>
- * <td>#cdata-section</td>
- * <td>content of the CDATA Section</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>EntityReference</td>
- * <td>name of entity referenced</td>
- * <td>null</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>Entity</td>
- * <td>entity name</td>
- * <td>null</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>ProcessingInstruction</td>
- * <td>target</td>
- * <td>entire content excluding the target</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>Comment</td>
- * <td>#comment</td>
- * <td>content of the comment</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>Document</td>
- * <td>#document</td>
- * <td>null</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>DocumentType</td>
- * <td>document type name</td>
- * <td>null</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>DocumentFragment</td>
- * <td>#document-fragment</td>
- * <td>null</td>
- * <td>null</td>
- * </tr>
- * <tr>
- * <td>Notation</td>
- * <td>notation name</td>
- * <td>null</td>
- * <td>null</td>
- * </tr>
- * </tbody>
- * </table>
- * </p>
*/
enum NodeType {
ELEMENT_NODE = 1,
@@ -167,11 +57,7 @@
* A DOMTimeStamp represents a number of milliseconds.
*
*/
-#if __APPLE__
typedef unsigned long long DOMTimeStamp;
-#else
-typedef unsigned long DOMTimeStamp;
-#endif
} //namespace
1.23 +1 -1 WebCore/khtml/dom/dom_string.cpp
Index: dom_string.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/dom/dom_string.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- dom_string.cpp 3 Oct 2005 21:12:11 -0000 1.22
+++ dom_string.cpp 4 Dec 2005 23:14:26 -0000 1.23
@@ -21,7 +21,7 @@
*/
#include "config.h"
-#include "dom/dom_string.h"
+#include "dom_string.h"
#include "xml/dom_stringimpl.h"
1.22 +0 -1 WebCore/khtml/ecma/kjs_traversal.cpp
Index: kjs_traversal.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/ecma/kjs_traversal.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- kjs_traversal.cpp 4 Dec 2005 12:43:13 -0000 1.21
+++ kjs_traversal.cpp 4 Dec 2005 23:14:27 -0000 1.22
@@ -22,7 +22,6 @@
#include "kjs_traversal.lut.h"
#include "kjs_proxy.h"
-#include <dom/dom_node.h>
#include <xml/dom_nodeimpl.h>
#include <xml/dom_docimpl.h>
#include <khtmlview.h>
More information about the webkit-changes
mailing list