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

List:       kde-commits
Subject:    kdenonbeta/ksvg2
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2004-11-26 11:49:24
Message-ID: 20041126114924.8D7821B575 () office ! kde ! org
[Download RAW message or body]

CVS commit by buis: 

Updated scripts for generating svg css props and values.


  M +2 -2      css/impl/cssproperties.h   1.4
  M +2 -2      css/impl/cssvalues.h   1.4
  M +3 -3      scripts/svgmakeprops   1.2
  M +3 -3      scripts/svgmakevalues   1.2


--- kdenonbeta/ksvg2/css/impl/cssproperties.h  #1.3:1.4
@@ -7,6 +7,6 @@
 namespace KSVG
 {
-KDOM::DOMString getPropertyName(unsigned short id) KDE_NO_EXPORT;
-int getPropertyID(const char *tagStr, int len);
+        KDOM::DOMString getPropertyName(unsigned short id) KDE_NO_EXPORT;
+        int getPropertyID(const char *tagStr, int len);
 };
 

--- kdenonbeta/ksvg2/css/impl/cssvalues.h  #1.3:1.4
@@ -8,6 +8,6 @@
 namespace KSVG
 {
-KDOM::DOMString getValueName(unsigned short id) KDE_NO_EXPORT;
-int getValueID(const char *tagStr, int len);
+        KDOM::DOMString getValueName(unsigned short id) KDE_NO_EXPORT;
+        int getValueID(const char *tagStr, int len);
 };
 

--- kdenonbeta/ksvg2/scripts/svgmakeprops  #1.1:1.2
@@ -27,5 +27,5 @@
 cat cssproperties.strip | awk '{ do { prop = $0; gsub("-", "_"); print prop ", \
CSS_PROP_" toupper($0) } while (getline) }' >> cssproperties.gperf  echo '%%' >> \
                cssproperties.gperf
-echo -e '/* This file is automatically generated from cssproperties.in by makeprop, \
do not edit */\n/* Copyright 1998 W. Bastian */\n\n#ifndef \
SVGCSSPROPERTIES_H\n#define SVGCSSPROPERTIES_H\n\nKDOM::DOMString \
getPropertyName(unsigned short id) KDE_NO_EXPORT;\nint getPropertyID(const char \
*tagStr, int len);\n' > cssproperties.h +echo -e '/* This file is automatically \
generated from cssproperties.in by makeprop, do not edit */\n/* Copyright 1998 W. \
Bastian */\n\n#ifndef SVGCSSPROPERTIES_H\n#define SVGCSSPROPERTIES_H\n\nnamespace \
KSVG\n{\n\tKDOM::DOMString getPropertyName(unsigned short id) KDE_NO_EXPORT;\n\tint \
getPropertyID(const char *tagStr, int len);\n};\n' > cssproperties.h  cat \
cssproperties.strip | awk '{ \  i=1; \
@@ -47,5 +47,5 @@
 print "    0"; \
 print "};"; \
-print "DOMString getPropertyName(unsigned short id)"; \
+print "DOMString KSVG::getPropertyName(unsigned short id)"; \
 print "{"; \
 print "    if(id >= CSS_PROP_TOTAL || id == 0)"; \
@@ -55,5 +55,5 @@
 print "}"; \
 print ""; \
-print "int getPropertyID(const char *tagStr, int len)"; \
+print "int KSVG::getPropertyID(const char *tagStr, int len)"; \
 print "{"; \
 print "    const struct props *propsPtr = findProp(tagStr, len);"; \

--- kdenonbeta/ksvg2/scripts/svgmakevalues  #1.1:1.2
@@ -28,5 +28,5 @@
 echo '%%' >> cssvalues.gperf
 echo -e '/* This file is automatically generated from cssvalues.in by
-#makevalues, do not edit */\n/* Copyright 1998 W. Bastian */\n\n#ifndef \
SVGCSSVALUES_H\n#define SVGCSSVALUES_H\n\nKDOM::DOMString getValueName(unsigned short \
id) KDE_NO_EXPORT;\nint getValueID(const char *tagStr, int len);\n' > cssvalues.h \
+#makevalues, do not edit */\n/* Copyright 1998 W. Bastian */\n\n#ifndef \
SVGCSSVALUES_H\n#define SVGCSSVALUES_H\n\nnamespace KSVG\n{\n\tKDOM::DOMString \
getValueName(unsigned short id) KDE_NO_EXPORT;\n\tint getValueID(const char *tagStr, \
int len);\n};\n' > cssvalues.h  cat cssvalues.strip | awk '{ \
 i=1; \
@@ -47,5 +47,5 @@
 print "    0"; \
 print "};"; \
-print "DOMString getValueName(unsigned short id)"; \
+print "DOMString KSVG::getValueName(unsigned short id)"; \
 print "{"; \
 print "    if(id >= CSS_VAL_TOTAL || id == 0)"; \
@@ -55,5 +55,5 @@
 print "}"; \
 print ""; \
-print "int getValueID(const char *tagStr, int len)"; \
+print "int KSVG::getValueID(const char *tagStr, int len)"; \
 print "{"; \
 print "    const struct css_value *val = findValue(tagStr, len);"; \


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

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