671 Commits

Author SHA1 Message Date
wtc%google.com
857bf178c5 Set NSPR version to 4.9.6.
git-svn-id: svn://10.0.0.236/trunk@264796 18797224-902f-48f8-a5cc-f745e15eee43
2013-03-14 17:38:11 +00:00
wtc%google.com
f3d6bd7194 Bug 841651: Implement PR_SetThreadPriority() on Linux-based platforms
using per-thread nice values. The patch is contributed by Gabriele
Svelto <gsvelto@mozilla.com>. r=wtc.
Modified Files:
	configure configure.in pr/include/private/primpl.h
	pr/src/pthreads/ptthread.c


git-svn-id: svn://10.0.0.236/trunk@264795 18797224-902f-48f8-a5cc-f745e15eee43
2013-03-14 17:34:33 +00:00
wtc%google.com
22ec3b830c Bug 827271: Add support for Aarch64 (64-Bit ARM). The patch is contributed
by Riku Voipio. r=wtc.
Modified Files:
	_linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@264713 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 19:40:49 +00:00
wtc%google.com
d309ce229d Bug 812085: Initialize Windows CRITICAL_SECTIONs without debug info and
with nonzero spin count (1500). The patch is contributed by  Chris Peterson
<cpeterson@mozilla.com>. r=wtc.
Modified Files:
	pr/include/md/_win95.h pr/src/md/windows/w95cv.c


git-svn-id: svn://10.0.0.236/trunk@264711 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 19:14:25 +00:00
wtc%google.com
6d9ebe3b3d Set NSPR version to 4.9.6 Beta.
Modified Files:
	configure configure.in pr/include/prinit.h pr/tests/vercheck.c


git-svn-id: svn://10.0.0.236/trunk@264709 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 17:56:12 +00:00
wtc%google.com
0f2c37a4cd Set NSPR version to 4.9.5.
git-svn-id: svn://10.0.0.236/trunk@264678 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 01:03:30 +00:00
wtc%google.com
fde0104db4 Bug 634793: Add OpenBSD and Android to the list of exceptions to how NSPR
normally defines PRInt64 and PRUint64. From now on, NSPR's exact-width
integer types will match the exact-width integer types defined in
<stdint.h>. r=ehsan.
Modified Files: prdepend.h prlong.h prtypes.h


git-svn-id: svn://10.0.0.236/trunk@264534 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-07 21:13:41 +00:00
wtc%google.com
fb94341812 Bug 634793: Back out the previous "try build" checkin.
Modified Files:
	config/prdepend.h pr/include/prlong.h pr/include/prtypes.h


git-svn-id: svn://10.0.0.236/trunk@264515 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-02 19:21:18 +00:00
wtc%google.com
b84105baef Bug 634793: a checkin to do a "try" build of a proposed patch (to define
the NSPR integer types as <stdint.h> types) on the NSS tinderboxes.
Modified Files:
	config/prdepend.h pr/include/prlong.h pr/include/prtypes.h


git-svn-id: svn://10.0.0.236/trunk@264511 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-01 22:50:12 +00:00
wtc%google.com
1333194962 Set NSPR version to 4.9.5 Beta. Drop MKS shell support in configure.
Modified Files:
	configure configure.in pr/include/prinit.h pr/tests/vercheck.c
Removed Files:
	admin/repackage.sh


git-svn-id: svn://10.0.0.236/trunk@264475 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-22 01:14:00 +00:00
wtc%google.com
aade62deec Set NSPR version to 4.9.4.
git-svn-id: svn://10.0.0.236/trunk@264471 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-21 07:05:58 +00:00
wtc%google.com
be98838f49 Bug 804806: Remove code related to NCR, NEC, NEXTSTEP, SINIX, SNI, SONY,
NEWS-OS, SunOS4, and SunOS 4.1.3_U1. Remove the os_ReliantUNIX.s file.
TBR=ted.
Modified Files:
	config/Makefile.in config/nsinstall.c lib/ds/Makefile.in
	lib/libc/src/Makefile.in lib/prstreams/Makefile.in
	lib/prstreams/tests/testprstrm/Makefile.in
	lib/tests/Makefile.in pr/include/gencfg.c
	pr/include/md/_unixos.h pr/include/private/primpl.h
	pr/src/Makefile.in pr/src/cplus/tests/Makefile.in
	pr/src/io/Makefile.in pr/src/io/prfile.c pr/src/io/prmapopt.c
	pr/src/linking/Makefile.in pr/src/linking/prlink.c
	pr/src/malloc/Makefile.in pr/src/md/prosdep.c
	pr/src/md/beos/beos_errors.c pr/src/md/unix/Makefile.in
	pr/src/md/unix/unix.c pr/src/md/unix/unix_errors.c
	pr/src/md/unix/uxproces.c pr/src/md/unix/uxrng.c
	pr/src/md/unix/uxwrap.c pr/src/misc/prtime.c
	pr/src/pthreads/Makefile.in pr/src/pthreads/ptio.c
	pr/src/threads/combined/Makefile.in pr/tests/Makefile.in
	pr/tests/dll/Makefile.in tools/Makefile.in
