3249 Commits

Author SHA1 Message Date
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
sfraser%netscape.com
ebc52d7f5d Fixing nsLocalFileMac so that Contains() works with file aliases, and is much faster. Also fix an issue with cacheing data, so that cacheing actually works. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@63926 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:33:23 +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
scc%netscape.com
946ef71be0 fixing ambiguities caused by name hiding
git-svn-id: svn://10.0.0.236/trunk@63899 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:53:53 +00:00
scc%netscape.com
33689dfd59 resolving ambiguities; getting the new string APIs to build everywhere
git-svn-id: svn://10.0.0.236/trunk@63897 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:42:34 +00:00
scc%netscape.com
cfed15f5a1 Added "nsCharTraits.h"; no longer relying on |std::char_traits|. Renamed some things so overloading wouldn't fight with overriding.
git-svn-id: svn://10.0.0.236/trunk@63876 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:15:01 +00:00
scc%netscape.com
64c527337e Added "nsCharTraits.h"
git-svn-id: svn://10.0.0.236/trunk@63874 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:10:46 +00:00
scc%netscape.com
6543af6118 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63872 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:09:27 +00:00
scc%netscape.com
5fcf54179f Conditionally enable the new string APIs. Don't worry, they're not turned on yet. All changes r=waterson. Changes that effect |nsString| unconditionally, r=rickg.
git-svn-id: svn://10.0.0.236/trunk@63813 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:12:23 +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
d05dc6672e fixed some warnings
git-svn-id: svn://10.0.0.236/trunk@63781 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:55:10 +00:00
scc%netscape.com
852772fd1e |wchar_t| will not be turned on by default, yet. These files are still not part of the build.
git-svn-id: svn://10.0.0.236/trunk@63780 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:53:44 +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
scc%netscape.com
92d963eb95 Getting rid of warnings. These files are not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@63777 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:51:18 +00:00
scc%netscape.com
ae6cee7e1d Incremental changes. These files are still not part of the build.
git-svn-id: svn://10.0.0.236/trunk@63730 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 08:22:28 +00:00
scc%netscape.com
cdb32d5be1 Made critical operations exploit chunky iterators. These files are not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@63729 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 08:19:48 +00:00
ruslan%netscape.com
631f5753e7 Fix MAC build bustage - forgot to remove nsIByteArrayInputStream.h from the
MANIFEST as well


git-svn-id: svn://10.0.0.236/trunk@63710 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 04:14:26 +00:00
ruslan%netscape.com
921b8f7203 Cause NS_NewByteArrayInputStream to get actually exported out of windows
dll, r=warren


git-svn-id: svn://10.0.0.236/trunk@63700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:07:39 +00:00
ruslan%netscape.com
e07a5aac0d Fix Unix build bustage - makefiles on unix and windows seems to actually
behave differently in this case


git-svn-id: svn://10.0.0.236/trunk@63698 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:02:34 +00:00
ruslan%netscape.com
84da80ad5b Enabling ByteArrayInputStream. Needed to fix 32600, r=warren
git-svn-id: svn://10.0.0.236/trunk@63692 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:50:56 +00:00
sfraser%netscape.com
6f132223fd Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
git-svn-id: svn://10.0.0.236/trunk@63690 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:48 +00:00
dougt%netscape.com
27ce86ed83 Fixing SetModificationTime based on MS documentation. It is still failing, but
this is documented to work:

http://support.microsoft.com/support/kb/articles/Q167/2/96.ASP


git-svn-id: svn://10.0.0.236/trunk@63678 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:37:52 +00:00
warren%netscape.com
fca9f5829c Added nsIByteArrayInputStream.idl and nsByteArrayInputStream.cpp for Ruslan.
git-svn-id: svn://10.0.0.236/trunk@63676 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:33:12 +00:00
ruslan%netscape.com
fcb56ad562 Add ByteArrayInoutStream. Not part of the build yet
git-svn-id: svn://10.0.0.236/trunk@63669 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:48:48 +00:00
ftang%netscape.com
a170448c56 add assertion code for data lostage. r/a=rickg
git-svn-id: svn://10.0.0.236/trunk@63605 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:04:50 +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
mccabe%netscape.com
163180b9f8 Fix to 11454
Respect [noscript] property for attributes by setting the attribute as hidden in the emitted typelib.

