[Kst] [Bug 250014] KST Equations are KO when using vector/mean if the vector name contains special characters, it generates constant value of 0

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Mon Nov 1 21:20:24 CET 2010


https://bugs.kde.org/show_bug.cgi?id=250014


netterfield at astro.utoronto.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from  <netterfield astro utoronto ca>  2010-11-01 21:20:13 ---
SVN commit 1192057 by netterfield:

BUG: 250014
Handle special characters in field and vector names.
i) the characters _^[] in field names are escaped with \ so they
appear properly in automatically generated labels.  So, a data vector of the 
field GY_AZ will appear in the UI as "GY\_AZ (V2)" and as GY_AZ in automatic
labels.  The same applies to scalars, strings, and matrixes.

ii) the characters [] are removed from the descriptive names of vectors when
they
are used in equations.  So a Vector called "WGS84 Altitude [m] (V4)" will
appear in
in the equation as "[WGS84 Altitude m (V4)]" but will otherwise work as
expected.
The same applies to matrixes and scalars.




 M  +6 -1      src/libkst/datamatrix.cpp  
 M  +7 -1      src/libkst/datascalar.cpp  
 M  +7 -1      src/libkst/datastring.cpp  
 M  +9 -2      src/libkst/datavector.cpp  
 M  +2 -0      src/libkst/namedobject.cpp  
 M  +3 -1      src/libkstapp/equationdialog.cpp  
 M  +7 -2      src/libkstmath/enodes.cpp  
 M  +4 -4      tests/dirfile_maker/dirfile_maker.c  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1192057

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list