Commit Graph

1544 Commits

Author SHA1 Message Date
wtchang%redhat.com
d3ba2c8b12 Bugzilla Bug 283710: disable executable stack on ia64. The patch is
contributed by Christopher A. Aillon of Red Hat.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@170007 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 21:13:05 +00:00
wtchang%redhat.com
2503ea2cb0 Fixed comments.
git-svn-id: svn://10.0.0.236/trunk@170006 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 21:08:43 +00:00
christophe.ravel.bugs%sun.com
3045691567 238319: Sun packages changes.
Add Mozilla license.


git-svn-id: svn://10.0.0.236/trunk@169882 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-26 02:20:42 +00:00
christophe.ravel.bugs%sun.com
239f334b9c 238319: Sun packages changes.
Add Mozilla copyrights to makefiles.


git-svn-id: svn://10.0.0.236/trunk@169867 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 20:20:53 +00:00
wtchang%redhat.com
ba0bbb4ba3 Bugzilla Bug 260899: removed dead code.
git-svn-id: svn://10.0.0.236/trunk@169714 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 03:22:26 +00:00
wtchang%redhat.com
8b197d7aaa Bugzilla Bug 260899: do not use the spinlock based implementation of
PR_StackPush and PR_StackPop for Solaris x86.  The patch is contributed by
Julien Pierre of Sun.  r=wtc.
Modified Files: _solaris.h os_SunOS_x86.s


git-svn-id: svn://10.0.0.236/trunk@169711 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 02:58:45 +00:00
wtchang%redhat.com
52c0dcc349 Bugzilla Bug 283210: Use the B_DO_NOT_RESCHEDULE flag to avoid unnecessary
context switches when a lock is released.  The patch is contributed by
tqh <thesuckiestemail@yahoo.se>.  r=sergei_d,wtc.
Modified Files: btcvar.c btlocks.c btsem.c


git-svn-id: svn://10.0.0.236/trunk@169654 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 17:43:13 +00:00
wtchang%redhat.com
c4d21e1ef5 Bugzilla Bug 271883: remove FILE_HIDDEN from _PR_MD_OPEN. _PR_MD_OPEN
now completely ignores its mode argument, like it does on Windows.  The
patch is contributed by Peter Weilbacher <mozilla@Weilbacher.org>.
r=mkaply,wtc.


git-svn-id: svn://10.0.0.236/trunk@169115 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 18:34:42 +00:00
wtchang%redhat.com
feb4b07f0a Bugzilla Bug 281763: fixed a leak of the first arena on the freelist when
the second arena is taken.  The patch is contributed by Nelson Bolyard of
Sun Microsystems.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@169112 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 18:16:31 +00:00
wtchang%redhat.com
ef25202b46 Bugzilla Bug 280984: we found that the L_IGNOREUNLOAD flag is not yet
supported on 64-bit AIX, so we have to work around that.  The patch is
contributed by Philip K. Warren (IBM) <pkwarren@gmail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@169023 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-09 00:23:00 +00:00
wtchang%redhat.com
da66b9903b Bugzilla Bug 280984: need to pass the L_IGNOREUNLOAD flag to loadquery so
that shared libraries that have been dlclose'd but with nonzero ref count
will be listed.  Also use function address test, which is more reliable
than file name test.  The patch is contributed by Philip K. Warren (IBM)
<pkwarren@gmail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@168829 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 01:56:54 +00:00
wtchang%redhat.com
89627aa8d3 Bugzilla Bug 280872: prmem.h doesn't need to include <stddef.h> directly
because it is already included via prtypes.h.  The patch is contributed
by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@168774 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 00:20:33 +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
wtchang%redhat.com
bfb3c61019 Bugzilla Bug 279874: use %p instead of %X to print a pointer. The patch is
contributed by Tim Ruehsen <tim.ruehsen@gmx.de>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@168581 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 21:44:35 +00:00
wtchang%redhat.com
a8c64c178a Bugzilla Bug 277514: added an environment variable NSPR_OS2_NO_HIRES_TIMER
that a user can set to disable the use of high-resolution timer
DosTmrQueryTime().  The patch is contributed by Michael Kaply
<mkaply@us.ibm.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@168325 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 22:24:12 +00:00
wtchang%redhat.com
45ac4787d0 Bugzilla Bug 279541: Fixed errors in code that was apparently copied
and pasted.  ipv6_to_v4_tcpMethods should be ipv6_to_v4_udpMethods.
The patch is contributed by Justin Wood <116057@bacon.qcc.mass.edu>.
r=wtc,darin.


