317 Commits

Author SHA1 Message Date
wtc%google.com
2178f99d8d Bug 296878: disable the use of os_Linux_ppc.s for 64-bit PowerPC builds
because the assembly code crashes.  Add nonexecutable stack directive
to os_Linux_ppc.s.
Modified files: configure.in configure _linux.h os_Linux_ppc.s


git-svn-id: svn://10.0.0.236/trunk@243874 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-24 05:00:04 +00:00
wtc%google.com
22d3bf891d Bug 296878: use native PowerPC atomic instructions on Linux PowerPC. The
patch is contributed by kevdig@hypersurf.com.  r=mark.mentovai,wtc
Modified files: configure.in configure _linux.h
Added file: os_Linux_ppc.s


git-svn-id: svn://10.0.0.236/trunk@243638 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 01:46:47 +00:00
wtc%google.com
85c618e163 Bug 404272: define HAVE_LONG_LONG only if it is not yet defined.
HAVE_LONG_LONG may be defined by the build system of a project using NSPR.
The patch is contributed by Edwin van Vliet <edwin@cheatah.nl>.  r=wtc
Modified Files:
	_aix32.cfg _aix64.cfg _beos.cfg _bsdi.cfg _darwin.cfg
	_dgux.cfg _freebsd.cfg _hpux32.cfg _hpux64.cfg _irix32.cfg
	_irix64.cfg _linux.cfg _netbsd.cfg _nto.cfg _openbsd.cfg
	_openvms.cfg _os2.cfg _osf1.cfg _riscos.cfg _solaris.cfg
	_unixware7.cfg _win95.cfg _winnt.cfg


git-svn-id: svn://10.0.0.236/trunk@239933 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 18:17:17 +00:00
wtc%google.com
536eb16b6c Removed dead files for Rhapsody, the old name of Darwin.
Modified file: pr/tests/dll/Makefile.in
Removed files: _rhapsody.cfg _rhapsody.h rhapsody.c


git-svn-id: svn://10.0.0.236/trunk@239807 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 22:51:24 +00:00
mozilla%weilbacher.org
ccb3ba3bfe [OS/2] Bug 399647: fix OS/2 build break in prlog.c and correct warning, r=wtc
git-svn-id: svn://10.0.0.236/trunk@237827 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-16 18:37:31 +00:00
nelson%bolyard.com
d824c01c5c Bug 387954 – fix NT version of PR_Accept on IPv6 listen socket. r=wtc
git-svn-id: svn://10.0.0.236/trunk@230916 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 06:45:08 +00:00
wtc%google.com
86376b8166 Bug 371247: checked in some changes for OpenBSD. The patch is contributed
by Martynas Venckus <martynas@openbsd.org>. r=nelsonb,wtc.
Modified Files: configure configure.in lib/tests/Makefile.in
	_openbsd.cfg _openbsd.h prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@227047 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-26 00:13:08 +00:00
wtchang%redhat.com
ed26fa6de8 Bugzilla bug 363997: when running on Windows Vista, set the sockets in the
compatibility mode so that the new TCP/IP stack in Windows Vista can
interoperate with all the TCP/IP implementations.  The patch is contributed
by Seth Spitzer <sspitzer@mozilla.com>. r=wtc,biesi
Modified Files: _win95.h w95io.c w95sock.c w95thred.c


git-svn-id: svn://10.0.0.236/trunk@221882 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 18:00:44 +00:00
wtchang%redhat.com
0ecc6a4799 Bug 34843: PR_StringToNetAddr and PR_NetAddrToString should call
getaddrinfo and getnameinfo if they exist.  Based on the patch contributed
by Noriko Hosoi <nhosoi@redhat.com>.  r=nhosoi
Modified files: _win95.h _winnt.h prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@221162 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 18:11:17 +00:00
wtchang%redhat.com
d84e6b8b15 Bug 329807: define struct _md_sockaddr_in6 because HP-UX's struct
sockaddr_in6 is only 32-bit aligned.  r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@218520 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 18:11:06 +00:00
wtchang%redhat.com
f978dd74f5 Bug 329807: set USE_IPV6=1 (define _PR_INET6) on HP-UX B.11.23 or later,
based on information from HP.  r=nelsonb,darin
Modified files: configure configure.in _hpux.h


