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

1912 Коммитов

Автор SHA1 Сообщение Дата
Robert Sayre e46f24dd7b Merge tracemonkey to mozilla-central. 2009-03-09 14:45:46 -04:00
Wan-Teh Chang 12c6c40357 Bug 461270: Upgraded NSPR to NSPR_HEAD_20090210: linking NSPR
shared libraries should use LDFLAGS.
2009-02-11 12:09:38 -08:00
Wan-Teh Chang 01f22522e5 Bug 350 and Bug 456449: Upgraded NSPR to NSPR_HEAD_20090209. 2009-02-09 12:24:50 -08:00
Wan-Teh Chang 3776ed6001 Bug 456449: Upgraded NSPR to NSPR_HEAD_20090207. 2009-02-07 11:51:41 -08:00
Wan-Teh Chang cf84acb225 Bug 456449: Upgraded NSPR to NSPR_HEAD_20090205. 2009-02-05 20:13:54 -08:00
Wan-Teh Chang 1b7409f4d0 Bug 456449: dummy whitespace change to force NSPR to rebuild. 2009-02-04 20:50:34 -08:00
Wan-Teh Chang 1350be7144 Bug 456449: updated NSPR to NSPR_HEAD_20090204. 2009-02-04 20:49:21 -08:00
Daniel Holbert bd4c30b1d8 Bug 473236 - follow up patch v3a: restore executable status for some files that might need it. a=ted 2009-01-23 11:52:51 -08:00
Daniel Holbert c755eee8e7 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Brian Birtles c2b3e61546 Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Wan-Teh Chang 25c8ba2efe Bug 469870: Upgraded nsprpub to NSPR_HEAD_20081216. r=kaie. 2008-12-18 14:34:38 -08:00
Jim Blandy d19055fbb5 Bug 97954: Compare SpiderMonkey's copies of build files with originals at check time. r=luser
SpiderMonkey now has its own copy of some of the files from ./config
and ./build.  Since there is a decent amount of churn in that area, I
don't want it to become a burden to make merges back and forth.  This
patch adds a comment explaining the 'identical if present' policy, and
runs a script to verify that it's actually being observed.
2008-10-29 08:40:39 -07:00
Kai Engert f8a04239b0 Bug 461082, Deliver NSS 3.12.2 and NSPR 4.7.2 to Mozilla
r=wtc
2008-10-23 02:38:29 +02:00
Robert O'Callahan 18f3c396e4 Backing out unwanted configure change, sigh 2008-10-20 15:15:57 +13:00
Robert O'Callahan 988739e6a9 Bug 421662. Remove unused files. 2008-10-20 15:14:50 +13:00
Robert O'Callahan 67a2922875 Revert nsprpub configure micro-change in case that caused Windows bustage 2008-10-16 11:49:44 +13:00
Robert O'Callahan 15284f10e3 Bug 459619. Add zoom support to reftest harness. r+sr=dbaron 2008-10-16 09:49:42 +13:00
Wan-Teh Chang 2c5ff6c233 Import NSPR_4_7_2_BETA4. 2008-10-11 10:46:10 -07:00
Wan-Teh Chang 30d6aa30c1 Bug 453372 - Import NSPR_4_7_2_BETA3. r=kaie. 2008-09-05 11:03:20 -07:00
Brendan Eich 4f74091e79 Merge. 2008-09-04 01:21:49 -07:00
Wan-Teh Chang 65aa975060 Bug 450696: Updated NSPR to the NSPR_4_7_2_BETA2 CVS tag. r=kaie 2008-09-01 12:15:40 -07:00
Robert O'Callahan 51357ace04 Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout 2008-07-14 10:41:18 +12:00
Benjamin Smedberg 4eaa0d954e Import NSPR 4_7_1_RTM 2008-06-06 08:36:51 -04:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
wtc%google.com 21f8cf3cba Set NSPR version to 4.7.2 Beta 1. 2008-08-11 23:16:44 +00:00
nelson%bolyard.com 0cd22df562 fix systemic misspellings of deprecated and function for bug #448200
r=julien.pierre
2008-08-04 22:36:03 +00:00
wtc%google.com f1d8c21973 Bug 436845: Added runtests.pl, which can kill a timed-out test on Windows
and will replace runtests.sh soon.  The patch is contributed by Christophe
Ravel <christophe.ravel.bugs@sun.com> and Slavomir Katuscak
<slavomir.katuscak@sun.com>.  r=wtc.
2008-07-27 16:41:46 +00:00
wtc%google.com 8b1bfd2340 Bug 370766: Ported NSPR to 64-bit Mac OS X (x86-64), except prlink.c. The
patch is contributed by Glen Beasley <glen.beasley@sun.com>.  r=wtc.
Modified files: configure configure.in _darwin.cfg _darwin.h os_Darwin.s
Added file: os_Darwin_x86_64.s
2008-07-27 16:04:23 +00:00
wtc%google.com 5fc6a81a0c Bug 432430: Checked in the straightforward porting changes for Symbian OS.
The patch is contributed by Harry Li <harry.li@pagefreedom.org>.  r=wtc.
Modified files: prmapopt.c prosdep.c uxrng.c prsystem.c prtime.c ptsynch.c
2008-07-26 18:14:23 +00:00
wtc%google.com e1bcb2a130 Bug 432430:More header file changes required for the Symbian OS port. The
patch is contributed by Harry Li <harry.li@pagefreedom.org>.  r=wtc.
Modified Files: _pth.h _unixos.h prosdep.h
2008-07-26 17:49:39 +00:00
wtc%google.com 23b05f4987 Bug 417044: Support building Mac universal binaries in a single pass.
The patch is contributed by Benjamin Smedberg <benjamin@smedbergs.us>.
r=wtc.
Modified files: configure configure.in _darwin.cfg
Added files: os_Darwin.s
2008-07-23 04:06:58 +00:00
wtc%google.com 1a0d4cc422 Bug 432430: Updated _symbian.cfg and prtypes.h for Symbian OS. The patch
is contributed by Harry Li <harry.li@pagefreedom.org>.  r=wtc.
2008-07-19 16:56:11 +00:00
wtc%google.com 28ddccf0da Bug 436806: On FreeBSD, assume elf instead of a.out if the objformat
utility is not available.  The patch is contributed by Marco Perez
<bugmail@millibyte.net>.  r=wtc.
2008-07-12 14:23:46 +00:00
wtc%google.com 73f78af198 Bug 432430: fail the compilation if __arm__ is not defined. 2008-06-24 03:48:58 +00:00
wtc%google.com 67cab1b501 Bug 432430: the first part of the port to Symbian OS. The patch is
contributed by Harry Li <harry.li@pagefreedom.org>.  r=wtc.
Added files: _symbian.cfg _symbian.h symbian.c
2008-06-24 03:31:14 +00:00
wtc%google.com d36f687b32 Bug 332942: use 'uname -p' instead of 'uname -m' to determine if we're
building on SPARC.  Note that we may not be able to build NSPR on SPARC V8
after this change.  If that's a problem, please reopen this bug.  The patch
is contributed by Julien Pierre <julien.pierre.boogz@sun.com>.  r=wtc.
Modified Files:
	configure configure.in pr/src/Makefile.in
	pr/src/md/unix/Makefile.in
2008-06-07 20:25:59 +00:00
wtc%google.com c100cdd4ad Bug 313282: comnined strccmp.c (rev. 3.7) and strcstr.c (rev. 3.8) into
strcase.c so that the functions can share the |uc| table easily.
Modified Files:
	Makefile.in
Added Files:
	strcase.c
Removed Files:
	strccmp.c strcstr.c
2008-06-07 19:20:10 +00:00
wtc%google.com 1f2da31a56 Bug 313282: we can call strlen instead of PL_strlen after checking their
arguments for null.  The patch is contributed by Alfred Kayser
<alfredkayser@gmail.com>.  r=wtc.
2008-06-01 18:28:06 +00:00
wtc%google.com e12846d925 Bug 434397: Removed duplicated code in PR_snprintf() and PR_vsnprintf().
The patch is contributed by Serge Gautherie <sgautherie.bz@free.fr>. r=wtc
2008-05-31 15:10:17 +00:00
wtc%google.com 185b516b5d Bug 430684: PL_ArenaFinish should zero the static variable
"PRCallOnceType once". r=nelson.
2008-05-17 04:19:34 +00:00
julien.pierre.boogz%sun.com aafeab21f2 Fix for bug 266215 . Add conversion code and assertions for iovec. r=wtc 2008-05-16 02:16:02 +00:00
wtc%google.com ddd8ec6dd6 Bug 432617: added a missing _MD_UNLOCK() in IsFileLocal. The patch is
contributed by Martin Furter <mf@rola.ch>.  r=wtc.
2008-05-10 05:32:43 +00:00
wtc%google.com 4f449407a5 Bug 330720: restored the comment that OS/2 mutex semaphores are recursive. 2008-05-06 16:57:29 +00:00
wtc%google.com 15b26ba06d Bug 411055: added a warning that this header does not include any system
header on Windows.  r=jag.
2008-05-04 01:46:37 +00:00
wtc%google.com 3f3daeda95 Bug 431982: Improved the comment for PR_FileDesc2NativeHandle. r=nelson. 2008-05-04 01:39:30 +00:00
wtc%google.com 5f61d2ddce Bug 430884: restored the -lpthread linker options (and the associated
comments) removed in the previous checkin.  Remove the LOCAL_THREADS_ONLY
build variable; now Solaris can just use the CLASSIC_NSPR build variable.
Modified Files:
	lib/msgc/tests/Makefile.in
	lib/prstreams/tests/testprstrm/Makefile.in
	lib/tests/Makefile.in pr/include/md/_solaris.h
	pr/src/Makefile.in pr/src/cplus/tests/Makefile.in
	pr/tests/Makefile.in tools/Makefile.in
