Commit Graph

114 Commits

Author SHA1 Message Date
inaky.gonzalez@intel.com
0d7bc5437b Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren
2000-06-06 22:06:56 +00:00
mkaply@us.ibm.com
8fce587503 # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only
2000-05-25 14:26:34 +00:00
mkaply@us.ibm.com
d55ba857d9 # 37239
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2
2000-05-01 22:25:44 +00:00
dougt@netscape.com
51a9b1d0cf Patch from Tim Rowley <tor@cs.brown.edu>.
From his email:

Your checkin v1.9 to nsDirectoryService.cpp broke a SUNWspro4.2
debug build of mozilla, causing xpcom to fail initializing.  The
root problem was that nsDirectoryService::Create() was failing.
This appears to a mistake caused by a shadowed copy of the "rv"
variable in that method.  The fix below causes the SUNWspro build
to start up normally.

Not sure why this didn't break other platforms.
2000-04-26 21:37:45 +00:00
sspitzer@netscape.com
f546406f86 fix the threadsafe assertion. 2000-04-25 14:56:59 +00:00
dougt@netscape.com
3fc578391d checked in warren's patch to remove circular memory leak in directory service
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.
2000-04-25 01:48:02 +00:00
dougt@netscape.com
7ed141edb7 Adding xpcom.currentProcess 2000-04-24 22:54:04 +00:00
dbragg@netscape.com
8476aba9b1 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile 2000-04-20 22:49:18 +00:00
dougt@netscape.com
0b9b815d00 Added a .get() to a comptr to make it compile on linux. 2000-02-21 22:09:24 +00:00
dougt@netscape.com
90c5c0e363 Fixes for 28257, 21628, 27076, 18186, 25584
1) Implement nsDirectoryService.  This makes the service extensible so that
components can do delayed registration.

2) Fixes windows Append meathod which did not work with . prepended files.

3) Fixes memory leaks in nsDirectoryService

4) Fixes SetPermissions() on Win32.  This was in my tree for a while.  It basically
calls through to chmod just like on unix.

5) Fixes GetModificationDate. Win32 now return PRTime for dates.

r = scc, valeski, warren, wtc (suggestions)
a = jevering
2000-02-21 21:51:47 +00:00
beard@netscape.com
8f839290bb bustage fix. r=dougt 2000-01-25 22:35:47 +00:00
ssu@netscape.com
7f5d3559b2 Fixing up directory service so that the current process will be looked up
before being calculated.

Changed this GetProcessDirectory to return an allocated nsIFile.

Making sure that object stored in the nsHashtable are not muteable.

dougt's changes.  r=ssu.  a=granrose.
2000-01-25 20:43:47 +00:00
dougt@netscape.com
d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
dougt@netscape.com
059ed9f7e4 1. First cut of a Special System Directory replacement (nsDirectoryService).
It is a nsIProperty.

2. Updates to the nsIFile and nsILocalFile interfaces based on conversations
   with warren. (thanks)

3. Updated windows mac and unix implementations based on interface changes.
   Mac and windows changes need to be reviewed.


                          Not part of build.
1999-12-22 01:56:45 +00:00