[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: |
Mon, 12 Apr 2004 01:02:02 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1 |
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:
Mon 04/12/04 at 05:02 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | In Test
------------------ Additional Follow-up Comments ----------------------------
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.
/**************************************************************************/
[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
Assigned to: CaS
Status: In Test
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: Mon 04/12/04 at 05:02 By: 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: 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/