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

2778 Коммитов

Автор SHA1 Сообщение Дата
dp%netscape.com 35f0cfe5fb Addding xpcom init and shutdown. r=waterson 1999-10-21 21:31:53 +00:00
waterson%netscape.com b8f5242332 Fix solaris (and other unsupported platforms). 1999-10-21 04:28:07 +00:00
waterson%netscape.com 4746574164 Change nsTraceRefCnt::WalkTheStack() to accept stream. 1999-10-21 03:45:38 +00:00
waterson%netscape.com 52db4c3a39 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 5ac3366346 Missed a test 1999-10-21 01:47:28 +00:00
dveditz%netscape.com 4b0ca9d0cd 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 151cfbe7be First Checked In. 1999-10-20 21:03:21 +00:00
dougt%netscape.com 10b97b0e41 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 427e787189 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 c26d0a076e fixing obvious flaw in Unlink. r:waterson@netscape.com 1999-10-20 08:35:04 +00:00
kipp%netscape.com 7aaf0fbe7f Removed some silly warnings 1999-10-20 00:06:12 +00:00
dougt%netscape.com d5f703c051 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 bd88e47084 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 04c6e5203e updating status 1999-10-19 21:03:33 +00:00
danm%netscape.com a07781e709 added CreateFromIThread. r:valeski@netscape.com 1999-10-19 19:18:27 +00:00
shaver%netscape.com a0cf3fcc48 corrected assembly, from Ulrich Drepper <drepper@cygnus.com> (16612, r=shaver) 1999-10-19 19:03:01 +00:00
dp%netscape.com 465b188116 Fixing warning. Moved declaration into if 0 block. 1999-10-19 05:49:04 +00:00
danm%netscape.com 3f44625ab0 patch nsEventQueue leak in GetProxyObject r:hyatt@netscape.com 1999-10-18 15:01:40 +00:00
danm%netscape.com 4b0be45b74 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 23485570b4 new r:hyatt@netscape.com 1999-10-18 14:57:07 +00:00
jband%netscape.com a79feb3b46 fix typo in comment 1999-10-18 02:54:26 +00:00
dveditz%netscape.com 89c765707b Added nsIRegistry::Flush (bug 16283, required for 16600), r=shaver 1999-10-17 21:45:53 +00:00
rickg%netscape.com 643b1bb471 updated FAQ section of nsString documentation 1999-10-16 18:45:18 +00:00
neeti%netscape.com 752db2e43d updating status 1999-10-16 03:07:59 +00:00
warren%netscape.com 1e1e80d431 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 bfaf5fe2a6 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 059fceaa9c Removed a define I shouldn't have checked in. 1999-10-16 01:41:14 +00:00
jevering%netscape.com 27c9a9f387 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 bb43aed314 added code to initialize/shutdown the leak detector. bug=15906, r=alecf 1999-10-16 00:06:37 +00:00
beard%netscape.com 53522cbfa9 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 c4616638ed added nsLeakDetector.cpp to build. bug=15906, r=alecf 1999-10-16 00:03:45 +00:00
beard%netscape.com 7ea07d5b41 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 0dd90a8adb added nsLeakDetector.idl. bug=15906, r=alecf 1999-10-15 22:17:53 +00:00
beard%netscape.com f6236cc2b3 First Checked In. 1999-10-15 21:36:04 +00:00
scc%netscape.com 1b9183448d 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 ee850bb6c5 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 4c48af9f9e 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 7acc865688 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 f0625af1ca 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 70e535f969 updating status 1999-10-15 04:20:40 +00:00
shaver%netscape.com fb1d7afdb5 case correction, scriptability and deprecative comment for nsIEnumerator (r=waterson,brendan) 1999-10-14 23:52:59 +00:00
kipp%netscape.com 20b5fda17c r=dougt; fixed a warning 1999-10-14 23:30:39 +00:00
alecf%netscape.com 404fdd4ba5 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 0e244fcd74 tweaks to make generic_threads work on linux
not part of build
1999-10-14 23:24:34 +00:00
warren%netscape.com 9724200545 Reordered columns as per macafee's suggestion. 1999-10-14 04:37:13 +00:00
ssu%netscape.com 8e422bb733 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 ebc897ed3e one down, one to go 1999-10-14 02:01:40 +00:00
alecf%netscape.com 37d22e1551 update status 1999-10-13 06:14:58 +00:00
mgleeson1%netscape.com abbeaf16fc r=dougt need eol for port boxes 1999-10-13 00:50:31 +00:00
dougt%netscape.com cc663cd3e9 adding default constructor (mac compiler blues) 1999-10-12 22:47:50 +00:00
dougt%netscape.com b1318ad8d7 adding default constructor (mac compilers blues) 1999-10-12 22:46:49 +00:00
dougt%netscape.com f8bd1df34a 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 16ccda5402 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 662c5d8c5b updating status 1999-10-12 13:38:23 +00:00
warren%netscape.com 03745b5cb6 Fixed nsnull problem! 1999-10-12 11:21:26 +00:00
warren%netscape.com 20785fe4f0 Fixed return value for non-debug builds. 1999-10-12 10:27:40 +00:00
warren%netscape.com c8fa46c1eb Added nsTraceRefcnt logging. 1999-10-12 09:30:16 +00:00
warren%netscape.com 9d3362a93a Made nsTraceRefcnt output write to streams. 1999-10-12 09:30:12 +00:00
waterson%netscape.com ab20f5e245 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 b210bad942 upating status 1999-10-12 02:07:13 +00:00
warren%netscape.com 4fb920fb00 Fixed bloat snapshotting capabilities. r=kipp 1999-10-12 00:29:54 +00:00
sfraser%netscape.com 5096a3be53 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 af96133451 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 4e27f736ba updating status 1999-10-11 14:17:18 +00:00
mcafee%netscape.com de13cecf42 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 03260d2789 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 2b60c91417 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 5e4a3d1fa7 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 6319c36ef2 Fixed a comment that was out of date 1999-10-08 23:41:39 +00:00
kipp%netscape.com eac156bd69 Fixed up hook to track library loads for refcnt logging 1999-10-08 23:41:18 +00:00
kipp%netscape.com a604b9c741 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 8317846b4d 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 b007c988e8 new 1999-10-08 23:04:26 +00:00
kipp%netscape.com 249c89f2c3 Unbreak people who were actually using MOZ_TRACE_XPCOM_REFCNT 1999-10-08 22:30:19 +00:00
kipp%netscape.com 0a07e10863 Fixed opt build bustage 1999-10-08 22:04:04 +00:00
kipp%netscape.com a834516be2 Fixed windows build bustage 1999-10-08 21:19:42 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
kipp%netscape.com cb0aab6dff Merged bloaty and moz ctor counting (space team work) 1999-10-08 20:29:47 +00:00
warren%netscape.com 38a0a92c3d Fixed bug in computing object count mean and stddev. 1999-10-08 04:39:24 +00:00
mscott%netscape.com b39c6b6df6 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 b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
alecf%netscape.com fe5db68d0a 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 ace152cd18 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 7023bc55f6 Added 'Bloaty' refcounting and memory bloat statistics code 1999-10-07 21:50:20 +00:00
neeti%netscape.com 5bc08f82cb updating status. 1999-10-07 21:44:37 +00:00
dp%netscape.com 0be9ba382c Removing ifdef DEBUG_dp. 1999-10-07 21:03:48 +00:00
sfraser%netscape.com 5b71ad69f3 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 ffa210e89a add myself to fix DLLs 1999-10-07 20:15:58 +00:00
rickg%netscape.com 47ef87e85b fixed leak using patch from beard; verified in purify. r=rgess; bug=15751 1999-10-07 07:22:57 +00:00
kipp%netscape.com a35056f1f0 Fixed a memory leak in the sizeof-handler logic (blush) 1999-10-07 00:49:40 +00:00
neeti%netscape.com 1a69b3c856 updating status. Not part of the build 1999-10-06 21:13:38 +00:00
neeti%netscape.com be44e2f9fe updating status. Not part of the build 1999-10-06 21:07:30 +00:00
neeti%netscape.com 4dd10a833c updating status. Not part of the build 1999-10-06 21:05:25 +00:00
neeti%netscape.com c3e9530249 updating status. Not part of the build 1999-10-06 20:58:41 +00:00
neeti%netscape.com 09d62c8fd5 updating status. Not part of the build 1999-10-06 20:36:28 +00:00
ramiro%netscape.com ae4803afec Take myself out of the "you suck" list. r=dp 1999-10-06 20:22:23 +00:00
neeti%netscape.com d87b37e558 updating status 1999-10-06 19:01:51 +00:00
warren%netscape.com c0c613c804 Fixed build warnings. 1999-10-06 08:51:48 +00:00
dougt%netscape.com 62c1884532 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 22d5e3f527 updating status 1999-10-06 04:47:08 +00:00
rjc%netscape.com 6b212154ad Update leak docs. (Not part of build.) 1999-10-06 03:00:06 +00:00
dp%netscape.com 17e3c8d23a updating status 1999-10-06 01:09:54 +00:00
sfraser%netscape.com c88c937d0c Change Mac library loading to load using the FSSpec. r=dp 1999-10-06 01:09:13 +00:00
kipp%netscape.com a3b12adb51 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 8c88ad5d28 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 bea8edf606 Renamed the ctor/dtor counting macros to make more sense 1999-10-05 14:54:05 +00:00
rickg%netscape.com 36cb1afdae bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
jband%netscape.com c6aa2b642c 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 7d4a0c331c 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 2723fecd03 Fixed build wastage 1999-10-05 01:43:34 +00:00
jband%netscape.com bdca7ccfb3 NOT PART OF BUILD updating status page 1999-10-05 00:53:26 +00:00
waterson%netscape.com ce673a63e9 Bug 15367. Dump 'class' instead of 'file/line' for NS_LOG_REFCNT. r=shaver,dp 1999-10-05 00:07:54 +00:00
kipp%netscape.com 36cc073124 r=dp; cleanup xpcom library too during shutdown to reduce global leaks 1999-10-05 00:07:39 +00:00
kipp%netscape.com 596f2c8f8b r=dp; implement some macros to help track memory leaks 1999-10-04 23:36:18 +00:00
kipp%netscape.com c90dade264 r=brendan; applied changes recommended by brendan 1999-10-04 23:35:51 +00:00
neeti%netscape.com 43f4c335d4 cookie module conversion done 1999-10-04 14:34:54 +00:00
colin%theblakes.com af2317e98b Don't link against xptinfo - its not needed. r=ramiro 1999-10-04 10:44:49 +00:00
beard%netscape.com 0444d71f36 fixed breakage, until mozilla/gc/boehm gets added to the default module. 1999-10-03 21:31:43 +00:00
beard%netscape.com 26ba00f59b changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:47:12 +00:00
beard%netscape.com f2c930ff57 Modernized to use NSComponentStartup.o. Not part of build. 1999-10-03 02:58:48 +00:00
beard%netscape.com 19a9e452e9 added access path to find Sample.idl. Not part of build. 1999-10-03 02:58:20 +00:00
rbs%maths.uq.edu.au 52a03b0682 Taking an interface ID for the nsIMathMLFrame interface 1999-10-02 09:00:39 +00:00
rjc%netscape.com f2e42dac4b Update leak docs. (Not part of build.) 1999-10-02 00:52:49 +00:00
valeski%netscape.com a05208badc 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 1999-10-01 23:30:06 +00:00
danm%netscape.com abb582d012 making copacetic for AIX 1999-10-01 20:27:45 +00:00
dp%netscape.com 0533415a4e Using NS_ENSURE and NS_GET_IID() 1999-10-01 20:13:55 +00:00
kin%netscape.com cad219e42e Fix VC5 build bustage with (T*) cast. 1999-10-01 16:23:17 +00:00
tbogard%aol.net 19e7c06b2c Changed NS_ENSURE* macros to use the new NS_WARN_IF_FALSE instead of the NS_ERROR. r=shaver. 1999-10-01 04:34:03 +00:00
danm%netscape.com 191e90b327 adding nsCWeakReference r:scc a:chofmann 1999-10-01 02:44:45 +00:00
danm%netscape.com 88021df2e7 adding nsCWeakReference. r:scc a:chofmann 1999-10-01 02:43:27 +00:00
danm%netscape.com c64e1c6e91 new 1999-10-01 02:38:41 +00:00
vidur%netscape.com 6621bc499e Parser CIDs and IIDs 1999-09-30 23:10:58 +00:00
beard%netscape.com b1e1f90c07 fix breakage on Mac, r=kipp 1999-09-30 22:45:23 +00:00
beard%netscape.com aa9f92635a fix breakage on Mac 1999-09-30 22:30:32 +00:00
kipp%netscape.com 233c1f07ea Whoops. Fixed 1999-09-30 22:21:31 +00:00
kipp%netscape.com 9cedfc89b5 added files: mozilla/xpcom/sample/nsSampleModule.cpp, removed files: mozilla/xpcom/sample/nsSampleFactory.cpp 1999-09-30 21:43:40 +00:00
kipp%netscape.com 1136a6cf58 Button up some shutdown memory leaks 1999-09-30 21:43:35 +00:00
kipp%netscape.com bbed20eda3 Improved 1999-09-30 21:41:50 +00:00
kipp%netscape.com 66a34ae73d Fixed bug in ReleaseServcie that was recreating the service manager during shutdown 1999-09-30 21:40:27 +00:00
kipp%netscape.com f5bd237b9f Allow atom table to be purged during shtudown 1999-09-30 21:40:00 +00:00
kipp%netscape.com 61973f750f Added in new nsDebug macros 1999-09-30 21:39:31 +00:00
kipp%netscape.com 24f1b3b840 Santize NS_EXPORT decl 1999-09-30 21:39:16 +00:00
dp%netscape.com a083cd6d58 Added more guidelines. Neeti took a few dlls. DOC CHANGE a=leaf 1999-09-30 17:54:08 +00:00
beard%netscape.com 387ef8fa15 initialization/shutdown code for GC leak detector. conditionalized on GC_LEAK_DETECTOR. r=sfraser 1999-09-30 07:41:37 +00:00
beard%netscape.com 16ce2ccb58 cleaned up, made more XP, r=sfraser 1999-09-30 07:39:28 +00:00
rjc%netscape.com a8b61ee726 Fix bug # 15135: when creating a nsFileURL, don't resolve aliases on Mac... just point to the file whether its an alias or not. Review: dougt@netscape.com 1999-09-30 06:41:33 +00:00
rickg%netscape.com be38ccfc5a replace ANSI true/false with PR_TRUE; sorry about that. 1999-09-30 05:15:37 +00:00
rickg%netscape.com 55844ee5d3 perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
beard%netscape.com 4fb4f79f56 First Checked In. 1999-09-30 03:30:00 +00:00
dp%netscape.com 1119e80848 Taking profile 1999-09-30 01:56:26 +00:00
dp%netscape.com bb0cecea54 Status updated. Allocated dlls to robert. 1999-09-29 23:45:05 +00:00
dp%netscape.com 1ba9cd775d added apprunner dlls 1999-09-29 23:23:56 +00:00
briano%netscape.com a11b1b4c57 Fix for AIX 4.2, specifically, but should help other platforms with shared library difficulties. Approved for carpool checkin by mcafee. 1999-09-29 21:41:26 +00:00
vidur%netscape.com 53da96337b Signing up for modularizing htmlpars. This file is not part of the build!! 1999-09-29 16:46:49 +00:00
bienvenu%netscape.com 9f49d67aef more build bustage with reg stuff 1999-09-29 04:06:15 +00:00
sfraser%netscape.com 04b0e04edb Fixing use of obsolete types for shaver. 1999-09-29 02:54:18 +00:00
sfraser%netscape.com 7b54d88773 Added nsICategoryHandler.idl, nsICategoryManager.idl, nsIRegistry.idl for shaver. 1999-09-29 02:53:07 +00:00
briano%netscape.com 63389a951e Fix for AIX 4.2, specifically, but should help other platforms with shared library difficulties. 1999-09-29 02:52:12 +00:00
shaver%netscape.com a0d5aa9034 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
shaver%netscape.com f53bc807b4 nsIRegistry scriptability and beginning of category support, r=dp,alecf,dveditz a=leaf,chofmann 1999-09-29 02:35:42 +00:00
briano%netscape.com 6c101d06fc Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties. 1999-09-29 01:09:41 +00:00
dp%netscape.com b5d4c05aa7 leaks fixing in components 1999-09-29 01:07:32 +00:00
briano%netscape.com 798311b879 Fix for AIX 4.2, specifically, but should help other platforms with shared library difficulties. 1999-09-29 00:19:10 +00:00
pavlov%netscape.com 542000257a add newline at the end of the files 1999-09-28 21:21:31 +00:00
pavlov%netscape.com b8eadc13f4 change emacs headers to use C++ instead of IDL and add newline to bottom of files 1999-09-28 21:20:18 +00:00
kipp%netscape.com 9d2c6b8b2e Fixed to not pre-create the factory 1999-09-28 20:54:26 +00:00
dp%netscape.com aa203a1405 Unloading of dlls on shutdown turned off. 1999-09-28 19:42:06 +00:00
briano%netscape.com ee188f7cef Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties. 1999-09-28 19:15:20 +00:00
kipp%netscape.com 8e07f81107 new 1999-09-28 19:03:20 +00:00
warren%netscape.com d702d927b7 Made it handle CIDs of the form {fe04c8e6-501e-11d3-a527-0060b0fc04b7}. 1999-09-28 18:01:47 +00:00
tbogard%aol.net 6bdd4c6d76 Changes to reflect changes made in XPCOM with respect to shutting down XPCOM. This is a test is not hooked to the code. 1999-09-28 17:55:02 +00:00
tbogard%aol.net 7286391b96 1.) nsIEvent now has an attribute for isExitEvent(). This allows one to test if the current event represented by nsIEvent is a signal to exit the loop.
2.)  The various Run* routines were made more general.  This allowed me to move them completely within the nsCBaseLoop code rather than have them duplicated across the different Base Loop Typed classes.  This avoids the cut and pasting of code, that will probably be tweaked in the future.