git-svn-id: svn://10.0.0.236/trunk@168314 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 19:44:07 +00:00
wtchang%redhat.com
4d89e8674a Bugzilla Bug 279723: PR_ReadDir needs to map the error code before
returning with a failure.  The patch is contributed by Mathieu Poumeyrol
<poumeyrol@idm.fr>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@168313 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 19:40:56 +00:00
wtchang%redhat.com
bab4526e0d Bugzilla Bug 279071: removed a duplication definition of the
MAX_POLLING_INTERVAL macro. The bug is reported by Justin Wood
<116057@bacon.qcc.mass.edu>.


git-svn-id: svn://10.0.0.236/trunk@168074 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 19:02:09 +00:00
wtchang%redhat.com
5353c06979 Bugzilla bug 276330: add a new configuration macro _PR_HAVE_O_APPEND,
which should be defined on platforms (e.g., Unix and BeOS) that have
O_APPEND or its equivalent.  The patch is contributed by tqh
<thesuckiestemail@yahoo.se>. r=wtc,sergei_d.
Modified files: _beos.h _unixos.h primpl.h prfile.c


git-svn-id: svn://10.0.0.236/trunk@167918 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 22:00:53 +00:00
wtchang%redhat.com
5c9da00b38 Bugzilla Bug 277704: define the LL_MAXINT, LL_MININT, ... macros as
constants rather than functions on platforms that have a 64-bit integer
type. The patch is contributed by Christian Biesinger <cbiesinger@gmx.at>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@167572 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 02:47:56 +00:00
wtchang%redhat.com
8c5e2f57df Bugzilla Bug 276587: use stat to implement _MD_access because access is
broken.  The patch is contributed by tqh <thesuckiestemail@yahoo.se>. r=wtc


git-svn-id: svn://10.0.0.236/trunk@167565 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 01:43:01 +00:00
wtchang%redhat.com
8dd6cd3dfd Bugzilla Bug 274751: fixed the regression that the *.res files were not
removed by the various clean or clobber makefile targets.  r=cls.


git-svn-id: svn://10.0.0.236/trunk@167259 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 19:52:10 +00:00
wtchang%redhat.com
558bcc02e4 Bugzilla bug 276170: fixed unused variable addrp on some platforms.
Fixed the bug that addr rather than addrp was used.  r=timeless,darin.


git-svn-id: svn://10.0.0.236/trunk@167255 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 18:37:24 +00:00
wchang0222%aol.com
fc3f0fc75a Bugzilla bug 151709: declare the temporary variables as PRInt32.
git-svn-id: svn://10.0.0.236/trunk@166359 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 23:40:23 +00:00
wchang0222%aol.com
bbbcbc67db Bugzilla bug 151709: implemented atomic operations in assembly on Alpha
Linux.  The patch is contributed by falk@debian.org. r=darin,wtc.


git-svn-id: svn://10.0.0.236/trunk@166333 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 20:02:09 +00:00
christophe.ravel.bugs%sun.com
9bc3ba053f 238319: Sun packaging changes.
Hook-up SUNWprd package. Remove SUNWprx package.


git-svn-id: svn://10.0.0.236/trunk@165941 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 17:05:33 +00:00
christophe.ravel.bugs%sun.com
6b6e73f546 238319: Sun packaging changes.
Porting from NSPR_4_5_BRANCH.


git-svn-id: svn://10.0.0.236/trunk@165884 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 16:26:03 +00:00
wchang0222%aol.com
cc2901f355 Bugzilla bug 106386: fixed the spelling errors in NSPR's public header
files.  This is a portion of attachment 106386, which was contributed by
timeless@bemail.org.  r=wtc.
Modified Files: prolock.h prtypes.h plresolv.h plstr.h prgc.h


git-svn-id: svn://10.0.0.236/trunk@165600 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 00:54:05 +00:00
wchang0222%aol.com
12a4667876 Bugzilla bug 266981: fixed NSPR support for FreeBSD and added additional
FreeBSD platform (ia64 and amd64) support.  The patch is contributed by
Joe Marcus Clarke <marcus@freebsd.org>. r=wtc.
Modified Files: _darwin.h, _freebsd.cfg, _freebsd.h, _pth.h, ptio.c,
ptsynch.c


git-svn-id: svn://10.0.0.236/trunk@165592 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 21:24:53 +00:00
darin%meer.net
b02ce01245 fixes bug 247962 "Remove DLL_INitterm code from NSPR" patch by mkaply@us.ibm.com r=wtc
git-svn-id: svn://10.0.0.236/trunk@165591 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 21:06:12 +00:00
wchang0222%aol.com
5bf2c91ac0 Bugzilla bug 266327: support PR_EXCL in _MD_open for BeOS. The patch is
contributed by Niels Reedijk <Niels.Reedijk@gmail.com>. r=simontaylor2,wtc.


git-svn-id: svn://10.0.0.236/trunk@165484 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-18 22:32:47 +00:00
wchang0222%aol.com
009e14e1f4 Bugzilla bug 249782: make NSPR compile with Microsoft Visual Studio 2005.
The -DEBUGTYPE flag is no longer supported. Since -DEBUGTYPE:CV is the
default, we simply delete it.  We added support for VC 5.0 (MSC_VER=1100)
back.  The patch is contributed by Stephen Walker <sdwalker@myrealbox.com>.
r=wtc.
Modified Files:
	configure configure.in config/rules.mk
	lib/msgc/tests/Makefile.in
	lib/prstreams/tests/testprstrm/Makefile.in
	lib/tests/Makefile.in lib/tests/windows/makefile
	pr/src/cplus/tests/Makefile.in pr/src/misc/Makefile.in
	tools/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@165104 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-08 02:52:56 +00:00
wchang0222%aol.com
a2992fd2c9 Bugzilla bug 265219: go to errorExit on DosStartSession failure. r=mkaply.
git-svn-id: svn://10.0.0.236/trunk@165045 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 23:22:37 +00:00
wchang0222%aol.com
ed25cf8955 Bugzilla bug 265219: added support for redirecting stdin/stdout of a child
process. The patch is contributed by Davide Bresolin <davide@teamos2.it>.
r=mkaply,wtc.


git-svn-id: svn://10.0.0.236/trunk@164944 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 21:49:41 +00:00
wchang0222%aol.com
ef4f07f041 Bugzilla bug 265501: compilers do not define _LP64 implicitly. _LP64 is
defined by <sys/isa_defs.h>.  So we need to test for the processor macros
directly.


git-svn-id: svn://10.0.0.236/trunk@164453 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 21:24:34 +00:00
wchang0222%aol.com
78d11c276a Bugzilla bug 265709: fixed compiler warnings on LP64 platforms about
casting between a pointer and an integer of different size. r=jpierre.


git-svn-id: svn://10.0.0.236/trunk@164449 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 20:44:29 +00:00
wchang0222%aol.com
1c75ce268f Bugzilla bug 265501: merged 32 and 64 bit versions of prcpucfg.h on
Solaris.  The patch is contributed by Christophe Ravel of Sun. r=wtc.
Modified Files: configure configure.in
Added Files: _solaris.cfg
Removed Files: _solaris32.cfg _solaris64.cfg


