wtc%google.com
892b089eb6
Bug 330720: restored the comment that OS/2 mutex semaphores are recursive.
...
git-svn-id: svn://10.0.0.236/trunk@251264 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-06 16:57:29 +00:00
wtc%google.com
566326675c
Bug 411055: added a warning that this header does not include any system
...
header on Windows. r=jag.
git-svn-id: svn://10.0.0.236/trunk@251151 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-04 01:46:37 +00:00
wtc%google.com
247585776a
Bug 431982: Improved the comment for PR_FileDesc2NativeHandle. r=nelson.
...
git-svn-id: svn://10.0.0.236/trunk@251150 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-04 01:39:30 +00:00
wtc%google.com
501d9b1d92
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
git-svn-id: svn://10.0.0.236/trunk@251143 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-03 22:28:44 +00:00
wtc%google.com
8a19b2f49a
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
git-svn-id: svn://10.0.0.236/trunk@251126 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-03 13:41:41 +00:00
wtc%google.com
61b2d198e8
Bug 330720: more comment cleanup. r=mozilla@weilbacher.org.
...
Modified files:_os2.h prlog.c
git-svn-id: svn://10.0.0.236/trunk@251121 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 23:06:31 +00:00
wtc%google.com
ddd44faba2
Set NSPR version to 4.7.2 Beta.
...
Modified files: configure configure.in repackage.sh prinit.h vercheck.c
git-svn-id: svn://10.0.0.236/trunk@251112 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 19:09:54 +00:00
wtc%google.com
9f5eebb518
Bug 330720: white space adjustments.
...
git-svn-id: svn://10.0.0.236/trunk@251111 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 18:58:20 +00:00
mozilla%weilbacher.org
1e7468e069
[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
...
git-svn-id: svn://10.0.0.236/trunk@251088 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 08:18:15 +00:00
wtc%google.com
e7721133fe
Set NSPR version to 4.7.1 (RTM).
...
git-svn-id: svn://10.0.0.236/trunk@251036 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-01 17:10:49 +00:00
wtc%google.com
bb4c180187
Bug 369007: Enable high-memory feature on OS/2 by default. The patch is
...
contributed by Peter Weilbacher <mozilla@Weilbacher.org>. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@250897 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-28 23:21:11 +00:00
wtc%google.com
fd0a37b274
This file now has a tab offset of 8. Replaced the tabs that assumed a tab
...
offset of 4 with spaces.
git-svn-id: svn://10.0.0.236/trunk@250843 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-27 16:33:03 +00:00
wtc%google.com
4a83383586
Fixed the Emacs mode line.
...
git-svn-id: svn://10.0.0.236/trunk@250830 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-27 00:09:35 +00:00
wtc%google.com
27e594a373
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
git-svn-id: svn://10.0.0.236/trunk@250826 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-26 05:11:46 +00:00
julien.pierre.boogz%sun.com
fe8422a0b5
Fix for bug 430883 . NSPR does not need to link with libthread on Solaris . r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@250825 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-26 02:22:58 +00:00
wtc%google.com
d8ccbe5420
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.
git-svn-id: svn://10.0.0.236/trunk@250818 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-26 00:39:35 +00:00
wtc%google.com
051a3cd1ba
Set NSPR version to 4.7.1 Beta 2.
...
git-svn-id: svn://10.0.0.236/trunk@247872 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 22:05:11 +00:00
christophe.ravel.bugs%sun.com
911d85902c
Bug 329003: NSPR's configure script should check the C++ compiler only when --enable-cplus is specified.
...
r=wtc
git-svn-id: svn://10.0.0.236/trunk@247482 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 17:54:00 +00:00
wtc%google.com
19841b56c2
Bug 421582: added a comment to explain how we set the default value of
...
includedir.
git-svn-id: svn://10.0.0.236/trunk@247408 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 17:51:20 +00:00
wtc%google.com
25ed34a13d
Bug 418686: cvs remove _wince.cfg and _wince.h. The plan is to use the
...
WIN95 (generic WIN32) code base for WINCE.
git-svn-id: svn://10.0.0.236/trunk@246705 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 05:32:14 +00:00
wtc%google.com
c3ea3c5c19
Bug 418686: added _wince.cfg and _wince.h for Windows Mobile support. The
...
patch is contributed by Doug Turner <dougt@meer.net>. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@246280 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 07:13:26 +00:00
wtc%google.com
18ad1231f6
Bug 418687: still need to use DLLFLAGS because we use LDFLAGS when building
...
now.c. Sigh.
git-svn-id: svn://10.0.0.236/trunk@246255 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 01:06:49 +00:00
wtc%google.com
ab588435e9
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
git-svn-id: svn://10.0.0.236/trunk@246248 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 00:34:52 +00:00
wtc%google.com
95206b746b
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.
git-svn-id: svn://10.0.0.236/trunk@246148 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 02:52:48 +00:00
christophe.ravel.bugs%sun.com
280bc95bd5
Set NSPR version to 4.7.1 Beta.
...
git-svn-id: svn://10.0.0.236/trunk@245017 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-06 19:19:09 +00:00
christophe.ravel.bugs%sun.com
3f10c35a0b
Prepare NSPR 4.7 RTM.
...
git-svn-id: svn://10.0.0.236/trunk@244625 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-31 22:21:57 +00:00
wtc%google.com
000d54b0e5
Bug 414997: added a comment.
...
git-svn-id: svn://10.0.0.236/trunk@244615 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-31 20:00:58 +00:00
kaie%kuix.de
45914f7cf6
Bug 414997, PR_NewThreadPrivateIndex contract is violated by PR_CreateThread impls
...
Patch contributed by Wan-Teh Chang
r=julien.pierre, r=me
git-svn-id: svn://10.0.0.236/trunk@244606 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-31 18:45:15 +00:00
wtc%google.com
6161ae732a
Minor comment fix.
...
git-svn-id: svn://10.0.0.236/trunk@244402 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 23:33:02 +00:00
wtc%google.com
7edb585bc7
Bug 414392: include <string.h> for strncmp. The patch is contributed by
...
Matthew Gregan <kinetik@flim.org>. r=wtc
git-svn-id: svn://10.0.0.236/trunk@244234 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-28 19:31:39 +00:00
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
8b8d85c94f
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
git-svn-id: svn://10.0.0.236/trunk@244123 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 05:55:13 +00:00
wtc%google.com
393982477d
Bug 285157: fixed indentation.
...
git-svn-id: svn://10.0.0.236/trunk@244118 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 05:10:35 +00:00
wtc%google.com
e58c9a13b3
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
git-svn-id: svn://10.0.0.236/trunk@244113 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 05:00:58 +00:00
wtc%google.com
9f96246521
Bug 331043: test only compiler predefined macros. Also test for _M_X64,
...
which replaces _M_AMD64.
git-svn-id: svn://10.0.0.236/trunk@244084 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 01:53:42 +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
wtc%google.com
a60f3c4236
Bug 331043: need to test the _M_IX86 macro, which is defined by MSVC.
...
_X86_ is defined by <windows.h>.
git-svn-id: svn://10.0.0.236/trunk@244062 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 22:12:10 +00:00
wtc%google.com
65e5564edd
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
git-svn-id: svn://10.0.0.236/trunk@244061 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 21:49:18 +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
2178f99d8d
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
git-svn-id: svn://10.0.0.236/trunk@243874 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-24 05:00:04 +00:00
wtc%google.com
22d3bf891d
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
git-svn-id: svn://10.0.0.236/trunk@243638 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 01:46:47 +00:00
wtc%google.com
dce7ff920b
Bug 333637: assembleCmdLine needs to quote an empty-string argument. The
...
patch is contributed by Aleksey Sanin <aleksey@aleksey.com>. r=wtc
git-svn-id: svn://10.0.0.236/trunk@243594 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-20 07:13:54 +00:00
wtc%google.com
d3425ee34b
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
git-svn-id: svn://10.0.0.236/trunk@243589 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-20 04:53:10 +00:00
wtc%google.com
d556eb1986
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
git-svn-id: svn://10.0.0.236/trunk@243524 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-19 06:04:29 +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
d9cbf1b68d
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
git-svn-id: svn://10.0.0.236/trunk@242977 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-13 01:27:16 +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
kaie%kuix.de
ede8174df1
Bug 411045, Warning: unused variable 'me' in PR_EnumerateThreads
...
Patch contributed by Jesse Ruderman
r=wtc
git-svn-id: svn://10.0.0.236/trunk@242635 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 15:36:37 +00:00
wtc%google.com
7bc726bb7e
Bug 409224: don't use the obsolete gcc flag -no-cpp-precomp. The patch is
...
contributed by Mark Mentovai <mark@moxienet.com>. r=wtc
git-svn-id: svn://10.0.0.236/trunk@241954 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 18:57:57 +00:00