bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #8504] +[NSUserDefaults userLanguages] does not update


From: Richard Frith-Macdonald
Subject: [bugs #8504] +[NSUserDefaults userLanguages] does not update
Date: Tue, 24 Aug 2004 04:34:07 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) Gecko/20040802 Debian/1.7.1-5

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #8504] Latest Modifications:

Changes by: 
                Richard Frith-Macdonald <rfm@gnu.org>
'Date: 
                Tue 08/24/04 at 08:29 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | CaS                       | None
              Status | In Test                   | Closed


------------------ Additional Follow-up Comments ----------------------------
No feedback in four months ... I'm assuming this is OK now.






/**************************************************************************/
[bugs #8504] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8504>
Project: GNUstep
Submitted by: Adam Fedor
On: Fri 04/09/04 at 02:59

Category:  Base/Foundation
Severity:  3 - Ordinary
Item Group:  Bug
Resolution:  Fixed
Privacy:  Public
Assigned to:  None
Status:  Closed


Summary:  +[NSUserDefaults userLanguages] does not update

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?

Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 08/24/04 at 08:29         By: Richard Frith-Macdonald <CaS>
No feedback in four months ... I'm assuming this is OK now.

-------------------------------------------------------
Date: Mon 04/12/04 at 05:02         By: Richard Frith-Macdonald <CaS>
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.


-------------------------------------------------------
Date: Sun 04/11/04 at 07:11         By: Richard Frith-Macdonald <CaS>
Looks quite achievable with no significant performance degradation.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8504>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]