48 Commits

Author SHA1 Message Date
jdunn%netscape.com
d63561e2e5 Change certain AIX ifdefs to AIX_XLC_364 since these ifdefs are only
needed for AIX's xlC 3.6.4 compiler.  Add test to configure to check
compiler version.  NOTE: also adding hpux and aix check for keyboardutils.
r=cls@seawood.org
# 119179


git-svn-id: svn://10.0.0.236/trunk@112859 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 15:07:38 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
mkaply%us.ibm.com
4490848ef7 OS/2 bustage - we don't use _System
git-svn-id: svn://10.0.0.236/trunk@103947 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 16:04:44 +00:00
dougt%netscape.com
997cb851e1 Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281
git-svn-id: svn://10.0.0.236/trunk@103919 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:43:00 +00:00
cls%seawood.org
57e209b492 Adding NS_PTR_TO_INT32 & NS_INT32_TO_PTR macros to do safe pointer casting on 64-bit platforms.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@100996 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:14:47 +00:00
dbaron%fas.harvard.edu
f64e0286cd Limit previous change to definition of PRUnichar to Unix. Should fix mac commercial build bustage. sr=scc b=75544
git-svn-id: svn://10.0.0.236/trunk@95603 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 16:34:20 +00:00
dbaron%fas.harvard.edu
226a8a9ed9 Fix NS commercial Unix build bustage on some compilers by (at least temporarily) making PRUnichar always be equivalent to PRUint16 rather than sometimes being wchar_t. r=scc sr=brendan b=75544
git-svn-id: svn://10.0.0.236/trunk@95473 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:44:17 +00:00
jdunn%netscape.com
31c8a39bbc changing C++ comments to C comments since for some reason
nscore.h is being included by intl/lwbrk/src/rulebrk.c &
modules/libpref/src/prefapi.c
r= scc@mozilla.org & brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@79016 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 12:22:17 +00:00
scc%mozilla.org
5a98e3701d turning on |HAVE_CPP_2BYTE_WCHAR_T|
git-svn-id: svn://10.0.0.236/trunk@78054 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 02:24:58 +00:00
scc%mozilla.org
5218242340 fixed comment typo (now was a good time, since I just checked in string changes). r=brendan
git-svn-id: svn://10.0.0.236/trunk@77992 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:17:11 +00:00
cls%seawood.org
9bf5a41da7 Native irix compilers don't seem to know about |typename| either
git-svn-id: svn://10.0.0.236/trunk@76695 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:01:28 +00:00
cls%seawood.org
436230200d The AIX compiler doesn't seem to know how to handle |typename|
git-svn-id: svn://10.0.0.236/trunk@75025 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:57:20 +00:00
amusil%netscape.com
41f4fe3176 Turn on wchar_t
git-svn-id: svn://10.0.0.236/trunk@72718 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:31:09 +00:00
cls%seawood.org
b77e90ede0 nscore.h is included by .c files so c++ comments have to go. Fix for WS5.0 bustage.
git-svn-id: svn://10.0.0.236/trunk@72521 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 21:27:27 +00:00
scc%mozilla.org
2a2a840b4d fixing OS/2 VisualAge platform bustage, and bad dates in licenses
git-svn-id: svn://10.0.0.236/trunk@72507 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:00:31 +00:00
scc%mozilla.org
187005e5ed Temporarily (till Thursday) commented out the definition that made |PRUnichar*| incompatible with |OLECHAR*| as a favor to the AIM team, so they can decide whether to cast in their code, or alter their headers. They know what to do in either case, and have agreed that this definnition can be re-activated on Thursday. r=vishy
git-svn-id: svn://10.0.0.236/trunk@72173 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:54:40 +00:00
scc%mozilla.org
de78c5bfbc make |PRUnichar| be |wchar_t| on Mac. Soon on Windows, as well.
git-svn-id: svn://10.0.0.236/trunk@72075 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:05:18 +00:00
scc%mozilla.org
99da16f44b define |PRUnichar| to be |wchar_t|, when applicable
git-svn-id: svn://10.0.0.236/trunk@71977 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 00:49:29 +00:00
scc%mozilla.org
baeeb43305 moved |explicit| here, where it belongs, from "nsCOMPtr.h"
git-svn-id: svn://10.0.0.236/trunk@71970 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 09:58:15 +00:00
waterson%netscape.com
4cfc97eae7 Canonify HAVE_CPP_ACCESS_CHANGING_USING and HAVE_CPP_AMBIGUITY_RESOLVING_USING.
git-svn-id: svn://10.0.0.236/trunk@71494 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 00:46:37 +00:00
scc%mozilla.org
64c1d73da8 Bug #39686. Made an |NS_COUNT|. Put it in the new file "nsAlgorithm.h", to which I also moved |NS_MIN| and |NS_MAX| from "nscore.h", and |copy_string| and |copy_string_backward| from "nsAReadableString.h". Also fixed non-standard include-guards. r={sford, jag}
git-svn-id: svn://10.0.0.236/trunk@70562 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 20:43:26 +00:00
waterson%netscape.com
1aa0f80c90 Also wrap in #ifdef __cplusplus
git-svn-id: svn://10.0.0.236/trunk@69604 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:17:47 +00:00
waterson%netscape.com
04f4eede47 Wrap C++ in |extern C++| block to fix build. r=scc
git-svn-id: svn://10.0.0.236/trunk@69602 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:11:54 +00:00
scc%netscape.com
fa91dce42e waterson and I are giving up on the current build being allowed to even include files related to STL, mostly (but not only) because of Solaris ... by the time someone want to _use_ STL, maybe the compilers will be better, and this fix won't effect them.
git-svn-id: svn://10.0.0.236/trunk@69597 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:59:49 +00:00
waterson%netscape.com
3ea6e05838 Revert changes. They're causing problems elsewhere.
git-svn-id: svn://10.0.0.236/trunk@67386 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:01:58 +00:00
waterson%netscape.com
7932d69920 Oops. Didn't realize nscore.h was included in 'C' compilation as well. Wrap namespace baloney with #ifdef __cplusplus__. r=scc
git-svn-id: svn://10.0.0.236/trunk@67385 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:50:38 +00:00
waterson%netscape.com
05ffd4174a Make the std::rel_ops namespace visible without qualification so that we can get operator!= from operator==, and operators >=, <=, and > from operator<. Needed for disambiguation with new string classes. r=scc
git-svn-id: svn://10.0.0.236/trunk@67381 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:37:06 +00:00
mjudge%netscape.com
f74ce25354 scc string fixes
git-svn-id: svn://10.0.0.236/trunk@67148 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:55:37 +00:00
waterson%netscape.com
3890935752 Both VC++ and MetroWerks HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL. r=scc
git-svn-id: svn://10.0.0.236/trunk@65159 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:38:12 +00:00
waterson%netscape.com
cd029f1060 Ok, VC6 doesn't really HAVE_AMBIGUITY_RESOLVING_CPP_USING.
git-svn-id: svn://10.0.0.236/trunk@64347 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 08:39:34 +00:00
waterson%netscape.com
b6263abcb2 Oops. Windows should HAVE_CPP_NAMESPACE_STD.
git-svn-id: svn://10.0.0.236/trunk@64343 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:44:26 +00:00
waterson%netscape.com
31ff53e050 Beef up autoconf tests to differentiate 'ambiguity resolving' and 'access changing' support of the 'using' keyword. Add a test to see if the 'std' namespace is used on the platform. r=scc
git-svn-id: svn://10.0.0.236/trunk@64334 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:01:37 +00:00
waterson%netscape.com
945689663d Add NS_MIN and NS_MAX macros to hide inconsistencies with std::min and std::max. r=scc
git-svn-id: svn://10.0.0.236/trunk@63954 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:38:52 +00:00
tor%cs.brown.edu
f75329eb51 C++ comment in header included from C files is a Bad Thing (tm). r=cls
git-svn-id: svn://10.0.0.236/trunk@63417 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 00:01:22 +00:00
scc%netscape.com
b19fe053b7 Added spaces to the cast macros to allow casting of template types. Moved |HAVE_CPP_...| symbols here from "nsCOMPtr.h" since more files need them. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63331 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:29 +00:00
mkaply%us.ibm.com
837fe82aaa # 25555
r= dp@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61873 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 15:50:48 +00:00
jdunn%netscape.com
9df87496e8 use C style comments and not C++
r= scc@netscape.com
a= leaf@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@57704 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:06:47 +00:00
scc%netscape.com
1efb7c3f9c macros and defs to removed conditional definition of |GetIID()| within |nsISupports|. r=beard, (waterson?), bug=10477
git-svn-id: svn://10.0.0.236/trunk@57637 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:48:47 +00:00
scc%netscape.com
948cb30176 |NS_REINTERPRET_CAST| might try to adjust pointers on machines where it turns into an old-style cast. Fix that by first casting to |void*|. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@55668 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:41:28 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
ramiro%fateware.com
a5d3f6cc70 Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org


git-svn-id: svn://10.0.0.236/trunk@51521 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 07:11:43 +00:00
duncan%be.com
77cf1f5a76 Cut down on the number of warnings in the BeOS build, HAVE_CPP_NEW_CASTS
is also defined in config-defs.h, like on XP_UNIX.
mcafee@netscape.com checked.


git-svn-id: svn://10.0.0.236/trunk@41326 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 21:22:56 +00:00
ramiro%netscape.com
be8479149c Landing timer move on windows.
git-svn-id: svn://10.0.0.236/trunk@39882 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 15:52:01 +00:00
ramiro%netscape.com
2d4d9b6dc4 Add NS_TIMER import/export macros.
git-svn-id: svn://10.0.0.236/trunk@39712 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:48:12 +00:00
ramiro%netscape.com
9a0b13499f Checkin another chunk of Alex Larsson's non-exported symbol reduction
patch.  All changes protected by  MOZ_STRIP_NOT_EXPORTED.
These particular changes set the NS_EXPORT declarations as needed by
the linker.


git-svn-id: svn://10.0.0.236/trunk@38670 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 09:02:21 +00:00
briano%netscape.com
ec88440c2d Converted all the C++ comments to C comments to fix the Unix builds (prefapi.c).
git-svn-id: svn://10.0.0.236/trunk@33693 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:00:19 +00:00
warren%netscape.com
a89e09d70c Added
git-svn-id: svn://10.0.0.236/trunk@32093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:43:13 +00:00