3224 Commits

Author SHA1 Message Date
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
scc%netscape.com
afa41e3a50 Incremental changes. Provided implementations for the virtual functions that were previously pure virtual. These implementations were common, after all, even just between |nsString| and |nsCString|. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62731 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 20:57:35 +00:00
scc%netscape.com
ad319b8593 Incremental changes. Added |Implementation()| member to allow rick to implement copy-on-write. Added more virtual members to writable. More to come. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62727 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 17:39:49 +00:00
rickg%netscape.com
65135726ce landing phase 2 to remove deprecated string calls
git-svn-id: svn://10.0.0.236/trunk@62718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:10:07 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
rickg%netscape.com
944bb44cfc WIP for new nsString; this doesn't impact current build
git-svn-id: svn://10.0.0.236/trunk@62694 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:47:09 +00:00
scc%netscape.com
1e41c7d831 Incremental changes. Reorganized code; implemented more factored methods. Moved string owner from fragment to iterator. Renamed the |const| version of |GetFragment| to |GetConstFragment| so we didn't mix overloading with overriding; eliminating need for some uses of |using| ... may want to do the same thing with |Begin| and |End|. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:28:16 +00:00
dp%netscape.com
59bafd4cd7 Enabling PR_LOG for release builds from native component loader.
Tuning log format to help analysis.


git-svn-id: svn://10.0.0.236/trunk@62669 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 22:44:51 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +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
scc%netscape.com
309fbcbc50 Incremental changes. Modified the strategy for nested |nsPromiseConcatenation| objects. Changed the type of the fragment identifier in a fragment. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62526 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 07:04:09 +00:00
scc%netscape.com
e4062631d4 Incremental changes, renamed |nsConcatString| to |nsPromiseConcatenation|. Added |nsPromiseSubstring|. Got rid of upper/lower signatures. Added |Assign|. Fixed comparison macros. Added |operator+=| and |operator=|. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62520 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 02:30:14 +00:00
rickg%netscape.com
4d736c70fd update to new string files; these are NOT part of the build
git-svn-id: svn://10.0.0.236/trunk@62472 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 10:50:02 +00:00
scc%netscape.com
f57345a2c0 File Removed.
git-svn-id: svn://10.0.0.236/trunk@62460 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 06:39:31 +00:00
scc%netscape.com
f60b48fdbc Incremental changes. Getting the comparison operators right. Making |operator+()| do the right thing. These files are not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@62459 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 06:37:45 +00:00
sfraser%netscape.com
44d056d6a3 Fix for 29572 (launching PSM on Mac). Implement GetParent() for an nsILocalFileMac that was initialized with an FSSpec. r=davidm, a=jar
git-svn-id: svn://10.0.0.236/trunk@62415 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:35:11 +00:00
scc%netscape.com
6ecdc03907 Incremental changes. These files are not yet part of the build. a=don
git-svn-id: svn://10.0.0.236/trunk@62406 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 21:57:14 +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
rickg%netscape.com
582e770b5c fixed pdt+ bug 29749; r=pollman; a=jar
git-svn-id: svn://10.0.0.236/trunk@62387 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 06:16:29 +00:00
waterson%netscape.com
d3f9e9a69d Bug 29250. PR_GetFileInfo64() expects a 'root' path on Win32 to have a trailing slash; e.g., it will accept 'c:\\', but not 'c:'. Ensure that, if we ever see a naked drive letter, we'll append a trailing backslash to make something that NSPR understands. r=dveditz, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62370 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 02:53:04 +00:00
scc%netscape.com
53d961e6fa Not part of the build. Developing interfaces. Incremental changes to share with rickg, et al.
git-svn-id: svn://10.0.0.236/trunk@62321 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:56:07 +00:00
jband%netscape.com
9b065377e2 NOT PART OF THE BUILD - updating xptcall ports status page to note completion of Compaq Tru64 port
git-svn-id: svn://10.0.0.236/trunk@62301 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 09:19:12 +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
scc%netscape.com
4201c2b7c2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62279 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 01:02:10 +00:00