Commit Graph

2916 Commits

Author SHA1 Message Date
fur%netscape.com
67b239942c In support of bug #8305 (Cache implementation), added new type of hash-table
key, an array of opaque data, not owned by the key. r: dougt
1999-11-16 03:10:54 +00:00
fur%netscape.com
8dc3eec4c8 Fixed a problem with the NS_GENERIC_FACTORY_CONSTRUCTOR_INIT() macro.
If the Init() routine happens to perform a balanced AddRef/Release,
the instance will be prematurely destroyed when Release() is called.
The change is to do the AddRef() before calling the initialization
routine to stabilize the instance's ref-count.

r: dp, putterman
1999-11-16 03:05:36 +00:00
jband%netscape.com
8369137469 r=waterson. add explicit lock and unlock to nsAutoLock. This allows us to use the autolock to cover a scope and to also explicitly bracket a call out to some other function with an unlock and relock 1999-11-15 22:15:27 +00:00
tbogard%aol.net
d395eba82a Simply added the TestXPEventLoop test to the makefile. 1999-11-15 21:52:35 +00:00
putterman%netscape.com
f0fed40b89 Fixes leak. Reviewed by law. 1999-11-15 20:57:24 +00:00
rickg%netscape.com
516adaef6c reenabled safer version of assertion 1999-11-15 17:10:06 +00:00
rickg%netscape.com
a45e164ae6 disable overambitious assert for now; r=rods; a=leaf 1999-11-15 16:38:29 +00:00
fur%netscape.com
843bf59337 Fixed copy/paste error in comment 1999-11-14 15:59:17 +00:00
fur%netscape.com
5036fb1561 Return NS_ERROR_FACTORY_NOT_REGISTERED, not NS_ERROR_FAILURE, if a non-existent ProgID is used to instantiate a component. Also, don't ignore CLSID parse errors. R: dp 1999-11-14 15:41:40 +00:00
rickg%netscape.com
948d04c6d8 change NS_ASSERTION to NS_WARN_IF_FALSE; r=none 1999-11-14 10:05:40 +00:00
rickg%netscape.com
5ff074fed9 finally: a fix for archaic compilers 1999-11-14 07:58:05 +00:00
rickg%netscape.com
af6e99fa32 try again to get around unix problem 1999-11-14 07:20:02 +00:00
rickg%netscape.com
38e3044206 try to get around linux compiler grief 1999-11-14 06:49:43 +00:00
rickg%netscape.com
bd46d8d5f0 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
tbogard%aol.net
00b82b3c85 Changed an NS_ASSERTION to be an NS_WARN_IF_FALSE. r=scc 1999-11-13 07:34:29 +00:00
warren%netscape.com
09ec7d51d0 Fixed QI problem now that comptrs check. 1999-11-13 06:18:34 +00:00
warren%netscape.com
4cbd094273 Fix for case where we're trying to Write to a blocking stream, and we're out of buffer space. This should block. r=rpotts 1999-11-13 06:16:52 +00:00
sspitzer%netscape.com
176ee42b41 fix for #17954
before, if "mail.directory" was set, we'd assume the mail wasn't in the standard
default place, so we'd migrate Mail -> Mail5
now, we check if "mail.directory" == the default place.  if so, we migrate
it like we would if it wasn't set.
Mail -> Users50/<profile>/Mail

to help do this, I added Equals() to the nsIFileSpec interface, to compare
two nsIFileSpec's, it does this by comparing the nsFileSpecs.
1999-11-13 02:02:22 +00:00
akhil.arora%sun.com
d2d2a9d816 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
dp%netscape.com
4588ce8eaf Fixing spelling mistake. 1999-11-12 09:38:26 +00:00
warren%netscape.com
9669aaed56 Minor fix. 1999-11-12 09:10:40 +00:00
warren%netscape.com
7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
jdunn%netscape.com
2439aac20c AIX requires a 'const' in order to handle the assignment of 2 nsStrings
(see wallet.cpp line 3093).

