Closed
Bug 458946
Opened 16 years ago
Closed 14 years ago
reduce narrow windows API calls in cairo win32 surface
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: blassey, Unassigned)
References
Details
(Keywords: mobile)
Attachments
(2 files, 1 obsolete file)
1.06 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
2.35 KB,
patch
|
Details | Diff | Splinter Review |
There is a call to FormateMessageA and LoadLibraryA which are unnessesary and can be replaced with their wide char equivalents.
Reporter | ||
Comment 1•16 years ago
|
||
Updated•16 years ago
|
Attachment #342138 -
Flags: review?(pavlov) → review?(vladimir)
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Comment on attachment 342138 [details] [diff] [review] switches to FormatMessageW and LoadLibraryW Looks fine, I'll drop this in to cairo upstream as well. (No need for a patch in gfx/cairo for this, as I'm doing it right away.)
Attachment #342138 -
Flags: review?(vladimir) → review+
Updated•16 years ago
|
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 4•16 years ago
|
||
143e49ad9482 blassey — Bug 458946 - Reduce narrow windows API calls in cairo win32 surface. r=vlad vlad -- i did not create a patch in gfx/cairo per your instructions.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Comment on attachment 342138 [details] [diff] [review] switches to FormatMessageW and LoadLibraryW >+ fwprintf (stderr, "%S: %s", context, (char *)lpMsgBuf); Should be L"%S: %s": e:/builds/moz2_slave/mozilla-central-win32-nightly/build/gfx/cairo/cairo/src/cairo-win32-surface.c(99) : warning C4133: 'function' : incompatible types - from 'char [7]' to 'const wchar_t *' Also, casting lpMsgBuf, which now points to an WCHAR array to a char * may work but it's still nasty.
Assignee | ||
Updated•16 years ago
|
Product: Core → Core Graveyard
Assignee: bugmail → nobody
Status: RESOLVED → REOPENED
Component: GFX: Win32 → General
Product: Core Graveyard → Core
QA Contact: win32 → general
Resolution: FIXED → ---
Strange how nobody has noticed that GDI errors are silently discarded or the compiler warnings.
Attachment #360698 -
Flags: review?(vladimir)
Attachment #360698 -
Flags: review?(vladimir) → review+
Comment on attachment 360698 [details] [diff] [review] actually working patch This looks fine (we don't really hit this path); but please make sure to get a patch added to gfx/cairo and a mention in the README; otherwise this will get wiped out on the next cairo update.
Attachment #360698 -
Attachment is obsolete: true
Attachment #360898 -
Flags: review?(vladimir)
Reporter | ||
Comment 10•15 years ago
|
||
vlad, review ping?
Attachment #360898 -
Flags: review?(vladimir) → review?(jmuizelaar)
Comment on attachment 360898 [details] [diff] [review] with patch-in-patch bouncing over to jeff for integration into cairo
Comment 12•14 years ago
|
||
Comment on attachment 360898 [details] [diff] [review] with patch-in-patch This has already been fixed and merged from upstream.
Attachment #360898 -
Flags: review?(jmuizelaar)
Updated•14 years ago
|
Status: REOPENED → RESOLVED
Closed: 16 years ago → 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Resolution: FIXED → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•