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

3125 Коммитов

Автор SHA1 Сообщение Дата
sfraser%netscape.com a3536e8c1d Add nsTextFormatter.h, for sford 2000-01-17 22:12:12 +00:00
sford3%swbell.net ab6a38b233 Beginning of work on 16951, not part of build yet 2000-01-17 06:33:59 +00:00
beard%netscape.com ccbba8bc22 bug fix for bug #11199, should remove partially created output file. 2000-01-17 04:13:05 +00:00
dougt%netscape.com 781a91974d fixes bug 24122. submitted by beard. 2000-01-16 23:30:33 +00:00
briano%netscape.com 9506fe0682 Replaced MOZ_COMPONENT_XPCOM_LIBS with MOZ_COMPONENT_LIBS so we pick up the NSPR libs as well. Fixes a couple of ignored platform Tinderbox builds. 2000-01-16 22:52:57 +00:00
dougt%netscape.com 4090a10b2b Making event handler callbacks static.
removing lock during XPT invoke

suggested by jband.  bug 18110.
2000-01-14 05:03:29 +00:00
jst%citec.fi eeccc4859d Fixing copying of wstring argument, this fixes the problem with only the first character of some status messages showing up in the browser. This fix also eliminates one string copy. r=dougt@netscape.com, a=mozbot. 2000-01-14 00:06:57 +00:00
norris%netscape.com b0ba1f5b70 Fix 18592 Fix example: XPCom components cannot be used under
r=mstoltz
2000-01-14 00:03:46 +00:00
jdunn%netscape.com 2a12ec9360 use C style comments and not C++
r= scc@netscape.com
a= leaf@mozilla.org
2000-01-13 23:06:47 +00:00
jband%netscape.com 8ebdc7fd46 Fix to deal with arrays of interface pointers. r=mccabe 2000-01-13 05:54:40 +00:00
scc%netscape.com a2dea03069 macros and defs to removed conditional definition of |GetIID()| within |nsISupports|. r=beard, (waterson?), bug=10477 2000-01-13 05:48:47 +00:00
pinkerton%netscape.com 153998843d fix the case where the char stream impl reallocated its buffer to accomodate data > 256 bytes. mLength wasn't set (at all) so the memcpy() copied nothing into the new buffer. 2000-01-13 02:00:57 +00:00
scc%netscape.com 0fc0a0709f factor the |IMPL_QUERY| macros to support inheriting |QueryInterface|. Redefine all the |NS_IMPL_ISUPPORTSn| macros in terms of the table-style macros. r={pinkerton, sfraser} 2000-01-12 16:01:14 +00:00
mccabe%netscape.com 07b2669fa3 Reinstating backed-out fix to 20833 from earlier, this time with a change that seems to work on solaris and mac. 2000-01-12 13:33:40 +00:00
mccabe%netscape.com 56eb32a7ae Reverting const-generation code that seems to be trouble for Solaris. 2000-01-12 03:34:30 +00:00
sfraser%netscape.com af46cbd1b9 Fixing bustage by ensuring that xpidl_utils.c is only in the compiler target. r=mccabe 2000-01-12 03:09:33 +00:00
mccabe%netscape.com e3377a41b5 changing #include "xpt_stuct.h" to <xpt_struct.h> b/c I don't think Mac is finding the file. 2000-01-12 02:48:06 +00:00
mccabe%netscape.com 98fc705a06 added files: mozilla/xpcom/typelib/xpidl/xpidl_util.c 2000-01-12 01:47:05 +00:00
mccabe%netscape.com 4c9d90c5c7 Batched set of fixes to xpidl. NOTE this'll probably cause the world to rebuild.
* fix 20833 - generate numbers of appropriate form in header output mode for short, long, signed or unsigned IDL consts.  Thanks to bratell@lysator.liu.se for finding this and confirming the fix.

* fix 11199, remove .h output file on failure - partially generated files caused trouble, as they had the proper timestamp to fool 'make' next time around. Punted on mac.

* Restore Mac hack to fix \r to \n, requested by Beard.

* Make 'const decl must be short or long' warning into error for typelib mode.  This mirrors an existing error in header mode.

* Fix up various aspects of xpidl, including:

- Move shared functions from xpidl_idl.c and xpidl.c 'main' module to new xpidl_util.c.

- Recast nodehandler-table-per-backend as 'backend' struct, including broken-out prolog and epilog functions.  Replaces overloaded IDLN_NONE node handler that did prolog code on non-null tree, epilog on null.  Move backends to new API.

