431 Commits

Author SHA1 Message Date
jfrancis%netscape.com
cfcc495edd nsIEditRules IID
git-svn-id: svn://10.0.0.236/trunk@63958 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:43:38 +00:00
waterson%netscape.com
945689663d Add NS_MIN and NS_MAX macros to hide inconsistencies with std::min and std::max. r=scc
git-svn-id: svn://10.0.0.236/trunk@63954 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:38:52 +00:00
dp%netscape.com
920aad1008 Stack walking code for powerpc linux. Thanks to patch from
darkmane@w-link.net r=waterson


git-svn-id: svn://10.0.0.236/trunk@63927 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:39:25 +00:00
slamm%netscape.com
ce51b4a0c0 Quiet 'Illegal empty declaration' warning from Mac.
git-svn-id: svn://10.0.0.236/trunk@63916 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:29 +00:00
sspitzer%netscape.com
e185151db4 fix a typo.
git-svn-id: svn://10.0.0.236/trunk@63798 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:49:32 +00:00
scc%netscape.com
d4c745fe80 slight renaming and fixed a template signature for AIX
git-svn-id: svn://10.0.0.236/trunk@63778 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:52:17 +00:00
tor%cs.brown.edu
f75329eb51 C++ comment in header included from C files is a Bad Thing (tm). r=cls
git-svn-id: svn://10.0.0.236/trunk@63417 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 00:01:22 +00:00
scc%netscape.com
fd4ef985aa Added the Bill Law trick to make |nsCOMPtr| break the build for everybody where it use to break it only for Solaris and a few others (the `tainting' problem). Added a haiku. r=danm
git-svn-id: svn://10.0.0.236/trunk@63372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:17:46 +00:00
scc%netscape.com
b19fe053b7 Added spaces to the cast macros to allow casting of template types. Moved |HAVE_CPP_...| symbols here from "nsCOMPtr.h" since more files need them. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63331 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:29 +00:00
scc%netscape.com
2b15cf20b5 Renamed an internal typename. Was |nsDontAddRef<T>|, now is |already_AddRefed<T>| in hopes that it can be used outside of "nsCOMPtr.h". Moved |HAVE_CPP_...| symbols out of here and into "nscore.h" because more files need them. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63330 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:18 +00:00
jst%netscape.com
96aefc9b5d Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559


git-svn-id: svn://10.0.0.236/trunk@63290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 13:27:00 +00:00
tbogard%aol.net
7b6dc3a877 Remove nsIBrowserWindow as that interface is going away.
git-svn-id: svn://10.0.0.236/trunk@62608 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:29:42 +00:00
warren%netscape.com
61bd096c8a Fixed mac problem -- missing getenv.
git-svn-id: svn://10.0.0.236/trunk@62391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 11:24:10 +00:00
warren%netscape.com
84f531a52e Made the thread-safety checking able to be turned on/off by the XPCOM_CHECK_THREADSAFE env var. a=jar,r=mscott
git-svn-id: svn://10.0.0.236/trunk@62390 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 09:21:32 +00:00
pinkerton%netscape.com
d691be43db beard got the logic backwards, now we really shouldn't assert on mac. r=danm.
git-svn-id: svn://10.0.0.236/trunk@62292 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 03:57:31 +00:00
vidur%netscape.com
59c2cc11b5 Fix for debug build breakage on Windows. r,a=dp
git-svn-id: svn://10.0.0.236/trunk@62291 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 03:25:04 +00:00
beard%netscape.com
23ee920bbd to avoid unnecessary assertions, configurations not defining NS_MT_SUPPORTED (such as the Mac) shouldn't use the OWNINGTHREAD machinery. r=warren, a=leaf
git-svn-id: svn://10.0.0.236/trunk@62270 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 23:55:14 +00:00
danm%netscape.com
1c169d74f4 bump refcount in threadsafe release macro. bug 30666 r=warren
git-svn-id: svn://10.0.0.236/trunk@62266 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 21:10:46 +00:00
warren%netscape.com
f6195ac6b6 Fixing mac bustage -- doubly defined NS_IMPL_THREADSAFE_ISUPPORTS macro.
git-svn-id: svn://10.0.0.236/trunk@62245 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:59:15 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
warren%netscape.com
6b2a8fdb04 Bug 21556: Making linux be thread-safe. Exporting NS_CurrentThread from debug builds. a=jar
git-svn-id: svn://10.0.0.236/trunk@62234 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 10:14:50 +00:00
mkaply%us.ibm.com
837fe82aaa # 25555
r= dp@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61873 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 15:50:48 +00:00
warren%netscape.com
8cf2d51f11 Fix for leak detection. Bug 29505. Debug only. code=waterson,r=warren,a=jevering
git-svn-id: svn://10.0.0.236/trunk@61823 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 01:35:38 +00:00
warren%netscape.com
fd4a7550c6 Fixed comment
git-svn-id: svn://10.0.0.236/trunk@61593 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 06:02:38 +00:00
warren%netscape.com
c3ef7f6816 Fixing bustage -- NS_MeanAndStdDev not included in release builds.
git-svn-id: svn://10.0.0.236/trunk@61592 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 05:40:40 +00:00
warren%netscape.com
6f0f57b679 Made NS_MeanAndStdDev be extern 'C'
git-svn-id: svn://10.0.0.236/trunk@61586 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 04:55:05 +00:00
dbaron%fas.harvard.edu
be9f44f6fe Bug 28413. Correct computation of total leaks. r=warren@netscape.com a=rickg@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61435 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 13:25:20 +00:00
cls%seawood.org
246547ceed 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.


git-svn-id: svn://10.0.0.236/trunk@61120 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 08:06:00 +00:00
scc%netscape.com
7e15323442 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}
git-svn-id: svn://10.0.0.236/trunk@60614 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 23:30:52 +00:00
scc%netscape.com
0d69deea47 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.
git-svn-id: svn://10.0.0.236/trunk@60471 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:38:14 +00:00
scc%netscape.com
dbe29c01c8 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)


git-svn-id: svn://10.0.0.236/trunk@60461 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 07:12:02 +00:00
scc%netscape.com
f2d3cb0785 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


git-svn-id: svn://10.0.0.236/trunk@60459 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 07:07:57 +00:00
scc%netscape.com
27364da951 Added |NS_ISUPPORTS_CAST()|. Added |NS_DebugGetRefCount()| as per bug #26803. r={pinkerton, hyatt}
git-svn-id: svn://10.0.0.236/trunk@60406 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:42:58 +00:00
scc%netscape.com
cc2ea1310a enable the |ASSERT_NO_QUERY_NEEDED| tests for the |getter_AddRefs()| case as well. bug #26420, r=dougt
git-svn-id: svn://10.0.0.236/trunk@59952 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 21:17:51 +00:00
scc%netscape.com
d5bc449880 Eliminating duplicate macros, r=dougt
git-svn-id: svn://10.0.0.236/trunk@59906 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 23:55:09 +00:00
warren%netscape.com
921f948efe Pulled out NS_MeanAndStdDev as an xpcom exported function for convenience.
git-svn-id: svn://10.0.0.236/trunk@59832 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 02:07:45 +00:00
warren%netscape.com
70c4b690e2 Added NS_IMPL_ISUPPORTS_INHERITED3 macro.
git-svn-id: svn://10.0.0.236/trunk@59642 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 08:51:30 +00:00
valeski%netscape.com
8abecb4b3e r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data.
git-svn-id: svn://10.0.0.236/trunk@59559 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:04:47 +00:00
leaf%mozilla.org
c7fca6f343 windows-only build goop for xpcom/base/nsSystemInfo.cpp, r=syd
git-svn-id: svn://10.0.0.236/trunk@59336 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 01:08:29 +00:00
scc%netscape.com
d40b11a886 Fixed tabs, some comments, etc. Made |do_QueryInterface()| not participate in the |...TEST_DONTQUERY_CASES| test to help us debug bug #25327. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59201 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 22:29:08 +00:00
shaver%netscape.com
cac3b9826f system information service (not yet part of build)
git-svn-id: svn://10.0.0.236/trunk@58914 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:40:17 +00:00
warren%netscape.com
da773f8ae1 Fixed problem where avg instance size was computed based on remaining object count, rather than total allocated count. May affect bloat stats on tinderbox.
git-svn-id: svn://10.0.0.236/trunk@58886 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:14:51 +00:00
pinkerton%netscape.com
1a6c24150a Fix build bustage. needed a typecast in some cases, but not others.
git-svn-id: svn://10.0.0.236/trunk@58842 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:17:53 +00:00
pinkerton%netscape.com
cd97ef9165 fix for NS_INTERFACE_MAP_END_INHERITING, wrong local var passed to base class's QI. r=scc.
git-svn-id: svn://10.0.0.236/trunk@58809 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:54:07 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
jdunn%netscape.com
9df87496e8 use C style comments and not C++
r= scc@netscape.com
a= leaf@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@57704 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:06:47 +00:00
scc%netscape.com
1efb7c3f9c macros and defs to removed conditional definition of |GetIID()| within |nsISupports|. r=beard, (waterson?), bug=10477
git-svn-id: svn://10.0.0.236/trunk@57637 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:48:47 +00:00
scc%netscape.com
9ff3330264 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}
git-svn-id: svn://10.0.0.236/trunk@57551 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 16:01:14 +00:00
warren%netscape.com
bfe911f7a6 Added NS_IMPL_AGGREGATED_QUERY_HEAD macro.
git-svn-id: svn://10.0.0.236/trunk@57305 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 23:14:32 +00:00
warren%netscape.com
6836908904 Added new logging service to replace PR_LOG.
git-svn-id: svn://10.0.0.236/trunk@56607 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 20:53:17 +00:00