1103 Commits

Author SHA1 Message Date
wchang0222%aol.com
f186022a31 Bugzilla bug 256217: implement PR_GetLibraryFilePathname for FreeBSD, which
can use the same implementation as Solaris and Linux.  The patch is
contributed by Dale Jordan. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@161666 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 18:30:19 +00:00
darin%meer.net
efc188929c landing NSPR portion of patch for bug 239358 "DNS: Reverse lookups are degrading performance"
patch by lorenzo@colitti.com, r=wtc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@161514 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 23:31:36 +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
wchang0222%aol.com
393a9b73cb Bugzilla bug 123403: LL_INIT should use PR_UINT32 because the hi and lo
fields of the PRInt64 structure are PRUint32.  The patch is contributed by
timeless@bemail.org.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@155663 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 00:35:27 +00:00
wchang0222%aol.com
113c3283a4 The return type of PR_GetMonitorEntryCount should be PRIntn.
git-svn-id: svn://10.0.0.236/trunk@155658 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 23:24:09 +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
dc2771ed6e Bugzilla bug 236228: fixed the remaining problems with logFile == WinDebug
by moving the WinDebug handling code into the _PUT_LOG macro.  The patch is
contributed by timeless@bemail.org.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@155429 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 03:42:31 +00:00
wchang0222%aol.com
5ebb90f4db Bugzilla bug 162786: fixed a bug where PR_snprintf returns wrong string
length (one too small), in the case where the buffer overflows.  The patch
is contributed by Jonathan Tash (tash@kontiki.com). r=wtc.


git-svn-id: svn://10.0.0.236/trunk@155355 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 21:25:14 +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
wchang0222%aol.com
55316c2f99 Bugzilla bug 108305: upgraded to the Mon Apr 12 00:44:22 MDT 2004 version
of dtoa.c.  r=darin.  Bumped rev. to 4.1.


git-svn-id: svn://10.0.0.236/trunk@155002 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 00:27:08 +00:00
wchang0222%aol.com
df27eeac54 Bugzilla bug 238563: fixed errors reported by an IBM internal tool.
r=darin. Thanks to Philip K. Warren <pkw@us.ibm.com> for running the
automated tool on NSPR.
Modified Files: prcountr.c prdtoa.c prtrace.c prtpd.c


git-svn-id: svn://10.0.0.236/trunk@154732 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:51:47 +00:00
wchang0222%aol.com
ce7cb15a2a Bugzilla bug 232958: checked in a new condition variable implementation
contributed by Fredrik Holmqvist <thesuckiestemail@yahoo.com>.
Modified Files: primpl.h btcvar.c


git-svn-id: svn://10.0.0.236/trunk@154729 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:44:43 +00:00
wchang0222%aol.com
8ff2c48569 Set NSPR version to 4.6 Beta.
git-svn-id: svn://10.0.0.236/trunk@154469 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 01:32:32 +00:00
wchang0222%aol.com
0314be6dd6 Bugzilla bug 238842: avoid the copying of va_list (the VARARGS_ASSIGN
macro) because it is not portable. r=jgmyers. sr=darin.


git-svn-id: svn://10.0.0.236/trunk@154467 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 01:27:08 +00:00
wchang0222%aol.com
e4e1cd3a61 Bugzilla bug 126928: OS/2 only - code from knut st. osmundsen - implement
PR_SetFDInheritable on OS/2. r=mkaply.


git-svn-id: svn://10.0.0.236/trunk@154453 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-02 05:09:53 +00:00
wchang0222%aol.com
d9de9ea83b 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


git-svn-id: svn://10.0.0.236/trunk@154276 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-25 23:28:51 +00:00
wchang0222%aol.com
ae5e8d94d1 Bugzilla bug 238578: memory allocated with PR_MALLOC() should not be freed
with free().  r=mkaply.


git-svn-id: svn://10.0.0.236/trunk@154237 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-25 02:15:58 +00:00
wchang0222%aol.com
78b2be94f5 Bugzilla bug 237870: we figured out how to link the MinGW build against
wsock32.dll (Winsock 1) instead of ws2_32.dll (Winsock 2).  r=cls.
Modified Files:
	pr/src/Makefile.in pr/src/io/prmapopt.c pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@154169 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 00:42:56 +00:00