2008-05-03 22:28:44 +00:00
wtc%google.com 5e2d551684 Bug 430884: removed the obsolete implementation based on Solaris threads.
Contributed by Julien Pierre <julien.pierre.boogz@sun.com>.  r=wtc.
Modified Files:
	configure configure.in lib/msgc/tests/Makefile.in
	lib/prstreams/tests/testprstrm/Makefile.in
	lib/tests/Makefile.in pr/include/md/_solaris.h
	pr/src/Makefile.in pr/src/cplus/tests/Makefile.in
	pr/src/md/unix/solaris.c pr/tests/Makefile.in
	pr/tests/foreign.c pr/tests/provider.c tools/Makefile.in
Removed Files:
	pr/src/md/unix/os_SunOS.s
2008-05-03 13:41:41 +00:00
wtc%google.com 12d49e013a Bug 330720: more comment cleanup. r=mozilla@weilbacher.org.
Modified files:_os2.h prlog.c
2008-05-02 23:06:31 +00:00
wtc%google.com 77d74b5331 Set NSPR version to 4.7.2 Beta.
Modified files: configure configure.in repackage.sh prinit.h vercheck.c
2008-05-02 19:09:54 +00:00
wtc%google.com 248e72e4a4 Bug 330720: white space adjustments. 2008-05-02 18:58:20 +00:00
mozilla%weilbacher.org 2065a27442 [OS/2] Bug 330720: remove support for the obsolete OS/2-VACPP from NSPR and use XP_OS2 instead of XP_OS2_EMX everywhere, p=mkaply/me, r=julien.pierre 2008-05-02 08:18:15 +00:00
wtc%google.com 307a4bec0b Set NSPR version to 4.7.1 (RTM). 2008-05-01 17:10:49 +00:00
wtc%google.com cd002d1d61 Bug 369007: Enable high-memory feature on OS/2 by default. The patch is
contributed by Peter Weilbacher <mozilla@Weilbacher.org>.  r=wtc.
2008-04-28 23:21:11 +00:00
wtc%google.com ae5734e9bf This file now has a tab offset of 8. Replaced the tabs that assumed a tab
offset of 4 with spaces.
2008-04-27 16:33:03 +00:00
wtc%google.com 8f1468306e Fixed the Emacs mode line. 2008-04-27 00:09:35 +00:00
wtc%google.com 4f012ce578 Bug 405992: Implement native atomic operations for Linux/ARM. The patch is
contributed by Ilpo Ruotsalainen <ilpo.ruotsalainen@movial.fi>.  r=wtc.
Modified files: configure.in configure _linux.h
2008-04-26 05:11:46 +00:00
julien.pierre.boogz%sun.com fdf7ecbe9c Fix for bug 430883 . NSPR does not need to link with libthread on Solaris . r=wtc 2008-04-26 02:22:58 +00:00
wtc%google.com 6afd6454aa Bug 218846: We need to call _PR_CleanupIO before we start to clean up the
current thread because _PR_CleanupIO needs to acquire a lock, which needs
the current thread ID.  The patch is contributed by Gerard Roos
<gerard.roos@adnovum.ch>.  r=wtc.
2008-04-26 00:39:35 +00:00
wtc%google.com f384cec10e Set NSPR version to 4.7.1 Beta 2. 2008-03-14 22:05:11 +00:00
christophe.ravel.bugs%sun.com 6d622dda3c Bug 329003: NSPR's configure script should check the C++ compiler only when --enable-cplus is specified.
r=wtc
2008-03-10 17:54:00 +00:00
wtc%google.com b4e23b043a Bug 421582: added a comment to explain how we set the default value of
includedir.
2008-03-08 17:51:20 +00:00
wtc%google.com eba3ac738d Bug 418686: cvs remove _wince.cfg and _wince.h. The plan is to use the
WIN95 (generic WIN32) code base for WINCE.
2008-02-28 05:32:14 +00:00
wtc%google.com 5b8b959e15 Bug 418686: added _wince.cfg and _wince.h for Windows Mobile support. The
patch is contributed by Doug Turner <dougt@meer.net>.  r=wtc.
2008-02-22 07:13:26 +00:00
wtc%google.com b1687ed48c Bug 418687: still need to use DLLFLAGS because we use LDFLAGS when building
now.c.  Sigh.
2008-02-22 01:06:49 +00:00
wtc%google.com 24e748184d Bug 418687: added a way to pass linker flags (for OS/2 and Windows). The
patch is contributed by Ted Mielczarek <ted.mielczarek@gmail.com>.  r=wtc
2008-02-22 00:34:52 +00:00
wtc%google.com b7f37ab75b Bug 416571: use $(NSINSTALL) -t instead of cp to install prcpucfg.h to
avoid updating the last modified time of the installed file.  The patch is
contributed by jag (Peter Annema) <jag@tty.nl>.  r=wtc.
2008-02-21 02:52:48 +00:00
christophe.ravel.bugs%sun.com 16e27f34d6 Set NSPR version to 4.7.1 Beta. 2008-02-06 19:19:09 +00:00
christophe.ravel.bugs%sun.com d03ff94ef4 Prepare NSPR 4.7 RTM. 2008-01-31 22:21:57 +00:00
wtc%google.com 578d7d085e Bug 414997: added a comment. 2008-01-31 20:00:58 +00:00
kaie%kuix.de 231e1c4c13 Bug 414997, PR_NewThreadPrivateIndex contract is violated by PR_CreateThread impls
Patch contributed by Wan-Teh Chang
r=julien.pierre, r=me
2008-01-31 18:45:15 +00:00
wtc%google.com e160b59701 Minor comment fix. 2008-01-29 23:33:02 +00:00
wtc%google.com 9b27bec27e Bug 414392: include <string.h> for strncmp. The patch is contributed by
Matthew Gregan <kinetik@flim.org>.  r=wtc
2008-01-28 19:31:39 +00:00
wtc%google.com 809728f599 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
2008-01-27 20:44:02 +00:00
wtc%google.com 49ff13a2dd Bug 204151: Search for existing NSPR_INHERIT_FDS environment variable in
the environment.  If it exists, replace it with the new value rather than
appending the new value to the environment.  r=sfraser
Modified files: bproc.c uxproces.c ntmisc.c
2008-01-27 05:55:13 +00:00
wtc%google.com 7196fcbd0b Bug 285157: fixed indentation. 2008-01-27 05:10:35 +00:00
wtc%google.com 14e77395f1 Bug 285157: Use GetFileAttributesEx if it exists. GetFileAttributesEx is
much faster than FindFirstFile.  The patch is contributed by Jim Mathies
<jmathies@mozilla.com>.  r=wtc
Modified files: ntio.c w95io.c
2008-01-27 05:00:58 +00:00
wtc%google.com 1f275409ac Bug 331043: test only compiler predefined macros. Also test for _M_X64,
which replaces _M_AMD64.
2008-01-27 01:53:42 +00:00
wtc%google.com 09882583e6 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
2008-01-27 01:50:19 +00:00
glen.beasley%sun.com 8ab30b33a5 307573 prpollml requires file descriptors greater than 256 r=wtc 2008-01-27 00:45:13 +00:00
wtc%google.com 7375afdefd Bug 331043: need to test the _M_IX86 macro, which is defined by MSVC.
_X86_ is defined by <windows.h>.
2008-01-26 22:12:10 +00:00
wtc%google.com c530d3afbc Bug 331043: Add the PR_ROTATE_LEFT32 and PR_ROTATE_RIGHT32 macros for
rotating left and right, which are defined using compiler intrinsics,
if available.  The patch is contributed by Michael Moy <mmoy@yahoo.com>.
r=brendan,wtc
Modified files: prbit.h plhash.c
2008-01-26 21:49:18 +00:00
glen.beasley%sun.com b9c7d019f0 307573 remove obsolete runtests.ksh r=wtc 2008-01-26 00:16:07 +00:00
wtc%google.com 1309a038d9 Bug 296878: disable the use of os_Linux_ppc.s for 64-bit PowerPC builds
because the assembly code crashes.  Add nonexecutable stack directive
to os_Linux_ppc.s.
Modified files: configure.in configure _linux.h os_Linux_ppc.s
2008-01-24 05:00:04 +00:00
wtc%google.com 95c91e0da2 Bug 296878: use native PowerPC atomic instructions on Linux PowerPC. The
patch is contributed by kevdig@hypersurf.com.  r=mark.mentovai,wtc
Modified files: configure.in configure _linux.h
Added file: os_Linux_ppc.s
2008-01-21 01:46:47 +00:00
wtc%google.com 49cf1e8a17 Bug 333637: assembleCmdLine needs to quote an empty-string argument. The
patch is contributed by Aleksey Sanin <aleksey@aleksey.com>.  r=wtc
2008-01-20 07:13:54 +00:00
wtc%google.com 6f9819de0a Bug 95829: clean up the cached monitor subsystem during NSPR cleanup.
Bug 334285: do not leak the original memory block (and the monitors they
point to) when PR_REALLOC fails.
Portions of the patch are contributed by Brodie <bmo@jellycan.com> and
timeless.  r=relyea,nelson
Modified files: prinit.c ptthread.c primpl.h prcmon.c
2008-01-20 04:53:10 +00:00
wtc%google.com bd3871839c Bug 404824: use a look-up table to avoid expensive PR_CeilingLog2
calculations for common cases.  The patch is contributed by Steve Snyder
<swsnyder@insightbb.com>.  r=nelson,wtc
2008-01-19 06:04:29 +00:00
wtc%google.com 702f07a4f3 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
2008-01-13 01:55:50 +00:00
wtc%google.com 9c09c7ae05 Bug 396509: call _pr_init_ipv6 lazily rather than during NSPR
initialization because _pr_init_ipv6 creates a test socket, and we can't
create a socket during DLL initialization in a Windows Vista "Standard"
Account with Parental Controls turned on.  The patch is contributed by
Jim Mathies <jmathies@mozilla.com>.  r=wtc
Modified files: prinit.c prnetdb.c pripv6.c prsocket.c ptio.c
2008-01-13 01:27:16 +00:00
wtc%google.com be1ee00594 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
2008-01-12 05:09:26 +00:00
kaie%kuix.de 8a5f5b7f99 Bug 411045, Warning: unused variable 'me' in PR_EnumerateThreads
Patch contributed by Jesse Ruderman
r=wtc
2008-01-08 15:36:37 +00:00
wtc%google.com c3585f0739 Bug 409224: don't use the obsolete gcc flag -no-cpp-precomp. The patch is
contributed by Mark Mentovai <mark@moxienet.com>.  r=wtc
2007-12-21 18:57:57 +00:00
wtc%google.com 2239209a3f Bugzilla bug 404399: getaddrinfo with AI_NUMERICHOST is slow on Mac OS X
(10.4).  So we only use it to convert IPv6 address strings with scope IDs.
r=dwitte.
2007-12-19 02:32:28 +00:00
julien.pierre.boogz%sun.com d2aa2713df Fix for bug 406862 . Make NSPR release target work with MSYS. 2007-12-13 03:13:36 +00:00
wtc%google.com b87b7abc4a Bug 405290: implemented version checking for NSPR. The patch is
contributed by Mike Hommey <mh+mozilla@glandium.org>.  r=wtc.
2007-12-11 18:39:39 +00:00
wtc%google.com bab975fb20 Bug 404272: define HAVE_LONG_LONG only if it is not yet defined.
HAVE_LONG_LONG may be defined by the build system of a project using NSPR.
The patch is contributed by Edwin van Vliet <edwin@cheatah.nl>.  r=wtc
Modified Files:
	_aix32.cfg _aix64.cfg _beos.cfg _bsdi.cfg _darwin.cfg
	_dgux.cfg _freebsd.cfg _hpux32.cfg _hpux64.cfg _irix32.cfg
	_irix64.cfg _linux.cfg _netbsd.cfg _nto.cfg _openbsd.cfg
	_openvms.cfg _os2.cfg _osf1.cfg _riscos.cfg _solaris.cfg
	_unixware7.cfg _win95.cfg _winnt.cfg
2007-11-26 18:17:17 +00:00
wtc%google.com b1356731da 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
2007-11-21 22:51:24 +00:00
wtc%google.com 8e7c559e82 Bug 354248: log the error information retrieved by NSLinkEditError in
pr_LoadViaDyld.  The patch is contributed by Nick Kreeger
<nick.kreeger@park.edu>.  r=mark.mentovai,wtc.
2007-11-21 01:44:51 +00:00
julien.pierre.boogz%sun.com bbb735cff8 Fix for bug 402669 . Crash in PR_Socket with IPv6 emulation on VMS and WinNT . Patch created by Nelson. r=julien, wtc 2007-11-07 02:34:30 +00:00
wtc%google.com 152865cbdd Bug 401768: enable us to build with gcc 3.3 and an SDK on Mac OS X 10.5
Leopard.  The patch is contributed by Mark Mentovai <mark@moxienet.com>.
r=wtc.
2007-10-31 17:56:18 +00:00