[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/khtml-blaze
From:       Viacheslav Tokarev <tsjoker () gmail ! com>
Date:       2008-06-29 13:05:27
Message-ID: 1214744727.732054.28277.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 825813 by vtokarev:

ExceptionCode is now declared in separate file.


 A             dom/ExceptionCode.h   [License: LGPL (v2+)]
 M  +3 -2      svg/SVGColor.h  
 M  +2 -0      svg/SVGElement.h  
 M  +1 -1      svg/SVGElementInstance.cpp  
 M  +1 -2      svg/SVGList.h  
 M  +2 -2      svg/SVGLocatable.cpp  
 M  +1 -1      svg/SVGLocatable.h  
 M  +1 -1      svg/SVGParserUtilities.cpp  
 M  +1 -1      svg/SVGStyleElement.cpp  
 M  +1 -1      svg/SVGUseElement.cpp  
 M  +1 -1      xml/Document.h  


--- branches/work/khtml-blaze/svg/SVGColor.h #825812:825813
@@ -27,10 +27,11 @@
 #include "CSSValue.h"
 #include "Color.h"
 #include "PlatformString.h"
+#include "ExceptionCode.h"
 
 namespace WebCore {
-   
-    typedef int ExceptionCode;
+
+    using namespace khtml;
  
     class SVGColor : public CSSValue {
     public:
--- branches/work/khtml-blaze/svg/SVGElement.h #825812:825813
@@ -31,6 +31,8 @@
 #include "SVGDocumentExtensions.h"
 #include "SVGNames.h"
 
+#include "ExceptionCode.h"
+
 #define ANIMATED_PROPERTY_EMPTY_DECLARATIONS(BareType, NullType, UpperProperty, LowerProperty) \
 public: \
     virtual BareType LowerProperty() const { ASSERT_NOT_REACHED(); return NullType; } \
--- branches/work/khtml-blaze/svg/SVGElementInstance.cpp #825812:825813
@@ -170,7 +170,7 @@
     ASSERT(svgClone);
 
     // Replace node in the <use> shadow tree
-    ExceptionCode ec = 0;
+    /*ExceptionCode*//*khtml*/int ec = 0;
     m_shadowTreeElement->parentNode()->replaceChild(clone, m_shadowTreeElement, ec);
     ASSERT(ec == 0);
 
--- branches/work/khtml-blaze/svg/SVGList.h #825812:825813
@@ -24,8 +24,7 @@
 #define SVGList_h
 
 #if ENABLE(SVG)
-//#include "ExceptionCode.h"
-#include "dom/dom_exception.h"
+#include "ExceptionCode.h"
 #include "SVGListTraits.h"
 #include "Document.h"
 
--- branches/work/khtml-blaze/svg/SVGLocatable.cpp #825812:825813
@@ -27,9 +27,9 @@
 
 #include "SVGLocatable.h"
 
-/*#include "AffineTransform.h"
+#include "AffineTransform.h"
 #include "RenderPath.h"
-#include "SVGException.h"*/
+#include "SVGException.h"
 #include "SVGSVGElement.h"
 
 namespace WebCore {
--- branches/work/khtml-blaze/svg/SVGLocatable.h #825812:825813
@@ -25,7 +25,7 @@
 
 #if ENABLE(SVG)
 
-//#include "ExceptionCode.h"
+#include "ExceptionCode.h"
 #include "Document.h"
 
 namespace WebCore {
--- branches/work/khtml-blaze/svg/SVGParserUtilities.cpp #825812:825813
@@ -26,7 +26,7 @@
 #include "xml/Document.h"
 #include "SVGParserUtilities.h"
 
-//#include "ExceptionCode.h"
+#include "ExceptionCode.h"
 #include "FloatConversion.h"
 #include "FloatPoint.h"
 #include "Path.h"
--- branches/work/khtml-blaze/svg/SVGStyleElement.cpp #825812:825813
@@ -28,7 +28,7 @@
 
 //#include "CSSStyleSheet.h"
 #include "Document.h"
-//#include "ExceptionCode.h"
+#include "ExceptionCode.h"
 //#include "HTMLNames.h"
 //#include "XMLNames.h"
 
--- branches/work/khtml-blaze/svg/SVGUseElement.cpp #825812:825813
@@ -550,7 +550,7 @@
         newChildPtr = static_cast<SVGElement*>(newChild);
     ASSERT(newChildPtr);
 
-    ExceptionCode ec = 0;
+    /*ExceptionCode*//*khtml*/int ec = 0;
     m_shadowTreeRootElement->appendChild(newChild, ec);
     ASSERT(ec == 0);
 
--- branches/work/khtml-blaze/xml/Document.h #825812:825813
@@ -37,6 +37,7 @@
 #include "css/cssproperties.h"
 //#include "css/cssstyleselector.h"
 #include "css/css_stylesheetimpl.h"
+#include "ExceptionCode.h"
 
 #define CSSPropertyWidth CSS_PROP_WIDTH
 #define CSSPropertyHeight CSS_PROP_HEIGHT
@@ -52,7 +53,6 @@
     typedef DOMString String;
     typedef DOMStringImpl StringImpl;
     typedef NodeImpl Node;
-    typedef int ExceptionCode;
     typedef AttributeImpl Attribute;
     typedef EventImpl Event;
     typedef RegisteredListenerList RegisteredEventListenerList;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic