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

3495 Коммитов

Автор SHA1 Сообщение Дата
mccabe%netscape.com b48d3f3c6c - 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
2000-03-18 01:30:35 +00:00
scc%netscape.com 1ba114117b 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 2000-03-17 23:08:29 +00:00
scc%netscape.com d6840ff7c1 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 2000-03-17 23:08:18 +00:00
scc%netscape.com 5d1e31d90e Added the new string interface files to the export lists for each platform. They still aren't part of the build. r=pinkerton 2000-03-17 22:04:48 +00:00
sspitzer%netscape.com 2f566d968a fix for #32245. r=bienvenu. 2000-03-17 21:53:49 +00:00
jst%netscape.com 872a669579 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
2000-03-17 13:27:00 +00:00
sspitzer%netscape.com f9c35a1ee1 add Delete() to the nsIFileSpec interface. 2000-03-15 07:07:56 +00:00
ftang%netscape.com be2435a9f0 check in illegal nsString char* usage tracking code. Turn off by default. r=rickg 2000-03-15 05:15:00 +00:00
blizzard%redhat.com 804ec67bf8 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson 2000-03-15 03:08:28 +00:00
nhotta%netscape.com 4c9cfca6b5 Changed to use do_GetService instead of CreateInstance, bug 30205, r=cata. 2000-03-15 01:33:43 +00:00
scc%netscape.com 81d0ddeea5 Added ToDo.doc, so the list of things to do is visible in the project. This project is not part of the build. 2000-03-14 17:32:27 +00:00
scc%netscape.com 4af37dd4bd First Checked In. 2000-03-14 17:31:43 +00:00
scc%netscape.com 0825f5bcd1 Incremental changes. Fixed some things that were stopping rickg from compiling. This file is not part of the build. 2000-03-14 17:10:03 +00:00
scc%netscape.com 8c3b397934 First Checked In. 2000-03-14 15:56:34 +00:00
jefft%netscape.com 9cdfa6fef7 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 2000-03-14 13:54:42 +00:00
dougt%netscape.com b107082d5a fix for 28942 nsILocalFile::Exists() returns a FILE_NOT_FOUND error.
r=pete@alphanumerica.com
2000-03-14 05:11:02 +00:00
dp%netscape.com f7c27d1d9d filename conflict. Hence removing to add it back as a different filename 2000-03-13 01:48:50 +00:00
dp%netscape.com 4d287c15a0 Initial version 2000-03-13 00:23:41 +00:00
rickg%netscape.com cbb199a064 WIP for removal of deprecated string methods 2000-03-12 22:21:14 +00:00
scc%netscape.com 92e24087ff 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. 2000-03-12 20:57:35 +00:00
scc%netscape.com 7002773472 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. 2000-03-12 17:39:49 +00:00
rickg%netscape.com 194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
rickg%netscape.com b652637555 WIP for new nsString; this doesn't impact current build 2000-03-12 07:47:09 +00:00
scc%netscape.com a16db647b9 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. 2000-03-12 01:28:16 +00:00
dp%netscape.com 2dfef1333a Enabling PR_LOG for release builds from native component loader.
Tuning log format to help analysis.
2000-03-11 22:44:51 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
tbogard%aol.net 5793dbb53b Remove nsIBrowserWindow as that interface is going away. 2000-03-11 01:29:42 +00:00
scc%netscape.com 7b543c486c 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. 2000-03-10 07:04:09 +00:00
scc%netscape.com 4d17a62278 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. 2000-03-10 02:30:14 +00:00
rickg%netscape.com 5989a942b6 update to new string files; these are NOT part of the build 2000-03-09 10:50:02 +00:00
scc%netscape.com 58fac5eee3 File Removed. 2000-03-09 06:39:31 +00:00
scc%netscape.com 4343cd857e Incremental changes. Getting the comparison operators right. Making |operator+()| do the right thing. These files are not part of the build yet. 2000-03-09 06:37:45 +00:00
sfraser%netscape.com 41c5ae6811 Fix for 29572 (launching PSM on Mac). Implement GetParent() for an nsILocalFileMac that was initialized with an FSSpec. r=davidm, a=jar 2000-03-09 00:35:11 +00:00
scc%netscape.com 226fee4a5e Incremental changes. These files are not yet part of the build. a=don 2000-03-08 21:57:14 +00:00
warren%netscape.com 470f5bf785 Fixed mac problem -- missing getenv. 2000-03-08 11:24:10 +00:00
warren%netscape.com 84ea15d65a Made the thread-safety checking able to be turned on/off by the XPCOM_CHECK_THREADSAFE env var. a=jar,r=mscott 2000-03-08 09:21:32 +00:00
rickg%netscape.com e2639fea30 fixed pdt+ bug 29749; r=pollman; a=jar 2000-03-08 06:16:29 +00:00
waterson%netscape.com 27394cb877 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 2000-03-08 02:53:04 +00:00
scc%netscape.com 50fa47e2c4 Not part of the build. Developing interfaces. Incremental changes to share with rickg, et al. 2000-03-07 20:56:07 +00:00
jband%netscape.com 0e9bb75f8d NOT PART OF THE BUILD - updating xptcall ports status page to note completion of Compaq Tru64 port 2000-03-07 09:19:12 +00:00
pinkerton%netscape.com 21d68adbc6 beard got the logic backwards, now we really shouldn't assert on mac. r=danm. 2000-03-07 03:57:31 +00:00
vidur%netscape.com d990ee775e Fix for debug build breakage on Windows. r,a=dp 2000-03-07 03:25:04 +00:00
scc%netscape.com 379d85539c First Checked In. 2000-03-07 01:02:10 +00:00
jim_nance%yahoo.com fd067ebe58 This is xptcall code for Tru64 Unix (Formerly Digital Unix, Formerly OSF/1).
It was written by Steve Streeter <streeter@zk3.dec.com> of Compaq.
r=jlnance a=shaver
2000-03-07 00:15:07 +00:00
beard%netscape.com d3012769e3 to avoid unnecessary assertions, configurations not defining NS_MT_SUPPORTED (such as the Mac) shouldn't use the OWNINGTHREAD machinery. r=warren, a=leaf 2000-03-06 23:55:14 +00:00
danm%netscape.com b976efa3d2 bump refcount in threadsafe release macro. bug 30666 r=warren 2000-03-06 21:10:46 +00:00
pavlov%netscape.com bfd20afd4c backing out dougt's thread changes r=dougt 2000-03-06 01:13:20 +00:00
warren%netscape.com ad38c46f08 Fixing mac bustage -- doubly defined NS_IMPL_THREADSAFE_ISUPPORTS macro. 2000-03-05 21:59:15 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
dougt%netscape.com c673d88d87 Adding dynamic thread allocation to thread pool. Fixes 27736.
Also fixing warning in plevent.c

