Closed Bug 544773 Opened 15 years ago Closed 12 years ago

[TSF] TSF related code should output logs on release build

Categories

(Core :: Widget: Win32, enhancement)

x86
Windows 7
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

(Keywords: inputmethod)

Attachments

(2 files, 5 obsolete files)

TSF related code should output logs on release build because we cannot test all TIS in the world. The logs helps us for debugging. And all bug reporters can post the logs on release build. # IMM32 code and new GTK2 IMModule code output the logs for same reason even if they are release build.
Attached patch Patch (WIP) (obsolete) (deleted) — Splinter Review
jimm: If you are busy, I'll update your patch too.
Attached patch Patch (WIP) (obsolete) (deleted) — Splinter Review
Something has been broken.
Attachment #658787 - Attachment is obsolete: true
Attached patch Patch (WIP) (obsolete) (deleted) — Splinter Review
Attachment #659199 - Attachment is obsolete: true
Attached patch Patch part.1 (obsolete) (deleted) — Splinter Review
Attachment #659205 - Attachment is obsolete: true
Attachment #659457 - Flags: review?(jmathies)
Attached patch Patch part.1 (obsolete) (deleted) — Splinter Review
Added some useful logs. And do you know a good method for logging GUID in GetRIIDName()?
Attachment #659457 - Attachment is obsolete: true
Attachment #659457 - Flags: review?(jmathies)
Attachment #659462 - Flags: review?(jmathies)
(In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #6) > Created attachment 659462 [details] [diff] [review] > Patch part.1 > > Added some useful logs. > > And do you know a good method for logging GUID in GetRIIDName()? Just StringFromCLSID, for example: OLECHAR* bstrGuid; StringFromCLSID((const IID)*paFilterAttrs, &bstrGuid); Log(L"RequestSupportedAttrs: clsid = %s", bstrGuid); CoTaskMemFree(bstrGuid); For a clsid name you have to manually dig through the registry.
Attached patch Patch part.1 (deleted) — Splinter Review
Thanks!
Attachment #659462 - Attachment is obsolete: true
Attachment #659462 - Flags: review?(jmathies)
Attachment #659489 - Flags: review?(jmathies)
Comment on attachment 659489 [details] [diff] [review] Patch part.1 nice.
Attachment #659489 - Flags: review?(jmathies) → review+
Attachment #659458 - Flags: review?(jmathies) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: