278 Commits

Author SHA1 Message Date
danm%netscape.com
2e268f54e5 making copacetic for AIX
git-svn-id: svn://10.0.0.236/trunk@49593 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 20:27:45 +00:00
kin%netscape.com
2471a39269 Fix VC5 build bustage with (T*) cast.
git-svn-id: svn://10.0.0.236/trunk@49583 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 16:23:17 +00:00
tbogard%aol.net
2a33b327b9 Changed NS_ENSURE* macros to use the new NS_WARN_IF_FALSE instead of the NS_ERROR. r=shaver.
git-svn-id: svn://10.0.0.236/trunk@49546 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 04:34:03 +00:00
danm%netscape.com
463804eb0f adding nsCWeakReference. r:scc a:chofmann
git-svn-id: svn://10.0.0.236/trunk@49528 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 02:50:16 +00:00
danm%netscape.com
eca1323f34 new
git-svn-id: svn://10.0.0.236/trunk@49524 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 02:38:41 +00:00
vidur%netscape.com
2fba270263 Parser CIDs and IIDs
git-svn-id: svn://10.0.0.236/trunk@49511 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 23:10:58 +00:00
beard%netscape.com
f547d38744 fix breakage on Mac, r=kipp
git-svn-id: svn://10.0.0.236/trunk@49510 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:45:23 +00:00
beard%netscape.com
cbe4d66df2 fix breakage on Mac
git-svn-id: svn://10.0.0.236/trunk@49509 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:30:32 +00:00
kipp%netscape.com
f68ddc73fb Whoops. Fixed
git-svn-id: svn://10.0.0.236/trunk@49506 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:21:31 +00:00
kipp%netscape.com
19d1505159 Added in new nsDebug macros
git-svn-id: svn://10.0.0.236/trunk@49491 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:39:31 +00:00
kipp%netscape.com
50a547196e Santize NS_EXPORT decl
git-svn-id: svn://10.0.0.236/trunk@49490 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:39:16 +00:00
beard%netscape.com
5f21ab054d cleaned up, made more XP, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49416 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 07:39:28 +00:00
beard%netscape.com
e531fd4153 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@49398 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 03:30:00 +00:00
kipp%netscape.com
eced13e11d Removed throbber IID
git-svn-id: svn://10.0.0.236/trunk@49069 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 20:13:53 +00:00
scc%netscape.com
240063823f Made a protected method for severing weak references early
git-svn-id: svn://10.0.0.236/trunk@48602 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 20:20:04 +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
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
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
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
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
ramiro%netscape.com
9520c50956 Fix mac and windows builds.
git-svn-id: svn://10.0.0.236/trunk@47343 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 13:44:20 +00:00
ramiro%netscape.com
2bb20f998c Add MOZ_DEMANGLE_SYMBOLS to debug builds for demangling symbols.
git-svn-id: svn://10.0.0.236/trunk@47339 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 13:30:12 +00:00
ramiro%netscape.com
614a9e29da Add DemangleSymbol() for demangling symbols on linux.
git-svn-id: svn://10.0.0.236/trunk@47338 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 13:24:25 +00:00
alecf%netscape.com
facf7156ab add new query_interface4 and query_interfac5 (hey, I needed it!)
git-svn-id: svn://10.0.0.236/trunk@47202 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:23:20 +00:00
cls%seawood.org
dbbf0c4eef Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c.
git-svn-id: svn://10.0.0.236/trunk@47060 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 14:25:28 +00:00
vidur%netscape.com
6c45ba51c0 Added error base for DOM module
git-svn-id: svn://10.0.0.236/trunk@46436 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:11:52 +00:00
vidur%netscape.com
b4d289cb1d Added nsIDOMDOMException IID
git-svn-id: svn://10.0.0.236/trunk@46435 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:11:32 +00:00
dougt%netscape.com
8d1ff9ee8b Adding buffered output to nsIFileStream.
Renaming nsIFile to nsIOpenFile.
commenting out a testcase in FilesTest.cpp which fails.  evil, i know.


