Граф коммитов

417 Коммитов

Автор SHA1 Сообщение Дата
wchang0222%aol.com ba59c9fa9f Bugzilla bug 237183: adds an exception handler for every NSPR thread that
is created.  It also exports two functions to set and unset the exception
handler function so they can be used by the primordial thread.  The patch
is contributed by Javier Pedemonte <pedemont@us.ibm.com>. r=wtc.
Modified Files: pprthred.h os2extra.def os2thred.c
2004-03-25 23:28:51 +00:00
seawood%netscape.com 59575a8bbf 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
2004-03-10 07:49:53 +00:00
wchang0222%aol.com 2d8066c3f2 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
2004-03-09 03:10:32 +00:00
wchang0222%aol.com da463e1b17 Bugzilla bug 230837: define the _MD_INIT_CONTEXT macro correctly -- it
needs to set *status to PR_TRUE. The patch was contributed by
timeless@bemail.org. r=wtc.
Modified Files: _os2.h _solaris.h _win95.h
2004-01-20 21:23:33 +00:00
wchang0222%aol.com 64564b55cd Checked in Neutrino (NTO) changes received from Adrian Mardare
<amardare@qnx.com>.  r=wtc.
Modified Files: _nto.h pr/tests/Makefile.in
2004-01-06 01:55:21 +00:00
darin%meer.net 8ba0219bac fixes bug 222031 "OSX getaddrinfo returns concatenated results from /etc/hosts and DNS, which breaks /etc/hosts based ad blocking" r=wtc 2003-11-27 01:33:22 +00:00
darin%meer.net d54de9bda3 fixes bug 216021 "chekesp error if i link against a msvcrt that is built with strict calling rules" patch=wtc r=darin 2003-11-18 09:49:40 +00:00
wchang0222%aol.com ec93954362 Bugzilla bug 219913: define _PR_HAVE_THREADSAFE_GETHOST for OS/2 so that
we can issue concurrent gethostbyname calls.  Moved the definition of
_PR_GLOBAL_THREADS_ONLY, BSD_SELECT, and TCPV40HDRS from configure.in to
_os2.h.
Modified files: configure configure.in _os2.h
2003-11-16 01:10:49 +00:00
wchang0222%aol.com 674d4838d6 Bugzilla bug 224707: added Linux HPPA support. The patch came from the
Debian Mozilla package (maintainer is Takuo KITAME <kitame@debian.org>).
Modified Files: _linux.cfg _linux.h
2003-11-16 00:03:50 +00:00
wchang0222%aol.com 47bef353af Bugzilla bug 207803: added 64-bit UltraSPARC FreeBSD support to NSPR. The
patch was contributed by Joe Marcus Clarke <marcus@freebsd.org>, Thomas
Moestl <tmm@FreeBSD.org>, and Kris Kennaway <kris@freebsd.org>.  r=wtc.
Modified Files: configure configure.in _freebsd.cfg _freebsd.h
2003-11-15 23:39:36 +00:00
wtc%netscape.com 6e70dce57d Bugzilla bug 219487: fixed build failure on OpenVMS. struct addrinfo is
defined in <netdb.h>.  We use AI_CANONNAME, a macro to be used with struct
addrinfo, to detect that.
2003-09-18 00:48:43 +00:00
wtc%netscape.com dafe9aa4a9 Bugzilla bug 219061: fixed build failure on OSF1. struct addrinfo is
defined in <netdb.h> on recent Tru64 Unix releases.  We use AI_CANONNAME,
a macro to be used with struct addrinfo, to detect that.
2003-09-17 20:26:20 +00:00
wtc%netscape.com 93d83eb616 Bugzilla bug 124958: the pthread priority range is 0-31 on OpenBSD. The
patch is contributed by Mats Palmgren <mats.palmgren@bredband.net>.  r=wtc.
2003-09-16 20:46:14 +00:00
wtc%netscape.com 4de49d2c52 Bugzilla bug 215581: checked in the rest of the GCC 3.2.2 for OS/2 patch
from Javier Pedemonte <pedemont@us.ibm.com>.
Modified Files: prio.h prtypes.h os2misc.c
2003-09-16 20:35:10 +00:00
wtc%netscape.com 61d464bad9 Bugzilla bug 215581: build with GCC 3.2.2 for OS/2. The patch is
contributed by Javier Pedemonte <pedemont@us.ibm.com>.  r=wtc.
2003-09-16 01:58:03 +00:00
wtc%netscape.com 617037eda9 Bugzilla bug 124958: Checked in OpenBSD changes from Mats Palmgren
<mats.palmgren@bredband.net>.  Added support for 64-bit SPARC v9, ELF
objects, etc.
Modified Files: _openbsd.cfg prlink.c prnetdb.c prtime.c
2003-09-16 00:18:13 +00:00
wtc%netscape.com 27fbedfb45 fix mingw/vc7 bustage 2003-09-13 15:10:24 +00:00
darin%meer.net d0577b2b10 fixing build bustage for mingw & vc7 2003-09-13 01:02:40 +00:00
darin%meer.net ac4b50a610 landing patch for bug 211501 "NSPR should provide getaddrinfo" r=wtc 2003-09-11 21:42:16 +00:00
wtc%netscape.com 75158550b3 Set NSPR version to 4.5 Beta. 2003-09-11 01:01:59 +00:00
wtc%netscape.com a2d34ab957 Bugzilla bug 214411: implement automatic attaching and detaching of Solaris
native threads.  The patch contains contribution by Gerard Roos
<gerard.roos@adnovum.ch>.
Modified Files: _solaris.h primpl.h solaris.c pruthr.c foreign.c provider.c
2003-09-11 00:29:37 +00:00
wtc%netscape.com 39265009ee Set NSPR version to 4.4. 2003-07-10 01:03:41 +00:00
seawood%netscape.com ae7736e49e Use standard __declspec keyword instead of _declspec.
Bug #202826 r=wtc
2003-06-25 14:49:44 +00:00
wtc%netscape.com c3f7b1f643 Bug 207614: fixed the way prcpucfg.h is created on OpenVMS so that its
modified time doesn't get updated whenever we do "gmake export".
2003-06-06 21:21:47 +00:00
wtc%netscape.com 15aa796c7a Set NSPR version to 4.4 Beta. 2003-05-14 01:43:16 +00:00
wtc%netscape.com e6bc82925d Merged the changes from NSPRPUB_PRE_4_2_CLIENT_BRANCH onto the trunk. Most
of these changes are for OS/2.
Modified Files:
	configure.in build/cygwin-wrapper config/rules.mk
	lib/ds/Makefile.in lib/ds/plds.def lib/libc/src/Makefile.in
	lib/libc/src/plc.def pr/include/md/_os2.h pr/src/Makefile.in
	pr/src/nspr.def pr/src/linking/prlink.c
	pr/src/md/os2/Makefile.in pr/src/md/os2/objs.mk
	pr/src/md/os2/os2cv.c pr/src/md/os2/os2misc.c
	pr/src/md/os2/os2poll.c pr/src/md/os2/os2sock.c
	pr/src/md/os2/os2thred.c pr/tests/Makefile.in
	pr/tests/attach.c
