Commit Graph
384 Commits
Author SHA1 Message Date
vidur@netscape.com 9f2f4cab67 Added IID for nsIDOMHTMLFormControlList. a=dagley r=nisheeth 1999-12-22 01:57:28 +00:00
warren@netscape.com 0212fba9bf Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
scc@netscape.com ab6ce3fae8 Fix specialized |CallQueryInterface| as per review by travis ... r=travis. 1999-12-08 01:44:06 +00:00
scc@netscape.com 5efb27a8b5 |NS_REINTERPRET_CAST| might try to adjust pointers on machines where it turns into an old-style cast. Fix that by first casting to |void*|. r=alecf. 1999-12-08 01:41:28 +00:00
scc@netscape.com 6ec9585b85 Adding an alternate version of |CallQueryInterface| as an experiment on behalf of travis. This function is not yet called, and should not effect the build or the runtime. r=hyatt 1999-12-07 14:09:29 +00:00
sfraser@netscape.com c470783de5 Make sure that all warnings just printf on Mac, and don't dump you into MacsBug. r=pinkerton 1999-12-07 07:21:30 +00:00
mscott@netscape.com 4be931e50f Fix build breakage for Travis. 1999-12-07 00:15:42 +00:00
tbogard@aol.net 8f6d774ec5 Changed the way Assertion works. Get ready to remove all the old assertions methods. NS_ASSERTION now works the same way it used with the exception that on Windows it will put up and abort, retry, ignore box if you aren't in the debugger. r=warren. 1999-12-06 23:34:48 +00:00
erik@netscape.com 66a427e786 Grabbing the next ID. Does not affect build. 1999-12-05 02:14:46 +00:00
vidur@netscape.com c61e8d5651 Added nsIJSEventListener and nsICSSLoaderObserver 1999-12-04 01:30:27 +00:00
warren@netscape.com 4ac9a4a1ce Prefixed error/warning messages with something bold and assertive! (And somewhat distinguishable from other output.) 1999-12-02 02:37:54 +00:00
warren@netscape.com ebf6d2f1d3 Made WarnIfFalse not call abort. Made abort be continuable on Windows. r=travis 1999-12-01 05:51:45 +00:00
dp@netscape.com 6fb4a9e682 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
jfrancis@netscape.com b327c2ead4 iid for nsIAbsorbingTransaction 1999-11-30 14:31:18 +00:00
sspitzer@netscape.com 0f6398be8b fix warnings 1999-11-29 20:40:39 +00:00
tbogard@aol.net 1422100e55 Flipped the default of the Windows Warning box that can come up. It now requires an environment variable be set to come up. 1999-11-29 05:50:22 +00:00
warren@netscape.com a03f1a7799 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard@aol.net 957e69ed60 Turned on the do_GetInterface implementation by removing the #ifdef 0. 1999-11-28 02:16:22 +00:00
tbogard@aol.net af0ee0f7ef Added nsIInterfaceRequestor.cpp to the build. 1999-11-28 02:15:11 +00:00
shaver@netscape.com 4b6419d64c Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
akkana@netscape.com d5f6602513 AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver 1999-11-24 21:58:20 +00:00
scc@netscape.com 6cafbe533e added macros preparing us to move to table-driven QI. Please note: travis will be supporting any problems with this checkin till I'm back online in Michigan. r=tbogard 1999-11-23 05:55:31 +00:00
scc@netscape.com 49c96022fe fixed up to match recent changes made to weak references. r=tbogard 1999-11-23 03:30:06 +00:00
scc@netscape.com 8a71f07ef7 commented out, so it could be added to the project. Travis will uncomment it when he adds it to the windows and unix builds. r=tbogard 1999-11-23 03:13:05 +00:00
scc@netscape.com 2cfc96d940 don't ASSERT that it doesn't support weak references for NULL. r=pinkerton 1999-11-23 03:10:02 +00:00
scc@netscape.com 7a9fef1c7b First Checked In. 1999-11-23 02:50:17 +00:00
scc@netscape.com 6e0577b3fd needs |NS_EXPORT| ... still not turned on 1999-11-22 23:11:15 +00:00
scc@netscape.com e0d9a4d808 Added |do_GetInterface| (not turned on yet). This will be turned on when we add a file for the implementation. r=tbogard 1999-11-22 23:09:05 +00:00
scc@netscape.com 84ed122428 clear out result in |do_QueryReferent| on error; assert in |NS_GetWeakReference| if the source object doesn't support weak references; also return NS_ERROR_NO_INTERFACE in release builds. r=pinkerton 1999-11-22 22:59:21 +00:00
dveditz@netscape.com 056d6d3186 x86 win should join unix and alpha win part of DBG_LOG macro 1999-11-22 08:41:04 +00:00
scc@netscape.com 6091c24769 fixed an annoying, but rare, bug where an |nsCOMPtr| in an ownership ring could |Release()| twice. See the comment in the code for details. r=waterson 1999-11-20 08:19:24 +00:00
nisheeth@netscape.com 56a35c3853 Attempt to fix mac build bustage. 1999-11-19 07:37:04 +00:00
mcafee@netscape.com d2238d7736 I forgot more stuff for prefs, fixing bustage per my last checkin here. 1999-11-19 05:54:58 +00:00
mcafee@netscape.com 48905191c0 includes were incorrectly wrapped in the NS_BUILD_REFCNT_LOGGING define, fixing mac/win32 bustage. 1999-11-19 05:08:58 +00:00
nisheeth@netscape.com 8f9bff71d6 r=harishd.
- The stack walking code now works on windows.  We were initializing the symbol handler on each DLL load which was resetting its symbol tables.  Now, we don't re-init the symbol handler repeatedly.

