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

1157 Коммитов

Автор SHA1 Сообщение Дата
wtchang%redhat.com 51e6317cd9 Bugzilla Bug 287197: undo the damage of rev. 3.2. Comments must begin
with "//", not "/".
2005-03-22 21:27:30 +00:00
wtchang%redhat.com 54041fe6ee Bugzilla Bug 238563: added a comment that Nelson suggested in code review. 2005-03-16 23:21:11 +00:00
wtchang%redhat.com fabd0e2a1f Bugzilla Bugs 255633, 285934: '-' must be the first or last character in
a scanlist, otherwise some implementations may interpret it to mean a
range of characters.  Thanks to Frank Wein <bugzilla@mcsmurf.de> for the
bug report and suggesting the fix.
2005-03-14 21:40:15 +00:00
wtchang%redhat.com 3cf457d5ec Bugzilla Bug 238563: removed PR_ASSERT from pr_ZoneRealloc because it is
redundant with the DEBUG fprintf.  (Darin Fisher of Google pointed out this
problem in his code review.)
2005-03-14 18:32:02 +00:00
wtchang%redhat.com 8c2e4b83e3 Bugzilla Bug 238563: moved the pr_ZoneMalloc call before the realloc call.
realloc frees memory pointed to by (the original value of) 'oldptr', so
we cannot perform any operation that may fail after a successful realloc
call. r=darin.
2005-03-14 18:27:46 +00:00
wtchang%redhat.com 73751be39b Bugzilla Bug 252195: use Microsoft IPv6 Technology Preview for Windows
2000 (wship6.dll), if available. r=darin.
2005-03-10 01:50:46 +00:00
wtchang%redhat.com 604c60bbbc Improved comment. 2005-03-10 01:43:05 +00:00
wtchang%redhat.com 481b0e2780 Removed white spaces. 2005-03-10 01:34:34 +00:00
wtchang%redhat.com 9589ded655 Bugzilla Bug 164163: removed unused function PR_FindLibrary.
Modified Files: nspr_symvec.opt linking/prlink.c
2005-03-10 01:29:42 +00:00
wtchang%redhat.com 22e4705847 Bugzilla Bug 285286: PR_ReadDir reported the wrong error code when the
end of directory was reached.  We need to set errno to 0 before calling
readdir and mapping error 0 to PR_NO_MORE_FILES_ERROR.  The patch is
contributed by Mathieu Poumeyrol <poumeyrol@idm.fr>. r=wtc,bryner.
Modified Files: beos_errors.c bfile.c unix.c unix_errors.c ptio.c
2005-03-09 22:57:06 +00:00
wtchang%redhat.com e883f3a4c1 Bugzilla Bug 255633: allow hyphen (-) and underscore (_) in log module
names.  The patch is contributed by Ed Catmur <ed@catmur.co.uk>. r=wtc.
2005-03-09 22:34:20 +00:00
wtchang%redhat.com 6a211b4077 Bugzilla Bug 100776: make a copy of the sockaddr structure and pass the
copy to connect because connect modifies the sockaddr structure.  The
patch is contributed by Julien Pierre of Sun. r=wtc.
2005-03-09 21:51:58 +00:00
wtchang%redhat.com bb20ff4d89 Bugzilla Bug 279817: removed the NODL_TABLE code. It was added for Win16. 2005-03-09 01:46:51 +00:00
wtchang%redhat.com 1171965fde Bugzilla Bug 281250: internal functions should not be defined with
PR_IMPLEMENT.  Thanks to timeless@bemail.org for the bug report.
2005-03-09 01:38:42 +00:00
wtchang%redhat.com 01bac4ca34 Bugzilla Bug 285020: wrap the member access in parenthesis because recv
may be defined as a macro on some platforms.  The patch is contributed by
Chris Aillon of Red Hat.  r=wtc.
2005-03-08 22:40:15 +00:00
wtchang%redhat.com d7e1293c82 Bugzilla bug 274450: a default thread stack size of 64K is too small for
Mozilla on Linux.  Use the default pthread stack size instead, and do that
on all platforms (not just Linux).  r=bzbarsky.
2005-03-08 22:02:46 +00:00
wtchang%redhat.com 1a49a5faf8 Removed blank lines in *.def files.
Modified Files: plds.def plc.def nspr.def my.def
2005-03-08 03:01:05 +00:00
wtchang%redhat.com 52af8ff538 Fixed the indentation and a typo in the comments. 2005-03-08 02:33:59 +00:00
wtchang%redhat.com 7d5e76b769 Bugzilla Bug 274450: use pthread_attr_setstacksize on Linux.
Modified Files: ptthread.c foreigh.c provider.c
2005-03-08 01:23:03 +00:00
wtchang%redhat.com cf16f9585d Bugzilla Bug 283710: disable executable stack on ia64. The patch is
contributed by Christopher A. Aillon of Red Hat.  r=wtc.
2005-02-28 21:13:05 +00:00
wtchang%redhat.com c934682aaf Fixed comments. 2005-02-28 21:08:43 +00:00
wtchang%redhat.com 1ee75617d7 Bugzilla Bug 260899: removed dead code. 2005-02-24 03:22:26 +00:00
wtchang%redhat.com f98d28fa08 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
2005-02-24 02:58:45 +00:00
wtchang%redhat.com e11f40bb5b 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
2005-02-23 17:43:13 +00:00
wtchang%redhat.com 4537e6ccd6 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.
2005-02-11 18:34:42 +00:00
wtchang%redhat.com 8219c1681a 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.
2005-02-09 00:23:00 +00:00
wtchang%redhat.com a02cda3ff0 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.
2005-02-05 01:56:54 +00:00
wtchang%redhat.com 10551dff2e 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.
2005-02-04 00:20:33 +00:00
gerv%gerv.net f45b5900c8 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-02 22:28:27 +00:00
wtchang%redhat.com b63d114004 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.
2005-01-31 21:44:35 +00:00
wtchang%redhat.com 9a39af7303 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.
2005-01-25 22:24:12 +00:00
wtchang%redhat.com 159a4274d7 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.
2005-01-25 19:44:07 +00:00
wtchang%redhat.com d84d9be2ba 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.
2005-01-25 19:40:56 +00:00
wtchang%redhat.com 499955a326 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>.
2005-01-20 19:02:09 +00:00
wtchang%redhat.com 20cc344edf 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
2005-01-17 22:00:53 +00:00
wtchang%redhat.com 681fcfb1b7 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.
2005-01-12 02:47:56 +00:00
wtchang%redhat.com 4182ec1dd5 Bugzilla Bug 276587: use stat to implement _MD_access because access is
broken.  The patch is contributed by tqh <thesuckiestemail@yahoo.se>. r=wtc
2005-01-12 01:43:01 +00:00
wtchang%redhat.com 9759f380eb Bugzilla bug 276170: fixed unused variable addrp on some platforms.
Fixed the bug that addr rather than addrp was used.  r=timeless,darin.
2005-01-04 18:37:24 +00:00
wchang0222%aol.com 237271c7b1 Bugzilla bug 151709: declare the temporary variables as PRInt32. 2004-12-06 23:40:23 +00:00
wchang0222%aol.com 0805620ce9 Bugzilla bug 151709: implemented atomic operations in assembly on Alpha
Linux.  The patch is contributed by falk@debian.org. r=darin,wtc.
2004-12-06 20:02:09 +00:00
wchang0222%aol.com e74d4111c5 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
2004-11-23 00:54:05 +00:00
wchang0222%aol.com 9a4fb6d740 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
2004-11-22 21:24:53 +00:00
darin%meer.net 8f4ac1b002 fixes bug 247962 "Remove DLL_INitterm code from NSPR" patch by mkaply@us.ibm.com r=wtc 2004-11-22 21:06:12 +00:00
wchang0222%aol.com 30948845d6 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.
2004-11-18 22:32:47 +00:00
wchang0222%aol.com 7a0d926ad2 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
2004-11-08 02:52:56 +00:00
wchang0222%aol.com f401789b35 Bugzilla bug 265219: go to errorExit on DosStartSession failure. r=mkaply. 2004-11-05 23:22:37 +00:00
wchang0222%aol.com 719b435099 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.
2004-11-04 21:49:41 +00:00
wchang0222%aol.com 842593b76f 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.
2004-10-26 21:24:34 +00:00
wchang0222%aol.com e917312407 Bugzilla bug 265709: fixed compiler warnings on LP64 platforms about
casting between a pointer and an integer of different size. r=jpierre.
2004-10-26 20:44:29 +00:00
wchang0222%aol.com b2e80a1c83 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
2004-10-22 00:10:07 +00:00