Summary: | Add support for (wide) character strings | ||
---|---|---|---|
Product: | [Applications] okteta | Reporter: | Brad Hards <bradh> |
Component: | Structures Tool | Assignee: | Alex Richardson <arichardson.kde> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kossebau |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Brad Hards
2011-01-17 23:58:57 UTC
Better support for strings is already on my TODO list. I wanted to add support for null terminated ASCII C-strings, null terminated utf8, null terminated and fixed length UTF16 and UTF32. Probably Latin1 with configurable charset would also be a good idea. I'm afraid I'm fairly busy the next weeks, but should have enough time to implement this in February. SVN commit 1230377 by arichardson: Add basic support for strings in structures. Currently supported encodings are ASCII and UTF16-LE/BE. Strings can be added to.osd by using the <string> element. Strings can have a fixed length (byte count or character count), be terminated by a certain unicode code point, or both (whichever occurs first) CCBUG: 263489 M +6 -0 CMakeLists.txt M +0 -6 view/structures/datatypes/abstractarraydatainformation.cpp M +2 -3 view/structures/datatypes/abstractarraydatainformation.h M +22 -11 view/structures/datatypes/datainformation.cpp M +21 -10 view/structures/datatypes/datainformation.h M +6 -1 view/structures/datatypes/datainformationbase.cpp M +3 -2 view/structures/datatypes/datainformationbase.h A view/structures/datatypes/dummydatainformation.cpp [License: LGPL] A view/structures/datatypes/dummydatainformation.h [License: LGPL] M +0 -5 view/structures/datatypes/dynamiclengtharraydatainformation.h A view/structures/datatypes/strings (directory) A view/structures/datatypes/strings/asciistringdata.cpp [License: LGPL] A view/structures/datatypes/strings/asciistringdata.h [License: LGPL] A view/structures/datatypes/strings/stringdata.cpp [License: LGPL] A view/structures/datatypes/strings/stringdata.h [License: LGPL] A view/structures/datatypes/strings/stringdatainformation.cpp [License: LGPL] A view/structures/datatypes/strings/stringdatainformation.h [License: LGPL] A view/structures/datatypes/strings/utf16stringdata.cpp [License: LGPL] A view/structures/datatypes/strings/utf16stringdata.h [License: LGPL] M +2 -2 view/structures/datatypes/topleveldatainformation.h M +86 -8 view/structures/parsers/osdparser.cpp M +3 -2 view/structures/parsers/osdparser.h M +11 -10 view/structures/structtool.cpp M +3 -0 view/structures/structtreemodel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1230377 Closing this bug, since Latin1, UTF8 and UTF32 have been added by now Thanks for this functionality, and all your other work too. Much appreciated. |