244 Commits

Author SHA1 Message Date
wtc%google.com
c93a266159 Bug 334826: use compiler's intrinsic atomic functions only when our own
PR_AtomicXXX functions are truly atomic, otherwise the macros and functions
can't be used interchangeably.  Add Nelson's suggested changes as a TODO
comment.
Modified files: pratom.h atomic.c


git-svn-id: svn://10.0.0.236/trunk@244157 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 20:44:02 +00:00
wtc%google.com
9b7c998ee2 Bug 334826: added macro versions of atomic operations, which may be
implemented as compiler intrinsics.  The patch is contributed by Steve
Snyder <swsnyder@insightbb.com>.  r=wtc
Modified files: pratom.h atomic.c


git-svn-id: svn://10.0.0.236/trunk@244083 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 01:50:19 +00:00
glen.beasley%sun.com
ce725ff61e 307573 prpollml requires file descriptors greater than 256 r=wtc
git-svn-id: svn://10.0.0.236/trunk@244080 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 00:45:13 +00:00
glen.beasley%sun.com
d7fc4b2490 307573 remove obsolete runtests.ksh r=wtc
git-svn-id: svn://10.0.0.236/trunk@244024 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 00:16:07 +00:00
wtc%google.com
8f64ec0c38 Bug 386177: _MY_Assert should call PR_Assert in both debug and optimized
builds so that the test program can be aborted.  The patch is contributed
by Slavomir Katuscak <slavomir.katuscak@sun.com>.  r=wtc
Modified files: cltsrv.c provider.c


git-svn-id: svn://10.0.0.236/trunk@242978 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-13 01:55:50 +00:00
wtc%google.com
acff473efd Bug 411926: do not use the %T format specifier for strftime (called by
PR_FormatTime) because %T is not portable.  r=julien.pierre
Modified files: cltsrv.c provider.c


git-svn-id: svn://10.0.0.236/trunk@242942 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-12 05:09:26 +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
wtc%google.com
813f6f6560 Bug 350616: use Microsoft (R) Manifest Tool to build tests. The patch is
contributed by Ted Mielczarek <ted.mielczarek@gmail.com>.  r=wtc


git-svn-id: svn://10.0.0.236/trunk@227730 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-09 17:30:15 +00:00
wtchang%redhat.com
d79a228558 Bug 365997: changed timetest to test the years 2005-2008 rather than the
years 1993-1996.  This tests its ability to use both the old and new DST
rules.  Patch by Nelson Bolyard of Sun Microsystems. r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@218409 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 00:13:59 +00:00
wtchang%redhat.com
ff4f6cd0b2 Bugzilla Bug 360933: removed dead code (for the plevent.h functions and for
Win16 support).
Modified Files:
	README.TXT
Removed Files:
	w16gui/.cvsignore w16gui/Makefile.in w16gui/popfile.c
	w16gui/popfind.c w16gui/popfont.c w16gui/poppad.c
	w16gui/poppad.h w16gui/poppad.ico w16gui/poppad.rc
	w16gui/popprnt0.c w16gui/readme.1st


git-svn-id: svn://10.0.0.236/trunk@217168 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:33:05 +00:00
julien.pierre.bugs%sun.com
8aa9be9e09 Fix for bug 356616 . NSPR DLLs should build at default base address. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@213831 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 00:36:57 +00:00
wtchang%redhat.com
e2d947dcfb Test PR_GetMemMapAlignment.
git-svn-id: svn://10.0.0.236/trunk@198823 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 21:05:32 +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
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
wtchang%redhat.com
81329f10b8 Bugzilla Bug 156633: replaced the deprecated PR_CurrentThread by
PR_GetCurrentThread.  The patch is contributed by Tim <timwatt@gmail.com>.
r=wtc.
Modified Files: prmsgc.c btthread.c rcthread.cpp mdmac.c prthinfo.c ptio.c
        ptsynch.c ptthread.c cltsrv.c intrupt.c perf.c provider.c


git-svn-id: svn://10.0.0.236/trunk@184272 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 22:39:09 +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
9b0fd1a6df Bugzilla Bug 312100: fixed an uninitialized variable bug.
git-svn-id: svn://10.0.0.236/trunk@182015 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 21:48:09 +00:00
wtchang%redhat.com
0ec1b8054e Set NSPR version to 4.7 (Beta).
git-svn-id: svn://10.0.0.236/trunk@180256 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 23:39:56 +00:00
wtchang%redhat.com
61a42f9170 Set NSPR version to 4.6.1 Beta.
Modified files: configure configure.in repackage.sh prinit.h vercheck.c


git-svn-id: svn://10.0.0.236/trunk@177758 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 17:38:07 +00:00
wtchang%redhat.com
21999a8e96 Bugzilla Bug 289052: added braces around nested if statements to ensure
the intended nesting (as indicated by the indentation of the code).  The
patch is contributed by Shanmu <shanmus@gmail.com>. r=wtc.
Modified files: server_test.c servr_kk.c servr_ku.c servr_uk.c servr_uu.c