git-svn-id: svn://10.0.0.236/trunk@218255 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 00:32:39 +00:00
wtchang%redhat.com
078873d980 Bugzilla Bug 363092: removed the pthread_kill macro definition. Mac OS X
has had the pthread_kill function since 10.2.   The patch is contributed by
Josh Aas <joshmoz@gmail.com>.  r=mark.mentovai,wtc


git-svn-id: svn://10.0.0.236/trunk@216775 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:58:13 +00:00
wtchang%redhat.com
50fccfcc92 Bugzilla Bug 362246: enable large-file support on Mac OS X.
r=mark.mentovai,bienvenu


git-svn-id: svn://10.0.0.236/trunk@216575 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:57:34 +00:00
wtchang%redhat.com
a0402341f1 Bugzilla Bug 355999: fix up for kfreebsd support. The patch is contributed
by Petr.Salinger@seznam.cz. r=wtc
Modified files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@216132 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 01:11:46 +00:00
wtchang%redhat.com
945a67dc99 Bugzilla Bug 360169: changed the value of the _PR_SI_ARCHITECTURE macro
back to "hppa1.1" for backward compatibility. r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@215240 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 00:50:17 +00:00
wtchang%redhat.com
0c9f6c2350 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193623 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 20:57:23 +00:00
gerv%gerv.net
97fae50e85 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193311 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:35:02 +00:00
gerv%gerv.net
484d6212fd Bug 331600 - remove non-tri-licensed code patch, originally from bug 61746. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@193151 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 20:52:14 +00:00
darin%meer.net
270cb91ef5 fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin
git-svn-id: svn://10.0.0.236/trunk@192138 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-10 05:38:31 +00:00
wtchang%redhat.com
c981b6753f Bugzilla Bug 322578: Support ppc<->x86 cross builds for Mac OS X. The
patch is contributed by Mark Mentovai <mark@moxienet.com>.  r=wtc.
Modified Files: configure configure.in autoconf.mk.in rules.mk _darwin.cfg


git-svn-id: svn://10.0.0.236/trunk@190786 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 02:39:59 +00:00
wtchang%redhat.com
e60f0ee77b Bugzilla Bug 322287: Implemented NSPR atomic routines in x86 assembly code
for Intel Macs.  The patch is contributed by Josh Aas <joshmoz@gmail.com>.
r=mark.mentovai,wtc.
Modified files: configure configure.in _darwin.h
Added file: os_Darwin_x86.s


git-svn-id: svn://10.0.0.236/trunk@187174 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 18:38:54 +00:00
wtchang%redhat.com
f10d9ed91b Bugzilla Bug 261649: more changes for GNU/k*BSD and GNU/Hurd support.
The patch is contributed by Robert Millan <rmh@aybabtu.com>. r=wtc.
Modified files: nsinstall.c _pth.h pr/src/linking/Makefile.in prlink.c
pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@186558 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 15:03:31 +00:00
wtchang%redhat.com
979d43900e Bugzilla Bug 261649: added GNU/k*BSD and preliminary GNU/Hurd support. The
patch is contributed by Robert Millan <rmh@aybabtu.com>. r=wtc.
Modified files: configure configure.in _linux.cfg _pth.h _unixos.h
prosdep.h pr/src/linking/Makefile.in prlink.c prosdep.c unix.c uxproces.c
uxrng.c prnetdb.c ptio.c pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@186557 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 08:25:31 +00:00
cls%seawood.org
464c90a54d Rename real_install target as install.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls


git-svn-id: svn://10.0.0.236/trunk@185192 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 06:35:20 +00:00
cls%seawood.org
8572319c57 Only export *.cfg files needed for cross-compiling.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls


git-svn-id: svn://10.0.0.236/trunk@185190 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 06:25:56 +00:00
wtchang%redhat.com
39824e4332 Bugzilla bug 195219: implemented the atomic routines in IA-64 assembly for
HP-UX IPF.  Thanks to Dennis Handly of HP for reviewing the assembly code
and suggesting the use of the addp4 instruction to convert a 32-bit address
to a 64-bit one in 32-bit builds.
Modified files: configure configure.in _hpux.h
Added file: os_HPUX_ia64.s


git-svn-id: svn://10.0.0.236/trunk@185087 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 22:15:55 +00:00
wtchang%redhat.com
85d3afc6ee Bugzilla Bug 312199: HP-UX IPF (Itanium) changes contributed by Grace Lu
of HP: use .so as shared library suffix, link shared libraries with
+b $ORIGIN. r=wtc,darin.
Modified Files: configure configure.in _hpux.h


