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

List:       kde-commits
Subject:    kdenonbeta
From:       Nikolas Zimmermann <wildfox () kde ! org>
Date:       2005-05-16 23:30:44
Message-ID: 1116286244.024151.11141.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 414795 by wildfox:

FINALLY! no more regressions after the big-scripts-rewrite
Who would have thought it's the generation scripts' fault ;)
CCMAIL: buis@kde.org


 M  +9 -7      trunk/kdenonbeta/kdom/scripts/dommakeattrs  
 M  +70 -70    trunk/kdenonbeta/ksvg2/impl/svgattrs.c  


--- trunk/kdenonbeta/kdom/scripts/dommakeattrs #414794:414795
@@ -55,13 +55,15 @@
 	    $num = $num + 1;
 
 	    $up = uc($attr);
-	    $amap{$up} = $num;
-		
 	    push(@a, $up);
-	    $up =~ s/-/_/g;
+
+		$pup = $up;
+	    $pup =~ s/-/_/g;
+
+	    $amap{$pup} = $num;
 		
-    	print out $attr . ", ATTR_" . $up . "\n";
-	    print header "#define ATTR_" . $up . " " . $num . "\n";
+    	print out $attr . ", ATTR_" . $pup . "\n";
+	    print header "#define ATTR_" . $pup . " " . $num . "\n";
     }
 }
 
@@ -105,9 +107,9 @@
 
 	if(not($l =~ /#/) and (length($l) > 0)) {
 		$l =~ y/-/_/;
+    	
+		die if !length($hmap{$amap{$l}});
 
-    	die if !length($hmap{$amap{$l}});
-
 	    print OUT "    " .$hmap{$amap{$l}}.",\n";
 	}
 }
--- trunk/kdenonbeta/ksvg2/impl/svgattrs.c #414794:414795
@@ -1292,36 +1292,36 @@
 
 static const unsigned short attrList[] = {
     65535,
-    244,
+    71,
     228,
     84,
-    244,
+    146,
     80,
     172,
     46,
-    244,
+    133,
     11,
     179,
     234,
     203,
     201,
-    244,
+    122,
     108,
     215,
     47,
     29,
     88,
     33,
-    244,
+    73,
     27,
-    244,
-    244,
+    59,
+    144,
     75,
     18,
-    244,
-    244,
-    244,
-    244,
+    62,
+    138,
+    98,
+    53,
     185,
     223,
     101,
@@ -1333,13 +1333,13 @@
     17,
     97,
     81,
-    244,
+    115,
     95,
     174,
     58,
     31,
     93,
-    244,
+    237,
     6,
     190,
     245,
@@ -1349,40 +1349,40 @@
     183,
     134,
     72,
-    244,
-    244,
+    166,
+    191,
     57,
     82,
     78,
-    244,
-    244,
-    244,
-    244,
-    244,
-    244,
-    244,
-    244,
-    244,
+    87,
+    152,
+    214,
+    106,
+    221,
+    74,
+    132,
+    135,
+    124,
     89,
     85,
     211,
     105,
     151,
     145,
-    244,
-    244,
-    244,
+    177,
+    222,
+    225,
     188,
     206,
     43,
     64,
     45,
-    244,
-    244,
-    244,
+    242,
+    232,
+    167,
     52,
     60,
-    244,
+    107,
     5,
     130,
     21,
@@ -1399,13 +1399,13 @@
     227,
     34,
     209,
-    244,
-    244,
+    65,
+    103,
     207,
     30,
-    244,
-    244,
-    244,
+    123,
+    165,
+    125,
     158,
     128,
     137,
@@ -1432,15 +1432,15 @@
     15,
     26,
     163,
-    244,
-    244,
-    244,
+    120,
+    198,
+    156,
     24,
     86,
     76,
     193,
     28,
-    244,
+    99,
     19,
     182,
     127,
@@ -1452,7 +1452,7 @@
     104,
     160,
     112,
-    244,
+    41,
     148,
     136,
     239,
@@ -1464,7 +1464,7 @@
     55,
     22,
     7,
-    244,
+    66,
     25,
     20,
     42,
@@ -1476,18 +1476,18 @@
     49,
     113,
     119,
+    32,
+    102,
+    226,
     244,
-    244,
-    244,
-    244,
     69,
-    244,
-    244,
-    244,
-    244,
-    244,
-    244,
-    244,
+    173,
+    197,
+    118,
+    121,
+    187,
+    164,
+    129,
     77,
     181,
     235,
@@ -1495,9 +1495,9 @@
     23,
     141,
     92,
-    244,
-    244,
-    244,
+    199,
+    195,
+    208,
     219,
     14,
     1,
@@ -1505,30 +1505,30 @@
     68,
     216,
     213,
-    244,
-    244,
+    150,
+    218,
     109,
-    244,
-    244,
-    244,
-    244,
-    244,
-    244,
-    244,
+    149,
+    142,
+    162,
+    155,
+    143,
+    139,
+    202,
     186,
     79,
-    244,
-    244,
-    244,
+    212,
+    236,
+    175,
     233,
     204,
     192,
     44,
     48,
-    244,
-    244,
+    90,
+    111,
     169,
-    244,
+    217,
     241,
     240,
     229,
[prev in list] [next in list] [prev in thread] [next in thread] 

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