Removed Files:
	pr/src/md/unix/os_ReliantUNIX.s


git-svn-id: svn://10.0.0.236/trunk@264433 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-13 23:18:00 +00:00
wtc%google.com
5841bbee53 Bug 757593: Change to 1000 ticks per second (NSPR minimum), down from
100000 ticks per second (NSPR maximum), so that PRIntervalTime will take as
long as possible to wrap around. Rename HAVE_MONOTONIC_CLOCK to
HAVE_CLOCK_MONOTONIC. TBR=bsmith.
Modified Files: _linux.h _unixos.h darwin.c unix.c


git-svn-id: svn://10.0.0.236/trunk@264412 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-10 11:48:55 +00:00
wtc%google.com
0ef1cd08dc Bug 757593: Fix build error. _MD_INTERVAL_INIT used to be defined in
_unixos.h. Now it needs to be defined in this file for Solaris. Remove an
unnecessary #ifndef _PR_PTHREADS test and redundant PRIntervalTime
function declarations and macro definitions in the
#if !defined(_PR_PTHREADS) part of the file. TBR=kaie.


git-svn-id: svn://10.0.0.236/trunk@264382 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-25 14:54:24 +00:00
wtc%google.com
e8398a797e Bug 757593: Make PR_IntervalNow monotonic for Android, Linux, Mac OS X, and
iOS. r=bsmith.
Modified Files:
	_aix.h _bsdi.h _darwin.h _dgux.h _freebsd.h _hpux.h _linux.h
	_netbsd.h _nto.h _openbsd.h _osf1.h _qnx.h _riscos.h _scoos.h
	_symbian.h _unixos.h _unixware.h pr/src/Makefile.in darwin.c
	unix.c prinrval.c


git-svn-id: svn://10.0.0.236/trunk@264379 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-24 22:33:36 +00:00
wtc%google.com
a0aef40235 Bug 804806: Remove the _xxx.cfg, _xxx.h, and xxx.c files for ncr, nec,
sony, nextstep, reliantunix, and sunos4. r=bsmith.
Modified Files:
	configure configure.in pathsub.h prosdep.h prscanf.c prosdep.c
	prerrortable.c
Removed Files:
	_ncr.cfg _ncr.h _nec.cfg _nec.h _nextstep.cfg _nextstep.h
	_reliantunix.cfg _reliantunix.h _sony.cfg _sony.h _sunos4.cfg
	_sunos4.h sunos4.h ncr.c nec.c nextstep.c reliantunix.c sony.c
	sunos4.c


git-svn-id: svn://10.0.0.236/trunk@264378 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-24 22:19:10 +00:00
wtc%google.com
d421ad2fe2 Bug 804833: Allow PR_FormatTime and PR_FormatTimeUSEnglish with
NO_NSPR_10_SUPPORT. The patch is contributed by Isaac Aggrey
<isaac.aggrey@gmail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@264375 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-23 23:35:58 +00:00
wtc%google.com
9e54a069cf Set NSPR version to 4.9.4 Beta.
Modified Files:
	configure configure.in admin/repackage.sh pr/include/prinit.h
	pr/tests/vercheck.c


git-svn-id: svn://10.0.0.236/trunk@264373 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-23 22:39:01 +00:00
wtc%google.com
b378478376 Set NSPR version to 4.9.3.
git-svn-id: svn://10.0.0.236/trunk@264371 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-23 17:56:12 +00:00
wtc%google.com
4d9c13a763 Bug 749849: Delete the _PT_PTHREAD_KEY_DELETE macro. Fix a comment typo.
Patch by Kai Engert <kaie@kuix.de>. r=wtc.
Modified Files:
	pr/include/md/_pth.h pr/src/pthreads/ptthread.c


