Cache unicode converter in date format interface

VERIFIED FIXED in mozilla0.9

Status

()

VERIFIED FIXED
18 years ago
18 years ago

People

(Reporter: nhottanscp, Assigned: nhottanscp)

Tracking

Trunk
mozilla0.9
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Assignee)

Description

18 years ago
nsDateTimeFormat creates unicode decoder to convert OS API created string to 
unicode, we can cache the decoder.
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
(Assignee)

Comment 1

18 years ago
Created attachment 25286 [details] [diff] [review]
Patch for win32, changed to use MultiByteToWideChar
(Assignee)

Comment 2

18 years ago
Ignore the line,
+mW_API=0;
that's for debug purpose only (to test the code on NT).
(Assignee)

Comment 3

18 years ago
Created attachment 25300 [details] [diff] [review]
Patch for Mac, cache unicode decoder
(Assignee)

Comment 4

18 years ago
Created attachment 25302 [details] [diff] [review]
Patch for unix, cache decoder.
(Assignee)

Comment 5

18 years ago
using nhotta's account:  /r=yokoyama

Comment 6

18 years ago
In the patch for the Unix version, unichars is now an array (not an allocated
object), so it is not necessary to check if it is NULL.

sr=erik
(Assignee)

Comment 7

18 years ago
checked in
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 8

18 years ago
Hotta san, please mark this as verified.
QA Contact: teruko → nhotta
(Assignee)

Comment 9

18 years ago
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.