git-svn-id: svn://10.0.0.236/trunk@46395 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:12:35 +00:00
akkana%netscape.com
cd7f7cfcb9 Print all warning messages on stdout, not just assertions
git-svn-id: svn://10.0.0.236/trunk@46200 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:15:10 +00:00
shaver%netscape.com
f087d4cd4b put back <string.h> until we find all the uses =(
git-svn-id: svn://10.0.0.236/trunk@46132 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 21:22:36 +00:00
shaver%netscape.com
95d6650631 remove gratuituous <string.h> include
git-svn-id: svn://10.0.0.236/trunk@46113 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 18:35:03 +00:00
akkana%netscape.com
dfa250edb8 nsTextConverter
git-svn-id: svn://10.0.0.236/trunk@45478 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 19:54:27 +00:00
kipp%netscape.com
f7d59cd56a Repaired interface name
git-svn-id: svn://10.0.0.236/trunk@45402 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:09:27 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
scc%netscape.com
998f4973d5 some small documentation changes, plus removed a function that was otherwise unused, and was confusing Solaris.
git-svn-id: svn://10.0.0.236/trunk@44667 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 10:45:50 +00:00
tbogard%aol.net
e971381937 Added a couple of new macros to the NS_ENSURE family. NS_ENSURE_SUCCESS(res, ret). It ensures that a given result is an XPCOM success code, if not returns back whatever you pass in ret. And NS_ENSURE_NO_AGGREGATION(outer) checks to make sure the instantiating client is not trying to do aggregation and returns back an error if it is.
git-svn-id: svn://10.0.0.236/trunk@44497 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 14:03:25 +00:00
tbogard%aol.net
a65a78136a Removed the #ifdef DEBUG around the definition of NS_ENSURE. The only difference between the two was the NS_ERROR. NS_ERROR is already conditional upon debug so this was a bit redundant.
git-svn-id: svn://10.0.0.236/trunk@44442 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 03:16:23 +00:00
tbogard%aol.net
2957e9ac6e Fixed NS_ENSURE macros to use PR_BEGIN_MACRO and PR_END_MACRO. Also removed indentation before #.
git-svn-id: svn://10.0.0.236/trunk@44203 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:48:43 +00:00
scc%netscape.com
56d5ad0b43 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
scc%netscape.com
8850ce2142 fixed tabs
git-svn-id: svn://10.0.0.236/trunk@44138 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:07:16 +00:00
mccabe%netscape.com
f54a574f03 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO.
git-svn-id: svn://10.0.0.236/trunk@44056 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 11:25:50 +00:00
scc%netscape.com
3d123a8048 fixed ambiguous static cast in the NS_IMPL_QUERYINTERFACE2 case
git-svn-id: svn://10.0.0.236/trunk@44029 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 22:33:15 +00:00
jband%netscape.com
619c3e3df4 fix bustage due to ambiguity in use of static_cast
git-svn-id: svn://10.0.0.236/trunk@44027 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 22:03:39 +00:00
scc%netscape.com
256b8039a8 Bad merge left two copies of ...QUERYINTERFACE2. Sorry.
git-svn-id: svn://10.0.0.236/trunk@44023 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:39:59 +00:00
scc%netscape.com
70e5060219 Added NS_IMPL_QUERY_INTERFACE[01]; fixed NS_IMPL_QUERY_INTERFACE2; added NS_IMPL_ISUPPORTS[01]; can't fix NS_IMPL_QUERY_INTERFACE without changing a ton of files, so I'm checking in this partial fix first. Then people can help me switch us away from NS_IMPL_ISUPPORTS and NS_IMPL_QUERY_INTERFACE. Both are now deprecated.
git-svn-id: svn://10.0.0.236/trunk@44019 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:22:35 +00:00
scc%netscape.com
3d825c25a3 added license, fixed tabs
git-svn-id: svn://10.0.0.236/trunk@44016 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:07:27 +00:00
scc%netscape.com
ef87d21e39 added comments, fixed tabs
git-svn-id: svn://10.0.0.236/trunk@44015 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:06:52 +00:00
tbogard%aol.net
a74ab35457 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree.
git-svn-id: svn://10.0.0.236/trunk@43556 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 05:36:30 +00:00
tbogard%aol.net
591757e319 XPCOM Cleanup: Added macros to make checking arguments and state upon entering interface boundaries easier.
git-svn-id: svn://10.0.0.236/trunk@43555 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 05:32:15 +00:00
jband%netscape.com
4f057bd673 reserving NS_ERROR_MODULE_XPCONNECT
git-svn-id: svn://10.0.0.236/trunk@43442 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 02:08:26 +00:00