[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/css
From: Maks Orlovich <maksim () kde ! org>
Date: 2007-10-12 20:03:23
Message-ID: 1192219403.016314.3287.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 724600 by orlovich:
Fix a typo in the script handling properties to not mess up maxlength (my eyes, my \
eyes, my eyes...!) THis fixed getComputedStyle on a bunch of properties with longer \
names and heaven knows what else.
M +1 -1 cssproperties.h
M +1 -1 makeprop
--- trunk/KDE/kdelibs/khtml/css/cssproperties.h #724599:724600
@@ -138,6 +138,6 @@
#define CSS_PROP__KHTML_USER_INPUT 128
#define CSS_PROP_TOTAL 129
-const size_t maxCSSPropertyNameLength = 17;
+const size_t maxCSSPropertyNameLength = 32;
#endif
--- trunk/KDE/kdelibs/khtml/css/makeprop #724599:724600
@@ -49,7 +49,7 @@
print ""; \
print "#define '$NS'CSS_PROP_TOTAL " (i + 1 - '$num') \
}' >> "$prefix"cssproperties.h
-perl -e 'my $max = 0; while (<>) { chomp; $max = length if $ ax < length; } print \
"const size_t max'$NS'CSSPropertyNameLength = $max;\n"' < \
"$prefix"cssproperties.strip >> "$prefix"cssproperties.h +perl -e 'my $max = 0; while \
(<>) { chomp; $max = length if $max < length; } print "const size_t \
max'$NS'CSSPropertyNameLength = $max;\n"' < "$prefix"cssproperties.strip >> \
"$prefix"cssproperties.h
gperf -a -L 'ANSI-C' -E -C -c -o -t -k '*' -NfindProp"$NS" -Hhash_prop"$prefix" \
-Wwordlist_prop"$prefix" -D -s 2 "$prefix"cssproperties.gperf > \
"$prefix"cssproperties.c || exit 1 echo -e '#endif\n' >> "$prefix"cssproperties.h
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic