Commit Graph

1514 Commits

Author SHA1 Message Date
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
wchang0222%aol.com
de6f3c867a Bugzilla bug 242741: MSVC .NET 2003 does not support the /PDB:NONE linker
option, so we need to generate PDB files and ship them with our binary
distributions when compiling with MSVC version > 6.0.  r=cls.
Modified Files: configure configure.in autoconf.mk.in rules.mk


git-svn-id: svn://10.0.0.236/trunk@156030 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 14:01:42 +00:00
wchang0222%aol.com
b9b2c207c9 Bugzilla bug 242741: use $(RES) (the .res file) only when building a
shared library.  Do not include $(RES) in a static library.  Removed the
unused makefile rule for $(RES) on OS/2.


git-svn-id: svn://10.0.0.236/trunk@156017 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 00:41:41 +00:00
wchang0222%aol.com
910b0ddf8b Bugzilla bug 209499: more improvements to PL_str functions. The patch for
strdup.c is contributed by Bernard Alleysson <balleysson@bigfoot.com>.
The patch for strcat.c and strstr.c is contributed by Dan Witte
<dwitte@stanford.edu>.  r=wtc.
Modified Files: strcat.c strcpy.c strdup.c strstr.c


git-svn-id: svn://10.0.0.236/trunk@155817 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 06:07:59 +00:00
wchang0222%aol.com
393a9b73cb Bugzilla bug 123403: LL_INIT should use PR_UINT32 because the hi and lo
fields of the PRInt64 structure are PRUint32.  The patch is contributed by
timeless@bemail.org.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@155663 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 00:35:27 +00:00
wchang0222%aol.com
113c3283a4 The return type of PR_GetMonitorEntryCount should be PRIntn.
git-svn-id: svn://10.0.0.236/trunk@155658 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 23:24:09 +00:00
seawood%netscape.com
8496dc51c1 Allow nspr to accept multiple --{enable,disable}-{debug,optimize} args.
Bug #54828 r=wtc


git-svn-id: svn://10.0.0.236/trunk@155551 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 22:48:29 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wchang0222%aol.com
8ccde7d74f Bugzilla bug 209499: backed out the change to strncpy in the previous
checkin because I noticed a subtle difference between PL_strncpy and
strncpy (the code marked with JLRU).


git-svn-id: svn://10.0.0.236/trunk@155457 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:59:16 +00:00
wchang0222%aol.com
3abb3a1fa3 Bugzilla bug 209499: converted some PL_str* implementations to use ANSI C
equivalents.  The patch is contributed by Dan Witte <dwitte@stanford.edu>.
r=wtc.
Modified Files: strcat.c strchr.c strcmp.c strcpy.c strdup.c strlen.c
                strpbrk.c strstr.c


git-svn-id: svn://10.0.0.236/trunk@155454 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:33:46 +00:00
wchang0222%aol.com
dc2771ed6e Bugzilla bug 236228: fixed the remaining problems with logFile == WinDebug
by moving the WinDebug handling code into the _PUT_LOG macro.  The patch is
contributed by timeless@bemail.org.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@155429 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 03:42:31 +00:00
wchang0222%aol.com
5ebb90f4db Bugzilla bug 162786: fixed a bug where PR_snprintf returns wrong string
length (one too small), in the case where the buffer overflows.  The patch
is contributed by Jonathan Tash (tash@kontiki.com). r=wtc.


git-svn-id: svn://10.0.0.236/trunk@155355 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 21:25:14 +00:00
wchang0222%aol.com
d6c069da46 Bugzilla bug 239663
r=mkaply, sr=blizzard (platform specific)
OS/2 only - bring back VACPP support for NSPR.
Modified Files: configure.in rules.mk prio.h prtypes.h _os2.h _os2_errors.h
primpl.h prsocket.c os2_errors.c os2sock.c os2thred.c prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@155192 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 00:25:30 +00:00
wchang0222%aol.com
55316c2f99 Bugzilla bug 108305: upgraded to the Mon Apr 12 00:44:22 MDT 2004 version
of dtoa.c.  r=darin.  Bumped rev. to 4.1.


git-svn-id: svn://10.0.0.236/trunk@155002 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 00:27:08 +00:00
wchang0222%aol.com
df27eeac54 Bugzilla bug 238563: fixed errors reported by an IBM internal tool.
r=darin. Thanks to Philip K. Warren <pkw@us.ibm.com> for running the
automated tool on NSPR.
Modified Files: prcountr.c prdtoa.c prtrace.c prtpd.c


git-svn-id: svn://10.0.0.236/trunk@154732 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:51:47 +00:00
wchang0222%aol.com
ce7cb15a2a Bugzilla bug 232958: checked in a new condition variable implementation
contributed by Fredrik Holmqvist <thesuckiestemail@yahoo.com>.
Modified Files: primpl.h btcvar.c


git-svn-id: svn://10.0.0.236/trunk@154729 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:44:43 +00:00
seawood%netscape.com
0adc7d086f Add support for cross-compiling to i386-mingw32.
Bug #222013
r=wtc


git-svn-id: svn://10.0.0.236/trunk@154718 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:31:36 +00:00
wchang0222%aol.com
f6d5e3e614 Bugzilla bug 231934: OS/2 only - code from ganesh - generate map files on
OS/2. r=mkaply, sr=blizzard (platform specific)


git-svn-id: svn://10.0.0.236/trunk@154471 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 03:12:15 +00:00
wchang0222%aol.com
8ff2c48569 Set NSPR version to 4.6 Beta.
git-svn-id: svn://10.0.0.236/trunk@154469 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 01:32:32 +00:00
wchang0222%aol.com
0314be6dd6 Bugzilla bug 238842: avoid the copying of va_list (the VARARGS_ASSIGN
macro) because it is not portable. r=jgmyers. sr=darin.


git-svn-id: svn://10.0.0.236/trunk@154467 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 01:27:08 +00:00
wchang0222%aol.com
e4e1cd3a61 Bugzilla bug 126928: OS/2 only - code from knut st. osmundsen - implement
PR_SetFDInheritable on OS/2. r=mkaply.


git-svn-id: svn://10.0.0.236/trunk@154453 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-02 05:09:53 +00:00
wchang0222%aol.com
d9de9ea83b Bugzilla bug 237183: adds an exception handler for every NSPR thread that
is created.  It also exports two functions to set and unset the exception
handler function so they can be used by the primordial thread.  The patch
is contributed by Javier Pedemonte <pedemont@us.ibm.com>. r=wtc.
Modified Files: pprthred.h os2extra.def os2thred.c


git-svn-id: svn://10.0.0.236/trunk@154276 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-25 23:28:51 +00:00
wchang0222%aol.com
ae5e8d94d1 Bugzilla bug 238578: memory allocated with PR_MALLOC() should not be freed
with free().  r=mkaply.


git-svn-id: svn://10.0.0.236/trunk@154237 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-25 02:15:58 +00:00
wchang0222%aol.com
78b2be94f5 Bugzilla bug 237870: we figured out how to link the MinGW build against
wsock32.dll (Winsock 1) instead of ws2_32.dll (Winsock 2).  r=cls.
Modified Files:
	pr/src/Makefile.in pr/src/io/prmapopt.c pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@154169 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 00:42:56 +00:00
darin%meer.net
6db7556193 fixes bug 209814 "PR_dtoa blows up when executed on an ARM platform" patch by wtc r=darin
git-svn-id: svn://10.0.0.236/trunk@153904 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 07:33:28 +00:00
wchang0222%aol.com
6d2175af2b It is not necessary to define _THREAD_SAFE when using pthreads on OpenBSD.
(See Bugzilla bug 236599 comment 41).


git-svn-id: svn://10.0.0.236/trunk@153858 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 02:26:25 +00:00
seawood%netscape.com
497ae8e5cc Update openbsd support for openbsd >= 3.4
Thanks to Peter Strömberg <wilfried@spamcop.net> for pulling these patches out of openbsd's ports tree.
Bug #236599 r=cls sr=wtc


git-svn-id: svn://10.0.0.236/trunk@153833 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 07:51:37 +00:00
wchang0222%aol.com
efa7631d01 Bugzilla bug 231849: added performance optimizations (same as those we use
for Unix).  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@153798 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 00:42:03 +00:00
wchang0222%aol.com
f652ed48f6 Bugzilla bug 236879: PR_LocalTimeParameters should also check for values
that are too small for 32-bit time_t. r=darin.


git-svn-id: svn://10.0.0.236/trunk@153797 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 00:34:19 +00:00
seawood%netscape.com
8d44a18e24 Update openbsd support for openbsd >= 3.4
Thanks to Peter Strömberg <wilfried@spamcop.net> for pulling these patches out of openbsd's ports tree.
Bug #236599 r=cls


git-svn-id: svn://10.0.0.236/trunk@153782 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 23:36:25 +00:00
wchang0222%aol.com
0140af82ab Bugzilla bug 232742: added Linux/amd64 support. The patch came from Gentoo
Linux's portage and was sent by Henrik Lynggaard Hansen
<admin@mozillatranslator.org>.  r=wtc.
Modified Files: configure configure.in prprf.c _linux.cfg linux.h
Added Files: os_Linux_x86_64.s


git-svn-id: svn://10.0.0.236/trunk@153721 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:10:32 +00:00