darin%meer.net
6db7556193 fixes bug 209814 "PR_dtoa blows up when executed on an ARM platform" patch by wtc r=darin
git-svn-id: svn://10.0.0.236/trunk@153904 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 07:33:28 +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
efa7631d01 Bugzilla bug 231849: added performance optimizations (same as those we use
for Unix).  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@153798 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 00:42:03 +00:00
wchang0222%aol.com
f652ed48f6 Bugzilla bug 236879: PR_LocalTimeParameters should also check for values
that are too small for 32-bit time_t. r=darin.


git-svn-id: svn://10.0.0.236/trunk@153797 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 00:34:19 +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
wchang0222%aol.com
c3477ab009 Bugzilla bug 200162: pass 0 as the third and fourth arguments to sem_open
to work around a bug in sem_open on HP-UX 11.23 or earlier.  The patch is
contributed by Grace Lu of HP.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@153715 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 01:40:49 +00:00
wchang0222%aol.com
3b99134c88 Bugzilla bug 186547: fixed compiler warnings. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@153555 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-05 01:49:34 +00:00
wchang0222%aol.com
011dffed43 Bugzilla bug 231195: fixed the crash in PR_LogCleanup if NSPR_LOG_FILE is
set to WinDebug.  Thanks to timeless@bemail.org for the patch. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@152373 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 15:57:46 +00:00
wchang0222%aol.com
7d1ab463c4 Bugzilla bug 232120: added support for NetBSD's pthread library. The patch
is contributed by Shin'ichiro TAYA <taya@netbsd.org>. r=wtc.
Modified Files: configure configure.in ptio.c


git-svn-id: svn://10.0.0.236/trunk@152264 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 01:40:56 +00:00
wchang0222%aol.com
00bcaa852a Bugzilla bug 224161: added support for Mac OS X Panther SDK. We assume
that NEXT_ROOT is set in the environment.  The patch is contributed by
Mike Pinkerton <pinkerton@aol.net>. r=wtc.
Modified files: configure configure.in pr/src/linking/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@151972 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:11:04 +00:00
wchang0222%aol.com
3a1fbf11bf Bugzilla bug 231786: extended PR_GetAddrInfoByName to support PR_AF_INET.
The patch was contributed by John G. Myers <jgmyers@speakeasy.net>. r=wtc
and darin.


git-svn-id: svn://10.0.0.236/trunk@151718 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 22:27:23 +00:00
wchang0222%aol.com
199c5acfbc 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


git-svn-id: svn://10.0.0.236/trunk@151597 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 21:23:33 +00:00
wchang0222%aol.com
2a56e54553 Bugzilla bug 228899: pass the RTLD_MEMBER flag to dlopen on AIX so that we
can load a shared library that is a member of an archive.  The patch was
contributed by Michael Lew <mlew@us.ibm.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@151594 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 19:49:03 +00:00
wchang0222%aol.com
44b285be1d Bugzilla bug 222037: we need to adjust the address family field of
PRNetAddr on return from getpeername.  The patch is contributed by
Fredrik Holmqvist <thesuckiestemail@yahoo.se>.  r=wtc,darin.


git-svn-id: svn://10.0.0.236/trunk@151010 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 02:30:03 +00:00
wchang0222%aol.com
02c04ebafb Checked in Neutrino (NTO) changes received from Adrian Mardare
<amardare@qnx.com>.  r=wtc.
Modified Files: _nto.h pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@150911 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-06 01:55:21 +00:00
darin%meer.net
3d5ad313db fixes bug 222031 "OSX getaddrinfo returns concatenated results from /etc/hosts and DNS, which breaks /etc/hosts based ad blocking" r=wtc
git-svn-id: svn://10.0.0.236/trunk@149793 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-27 01:33:22 +00:00
wchang0222%aol.com
ed8c0fd1a2 Updated for NSPR 4.5.
Modified Files: configure configure.in repackage.sh vercheck.c


git-svn-id: svn://10.0.0.236/trunk@149706 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-25 01:20:40 +00:00
wchang0222%aol.com
4de17b3c1c Bugzilla bug 226686: we need to close the new socket if _MD_FAST_ACCEPT or
_MD_FAST_ACCEPT_READ fails.


git-svn-id: svn://10.0.0.236/trunk@149705 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-25 00:48:07 +00:00
wchang0222%aol.com
2aea9edecd Bugzilla bug 226356: test for NULL before dereferencing a pointer. The
patch is contributed by timeless@bemail.org.  r=wtc.
Modified Files: bthreads/btmon.c pthreads/ptsynch.c threads/prmon.c


git-svn-id: svn://10.0.0.236/trunk@149628 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-22 06:57:02 +00:00
darin%meer.net
fd25d21244 fixes bug 216021 "chekesp error if i link against a msvcrt that is built with strict calling rules" patch=wtc r=darin
git-svn-id: svn://10.0.0.236/trunk@149490 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 09:49:40 +00:00
darin%meer.net
38aa2b6a2d fixes bug 226022 "overflow error in PR_Poll means timeout < 1 second returns too quickly" patch=brofield@jellycan.com r=wtc,darin
git-svn-id: svn://10.0.0.236/trunk@149487 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 06:18:56 +00:00
wchang0222%aol.com
ea406ede5f 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


git-svn-id: svn://10.0.0.236/trunk@149388 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 01:10:49 +00:00
wchang0222%aol.com
2b8874ac88 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


git-svn-id: svn://10.0.0.236/trunk@149383 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 00:03:50 +00:00
wchang0222%aol.com
0199ff8322 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


git-svn-id: svn://10.0.0.236/trunk@149380 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 23:39:36 +00:00
darin%meer.net
148858946f fixes bug 223811 "getaddrinfo returns 3 addrinfo structs for each IP address [was: very long timeout for retrying IPv6 to IPv4 addresses]" r=wtc
git-svn-id: svn://10.0.0.236/trunk@148644 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 05:10:48 +00:00
wchang0222%aol.com
8e392fef5e Bugzilla bug 223427: added a note section so that the linker knows we are
not executing off the stack.  This patch is received from Christopher
Blizzard of Red Hat <blizzard@redhat.com>.


git-svn-id: svn://10.0.0.236/trunk@148340 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 04:12:54 +00:00
wchang0222%aol.com
d4c2b98b27 Use a larger buffer.
git-svn-id: svn://10.0.0.236/trunk@148335 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 01:34:28 +00:00
wchang0222%aol.com
0198e54fd4 Added a missing printf statement.
git-svn-id: svn://10.0.0.236/trunk@148334 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 01:17:42 +00:00
wchang0222%aol.com
d723099aa8 Added formattm.c, a test program for PR_FormatTime and
PR_FormatTimeUSEnglish.


git-svn-id: svn://10.0.0.236/trunk@148333 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 01:02:40 +00:00
wchang0222%aol.com
d9654c791b Bugzilla bug 217121: fixed a crash in strftime on Mac OS X. The patch is
contributed by Ben Goodger <bugs@bengoodger.com>.


git-svn-id: svn://10.0.0.236/trunk@148331 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 00:47:19 +00:00
wchang0222%aol.com
0904e36810 Bugzilla bug 214411: fixed a bug introduced in the previous checkin.
threadid_key_destructor may get called on the primordial thread if the app
doesn't call PR_Cleanup and the assertion would fail.  Thanks to
Gerard Roos <gerard.roos@adnovum.ch> for contributing the patch.


git-svn-id: svn://10.0.0.236/trunk@148302 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-23 00:43:36 +00:00
wchang0222%aol.com
6570fbdef2 Bugzilla bug 221385: we need to set tm_zone and tm_gmtoff on FreeBSD, too.
The patch is contributed by Tai-hwa Liang <fk9cs702@sneakemail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@147915 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 19:40:06 +00:00