3.)  To support the new Run* routines, I have added a RetrieveNextEvent and then a PlatformRetrieveNextEvent.  The first is implemented in nsCBaseLoop.  This was added to facilitate ordering of event retrieval in the near future (ie, pulling system events before normal events, or pulling PLEvents etc.)  The second function is one that platform code must override.  This is different for each loop type.  Basically this is supposed to be whatever it takes for a given implementation to pull the next event off the queue for the given loop type.  So in the Windows world, this function calls GetMessage() for the Thread and App loop types and then PeekMessage() with PM_REMOVE set for the Breath loop type.

This code is compiled but not used by the main build.  A=chofmann
1999-09-28 16:52:10 +00:00
briano%netscape.com b7f190a47d Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties. 1999-09-28 03:16:38 +00:00
dveditz%netscape.com fcba679114 Make sure componentMgr calls NR_ShutdownRegistry(), fixing MLKs and registry corruption from unflushed registry buffers.
r=dp,a=chofmann
1999-09-26 21:20:21 +00:00
dp%netscape.com 1f335f710b Separating dll Shutdown from unload. Calling dll shutdown
unconditionally on NS_Shutdown.
1999-09-26 18:06:41 +00:00
dp%netscape.com 5479b15e62 Passing down NS_Shutdown to Unloading of libraries. 1999-09-26 18:04:27 +00:00
dp%netscape.com 73b907b3bb Adding NS_Shutdown. 1999-09-26 18:02:52 +00:00
warren%netscape.com 017be78c96 Cleaned up, using NS_WITH_SERVICE 1999-09-26 10:05:06 +00:00
warren%netscape.com e52e98036a Cleanup 1999-09-26 10:04:36 +00:00
warren%netscape.com 9c1b7ede80 Took out unused page manager. 1999-09-26 07:26:21 +00:00
sfraser%netscape.com bc69b1199e Remove NSStdLibStubs, since we're linking with NSStdLib anyway 1999-09-26 00:44:58 +00:00
kipp%netscape.com 4371d6e0c3 Removed throbber IID 1999-09-25 20:13:53 +00:00
kipp%netscape.com f5128d40c0 Tidy up 1999-09-25 20:11:33 +00:00
briano%netscape.com c5c9a17957 SCO-specific fix. Approved by chofmann. 1999-09-25 00:38:13 +00:00
dp%netscape.com 8cee8d6b8e Releasing servMgr if one is passed in to match NS_InitXPCOM() 1999-09-24 06:26:17 +00:00
dp%netscape.com 30c6dcea98 Assertion to ensure proper xpcom shutdown. 1999-09-24 01:40:18 +00:00
bienvenu%netscape.com d88d8c7de9 fix 14544 pop move msg filters broken r=dougt a=chofman 1999-09-23 04:18:00 +00:00
dp%netscape.com cade126469 UnloadAll() on non-native loaders. 1999-09-23 00:14:00 +00:00
dp%netscape.com 7ad2cf949e Enabling xpcom shutdown to call NSCanUnload() on every component. 1999-09-23 00:01:53 +00:00
dp%netscape.com c537399e79 Assertions to ensure proper shutdown of xpcom. 1999-09-23 00:00:08 +00:00
jband%netscape.com 0319411eb6 avoid uninitialized memory reads by copying only the significant part of the union when initializing an nsXPTCVariant from a nsXPTCMiniVariant using nice encapsulated inline method. 1999-09-22 07:53:07 +00:00
ftang%netscape.com 2ed6db0a55 fix utf converson bug 1999-09-22 03:20:21 +00:00
shaver%netscape.com 1fe19c92b7 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
shaver%netscape.com 69a0052fba talk about JS components, remove gratuitous 'netscape' from progID 1999-09-21 21:23:02 +00:00
shaver%netscape.com 323716dede add JS version of nsISample component 1999-09-21 21:11:29 +00:00
scc%netscape.com 13de5fd9cc Made a protected method for severing weak references early 1999-09-21 20:20:04 +00:00
shaver%netscape.com 940f9ecaa3 need to use different module names to avoid overwriting xpcom.xpt 1999-09-21 14:12:26 +00:00
waterson%netscape.com 9399054cb4 #undef CreateDirectory to fix problem where winbase.h #define
CreateDirectory and makes it appear as if nsFileSpec has a
CreateDirectory[A|W] method.
1999-09-21 03:09:39 +00:00
waterson%netscape.com 88220ac198 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
warren%netscape.com 1fed8a8658 Taking out the damn nsCOMPtr for nsThreadPool for Mac! 1999-09-20 22:35:06 +00:00
dougt%netscape.com 780ed62171 removing const from nsIFile types 1999-09-20 21:48:30 +00:00
warren%netscape.com 1c51d9a00b Fixed warnings. 1999-09-20 20:57:21 +00:00
warren%netscape.com 090b763079 fixed refcounting in nsThread so threads and runnables are freed 1999-09-20 20:54:23 +00:00
warren%netscape.com 50695b3074 fixed mismatched free in nsProperties 1999-09-20 20:54:16 +00:00
warren%netscape.com bf0644b021 freed tree nodes in nsAVLTree 1999-09-20 20:54:12 +00:00
warren%netscape.com 5ba5245976 fixed ReleaseService and UnregisterService to work during shutdown 1999-09-20 20:54:09 +00:00
warren%netscape.com 398e934fcf fixed circular references in nsNativeComponentLoader 1999-09-20 20:54:04 +00:00
warren%netscape.com ba00fc54e6 freed mComponentsDir in nsComponentManager 1999-09-20 20:53:57 +00:00
warren%netscape.com c06b47f091 freed global service manager in NS_ShutdownXPCOM 1999-09-20 20:53:49 +00:00
warren%netscape.com ce1be74e8b fixed mismatched free issues with nsID::ToString 1999-09-20 20:52:12 +00:00
jband%netscape.com ba34c29f9d round out the isDependent test and change an || to a switch 1999-09-20 07:30:04 +00:00
jband%netscape.com d71df905e6 fix a warning 1999-09-20 07:27:51 +00:00
waterson%netscape.com 68dca0f326 Fix memmove() stuff. 1999-09-20 06:11:36 +00:00
rickg%netscape.com f61c70437c back out update to Append(int,radix) until I can find ltoa() on linux 1999-09-20 05:50:43 +00:00
rickg%netscape.com f66f156777 explicitly include <stdlib.h> 1999-09-20 05:32:36 +00:00
rickg%netscape.com e88d99f2af fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf 1999-09-20 05:10:32 +00:00
waterson%netscape.com cde33ac847 Use tabs instead of spaces separate frames in stack dump: new demangling code introduces spaces. 1999-09-20 03:45:21 +00:00
jband%netscape.com f3272a9547 - Changed the interface for getting the interface_is argnum.
- Merged the typelib types for array and array_with_length.
- Added typelib types for string_with_size and wstring_with_size
1999-09-20 02:50:28 +00:00
mccabe%netscape.com 39e5fe6519 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
rickg%netscape.com 825883efbc improved safety of CBufDescriptor 1999-09-19 16:43:09 +00:00
colin%theblakes.com 7d79cb341d Remove xpcomds_s and xptinfo from LIBS since they don't appear to be needed. Sorry if some other platform does need them! 1999-09-18 19:36:38 +00:00
briano%netscape.com 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
rickg%netscape.com 774ce4e0ea checking bufferroutines.h back in; it looked like a red herring 1999-09-18 01:45:19 +00:00
rickg%netscape.com 9f2ec58266 back out part of this change for more testing; I missed a case which caused a crash 1999-09-18 01:09:48 +00:00
colin%theblakes.com 571f566bab Fix two compiler warnings and one coding bug 1999-09-18 00:07:20 +00:00
rickg%netscape.com d9e8b9c7b1 performance improvements and larger default buffer size 1999-09-17 23:46:55 +00:00
brendan%mozilla.org 2bb8bfa744 *** empty log message *** 1999-09-17 23:21:29 +00:00
frankm%eng.sun.com 8c0585d7db - In nsInterfaceInfoManager.cpp, get the allocator with nsAllocator::GetGlobalAllocator, not from nsServiceManager. (Allocator now cached with nsCOMPtr.)
- Insure that debugging code in nsInterfaceInfo and TestInterfaceInfo fails gracefully instead of segfaulting.
1999-09-17 22:46:44 +00:00
waterson%netscape.com 638ad511fc Make nsFileSpecMac tough enough to deal with a Unix-style path with two or more forward slashes that are right next to each other; e.g., foo//bar/baz.html. Previously, it would convert this to foo::bar:baz.html, which is the Unix equivalent of foo/../bar/baz.html. Oops. Anyway, this keeps Mac from crashing on startup. 1999-09-17 07:03:09 +00:00
dveditz%netscape.com b83b004785 match buffered i/o registry change in XP_MAC section 1999-09-17 07:00:55 +00:00
dp%netscape.com 6cf6be44ee Caching of what registry was opened to improve performance of multiple
opens on the same registry file.
1999-09-17 05:46:25 +00:00
beard%netscape.com 85da0d0df7 Added QueryElementAt() which combines GetElementAt() and QueryInterface(). Rationale: combining operations saves a call to AddRef/Release, since it's done by QI. Approved by dp. 1999-09-16 21:29:22 +00:00
dp%netscape.com 78ee9ec7ec Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
dp%netscape.com 764fede6dc NS_ADDREF() instead of calling it directly 1999-09-16 19:20:18 +00:00
dp%netscape.com 340ea43d16 Removing DEBUG_dp 1999-09-16 19:11:00 +00:00
dp%netscape.com 9623ad7646 Adding Set() to configure component directory and registry 1999-09-16 19:08:31 +00:00
tbogard%aol.net d120b1b238 Implemented nsIWinEvent and nsIWinEventFilter to allow picking the windows platform structure apart rather than grabbing as a blob. 1999-09-16 06:43:26 +00:00
dveditz%netscape.com f3deb25a6d expose whether the registry is already open or not, which enables the profile
manager to avoid opening and closing the registry ~20 times at startup.
1999-09-16 05:32:28 +00:00
cyeh%netscape.com fb5fcc3775 remove debug libraries from optimized target 1999-09-16 01:44:23 +00:00
warren%netscape.com 48cf4685a9 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
slamm%netscape.com 5c39a7277d Fix build warnings. 1999-09-16 00:15:30 +00:00
rjc%netscape.com 382ccf814c Added some debug linkages. Also add .rsrc file that includes a SIZE resource so that RegXPCOM mini-app has a parition size greater than the largest component it needs to load in. 1999-09-15 23:36:55 +00:00
rjc%netscape.com 9174282213 Add .rsrc file that includes a SIZE resource so that RegXPCOM mini-app has a parition size greater than the largest component it needs to load in. 1999-09-15 23:36:26 +00:00
warren%netscape.com 0d417cf301 Added missing includes. 1999-09-15 22:33:38 +00:00
warren%netscape.com 7e13222da7 Added missing includes. 1999-09-15 22:28:27 +00:00
cls%seawood.org ad1c348b2c For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new 1999-09-15 22:00:12 +00:00
warren%netscape.com a4b88eae3e Removed this in favor of idl 1999-09-15 21:49:21 +00:00
gordon%netscape.com 01100eb47f Added nsIThread.idl, nsIThreadPool.idl, and nsIRunnable.idl as part of warren's checkin. 1999-09-15 21:46:55 +00:00
warren%netscape.com a18c45690f Making nsIThread nsIRunnable and nsIThreadPool idl interfaces. 1999-09-15 21:41:20 +00:00
ftang%netscape.com b7426bd0c8 add nsTextFormater to dlldeps.cpp 1999-09-15 21:23:31 +00:00