rickg approved
1999-11-12 03:58:15 +00:00
sfraser%netscape.com
fe7238681a Part of fix for 18315 -- allow nsSupportsHashTable to contain null entries, which meant changing NS_{ADDREF,RELEASE} to NS_IF_{ADDREF,RELEASE} in a bunch of places. r=pavlov. 1999-11-11 20:41:54 +00:00
dp%netscape.com
ab88d596f5 Enabling componentmanager shutdown() before a release to clear out
references to the component manager.
1999-11-11 19:38:13 +00:00
waterson%netscape.com
38e277d57c 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
3bf7cba7c6 Add docs for XPCOM_MEM_LOG_OBJECTS. 1999-11-11 04:08:28 +00:00
waterson%netscape.com
db40914d6a 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
524208728f 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
e541e3cf6e Changed friend declaration to make HP Compilers Happy.
r=mgleeson
1999-11-11 00:39:59 +00:00
dp%netscape.com
336bf28bce Services used with COMPtrs. NS_WITH_SERVICE definition uses COMPtrs. r=scc 1999-11-11 00:31:45 +00:00
tbogard%aol.net
dc27e88ecd 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
6256e1b5ec 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
588fbfb868 missed a #include 1999-11-10 02:11:08 +00:00
shaver%netscape.com
dbe8dfe7a0 maybe fix build bustage 1999-11-10 02:10:39 +00:00
shaver%netscape.com
4c650665ed export nsSupportsArray so the Mac and VC can see it 1999-11-10 01:49:30 +00:00
shaver%netscape.com
c73533acb7 - 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
e46756059d 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
6234eff725 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
43788c85b9 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +00:00
dp%netscape.com
6d25ebf971 Removing NS_COMFALSE usage. 1999-11-09 23:30:44 +00:00
dp%netscape.com
e04050e411 Modifying sample to use NS_MODULE macros. r=alecf 1999-11-09 23:28:10 +00:00
sdagley%netscape.com
5af0b5a954 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
ab156a6e51 backing it out until doug and I can resolve the types issues 1999-11-09 00:27:05 +00:00
sdagley%netscape.com
fa914afde9 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
cb9c425fa4 Another shot at fixing Mac build bustage - also remove the obsoleted nsIBuffer.h 1999-11-09 00:08:23 +00:00
scc%netscape.com
a503e1a781 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
a2c6384b79 Removed nsIPageManager.h 1999-11-08 22:40:52 +00:00
warren%netscape.com
435d35a051 Removed obsolete files from tree. 1999-11-08 22:06:07 +00:00
warren%netscape.com
013ca2300f Removed obsolete nsPageMgr.cpp 1999-11-08 22:05:23 +00:00
scc%netscape.com
d5c96b7f3f 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
20035843b1 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
17b2f3cb1a Test the new facilities added to |nsCOMPtr| in this checkin. r={danm, hyatt} 1999-11-08 11:43:07 +00:00
dmose%mozilla.org
142ac52eaf 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
4ccf22afa1 Backing out changes due to nsCOMPtr build problems. 1999-11-05 03:32:33 +00:00
dougt%netscape.com
fd87026ad8 backing out changes. looks like this stuff is untested in a full build. 1999-11-05 03:31:04 +00:00
cls%seawood.org
9c777b0938 Fix for the template variable change from <T> to <nsISupports>. r=dougt 1999-11-05 03:11:03 +00:00
dougt%netscape.com
c6940521e4 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
477a69da9d 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
530fb2917b 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
97953ca6c3 Link fixes. Not part of the Mozilla build. 1999-11-04 00:35:31 +00:00
dveditz%netscape.com
04c2ee43f4 shutting up copious warnings using /W4 on MSVC 1999-11-03 07:39:19 +00:00
mccabe%netscape.com
c0c0c3eb35 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
85b2ef5cce Eliminating use of nsService class in preparation for making services
usable with COMPtrs.
1999-11-03 05:41:43 +00:00
dp%netscape.com
5bc4da0375 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
54d23dfc44 Removing nsIShutdown listener usage for ServiceManager. 1999-11-03 05:36:30 +00:00
danm%netscape.com
d9cffd60b6 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
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
shaver%netscape.com
5d531a717f updated nsSample.js, long overdue (r=brendan) 1999-11-02 07:36:25 +00:00
warren%netscape.com
e0c226d39d Added some sanity assertions. r=gagan 1999-11-02 05:38:22 +00:00
tbogard%aol.net
209f598dcb 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
649ac66265 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
00cbf17523 Changed NS_ENSURE_NOT() to use NS_ENSURE_FALSE() per API change. 1999-11-01 22:54:06 +00:00
valeski%netscape.com
105bf31e01 removing early xpcom proxy release change from earlier in the weekend. 1999-11-01 20:37:13 +00:00
tbogard%aol.net
57619db811 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
3d60c7ebb0 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
8ebbab5553 Adding a set accessor to the permissions functions. Needed by the xpinstall
folks.
1999-11-01 04:44:56 +00:00
troy%netscape.com
7cf2e376ac Added nsIFrameDebug interface 1999-11-01 03:34:43 +00:00
tbogard%aol.net
b20f02431f Changed NS_IMETHOD to NS_IMETHODIMP on implemented function. 1999-10-31 07:38:44 +00:00
scc%netscape.com
b2c12428df 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
d13863d891 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
1a87908390 more tweaks for boehm to catch up with the nsILeakDetector work 1999-10-30 07:06:26 +00:00
dp%netscape.com
c2288cca73 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
beard%netscape.com
5a949b7ea7 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
0f2e6ac1be Fix proxied objects leak. r=sfraser, bug=15380 1999-10-30 01:17:24 +00:00
colin%theblakes.com
b9154c2dbb Only define MDCPUCFG if HOST_NSPR_MDCPUCFG is defined. r=cls 1999-10-29 23:03:15 +00:00
valeski%netscape.com
aad867ad42 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
ae01c120df Fixed round-off error computing bloat total. 1999-10-29 18:48:37 +00:00
warren%netscape.com
5a5994f0bb Adding pure.h pure_api.c to the build. bug#16695 1999-10-29 03:26:50 +00:00
warren%netscape.com
4406d6612d Took out bogus error message. 1999-10-29 03:19:11 +00:00
warren%netscape.com
816ad655d9 Fixed bug in calculating leak total. 1999-10-28 08:35:53 +00:00
braddr%puremagic.com
ea13be0a26 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
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 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
c3ea52c70e Undo overly-hasty backout. This reinstates part of my recent checkin. 1999-10-27 03:44:38 +00:00
beard%netscape.com
88e88fb291 make warnings not terminate build. fix bustage, r=mccabe 1999-10-27 02:44:34 +00:00
mccabe%netscape.com
2dc0208ac7 Debust mac-specific \r-related tree breakage. 1999-10-27 01:28:59 +00:00
mccabe%netscape.com
578b8c54a1 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
fab83a93ba 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
21a9bec623 Cleanup.
Removing convertTo* routines