- Rename a few structs more logically.

- Add a new list to track files included from the base .idl file, for generated #includes in output header file.  This replaces using the 'already-included' hashtable for this purpose, and lets us generate just the minimal set of #includes, in the order they occured in the .h file.

- Various fixes to quiet xpidl warnings.

- Change main() to only accept one input file from the command line, because the basename code assumes this, and multiple files aren't needed by our make system.

r=jband
2000-01-12 01:46:21 +00:00
dougt%netscape.com 0a65311418 locking nsProxyObject before calling XPT_InvokeByIndex()
locking maps for entire GetNewOrUsedClass() process.
locking maps while trying to Find an IID off of a Root.
locking when removing from RealObjectToProxyObjectMap

I am hoping that this will fix some of the SMP problems, namely 21556.

r=mccabe.
2000-01-12 01:26:11 +00:00
jdunn%netscape.com 370313154b Fix slamm's warnings of shadowing previous variables.
r= rhp@netscape.com
r= warren@netscape.com
r= rpotts@netscape.com
2000-01-12 00:54:10 +00:00
dp%netscape.com 2df47b0c6d Implementing access to servicemanager from component manager via
nsIInterfaceRequestor. r=scc
2000-01-11 22:54:46 +00:00
dp%netscape.com 331dbeb0cd Providing register and unregister hook per component in the generic
module. r=alecf
2000-01-11 21:18:55 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
cls%seawood.org 4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
jdunn%netscape.com cb0c532e85 Fix base class specifiers, since be default if they aren't specified it is Private
# 23237
r= warren@netscape.com, ftang@netscape.com, jband@netscape.com
2000-01-11 01:45:34 +00:00
warren%netscape.com cf1e6b2be9 Added NS_IMPL_AGGREGATED_QUERY_HEAD macro. 2000-01-10 23:14:32 +00:00
dp%netscape.com 61b99b3b63 On Shutdown let servicemanager be available until the xpcom shutdown
observers are notified.
2000-01-10 21:26:56 +00:00
dp%netscape.com d6283aff87 Adding comments to explain shutdown further. 2000-01-10 21:26:00 +00:00
duncan%be.com be3945ad99 Fix BeOS build by making changing nsResProtocolHandler.cpp like
Windows and Mac, and fix a couple nsSpecialSystemDirectory bugs.
All the changes are BeOS specific (i.e. wrapped in XP_BEOS or
only used by code wrapped in XP_BEOS).
r=mcafee
2000-01-08 09:09:02 +00:00
waterson%netscape.com c89ee29031 Bug 23297. Munged patch from Franz.Sirl-kernel@lauterbach.com; simplify and clean up code. r=waterson or r=Franz.Sirl-kernel@lauterbach.com, depending on how you look at it. 2000-01-08 00:30:08 +00:00
jband%netscape.com bbb40e6dd7 Allow generic module stuff to work with singletons. Needed to fix bug 22922. r=dp 2000-01-07 02:18:13 +00:00
warren%netscape.com 91ee8e32c4 Fixed Has method as per Doug's request. 2000-01-06 23:02:32 +00:00
waterson%netscape.com 619d700ee4 Bug 21472. Use only strict relationals with LL_CMP(). r=brendan 2000-01-06 20:22:29 +00:00
dougt%netscape.com d887958ad4 fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
on the mac. r= sdagley
2000-01-06 20:08:14 +00:00
dougt%netscape.com bfc6760bd6 Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt. 2000-01-06 19:46:44 +00:00
briano%netscape.com 35a9a5201b Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently. 2000-01-06 03:06:22 +00:00
briano%netscape.com 890a0d3da8 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +00:00
mscott%netscape.com 1ec9e54be0 someone removed nsIServiceProvider.h from the build and didn't remove it from mac and unix makefiles!!! Shame on you... Fixing the build breakage on the mac. 2000-01-06 01:36:00 +00:00
mcafee%netscape.com 5f6a9e7799 Fixing linux bustage. 2000-01-06 01:16:42 +00:00
mcafee%netscape.com 29f5443a16 plvector.c is a C file, this was linking incorrectly on optimized solaris. r=briano 2000-01-06 01:12:25 +00:00
edburns%acm.org 13be6d7ebf I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
warren%netscape.com 359bfe3062 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
warren%netscape.com b17760cea8 Added .get() to fix unix breakage. 2000-01-05 10:59:25 +00:00
warren%netscape.com 570a306175 Obsoleted old file. 2000-01-05 10:27:32 +00:00
warren%netscape.com 54dd55cddc Made nsIProperties scriptable. 2000-01-05 09:33:43 +00:00
warren%netscape.com 06918ca494 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren%netscape.com e07863e48c Added OnClose method to nsIPipeObserver (bug#23080) 2000-01-05 05:07:46 +00:00
sdagley%netscape.com a3cedcb874 Fix build bustage - warren obsoleted nsPipe2.h but didn't update the manifest 2000-01-05 04:57:12 +00:00
warren%netscape.com 6fee6622fd Removed nsPipe2.h -- obsolete. 2000-01-05 03:56:47 +00:00
dougt%netscape.com bbba930444 *** empty log message *** 2000-01-04 00:50:08 +00:00
sspitzer%netscape.com 3a7dedd313 turn off assertions until dougt fixes #22943. r=dougt 2000-01-04 00:14:37 +00:00
dougt%netscape.com a3dfcdfd49 Adding explict includes. 2000-01-03 23:50:19 +00:00
blizzard%redhat.com d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
warren%netscape.com 538b2ca40f Breaking out persistent properties from nsIProperties.h. 1999-12-29 20:55:42 +00:00
warren%netscape.com 9531c0b6ae Added nsIStopwatch for timing analysis. 1999-12-29 20:54:13 +00:00
warren%netscape.com c3c3652080 Added new logging service to replace PR_LOG. 1999-12-29 20:53:17 +00:00
bryner%uiuc.edu 717cbdd7e2 Fix a warning. r=mcafee. 1999-12-28 20:26:56 +00:00
sspitzer%netscape.com fbd97e9856 fix warnings. 1999-12-28 19:37:29 +00:00
sspitzer%netscape.com 17c627bc23 fix warning for scc. 1999-12-24 03:42:54 +00:00
idk%eng.sun.com c3a75ec8af Addon to my last checkin.
sorry
1999-12-23 01:26:39 +00:00
idk%eng.sun.com f710b056f5 Initial check in for remote xpcom module.
More documentation andd implementations is comming.

gotta go
work on this module would be continued after 01/10/2000
1999-12-23 01:16:05 +00:00
dougt%netscape.com fec1d697e4 Adding include of prlink.h to nsILocalFile.idl.
remove a bad semicolon in nsLocalFileWin

above not in build.

Adding an explict include of nsCRT to nsPipe2.cpp

this is in the build, but is trival.
1999-12-22 04:11:13 +00:00
dougt%netscape.com b5b2844b63 implement load().
not part of build.
1999-12-22 03:01:08 +00:00
dougt%netscape.com 0ac3ce03e5 adding a load() command which will allow loading of libraries.
not part of build
1999-12-22 02:59:01 +00:00
dougt%netscape.com 34d3726653 removing unneeded header file.
not part of build.
1999-12-22 01:58:25 +00:00
vidur%netscape.com 5a82d25d66 Added IID for nsIDOMHTMLFormControlList. a=dagley r=nisheeth 1999-12-22 01:57:28 +00:00
dougt%netscape.com 95f50f9301 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
dougt%netscape.com 8b081cae4b removing nsIFile stuff from the windows makefile for now. a=sdagley. 1999-12-22 01:50:30 +00:00
dougt%netscape.com 7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
rickg%netscape.com 1c48bc0daa fixed bug in compressChars2 where logic to test for ascii range was reversed; r=buster; a=jar 1999-12-21 07:49:34 +00:00
valeski%netscape.com f182a466ac a=chofmann, 21783. inverted parameter validation checks have been corrected. 1999-12-21 03:00:54 +00:00
briano%netscape.com 14b191325e NetBSD/arm-specific build bustage fix. The underlying problem _seems_ to be with ld, but I've been wrong before.... 1999-12-21 01:39:12 +00:00
waterson%netscape.com f15c00b036 Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann 1999-12-21 00:12:25 +00:00
dougt%netscape.com bad2d6b476 Adding back the assert since I fixed the problem in the GTK appshell. 1999-12-20 23:12:18 +00:00
waterson%netscape.com f0008a0cf9 Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann 1999-12-20 22:13:33 +00:00
scc%netscape.com e765050567 Enabling weak observer lists. Back this code out (if needed) by commenting out the |#define NS_WEAK_OBSERVERS| line since it also contains fixes. bug#18682, r=law, a={dp, chofmann} 1999-12-19 17:14:47 +00:00
sspitzer%netscape.com cc7ea1bbf1 make it so dougt's assertions only happen for him.
there is no reason the whole world should see a billion printfs.
1999-12-18 10:17:09 +00:00
briano%netscape.com 3eeeee81a2 Now FreeBSD/alpha and NetBSD/alpha builds can use the Linux/alpha code. 1999-12-18 03:43:19 +00:00
jdunn%netscape.com b50bf4c0c4 Fix the AIX xptcall work
a= chofmann
# 18692
1999-12-15 19:01:53 +00:00
sspitzer%netscape.com 22b6b14e23 purify related fixes. first, prevent a crash that was prevent me
from running purify in nsGenericFactory.cpp.  Second, add support
for "mozilla -pure".  Only works if you've build mozilla.bin.pure, of course.
1999-12-15 06:23:50 +00:00
dougt%netscape.com b322930c74 Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
This really rocks.  r=valeski, a=jar.
1999-12-15 04:49:55 +00:00
valeski%netscape.com 7eda757e29 21723. a=chofmann, r=warren. earlier this week segment size and max size parameters were exposed to higher level consumers of necko apis. this change warns a user if they try to create a pipe w/ zero len segs and max sizes. pipes are useless without sizes 1999-12-14 22:08:40 +00:00
valeski%netscape.com 2f303433fa 21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree. 1999-12-14 22:06:17 +00:00
briano%netscape.com 9587f6dc46 Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done. 1999-12-14 00:56:50 +00:00
dougt%netscape.com 0a71a2d506 Added an assert and return so that eventQs only get
processed on the owning thread.  This fixes at least
18005 and 17065.  r=damn@netscape.com, a=chofmann.
1999-12-13 23:05:31 +00:00
mccabe%netscape.com 0666068a75 Fix to 21512.
Added big note saying 'please disable security before trying to run
this' so nobody gets frustrated.

Updated sample component progid reference to actually match the .cpp.
Now the page actually works!  (John Morrison
<3jrgm@qlink.queensu.ca> caught this in mozilla.xpcom)

Thanks to Rick Bradley <roundeye@bellsouth.net> for pointing me to the
problem, and for encouraging me to add a note.

r=mccabe.  Not part of the build.
1999-12-12 05:41:29 +00:00
bienvenu%netscape.com 5b31932b02 fix file truncation on windows, was breaking pop filters, r=dougt, a=chofmann 20634 1999-12-10 23:33:30 +00:00
warren%netscape.com 7d4fa072a5 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
kin%netscape.com 3308275ef6 Fix for bug #21317: UMR: nsCAutoString::=(nsCAutoString const&)
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
1999-12-09 22:53:52 +00:00
shaver%netscape.com a4cd86a287 fix leaf of registryName (#21068, r=beard, a=leaf) 1999-12-09 00:01:46 +00:00
sdagley%netscape.com d17bcebfe3 First Checked In. 1999-12-08 07:56:17 +00:00
fur%netscape.com edbc3a53e1 Need to reset pointers within segment after realloc, since segment base
may have changed.
1999-12-08 06:28:44 +00:00
rginda%netscape.com f5f06fba37 Fix for unix bustage, r=scc@netscape.com 1999-12-08 06:14:33 +00:00
scc%netscape.com 2645d4a68f Changes to make observer lists hold only weak references. This code is disabled by default; enabled by the symbol |NS_WEAK_OBSERVERS|. The code will remain disabled until two underlying ownership bugs are fixed: hanging the wallet service from something permanent, and finding the observer someone is registering through XPConnect that does not support weak references. bug#=18682; r=dp 1999-12-08 05:24:14 +00:00
dougt%netscape.com ac4e013485 turning on nsIFile for windows. 13320 1999-12-08 05:14:54 +00:00
norris%netscape.com af18497222 I ran Purify and found this:
>
> [E] ABR: Array bounds read in
> nsFileSpecHelpers::UnixToNative(nsSimpleCharString&) {48 occurrences}
>     Reading 1 byte from 0x03f00b2c (1 byte at 0x03f00b2c illegal)
>     Address 0x03f00b2c is 1 byte past the end of a 268 byte block at
> 0x03f00a20
>     Address 0x03f00b2c points to a malloc'd block in heap 0x03c30000
>     Thread ID: 0x9c
>     Error location
>         nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:111]
>                     src = (char*)ioPath;
>
>                     // Convert '/' to '\'.
>              =>     while (*++src)
>                     {
>                         if (*src == '/')
>                             *src = '\\';
>         nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
>         nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
>         nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>         nsChromeRegistry::ConvertChromeURL(nsIURI *)
> [nsChromeRegistry.cpp:527]
>         nsChromeProtocolHandler::NewChannel(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsChromeProtocolHandler.cpp:371]
>         nsIOService::NewChannelFromURI(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsIOService.cpp:250]
>         nsDocumentOpenInfo::Open(nsIURI *,int,char const*,nsISupports *,nsIURI
> *,nsIInputStream *,nsISupports *,nsISupports * *) [nsURILoader.cpp:168]
>         nsURILoader::OpenURIWithPostDataVia(nsIURI *,int,char
> const*,nsISupports *,nsIURI *,nsIInputStream *,nsISupports *,nsISupports *
> *,UINT) [nsURILoader.cpp:418]
>     Allocation location
>         malloc         [dbgheap.c:129]
>         PR_Malloc      [prmem.c:38]
>         nsSimpleCharString::ReallocData(UINT) [nsFileSpec.cpp:248]
>         nsSimpleCharString::CopyFrom(char const*,UINT) [nsFileSpec.cpp:167]
>         nsSimpleCharString::nsSimpleCharString(char const*)
> [nsFileSpec.cpp:60]
>         nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:104]
>         nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
>         nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
>         nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>
> which is fixed by this patch.
1999-12-08 02:53:37 +00:00
dougt%netscape.com 8b94c587f9 removing MoveToFollowingLinks(). It was discussed that was not needed due
to links being broken. r=shaver

more tweeks to get symlinks working correct on windows.

not part of the build yet.
1999-12-08 02:07:38 +00:00
dp%netscape.com 924289af27 Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com 1999-12-08 02:03:25 +00:00
dp%netscape.com 5e69c59d46 Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com 1999-12-08 02:00:30 +00:00
dp%netscape.com e2bc0e3623 Removing usage of nsComponentManager.h r=selmer 1999-12-08 01:59:32 +00:00
dp%netscape.com 3ec8ca8250 Removing nsComponentManager.h from export 1999-12-08 01:58:30 +00:00
scc%netscape.com 964ca8227e Fix specialized |CallQueryInterface| as per review by travis ... r=travis. 1999-12-08 01:44:06 +00:00
scc%netscape.com 9c8ee3253d |NS_REINTERPRET_CAST| might try to adjust pointers on machines where it turns into an old-style cast. Fix that by first casting to |void*|. r=alecf. 1999-12-08 01:41:28 +00:00
beard%netscape.com ddd1c99054 took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906 1999-12-08 00:13:13 +00:00
dougt%netscape.com e966a61f6c 13320 more tweaking to nsIFile windows impl.
not part of build yet.
1999-12-07 23:31:25 +00:00
sdagley%netscape.com 548e71bc93 Part of #17949. nsLocalFileMac work. Not part of build yet. 1999-12-07 22:26:51 +00:00
alecf%netscape.com 99960a45d7 behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
review & discussed with brendan, shaver
1999-12-07 22:10:31 +00:00
scc%netscape.com 5418875579 and there's another instance of the build-busting old cast still in the file 1999-12-07 15:51:21 +00:00
scc%netscape.com 6241344e4a Mis-spelled one of two instances of |NS_REINTERPRET_CAST|, in the same line yet. Damn :-( 1999-12-07 15:26:41 +00:00
scc%netscape.com a97b180b50 Attempting to fix build bustage. Looks like a compiler bug (since |TestObserver| isn't a base class of |nsISupports| in any way, at least the error message has got to be wrong). 1999-12-07 14:46:35 +00:00
scc%netscape.com 8c4ec2ebea Adding an alternate version of |CallQueryInterface| as an experiment on behalf of travis. This function is not yet called, and should not effect the build or the runtime. r=hyatt 1999-12-07 14:09:29 +00:00
scc%netscape.com db5cd594e2 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
rickg%netscape.com a3187e2ff2 fixed bug in nsStr::Compare(); r=dveditz (who also found the bug) 1999-12-07 09:52:43 +00:00
jband%netscape.com 1194158582 fixing the last modified date - not part of the build 1999-12-07 08:23:01 +00:00
jband%netscape.com 381a2e39c4 updating xptcall status - not part of the build 1999-12-07 08:21:31 +00:00
sfraser%netscape.com ef6b5d0398 Make sure that all warnings just printf on Mac, and don't dump you into MacsBug. r=pinkerton 1999-12-07 07:21:30 +00:00
jband%netscape.com 2eaaa4083b adding member initializer to quiet Purify. r=waterson. 1999-12-07 07:17:44 +00:00
sdagley%netscape.com 7441795597 nsStorageStream.h is needed by nkcache. Doesn't affect builds 1999-12-07 06:04:13 +00:00
waterson%netscape.com 4a77047af4 Pretty up Franz Sirl's code; fix STUB_ENTRY() macro to use r12 as the register in which the method index is passed; r4 is used for passing the first parameter! r=beard@netscape.com (actually, most of the work was beard!) 1999-12-07 02:05:54 +00:00
mscott%netscape.com 2266405677 Fix build breakage for Travis. 1999-12-07 00:15:42 +00:00
fur%netscape.com 8913af32b1 Export nsStorageStream.h 1999-12-07 00:05:37 +00:00
tbogard%aol.net 2bc8f99632 Changed the way Assertion works. Get ready to remove all the old assertions methods. NS_ASSERTION now works the same way it used with the exception that on Windows it will put up and abort, retry, ignore box if you aren't in the debugger. r=warren. 1999-12-06 23:34:48 +00:00
waterson%netscape.com 6c4c4c53a4 Patches from Franz.Sirl-kernel@lauterbach.com. Get xptcall limping along on PPC/Linux. 1999-12-06 04:48:02 +00:00
erik%netscape.com b1ccfbf911 Grabbing the next ID. Does not affect build. 1999-12-05 02:14:46 +00:00
valeski%netscape.com 8b33681727 r=mcafee. 20677 assistance. we now have a scriptable input stream for js 1999-12-04 20:31:38 +00:00
valeski%netscape.com 71d2a8ae7d added files: mozilla/xpcom/io/nsIScriptableInputStream.idl 1999-12-04 20:31:09 +00:00
valeski%netscape.com 430c1d6979 added files: mozilla/xpcom/io/nsScriptableInputStream.cpp 1999-12-04 20:30:13 +00:00
valeski%netscape.com 8895af0d3c r=mcafee. 20677 assistance. We now have a scriptable input stream implementation and interface for js. Hurray! 1999-12-04 20:29:42 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
vidur%netscape.com e840dded03 Added nsIJSEventListener and nsICSSLoaderObserver 1999-12-04 01:30:27 +00:00
dougt%netscape.com 0594eec67d adding some error codes which I will need. 1999-12-04 01:18:48 +00:00
dougt%netscape.com ea9d82aefd renamed from the hated nsISomethingImpl. 1999-12-04 01:13:44 +00:00
dougt%netscape.com 66061576a3 Replaced by:
nsLocalFile.h
nsLocalFileUnix.cpp
nsLocalFileUnix.h
nsLocalFileWin.cpp
nsLocalFileWin.h
1999-12-04 01:02:45 +00:00
dougt%netscape.com 35ef56f04a updating to new interface and design. 1999-12-03 00:44:01 +00:00
dougt%netscape.com f317ac5ba4 removing nsFileUtils. 1999-12-03 00:43:35 +00:00
dougt%netscape.com 6798955ef2 Removing Dir enumerator as it will be part of nsIFile
removing nsFileUtils.
Changing the name of nsIFile children to directoryEntries
removing nsIFile trucate.
Rewrote large parts of nsIFileImplWin to use native APIs.

not part of build
1999-12-03 00:39:31 +00:00
rickg%netscape.com 95441de478 fixed PDT+19121; r=kmcclusk 1999-12-03 00:30:29 +00:00
dougt%netscape.com f25f716d38 Fix tabs.
added enumerator.
1999-12-02 21:45:50 +00:00
rickg%netscape.com 1a75640583 fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
dougt%netscape.com 34cd89d967 Removing init() methods as warren suggested. These now live in the new
nsILocalFile interface.
1999-12-02 07:49:57 +00:00
dougt%netscape.com 5adb115018 First cut.
These are the local file init methods for a nsIFile.

not hooked up to the build
1999-12-02 07:45:12 +00:00
sfraser%netscape.com a23eeb70ea Additional fix to the linebreakers when munging nsStrings. r=pinkerton. 1999-12-02 05:33:50 +00:00
briano%netscape.com 8b970ca718 Fix for QNX-specific build bustage. QNX doesn't provide a prototype for truncate(). 1999-12-02 03:17:04 +00:00
warren%netscape.com d25432f38d Prefixed error/warning messages with something bold and assertive! (And somewhat distinguishable from other output.) 1999-12-02 02:37:54 +00:00
dougt%netscape.com 3456b189e3 Changes to the nsIFile.idl which were discussed between shaver, brendan,
sdagley and I.  not part of the build.
1999-12-02 01:19:10 +00:00
warren%netscape.com 19acf20a26 Fix from Jud where we were dropping error code. r=warren 1999-12-02 00:58:43 +00:00
sfraser%netscape.com e7977838cc Fix linkage errors with nsLinebreakConverter.r=kin 1999-12-02 00:31:45 +00:00
waterson%netscape.com 084b9e5d76 Make 'kGrowArrayBy' const. Thanks, Heikki. 1999-12-01 22:44:42 +00:00
sspitzer%netscape.com 3b299c0483 ignore generated test app. 1999-12-01 22:39:22 +00:00
sfraser%netscape.com 5c1617659d Add string versions of the line terminatin macros. r=pinkerton 1999-12-01 22:26:58 +00:00
sfraser%netscape.com e984be5dbd Adding nsLinebreakConverter.cpp, which was reviewed by pinkerton. 1999-12-01 22:24:31 +00:00
sfraser%netscape.com 6c630f8cf4 Adding nsLinebreakConverter to the build. 1999-12-01 22:23:58 +00:00
sfraser%netscape.com 2cb9042cec Export nsLinebreakConverter.h 1999-12-01 22:22:21 +00:00
sfraser%netscape.com d931e7a044 First Checked In. 1999-12-01 22:21:30 +00:00
sfraser%netscape.com dacf66a5bf Include stdio.h with system paths, not user paths. No bug, r=mozbot. 1999-12-01 06:12:01 +00:00
warren%netscape.com 9da80972f9 Made WarnIfFalse not call abort. Made abort be continuable on Windows. r=travis 1999-12-01 05:51:45 +00:00
waterson%netscape.com a00b3b52d4 Check in initial, non-working XPTCall code from Linux-PPC. 1999-12-01 04:56:46 +00:00
mcafee%netscape.com 74d1e39672 Removing EXPORTS, parent makefile explicitly points at this directory now. r=bryner 1999-12-01 02:30:38 +00:00
waterson%netscape.com 85e63a4bb3 Try to fix build bustage. 1999-12-01 02:25:28 +00:00
mcafee%netscape.com bd83d45b75 missing exports 1999-12-01 02:24:01 +00:00
waterson%netscape.com 6d00264a22 Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver 1999-12-01 00:37:11 +00:00
dp%netscape.com aa23a77403 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-12-01 00:21:53 +00:00
dp%netscape.com 95224bc055 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:44:59 +00:00
dp%netscape.com edcdeb94a5 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
pinkerton%netscape.com 1a970bd699 added setDataWithLength to nsISupports[W]String r=jband. 1999-11-30 22:06:05 +00:00
jfrancis%netscape.com d163749ccd iid for nsIAbsorbingTransaction 1999-11-30 14:31:18 +00:00
warren%netscape.com 4e2588b525 Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl 1999-11-30 05:18:39 +00:00
warren%netscape.com 2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
dougt%netscape.com c031e1c389 Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +00:00
fur%netscape.com 4981f629c1 Disable the temporary assertion for embedded NUL characters in nsString::Append(),
so that clients of nsString can make use of the changes that rickg added which
allow embedded NULs.  r: rickg
1999-11-29 21:32:53 +00:00
dp%netscape.com d76755831f NS_RELEASE if there isn't a global service manager 1999-11-29 21:02:51 +00:00
sspitzer%netscape.com 31b6b85808 fix warnings 1999-11-29 20:40:39 +00:00
shaver%netscape.com 787094e942 track nsIFile changes (not part of build) 1999-11-29 15:17:57 +00:00
shaver%netscape.com 24299cc8ca - Portions of nsIFile and nsIDirectoryEnumerator implementations for Unix.
- Various missing-newline-at-end-of-file fixes from Andrew Taylor
  <Andrew.Taylor@cal.montage.ca>.
- Fixed case in nsIDirectoryEnumerator.idl
- Added |normalize()|, |truncate()| and |target|, |isSpecial()| to nsIFile.idl
- Changed |isExists()| to |exists()|, |fileName| to |leafName|, |isEqual()| to
  |equals| and added |in boolean recur| to |isContainedIn()|.
- Corrected widespread misspelling of |NS_ERROR_FILE_UNRECOGNIZED_PATH|.
- Partially updated Windows code to track changes.
Partially addresses 17948, r=dougt
1999-11-29 14:55:03 +00:00
tbogard%aol.net 88639c509e Flipped the default of the Windows Warning box that can come up. It now requires an environment variable be set to come up. 1999-11-29 05:50:22 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net 9b922ed9d5 Added do_GetInterface to the dlldeps so it is properly exported from the DLL. 1999-11-28 02:17:24 +00:00
tbogard%aol.net dec406dc95 Turned on the do_GetInterface implementation by removing the #ifdef 0. 1999-11-28 02:16:22 +00:00
tbogard%aol.net 963f9e7043 Added nsIInterfaceRequestor.cpp to the build. 1999-11-28 02:15:11 +00:00
shaver%netscape.com b829e11c5a Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
<fuzed@swbell.net>.
1999-11-27 17:47:05 +00:00
sspitzer%netscape.com 449b64a2e7 fix 974 warnings by declaring a virtual destructor 1999-11-27 02:17:23 +00:00
shaver%netscape.com 89607b7de2 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
akkana%netscape.com efc8c03546 AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver 1999-11-24 21:58:20 +00:00
shaver%netscape.com daf1dd97f0 update to track catchguard syntax, r=cls 1999-11-24 03:36:26 +00:00
frankm%eng.sun.com 9c721a5a9d [Bugs 18486, 18488; r=mccabe] XPIDL->Java: always make first char of methods lowercase, translate PRBool to Java boolean 1999-11-24 02:08:34 +00:00
jdunn%netscape.com 7f5eee53ff newline required at eof for HPUX 1999-11-24 00:43:50 +00:00
waterson%netscape.com de0d2dcb1a Remove vestigial addref that was leaking proxy objects. r=dougt 1999-11-23 22:05:44 +00:00
dougt%netscape.com 1946ba44ca 1) #ifdefing out dll entry points from nsProxyObjectManager which should not
be used

2) Fix crashing bug in nsProxiedService when a CI fails.  Converted this to
use nsCOMPtrs

3) Fixing bug 18109.  This involved changing what information about hash values
we use.