2003-05-14 01:24:08 +00:00
seawood%netscape.com 212ea0003e Add PR_GetPathSeparator function.
Bug #171883 r=wtc
2003-04-04 05:03:55 +00:00
wtc%netscape.com 50e6f8eec9 Set NSPR version to 4.3. 2003-03-27 02:15:33 +00:00
wtc%netscape.com ac32157918 Bug 135450: OS/2 only - don't set priority if it is the default.
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>. r=wtc.
Modified files: _os2 primpl.h os2thred.c
2003-03-22 14:59:55 +00:00
wtc%netscape.com dd274aefaf Bug 195411: added the LL_MaxUint function and the LL_MAXUINT macro.
Modified Files: prlong.h nspr.def nspr_symvec.opt openvms.c prlong.c
2003-03-04 02:14:53 +00:00
wtc%netscape.com e428ae1e7c Bug 193380: added IPv6 support on HP-UX 11i or later. Cleaned up the
detection of HP-UX B.11.* in configure.in.
Modified Files: configure.in configure _hpux.h
2003-02-26 02:00:33 +00:00
wtc%netscape.com 891337d87e Bug 193969: implemented atomic routines for Darwin PPC in assembly.
Changed old name "Rhapsody" to new name "Darwin".
Modified files: configure configure.in _darwin.h darwin.c
Added file: os_Darwin_ppc.s
2003-02-22 15:00:13 +00:00
wtc%netscape.com a66a4d539e Bug 90010: added support for Linux for s390 and s390x. The patch is
contributed by Gerhard Tonn <GerhardTonn@swol.de>.
Modified Files: _linux.cfg _linux.h prprf.c
2003-01-23 17:03:22 +00:00
wtc%netscape.com 61591dded1 Bug 188439: fixed a bug in the PR_Poll implementation for
_PR_POLL_WITH_SELECT.  We could still call FD_SET if the osfd was larger
than FD_SETSIZE.  Fixed the bug that _PR_POLL_WITH_SELECT was defined after
the system header files had been included.  Need to define it on the
compile command line.  Define _USE_BIG_FDS on HP-UX.  Because that macro
increases the size of fd_set to about 7500 bytes and PR_Poll allocates 3
fd_sets on the stack, also increased the minimum thread stack size to 128KB
on HP-UX.
Modified Files: configure configure.in _hpux.h _osf1.h ptio.c
2003-01-20 20:52:48 +00:00
wtc%netscape.com eb31f14407 Bug 134113: make NSPR build on Win32 using MinGW gcc. The patch is
contributed by Chris Seawood <seawood@cls.org> and Dan Mosedale
<dmose@mozilla.org>. r=wtc.
Modified files: configure configure.in config/Makefile.in autoconf.mk.in
now.c rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
lib/msgc/src/Makefile.in prtypes.h _winnt.h pr/src/Makefile.in prmapopt.c
pr/src/md/windows/Makefile.in ntio.c ntmisc.c pr/tests/Makefile.in
runtests.ksh pr/tests/dll/Makefile.in
2003-01-20 16:26:24 +00:00
wtc%netscape.com 0b4f800fbf Bug 185687: added PR_CallOnceWithArg, a version of PR_CallOnce that allows
the callers to pass an argument to the call-once function.
Modified files: prinit.h nspr.def prinit.c
2003-01-18 02:04:45 +00:00
wtc%netscape.com afe5df84e4 Bug 189332: Implemented the new function PR_GetLibraryFilePathname for
AIX, HP-UX, Linux, Mac OS X, OSF1, Solaris, and Windows.  Added the new
error code PR_LIBRARY_NOT_LOADED_ERROR for the error condition that the
library specified by "name" and "addr" is not loaded.  Added a new test,
libfilename.c.  Extended the PR_GetLibraryName function to not prepend any
directory if the first argument "dir" is NULL.  The OSF1 implementation was
contributed by Steve Streeter <Stephen.Streeter@hp.com>.
Modified files: prerr.h prlink.h nspr.def pr/src/linking/Makefile.in
prlink.c compile-et.pl prerr.c prerr.et prerr.properties
pr/tests/Makefile.in runtests.ksh runtests.sh
Added file: pr/tests/libfilename.c
2003-01-17 01:03:47 +00:00
wtc%netscape.com 26c5a3f49b Bug 168228: added IPv6 support for Darwin (Mac OS X). Added two new
feature macros _PR_HAVE_INET_NTOP and _PR_GHBA_DISALLOW_V4MAPPED to
handle the differences of Darwin's IPv6 sockets implementation and
other platforms' implementations.
Modified files: _aix.h _bsdi.h _darwin.h _freebsd.h _irix.h _linux.h
_netbsd.h _openvms.h _osf1.h _solaris.h prnetdb.c
2003-01-16 16:16:34 +00:00
wtc%netscape.com 1a9b9b778b Bug 188396: don't use ftime because its 32-bit timestamp will overflow
around year 2038.  Use GetSystemTimeAsFileTime instead.  The patch is
contributed by timeless@bemail.org.
Modified files: config/now.c _win95.h _winnt.h ntio.c ntmisc.c w95io.c
2003-01-14 13:22:32 +00:00
wtc%netscape.com 9bb01d12a7 The PTDebug type doesn't need to be defined in optimized builds. 2003-01-08 03:28:54 +00:00
wtc%netscape.com 7837eead2d Use quotes instead of angle brackets to fix classic mac bustage. 2003-01-07 20:51:24 +00:00
wtc%netscape.com 69f9a94067 Bug 158704: PT_FPrintStats also needs to be exported (for the test programs
only).  Define it as a no-op in optimized builds.  Deleted PT_GetStats,
which is not useful.
Modified files: primpl.h, nspr.def, ptio.c
2003-01-07 04:52:25 +00:00
wtc%netscape.com 99269d53f5 Bug 183907: increase the default and minimum thread stack size to 128K on
AIX because bos.rte.libc 4.3.3.88 includes a fix for a security bug that
greatly increases the amount of stack space used when calling functions
like gethostbyname.  Thanks to Philip K. Warren <pkw@us.ibm.com> for the
fix.
2003-01-06 22:13:28 +00:00
wtc%netscape.com bd38a5857a Bug 158704: the counter, ordered lock, and trace symbols should be defined
in optimized builds as well.
Modified files: prcountr.h prolock.h prtrace.h prcountr.c prolock.c
prtrace.c
2003-01-03 23:09:17 +00:00
wtc%netscape.com 259b6a8d8a Bug 180293: moved the OpenVMS build from the POSIX subsystem to native VMS
(GNV).  The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified Files: configure configure.in rules.mk pr/include/md/Makefile
        openvms.c
