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

2741 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 6c7ee9d839 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 26f37af44a Add docs for XPCOM_MEM_LOG_OBJECTS. 1999-11-11 04:08:28 +00:00
waterson%netscape.com a9a148300b Bug 18069. Support XPCOM_MEM_TRACE_OBJECTS, per-object reference count tracing. r=warren 1999-11-11 03:23:24 +00:00
jdunn%netscape.com ec7c07362b Fix additional bugs with stubs. This still doesn't work 100% but getting there
(basically pulled in the mac ppc CPP file for aix stubs file)
1999-11-11 02:20:22 +00:00
pepper%netscape.com 5c61fc51b8 Changed friend declaration to make HP Compilers Happy.
r=mgleeson
1999-11-11 00:39:59 +00:00
dp%netscape.com bf6fd7a184 Services used with COMPtrs. NS_WITH_SERVICE definition uses COMPtrs. r=scc 1999-11-11 00:31:45 +00:00
tbogard%aol.net 60c2846eae 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 ace870622c revert case change, because I no longer have the accompanying JS changes -- don't ask 1999-11-10 04:18:07 +00:00
shaver%netscape.com 5acff9277c missed a #include 1999-11-10 02:11:08 +00:00
shaver%netscape.com 6b75c445f7 maybe fix build bustage 1999-11-10 02:10:39 +00:00
shaver%netscape.com 8f2e050f88 export nsSupportsArray so the Mac and VC can see it 1999-11-10 01:49:30 +00:00
shaver%netscape.com 61511e23f5 - 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 49bd71ade0 Added |do_CreateInstance()|, |do_GetService()| both by CID and ProgID. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:54 +00:00
scc%netscape.com 535e97599f Moved |do_CreateInstance()| from here to nsComponentManagerUtils.h. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:10 +00:00
dp%netscape.com bd53051d38 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +00:00
dp%netscape.com cc7daf4994 Removing NS_COMFALSE usage. 1999-11-09 23:30:44 +00:00
dp%netscape.com 8cf34af6ff Modifying sample to use NS_MODULE macros. r=alecf 1999-11-09 23:28:10 +00:00
sdagley%netscape.com c865d49c0a Removed yet another file warren obsoleted from yet another MANIFEST file (didn't he come up with the idea for MANIFEST files in the first place?) 1999-11-09 00:31:52 +00:00
scc%netscape.com a4e6a84499 backing it out until doug and I can resolve the types issues 1999-11-09 00:27:05 +00:00
sdagley%netscape.com 18af56888e Yet Another Tree Bistage Fix - looks like warren was having a bad CVS day as he put a typo in the first line 1999-11-09 00:27:00 +00:00
sdagley%netscape.com 73f1c11390 Another shot at fixing Mac build bustage - also remove the obsoleted nsIBuffer.h 1999-11-09 00:08:23 +00:00
scc%netscape.com ace7038d48 dougt's changes from earlier in the week. He was unable to leave them
in at that time because he didn't have my |nsCOMPtr| fixes.  Those went
in last night.  So, on brendans suggestion, I'm reinstating dougt's
previous checkin.
1999-11-08 22:58:14 +00:00
warren%netscape.com 34a64c7050 Removed nsIPageManager.h 1999-11-08 22:40:52 +00:00
warren%netscape.com b9ebf4cb31 Removed obsolete files from tree. 1999-11-08 22:06:07 +00:00
warren%netscape.com 4daa7a2f1e Removed obsolete nsPageMgr.cpp 1999-11-08 22:05:23 +00:00
scc%netscape.com 913a64bdee 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 50bb3ffae5 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
scc%netscape.com 5b7341ca13 Test the new facilities added to |nsCOMPtr| in this checkin. r={danm, hyatt} 1999-11-08 11:43:07 +00:00
dmose%mozilla.org 8535dda53e 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 7756c0bd6f Backing out changes due to nsCOMPtr build problems. 1999-11-05 03:32:33 +00:00
dougt%netscape.com e941d5a661 backing out changes. looks like this stuff is untested in a full build. 1999-11-05 03:31:04 +00:00
cls%seawood.org fa6602724f Fix for the template variable change from <T> to <nsISupports>. r=dougt 1999-11-05 03:11:03 +00:00
dougt%netscape.com 2ea00aa3f9 Changed ownership module inside xpcom/proxy to remove cached objects passed their owner's lifespan.
Removed out of band callback in xpcom/proxy
Fixed webshell leak due to xpcom/proxy. (17009)
Just about everything is now a comptr, god save us. :-)

