Commit Graph

2707 Commits

Author SHA1 Message Date
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