Commit Graph

2355 Commits

Author SHA1 Message Date
warren%netscape.com
2bdfab8723 Taking out the damn nsCOMPtr for nsThreadPool for Mac!
git-svn-id: svn://10.0.0.236/trunk@48420 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 22:35:06 +00:00
dougt%netscape.com
d120266b38 removing const from nsIFile types
git-svn-id: svn://10.0.0.236/trunk@48407 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:48:30 +00:00
warren%netscape.com
3d8d35d25f Fixed warnings.
git-svn-id: svn://10.0.0.236/trunk@48377 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:57:21 +00:00
warren%netscape.com
4a15ebde22 fixed refcounting in nsThread so threads and runnables are freed
git-svn-id: svn://10.0.0.236/trunk@48375 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:23 +00:00
warren%netscape.com
96f4dfebdc fixed mismatched free in nsProperties
git-svn-id: svn://10.0.0.236/trunk@48374 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:16 +00:00
warren%netscape.com
8a533d4ca4 freed tree nodes in nsAVLTree
git-svn-id: svn://10.0.0.236/trunk@48373 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:12 +00:00
warren%netscape.com
4a5f6f43ca fixed ReleaseService and UnregisterService to work during shutdown
git-svn-id: svn://10.0.0.236/trunk@48372 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:09 +00:00
warren%netscape.com
dca5e1f9ba fixed circular references in nsNativeComponentLoader
git-svn-id: svn://10.0.0.236/trunk@48371 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:04 +00:00
warren%netscape.com
bc71cc93e8 freed mComponentsDir in nsComponentManager
git-svn-id: svn://10.0.0.236/trunk@48370 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:53:57 +00:00
warren%netscape.com
b516d679cb freed global service manager in NS_ShutdownXPCOM
git-svn-id: svn://10.0.0.236/trunk@48369 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:53:49 +00:00
warren%netscape.com
15403e9585 fixed mismatched free issues with nsID::ToString
git-svn-id: svn://10.0.0.236/trunk@48357 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:52:12 +00:00
jband%netscape.com
26a4c69f38 round out the isDependent test and change an || to a switch
git-svn-id: svn://10.0.0.236/trunk@48336 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 07:30:04 +00:00
jband%netscape.com
5399c28b6e fix a warning
git-svn-id: svn://10.0.0.236/trunk@48335 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 07:27:51 +00:00
waterson%netscape.com
1b81ec1ab1 Fix memmove() stuff.
git-svn-id: svn://10.0.0.236/trunk@48326 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:11:36 +00:00
rickg%netscape.com
03b7c238c3 back out update to Append(int,radix) until I can find ltoa() on linux
git-svn-id: svn://10.0.0.236/trunk@48325 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 05:50:43 +00:00
rickg%netscape.com
ac3d03bc50 explicitly include <stdlib.h>
git-svn-id: svn://10.0.0.236/trunk@48324 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 05:32:36 +00:00
rickg%netscape.com
7005feb199 fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf
git-svn-id: svn://10.0.0.236/trunk@48319 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 05:10:32 +00:00
waterson%netscape.com
524f9ef28d Use tabs instead of spaces separate frames in stack dump: new demangling code introduces spaces.
git-svn-id: svn://10.0.0.236/trunk@48308 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 03:45:21 +00:00
jband%netscape.com
f6186afc2f - 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


git-svn-id: svn://10.0.0.236/trunk@48304 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 02:50:28 +00:00
mccabe%netscape.com
69a8cf7c7b 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.


git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +00:00
rickg%netscape.com
b32eca31ce improved safety of CBufDescriptor
git-svn-id: svn://10.0.0.236/trunk@48257 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 16:43:09 +00:00
colin%theblakes.com
67e1106a91 Remove xpcomds_s and xptinfo from LIBS since they don't appear to be needed. Sorry if some other platform does need them!
git-svn-id: svn://10.0.0.236/trunk@48213 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 19:36:38 +00:00
briano%netscape.com
945d83af9f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +00:00
rickg%netscape.com
b6145da0d3 checking bufferroutines.h back in; it looked like a red herring
git-svn-id: svn://10.0.0.236/trunk@48151 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 01:45:19 +00:00
rickg%netscape.com
da5e7e7b93 back out part of this change for more testing; I missed a case which caused a crash
git-svn-id: svn://10.0.0.236/trunk@48136 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 01:09:48 +00:00
colin%theblakes.com
624994bf1c Fix two compiler warnings and one coding bug
git-svn-id: svn://10.0.0.236/trunk@48101 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 00:07:20 +00:00
rickg%netscape.com
944a022ec9 performance improvements and larger default buffer size
git-svn-id: svn://10.0.0.236/trunk@48092 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:46:55 +00:00
brendan%mozilla.org
e3cfb6c40d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@48067 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:21:29 +00:00
frankm%eng.sun.com
8b6ad17152 - 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.


