Closed
Bug 36965
Opened 25 years ago
Closed 24 years ago
Preferences should use nsIFile
Categories
(SeaMonkey :: Preferences, defect, P3)
SeaMonkey
Preferences
Tracking
(Not tracked)
VERIFIED
FIXED
M18
People
(Reporter: dougt, Assigned: alecf)
References
Details
(Whiteboard: Fix in hand)
In many places prefs uses nsFileSpec which is no longer supported
nsPref:
NTDLL! 77f7629c()
nsDebug::Assertion(const char * 0x100bb474, const char * 0x100bb470, const char
* 0x100bb444, int 0x0000033c) line 191 + 13 bytes
nsFileSpec::nsFileSpec() line 828 + 34 bytes
nsFileLocator::GetFileLocation(nsFileLocator * const 0x00d16a40, unsigned int
0x00010013, nsIFileSpec * * 0x0012fc5c) line 606
pref_InitInitialObjects() line 1226 + 61 bytes
PREF_Init(const char * 0x00000000) line 463 + 5 bytes
nsPref::StartUp(nsPref * const 0x00ccb4d0) line 306 + 7 bytes
nsPref::GetInstance() line 271
Assignee | ||
Comment 1•25 years ago
|
||
I'd like to propose a transitional method to do this, so that we have
GetPathPref and GetFilePref() at the same time, and phase out GetPathPref - the
reason is that all mail paths originate from GetPathPref, so switching to
nsIFile is going to be a big task for mail.
Adding putterman to the list because he expressed interest in this.
argh... didn't work the last time. pardon the spam. ->mcafee
Assignee: neeti → mcafee
Component: Preferences: Backend → Preferences
Assignee | ||
Comment 4•24 years ago
|
||
I've started to work on this in my local tree, I'll try to post a patch here in
the next few days.
Comment 5•24 years ago
|
||
back to alecf, post patch and pass on to
dveditz if necessary.
Assignee: mcafee → alecf
Comment 6•24 years ago
|
||
moving to M18 for the moment? How important is this that this gets in this release?
Target Milestone: --- → M18
Assignee | ||
Comment 7•24 years ago
|
||
nominating for nsbeta3 - the fewer consumers of nsIFileSpec, the smaller the
bloat.
Status: NEW → ASSIGNED
Keywords: nsbeta3
Assignee | ||
Comment 8•24 years ago
|
||
I have this ready in my tree.
Thanks to conrad@ingress.com for adding the persistent file descriptor to
nsILocalFile
Whiteboard: Fix in hand
Assignee | ||
Comment 9•24 years ago
|
||
cc'ing conrad because he's working with the patch right now
Assignee | ||
Comment 10•24 years ago
|
||
ok, the new API is in, temporarilyi as getFileXPref and setFileXPref
When conrad and I have converted all consumers, I'll swap in the new APIs.
Assignee | ||
Comment 11•24 years ago
|
||
actually, I'm going to mark this fixed because the conversion will happen in bug
42102
Comment 12•24 years ago
|
||
marking fixed, as i assumed alecf meant to do (bugzilla coulda been have its
usual fits, so mighta missed your change. :-)
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•24 years ago
|
||
heh, I forget to do that all the time...
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•