git-svn-id: svn://10.0.0.236/trunk@164168 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 00:10:07 +00:00
wchang0222%aol.com
9f0e48177a Bugzilla bug 264324: we need to test for __s360x__ before __s360__ because
the s360x platform also defines __s360__.  The patch is contributed by
Wolfgang Rosenauer <mozilla@rosenauer.org>.  r=wtc.
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@163985 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-18 22:40:45 +00:00
wchang0222%aol.com
fd21027d95 Regenerated using official autoconf 2.13, with manual change to eliminate
\015.


git-svn-id: svn://10.0.0.236/trunk@163279 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 01:31:55 +00:00
wchang0222%aol.com
78c0f94d45 Regenerated using autoconf-2.13 on Red Hat Enterprise Linux 3.
git-svn-id: svn://10.0.0.236/trunk@163278 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 01:14:40 +00:00
wchang0222%aol.com
46f340e40a Bugzilla bug 259001: ported NSPR to Solaris on AMD64 architecture. The
patch is contributed by Julien Pierre <julien.pierre.bugs@sun.com>. r=wtc.
Modified Files: configure configure.in _solaris.h _solaris64.cfg
Added Files: os_SunOS_x86_64.s


git-svn-id: svn://10.0.0.236/trunk@163274 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:52:57 +00:00
wchang0222%aol.com
f186022a31 Bugzilla bug 256217: implement PR_GetLibraryFilePathname for FreeBSD, which
can use the same implementation as Solaris and Linux.  The patch is
contributed by Dale Jordan. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@161666 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 18:30:19 +00:00
darin%meer.net
efc188929c landing NSPR portion of patch for bug 239358 "DNS: Reverse lookups are degrading performance"
patch by lorenzo@colitti.com, r=wtc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@161514 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 23:31:36 +00:00
bryner%brianryner.com
e2aa3295e4 Add support for generating PDB-format debug symbols with MSVC, by setting MOZ_DEBUG_SYMBOLS=1 in the environment. This is to be used in place of MOZ_PROFILE. Bug 244231, r=wtc, dmose.
git-svn-id: svn://10.0.0.236/trunk@161363 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 23:08:28 +00:00
cls%seawood.org
ad1967bd38 Update comments and use enhanced cygwin-wrapper script for nspr & ldap.
Thanks to Brian Bober <netdragon@gmail.com> for the patch.
Bug #245918 r=cls


git-svn-id: svn://10.0.0.236/trunk@161004 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 16:27:08 +00:00
wchang0222%aol.com
b43f5c3adb Bugzilla bug 244095: link libplds4.so and libplc4.so with -R $ORIGIN on
Solaris.  The patch is contributed by Julien Pierre.  r=wtc.
Modified Files:
	lib/ds/Makefile.in lib/libc/src/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@157002 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 02:45:04 +00:00
wchang0222%aol.com
d340f1e399 Bugzilla bug 235381: use the -features=tmplife flag for Sun compilers to
enable Standard C++ lifetime of temporary objects. The patch is contributed
by Andreas Lange <anlan@ida.liu.se>. r=wtc. sr=darin.


git-svn-id: svn://10.0.0.236/trunk@156736 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 21:28:43 +00:00
seawood%netscape.com
756e671d43 Use the proper flags when building with --enable-debug --enable-optimize.
Thanks to Wan-Teh Chang <wchang0222@aol.com> for the patch.
Bug #243079 r=cls


git-svn-id: svn://10.0.0.236/trunk@156655 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 20:15:18 +00:00
wchang0222%aol.com
de7f70b317 Bugzilla bug 244010: support NetBSD/sparc64. Accept more variants of the
arm architecture.  The patch is contributed by Martin Husemann
<martin@NetBSD.ORG>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@156586 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-19 15:39:46 +00:00
wchang0222%aol.com
4b9b562dd6 Regenerated using a better version of autoconf 2.13.
git-svn-id: svn://10.0.0.236/trunk@156037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 18:37:34 +00:00