r=damn, a=chofmann
2000-03-05 21:01:33 +00:00
warren%netscape.com 7113f6e49d Bug 21556: Making linux be thread-safe. Exporting NS_CurrentThread from debug builds. a=jar 2000-03-05 10:14:50 +00:00
danm%netscape.com 155b1b253e add API to EventQueueService for creating a monitored event queue. part of bug 25979. r=dougt r=jar 2000-03-04 03:17:01 +00:00
idk%eng.sun.com 657ce47810 updated README 2000-03-03 19:40:52 +00:00
rickg%netscape.com b8a4416136 landed WIP nsString3 early design; not part of build; a=n/a 2000-03-03 09:04:50 +00:00
dp%netscape.com 3990646a0b bug# 29685 Eliminating unneccessary hits to registry to improve startup. Improving on previous fix. Thanks to jband's help. r=jband,dveditz a=jevering 2000-03-03 01:48:41 +00:00
danm%netscape.com 3c58d88539 unix-only: allow system notification pipe to drain when event processing is stalled. unpegs CPU when showing certain dialogs. bug 28100. r=dp,pavlov a=jevering 2000-03-02 21:38:19 +00:00
jband%netscape.com 3f9d673a94 back out dp's unsafe optimization that caused crash on first run 2000-03-02 19:57:23 +00:00
sfraser%netscape.com 19fa57d1f9 Followon from a checkin I did yesterday to fix bugs 29521 and 29827 (a=jar); this part fixes an assertion that happened with empty form fields. r=kin 2000-03-02 19:36:15 +00:00
cls%seawood.org 192e307283 Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.
2000-03-02 13:29:03 +00:00
cls%seawood.org f8ec204a17 Remove unused -lmozjs from LIBS. 2000-03-02 12:52:01 +00:00
cls%seawood.org 80f42db84e Use HOST_AR & HOST_RANLIB when building host version of libxpt. Needed for cross-compiling. Bug #11890 2000-03-02 12:29:47 +00:00
cls%seawood.org 18d8f2f08c Use EXPORT_XPT_API define when building libraries. Needed for mingw32. 2000-03-02 12:27:58 +00:00
dougt%netscape.com 565d93720f Removing nested eventQ. bug 29474. a=jar 2000-03-02 04:38:33 +00:00
dp%netscape.com dbc7ea3807 Eliminating 11 hits to the registry for Progid if we already have
prepopulated the registry. This improves startup performance.
a=jevering, r=dveditz
2000-03-02 02:13:11 +00:00
mkaply%us.ibm.com 299c268c24 # 25555
r= dougt@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 21:27:02 +00:00
jdunn%netscape.com 00e933493c move mozreg_s from EXTRA_DSO_LDOPTS to SHARED_LIBRARY_LIBS to handle
AIX dependencies.

