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

2572 Коммитов

Автор SHA1 Сообщение Дата
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
kipp%netscape.com b18e3d2122 r=dp; cleanup xpcom library too during shutdown to reduce global leaks 1999-10-05 00:07:39 +00:00
kipp%netscape.com 9b78e0fd9d r=dp; implement some macros to help track memory leaks 1999-10-04 23:36:18 +00:00
kipp%netscape.com a5969c2c3f r=brendan; applied changes recommended by brendan 1999-10-04 23:35:51 +00:00
neeti%netscape.com bbe0ad61fd cookie module conversion done 1999-10-04 14:34:54 +00:00
colin%theblakes.com a3b54e240a Don't link against xptinfo - its not needed. r=ramiro 1999-10-04 10:44:49 +00:00
beard%netscape.com 81c6993750 fixed breakage, until mozilla/gc/boehm gets added to the default module. 1999-10-03 21:31:43 +00:00
beard%netscape.com 208d328010 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 aae57945f3 Modernized to use NSComponentStartup.o. Not part of build. 1999-10-03 02:58:48 +00:00
beard%netscape.com 9f9e1e8d58 added access path to find Sample.idl. Not part of build. 1999-10-03 02:58:20 +00:00
rbs%maths.uq.edu.au 0c41307df4 Taking an interface ID for the nsIMathMLFrame interface 1999-10-02 09:00:39 +00:00
rjc%netscape.com dcbe5188de Update leak docs. (Not part of build.) 1999-10-02 00:52:49 +00:00
valeski%netscape.com d66cd6ac49 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 eabfc99537 making copacetic for AIX 1999-10-01 20:27:45 +00:00
dp%netscape.com 73ae297aae Using NS_ENSURE and NS_GET_IID() 1999-10-01 20:13:55 +00:00
kin%netscape.com 6f4be6ee0d Fix VC5 build bustage with (T*) cast. 1999-10-01 16:23:17 +00:00
tbogard%aol.net fa4392cf29 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 e8ab63123c adding nsCWeakReference r:scc a:chofmann 1999-10-01 02:44:45 +00:00
danm%netscape.com c6882a2ad2 adding nsCWeakReference. r:scc a:chofmann 1999-10-01 02:43:27 +00:00
danm%netscape.com c33eb3635a new 1999-10-01 02:38:41 +00:00
vidur%netscape.com 02996db1a6 Parser CIDs and IIDs 1999-09-30 23:10:58 +00:00
beard%netscape.com effe837ad8 fix breakage on Mac, r=kipp 1999-09-30 22:45:23 +00:00
beard%netscape.com 77f45de475 fix breakage on Mac 1999-09-30 22:30:32 +00:00
kipp%netscape.com 573461a95a Whoops. Fixed 1999-09-30 22:21:31 +00:00
kipp%netscape.com 7a4fd32215 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 79afe35b3b Button up some shutdown memory leaks 1999-09-30 21:43:35 +00:00
kipp%netscape.com 33105cb78c Improved 1999-09-30 21:41:50 +00:00
kipp%netscape.com a1f617e75c Fixed bug in ReleaseServcie that was recreating the service manager during shutdown 1999-09-30 21:40:27 +00:00
kipp%netscape.com 4f9c341b0c Allow atom table to be purged during shtudown 1999-09-30 21:40:00 +00:00
kipp%netscape.com 556d538c8f Added in new nsDebug macros 1999-09-30 21:39:31 +00:00
kipp%netscape.com 5320617259 Santize NS_EXPORT decl 1999-09-30 21:39:16 +00:00
dp%netscape.com ca16e741a5 Added more guidelines. Neeti took a few dlls. DOC CHANGE a=leaf 1999-09-30 17:54:08 +00:00
beard%netscape.com f6b231af47 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 ed5ef54678 cleaned up, made more XP, r=sfraser 1999-09-30 07:39:28 +00:00
rjc%netscape.com 3a85b37943 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 350d30ae94 replace ANSI true/false with PR_TRUE; sorry about that. 1999-09-30 05:15:37 +00:00
rickg%netscape.com 6f744b281a perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
beard%netscape.com 63e115364d First Checked In. 1999-09-30 03:30:00 +00:00
dp%netscape.com b12be59dfd Taking profile 1999-09-30 01:56:26 +00:00
dp%netscape.com 243c97188a Status updated. Allocated dlls to robert. 1999-09-29 23:45:05 +00:00
dp%netscape.com b0a9c7e58d added apprunner dlls 1999-09-29 23:23:56 +00:00
briano%netscape.com f0fdbc6804 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 70b79b09ac Signing up for modularizing htmlpars. This file is not part of the build!! 1999-09-29 16:46:49 +00:00
bienvenu%netscape.com 3329e475c2 more build bustage with reg stuff 1999-09-29 04:06:15 +00:00
sfraser%netscape.com c4ba817155 Fixing use of obsolete types for shaver. 1999-09-29 02:54:18 +00:00
sfraser%netscape.com 2528eb44a4 Added nsICategoryHandler.idl, nsICategoryManager.idl, nsIRegistry.idl for shaver. 1999-09-29 02:53:07 +00:00
briano%netscape.com 70325de63d 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 7a5b9d5e55 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
shaver%netscape.com f28337480b 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 356b764b85 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 f5f9bef6b0 leaks fixing in components 1999-09-29 01:07:32 +00:00
briano%netscape.com b05d07ff2d 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 4a9b682a87 add newline at the end of the files 1999-09-28 21:21:31 +00:00
pavlov%netscape.com 06e61813c0 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 af5570e017 Fixed to not pre-create the factory 1999-09-28 20:54:26 +00:00
dp%netscape.com 5632fd9b86 Unloading of dlls on shutdown turned off. 1999-09-28 19:42:06 +00:00
briano%netscape.com 6ad833aac3 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 493d404539 new 1999-09-28 19:03:20 +00:00
warren%netscape.com 4f1f34aec7 Made it handle CIDs of the form {fe04c8e6-501e-11d3-a527-0060b0fc04b7}. 1999-09-28 18:01:47 +00:00
tbogard%aol.net 6abd449ecf 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 2f30ff5996 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 99db328245 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 f9e34fb7e2 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 61664c7872 Separating dll Shutdown from unload. Calling dll shutdown
unconditionally on NS_Shutdown.
1999-09-26 18:06:41 +00:00
dp%netscape.com 602baa248e Passing down NS_Shutdown to Unloading of libraries. 1999-09-26 18:04:27 +00:00
dp%netscape.com 7d88c6385e Adding NS_Shutdown. 1999-09-26 18:02:52 +00:00
warren%netscape.com d37526c717 Cleaned up, using NS_WITH_SERVICE 1999-09-26 10:05:06 +00:00
warren%netscape.com 89b394422e Cleanup 1999-09-26 10:04:36 +00:00
warren%netscape.com 53e8731812 Took out unused page manager. 1999-09-26 07:26:21 +00:00
sfraser%netscape.com cfda948c62 Remove NSStdLibStubs, since we're linking with NSStdLib anyway 1999-09-26 00:44:58 +00:00
kipp%netscape.com 086f063ad9 Removed throbber IID 1999-09-25 20:13:53 +00:00
kipp%netscape.com 8c84690452 Tidy up 1999-09-25 20:11:33 +00:00
briano%netscape.com d1940d686e SCO-specific fix. Approved by chofmann. 1999-09-25 00:38:13 +00:00
dp%netscape.com 96c1197169 Releasing servMgr if one is passed in to match NS_InitXPCOM() 1999-09-24 06:26:17 +00:00
dp%netscape.com e74b8d75ca Assertion to ensure proper xpcom shutdown. 1999-09-24 01:40:18 +00:00
bienvenu%netscape.com cbcb4df751 fix 14544 pop move msg filters broken r=dougt a=chofman 1999-09-23 04:18:00 +00:00
dp%netscape.com 009a5392fb UnloadAll() on non-native loaders. 1999-09-23 00:14:00 +00:00
dp%netscape.com 4bf3f842dd Enabling xpcom shutdown to call NSCanUnload() on every component. 1999-09-23 00:01:53 +00:00
dp%netscape.com 3f500d2afb Assertions to ensure proper shutdown of xpcom. 1999-09-23 00:00:08 +00:00
jband%netscape.com 16c9977e38 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 a6b9111361 fix utf converson bug 1999-09-22 03:20:21 +00:00
shaver%netscape.com b42e435cb0 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
shaver%netscape.com 1c47d14cd9 talk about JS components, remove gratuitous 'netscape' from progID 1999-09-21 21:23:02 +00:00
shaver%netscape.com a3aa568ef2 add JS version of nsISample component 1999-09-21 21:11:29 +00:00
scc%netscape.com ac2969608f Made a protected method for severing weak references early 1999-09-21 20:20:04 +00:00
shaver%netscape.com 3948cf5000 need to use different module names to avoid overwriting xpcom.xpt 1999-09-21 14:12:26 +00:00
waterson%netscape.com ff3374fd14 #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 06b78978e9 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
warren%netscape.com 0f38c8859b Taking out the damn nsCOMPtr for nsThreadPool for Mac! 1999-09-20 22:35:06 +00:00
dougt%netscape.com efc5b44b57 removing const from nsIFile types 1999-09-20 21:48:30 +00:00
warren%netscape.com bde1055a86 Fixed warnings. 1999-09-20 20:57:21 +00:00
warren%netscape.com 68777de60f fixed refcounting in nsThread so threads and runnables are freed 1999-09-20 20:54:23 +00:00
warren%netscape.com bdef2ae2c9 fixed mismatched free in nsProperties 1999-09-20 20:54:16 +00:00
warren%netscape.com 9b98c7e8a1 freed tree nodes in nsAVLTree 1999-09-20 20:54:12 +00:00
warren%netscape.com c08e644f40 fixed ReleaseService and UnregisterService to work during shutdown 1999-09-20 20:54:09 +00:00
warren%netscape.com 8156976010 fixed circular references in nsNativeComponentLoader 1999-09-20 20:54:04 +00:00
warren%netscape.com 681e31774d freed mComponentsDir in nsComponentManager 1999-09-20 20:53:57 +00:00
warren%netscape.com 68e64ab5e6 freed global service manager in NS_ShutdownXPCOM 1999-09-20 20:53:49 +00:00
warren%netscape.com 1eba29ca37 fixed mismatched free issues with nsID::ToString 1999-09-20 20:52:12 +00:00
jband%netscape.com 49b32adc11 round out the isDependent test and change an || to a switch 1999-09-20 07:30:04 +00:00
jband%netscape.com 2fb9c3fa65 fix a warning 1999-09-20 07:27:51 +00:00
waterson%netscape.com a6ce109fb6 Fix memmove() stuff. 1999-09-20 06:11:36 +00:00
rickg%netscape.com 4fca0d71c9 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 f1b5efa2cc explicitly include <stdlib.h> 1999-09-20 05:32:36 +00:00
rickg%netscape.com 9800c21dc0 fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf 1999-09-20 05:10:32 +00:00
waterson%netscape.com 9aca73451f 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 04c77e4064 - 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 4f7990cd94 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 73c490c4d3 improved safety of CBufDescriptor 1999-09-19 16:43:09 +00:00
colin%theblakes.com 7e9dd9c640 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 04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
rickg%netscape.com 9c96f9cdef checking bufferroutines.h back in; it looked like a red herring 1999-09-18 01:45:19 +00:00
rickg%netscape.com d4a7d84481 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 edd596cfd1 Fix two compiler warnings and one coding bug 1999-09-18 00:07:20 +00:00
rickg%netscape.com f4fbb6fd09 performance improvements and larger default buffer size 1999-09-17 23:46:55 +00:00
brendan%mozilla.org f7ba68844b *** empty log message *** 1999-09-17 23:21:29 +00:00
frankm%eng.sun.com e1662d0d9e - 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 fa6c2fad91 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 3509f48fd2 match buffered i/o registry change in XP_MAC section 1999-09-17 07:00:55 +00:00
dp%netscape.com d9d68788ef 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 ab95fb6cf4 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 d0ccf9a6eb Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
dp%netscape.com dab9dd104d NS_ADDREF() instead of calling it directly 1999-09-16 19:20:18 +00:00
dp%netscape.com ea7b692d54 Removing DEBUG_dp 1999-09-16 19:11:00 +00:00
dp%netscape.com 8c52c7502f Adding Set() to configure component directory and registry 1999-09-16 19:08:31 +00:00
tbogard%aol.net f7586ca105 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 7d68f66b73 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 24b72ba1de remove debug libraries from optimized target 1999-09-16 01:44:23 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
slamm%netscape.com ddb878d278 Fix build warnings. 1999-09-16 00:15:30 +00:00
rjc%netscape.com a231a19096 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 8baba475f9 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 211d856af2 Added missing includes. 1999-09-15 22:33:38 +00:00
warren%netscape.com 8653926dec Added missing includes. 1999-09-15 22:28:27 +00:00
cls%seawood.org 1699d31f60 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 387c151435 Removed this in favor of idl 1999-09-15 21:49:21 +00:00
gordon%netscape.com 9ed7e1e73c 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 994f05a34e Making nsIThread nsIRunnable and nsIThreadPool idl interfaces. 1999-09-15 21:41:20 +00:00
ftang%netscape.com 56a0f1cefb add nsTextFormater to dlldeps.cpp 1999-09-15 21:23:31 +00:00
ftang%netscape.com b644ab9a2f add nsTextFormater.cpp 1999-09-15 21:21:55 +00:00
ftang%netscape.com 415507f1a9 add nsTextFormater to UNIX build 1999-09-15 21:18:21 +00:00
ftang%netscape.com 3b9e6e0e08 remove unneeded debug info. Fix Unix build warning. Fix UTF8 to UCS2 conveersion bug 1999-09-15 21:16:09 +00:00
ftang%netscape.com 690408b116 add nsTextFormater.h 1999-09-15 20:54:04 +00:00
ftang%netscape.com 860e2e46f9 add the nsTextFormater for win 1999-09-15 20:38:18 +00:00
ftang%netscape.com 46bb62e8dd add new classes 1999-09-15 20:37:42 +00:00