Граф коммитов

3203 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com 2851ebfb56 Caused a regression in the nsLocalFile. If ResolveAndStat fails, we want
to return the NS_ERROR_FILE_NOT_FOUND value, not the NS_ERROR_FAILURE value.
a=jar.
2000-02-22 06:16:08 +00:00
colin%theblakes.com 73b0be9642 Add a debug break for OpenVMS. All changes are ifdef VMS. a=leaf 2000-02-21 22:56:55 +00:00
dougt%netscape.com 6e4324a177 Added a .get() to a comptr to make it compile on linux. 2000-02-21 22:09:24 +00:00
dougt%netscape.com 3c681f228e missed this file. 2000-02-21 21:52:18 +00:00
dougt%netscape.com 8c83662e4d 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
dveditz%netscape.com a63ee75907 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
2000-02-20 03:12:59 +00:00
rickg%netscape.com 4c704a1b1b changed 'embedded nulls' asserts to warnings in nsString 2000-02-19 09:17:49 +00:00
rickg%netscape.com 386500ccac partial fix for 23418; r=rhp; a=phil 2000-02-19 09:17:14 +00:00
rickg%netscape.com 3ed534b000 fixed PDT+ bug27954; r=buster;a=jar; precheckins ok 2000-02-18 07:47:47 +00:00
cls%seawood.org 5975077af0 More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf 2000-02-17 20:24:24 +00:00
blizzard%redhat.com 893726aa30 fix windows build bustage 2000-02-17 16:08:53 +00:00
blizzard%redhat.com 33ad4046c8 change nsIFile::Spawn to take an array of arguments instead of just a single flat string. bug #27843. r=dougt, a=chofmann. also, implement nsIFile::Normalize for unix. bug #17948. r=shaver, a=chofmann 2000-02-17 15:35:54 +00:00
scc%netscape.com 3939c51736 backing out my change 2000-02-16 15:43:55 +00:00
scc%netscape.com 408258131d I think this is the right fix for the wensleydale bustage. Added |operator*()| to |nsXPIDL[C]String|. Fixed |const|-ness of existing operators and made inline. Built and tested on Mac; if this doesn't help, I'll back it right out. r=ckritzer (I swear I'm not making this up!) 2000-02-16 15:08:55 +00:00
cls%seawood.org 8b30dc934f BeOS specific tweaks to allow the browser to compile.
Fixed configure.in to properly set developer specific debug flag under BeOS.
Added UNIX_CRASH_ON_ASSERT ifdef to stop BeOS from bring up debugger on non-abort assertions.
2000-02-16 08:06:00 +00:00
dveditz%netscape.com f620060761 registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
dveditz%netscape.com 53b59ba5c2 fixing crash at end of regexport 2000-02-16 07:39:14 +00:00
idk%eng.sun.com a99841349f Removed obsolete comments from idls. 2000-02-15 21:42:53 +00:00
idk%eng.sun.com 7be4ad9772 Updated remote-xpcom tests.
a=leilag@eng.sun.com
r=idk@eng.sun.com
2000-02-15 21:34:28 +00:00
dougt%netscape.com d8011b81b2 Optimization for shortcut resolution. r=dveditz. 2000-02-15 21:28:13 +00:00
tor%cs.brown.edu b46f9e708c Add vtable autodetection for solaris to enable use of SUNWspro5.0
compilers.  bug 20297. r=cls
2000-02-15 21:23:01 +00:00
idk%eng.sun.com 1eadd78507 Fixed typo 2000-02-15 20:15:08 +00:00
mkaply%us.ibm.com bf5f8196bc # 25555
r= jdunn@netscape.com
OS/2 changes for Mozilla
2000-02-15 15:32:46 +00:00
wtc%netscape.com 9377345e33 Bugzilla bug #27457: prepare the Windows build system for NSPR library
name change.  Define a new makefile variable LIBPLC.
Modified files:
mozilla/config/config.mak
mozilla/dom/src/build/makefile.win
mozilla/extensions/wallet/cookieviewer/makefile.win
mozilla/extensions/wallet/editor/makefile.win
mozilla/extensions/wallet/signonviewer/makefile.win
mozilla/extensions/wallet/walletpreview/makefile.win
mozilla/mailnews/import/eudora/src/makefile.win
mozilla/mailnews/import/oexpress/makefile.win
mozilla/mailnews/import/outlook/src/makefile.win
mozilla/mailnews/import/src/makefile.win
mozilla/mailnews/import/text/src/makefile.win
mozilla/netwerk/protocol/jar/src/makefile.win
mozilla/profile/Acctidl/makefile.win
mozilla/profile/src/makefile.win
mozilla/xpcom/sample/makefile.win
2000-02-15 14:35:15 +00:00
jband%netscape.com f7d4f7b82f help with bug 8700 (at least in profiling it) by paying the cost of loading the xpt files early on before JSContexts are created 2000-02-15 06:45:30 +00:00
dveditz%netscape.com 524f11871b fixing mac and unix bustage 2000-02-15 02:29:53 +00:00
dveditz%netscape.com b2f59b60b4 fixing windows bustage 2000-02-15 02:11:26 +00:00
dveditz%netscape.com 9172024f8e New wstring nsIRegistry interface, bug 23859;
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)
2000-02-15 01:32:12 +00:00
scc%netscape.com c392d0dde8 Added "nsISupportsIterators.idl", r=danm 2000-02-14 06:52:18 +00:00
danm%netscape.com 3201b9c811 adding nsISupportsIterators.idl for scc 2000-02-14 06:38:22 +00:00
rickg%netscape.com 050c633ce6 major perf mods for bug 27524, and removed deprecated methods; r=harishd 2000-02-13 17:46:15 +00:00
rickg%netscape.com 4e97c0877e fixed off-by-one error; r=harishd 2000-02-13 17:45:01 +00:00
dveditz%netscape.com 41d2b2b563 closing the file used by the registry service is evil 2000-02-13 17:32:19 +00:00
scc%netscape.com 18df765f41 wrapped |nsCOMPtr| vs. raw pointer comparisons in a |#ifndef| for |NSCAP_NSCOMPTR_TO_RAW_COMPARISONS_ARE_AMBIGUOUS| which is currently not defined. When an autoconf test defines this symbol, these operators will go away, and Linux will never be bit by the |nsCOMPtr| can't compare to a raw pointer error. Currently, there is no effect. r={mjudge,rginda} 2000-02-12 23:30:52 +00:00
danm%netscape.com 70a674879d just immortalizing some debugging gunk i recently found useful. hidden completely behind ifdefs normally opaque. 2000-02-12 00:27:57 +00:00
rickg%netscape.com 5480bb3143 fixing tiny menu bug by backing out partial update to nsStr; r=none 2000-02-11 16:21:53 +00:00
rickg%netscape.com 068f9e1da3 added return type on new method 2000-02-11 15:19:17 +00:00
scc%netscape.com 84639d6d3b First Checked In. 2000-02-11 14:32:11 +00:00
rickg%netscape.com 4d12935e0e fixed25049; r=harishd 2000-02-11 12:11:03 +00:00
scc%netscape.com f4f8cc503e Somebody is |#include|ing this file inside an |extern "C"| declaration. This is wrong, and stops the build on some platforms. In the meantime, protect the new template declarations to stop the build bustage. 2000-02-11 08:38:14 +00:00
scc%netscape.com b7de524c75 Fixed up |NS_IF_ADDREF| to support the following use efficiently in the non-logging case NS_IF_ADDREF(*result = mFoo); as per bug #27343. r=jband (Actually, I like the generated error better when I make this small modification to the template) 2000-02-11 07:12:02 +00:00
scc%netscape.com d581aa9adf Fixed up |NS_IF_ADDREF| to support the following use efficiently in the non-logging case NS_IF_ADDREF(*result = mFoo); as per bug #27343. r=jband 2000-02-11 07:07:57 +00:00
dougt%netscape.com be8b07f605 checking in makefile to build the interface nsIDirectoryService 2000-02-11 05:12:20 +00:00
dougt%netscape.com ec95c74bd3 removing unneed file. r=smfr. 2000-02-11 05:09:18 +00:00
sfraser%netscape.com 076c4c928f Add nsIDirectoryService.idl for doug. r=dougt. 2000-02-11 05:09:04 +00:00
mccabe%netscape.com 6c37c5d9ad Switch from using cached-and-refcounted nsIAllocator to linking directly to nsAllocator, as we're in the same DLL. Also turn some freecoded memcpy sequences into calls to nsAllocator::Clone
r=jband
2000-02-11 05:08:10 +00:00
dougt%netscape.com c971d059e6 first checking 2000-02-11 05:04:53 +00:00
dougt%netscape.com 786d739d67 Fix from warren to check for the return val of Clone.
Also adding extra ('s around a arguably confusing if statement
r=warren
2000-02-11 04:50:23 +00:00
scc%netscape.com c0e8f62fdd bug #25621: shouldn't add a |NULL| atom to the hashtable. r=beard 2000-02-11 01:59:55 +00:00
scc%netscape.com 4addda4681 Added |NS_ISUPPORTS_CAST()|. Added |NS_DebugGetRefCount()| as per bug #26803. r={pinkerton, hyatt} 2000-02-11 01:42:58 +00:00
rhp%netscape.com 58322257df Fix to escape quotes along with the other special characters - Bug #: 27039 - r: bienvenu 2000-02-11 01:32:20 +00:00
nhotta%netscape.com ff36f4f489 Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang. 2000-02-11 01:08:56 +00:00
colin%theblakes.com b7dc0ab46a Only a read of 0 means EOF. r=dougt 2000-02-11 00:50:58 +00:00
colin%theblakes.com 990f93bd5d Make filespec comparisons case-blind for OpenVMS. Fix build problem for OpenVMS. r=dougt 2000-02-10 10:54:55 +00:00
dp%netscape.com 11c836772b Fixing build bustage. 2000-02-09 08:47:51 +00:00
dougt%netscape.com 344d3e79cc Making unix act like the rest of the platforms. It now return zero for the
size if the nsIFile is really a directory.
2000-02-09 08:09:35 +00:00
dougt%netscape.com 359cd1e026 Remove double hash lookup.
Added extra add ref to cache
r=jband (submitted by him)
2000-02-09 08:08:20 +00:00
dougt%netscape.com 48219cc034 Fix for bug 26732. r=danm. event queue need to be able to init a plevent 2000-02-09 02:28:51 +00:00
dp%netscape.com 346ad8dd16 Bg 26937, bug 26759 Enforcing close of the registry before open of a
different registry file. r=dveditz
2000-02-08 21:50:54 +00:00
dp%netscape.com 547fc64bf2 Bug 26937 Added ApplicationRegistry. r=dveditz 2000-02-08 21:49:40 +00:00
warren%netscape.com b7449ea004 Fix for code generation problem in VC6 optimized builds. Discovered with MOZ_PROFILE=1 and MOZ_DEBUG undefined. The variable 'dll' seems to get wiped out by the assignment of 'res' (aliased together). r=scc,dp 2000-02-08 11:45:40 +00:00
dougt%netscape.com aa9a6b79c3 Fix for bug 26816. submitted by bns_robson@hotmail.com. windows only.
memory leak fix.
2000-02-08 04:25:00 +00:00
jdunn%netscape.com 6f3fd0364d r= scc@netscape.com
The AIX compiler doesn't like the declaration of variables in an IF statement
so I have broken them out.
2000-02-08 03:34:27 +00:00
jband%netscape.com 05ee3cbb16 Checking in patch from Brian Fundakowski Feldman <green@FreeBSD.org> to get xptcall working on newer versions of FreeBSD. r=jband@netscape.com r=blizzard@mozilla.org 2000-02-08 02:44:13 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
scc%netscape.com 424433c86b bug #25621: didn't check for null before |AddRef()|. Converted |NS_ADDREF|-->|NS_IF_ADDREF|. No code review. 2000-02-07 10:05:14 +00:00
scc%netscape.com 18d254421b enable the |ASSERT_NO_QUERY_NEEDED| tests for the |getter_AddRefs()| case as well. bug #26420, r=dougt 2000-02-06 21:17:51 +00:00
dveditz%netscape.com 2f965c4c8d added quoting so we can execute windows files with spaces in their names -- such as anything in a subdir of 'Program Files' 2000-02-06 10:09:16 +00:00
scc%netscape.com 2c402f0276 Oops, need to call |initialize()|. More comments. Fix over-zealous |AddCategoryEntry()|. r=sspitzer 2000-02-06 08:26:13 +00:00
sspitzer%netscape.com b8a3418dbc fix the cookie / news component registry problem.
the problem was mRegistry was null, so we'd fail when calling persist().
2000-02-06 05:43:38 +00:00
sspitzer%netscape.com 9c471e00e3 prevent crash, return if mRegistry is null. 2000-02-06 05:25:38 +00:00
scc%netscape.com 40e6c21251 #include "nsCategoryManager.h", and hook it up as a service. That's it, I think. bug #26011; r={waterson,sspitzer} 2000-02-06 02:02:24 +00:00
scc%netscape.com a1a46ff8ac Added factory, and factory constructor function to get this thing hooked up. That's it, I think. bug #26011; r={waterson,sspitzer} 2000-02-06 02:01:39 +00:00
sspitzer%netscape.com 484b02b81d scc rewrote this in C++. r=scc 2000-02-06 01:21:35 +00:00
sspitzer%netscape.com f218d5ba48 stop building nsCategoryManager.js and start building nsCategoryManager.cpp
on linux and windows
2000-02-06 01:19:28 +00:00
scc%netscape.com 8ec74054ea fixing bustage, omitted result type 2000-02-06 01:16:32 +00:00
sspitzer%netscape.com c6c8dddea7 fix warnings, make it build on linux. 2000-02-06 01:12:47 +00:00
scc%netscape.com 370c83f3bd Added "nsCategoryManager.cpp", as per bug #26011 2000-02-06 01:07:44 +00:00
scc%netscape.com 7926e52ab7 Adding the CID, progID, etc., so I can get the C++ version registered as a service. r=waterson 2000-02-06 01:01:08 +00:00
scc%netscape.com dd34a34e7d Adding the CID, progID, etc., so I can get the C++ version registered as a service. r=waterson 2000-02-06 00:57:11 +00:00
scc%netscape.com b3649364e4 Eliminating duplicate macros, r=dougt 2000-02-05 23:55:09 +00:00
sspitzer%netscape.com de68eeaf83 nsIServiceProvider.h doesn't exist anymore 2000-02-05 09:56:55 +00:00
risto%netscape.com f5da0acb64 One more URL change
r=sspitzer
2000-02-05 09:10:10 +00:00
scc%netscape.com e72a4548f8 finished filling in |AddCategoryEntry|. Now all I have to do is get the thing registered and instantiated 2000-02-05 07:58:56 +00:00
scc%netscape.com 252cd72a5d fixed tabs, added registry loading code, some comments... almost ready to go 2000-02-05 07:42:30 +00:00
risto%netscape.com 65c0d3c80a Changing all cvs-mirror.mozilla.org references to point to politically
correct addresses, for example tinderbox.mozilla.org, lxr.mozilla.org or
bonsai.mozilla.org. cvs-mirror shouldn't use in URLs anymore because it's
now on different server.

r=bryner
2000-02-05 07:23:36 +00:00
scc%netscape.com d770b51a5b First Checked In. 2000-02-05 06:19:49 +00:00
sspitzer%netscape.com 1c71fea64a export nsCategoryManager.js 2000-02-05 05:22:19 +00:00
jband%netscape.com 2d23e17518 fix test bustage due to typo in JS code. This was a known problem that I could have SWORN that shaver checked in a fix for 2000-02-05 04:42:04 +00:00
warren%netscape.com 1adb95c763 Pulled out NS_MeanAndStdDev as an xpcom exported function for convenience. 2000-02-05 02:07:45 +00:00
dougt%netscape.com 7734ccb1d7 Fix for bug 26420. r=scc@netscape.com 2000-02-04 23:14:27 +00:00
sdagley%netscape.com 8bb810068e Added comment warning that the file size attribute only deals with the data fork on the Mac and point to Mac specific interface for dealing with the size of the combined forks. r=none as this is just cleanup. 2000-02-04 23:06:56 +00:00
dougt%netscape.com b6f0b9e262 Empowering the world. Bug. 25374, basically we create a directory without
the correct permission.
r=racham&&mozbot.
2000-02-04 22:57:37 +00:00
mscott%netscape.com 83547ed348 Back out the changes to the pipe code to fix regression bugs: 26533 and one i forgot the number of. =)
r=warren
a=leaf
2000-02-04 21:45:46 +00:00
warren%netscape.com cd6e6d6513 Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott 2000-02-04 08:33:17 +00:00
sdagley%netscape.com 8e7fc7d323 nsLocalFileMac work. Added GetFileSizeWithResFork() method for callers that need to account for the total size of a Mac file (GetFileSize() only returns the size of the data fork). r=pinkerton 2000-02-04 07:17:36 +00:00
sdagley%netscape.com 9419bc40eb For now nsLocalFileMac::GetFileSize should only return the size of the file's data fork to be compatible with other places in the code that make that assumption. r=saari 2000-02-04 05:26:00 +00:00
sgehani%netscape.com bdb0774998 Fix for XPInstall horkage on the Mac. b = 26327 r = dougt a = leaf 2000-02-03 21:06:35 +00:00
sfraser%netscape.com d4887789f0 Test that the filespec has been initialized, before using it to delete entire directory trees. Blocker. r=Ben_Goodger, a=leaf 2000-02-03 20:49:40 +00:00
warren%netscape.com 8d80a7196e Added NS_IMPL_ISUPPORTS_INHERITED3 macro. 2000-02-03 08:51:30 +00:00