[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog libbase/string_table.cpp libbas...
From: |
zou lunkai |
Subject: |
Re: [Gnash-commit] gnash ChangeLog libbase/string_table.cpp libbas... |
Date: |
Thu, 24 Jan 2008 16:48:17 +0800 |
> > Add case-insensitive support for string_table. More work is needed to
> > enable it where appropriate.
>
> A suggestion could be not make sensitive-insensitive a per-call setting
> but a permanent setting in string_table.
> Currently, the only call to lower_next_group is at initialization time
> (in namedStrings.cpp). Rather then call lower_next_group(), we may call
> a setCaseInsensitive() method that would remember all lookups are
> case-insensitive [if version < 7].
>
> Then, PROPNAME would become a no-op, thus always keeping the case.
>
> This should give us correct behaviour without too many further modifications.
>
> What do you think ?
>
FYI, misc-ming.all/case.as, line 212: xcheck_equals(propRecorder[0], 'A')
That check fails because variable 'A' was converted to lower case at
definition time(right?) at swf version lower than 7.
--zou