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

List:       kde-commits
Subject:    kdenonbeta/ksvg2
From:       Nikolas Zimmermann <wildfox () kde ! org>
Date:       2004-08-17 18:18:37
Message-ID: 20040817181837.61E2690C3 () office ! kde ! org
[Download RAW message or body]

CVS commit by wildfox: 

Began to work on SVGLength, it's the first js object in ksvg2
that needs function calls - surprise, surprise - it doesn't link
Problem: kalyptusKDOMEcma only knows about the class "SVGLengthProto"
         which is ignored, and nothing about "SVGLength", same stuff works
         perfectly within KDOM (don't get that. *cry_for_rob*)


  A            data/SVGLength.lut.h   1.1 [no copyright GENERATED FILE]
  A            impl/SVGHelper.cc   1.1 [LGPL (v2+)]
  A            impl/SVGHelper.h   1.1 [LGPL (v2+)]
  A            impl/SVGLength.cc   1.1 [LGPL (v2+)]
  A            impl/SVGLength.h   1.1 [LGPL (v2+)]
  M +7 -6      Makefile.am   1.7
  M +9 -0      data/SVGConstants.h   1.8
  M +2 -2      impl/Makefile.am   1.4
  M +1 -1      impl/SVGSVGElement.h   1.10


--- kdenonbeta/ksvg2/Makefile.am  #1.6:1.7
@@ -4,10 +4,10 @@
 libksvg2_la_SOURCES = dummy.cc
 libksvg2_la_LDFLAGS = -version-info 0:1:0 -no-undefined $(all_libraries)
-libksvg2_la_LIBADD = $(LIB_QT) $(LIB_KIO) -lkdom -lkdomparser \
+libksvg2_la_LIBADD = $(LIB_QT) $(LIB_KIO) -lkdom -lkdomparser -lkcanvas \
                -lkcanvasdevice \
                                          $(top_builddir)/ksvg2/ecma/libksvgecma.la \
                                          $(top_builddir)/ksvg2/data/libksvgdata.la \
                                          \
                $(top_builddir)/ksvg2/events/libksvgevents.la \
                                          $(top_builddir)/ksvg2/core/libksvgcore.la \
-                                         $(top_builddir)/ksvg2/impl/libksvgimpl.la
+                                         $(top_builddir)/ksvg2/impl/libksvgimpl.la   \
  
 myincludedir = $(includedir)/ksvg2
@@ -21,8 +21,9 @@
         ../kdom/scripts/create_hash_table ecma/Constructors.cc -n KSVG > \
                $(srcdir)/data/Constructors.lut.h; \
         ../kdom/scripts/create_hash_table impl/SVGException.cc -n KSVG > \
                $(srcdir)/data/SVGException.lut.h; \
-        ../kdom/scripts/create_hash_table impl/SVGElement.cc -n KSVG > \
                $(srcdir)/data/SVGElement.lut.h;
-        ../kdom/scripts/create_hash_table impl/SVGDocument.cc -n KSVG > \
                $(srcdir)/data/SVGDocument.lut.h;
-        ../kdom/scripts/create_hash_table impl/SVGSVGElement.cc -n KSVG > \
                $(srcdir)/data/SVGSVGElement.lut.h;
-        ../kdom/scripts/create_hash_table impl/SVGScriptElement.cc -n KSVG > \
$(srcdir)/data/SVGScriptElement.lut.h; +        ../kdom/scripts/create_hash_table \
impl/SVGLength.cc -n KSVG > $(srcdir)/data/SVGLength.lut.h; \ +        \
../kdom/scripts/create_hash_table impl/SVGElement.cc -n KSVG > \
$(srcdir)/data/SVGElement.lut.h; \ +        ../kdom/scripts/create_hash_table \
impl/SVGDocument.cc -n KSVG > $(srcdir)/data/SVGDocument.lut.h; \ +        \
../kdom/scripts/create_hash_table impl/SVGSVGElement.cc -n KSVG > \
$(srcdir)/data/SVGSVGElement.lut.h; \ +        ../kdom/scripts/create_hash_table \
                impl/SVGScriptElement.cc -n KSVG > \
                $(srcdir)/data/SVGScriptElement.lut.h; \
         ../kdom/scripts/create_hash_table impl/SVGStyleElement.cc -n KSVG > \
$(srcdir)/data/SVGStyleElement.lut.h;  

--- kdenonbeta/ksvg2/data/SVGConstants.h  #1.7:1.8
@@ -51,3 +51,12 @@ namespace KSVG
                 };
         };
+
+        struct SVGLengthConstants
+        {
+                enum
+                {
+                        UnitType, Value, ValueAsString, ValueInSpecifiedUnits, \
NewValueSpecifiedUnits,  +                        ConvertToSpecifiedUnits 
+                };
+        };
 };

--- kdenonbeta/ksvg2/impl/Makefile.am  #1.3:1.4
@@ -4,8 +4,8 @@
 noinst_LTLIBRARIES = libksvgimpl.la
 libksvgimpl_la_SOURCES = SVGException.cc SVGDOMImplementation.cc SVGDocument.cc \
                SVGElement.cc SVGSVGElement.cc SVGRectElement.cc \
-                                                SVGCircleElement.cc SVGGElement.cc \
SVGStylable.cc SVGStyleElement.cc SVGScriptElement.cc +                               \
SVGCircleElement.cc SVGGElement.cc SVGStylable.cc SVGStyleElement.cc \
SVGScriptElement.cc SVGLength.cc SVGHelper.cc  libksvgimpl_la_LDFLAGS = \
$(all_libraries)  
 myincludedir = $(includedir)/ksvg2
 myinclude_HEADERS = SVGException.h SVGDOMImplementation.h SVGDocument.h SVGElement.h \
                SVGSVGElement.h SVGRectElement.h \
-                                        SVGCircleElement.h SVGGElement.h \
SVGStylable.h SVGStyleElement.h SVGScriptElement.h +                                  \
SVGCircleElement.h SVGGElement.h SVGStylable.h SVGStyleElement.h SVGScriptElement.h \
SVGLength.h

--- kdenonbeta/ksvg2/impl/SVGSVGElement.h  #1.9:1.10
@@ -24,6 +24,6 @@
 #define KSVG_SVGSVGElement_H
 
-#include <SVGStylable.h>
 #include <SVGElement.h>
+#include <SVGStylable.h>
 
 #include <kdom/events/DocumentEvent.h>


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

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