r=jband


git-svn-id: svn://10.0.0.236/trunk@63382 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 07:55:43 +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
mccabe%netscape.com
e55dfb384a Adding [noscript].
git-svn-id: svn://10.0.0.236/trunk@63362 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:34:02 +00:00
mccabe%netscape.com
ec89277669 Fix bustage; replace strdup (no prototype on mac) with call to (existing!) xpidl_strdup.
git-svn-id: svn://10.0.0.236/trunk@63361 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:29:23 +00:00
mccabe%netscape.com
a1fefe68af Adding [noscript], to get past my recently-added xpidl compiletime error. Looks like I missed a file.
git-svn-id: svn://10.0.0.236/trunk@63357 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:01:19 +00:00
mccabe%netscape.com
554699a6de - Add preliminary code for a documentation backend. Hopefully someone will want to extend it...
- Add a compile-time check requiring non-scriptable (because they're native) attributes to be marked [noscript] within [scriptable] interfaces.  This mirrors an existing check for methods, and may save some hair-pulling for script authors.  Partial fix to 11454.

- Emit a sample implementation (#ifdef 0) into the generated .h file that component authors can copy and use as the start of their implementation.  Code courtesy jband.

r=jband, r=mccabe


git-svn-id: svn://10.0.0.236/trunk@63355 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 01:30:35 +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
scc%netscape.com
3717f373dc Added the new string interface files to the export lists for each platform. They still aren't part of the build. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:04:48 +00:00
sspitzer%netscape.com
0f6cad9a9c fix for #32245. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@63315 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:53:49 +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
sspitzer%netscape.com
8138810ade add Delete() to the nsIFileSpec interface.
git-svn-id: svn://10.0.0.236/trunk@63022 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:07:56 +00:00
ftang%netscape.com
cca19fdb3e check in illegal nsString char* usage tracking code. Turn off by default. r=rickg
git-svn-id: svn://10.0.0.236/trunk@63009 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:15:00 +00:00
blizzard%redhat.com
38572a5d11 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson
git-svn-id: svn://10.0.0.236/trunk@62992 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:08:28 +00:00
nhotta%netscape.com
d5e3159aa3 Changed to use do_GetService instead of CreateInstance, bug 30205, r=cata.
git-svn-id: svn://10.0.0.236/trunk@62964 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:33:43 +00:00
scc%netscape.com
e080803e50 Added ToDo.doc, so the list of things to do is visible in the project. This project is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62943 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:32:27 +00:00
scc%netscape.com
16821f8726 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62942 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:31:43 +00:00
scc%netscape.com
df6286e8e0 Incremental changes. Fixed some things that were stopping rickg from compiling. This file is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62941 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:10:03 +00:00
scc%netscape.com
51948b288b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62939 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 15:56:34 +00:00
jefft%netscape.com
7c081c6699 fix bug 30784 - save messages / attachment with bogus path name failed sliently; this is bad if user think save was successful then followed by a delete and compact; we will have a data loss here
git-svn-id: svn://10.0.0.236/trunk@62931 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 13:54:42 +00:00
dougt%netscape.com
5721f55fcf fix for 28942 nsILocalFile::Exists() returns a FILE_NOT_FOUND error.
r=pete@alphanumerica.com


git-svn-id: svn://10.0.0.236/trunk@62871 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:11:02 +00:00
dp%netscape.com
9452ba5c60 filename conflict. Hence removing to add it back as a different filename
git-svn-id: svn://10.0.0.236/trunk@62748 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 01:48:50 +00:00
dp%netscape.com
d46ffe2699 Initial version
git-svn-id: svn://10.0.0.236/trunk@62745 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 00:23:41 +00:00
rickg%netscape.com
b0ba15c22d WIP for removal of deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62734 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 22:21:14 +00:00