Commit Graph

2388 Commits

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