bugGNUstep - Bugs: bug #8504, +[NSUserDefaults userLanguages]...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8504: +[NSUserDefaults userLanguages] does not update

Submitted by:  Adam Fedor <fedor>
Submitted on:  Fri 09 Apr 2004 02:59:19 AM UTC  
 
Category: Base/FoundationSeverity: 2 - Minor
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 24 Aug 2004 08:29:25 AM UTC, comment #3:

No feedback in four months ... I'm assuming this is OK now.

Richard Frith-Macdonald <CaS>
Project Member
Mon 12 Apr 2004 05:02:01 AM UTC, comment #2:

I have fixed this. In doing so, I also reorganised the code to make startup quicker by avoiding an unnecessary read of the defaults database and made some other performance tweaks. I added a coupe of testcases for user languages.
However, as I only use English as my language, and the interaction between the +userLanguages and +standardUserDefaults methods is complex, I've marked this as 'in test' rather than 'closed' ... I hope people can try it out throughly in case I've introduced some bug.

Richard Frith-Macdonald <CaS>
Project Member
Sun 11 Apr 2004 07:11:19 AM UTC, comment #1:

Looks quite achievable with no significant performance degradation.

Richard Frith-Macdonald <CaS>
Project Member
Fri 09 Apr 2004 02:59:19 AM UTC, original submission:

+userLanguages caches the NSLanguages default value on initialization, so that any future updates via +setUserLanguages or by changing the NSLanguages default doesn't do anything.

I guess it could not be cached, but does that cause a performance hit?

Adam Fedor <fedor>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 24 Aug 2004 08:29:25 AM UTCCaSAssigned toCaS=>None
  Open/ClosedIn Test=>Closed
Mon 12 Apr 2004 05:02:01 AM UTCCaSStatusNone=>Fixed
  Open/ClosedOpen=>In Test
Sun 11 Apr 2004 07:11:19 AM UTCCaSAssigned toNone=>CaS

Back to the top


Powered by Savane 3.1-cleanup1