Not hooked up to build yet.
1999-10-26 19:34:56 +00:00
dougt%netscape.com
ca8525eddf 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
6ae1735a7d Fixed NewChannel to pass null for new originalURL argument. 1999-10-26 10:37:37 +00:00
tbogard%aol.net
cc8a1a912d added files: mozilla/xpcom/base/nsIInterfaceRequestor.idl 1999-10-26 01:37:45 +00:00
tbogard%aol.net
8db65edf30 Adding nsIInterfaceRequestor.idl to the list of built IDL files. 1999-10-26 01:37:29 +00:00
dougt%netscape.com
370ccb6aa0 ack! what was I thinking.
#ifdef'ing not including!!
1999-10-25 22:57:40 +00:00
dougt%netscape.com
ac8f37a098 adding nsIFile to nsXPComInit. Currently it is #ifdef'ed off.
bug 13320
1999-10-25 22:48:44 +00:00
dougt%netscape.com
47cdf76e92 changed license. 1999-10-25 22:45:56 +00:00
dougt%netscape.com
c56a48b5d9 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
0f1164855f 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
a2f7e313f0 adding a progID and className. r=me.
NOT PART OF THE BUILD, YET
1999-10-25 22:33:55 +00:00
tbogard%aol.net
a5676a92a6 Added new nsIInterfaceRequestor interface. r=dp 1999-10-25 22:31:40 +00:00
tbogard%aol.net
0d9a9d8ba4 Just added support for an NS_IMPL_ISUPPORTS 7 - 10. 1999-10-25 03:42:10 +00:00
warren%netscape.com
3fda695ea8 Fixed up dll loading for Windows. It was silently failing. 1999-10-24 22:01:09 +00:00
warren%netscape.com
8cbce82f94 Fixed logic for XPCOM_MEM_LOG_CLASSES case. 1999-10-24 09:13:52 +00:00
dp%netscape.com
b17616fba6 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
8d8ce920cb Just added support for an NS_IMPL_ISUPPORTS6. 1999-10-23 06:55:45 +00:00
dougt%netscape.com
cfd61bd0f8 Modification based on design review.
(THIS IS NOT PART OF THE BUILD YET)
1999-10-23 04:51:35 +00:00
warren%netscape.com
744adae302 Fixed warnings. 1999-10-23 03:16:27 +00:00
warren%netscape.com
1fab60a752 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
8558ad745c Cleaned up nsTraceRefcnt environment variables. r=kipp,beard 1999-10-23 03:16:19 +00:00
alecf%netscape.com
c5a56bfbf8 update status 1999-10-22 21:06:59 +00:00
scc%netscape.com
74b81724eb File Removed. 1999-10-22 21:02:15 +00:00
jband%netscape.com
7120686813 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
8f4ae7163a Removed some more warnings 1999-10-22 14:51:41 +00:00
ramiro%fateware.com
25aba30f43 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
dp%netscape.com
cf16f4e92d bug# 9221 Fixing autoreg terminating on bad aliases. We now let it go
as far as possible ignoring errors. r=sfraser
1999-10-22 06:32:26 +00:00
dp%netscape.com
a8e1f1906e beautify... 1999-10-22 04:47:14 +00:00
valeski%netscape.com
25a47745c1 17039, r=dougt. Releasing QI'd proxy object was causing a crash. this is a temp work around. 1999-10-22 04:07:53 +00:00
scc%netscape.com
a853bff6dc remove nsIVariant.h and nsVariant.cpp as per bug #16987 and changes already in for Unix (thanks brad) and Mac, r=danm 1999-10-22 01:33:03 +00:00
alecf%netscape.com
5f98cabec7 update status 1999-10-22 01:27:08 +00:00
dp%netscape.com
dfb460cb22 bug# 15046 Preventing deletion of dll when getfactory fails. r=shaver,kipp 1999-10-22 01:04:16 +00:00
kipp%netscape.com
8946fa19df Alloc another iid 1999-10-22 00:12:31 +00:00
scc%netscape.com
30618333a0 remove "nsVariant.cpp" from the project, and "nsIVariant.h" from the MANIFEST, as per bug #16987, r=sfraser 1999-10-22 00:12:03 +00:00
braddr%puremagic.com
c5070cffa9 Remove references to nsVariant.cpp and nsIVariant.h.
r=scc
1999-10-21 22:24:17 +00:00
jevering%netscape.com
8aa5c4f8da Enabling boehm leak detector, r=dp bug#15906 1999-10-21 21:59:15 +00:00
jevering%netscape.com
6aab04eb9c Enabling GC detector, r=dp, bug #15906 1999-10-21 21:56:47 +00:00
dp%netscape.com
03fd310400 bug#14656 Circular release problem of component manager. Fixed by
adding shutdown() method that gets called before the last
release. Enabled only for dp & shaver until we resolve js coredump.
1999-10-21 21:34:39 +00:00
dp%netscape.com
719011d7ac Making sample better by using COMPtr r=waterson 1999-10-21 21:32:17 +00:00
dp%netscape.com
6cd59a8e93 Addding xpcom init and shutdown. r=waterson 1999-10-21 21:31:53 +00:00
waterson%netscape.com
ba16fbcd96 Fix solaris (and other unsupported platforms). 1999-10-21 04:28:07 +00:00
waterson%netscape.com
bd64c49c58 Change nsTraceRefCnt::WalkTheStack() to accept stream. 1999-10-21 03:45:38 +00:00
waterson%netscape.com
399d707e95 Modify nsTraceRefcnt::WalkTheStack() to accept a stream. Other misc formatting fixup. work really done by beard, r=waterson. 1999-10-21 03:44:37 +00:00
dveditz%netscape.com
f977e18c0e Missed a test 1999-10-21 01:47:28 +00:00
dveditz%netscape.com
ab0d6dd3aa Changing nsFileSpec Copy and Move function names to match their
functionality, and also to free up the namespace for a *real* Copy
and Move that allow renaming the leaf name rather than just copying
into different directories (i.e. to make backup files). r=ssu
1999-10-21 00:40:39 +00:00
scc%netscape.com
d1f693eb36 First Checked In. 1999-10-20 21:03:21 +00:00
dougt%netscape.com
eed901ef67 removing an extra release (16832)
Now doing a QI when getting a proxy so that the IID matches the |in| real
object.