r=jband, a=brendan.
1999-11-05 02:21:46 +00:00
dougt%netscape.com 777d0f9159 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
sfraser%netscape.com 0e2b8b4a68 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. Adding new error module for libimg. r=pnunn, a=chofmann. 1999-11-04 22:27:36 +00:00
mccabe%netscape.com 525a779e7a Link fixes. Not part of the Mozilla build. 1999-11-04 00:35:31 +00:00
dveditz%netscape.com 2571930b5e shutting up copious warnings using /W4 on MSVC 1999-11-03 07:39:19 +00:00
mccabe%netscape.com f8ee12e046 Fix many nsInterfaceInfo leaks, thanks in part to patches provided by Patrick Beard. Fixes 15855. Some remain.
Clear up build warnings, and quiet nsInterfaceInfomanager debug output unless DEBUG_iim.  Makes startup a li'l less noisy.  Fixes 15628.

r=jband
1999-11-03 07:23:37 +00:00
dp%netscape.com 70d777c1d5 Eliminating use of nsService class in preparation for making services
usable with COMPtrs.
1999-11-03 05:41:43 +00:00
dp%netscape.com 3779ee5d7a Deny GetService() requests which cause Creation of new objects on
shutdown. r=jband, r=ScottPutterman
1999-11-03 05:38:45 +00:00
dp%netscape.com 941ca8da77 Removing nsIShutdown listener usage for ServiceManager. 1999-11-03 05:36:30 +00:00
danm%netscape.com 64746bb9f1 instead of using the thread hashtable's enumerator while processing events (a Mac-specific habit), build and use a parallel linked list structure. hashtable and list want unification someday. fixes bug 16551. r:brendan@netscape.com 1999-11-03 05:30:49 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
shaver%netscape.com 48e279336d updated nsSample.js, long overdue (r=brendan) 1999-11-02 07:36:25 +00:00
warren%netscape.com 33d77cb1fb Added some sanity assertions. r=gagan 1999-11-02 05:38:22 +00:00
tbogard%aol.net 8699825fa8 Second phase of changing NS_ENSURE() to NS_ENSURE_TRUE() and NS_ENSURE_NOT() to NS_ENSURE_FALSE(). r=hyatt 1999-11-02 01:18:52 +00:00
alecf%netscape.com 13eaac5db2 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
tbogard%aol.net 71e4f3b611 Changed NS_ENSURE_NOT() to use NS_ENSURE_FALSE() per API change. 1999-11-01 22:54:06 +00:00
valeski%netscape.com 92f470a32a removing early xpcom proxy release change from earlier in the weekend. 1999-11-01 20:37:13 +00:00
tbogard%aol.net 15d1f9caf3 Changed NS_ENSURE and NS_ENSURE_NOT occurences to be NS_ENSURE_TRUE and NS_ENSURE_FALSE respectively. 1999-11-01 07:40:19 +00:00
tbogard%aol.net c6f78c5454 Changed NS_ENSURE to be NS_ENSURE_TRUE. Also changed NS_ENSURE_NOT to be NS_ENSURE_FALSE. Left NS_ENSURE and NS_ENSURE_NOT, but they will soon be going away. 1999-11-01 06:59:16 +00:00
dougt%netscape.com d44e416546 Adding a set accessor to the permissions functions. Needed by the xpinstall
folks.
1999-11-01 04:44:56 +00:00
troy%netscape.com 10a3dd238f Added nsIFrameDebug interface 1999-11-01 03:34:43 +00:00
tbogard%aol.net 748ff1f5ef Changed NS_IMETHOD to NS_IMETHODIMP on implemented function. 1999-10-31 07:38:44 +00:00
scc%netscape.com 8f4e7ad8e4 changed the mechanism underlying |do_QueryInterface| to decouple |nsCOMPtr| from services, |nsIWeakReference|, etc. This change fixes bug #17364, and paves the way for making |nsCOMPtr| cooperate with services. r=valeski (additional builds done by dmose and syd) 1999-10-31 00:35:48 +00:00
scc%netscape.com b67e1fc39c removed incorrect use of private class name in favor of |do_QueryInterface|, part of the fix for bug #17364, r=valeski (additional builds done by dmose, and syd) 1999-10-31 00:32:15 +00:00
alecf%netscape.com 3c83045767 more tweaks for boehm to catch up with the nsILeakDetector work 1999-10-30 07:06:26 +00:00
dp%netscape.com 36b9b91825 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
beard%netscape.com 296d655c74 added call to nsIThread::SetMainThread(), to ensure users of XPCOM get a main thread mapped. r=warren 1999-10-30 01:52:55 +00:00
beard%netscape.com 49e3e4ba38 Fix proxied objects leak. r=sfraser, bug=15380 1999-10-30 01:17:24 +00:00
colin%theblakes.com 421af72f71 Only define MDCPUCFG if HOST_NSPR_MDCPUCFG is defined. r=cls 1999-10-29 23:03:15 +00:00
valeski%netscape.com 96d6215964 15590, r=kipp. added a nsCStringArray class so the cool string array functionality could be used for CStrings too. this checkin is *part* of a fix to the bug 1999-10-29 20:47:17 +00:00
warren%netscape.com 115c83fe2c Fixed round-off error computing bloat total. 1999-10-29 18:48:37 +00:00
warren%netscape.com 53fec9faa8 Adding pure.h pure_api.c to the build. bug#16695 1999-10-29 03:26:50 +00:00
warren%netscape.com 6695dd938f Took out bogus error message. 1999-10-29 03:19:11 +00:00
warren%netscape.com 1d0b4bbb36 Fixed bug in calculating leak total. 1999-10-28 08:35:53 +00:00
braddr%puremagic.com d92727dc68 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
mccabe%netscape.com 7411a6b98e Undo overly-hasty backout. This reinstates part of my recent checkin. 1999-10-27 03:44:38 +00:00
beard%netscape.com 602f4ce6b8 make warnings not terminate build. fix bustage, r=mccabe 1999-10-27 02:44:34 +00:00
mccabe%netscape.com e0897b5f5f Debust mac-specific \r-related tree breakage. 1999-10-27 01:28:59 +00:00
mccabe%netscape.com 522974aa44 Various fixes to xpidl. Note that this checkin will cause a rebuild of everything that depends on nsISupports.h. Fixes courtesy Mike Shaver, with small tweaks by McCabe. r=shaver, r=mccabe.
- Fix to bug 17013; have xpidl produce an error when encountering a native declaration without an associated (c++-name).

