Commit Graph

473 Commits

Author SHA1 Message Date
wtchang%redhat.com
bc4e5a3bb5 Bug 301064
r=wtc, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-04-05 21:02:25 +00:00
wtchang%redhat.com
f1aa23af66 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-04-05 20:57:23 +00:00
wtchang%redhat.com
7621083817 Bugzilla Bug 326168: more cleanups after code review. r=darin,jshin.
Modified files: prlink.h prlink.c w95io.c
2006-04-05 19:17:03 +00:00
gerv%gerv.net
a9d429c492 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-03-31 08:35:02 +00:00
gerv%gerv.net
b55244899b Bug 331600 - remove non-tri-licensed code patch, originally from bug 61746. r=rrelyea. 2006-03-28 20:49:21 +00:00
wtchang%redhat.com
f35da34b86 Backed out a change in the previous checkin that broke the Windows gcc
(MinGW) build. (Bugzilla bug 330150 and bug 326168)
2006-03-13 02:16:58 +00:00
darin%meer.net
7909073244 fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin 2006-03-10 05:38:31 +00:00
wtchang%redhat.com
3a0926a346 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
2006-02-22 02:39:59 +00:00
wtchang%redhat.com
249ce5f308 Bugzilla bug 326110: declare PR_SetSysfdTableSize and PR_GetSysfdTableMax
with NSPR_API in a public header file so that they can be exported from the
NSPR shared library/DLL.  r=kengert,jpierre.  Thanks to Noriko Hosoi
<nhosoi@redhat.com> for the bug report.
2006-02-06 23:13:10 +00:00
wtchang%redhat.com
3994f1604a Bugzilla Bug 322956: added PR_SI_HOSTNAME_UNTRUNCATED, which does not
strip the domain name (if any).  The patch is contributed by
Philip Prindeville <philipp@redfish-solutions.com>. r=wtc,darin.
Modified files: prsystem.h prsystem.c
2006-01-19 22:11:59 +00:00
wtchang%redhat.com
4259dcc2d9 Bugzilla Bug 322427: removed a very old workaround for a zero-size array in
<sys/socket.h> on Linux. r=kengert.
2006-01-09 21:43:52 +00:00
wtchang%redhat.com
732c519cfe 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
2006-01-09 18:38:54 +00:00
wtchang%redhat.com
bd77bad087 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
2005-12-24 15:03:31 +00:00
wtchang%redhat.com
5e5ecef9ea 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
2005-12-24 08:25:31 +00:00
cls%seawood.org
072160d359 Rename real_install target as install.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls
2005-11-23 06:35:20 +00:00
cls%seawood.org
393d7e63cf Only export *.cfg files needed for cross-compiling.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls
2005-11-23 06:25:56 +00:00
wtchang%redhat.com
07e80b79f2 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
2005-11-21 22:15:55 +00:00
wtchang%redhat.com
a3225a8084 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
2005-11-11 22:23:08 +00:00
wtchang%redhat.com
a17ce29d57 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
2005-10-21 18:21:43 +00:00
wtchang%redhat.com
5e56118232 Determine if the visibility(default) attribute can be used by using only
the GCC version so that this public header does not depend on any macro
the user needs to define.  See Bugzilla bug 307168 comment 29.
2005-10-13 17:43:36 +00:00
wtchang%redhat.com
6a0ea90a7b Bugzilla Bug 308331: the guard for the int32 typedef is no longer
necessary.  Only the winsock2.h file (winsock version 2.1) in MSVC 4.2
has the int32 typedef.  MinGW's winsock2.h doesn't have that typedef,
and current Microsoft winsock2.h doesn't have that either.  Also, on
Windows, we define int32 as long, which is the same as the int32 typedef in
winsock2.h v2.1.  MSVC accepts such duplicated typedefs.  Thanks to
timeless for the research into this problem.
2005-09-15 23:15:53 +00:00
wtchang%redhat.com
17693ee9ab Set NSPR version to 4.7 (Beta). 2005-09-14 23:39:56 +00:00
wtchang%redhat.com
7411fa21d9 Set NSPR version to 4.6.1 Beta.
Modified files: configure configure.in repackage.sh prinit.h vercheck.c
2005-08-15 17:38:07 +00:00
wtchang%redhat.com
b959b0ba45 Bugzilla Bug 303345: added comments for obsolete XP_MAC only enum constants
and union members. r=joshmoz,sfraser.
2005-08-13 00:20:49 +00:00
wtchang%redhat.com
bcbebf03ca Bugzilla Bug 266123: added ppc64 support. The patch is contributed by
Markus Rothe <markus@unixforces.net>. r=wtc.
Modified Files: _linux.cfg _linux.h
2005-08-09 22:41:37 +00:00
wtchang%redhat.com
9ec8733e2e 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
2005-07-21 18:22:54 +00:00
wtchang%redhat.com
b568af749a 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
2005-07-01 22:26:37 +00:00
wtchang%redhat.com
e5bf31f680 Fixed a spelling error (loosly => loosely). 2005-07-01 20:56:49 +00:00
wtchang%redhat.com
d988cabaf9 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
2005-07-01 01:19:30 +00:00
wtchang%redhat.com
f74222a09f 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
2005-06-20 22:05:20 +00:00
bryner%brianryner.com
dc837452de Add PR_GetPhysicalMemorySize to determine the amount of system memory installed (bug 292899). r=wtc, a=brendan 2005-05-06 18:46:11 +00:00
wtchang%redhat.com
144d8652fe Internal functions should not be declared with NSPR_API. 2005-04-29 22:47:56 +00:00
wtchang%redhat.com
28bb3d451c Updated for the NSPR 4.6 release.
Modified Files: repackage.sh prinit.h pr/tests/vercheck.c
2005-04-29 21:35:46 +00:00
wtchang%redhat.com
2122f732c0 Bugzilla Bug 273336: Checked in Brian Ryner's patch:
Add support for using gcc's visibility pragma to treat all function and
method declarations as "hidden" unless declared otherwise.  Create wrappers
for system headers that cause them to be treated as default-visibility
declarations.  This gives a substantial code size and performance win on
compilers that support it.  r=darin sr=dbaron.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk pr/include/prtypes.h
	pr/src/md/unix/uxproces.c pr/tests/sel_spd.c