git-svn-id: svn://10.0.0.236/trunk@48042 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 22:46:44 +00:00
waterson%netscape.com
2c189eebdf 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.
git-svn-id: svn://10.0.0.236/trunk@47943 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:03:09 +00:00
dveditz%netscape.com
e0efc09bf1 match buffered i/o registry change in XP_MAC section
git-svn-id: svn://10.0.0.236/trunk@47942 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:00:55 +00:00
dp%netscape.com
6cbbd59105 Caching of what registry was opened to improve performance of multiple
opens on the same registry file.


git-svn-id: svn://10.0.0.236/trunk@47927 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 05:46:25 +00:00
beard%netscape.com
5958f31830 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.
git-svn-id: svn://10.0.0.236/trunk@47845 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 21:29:22 +00:00
dp%netscape.com
103414ae51 Ability for XPCOM to use non-default component registry and component directory
git-svn-id: svn://10.0.0.236/trunk@47809 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:28:57 +00:00
dp%netscape.com
1e513637f0 NS_ADDREF() instead of calling it directly
git-svn-id: svn://10.0.0.236/trunk@47805 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:20:18 +00:00
dp%netscape.com
5fd25d3296 Removing DEBUG_dp
git-svn-id: svn://10.0.0.236/trunk@47802 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:11:00 +00:00
dp%netscape.com
9fb585ce8b Adding Set() to configure component directory and registry
git-svn-id: svn://10.0.0.236/trunk@47801 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:08:31 +00:00
tbogard%aol.net
68d8d25e6d Implemented nsIWinEvent and nsIWinEventFilter to allow picking the windows platform structure apart rather than grabbing as a blob.
git-svn-id: svn://10.0.0.236/trunk@47745 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 06:43:26 +00:00
dveditz%netscape.com
1653f8692f 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.


git-svn-id: svn://10.0.0.236/trunk@47736 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 05:32:28 +00:00
cyeh%netscape.com
a254b2e732 remove debug libraries from optimized target
git-svn-id: svn://10.0.0.236/trunk@47714 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:44:23 +00:00
warren%netscape.com
556cf8505e Factored file transport service out of file: protocol.
git-svn-id: svn://10.0.0.236/trunk@47704 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:16:22 +00:00
slamm%netscape.com
f5b0948ce6 Fix build warnings.
git-svn-id: svn://10.0.0.236/trunk@47687 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 00:15:30 +00:00
rjc%netscape.com
4e4c564b86 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.
git-svn-id: svn://10.0.0.236/trunk@47678 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 23:36:55 +00:00
rjc%netscape.com
cbe1e04ba5 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.
git-svn-id: svn://10.0.0.236/trunk@47676 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 23:36:26 +00:00
warren%netscape.com
d14784661f Added missing includes.
git-svn-id: svn://10.0.0.236/trunk@47673 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 22:33:38 +00:00
warren%netscape.com
0ffc429c39 Added missing includes.
git-svn-id: svn://10.0.0.236/trunk@47670 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 22:28:27 +00:00
cls%seawood.org
043415ee86 For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new
git-svn-id: svn://10.0.0.236/trunk@47665 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 22:00:12 +00:00
warren%netscape.com
f29912ff53 Removed this in favor of idl
git-svn-id: svn://10.0.0.236/trunk@47661 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:49:21 +00:00
gordon%netscape.com
5f69223727 Added nsIThread.idl, nsIThreadPool.idl, and nsIRunnable.idl as part of warren's checkin.
git-svn-id: svn://10.0.0.236/trunk@47660 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:46:55 +00:00
warren%netscape.com
1b07f99ee9 Making nsIThread nsIRunnable and nsIThreadPool idl interfaces.
git-svn-id: svn://10.0.0.236/trunk@47659 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:41:20 +00:00