r=jud
1999-10-20 20:04:20 +00:00
mscott%netscape.com
375bb0d8cd Bug #16843 and #16832 where we were crashing when dismissing dialogs. this may not be the final
fix but in an earlier change to this file today, this class stopped addreffing an event queue member variable.
But the dtor still released a reference to the event queue that it didn't have!
The eventual fix may be to put the addref back in there but I need to talk to dougt about this.

this is real danm's fix. i'm the reviewer.
1999-10-20 08:35:36 +00:00
danm%netscape.com
b9aa00d5ce fixing obvious flaw in Unlink. r:waterson@netscape.com 1999-10-20 08:35:04 +00:00
kipp%netscape.com
84b50871b6 Removed some silly warnings 1999-10-20 00:06:12 +00:00
dougt%netscape.com
fd24e9df56 Fix for bug 16818. xpcom proxy does not handle classes with two or more
interfaces correctly.  What happens is the real object is addref
incorrectly and will never be deleted.

r=jud
1999-10-19 22:35:54 +00:00
danm%netscape.com
2849f7a812 retire event queues even on Windows when they're no longer used. part of bug 15856. r:hyatt@netscape.com 1999-10-19 22:00:12 +00:00
neeti%netscape.com
8224322094 updating status 1999-10-19 21:03:33 +00:00
danm%netscape.com
7fc86226d9 added CreateFromIThread. r:valeski@netscape.com 1999-10-19 19:18:27 +00:00
shaver%netscape.com
4543b5f224 corrected assembly, from Ulrich Drepper <drepper@cygnus.com> (16612, r=shaver) 1999-10-19 19:03:01 +00:00
dp%netscape.com
3e35738382 Fixing warning. Moved declaration into if 0 block. 1999-10-19 05:49:04 +00:00
danm%netscape.com
df8b57314c patch nsEventQueue leak in GetProxyObject r:hyatt@netscape.com 1999-10-18 15:01:40 +00:00
danm%netscape.com
588868b60c event queues own and delete themselves when they're done. bug 15856 r:hyatt@netscape.com 1999-10-18 14:59:57 +00:00
danm%netscape.com
81e0c798a7 new r:hyatt@netscape.com 1999-10-18 14:57:07 +00:00
jband%netscape.com
487a53d244 fix typo in comment 1999-10-18 02:54:26 +00:00
dveditz%netscape.com
99d183d043 Added nsIRegistry::Flush (bug 16283, required for 16600), r=shaver 1999-10-17 21:45:53 +00:00
rickg%netscape.com
5950c8d6ef updated FAQ section of nsString documentation 1999-10-16 18:45:18 +00:00
neeti%netscape.com
4a749e4a2f updating status 1999-10-16 03:07:59 +00:00
warren%netscape.com
f07e3a1f57 Added total/summary information to bloat log. Made LogNewXPCOM/LogDeleteXPCOM only be needed for losing architectures. 1999-10-16 01:57:18 +00:00
jevering%netscape.com
a91fae81ab The nsLeakDetector.cpp file now requires a few extra header files which weren't being exported on win 1999-10-16 01:44:52 +00:00
jevering%netscape.com
a5a23a1e38 Removed a define I shouldn't have checked in. 1999-10-16 01:41:14 +00:00
jevering%netscape.com
29ef77e926 Hooking up the Boehm collector.
Can we please call this thing the Bone Collector?  That would be much cooler.
Thank you drive through.
1999-10-16 01:22:01 +00:00
beard%netscape.com
5192462091 added code to initialize/shutdown the leak detector. bug=15906, r=alecf 1999-10-16 00:06:37 +00:00
beard%netscape.com
63a8e8fbfa renamed NSInitGarbageCollector/NSShutdownGarbageCollector to NS_, and returning nsresult. Moved leak report file to nsLeakDetector.cpp. bug=15906, r=alecf 1999-10-16 00:06:36 +00:00
beard%netscape.com
1fb8ab7b48 added nsLeakDetector.cpp to build. bug=15906, r=alecf 1999-10-16 00:03:45 +00:00
beard%netscape.com
c12c754691 maded entire file conditionally compile #if defined(GC_LEAK_DETECTOR). bug=15906, r=alecf 1999-10-16 00:02:26 +00:00
beard%netscape.com
07ca9c4391 added nsLeakDetector.idl. bug=15906, r=alecf 1999-10-15 22:17:53 +00:00
beard%netscape.com
0c59e7b196 First Checked In. 1999-10-15 21:36:04 +00:00
scc%netscape.com
ef8d06d258 Bug #15292, r=dp. Made the component manager inherit from |nsSupportsWeakReference|, fixed its |QueryInterface()| appropriately, and added casts in two places that became ambiguous now that the component manager had multiple |nsISupports| in it. Now one can hold a weak reference to the component manager using |nsIWeakReference|. 1999-10-15 21:14:43 +00:00
shaver%netscape.com
6af0fa41f9 Fix case and return value in nsIModule.idl.
Add deleteCategoryEntry and deleteCategory to nsICategoryManager.
Update nsCategoryManager.js to use new nsIModule case, and talk to the registry.
r=brendan
1999-10-15 20:51:38 +00:00
jevering%netscape.com
553fa2f217 Adding boehm collector linkages to the windows build.
(not part of the build yet)
1999-10-15 07:40:13 +00:00
dp%netscape.com
1a126bedcd bug# 5085 Eliminating some checks at autoreg time to improve startup
performance. r=sfraser
1999-10-15 07:12:08 +00:00
dveditz%netscape.com
b56193b56d expose libreg ability to delete named values in nsIRegistry. Patch from
Jonas Utterstr�m <jonas.utterstrom@vittran.norrnod.se>, r=dveditz
1999-10-15 06:47:58 +00:00
neeti%netscape.com
de25c33a67 updating status 1999-10-15 04:20:40 +00:00
shaver%netscape.com
b24e11ce8e case correction, scriptability and deprecative comment for nsIEnumerator (r=waterson,brendan) 1999-10-14 23:52:59 +00:00
kipp%netscape.com
f05078fd51 r=dougt; fixed a warning 1999-10-14 23:30:39 +00:00
alecf%netscape.com
cde9ad4a5e add boehm leak detector support to xpcom on linux
(these flags not active in the build yet)
1999-10-14 23:26:41 +00:00
alecf%netscape.com
10294ce549 tweaks to make generic_threads work on linux
not part of build
1999-10-14 23:24:34 +00:00
warren%netscape.com
908c447185 Reordered columns as per macafee's suggestion. 1999-10-14 04:37:13 +00:00
ssu%netscape.com
9419a5b88a fixing bug #16064. checking in for dveditz@netscape.com. r=ssu@netscape.com. This fixes the crash under win98 when running from the windows installer. 1999-10-14 03:26:22 +00:00
alecf%netscape.com
dc4835d974 one down, one to go 1999-10-14 02:01:40 +00:00
alecf%netscape.com
a57e392ad2 update status 1999-10-13 06:14:58 +00:00
mgleeson1%netscape.com
a6f284c62c r=dougt need eol for port boxes 1999-10-13 00:50:31 +00:00
dougt%netscape.com
7292b039e6 adding default constructor (mac compiler blues) 1999-10-12 22:47:50 +00:00
dougt%netscape.com
f4add754d8 adding default constructor (mac compilers blues) 1999-10-12 22:46:49 +00:00
dougt%netscape.com
a9f81ba0a6 changing the entrypoint to call another constructor. I need this since I have
removed an unneeded constructor.  related bug 13724. r=brendan@meer.net
1999-10-12 22:32:10 +00:00
dougt%netscape.com
448861e47a Added a nested event loop instead of blocking during sync calls. Partial fix
for bug 13724.  (I still must remove ifdef's for the autoproxy code.)
r=brendan@meer.net.
1999-10-12 22:29:43 +00:00
neeti%netscape.com
d3ba96aeaf updating status 1999-10-12 13:38:23 +00:00
warren%netscape.com
87ac65a007 Fixed nsnull problem! 1999-10-12 11:21:26 +00:00
warren%netscape.com
c3b514bae4 Fixed return value for non-debug builds. 1999-10-12 10:27:40 +00:00
warren%netscape.com
763c521a26 Added nsTraceRefcnt logging. 1999-10-12 09:30:16 +00:00
warren%netscape.com
bef2702ef0 Made nsTraceRefcnt output write to streams. 1999-10-12 09:30:12 +00:00
waterson%netscape.com
8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
alecf%netscape.com
d7dec17d86 upating status 1999-10-12 02:07:13 +00:00
warren%netscape.com
daf1d34844 Fixed bloat snapshotting capabilities. r=kipp 1999-10-12 00:29:54 +00:00
sfraser%netscape.com
ef4b4b1cca Part of fix for 15795; nsFileSpecMac.cpp is no longer pulled in with a nasty #include, and is thus added to the project. r=dougt 1999-10-11 21:19:47 +00:00
sfraser%netscape.com
2204476289 Fix for bugs 15795 and 16090 -- fix startup crash which was due to an uninitialized nsFileSpec trashing the stack. Also no longer set mError on CreateDirectory if the dir already exists, prevent += "foo" when mError is set, and add assertions XP to catch calls with NULL strings. reviewed by dougt and (in part) sspitzer. a=leaf. 1999-10-11 21:19:06 +00:00
neeti%netscape.com
338a784b77 updating status 1999-10-11 14:17:18 +00:00
mcafee%netscape.com
0bd8bf7016 Enable Solaris/Intel/egcs to build & run. Patch submitted by Roy Jones, r=mcafee 1999-10-10 23:41:23 +00:00
putterman%netscape.com
07068ab854 Create a version of NS_GENERIC_FACTORY_CONSTRUCTOR that lets you pass in
an initialization function.  No bug.  Reviewed by dp.
1999-10-10 22:30:55 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
mccabe%netscape.com
49f0952f48 Fix to 15813. Change to using nsFileSpec to read .xpt files; this is 2x faster on the Mac. Fix courtesy Simon Fraser.
r=sfraser, or r=mccabe, depending on how you look at it.
1999-10-09 02:07:35 +00:00
kipp%netscape.com
3e4961fbf5 Fixed a comment that was out of date 1999-10-08 23:41:39 +00:00
kipp%netscape.com
538bc51120 Fixed up hook to track library loads for refcnt logging 1999-10-08 23:41:18 +00:00
kipp%netscape.com
ecd7cc8833 Always call dump-statistics and reset-statistics so that MOZ_DUMP_LEAKS isn't required 1999-10-08 23:40:52 +00:00
kipp%netscape.com
bf334bfc2d Tweaked to avoid a crash in case bloat tracking is on but there is no bloat data to dump 1999-10-08 23:39:57 +00:00
kipp%netscape.com
c90fda6664 new 1999-10-08 23:04:26 +00:00
kipp%netscape.com
eb36875766 Unbreak people who were actually using MOZ_TRACE_XPCOM_REFCNT 1999-10-08 22:30:19 +00:00
kipp%netscape.com
10856b9b72 Fixed opt build bustage 1999-10-08 22:04:04 +00:00
kipp%netscape.com
50c256a698 Fixed windows build bustage 1999-10-08 21:19:42 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
kipp%netscape.com
ce05d3c599 Merged bloaty and moz ctor counting (space team work) 1999-10-08 20:29:47 +00:00
warren%netscape.com
06c2f304e9 Fixed bug in computing object count mean and stddev. 1999-10-08 04:39:24 +00:00
mscott%netscape.com
3bafcbd4ad Bug #14612. I'm checking this in for warren. r=mscott
The pipe shouldn't block when you write more bytes into the pipe than the size of the pipe's buffer. Add an extra
notify to the writer of the pipe after we read data out of it.
1999-10-08 02:03:34 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
alecf%netscape.com
85fe25d739 add new NS_xxx_MODULE* macros (not used anywhere in the build just yet) 1999-10-08 00:12:29 +00:00
mscott%netscape.com
6f6cc8ed7e Bug #15615 --> when the proxy code is processing an event, we can't be holding onto the event queue's monitor. Because
you could run into the scenario where in processing the event, the thread blocks waiting for an event from another thread.
That thread tries to post the event to the orginal thread's event Queue but can't enter the queue's monitor.
r=warren (or reviewed by me depending on your point of view since we figured it out together).
1999-10-07 23:25:36 +00:00
warren%netscape.com
37676fadb0 Added 'Bloaty' refcounting and memory bloat statistics code 1999-10-07 21:50:20 +00:00
neeti%netscape.com
b8193fe9ec updating status. 1999-10-07 21:44:37 +00:00
dp%netscape.com
d73e78aeaf Removing ifdef DEBUG_dp. 1999-10-07 21:03:48 +00:00
sfraser%netscape.com
a20752a6fd Fix for bug 15749; passing null strings to nsFileSpec routines was doing bad things, like strlen(NULL). r=dougt 1999-10-07 20:57:21 +00:00
alecf%netscape.com
8dc12a2a17 add myself to fix DLLs 1999-10-07 20:15:58 +00:00
rickg%netscape.com
f66add4c0e fixed leak using patch from beard; verified in purify. r=rgess; bug=15751 1999-10-07 07:22:57 +00:00
kipp%netscape.com
72e5e182c4 Fixed a memory leak in the sizeof-handler logic (blush) 1999-10-07 00:49:40 +00:00
neeti%netscape.com
cdc1178594 updating status. Not part of the build 1999-10-06 21:13:38 +00:00
neeti%netscape.com
c476d618f3 updating status. Not part of the build 1999-10-06 21:07:30 +00:00
neeti%netscape.com
55abe613fe updating status. Not part of the build 1999-10-06 21:05:25 +00:00
neeti%netscape.com
1ccae7b9ca updating status. Not part of the build 1999-10-06 20:58:41 +00:00
neeti%netscape.com
cb1ade34e0 updating status. Not part of the build 1999-10-06 20:36:28 +00:00
ramiro%netscape.com
e483adce73 Take myself out of the "you suck" list. r=dp 1999-10-06 20:22:23 +00:00
neeti%netscape.com
72ce36baa9 updating status 1999-10-06 19:01:51 +00:00
warren%netscape.com
1df0904cc1 Fixed build warnings. 1999-10-06 08:51:48 +00:00
dougt%netscape.com
735f646940 Fix for 11812. Reordered the clean up so that deletion of the "real" object
happens after NS_RELEASE of the proxy object.  This is a test program.

reviewed by gagan.
1999-10-06 08:17:04 +00:00
neeti%netscape.com
8bc79224b6 updating status 1999-10-06 04:47:08 +00:00
rjc%netscape.com
07a6549d8a Update leak docs. (Not part of build.) 1999-10-06 03:00:06 +00:00
dp%netscape.com
3d45f4e9ca updating status 1999-10-06 01:09:54 +00:00
sfraser%netscape.com
b24aeb1bee Change Mac library loading to load using the FSSpec. r=dp 1999-10-06 01:09:13 +00:00
kipp%netscape.com
7c4773a988 Implemented suggested change so that leak info is printed if an env variable is used 1999-10-05 23:54:08 +00:00
neeti%netscape.com
fdd1a321dc Not part of the build. Took some more dlls for conversion to use nsImodule 1999-10-05 20:49:20 +00:00
kipp%netscape.com
6982b7bf33 Renamed the ctor/dtor counting macros to make more sense 1999-10-05 14:54:05 +00:00
rickg%netscape.com
a0d9a79a54 bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
jband%netscape.com
2fa72d8d56 xpidl compiler was failing to complain that it is an error to use [shared] with 'inout' params. (no bug was filed) r=mccabe 1999-10-05 04:23:35 +00:00
sfraser%netscape.com
68d29f8de0 Use CR for line termination on Macintosh, and don't call flush() for an endl. r dougt. 1999-10-05 03:00:13 +00:00
kipp%netscape.com
74fe2380b4 Fixed build wastage 1999-10-05 01:43:34 +00:00
jband%netscape.com
a7173aa30d NOT PART OF BUILD updating status page 1999-10-05 00:53:26 +00:00
waterson%netscape.com
2efd076b82 Bug 15367. Dump 'class' instead of 'file/line' for NS_LOG_REFCNT. r=shaver,dp 1999-10-05 00:07:54 +00:00