Closed Bug 240272 Opened 21 years ago Closed 20 years ago

prefLabel should be saved in the 'native' code in registry (bug 232969) patch

Categories

(Firefox :: General, defect, P3)

x86
Windows XP
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jshin1987, Assigned: jshin1987)

References

Details

(Keywords: fixed-aviary1.0, intl)

Attachments

(4 files, 1 obsolete file)

While waiting for sr in bug 232969, firefox code has changed. I'm filing a new bug on the issue for firefox alone.
Assignee: firefox → jshin
*** Bug 237922 has been marked as a duplicate of this bug. ***
Blocks: 241602
We have to change browser\components\shell\src\nsWindowsShellService.cpp All regkey functions use const char* :( I wish someone to make it like http://bugzilla.mozilla.org/attachment.cgi?id=144288&action=view ...
I'm changing Requestee to "?". This bug is important for non-ASCII environment. And I think this is fixed easy.
Flags: blocking1.0?
I'll make sure this will be fixed in 1.0. I can make an ad-hoc patch rather easily, but I'm a bit reluctant to duplicate quite a lot of code. This bug is one of bugs that involves 'A' APIs vs 'W' APIs (see bug 162361 for the most prominent example) and we need to make a decision as to what to do (keep on adding ad-hoc patches or assume that MSLU is available everywhere and turn to 'W' APIs once and for all). Judging from the way bug 162361 has been handled so far, I guess I have to resort to 'the old trick' once more here.
Status: NEW → ASSIGNED
Keywords: intl
I can fix this bug the way I fixed bug 232969, but if we can take advantage of MSLU, it will simplify things greatly.
Depends on: mzlu
I agree to make advanced mechanism for Unicode. But I don't think that Bug 239279 will be able to be fixed before firefox 1.0. Firefox 1.0 should not have this bug. This bug is _not_ major. However I think that this bug is important. Such bugs give the wrong impression to non-ASCII users. # Such bugs are very conspicuous. I hope this bug is fixed before '1.0'. Even if the patch is not best.
While trying to fix bug 239279, I'll make a _minimal_ patch for this bug that will make Japanese characters work under Japanese locale (but not under non-Japanese locale, e.g. French locale).
Attached patch patch (obsolete) (deleted) — Splinter Review
This patch makes Japanese string work on Japanese windows but non on French Windows. For that, I need to do one of two: 1) detect the OS (win2k/xp vs Win9x/ME) and use either 'A' or 'W' APIs accordingly (as was done in bug 232969) 2) use 'W' APIs exclusively assuming MSLU is present (see bug 239279). I prefer the latter to the former, but that means I have to wait until bug 239279 is resolved. In the mean time, this patch should cover important cases.
Nakano-san, can you test my patch on Windows XP? If you can't build, can you ask someone else at mozilla-jp to build and test it?
Attached patch update (deleted) — Splinter Review
I'm sorry there was a mistake in the previous patch although it may have just worked. Please, try this one instead.
Attachment #151651 - Attachment is obsolete: true
I tested. JLP for 0.9.1-branch-build doesn't exist, and so I rewrite 'en-US\browser\shellservice.properties' directly. In this case, the patch works fine.
Comment on attachment 151672 [details] [diff] [review] update asking for r. This should also go in for 0.9branch as well as aviary-1.0 branch
Attachment #151672 - Flags: review?(bryner)
Flags: blocking-aviary1.0RC1+
Flags: blocking-aviary1.0?
Flags: blocking-aviary1.0+
Comment on attachment 151672 [details] [diff] [review] update let's try Blake for r.
Attachment #151672 - Flags: review?(bryner) → review?(firefox)
Comment on attachment 151672 [details] [diff] [review] update one more try.
Attachment #151672 - Flags: review?(firefox) → review?(bryner)
Comment on attachment 151672 [details] [diff] [review] update s/For the now/For now/ and r=bryner.
Attachment #151672 - Flags: review?(bryner) → review+
The current tree has the following: exeName = Substring(appPath, n + 1, appPath.Length() - (n - 1)); where 'n' is the offset of the last '\' in appPath. I didn't change it in my patch (attachment 151672 [details] [diff] [review]). However, it seems that there is an off-by-two error. The above line should be exeName = Substring(appPath, n + 1, appPath.Length() - (n + 1)); Perhaps, we're lucky not to have any trouble so far.
this contains the fix for the off-by-two error only (against the trunk). attachment 151672 [details] [diff] [review] + this patch + caling sequence change for SetRegKey introduced on June 30th = attachment 154624 [details] [diff] [review] Just in case I'm missing something, Nakano-san, can you apply this to the trunk source and see if it works well.
is this fix ready for the aviary branch? -thx
Comment on attachment 154626 [details] [diff] [review] fix for the off-by-two error (against the trunk) asking for r. this should be the right thing to do.
Attachment #154626 - Flags: review?(bryner)
Comment on attachment 154626 [details] [diff] [review] fix for the off-by-two error (against the trunk) r=ben@mozilla.org jshin, which of these patches are landed on the aviary br? can you land asap?
Attachment #154626 - Flags: review?(bryner) → review+
Attached patch for aviary 1.0 branch (deleted) — Splinter Review
There have been a couple of trivial changes due to which attachment 154624 [details] [diff] [review] can't be applied cleanly to aviary 1.0 branch. This should just work, but I'm away from my Windows 2k box so that I can't compile it (I don't have an XP so that I can test it). Nakano-san, can you test it on aviary-1.0 branch on Windows XP? If I dont' hear from you until 7:59am US PDT Tuesday(= 11:59 pm +0900/JST/KST Tuesday), I'll just go ahead.
checked into aviary-1.0 branch
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: fixed-aviary-1.0
Keywords: fixed-aviary1.0
Whiteboard: fixed-aviary-1.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: