Revision 1218701
Go back to digest for 6th February 2011Features in Development Tools
Alexander Richardson committed changes in /trunk/KDE/kdesdk/okteta/kasten/controllers/view/structures:
Add a new field to DataInformation to save the byte order
Following values are possible: FromSettings, Inherit, LittleEndian, BigEndian.
This saved value is then used to read the data instead of always the value from the setting.
This will allow updating some structures - like png which is always big endian - so that they are correct regardless of the current endianess settings and also allow structures containing values of mixed byte order.
This commit also fixes an issue where a value could be written to the wrong offset in the file (only with union members)
File Changes
Modified 14 files
- /trunk/KDE/kdesdk/okteta/kasten/controllers/view/structures
- /structtool.cpp
- /datatypes/datainformation.cpp
- /datatypes/datainformation.h
- /datatypes/datainformationwithchildren.cpp
- /datatypes/datainformationwithchildren.h
- /datatypes/dynamiclengtharraydatainformation.h
- /datatypes/enumdatainformation.cpp
- /datatypes/enumdatainformation.h
- /datatypes/primitivedatainformation.cpp
- /datatypes/primitivedatainformation.h
- /datatypes/topleveldatainformation.cpp
- /datatypes/topleveldatainformation.h
- /datatypes/uniondatainformation.cpp
- /datatypes/uniondatainformation.h
14 files changed in total