r= cls@seawood.org, dp@netscape.com
a= leaf@netscape.com
2000-02-29 21:03:25 +00:00
mkaply%us.ibm.com 5fc1abd8ef # 25555
r= dp@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:50:48 +00:00
ftang%netscape.com 485fcaf806 fix 29333 make the initial construction passing "" for performance and legal nsString usage. r=rickg a=bobj 2000-02-29 06:59:55 +00:00
warren%netscape.com 9706510472 Fix for leak detection. Bug 29505. Debug only. code=waterson,r=warren,a=jevering 2000-02-29 01:35:38 +00:00
rickg%netscape.com 03c9cea010 moved string test to windows subdirectory 2000-02-28 15:58:17 +00:00
rickg%netscape.com f3e3ccbf79 Added nsString regression test; not part of build 2000-02-28 15:57:30 +00:00
rickg%netscape.com c37e88e9c1 adding testfile for nsString; this is NOT part of the build 2000-02-28 15:53:11 +00:00
jband%netscape.com 9059c3a2c7 more speedups for bug 28964. Check for .xpt at end of filename before checking to see if the thing is a file or dir because the name check is way faster than the isDir check - if the name check fails then we don't have to even do the isDir check. r=dp, a=jar 2000-02-27 21:43:04 +00:00
davidm%netscape.com 9819271015 22244 Can not load local file on the mac r warren/sfraser a - jar 2000-02-27 16:19:59 +00:00
rpotts%netscape.com 282d92c915 bug #21556. Made Addref/Release on nsInterfaceInfo threadsafe. 2000-02-27 05:29:58 +00:00
rpotts%netscape.com d298d0f902 bug #21556. Made Addref/Release on nsProxyObject threadsafe. 2000-02-27 05:12:25 +00:00
rjc%netscape.com 14065c7824 Fix PDT+ bug # 6770: be able to get filenames from the file system in the platform native charset. Patch from m_kato@ga2.so-net.ne.jp Review: ftang, dougt, and myself. Approval: jar 2000-02-26 02:19:34 +00:00
cls%seawood.org 59b9bb0e4a Explicitly cast mPath to const char* as some compilers can't automatically cast from nxXPIDLCString to char * . 2000-02-26 00:13:30 +00:00
bryner%uiuc.edu 6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
rickg%netscape.com 6aed413a37 fixed bug28837 (r=troy; a=jar). Removed warnings (r=troy) 2000-02-24 08:20:03 +00:00
waterson%netscape.com e81097b87b My bad; I reviewed this code and I suck. This is the right fix. 2000-02-24 06:42:36 +00:00
warren%netscape.com 1abeb9baf7 Fixed comment 2000-02-24 06:02:38 +00:00
warren%netscape.com ebe515a64e Fixing bustage -- NS_MeanAndStdDev not included in release builds. 2000-02-24 05:40:40 +00:00
gagan%netscape.com d86c754b55 Avoid calling Copy from operator= if we are just resetting the nsXPIDLString. So now it is safe to reset an nsXPIDLCString or nsXPIDLString by setting it to null. r=waterson,a=jevering 2000-02-24 05:34:28 +00:00
warren%netscape.com 1b9397ca74 Added NS_MeanAndStdDev 2000-02-24 04:55:31 +00:00
warren%netscape.com 30c22d3f07 Made NS_MeanAndStdDev be extern 'C' 2000-02-24 04:55:05 +00:00
cls%seawood.org 341d658c62 Implement the equivalent of Unix's realpath() for BeOS. Build blocker. a=leaf 2000-02-24 00:48:30 +00:00
sfraser%netscape.com 83963a825c Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar 2000-02-23 23:09:02 +00:00
valeski%netscape.com 301e336587 28782. a=jar. r=rickg. nsCAutoString couldn't handle a '=' of a PRUnichar*, now it can 2000-02-23 22:47:03 +00:00
dougt%netscape.com cd46314d5e fixed regression: 28775 a=leaf, r=ssu. 2000-02-22 19:46:05 +00:00
dbaron%fas.harvard.edu e866e998ed Bug 28413. Correct computation of total leaks. r=warren@netscape.com a=rickg@netscape.com 2000-02-22 13:25:20 +00:00
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
dougt%netscape.com 9a70a79c48 removing unneeded lock. 2000-02-03 02:37:51 +00:00
Jerry.Kirk%Nexwarecorp.com c94584646d Change what its looking for with Neutrino because my uname was
changed. It was looking for NTOx86 but now it should be NTOx86pc
2000-02-03 01:03:19 +00:00
valeski%netscape.com a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
putterman%netscape.com e3af0aa031 Fix for 8405. Japanese shows up in thread pane sender column. r=nhotta, waterson. 2000-02-02 01:46:24 +00:00
sdagley%netscape.com 6e4b26e6ea Fixing bustages in nsLocalFileMac - fixes #25629, #26106 and #25277. r=pinkerton 2000-02-01 23:42:28 +00:00
pp%ludusdesign.com 48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
dougt%netscape.com f9a743cbcb Fix for bug 25941. r=dp,scc. 2000-02-01 07:54:46 +00:00
leaf%mozilla.org b35887b304 windows-only build goop for xpcom/base/nsSystemInfo.cpp, r=syd 2000-02-01 01:08:29 +00:00
scc%netscape.com 6366d6d779 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
dougt%netscape.com ddffe2bc5c Hashtable miss fix. Wrong operator used. submitted by warren. 2000-01-31 23:10:55 +00:00
dougt%netscape.com bdecfd4757 bug fix 25626. r=tor@cs.brown.edu 2000-01-31 23:09:14 +00:00
dougt%netscape.com f20a6b9f24 Since we are only getting information about this file, we should no pass the
GENERIC_READ flag.
2000-01-31 23:07:35 +00:00
dougt%netscape.com d50e282b56 Initializing return values before they are used. 2000-01-31 23:06:04 +00:00
sdagley%netscape.com b3c9985980 Fix mem leak in My_CloseDir() (#25614). r=saari 2000-01-31 22:41:05 +00:00
dp%netscape.com ddcd8ae7df Updating sample generic module showing usage of registration and
unregistration hooks. r=scc
2000-01-31 22:14:43 +00:00
scc%netscape.com f1d17da7df Fixed tabs, some comments, etc. Made |do_QueryInterface()| not participate in the |...TEST_DONTQUERY_CASES| test to help us debug bug #25327. r=pinkerton 2000-01-29 22:29:08 +00:00
scc%netscape.com ea5051731c fix include paths 2000-01-29 20:09:20 +00:00
dougt%netscape.com cff32d57ca Changing IsContainedIn to contains. Reverting to prior version. 2000-01-29 00:00:21 +00:00
dougt%netscape.com 413cc55ebd Renaming IsContainedIn to contains() 2000-01-28 23:54:26 +00:00
dougt%netscape.com 60f34b55dc Renaming IsContainedIn to contains. Fixing implementation on unix. 2000-01-28 23:53:59 +00:00
dougt%netscape.com 461b6ae270 changing flags from DEBUG_dougt to DEBUG_xpcom_proxy.
r=dveditz
2000-01-28 23:51:00 +00:00
dougt%netscape.com 4e572a8752 Changing CID format. r=dveditz 2000-01-28 23:38:20 +00:00
dougt%netscape.com bae665046a Giving these files Purify loving. r=dveditz 2000-01-28 23:37:27 +00:00
dougt%netscape.com d9a6754c4b Fixing dll exports for NS_NewLocalFile()
r=dveditz
2000-01-28 23:35:55 +00:00
sspitzer%netscape.com 444c856c36 fix build breakage on platforms with out ENOLINK
r=Pascal Hofstee <daeron@shadowmere.student.utwente.nl> and r=leaf
2000-01-28 23:09:58 +00:00
ftang%netscape.com db0b7d7842 fix bug 23353. r=warren,rickg . Do not store listener in member data. 2000-01-28 14:41:04 +00:00
dp%netscape.com 026b164598 Removing asm() code. Wont compile on nonx86 linux. 2000-01-28 11:31:39 +00:00
dp%netscape.com 0c427aebb7 Using asm() only for linux. 2000-01-28 11:04:51 +00:00
dp%netscape.com fa970c12ec Adding BreakAfterLoad() API to header. 2000-01-28 09:49:10 +00:00
dp%netscape.com 961042374a Debuggin help from components. Implementing BreakAfterLoad() for DEBUG
builds, which will stop in the debugger after loading any of the :
separated dll substrings listed in environment variable
XPCOM_BREAK_ON_LOAD. Stopping in debugger implemented for
unix.
2000-01-28 09:44:05 +00:00
jband%netscape.com 70fe081181 fix this misnamed method bug for shaver. r=shaver. NOT PART OF BUILD 2000-01-28 08:38:11 +00:00
mccabe%netscape.com a69d6461c1 Rework xpidl_idl to not use a circular buffer. This fixes many problems with buffer boundaries. Fixes
9716 unterminated %{ escape causes endless loop

Clean up memory handling and other aspects of xpidl. Fixes
        11058 bad free in xpidl
        13464 memory leak in xpidl

Store doc comments in IDL-processing phase, and emit them into generated header files.  Fixes
        24734 xpidl should emit doc comments

Add error towards fixing 24965, and fix 13100 'xpidl should error on multiple inheritance'

r=jband
2000-01-28 08:28:48 +00:00
dougt%netscape.com 91f877240e Removing WIN API which requires windows 98 or better. Fixes 25101, and
others.  I erronously checked in a fix which still linked with this non-win95
API.  So, now I am just defaulting to standard GetFileAttributes() and doing
away with the EX version.
2000-01-28 06:17:06 +00:00
sfraser%netscape.com 27e45a31de More fixing for startup crashes and other badness (bugs 25366 and 24312). Fix off by one buffer write. r=sdagley 2000-01-28 01:50:05 +00:00
pollmann%netscape.com de2fb540ba Fix VC 5.0 build bustage r=dougt, harishd 2000-01-28 00:41:06 +00:00
wtc%netscape.com 77ae2ff6a6 Bugzilla bug #17101: move plevent.h and plevent.c from mozilla/nsprpub
to mozilla/xpcom/threads by landing the PLEVENT_MOVE_BRANCH.
Modified files: nsprpub/lib/ds/MANIFEST, nsprpub/lib/ds/Makefile,
nsprpub/lib/ds/Makefile.in, nsprpub/macbuild/NSPR20PPC.mcp,
nsprpub/pr/include/obsolete/protypes.h,
xpcom/macbuild/xpcomPPC.mcp, xpcom/threads/MANIFEST,
xpcom/threads/Makefile.in, xpcom/threads/makefile.win,
xpcom/threads/plevent.h
2000-01-28 00:27:37 +00:00
sfraser%netscape.com 8c541c41a0 Fix for 24312 and other unpredictable crashers on startup. r=sdagley 2000-01-27 23:28:49 +00:00
sgehani%netscape.com 8afb6d4f9e Fix for XPInstall horkage on the Mac. b = 25288 r = sdagley a = mcafee (ssu will be watching the tree in my absence.) 2000-01-27 23:18:06 +00:00
putterman%netscape.com 14753a4220 Fixes 25272 and most likely 25274. r=dougt. 2000-01-27 20:06:23 +00:00
norris%netscape.com 99cce9c9ea Fix crash while loading jar: URI.
r=dougt
2000-01-27 15:58:23 +00:00
shaver%netscape.com 457a19be5b system information service (not yet part of build) 2000-01-27 09:40:17 +00:00
sdagley%netscape.com 7053f1d5f7 Residual work on #17949 - Need to make sure that path passed to Mac impl of nsLocalFile::InitWithPath doesn't end in a :. r=davidm 2000-01-27 08:11:19 +00:00
sfraser%netscape.com fa0e4ebbf5 The prefix file for the optimized target was set to a debug include file. fixed that. r=space monkey. 2000-01-27 07:03:33 +00:00
sfraser%netscape.com 5381c1f499 Some mac-only debug window control. bug 24312. r=jj 2000-01-27 05:51:40 +00:00
sfraser%netscape.com 51486b6b26 Fix the RegXPCOM application to hopefully not crash. bug 24312 r=jj 2000-01-27 05:51:11 +00:00
warren%netscape.com 658e423c71 Fixed problem where avg instance size was computed based on remaining object count, rather than total allocated count. May affect bloat stats on tinderbox. 2000-01-27 05:14:51 +00:00
dougt%netscape.com 96194b86a8 All of these are broken. Alway double check submission/suggestions. 2000-01-27 04:35:44 +00:00
sdagley%netscape.com 36bd7d9c72 Finish cleanup of #19150 - forgot to remove un-needed include after changing code to load fragment via nsLocalFileMac rather than directly calling NSPR. r=lumpy 2000-01-27 02:24:06 +00:00
dougt%netscape.com e61447cd08 Removing Windows95 compiler #ifdef in place of a runtime check
Fixing bug 25152 submitted by kin@netscape.com.

windows only changes.
2000-01-27 01:52:02 +00:00
pinkerton%netscape.com e5d4c38a9a Fix build bustage. needed a typecast in some cases, but not others. 2000-01-26 23:17:53 +00:00
dougt%netscape.com 685b99e170 xpcom/io changes,
Fixes bug 25028.
Added new dirty flag so that resolutions can be purged.
checked in VC5 fix from pollmann and jband
checked in fix from colin@theblakes.com for VMS.

r= valeski, pollmann, colin@theblakes
2000-01-26 21:55:13 +00:00
pinkerton%netscape.com 9d8c2663ba fix for NS_INTERFACE_MAP_END_INHERITING, wrong local var passed to base class's QI. r=scc. 2000-01-26 21:54:07 +00:00
idk%eng.sun.com 595678b109 Fixed some problems with [out] parameters. 2000-01-26 21:17:31 +00:00
jj%netscape.com abd1377dd3 #24312: bumped up memory partition to 20 Mb. 2000-01-26 02:37:33 +00:00
beard%netscape.com 19afa18999 bustage fix. r=dougt 2000-01-25 22:35:47 +00:00
mscott%netscape.com 52e7ef4deb filesize bustage. dougt's fix, r=shaver@mozilla.org 2000-01-25 21:41:00 +00:00
ssu%netscape.com ad510b294a Change the name of the current process directory to match that of the
directory service.  dougt's change r=ssu a=granrose
2000-01-25 20:46:02 +00:00
ssu%netscape.com cbeb05e698 Fixing up directory service so that the current process will be looked up
before being calculated.

Changed this GetProcessDirectory to return an allocated nsIFile.

Making sure that object stored in the nsHashtable are not muteable.

dougt's changes.  r=ssu.  a=granrose.
2000-01-25 20:43:47 +00:00
wtc%netscape.com adb2c3f5c4 Bugzilla bug #17101: added plevent.h (same as
mozilla/nsprpub/lib/ds/plevent.h, revision 3.12) and plevent.c
(same as mozilla/nsprpub/lib/ds/plevent.c, revision 3.36) to
mozilla/xpcom/threads.  These two new files have not been added
to the makefiles or project file, so they are not picked up by
the build.
2000-01-25 14:48:51 +00:00
sspitzer%netscape.com 5cdaa13c07 ignore the generated executable 2000-01-25 06:54:39 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
jdunn%netscape.com 7f1a8f6ba8 #= jdunn@netscape.com 2000-01-24 15:59:26 +00:00
warren%netscape.com 5439dac668 Fix for bugs 24008 and 23849 -- needed to keep mSegmentEnd and mWriteCursor in sync for out-of-memory case. a=chofmann r=fur,gordon 2000-01-21 23:16:35 +00:00
jdunn%netscape.com ab0b188028 Enable Optimized builds on HPUX
# 18875
r= pepper@netscape.com
a= chofmann@netscape.com
2000-01-21 03:17:50 +00:00
putterman%netscape.com 3295d7781f Fix for 24362. Status bar gets updated message counts. a=chofmann. r=dp and jband. 2000-01-20 22:57:08 +00:00
bienvenu%netscape.com b4ed4bbdc9 fix crash on win98 with funny file names, r=dougt 23578 2000-01-19 07:29:33 +00:00
jj%netscape.com 18de736423 #24312: bumped up memory partition of RegXPCom from 10 to 16 Mb. (now set in RegXPCom.mcp prefs instead of -obsolete- RegXPCom.rsrc) r=sfraser 2000-01-19 02:01:02 +00:00
jj%netscape.com f66336369e File Removed. 2000-01-19 01:57:18 +00:00
jdunn%netscape.com 175ee75c0d fix the 'this' adjustment, AIX uses CFRONT while gcc on ppc uses the other one
#= 24305
r= jdunn@netscape.com - I know this is me, but this is an AIX only bug.  jband
   talked me through the fix
2000-01-19 01:19:26 +00:00
scc%netscape.com 80984495ad Fixing runtime assert bustage. r=pinkerton 2000-01-19 01:18:27 +00:00
waterson%netscape.com dde56e71e8 Make ResolveSymLink() fail silently if target was not a shortcut. r=lumpy 2000-01-19 00:35:01 +00:00
scc%netscape.com cf8ef31b63 replace |nsVector| with |nsVoidArray| as per bug #11666. r=dp 2000-01-18 23:03:29 +00:00
scc%netscape.com cb4567b4c8 replaced |nsVector| with |nsVoidArray| as per bug #11666. r=brendan 2000-01-18 22:19:52 +00:00
rickg%netscape.com 1e1d20f88e bug24015; r=rods a=chofmann 2000-01-18 21:06:05 +00:00
jband%netscape.com 4ab84070fb Not part of build. Updating status page 2000-01-18 08:19:27 +00:00
mccabe%netscape.com 3924a1c44a Fix problem with generated consts in .h files for OS/2 - also handle the internal const value more sensibly, and lose wrong 'is_long' distinction.
Thanks to Henry Sobotka <sobotka@axess.com> for finding this problem and suggesting a fix.

r=mccabe
2000-01-18 05:16:48 +00:00
sford3%swbell.net b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
sfraser%netscape.com 91facce6a5 Add nsTextFormatter.cpp, for sford 2000-01-17 22:12:20 +00:00
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