Added Files: plds_symvec.opt plc_symvec.opt nspr_symvec.opt
2002-12-12 01:41:31 +00:00
wtc%netscape.com 901980a0bb Bug 166412: ported NSPR to AIX 5.1. AIX 5.1 is the same as AIX 4.3 as far
as NSPR is concerned.  Invented a new macro AIX4_3_PLUS to indicate AIX 4.3
or higher.
Modified files: configure configure.in _pth.h prnetdb.c
2002-12-11 23:10:41 +00:00
wtc%netscape.com a57a9b5ba7 Bug 175423: fixed the problems pointed out by gcc's -pedantic-errors flag.
Modified files: prwin16.h unix.c
2002-12-11 23:03:31 +00:00
wtc%netscape.com 7c3bd3bd72 Bug 162358: added NSPR file I/O functions that take UTF16 pathnames. The
patch is contributed by Roy Yokoyama <yokoyama@netscape.com>.
Modified Files: config/config.mk prio.h prtypes.h _win95.h primpl.h
                prdir.c prfile.c w95io.c ptio.c
2002-11-27 03:17:13 +00:00
seawood%netscape.com 7edce1fd98 Remove $(CONFIG) from real_install target. It was a typo anyway. 2002-11-09 09:23:31 +00:00
wtc%netscape.com 6647589dbd Bug 72100: added macros for the maximum and minimum values of PRInt8,
PRUint8, PRInt16, PRUint16, PRInt32, and PRUint32. r=jkeiser.
2002-09-18 14:23:46 +00:00