git-svn-id: svn://10.0.0.236/trunk@175312 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:02:44 +00:00
cls%seawood.org
448f178000 Use dashes instead of backslashes for program options to avoid msys shell expansion.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls a=shaver


git-svn-id: svn://10.0.0.236/trunk@173906 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 14:28:35 +00:00
bryner%brianryner.com
05490950be Add PR_GetPhysicalMemorySize to determine the amount of system memory installed (bug 292899). r=wtc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@173118 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-06 18:46:11 +00:00
wtchang%redhat.com
b85413dafc Fixed compiler warnings.
Modified files: bigfile3.c env.c initclk.c layer.c nbconn.c ntioto.c
	op_filnf.c prpoll.c randseed.c


git-svn-id: svn://10.0.0.236/trunk@172895 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 22:46:05 +00:00
wtchang%redhat.com
1f7b4650e9 Updated for the NSPR 4.6 release.
Modified Files: repackage.sh prinit.h pr/tests/vercheck.c


git-svn-id: svn://10.0.0.236/trunk@172885 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 21:35:46 +00:00
wtchang%redhat.com
4b867d6ca5 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


git-svn-id: svn://10.0.0.236/trunk@172884 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 21:02:55 +00:00
wtchang%redhat.com
80d95a6465 Removed blank lines in *.def files.
Modified Files: plds.def plc.def nspr.def my.def


git-svn-id: svn://10.0.0.236/trunk@170354 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 03:01:05 +00:00
wtchang%redhat.com
cca1fd389e Bugzilla Bug 274450: use pthread_attr_setstacksize on Linux.
Modified Files: ptthread.c foreigh.c provider.c


git-svn-id: svn://10.0.0.236/trunk@170339 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 01:23:03 +00:00
gerv%gerv.net
a2d903c9f2 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@168726 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 22:28:27 +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
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
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
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
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
wtc%netscape.com
af60eacd93 Bugzilla bug 208973: removed obsolete Mac classic CFM build files.
git-svn-id: svn://10.0.0.236/trunk@147014 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 02:03:57 +00:00
wtc%netscape.com
2ae4080507 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.


git-svn-id: svn://10.0.0.236/trunk@146941 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 01:58:03 +00:00
wtc%netscape.com
0768a60390 Added a test for PR_GetAddrInfoByName.
git-svn-id: svn://10.0.0.236/trunk@146822 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 00:18:41 +00:00
darin%meer.net
5d644844e4 landing patch for bug 211501 "NSPR should provide getaddrinfo" r=wtc
git-svn-id: svn://10.0.0.236/trunk@146800 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 21:42:16 +00:00
wtc%netscape.com
ffc29c3fbc 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


git-svn-id: svn://10.0.0.236/trunk@146688 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 00:29:37 +00:00
wtc%netscape.com
1bd45bae36 Bugzilla bug 217968: renamed the STACKSIZE macro to THREAD_STACKSIZE to
avoid a conflict with a same-named macro defined in <ppc/param.h> on Mac OS
X.  Thanks to timeless@bemail.org for reporting the bug.
Modified Files: server_test.c servr_kk.c servr_ku.c servr_uk.c servr_uu.c


git-svn-id: svn://10.0.0.236/trunk@146631 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 18:54:05 +00:00
wtc%netscape.com
15a5acde47 Updated for NSPR 4.4.
git-svn-id: svn://10.0.0.236/trunk@144668 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-10 01:05:10 +00:00
wtc%netscape.com
2e009a9ce8 Print error codes if PR_Read fails.
git-svn-id: svn://10.0.0.236/trunk@142801 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 06:19:11 +00:00
wtc%netscape.com
5df6462fc7 Bug 201405: Backed out the previous checkin. It caused the timeout test to
hang.


git-svn-id: svn://10.0.0.236/trunk@142415 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 01:47:18 +00:00
wtc%netscape.com
e265371b6f 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


git-svn-id: svn://10.0.0.236/trunk@142405 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 01:24:08 +00:00
wtc%netscape.com
56dc73ef7a Bug 201405: we must call PR_WaitCondCVar in a while loop.
git-svn-id: svn://10.0.0.236/trunk@140944 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 22:40:33 +00:00
wtc%netscape.com
5bd606b2cb Bug 126932: made runtests.{sh,ksh} work on OS/2. Include the header for
getcwd in thrpool_server.c.
Modified Files: runtests.sh runtests.ksh thrpool_server.c


git-svn-id: svn://10.0.0.236/trunk@140941 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 22:34:37 +00:00
wtc%netscape.com
7d9945c67e 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


git-svn-id: svn://10.0.0.236/trunk@136681 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 16:26:24 +00:00
wtc%netscape.com
a21a8e2df0 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


git-svn-id: svn://10.0.0.236/trunk@136465 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 01:03:47 +00:00