| <<O>> Difference Topic GulString (r1.1 - 18 Dec 2004 - CrispinFlowerday) |
| Line: 1 to 1 | |||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Added: | |||||||||||||||||||||||||||||||
| > > |
Mozilla String HandlingMozilla used to have a wide range of string classes, which didn't provide a stable ABI. In mozilla 1.7 them implemented a couple of classes called nsEmbedString and nsEmbedCString. These are thin wrappers around a C like interface to provide a stable API/ABI. These interfaces are frozen. In mozilla 1.8 there are more thin wrappers around the stable API to provide compatibility with the internal string classes (things like nsAutoString, nsDependentSubstring and NS_ConvertUTF16toUTF8). Unfortunately we can't use these as Galeon only supports mozilla 1.7. Although the nsEmbedString API provides us with a useable interface, there is no easy way to convert from UTF16 <-> UTF8. To make it easy to perform the conversion, and provide a consistent and simple API, Galeon has a few string classes of its own that are compatible with the mozilla classes:
Summmary
| ||||||||||||||||||||||||||||||
| /GulString . { View | Diffs | r1.1 | More } |
Changes ( |
|
Revision - Revision r1.1 - 18 Dec 2004 - 23:26 - CrispinFlowerday |
Copyright © 1999-2010 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding Galeon? Send feedback. |