Added Files:
	config/gcc_hidden.h config/make-system-wrappers.pl
	config/system-headers
2005-04-29 21:02:55 +00:00
julien.pierre.bugs%sun.com
40bff2dfd0 Fix for bug 170911 - add support for >2GB files on OS/2. r=mkaply, pedemonte 2005-04-22 21:14:03 +00:00
wtchang%redhat.com
f98d28fa08 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
2005-02-24 02:58:45 +00:00
wtchang%redhat.com
10551dff2e Bugzilla Bug 280872: prmem.h doesn't need to include <stddef.h> directly
because it is already included via prtypes.h.  The patch is contributed
by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=wtc.
2005-02-04 00:20:33 +00:00
wtchang%redhat.com
499955a326 Bugzilla Bug 279071: removed a duplication definition of the
MAX_POLLING_INTERVAL macro. The bug is reported by Justin Wood
<116057@bacon.qcc.mass.edu>.
2005-01-20 19:02:09 +00:00
wtchang%redhat.com
20cc344edf 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
2005-01-17 22:00:53 +00:00
wtchang%redhat.com
681fcfb1b7 Bugzilla Bug 277704: define the LL_MAXINT, LL_MININT, ... macros as
constants rather than functions on platforms that have a 64-bit integer
type. The patch is contributed by Christian Biesinger <cbiesinger@gmx.at>.
r=wtc.
2005-01-12 02:47:56 +00:00
wchang0222%aol.com
237271c7b1 Bugzilla bug 151709: declare the temporary variables as PRInt32. 2004-12-06 23:40:23 +00:00
wchang0222%aol.com
0805620ce9 Bugzilla bug 151709: implemented atomic operations in assembly on Alpha
Linux.  The patch is contributed by falk@debian.org. r=darin,wtc.
2004-12-06 20:02:09 +00:00
wchang0222%aol.com
e74d4111c5 Bugzilla bug 106386: fixed the spelling errors in NSPR's public header
files.  This is a portion of attachment 106386, which was contributed by
timeless@bemail.org.  r=wtc.
Modified Files: prolock.h prtypes.h plresolv.h plstr.h prgc.h
2004-11-23 00:54:05 +00:00
wchang0222%aol.com
9a4fb6d740 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
2004-11-22 21:24:53 +00:00
darin%meer.net
8f4ac1b002 fixes bug 247962 "Remove DLL_INitterm code from NSPR" patch by mkaply@us.ibm.com r=wtc 2004-11-22 21:06:12 +00:00
wchang0222%aol.com
842593b76f 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.
2004-10-26 21:24:34 +00:00
wchang0222%aol.com
b2e80a1c83 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
2004-10-22 00:10:07 +00:00
wchang0222%aol.com
86e78b60f4 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
2004-10-18 22:40:45 +00:00
wchang0222%aol.com
130fda3cda 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
2004-10-06 00:52:57 +00:00
darin%meer.net
7ce6cc17ec landing NSPR portion of patch for bug 239358 "DNS: Reverse lookups are degrading performance"
patch by lorenzo@colitti.com, r=wtc, sr=darin
2004-08-30 23:31:36 +00:00