git-svn-id: svn://10.0.0.236/trunk@184485 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 22:23:08 +00:00
wtchang%redhat.com
e598025edd Bugzilla Bug 225859: added 64-bit Windows support. Peter Armistead
contributed the first 64-bit Windows patch (for IA64) in 2001.  Portions
of this checkin are based on the patch contributed by Makoto Kato
<m_kato@ga2.so-net.ne.jp>. r=wtc.
Modified Files: configure configure.in prtypes.h _win95.cfg _win95.h
                _winnt.cfg _winnt.h probslet.h pprio.h primpl.h
                pr/src/Makefile.in prfile.c prio.c prsocket.c ntgc.c ntio.c
                ntmisc.c w32rng.c w32shm.c w95io.c w95sock.c w95thred.c
                prinit.c pr/tests/prpoll.c


git-svn-id: svn://10.0.0.236/trunk@182722 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 18:21:43 +00:00
wtchang%redhat.com
1f9988ac52 Bugzilla Bug 266123: added ppc64 support. The patch is contributed by
Markus Rothe <markus@unixforces.net>. r=wtc.
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@177450 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 22:41:37 +00:00
wtchang%redhat.com
f75c559542 Bugzilla Bug 298674: checked in the remaining changes for the RISC OS port.
The patch is contributed by Peter Naulls <peter@chocky.org>. r=wtc
Modified Files: _pth.h _riscos.cfg _riscos.h prmem.c prsystem.c


git-svn-id: svn://10.0.0.236/trunk@176399 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 18:22:54 +00:00
wtchang%redhat.com
18c6b69164 Bugzilla Bug 298674: initial checkin of the RISC OS port contributed by
Peter Naulls <peter@chocky.org>. r=wtc.
Modified files: configure configure.in _pth.h prosdep.h prlink.c
                prmem.c unix.c uxrng.c prsystem.c ptio.c ptthread.c
Added files: _riscos.cfg _riscos.h riscos.c


git-svn-id: svn://10.0.0.236/trunk@175501 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 22:26:37 +00:00
wtchang%redhat.com
2ce9dce99e Bugzilla Bug 298543: eliminated MACOS_DEPLOYMENT_TARGET. Replaced the
env var by MACOSX_DEPLOYMENT_TARGET and the macro by
MAC_OS_X_VERSION_MIN_REQUIRED. The patch is contributed by Mark Mentovai
<mark@moxienet.com>. r=wtc.
Modified files: configure configure.in _darwin.h prdtoa.c prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@175448 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 01:19:30 +00:00
wtchang%redhat.com
12b3e2fe4a Bugzilla Bug 294017: make PR_NETADDR_SIZE return the correct value on
Windows because Windows' struct in6_addr has different alignment from
PRIPv6Addr.  The patch is contributed by Shanmu <shanmus@gmail.com>. r=wtc.
Modified Files: md/_win95.h md/_winnt.h private/primpl.h


git-svn-id: svn://10.0.0.236/trunk@174883 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 22:05:20 +00:00
wtchang%redhat.com
39510af5c6 Internal functions should not be declared with NSPR_API.
git-svn-id: svn://10.0.0.236/trunk@172896 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 22:47:56 +00:00
julien.pierre.bugs%sun.com
67faaabe01 Fix for bug 170911 - add support for >2GB files on OS/2. r=mkaply, pedemonte
git-svn-id: svn://10.0.0.236/trunk@172622 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 21:16:11 +00:00
wtchang%redhat.com
8b197d7aaa Bugzilla Bug 260899: do not use the spinlock based implementation of
PR_StackPush and PR_StackPop for Solaris x86.  The patch is contributed by
Julien Pierre of Sun.  r=wtc.
Modified Files: _solaris.h os_SunOS_x86.s


git-svn-id: svn://10.0.0.236/trunk@169711 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 02:58:45 +00:00
wtchang%redhat.com
5353c06979 Bugzilla bug 276330: add a new configuration macro _PR_HAVE_O_APPEND,
which should be defined on platforms (e.g., Unix and BeOS) that have
O_APPEND or its equivalent.  The patch is contributed by tqh
<thesuckiestemail@yahoo.se>. r=wtc,sergei_d.
Modified files: _beos.h _unixos.h primpl.h prfile.c