git-svn-id: svn://10.0.0.236/trunk@264369 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-23 01:03:41 +00:00
kaie%kuix.de
51106f2940 Backing out bug 749849 patch v6 as an attempt to fix the recently introduced intermittent crashes.
git-svn-id: svn://10.0.0.236/trunk@264368 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-22 15:34:01 +00:00
wtc%google.com
e6f60365c2 Bug 767759: Add support for the new x32 ABI. The patch is contributed by
Jory A. Pratt <anarchy@gentoo.org>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@264364 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-19 23:36:48 +00:00
wtc%google.com
38a1ddb868 Bug 749849: Delete the _PT_PTHREAD_KEY_DELETE macro. Have PR_Cleanup call
pthread_key_delete if there is no other NSPR thread (system or foreign)
around. TBR=kaie.
Modified Files:
	pr/include/md/_pth.h pr/src/pthreads/ptthread.c


git-svn-id: svn://10.0.0.236/trunk@264363 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-19 23:20:08 +00:00
wtc%google.com
53f002bd64 Set NSPR version to 4.9.3 Beta.
Modified Files: configure.in configure repackage.sh prinit.h vercheck.c


git-svn-id: svn://10.0.0.236/trunk@264272 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-28 05:59:48 +00:00
kaie%kuix.de
b777cf99f9 Bug 749849 - NSPR pthread_key_t leak and memory corruption, fix contributed by Joe Orton, r=me, tweaked by me, r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@264062 18797224-902f-48f8-a5cc-f745e15eee43
2012-07-24 17:40:16 +00:00
wtc%google.com
e1f5b0767b Set NSPR version to 4.9.2.
git-svn-id: svn://10.0.0.236/trunk@264042 18797224-902f-48f8-a5cc-f745e15eee43
2012-07-19 23:31:19 +00:00
wtc%google.com
8d5349a13a Bug 758837: Rename PR_SetThreadName to PR_SetCurrentThreadName and change
PR_GetThreadName to take a thread argument. r=honzab.
Modified Files: prthread.h nspr.def ptthread.c pruthr.c


git-svn-id: svn://10.0.0.236/trunk@263908 18797224-902f-48f8-a5cc-f745e15eee43
2012-06-06 23:22:49 +00:00
wtc%google.com
0e6d745f5a Set NSPR version to 4.9.2 Beta.
Modified Files: configure configure.in repackage.sh prinit.h vercheck.c


git-svn-id: svn://10.0.0.236/trunk@263885 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-31 22:48:20 +00:00
wtc%google.com
93920e82c5 Set NSPR version to 4.9.1.
git-svn-id: svn://10.0.0.236/trunk@263883 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-31 22:04:22 +00:00
wtc%google.com
727b671f9c Bug 758837: add the PR_SetThreadName and PR_GetThreadName functions for
setting and getting the name of the current thread.  The patch is
contributed by Honza Bambas <<honzab.moz@firemni.cz>.  r=wtc.
Modified Files: prthread.h _win95.h _winnt.h primpl.h nspr.def ntthread.c
	w95thred.c ptthread.c prcthr.c pruthr.c


git-svn-id: svn://10.0.0.236/trunk@263855 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-26 00:15:24 +00:00
wtc%google.com
43e2d810d7 Bug 754649: Add support for Hurd. The patch is contributed by Mike Hommey
<mh+mozilla@glandium.org>.  r=wtc.
Modified Files: _linux.cfg _pth.h uxrng.c


git-svn-id: svn://10.0.0.236/trunk@263839 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-18 21:55:29 +00:00
gerv%gerv.net
c36a4cf0e4 Bug 716564 - update licence to MPL 2. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@263524 18797224-902f-48f8-a5cc-f745e15eee43
2012-03-06 13:14:34 +00:00
wtc%google.com
37ca09a8fd Set NSPR version to 4.9.1 Beta.
Modified Files: configure configure.in repackage.sh prinit.h vercheck.c