- Added support for an environment variable, XPCOM_REFCNT_LOG_ENABLE_VIA_PREF.  When this is set to 1, refcount logging is done based on whether the "Enable XPCOM refcount log" pref in the Debug pane is set.  If this is not set, refcount logging is not affected by the pref.
1999-11-19 03:50:28 +00:00
dp@netscape.com d0f6a5c86f Fixes compilation error with sun workshop. Removed bogus case to
PRBool. r=akhil.arora@sun.com
1999-11-19 01:14:07 +00:00
erik@netscape.com d6a8888e73 Grabbing the next available ID. Does not affect build. 1999-11-18 16:45:59 +00:00
erik@netscape.com 94b706c7a8 Grabbing the next available IID. Does not affect the build. 1999-11-18 00:09:46 +00:00
fur@netscape.com 4827e5262e Fixed copy/paste error in comment 1999-11-14 15:59:17 +00:00
akhil.arora@sun.com 1f94554743 18639 r=dp need to cast away the const returned by the sun C++ 5.0 compiler 1999-11-12 23:52:17 +00:00
waterson@netscape.com 6195dc8fb2 Oops. Make sure XPCOM_MEM_LOG_CLASSES works without XPCOM_MEM_REFCNT_LOG being set. a=warren 1999-11-11 05:02:03 +00:00
waterson@netscape.com c25ecb6b50 Bug 18069. Support XPCOM_MEM_TRACE_OBJECTS, per-object reference count tracing. r=warren 1999-11-11 03:23:24 +00:00
tbogard@aol.net 0cbe14c086 NS_WARN_IF_FALSE now by default puts the windows messagebox up on a tripped warning condition. Before it relied on the developer having an environment variable set. r=pink a=sdagley 1999-11-10 04:32:33 +00:00
shaver@netscape.com 5ee5b20534 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
scc@netscape.com 5d510f8ed0 missed two T-->nsISupports instances, which primary platforms didn't catch, since they weren't instantiated 1999-11-08 12:25:11 +00:00
scc@netscape.com 89b87d9d7a Specialize |nsCOMPtr| for |nsISupports| (i.e., |nsCOMPtr<nsISupports>|). The specialization _does_not_ have the invariant that |nsCOMPtr<T>| has of always pointing to the COM-correct interface. An |nsCOMPtr<nsISupports>| essentially means "a pointer to _any_ [XP]COM interface". This change allows dougt to fix his M11 bug. a=chofmann, r={danm, hyatt} 1999-11-08 11:43:11 +00:00
dmose@mozilla.org 20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dougt@netscape.com 8f53f389c3 backing out changes. looks like this stuff is untested in a full build. 1999-11-05 03:31:04 +00:00
cls@seawood.org 876afdafe4 Fix for the template variable change from <T> to <nsISupports>. r=dougt 1999-11-05 03:11:03 +00:00
dougt@netscape.com b0ea504804 Fix for 17842. Make nsCOMPtr<nsISupports> should not be weak typed. scc's
this change to me and since he is on vacation until monday and I need this
for an M11 bug, I am checking it in.   I am hoping it is the right
thing to do.

a=brendan.
1999-11-05 02:18:46 +00:00