- remove many DEBUG_shaver lines.

- provide xpidl_tree_warning as a fallback for libIDL versions for which IDL_tree warning is bad, and NULL-proof our message callback function.  Also remove a 1k buffer limit from the message callback function.

- make enum in IDL files an error.  We don't support it, and love consts instead.

- Fix to 12684; don't allow [retval] parameter + return or multiple [retval] parameters.

- Fix to 13390; make non-{short,long} const a fatal error.
1999-10-27 00:37:39 +00:00
dougt%netscape.com fadd4861ea People will not like to see my debugging info about object retention. Remov
ing #define.
1999-10-26 21:44:02 +00:00
dougt%netscape.com 2bc3d49418 Cleanup.
Removing convertTo* routines

Not hooked up to build yet.
1999-10-26 19:34:56 +00:00
dougt%netscape.com 2ee074eef9 1) Change ownership model internally. (17009)
2) Fixed IMAP password dialog problems by adding a PR_SLEEP() in
   nested event loop.
3) Now using a pushed event loop.

r=valeski, mscott.
1999-10-26 19:30:50 +00:00
warren%netscape.com 4e72fae941 Fixed NewChannel to pass null for new originalURL argument. 1999-10-26 10:37:37 +00:00
tbogard%aol.net 6843d6728e added files: mozilla/xpcom/base/nsIInterfaceRequestor.idl 1999-10-26 01:37:45 +00:00
tbogard%aol.net e93c451dd6 Adding nsIInterfaceRequestor.idl to the list of built IDL files. 1999-10-26 01:37:29 +00:00
dougt%netscape.com 61be2d8efc ack! what was I thinking.
#ifdef'ing not including!!
1999-10-25 22:57:40 +00:00
dougt%netscape.com 4502bc79ac adding nsIFile to nsXPComInit. Currently it is #ifdef'ed off.
bug 13320
1999-10-25 22:48:44 +00:00
dougt%netscape.com eba9afd931 changed license. 1999-10-25 22:45:56 +00:00
dougt%netscape.com ea546800cd Initial checkin of nsIFile test. bug 13320. r=dougt
Not hooked up to build, yet.
1999-10-25 22:45:12 +00:00
dougt%netscape.com 6ff4a8ef56 Initial checkin of nsIFile windows implementation. bug 13320. r=dougt
Not hooked up to build, yet.
1999-10-25 22:44:42 +00:00
dougt%netscape.com 3ba1f0a07c adding a progID and className. r=me.
NOT PART OF THE BUILD, YET
1999-10-25 22:33:55 +00:00
tbogard%aol.net 1c82dac40d Added new nsIInterfaceRequestor interface. r=dp 1999-10-25 22:31:40 +00:00
tbogard%aol.net a93f3b139b Just added support for an NS_IMPL_ISUPPORTS 7 - 10. 1999-10-25 03:42:10 +00:00
warren%netscape.com ef02b386d9 Fixed up dll loading for Windows. It was silently failing. 1999-10-24 22:01:09 +00:00
warren%netscape.com da05e3e465 Fixed logic for XPCOM_MEM_LOG_CLASSES case. 1999-10-24 09:13:52 +00:00
dp%netscape.com 94d79e100e bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
tbogard%aol.net e58ac9ffbc Just added support for an NS_IMPL_ISUPPORTS6. 1999-10-23 06:55:45 +00:00
dougt%netscape.com 08030792d4 Modification based on design review.
(THIS IS NOT PART OF THE BUILD YET)
1999-10-23 04:51:35 +00:00
warren%netscape.com f7bb01fae9 Fixed warnings. 1999-10-23 03:16:27 +00:00
warren%netscape.com c1533c064c Extended docs to talk about new env vars, and how to read bloat logs. 1999-10-23 03:16:23 +00:00
warren%netscape.com 39ddb330f1 Cleaned up nsTraceRefcnt environment variables. r=kipp,beard 1999-10-23 03:16:19 +00:00
alecf%netscape.com f2f4e12c9c update status 1999-10-22 21:06:59 +00:00
scc%netscape.com 7927b86837 File Removed. 1999-10-22 21:02:15 +00:00
jband%netscape.com ddac4b3b59 commiting patch from Duncan Wilcox <duncan@be.com> to get prototype right in prep for inline assembly call - some pick compilers didn't like unsigned int when it was really uint32. r=jband 1999-10-22 20:53:05 +00:00
kipp%netscape.com 705faaa709 Removed some more warnings 1999-10-22 14:51:41 +00:00
ramiro%fateware.com a426b260aa Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org
1999-10-22 07:11:43 +00:00