2251 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
472dc0c360 Bug 807883: Add 'const' to the 'pool' parameter and 'arena' local variable
of PL_SizeOfArenaPoolExcludingPool. Fix comments. r=n.nethercote.
Modified Files:
	plarena.c plarenas.h


git-svn-id: svn://10.0.0.236/trunk@264716 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-11 15:36: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
3716a2aed1 Bug 782214: Auto detect android api version for x86. The patch is
contributed by Makoto Kato <m_kato@ga2.so-net.ne.jp>. r=ted,wtc.


git-svn-id: svn://10.0.0.236/trunk@264712 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 19:24:54 +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
09b9d71f92 Bug 807883: Add the PL_SizeOfArenaPoolExcludingPool function to measure all
memory used by a PLArenaPool, excluding the PLArenaPool structure. The
patch is contributed by Nicholas Nethercote <nnethercote@mozilla.com>.
r=wtc.
Modified Files:
	plarena.c plarenas.h plds.def


git-svn-id: svn://10.0.0.236/trunk@264710 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 18:34:43 +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
97eed88b5e Bug 831793: PR_UnloadLibrary should consistently hold pr_linker_lock when
accessing lib->refCount. The patch is contributed by Julian Seward
<jseward@acm.org>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@264670 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-29 22:06:49 +00:00
ted.mielczarek%gmail.com
ca7649f4e6 bug 824742 - NSPR shouldn't require librt. Patch by Mike Hommey <mh@glandium.org>, r=ted
git-svn-id: svn://10.0.0.236/trunk@264621 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-03 14:49:26 +00:00
ted.mielczarek%gmail.com
4c96f8007a bug 822932 - Android NDK r8b support for x86. Patch by Makoto Kato <m_kato@ga2.so-net.ne.jp>, r=ted
git-svn-id: svn://10.0.0.236/trunk@264575 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-19 19:21:31 +00:00
wtc%google.com
7354545930 Bug 782815: optlen is of type socklen_t on Darwin and FreeBSD. The patch is
contributed by Jan Beich <jbeich@tormail.org>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@264564 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-14 03:14:45 +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
a0b44ef990 Bug 749849: Assert that the pthread_key_delete call in _PR_Fini succeeds.
git-svn-id: svn://10.0.0.236/trunk@264370 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-23 01:27:10 +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
3a6aa70321 Bug 795213: the variable used for the return value of GETADDRINFO() should
have the type int. The patch is contributed by Nico Weber
<thakis@chromium.org>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@264275 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-28 14:33:48 +00:00
wtc%google.com
be1b47e59b Bug 794316: update the 'higher' pointer of the layer right below the new
top of the stack after the old top is popped. r=michal.novotny.
Modified Files:
	pr/src/io/prlayer.c pr/tests/pushtop.c


git-svn-id: svn://10.0.0.236/trunk@264273 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-28 14:21:22 +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
wtc%google.com
94cd98325f Bug 794316: add a regression test pushtop.c. r=michal.novotny.
Modified Files:
	Makefile.in runtests.pl runtests.sh
Added Files:
	pushtop.c


git-svn-id: svn://10.0.0.236/trunk@264271 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-28 05:25:00 +00:00
wtc%google.com
4708804d8d Bug 794316: fix the bug that PR_PushIOLayer doesn't push a layer on the top
of an old-style stack correctly. The 'higher' pointer of the layer right
below the original top layer needs to be updated after the fd swapping. The
patch is contributed by Michal Novotny <michal.novotny@gmail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@264261 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-26 02:50:58 +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
dcafc9ea86 Bug 758837: add a comment to explain the source of the 15-char name length
limit.  Copy the null terminator from the input thread name.  r=honzab.


git-svn-id: svn://10.0.0.236/trunk@263974 18797224-902f-48f8-a5cc-f745e15eee43
2012-06-22 01:36:02 +00:00
wtc%google.com
75f13a6942 Bug 758837: Fix an off-by-one error in the thread name reduction code in
PR_SetCurrentThreadName in ptthread.c by changing nameLen to be just
strlen(name).  Use "~" instead of ".." to elide the middle part of a long
thread name.  Patch by Honza Bambas <honzab.moz@firemni.cz>.  r=wtc.
Modified Files: ptthread.c pruthr.c


git-svn-id: svn://10.0.0.236/trunk@263970 18797224-902f-48f8-a5cc-f745e15eee43
2012-06-20 16:44:23 +00:00
wtc%google.com
691fb53d98 Bug 758837: Use a smarter way to reduce the thread names passed to
PR_SetCurrentThreadName to 16 characters long. Elide the middle part of
a long name with "..".  The patch is contributed by Honza Bambas
<honzab.moz@firemni.cz>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@263965 18797224-902f-48f8-a5cc-f745e15eee43
2012-06-19 21:22:53 +00:00
wtc%google.com
66febf493e Bug 763410: comment out the code in _PR_MD_SET_CURRENT_THREAD_NAME on MinGW
because GCC doesn't support SEH __try/__except blocks.  The patch is
contributed by Jacek Caban <jacek@codeweavers.com>.  r=wtc.
Modified Files: ntthread.c w95thred.c


git-svn-id: svn://10.0.0.236/trunk@263932 18797224-902f-48f8-a5cc-f745e15eee43
2012-06-13 02:17:05 +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
3b0edecb80 Dummy white space change to force the Tinderboxes to rebuild.
git-svn-id: svn://10.0.0.236/trunk@263902 18797224-902f-48f8-a5cc-f745e15eee43
2012-06-05 21:58:30 +00:00
wtc%google.com
f11f0f9dc9 Bug 758837: target the PR_SetThreadName and PR_GetThreadName functions at
NSPR 4.9.2.


git-svn-id: svn://10.0.0.236/trunk@263886 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-31 22:55:16 +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
311c53b8e7 Bug 716564 - update licence to MPL 2. r=gerv.
git-svn-id: svn://10.0.0.236/trunk@263881 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-31 21:54:55 +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
ted.mielczarek%gmail.com
fcad44fe1d bug 729019 - Add Android/mips support. Patch by Mike Hommey <mh@glandium.org>. r=ted
git-svn-id: svn://10.0.0.236/trunk@263843 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-19 16:52:03 +00:00