git-svn-id: svn://10.0.0.236/trunk@167918 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 22:00:53 +00:00
wchang0222%aol.com
fc3f0fc75a Bugzilla bug 151709: declare the temporary variables as PRInt32.
git-svn-id: svn://10.0.0.236/trunk@166359 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 23:40:23 +00:00
wchang0222%aol.com
bbbcbc67db Bugzilla bug 151709: implemented atomic operations in assembly on Alpha
Linux.  The patch is contributed by falk@debian.org. r=darin,wtc.


git-svn-id: svn://10.0.0.236/trunk@166333 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 20:02:09 +00:00
wchang0222%aol.com
12a4667876 Bugzilla bug 266981: fixed NSPR support for FreeBSD and added additional
FreeBSD platform (ia64 and amd64) support.  The patch is contributed by
Joe Marcus Clarke <marcus@freebsd.org>. r=wtc.
Modified Files: _darwin.h, _freebsd.cfg, _freebsd.h, _pth.h, ptio.c,
ptsynch.c


git-svn-id: svn://10.0.0.236/trunk@165592 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 21:24:53 +00:00
darin%meer.net
b02ce01245 fixes bug 247962 "Remove DLL_INitterm code from NSPR" patch by mkaply@us.ibm.com r=wtc
git-svn-id: svn://10.0.0.236/trunk@165591 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 21:06:12 +00:00
wchang0222%aol.com
ef4f07f041 Bugzilla bug 265501: compilers do not define _LP64 implicitly. _LP64 is
defined by <sys/isa_defs.h>.  So we need to test for the processor macros
directly.


git-svn-id: svn://10.0.0.236/trunk@164453 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 21:24:34 +00:00
wchang0222%aol.com
1c75ce268f Bugzilla bug 265501: merged 32 and 64 bit versions of prcpucfg.h on
Solaris.  The patch is contributed by Christophe Ravel of Sun. r=wtc.
Modified Files: configure configure.in
Added Files: _solaris.cfg
Removed Files: _solaris32.cfg _solaris64.cfg


git-svn-id: svn://10.0.0.236/trunk@164168 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 00:10:07 +00:00
wchang0222%aol.com
9f0e48177a Bugzilla bug 264324: we need to test for __s360x__ before __s360__ because
the s360x platform also defines __s360__.  The patch is contributed by
Wolfgang Rosenauer <mozilla@rosenauer.org>.  r=wtc.
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@163985 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-18 22:40:45 +00:00
wchang0222%aol.com
46f340e40a Bugzilla bug 259001: ported NSPR to Solaris on AMD64 architecture. The
patch is contributed by Julien Pierre <julien.pierre.bugs@sun.com>. r=wtc.
Modified Files: configure configure.in _solaris.h _solaris64.cfg
Added Files: os_SunOS_x86_64.s


git-svn-id: svn://10.0.0.236/trunk@163274 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:52:57 +00:00
wchang0222%aol.com
de7f70b317 Bugzilla bug 244010: support NetBSD/sparc64. Accept more variants of the
arm architecture.  The patch is contributed by Martin Husemann
<martin@NetBSD.ORG>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@156586 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-19 15:39:46 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wchang0222%aol.com
d6c069da46 Bugzilla bug 239663
r=mkaply, sr=blizzard (platform specific)
OS/2 only - bring back VACPP support for NSPR.
Modified Files: configure.in rules.mk prio.h prtypes.h _os2.h _os2_errors.h
primpl.h prsocket.c os2_errors.c os2sock.c os2thred.c prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@155192 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 00:25:30 +00:00
seawood%netscape.com
497ae8e5cc Update openbsd support for openbsd >= 3.4
Thanks to Peter Strömberg <wilfried@spamcop.net> for pulling these patches out of openbsd's ports tree.
Bug #236599 r=cls sr=wtc


git-svn-id: svn://10.0.0.236/trunk@153833 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 07:51:37 +00:00
wchang0222%aol.com
0140af82ab Bugzilla bug 232742: added Linux/amd64 support. The patch came from Gentoo
Linux's portage and was sent by Henrik Lynggaard Hansen
<admin@mozillatranslator.org>.  r=wtc.
Modified Files: configure configure.in prprf.c _linux.cfg linux.h
Added Files: os_Linux_x86_64.s


git-svn-id: svn://10.0.0.236/trunk@153721 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:10:32 +00:00