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

2626 Коммитов

Автор SHA1 Сообщение Дата
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