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

Group
 
 

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

Submitter:  Adam Fedor <fedor>
Submitted:  Fri 09 Apr 2004 02:59:19 AM UTC
   
 
Category:  Base/Foundation Severity:  2 - Minor
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group Member
Sun 11 Apr 2004 07:11:19 AM UTC, comment #1: 

Looks quite achievable with no significant performance degradation.

Richard Frith-Macdonald <CaS>
Group 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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-08-24 CaS Assigned toCaS None
    Open/ClosedIn Test Closed
2004-04-12 CaS StatusNone Fixed
    Open/ClosedOpen In Test
2004-04-11 CaS Assigned toNone CaS

Back to the top

Powered by Savane 3.13-bb6a.
Corresponding source code