git-svn-id: svn://10.0.0.236/trunk@263422 18797224-902f-48f8-a5cc-f745e15eee43
2012-02-16 04:01:30 +00:00
wtc%google.com
2bc1901784 Set NSPR version to 4.9.
git-svn-id: svn://10.0.0.236/trunk@263413 18797224-902f-48f8-a5cc-f745e15eee43
2012-02-15 20:30:33 +00:00
wtc%google.com
d936c5e869 Bug 674277: document the PR_INT64_MAX, PR_INT64_MIN, and PR_UINT64_MAX
macros.  The patch is contributed by Scott Johnson <sjohnson@mozilla.com>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@263398 18797224-902f-48f8-a5cc-f745e15eee43
2012-02-14 18:21:25 +00:00
ted.mielczarek%gmail.com
fe1206507d Bug 674277 - Add PR_UINT64_MAX and PR_INT64_MAX macros for convenience on 64-bit systems. Patch by Scott Johnson <sjohnson@mozilla.com>, r=ted
git-svn-id: svn://10.0.0.236/trunk@263013 18797224-902f-48f8-a5cc-f745e15eee43
2011-10-25 15:48:03 +00:00
wtc%google.com
e2d1fd2ab1 Bug 684254: include sys/endian.h on Android to include htonl and friends.
The patch is contributed by Ehsan Akhgari <ehsan@mozilla.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@262820 18797224-902f-48f8-a5cc-f745e15eee43
2011-09-07 00:12:01 +00:00
wtc%google.com
9bf97e400c Bug 676584: change the other instance of XP_MACOSX to __APPLE__ for
consistency.  r=ted.mielczarek.


git-svn-id: svn://10.0.0.236/trunk@262722 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-18 23:49:33 +00:00
wtc%google.com
7680a1b66c Bug 676584: Use atomic instructions for iOS. Minor cleanip.
r=ted.mielczarek
Modified Files: _darwin.h uxproces.c


git-svn-id: svn://10.0.0.236/trunk@262721 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-18 23:36:33 +00:00
ted.mielczarek%gmail.com
661bb20aa1 bug 676584 - allow compiling NSPR for arm-darwin. r=wtc
git-svn-id: svn://10.0.0.236/trunk@262718 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-18 11:55:28 +00:00
wtc%google.com
7061e94f09 Bug 653737: add PR_INT64 and PR_UINT64 macros for specifying portable
64-bit signed and unsigned integer constants.  The patch is contributed by
Konstantin Andreev <andreev@swemel.ru>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@262664 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-16 03:34:06 +00:00
wtc%google.com
b8fe939f76 Set NSPR version to 4.9 Beta.
Modified Files: configure configure.in repackage.sh prinit.h vercheck.c


git-svn-id: svn://10.0.0.236/trunk@262645 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-13 18:48:10 +00:00
kaie%kuix.de
0046131ff8 Update version number to 4.8.9 final release
git-svn-id: svn://10.0.0.236/trunk@262619 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-09 15:52:57 +00:00
kaie%kuix.de
8c31ae199a Bug 673223, Add function to obtain version of NSPR at runtime, r=wtc
git-svn-id: svn://10.0.0.236/trunk@262542 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-27 19:40:42 +00:00
wtc%google.com
8215514e1a Bug 654436: Add the PR_ARRAY_SIZE macro. Replace the 'countof' macro in
the sprintf.c test program with PR_ARRAY_SIZE.  The patch is contributed by
Konstantin Andreev <andreev@swemel.ru>.  r=wtc.
Modified Files: prtypes.h sprintf.c


git-svn-id: svn://10.0.0.236/trunk@262536 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-26 15:33:58 +00:00
ted.mielczarek%gmail.com
1f407ac3df bug 673224 - Change the various PR_*SEC_PER_*SEC constants to be signed, so working with times prior to the epoch is not as painful. Patch by Boris Zbarsky <bzbarsky@mit.edu>, r=wtc
git-svn-id: svn://10.0.0.236/trunk@262512 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-22 13:01:18 +00:00
ted.mielczarek%gmail.com
eb63c037bd bug 661596 - Prevent NSPR from falling back to PR_Atomic functions on Mac when compiler intrinsics are available. Patch by Justin Lebar <justin.lebar+bug@gmail.com>, r=wtc
git-svn-id: svn://10.0.0.236/trunk@262462 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-06 13:07:58 +00:00
wtc%google.com
21b7e93e3a Set NSPR version to 4.8.9 Beta.
Modified Files: configure configure.in repackage.sh prinit.h vercheck.c


git-svn-id: svn://10.0.0.236/trunk@262296 18797224-902f-48f8-a5cc-f745e15eee43
2011-05-06 17:14:04 +00:00
wtc%google.com
5d6f667c78 Set NSPR version to 4.8.8.
git-svn-id: svn://10.0.0.236/trunk@262292 18797224-902f-48f8-a5cc-f745e15eee43
2011-05-06 01:13:40 +00:00
alexei.volkov.bugs%sun.com
bf1f53797a 518078 - request add a new feature for SDP native support. r=wtc
git-svn-id: svn://10.0.0.236/trunk@262209 18797224-902f-48f8-a5cc-f745e15eee43
2011-04-21 17:23:20 +00:00