Tested FTP dir and file, and IMAP.
1999-11-23 08:53:44 +00:00
scc%netscape.com 829514e2e2 Added |do_GetService| of a specific service manager as opposed to the global one. Fixed the appropriate macro accordingly. Please note: travis will be supporting this change until I'm back online in Michigan. r=dp. 1999-11-23 05:55:33 +00:00
scc%netscape.com 67b0bb7084 added macros preparing us to move to table-driven QI. Please note: travis will be supporting any problems with this checkin till I'm back online in Michigan. r=tbogard 1999-11-23 05:55:31 +00:00
scc%netscape.com 69d819f520 fixed up to match recent changes made to weak references. r=tbogard 1999-11-23 03:30:06 +00:00
scc%netscape.com 72008ae20d Added the file "nsIInterfaceRequestor.cpp" to the project. Contents currently |#if|d out. Travis will add this file to the other builds, and then enable. This adds |do_GetInterface| functionality. r=tbogard. 1999-11-23 03:14:42 +00:00
scc%netscape.com c4baec4805 commented out, so it could be added to the project. Travis will uncomment it when he adds it to the windows and unix builds. r=tbogard 1999-11-23 03:13:05 +00:00
scc%netscape.com e2e36b3c4a don't ASSERT that it doesn't support weak references for NULL. r=pinkerton 1999-11-23 03:10:02 +00:00
scc%netscape.com 28c6074d96 First Checked In. 1999-11-23 02:50:17 +00:00
scc%netscape.com 5ea5f81403 needs |NS_EXPORT| ... still not turned on 1999-11-22 23:11:15 +00:00
scc%netscape.com 586af1ee44 Added |do_GetInterface| (not turned on yet). This will be turned on when we add a file for the implementation. r=tbogard 1999-11-22 23:09:05 +00:00
scc%netscape.com 059d310964 clear out the result in |do_CreateInstance| on error. r=pinkerton 1999-11-22 23:01:35 +00:00