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

390 Коммитов

Автор SHA1 Сообщение Дата
wtchang%redhat.com 2122f732c0 Bugzilla Bug 273336: Checked in Brian Ryner's patch:
Add support for using gcc's visibility pragma to treat all function and
method declarations as "hidden" unless declared otherwise.  Create wrappers
for system headers that cause them to be treated as default-visibility
declarations.  This gives a substantial code size and performance win on
compilers that support it.  r=darin sr=dbaron.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk pr/include/prtypes.h
	pr/src/md/unix/uxproces.c pr/tests/sel_spd.c
Added Files:
	config/gcc_hidden.h config/make-system-wrappers.pl
	config/system-headers
2005-04-29 21:02:55 +00:00
wtchang%redhat.com 8f1b2d6c46 Bugzilla Bug 289015: backed out the checkin. It broke some tinderboxes
and needs more work.
2005-04-29 00:15:42 +00:00
wtchang%redhat.com 626a71c626 Bugzilla Bug 289015: enable nspr-config to use the --libdir option passed
to the configure script.  The patch is contributed by Ray Strode
<rstrode@redhat.com>.  r=wtc,cls.
2005-04-27 18:19:11 +00:00
wtchang%redhat.com 39a266dc9a Bugzilla bug 290122: pass full pathnames of source files to the compiler
on AIX so its debugger can automatically find the source files. r=Julien
Pierre of Sun and Philip Warren of IBM.
2005-04-13 22:55:11 +00:00
wtchang%redhat.com abaeeab5d4 Bugzilla Bug 274751: fixed the regression that the *.res files were not
removed by the various clean or clobber makefile targets.  r=cls.
2005-01-04 19:52:10 +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 72060c75c9 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
2004-05-06 14:01:42 +00:00
wchang0222%aol.com 63b067d28d 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.
2004-05-06 00:41:41 +00:00
gerv%gerv.net 3634d4d94b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
wchang0222%aol.com 8ddd2f995b 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
2004-04-20 00:25:30 +00:00
seawood%netscape.com 94b1b6fd03 Add support for cross-compiling to i386-mingw32.
Bug #222013
r=wtc
2004-04-12 22:31:36 +00:00
darin%meer.net d54de9bda3 fixes bug 216021 "chekesp error if i link against a msvcrt that is built with strict calling rules" patch=wtc r=darin 2003-11-18 09:49:40 +00:00
wtc%netscape.com 8fae92aff2 Removed all obsolete <OS>.mk files, which have been replaced by the
configure script.
2003-09-18 02:16:20 +00:00
wtc%netscape.com 61d464bad9 Bugzilla bug 215581: build with GCC 3.2.2 for OS/2. The patch is
contributed by Javier Pedemonte <pedemont@us.ibm.com>.  r=wtc.
2003-09-16 01:58:03 +00:00
darin%meer.net ac4b50a610 landing patch for bug 211501 "NSPR should provide getaddrinfo" r=wtc 2003-09-11 21:42:16 +00:00
wtc%netscape.com e6bc82925d Merged the changes from NSPRPUB_PRE_4_2_CLIENT_BRANCH onto the trunk. Most
of these changes are for OS/2.
Modified Files:
	configure.in build/cygwin-wrapper config/rules.mk
	lib/ds/Makefile.in lib/ds/plds.def lib/libc/src/Makefile.in
	lib/libc/src/plc.def pr/include/md/_os2.h pr/src/Makefile.in
	pr/src/nspr.def pr/src/linking/prlink.c
	pr/src/md/os2/Makefile.in pr/src/md/os2/objs.mk
	pr/src/md/os2/os2cv.c pr/src/md/os2/os2misc.c
	pr/src/md/os2/os2poll.c pr/src/md/os2/os2sock.c
	pr/src/md/os2/os2thred.c pr/tests/Makefile.in
	pr/tests/attach.c
2003-05-14 01:24:08 +00:00
wtc%netscape.com 3655177e33 Bug 105271: compile source files with absolute pathnames so that the
debuggers can find them automatically.  Currently enabled on Windows and
OS/2 only.  The patch is contributed by Julien Pierre.  r=wtc.
2003-04-16 01:23:52 +00:00
wtc%netscape.com 708b88555e Bug 196004: support building with gcc on Solaris better, whether gcc uses
the GNU ld or Solaris ld. Do not pass -B/usr/ccs/bin/ to gcc.
Modified files: configure configure.in autoconf.mk.in
        lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
2003-03-22 15:36:13 +00:00
wtc%netscape.com 87ac81bc93 Renamed MOD_REVISION_VERSION to MOD_PATCH_VERSION.
Modified Files: configure configure.in autoconf.mk.in nspr-config.in
2003-02-28 01:48:15 +00:00
wtc%netscape.com 06511d0eb2 Removed unused file module.df. 2003-02-27 03:29:42 +00:00
seawood%netscape.com 5efe6ed2a4 Only force the use of absolute symlinks on Darwin when building Mozilla.
Bug #193164 r=wtc
2003-02-26 00:48:56 +00:00
seawood%netscape.com 149fe1cec9 Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen
2003-02-23 16:58:47 +00:00
wtc%netscape.com eb31f14407 Bug 134113: make NSPR build on Win32 using MinGW gcc. The patch is
contributed by Chris Seawood <seawood@cls.org> and Dan Mosedale
<dmose@mozilla.org>. r=wtc.
Modified files: configure configure.in config/Makefile.in autoconf.mk.in
now.c rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
lib/msgc/src/Makefile.in prtypes.h _winnt.h pr/src/Makefile.in prmapopt.c
pr/src/md/windows/Makefile.in ntio.c ntmisc.c pr/tests/Makefile.in
runtests.ksh pr/tests/dll/Makefile.in
2003-01-20 16:26:24 +00:00
wtc%netscape.com 1a9b9b778b Bug 188396: don't use ftime because its 32-bit timestamp will overflow
around year 2038.  Use GetSystemTimeAsFileTime instead.  The patch is
contributed by timeless@bemail.org.
Modified files: config/now.c _win95.h _winnt.h ntio.c ntmisc.c w95io.c
2003-01-14 13:22:32 +00:00
wtc%netscape.com f5ecb8f66d Bug 158704: 1. Added comments explaining why we need to install an
additional copy of libnspr_flt4.so in pr/src/cpu/sparcv8plus if the
libnspr4.so installed in dist/lib is a symbolic link.
Modified files: pr/src/Makefile.in, pr/src/md/unix/Makefile.in
2. Made the 'release' and 'real_install' makefile targets install
libnspr_flt4.so in the cpu/sparcv8plus subdirectory of lib.
Modified files: config/rules.mk pr/src/md/unix/Makefile.in
2003-01-06 23:42:06 +00:00
wtc%netscape.com 7c67a9652b Bug 158704: merged the Solaris packaging stuff onto the trunk. The three
shared libraries are built with mapfiles that specify versioned export
symbols.  We use the $ORIGIN and $ISALIST linker keywords to specify the
location of the ultrasparc filtee.
2003-01-04 02:14:13 +00:00
wtc%netscape.com 259b6a8d8a Bug 180293: moved the OpenVMS build from the POSIX subsystem to native VMS
(GNV).  The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified Files: configure configure.in rules.mk pr/include/md/Makefile
        openvms.c
Added Files: plds_symvec.opt plc_symvec.opt nspr_symvec.opt
2002-12-12 01:41:31 +00:00
wtc%netscape.com 63431a647a Bug 180293: ported nsinstall.c to native VMS (GNV) environment. The patch
is contributed by Colin Blakes <colin@theblakes.com>. r=brendan.
2002-12-12 00:28:25 +00:00
seawood%netscape.com ae792115aa Add $(LDFLAGS) to the local nsinstall link command.
Bug #88283 r=wtc
2002-12-12 00:13:46 +00:00
wtc%netscape.com 7c3bd3bd72 Bug 162358: added NSPR file I/O functions that take UTF16 pathnames. The
patch is contributed by Roy Yokoyama <yokoyama@netscape.com>.
Modified Files: config/config.mk prio.h prtypes.h _win95.h primpl.h
                prdir.c prfile.c w95io.c ptio.c
2002-11-27 03:17:13 +00:00
wtc%netscape.com 9869aee51e Merged the fix for bug 141834 (using cygwin-wrapper) on the tip. 2002-08-28 18:34:30 +00:00
wtc%netscape.com d6f40acc86 Bug 136458: removed the old -O workaround and use -m68020-60. The patch is
contributed by Richard Zidlicky <rz@linux-m68k.org>.  r=wtc.
Modified Files: configure.in configure Linux.mk
2002-06-13 22:00:29 +00:00
seawood%netscape.com e190f7e264 Fix real_install rules so that headers are still installed correctly if includedir is overridden on the commandline.
Bug #149483 r=blizzard
2002-06-13 09:01:48 +00:00
wtc%netscape.com 0f1fbbc80d Fixed typo (32 should be 64) in the previous checkin. 2002-05-18 00:41:20 +00:00
wtc%netscape.com 3594063b37 Use +DD64 instead of +DA2.0W. +DD64 works for both PA-RISC and IA-64. 2002-05-18 00:40:27 +00:00
wtc%netscape.com 6fa9237285 Backed out the fix for bug 121975. It doesn't work on Windows 95.
Modified Files: configure configure.in WIN32.mk _win95.h w95dllmain.c
w95thred.c
2002-04-27 03:12:25 +00:00
wtc%netscape.com 94e3c24b61 Bugzilla bug 121975: allow the WIN95 version of NSPR to use static TLS when
possible.  Thanks to Daniel Bratell <bratell@lysator.liu.se> for suggesting
this change and performing the measurements to show its improvement.
Modified files: configure configure.in WIN32.mk _win95.h w95dllmain.c
w95thred.c
2002-03-29 21:51:45 +00:00
wtc%netscape.com 428662ab0a Bugzilla bug 113152: do not define or test the macro 'linux'. Thanks to
david@blue-labs.org for the patch.
Modified files: configure configure.in Linux.mk prinet.h
2002-01-27 04:51:01 +00:00
seawood%netscape.com 10a2363233 Convert all rhapsody (pre-beta-macosx) references to darwin.
Bug #106617 r=wtc
2001-10-26 04:55:58 +00:00
wtc%netscape.com c5c3f04f07 Bugzilla bug 104269: allow one to specify an includedir or dist_includedir
that doesn't end in "/nspr".  This patch is due to cls.  r=wtc.
The only problem with this solution is that the default value for
--includedir shown in the --help output is wrong.
Modified files: configure.in configure config/autoconf.mk.in
2001-10-16 23:31:02 +00:00
wtc%netscape.com d346727adf Bugzilla bug 98741: replaced NPL by MPL/GPL.
Modified files: prerr.et prmkdir.bat pr/src/md/os2/objs.mk
2001-09-07 18:37:58 +00:00
cls%seawood.org 9bd8e241ee Escape ^ when calling grep as some shells interpret ^ instead of passing it to g
rep.
Thanks to dave@arsdigita.com (Drazen Kacar) for the patch.
Bug #96997 r=cls sr=wtc
2001-08-28 07:51:03 +00:00
wtc%netscape.com 97852666ee Force a rebuild. 2001-08-13 19:55:38 +00:00
cls%seawood.org bdd892cb8d Adding --enable-strip option.
Bug #88045 r=wtc sr=waterson
2001-08-12 03:40:04 +00:00
cls%seawood.org 772ee12667 Adding nsinstall & nspr-config. Bug #84824 r=wtc 2001-07-20 00:22:11 +00:00
wtc%netscape.com 3aeb80d883 Bugzilla bug #85673: added assembly implementation of the atomic routines
for OS/2 contributed by Michael Kaply of IBM.
Modified files: configure configure.in autoconf.mk.in rules.mk _os2.h
pr/src/md/os2/Makefile.in pr/src/md/os2/objs.mk os2misc.c
2001-06-23 04:09:19 +00:00
wtc%netscape.com 4b0e8d0feb We no longer need to generate the .vms files on OpenVMS.
Modified files: config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
lib/prstreams/Makefile.in pr/src/Makefile.in
2001-06-21 01:24:44 +00:00
wtc%netscape.com 14221aabfd Added Netscape/iPlanet internal binary release support. The new
variable RELEASE_OBJDIR_NAME is the object directory name used in
the "/share/builds/components" binary distribution area.  Also fixed
two typos (USE_USER_PTHREADS => USE_NSPR_THREADS).
Modified files: Makefile.in, configure, configure.in, config/autoconf.mk.in
2001-06-14 05:49:20 +00:00
wtc%netscape.com a96c289942 Put all IRIX cc compiler options inside the ifndef NS_USE_GCC block.
Modified files: config/Makefile.in pr/tests/Makefile.in
2001-06-14 02:23:42 +00:00
wtc%netscape.com c7cf47414c Do not use IRIX native compiler options such as -n32 when NS_USE_GCC is
defined.
Modified files: config/Makefile.in, pr/tests/Makefile.in
2001-06-07 01:11:59 +00:00
wtc%netscape.com 768f2af838 Define NS_USE_GCC. 2001-06-07 01:09:24 +00:00
wtc%netscape.com 73fbfd545b Bugzilla bug #51135: IPv6 support on OpenVMS. Thanks to Colin Blakes
<colin@theblakes.com> for the patch.
Modified files: configure configure.in OpenVMS.mk _openvms.h pripv6.c
2001-05-22 18:50:21 +00:00
wtc%netscape.com 8e05fc6f8b Bugzilla bug #63019: NSS still uses NSPR static libraries, so we'll have
to continue to build NSPR static libraries until that NSS bug is fixed.
2001-05-21 22:45:31 +00:00
wtc%netscape.com b6a8e48805 Removed all Makefile's. The new autoconf build system uses Makefile.in's. 2001-05-17 21:26:28 +00:00
wtc%netscape.com 00096755cf Removed MOZ_WIN32_TARGET, which is just a synonym of OS_TARGET.
Modified Files:
	configure configure.in config/autoconf.mk.in
	pr/src/md/windows/Makefile.in pr/src/md/windows/objs.mk
2001-05-17 02:27:02 +00:00
wtc%netscape.com 58625f3acb Verified that the autoconf build system is equivalent to the classic
build system on OSF1, IRIX, and FreeBSD.
	configure configure.in config/autoconf.mk.in config/config.mk
	lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
2001-05-17 00:56:25 +00:00
wtc%netscape.com 17680c472c Verified that the autoconf build system is equivalent to the classic
build system on AIX, HP-UX, Linux, and Solaris.  The 'release' makefile
target still doesn't quite work.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk config/nsinstall.c
	config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
	pr/include/md/Makefile.in pr/src/misc/Makefile.in
2001-05-15 22:57:39 +00:00
wtc%netscape.com da4bb17306 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. Note that the Win16 stuff
has been deleted.
2001-05-12 00:49:17 +00:00
wtc%netscape.com 7def6a81bd Restored some deleted comments. 2001-05-12 00:36:58 +00:00
wtc%netscape.com bef48de5a6 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 00:36:57 +00:00
wtc%netscape.com 6e52a73ecc Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 00:08:21 +00:00
wtc%netscape.com 48b5deb759 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-11 23:57:21 +00:00
wtc%netscape.com 9c72dbbd0c Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-11 23:49:42 +00:00
cls%seawood.org 448c273013 Fix for OS/2 emx build bustage.
Thanks to Dmitry Kubov <dmitry@north.cs.msu.su> for the patch.
Bug #72471 r=cls
2001-03-21 15:56:31 +00:00
cls%seawood.org 6f8a5d43c1 Use CC instead of LD to link.
Thanks to martin@NetBSD.ORG (Martin Husemann) for the patch.
Bug #61745 r=cls
2001-03-09 07:41:26 +00:00
cls%seawood.org 6ff6ea0cfd Actually use CPPFLAGS when passed to configure. 2001-03-09 04:51:09 +00:00
cls%seawood.org 70a68f932e Fix nspr autoconf for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls
2001-02-25 21:50:47 +00:00
cls%seawood.org 1f2ef9daa4 Fix for OS/2 nspr autoconf bustage.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch
Bug #70015 r=cls
2001-02-24 05:43:14 +00:00
cls%seawood.org b8fad76766 Initial OS/2 nspr autoconf support. Bug #58804
Thanks to "Javier H Pedemonte" <pedemont@us.ibm.com> for the patch.
2001-02-24 05:39:43 +00:00
cls%seawood.org 737ae63adf More generated files to ignore 2001-02-24 05:31:07 +00:00
wtc%netscape.com 41ebfd961c Bugzilla bug #1816: allow building on Windows 98 with MKS or Cygwin tools. 2001-02-21 17:13:05 +00:00
cls%seawood.org d96d0bbfc2 Remove INSTALL. Add CPU_ARCH. 2001-01-29 05:34:20 +00:00
cls%seawood.org bf882c78fb Add --enable-boehm to nspr autoconf 2001-01-23 15:55:29 +00:00
cls%seawood.org b06b54dd72 There is no need to invoke recursive makes for the dummy libs & install phases of nspr. Especially when it means having a dummy target in every makefile that has a dependency upon export. Instead, put the dummy target in rules.mk. 2001-01-22 06:36:06 +00:00
cls%seawood.org 9a2f6fe5f5 gmake 3.79.1 requires that SHELL be evaluated immediately.
Thanks to Brian Ryner <bryner@uiuc.edu> for the patch.
2001-01-21 23:48:08 +00:00
cls%seawood.org 5581220542 Switch from using $(DIST)/bin, $(DIST)/lib, etc to using $(bindir), $(includedir). This gives us the advantage of being able to set different directories for libs & headers as needed. r=bryner 2001-01-21 06:37:45 +00:00
cls%seawood.org 5fe7b6a29d Landing changes to use autoconf on win32. Bug #58804 2001-01-19 09:44:03 +00:00
cls%seawood.org 302068957b Don't link in OS_LIBS to shared libs by default 2001-01-17 19:14:16 +00:00
cls%seawood.org 74fe5e6f9f Only define HAVE_LCHOWN if it is not already defined. Fixes AIX 2001-01-17 05:13:00 +00:00
cls%seawood.org 6fdbc88979 Switch to $< & $@ so that VPATH can do its magic.
Bug #58804
2000-12-30 06:36:06 +00:00
cls%seawood.org d67e0d81fc Preparations for building on win32 with autoconf Makefile.ins. 2000-12-30 05:44:01 +00:00
cls%seawood.org 0293179f8b Sync'ing long lost changes between Makefile & Makefile.in 2000-12-30 00:47:58 +00:00
wtc%netscape.com 80ad6dc3ae Bugzilla bug #62457: set the flock structure correctly and use fcntl
file locking on AIX 4.3, HP-UX 11.00, IRIX, Linux, OSF1 V4.0, and Solaris.
Modified Files: AIX.mk, HP-UX.mk, IRIX.mk, Linux.mk, OSF1.mk, SunOS5.mk,
and unix.c.
2000-12-22 06:02:52 +00:00
wtc%netscape.com a59f1f7e8e Bugzilla bug #63019: do not build static libraries unless the platform
does not have shared libraries.
2000-12-16 18:09:00 +00:00
cls%seawood.org 08c9d5ab81 Set CROSS_COMPILE variable as appropriate so that cross-compiling works again. Bug #11890 2000-10-18 20:03:41 +00:00
cls%seawood.org c890f95706 Apply fixes for previous attempt to add STRIP to nspr build. 2000-09-30 03:24:19 +00:00
larryh%netscape.com eaca9c4309 Bugzilla: 51465. strip binaries on optimized builds 2000-09-28 17:47:22 +00:00
wtc%netscape.com a8bb856914 Restored the correct copyright years. 2000-08-30 17:00:08 +00:00
cls%seawood.org 27394ef56d Only use HOST_CC & friends when actually cross-compiling. 2000-08-20 23:52:43 +00:00
wtc%netscape.com cfddfeeb41 Bugzilla bug #15906: added GC_LEAK_DETECTOR support for Linux.
Modified files: config.mk, primpl.h, pr/src/Makefile, pr/src/Makefile.in,
pr/src/memory/Makefile, pr/src/memory/Makefile.in, prthinfo.c, ptthread.c
2000-08-14 22:05:22 +00:00
wtc%netscape.com 60a96a12a1 Bugzilla bug #46506: use pthreads by default on FreeBSD. 2000-07-29 00:50:35 +00:00
wtc%netscape.com 4d505b166d Map "Darwin" to "Rhapsody". 2000-07-19 07:04:26 +00:00
wtc%netscape.com f063bf2c8f Bugzilla bug #45141: checked in an OS/2 patch from Michael Kaply
<mkaply@us.ibm.com>. a=waterson@mozilla.org.
2000-07-12 00:10:37 +00:00
wtc%netscape.com 3b22399c97 Bugzilla bug #41524: fixed build problems on NetBSD-current with ELF
object format. r=taya@sm.sony.co.jp. a=brendan@mozilla.org.
Modified files: NetBSD.mk, _netbsd.h, prlink.c
2000-07-06 21:14:15 +00:00
wtc%netscape.com 7f1a21052d Bugzilla bug #44133: checked in NTO patches contributed by
Jerry Kirk <Jerry.Kirk@nexwarecorp.com>.
2000-06-29 00:31:42 +00:00
cls%seawood.org ff0bf03a78 Do not explicitly link against -lc_r on OpenBSD. Bug #36467 r=wtc 2000-06-28 07:42:56 +00:00
wtc%netscape.com 7146b52cca Removed unused makefile variable DSO_LDFLAGS.
Modified files: FreeBSD.mk, HP-UX.mk, Linux.mk, NEWS-OS.mk, NetBSD.mk,
OpenBSD.mk
2000-06-21 21:07:10 +00:00
larryh%netscape.com dc5530d464 BugZilla: 42367. Fix copyright date, Original Code 2000-06-20 21:48:45 +00:00
larryh%netscape.com 07cb73b3c8 BugZilla 42367. change license to dual-license 2000-06-13 20:59:02 +00:00
wtc%netscape.com 635e5adb80 Bugzilla bug #39712: work around the /GT bug of MSVC 6.0 SP3.
Modified files: WIN32.mk, ntthread.c
2000-05-30 22:51:39 +00:00
wtc%netscape.com ca0b9f922d Bugzilla bug #26506: removed the dns lock if the platform has
gethostbyXXX_r or if the gethostbyXXX functions return the result
in thread specific storage.  Did this for AIX, HP-UX, IRIX, OSF1,
Linux, and Solaris.
Modified files: AIX.mk, HP-UX.mk, IRIX.mk, OSF1.mk, _linux.h,
_solaris.h, and prnetdb.c
2000-05-25 02:07:07 +00:00
wtc%netscape.com c528067f7c Bugzilla bug #34920: provide an emulated implementation of acceptread
and sendfile methods that I/O layers can use.  _PR_EmulateAcceptRead
is superseded by PR_EmulateAcceptRead, and _PR_EmulateSendFile and
_PR_UnixSendFile are superseded by PR_EmulateSendFile.  Deleted unused
function _PR_HPUXTransmitFile.  The workaround for the OSF1 V4.0
MAP_PRIVATE bug is moved from _PR_UnixSendFile to _MD_CreateFileMap,
ifdef'd with the new macro OSF1V4_MAP_PRIVATE_BUG, which is defined
only on OSF1 V4.
Modified files: OSF1.mk, _hpux.h, pprio.h, primpl.h, priometh.c,
prsocket.c, unix.c, and ptio.c
2000-05-11 18:34:19 +00:00
wtc%netscape.com 596175c952 Bugzilla bug #37595: checked in patches for building on BSD/OS 4.1
and 4.2 from Kurt J. Lidl <lidl@pix.net>.
2000-05-01 22:38:58 +00:00
wtc%netscape.com 79d045d2e2 Bugzilla bug #36464: OpenBSD shared libraries must be named .so.n.m.
Thanks to greg-mozillabugs@nest.cx for the bug report and the fix.
2000-04-21 17:51:36 +00:00
wtc%netscape.com 1b1f4e466b Bugzilla bug #29427: restore the realclean/clobber_all targets to their
original behavior.
Modified files: Makefile, Makefile.in, config/rules.mk
2000-04-05 20:18:13 +00:00
wtc%netscape.com 600b432a7e Bugzilla bug #33364: checked in a patch contributed by pb@futuretv.com
that allows ARM systems other than v4l and SA110 to be correctly detected.
2000-04-03 18:25:35 +00:00
wtc%netscape.com 0f17d29b19 Bugzilla bug #34292: checked in OS/2 patch from Skip Nizinski
<snizinsk@us.ibm.com> to build with the VisualAge C++ compiler
which uses the Optlink calling convention.
Modified files: prtypes.h, OS2.mk, prlog.c
2000-04-03 17:51:02 +00:00
wtc%netscape.com ddf21430cf Removed obsolete code. 2000-03-23 02:52:24 +00:00
wtc%netscape.com c52840b576 Bugzilla bug #29427: implemented the 'distclean' target and made
'realclean' and 'clobber_all' synonymous with 'distclean'.  This
patch is contributed by Chris Seawood <cls@seawood.org>. r=wtc@netscape.com
Modified files: Makefile, Makefile.in, configure, configure.in,
config/Makefile.in, config/config.mk, config/rules.mk
2000-03-16 22:46:02 +00:00
wtc%netscape.com 8f3b178f84 Checked in a patch contributed by Jerry L. Kirk
<Jerry.Kirk@Nexwarecorp.com>.
2000-03-15 22:00:37 +00:00
wtc%netscape.com 8569dfce52 Bugzilla bug #31697: Mac OS X (Rhapsody) port, based on the patch that
Stuart Parmenter <pavlov@netscape.com> sent to me.
Modified files: Rhapsody.mk, arch.mk, _pth.h, _rhapsody.h, prlink.c,
rhapsody.c, uxproces.c, uxrng.c, ptio.c, pr/tests/Makefile,
pr/tests/Makefile.in
2000-03-14 00:43:31 +00:00
wtc%netscape.com a442830fd9 Merged NSPR 4.0 release onto the main trunk. 2000-03-03 19:53:57 +00:00
wtc%netscape.com 3e932b885d Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk. 2000-02-23 23:38:19 +00:00
wtc%netscape.com 62d7b1c9de Bugzilla bug #27955: added a dummy header file that all object files
in NSPR depend on.  Update prdepend.h to force a full rebuild of NSPR
in Mozilla's Tinderbox depend builds.
2000-02-19 03:02:53 +00:00
cls%seawood.org 71397cce36 Only use HOST_CC for INTERNAL_TOOLS when cross-compiling as it's the only time it actually matters. r,a=wtc 2000-02-17 19:38:38 +00:00
srinivas%netscape.com d66c84ad07 Adding back rev 3.22 after fixing a typo. Update to OS/2 port; the build
now uses OS_ARCH=OS2, in place of WINNT.  Checkin for sobotka@axess.com.
Bugzilla 23544.
2000-01-11 20:44:12 +00:00
srinivas%netscape.com b837faf692 Previous checkin broke Linux build. 2000-01-10 22:20:41 +00:00
srinivas%netscape.com 61d0495a1f Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.
Checkin for sobotka@axess.com. Bugzilla 23544.
2000-01-10 21:08:45 +00:00
cls%seawood.org 1721c271f5 Cleaned up BeOS autoconf build.
Added RESOLVE_LINK_SYMBOLS for platforms that need to resolve all symbols when linking shared libs.
Removed use of EXTRA_LIBS from configure.
1999-12-22 00:07:07 +00:00
cls%seawood.org 778903107f Added THREAD_FLAG to OS_CFLAGS. 1999-12-05 06:49:44 +00:00
wtc%netscape.com b981762b29 Define HAVE_LOCALTIME_R_POINTER for all new releases (V4.0, V5.0, etc.) 1999-12-04 01:25:33 +00:00
cls%seawood.org 7fb3ed3d9f Added use of OS_* & LDFLAGS variables to autoconf build. 1999-12-03 10:32:18 +00:00
cls%seawood.org e1db505de1 OpenBSD appears to need the -pthread flag when using pthreads. 1999-12-03 10:05:36 +00:00
wtc%netscape.com 4a958eb247 Bugzilla bug #17040: compile with -ansi -D__POSIX_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE on all CPU architectures.
1999-12-03 00:39:54 +00:00
larryh%netscape.com 62fc21a701 BugZilla: 19247. Add support for VMS, QNX, NTO 1999-11-29 19:42:11 +00:00
cls%seawood.org f0b3558b58 Added preliminary autoconf support for solaris. Untested. 1999-11-29 04:46:11 +00:00
cls%seawood.org f3c93f2e86 Fixed tabbing problems with emacs caused by the mode header.
Added preliminary autoconf support for aix, dgux, freebsd and hpux.  All untested.
1999-11-29 02:15:22 +00:00
cls%seawood.org efdd8f6f8c Added support for neutrino target to configure.in. Patch submitted by Jerry L. Kirk <Jerry.Kirk@Nexwarecorp.com>.
Split AR_FLAGS from AR for platforms that don't use the common syntax.
1999-11-23 06:23:52 +00:00
cls%seawood.org 6b5823fd18 Made the handling of the debug/optimize flags to match the Mozilla configure.in setup.
Updated the irix target section to contain the exact logic contained in IRIX.mk in an effort to fix bug 18966.
Added the following options:
   --enable-optimize
   --enable-mdupdate
   --enable-n32 (IRIX only)
   --enable-64bit
1999-11-22 15:24:12 +00:00
wtc%netscape.com f03f2d7ab6 Added newline at end of file. 1999-11-19 00:51:58 +00:00
srinivas%netscape.com 8648127088 OpenVMS updates by colin@theblakes.com 1999-10-22 21:06:08 +00:00
srinivas%netscape.com e1cb2967eb The "-mno-486" compiler option is no longer relevant and not supported
in new gcc compilers (v2.95). Bug #15975.
1999-10-20 21:19:53 +00:00
cls%seawood.org bb9d2ebe79 Syncing Makefile.ins with srinivas' previous checkin.
r=shaver
1999-10-19 05:30:36 +00:00
srinivas%netscape.com 57e7bdef64 Update with post-3.5 fixes on the tip 1999-10-19 00:40:39 +00:00
cls%seawood.org 894898e25a Files not used by build. Attempting to resolve cvs checkin problem. a=srinivas,leaf 1999-10-15 21:42:20 +00:00
cls%seawood.org ba5179289d Files not used by build. Attempting to resolve cvs checkin problem. a=srinivas,leaf 1999-10-15 21:36:53 +00:00
wtc%netscape.com a73091ee3d Bugsplat bug #358401: created a separate .rc file for each DLL. The
product name is "Netscape Portable Runtime" and the file descriptions
are "NSPR Library", "PLDS Library", "PLC Library", and "PRSTRMS Library".
A debug build is indicated in the file description.  The copyright years
changed to 1996-1999.
Modified files: rules.mk, lib/ds/Makefile, lib/ds/Makefile.in,
lib/libc/src/Makefile, lib/libc/src/Makefile.in,
lib/prstreams/Makefile, lib/prstreams/Makefile.in,
prinit.h, nspr.rc
Added files: plds.rc, plc.rc, prstrms.rc
Removed file: resource.h
1999-10-15 00:51:41 +00:00
wtc%netscape.com da8666cb2b Backed out the Windows resource file stuff checked in in the autoconf
branch merge.  It has two problems: 1. RESOBJ is not being used.  It
has the same meaning as the existing variable RES.  2. $(RES) is added
to OBJS twice on Win32.
1999-10-15 00:14:09 +00:00
wtc%netscape.com dea781ecc9 Removed the rule for $(PURE_LIBRARY), which was accidentally
resurrected in the autoconf checkin.
1999-10-14 23:55:27 +00:00
wtc%netscape.com 55085002e0 Bugzilla bug #14126: quote $(OS_RELEASE) in the shell command.
Thanks to Greg Noel <GregNoel@san.rr.com> for the bug report
and the fix.  Reviewed by Greg Noel and tested on several flavors
of Linux (x86, sparc, alpha, and ppc) and FreeBSD.
1999-10-14 23:17:38 +00:00
srinivas%netscape.com bc24d35ef7 Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893 1999-10-14 15:09:11 +00:00
larryh%netscape.com 76ed113c5c NSPR 3.5 landing 1999-10-13 18:32:42 +00:00
srinivas%netscape.com 75a8f3d79b Inlcude the assembly language implementation of the stack operations only when
_PR_HAVE_ATOMIC_CAS is defined. Bugzilla #11576.
1999-08-18 02:17:13 +00:00
srinivas%netscape.com 53f08aed21 The "-mno-486" compiler option is no longer relevant and not supported
in new gcc compilers (v2.95). Bug #11455. Checkin for jdaly@ixl.com.
1999-08-09 19:53:59 +00:00
srinivas%netscape.com 97700c34b7 Port to Aplha-NT; checkin for bob meader <bob@guiduck.com>. 1999-07-23 16:35:29 +00:00
wtc%netscape.com a7885b659d Files created in 1999 should have a 1999 copyright notice. 1999-07-19 21:37:59 +00:00
srinivas%netscape.com 455d8411ca OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-07-16 02:35:57 +00:00
srinivas%netscape.com 1a3dc74999 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-07-15 12:37:21 +00:00
wtc%netscape.com 11a32bff2c Merged Neutrino (NTO) changes contributed by Jerry L. Kirk
<Jerry.Kirk@Nexwarecorp.com>.
Modified files: pr/include/md/Makefile, _pth.h, prosdep.h,
pr/src/md/unix/Makefile, objs.mk, unix.c, unix_errors.c,
ptio.c, ptthread.c.
Added files: NTO.mk, _nto.cfg, _nto.h, nto.c.
1999-06-28 23:13:18 +00:00
wtc%netscape.com 31ca8cf1fb Bugzilla bug #4471: specify -mips3 when compiling on IRIX 6.5,
otherwise it defaults to -mips4 if the build machine is mips4.
1999-05-27 23:03:31 +00:00
wtc%netscape.com de7799ef60 More SCO OpenServer updates from Brian Ostrom <briano@netscape.com>. 1999-05-19 01:28:21 +00:00
srinivas%netscape.com 11155af018 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-05-19 00:53:52 +00:00
wtc%netscape.com dd0f888779 Bugzilla bug #4761: define _LARGEFILE64_SOURCE explicitly if we are
on Solaris 2.6 or 2.7 and using gcc.  Thanks to vdemarco@novazen.com
and mcafee@netscape.com for reporting this problem.
1999-05-19 00:40:28 +00:00
wtc%netscape.com fe36c00bf5 Bugzilla bug #1816: handle Cygwin's uname return format on Win95 also. 1999-05-17 22:05:08 +00:00
wtc%netscape.com c536785449 Bugzilla bug #1816: handle the output of the 'uname' command in
the latest Cygwin release (Beta 20).  Thanks to Tague Griffith
<tague@netscape.com> for reporting the bug and zuperdee@penguinpowered.com
for pointing out where the bug was.
1999-05-17 21:31:16 +00:00
srinivas%netscape.com 2f2fc05028 Port to OpenVMS.
Checkin for "Colin R. Blake" <colin@theblakes.com>.
1999-05-12 00:47:36 +00:00
srinivas%netscape.com 572e694874 Initial version of the OpenVMS config file.
Checkin for "Colin R. Blake" <colin@theblakes.com>.
1999-05-12 00:38:44 +00:00
dmose%mozilla.org 40c9c56b74 updating to license version 1.1 in boilerplate comments 1999-04-21 21:40:44 +00:00
srinivas%netscape.com 88b0f7ca78 Use of lstat, instead of stat, causes nsinstall to miss directories pointed to by
symlinks. Bugzilla #4954.
1999-04-21 02:11:53 +00:00
wtc%netscape.com 370b0deaa5 Removed unused variables LIBNSPR and PURELIBNSPR. 1999-04-15 22:19:41 +00:00
wtc%netscape.com ff5cc6373e Bugzilla bug #5111: include my_config.mk and my_overrides.mk, if they
exist, to allow for user config and overrides of NSPR build variables.
Thanks to Ramiro Estrugo <ramiro@netscape.com> for the design and
implementation.
Modified files: .cvsignore, config.mk.
1999-04-15 03:04:29 +00:00
wtc%netscape.com 64dc3aa3a6 Bugzilla bug #4952: line 35 spilled over to line 36, and a '-' was missing.
Thanks to tomg@squish.org for the bug report.
1999-04-14 01:57:31 +00:00
wtc%netscape.com a10c571e20 Renamed MOZ_PROF to MOZ_PROFILE. 1999-03-23 20:02:33 +00:00
wtc%netscape.com 6496ce1075 Restored the -D_THREAD_SAFE macro define that I incorrectly deleted
in the previous revision.  The -pthread flag does not define
_THREAD_SAFE.  Thanks to Jeremy Lea <reg@shale.csir.co.za> for
pointing this out.
1999-03-23 15:18:27 +00:00
wtc%netscape.com 950a0a6acb Merged a patch contributed by jon@eyrie.org (Jonathan Lennox). 1999-03-23 05:50:11 +00:00
wtc%netscape.com 08520a5974 FreeBSD/Alpha port, contributed by Brian Ostrom <briano@netscape.com>.
Modified files: FreeBSD.mk, gencfg.c, _freebsd.cfg, _freebsd.h,
pr/tests/Makefile.
1999-03-23 04:09:23 +00:00
wtc%netscape.com 23257a8062 Removed extraneous macro defines that are already defined
by the compiler.
1999-03-22 23:29:46 +00:00
wtc%netscape.com 035b3f4203 Merged NSPR patches for BSD/OS 4.0.1 + sparc, contributed by
Kurt J. Lidl <lidl@eng.us.uu.net>.
Modified files: BSD_OS.mk, _bsdi.cfg, _bsdi.h.
1999-03-22 23:04:13 +00:00
wtc%netscape.com c7e15201d8 Update from the internal CVS repository /m/src. Includes: first
cut at 64-bit AIX port.
1999-03-19 22:47:21 +00:00
wtc%netscape.com 1f1b4b0aaa NSPR library name change (libnspr21 ==> libnspr3) and
plevent.c.
1999-03-17 21:25:08 +00:00
wtc%netscape.com 8b2132aba2 Another update of the latest stuff from the internal CVS repository /m/src. 1999-03-02 22:23:14 +00:00
wtc%netscape.com a8f60387ec Another update from the internal CVS repository /m/src to mozilla.org. 1999-03-02 00:58:34 +00:00
wtc%netscape.com 9b2c30b253 Check NO_MDUPDATE. (contributed by Brian Ostrom <briano@netscape.com>) 1999-02-27 19:36:57 +00:00
larryh%netscape.com ceea36cbf3 add profiling capability for win32 1999-02-12 19:36:35 +00:00
wtc%netscape.com b29446a65f In _PR_InitThreads, call pthread_init to explicitly initialize the
pthread subsystem on BSD/OS because pthread_self() fails to initialize
pthreads implicitly.  This patch is contributed by Bert Driehuis
<bert_driehuis@nl.compuware.com>.
1999-02-01 20:01:36 +00:00
wtc%netscape.com a82867f527 Merged first batch of BeOS port patches contributed by
Matthew Zahorik <maz@albany.net>.
1999-01-26 01:56:55 +00:00
wtc%netscape.com 66386b80af Added new BeOS files contributed by Matthew Zahorik <maz@albany.net>. 1999-01-25 23:41:16 +00:00
wtc%netscape.com 8e224331a0 The build/hcc and build/hcpp scripts now take the compiler name as the
first argument.  This patch is contributed by Tim Rice <tim@trr.metro.net>.
1999-01-22 17:24:20 +00:00
wtc%netscape.com 6b805b3528 Removed unnecessary macro define -D_THREAD_SAFE. 1999-01-21 18:49:31 +00:00
wtc%netscape.com 37cbd0cad7 Merged the pthreads patches for BSD/OS 4.0 contributed by
Bert Driehuis <bert_driehuis@nl.compuware.com>.
Modified files: BSD_OS.mk, _pth.h, bsdi.c, ptio.c, and pr/tests/Makefile.
1999-01-19 23:38:54 +00:00
wtc%netscape.com 5d681cd3cb BSD/OS 4.0 fix, contributed by Bert Driehuis <driehuis@playbeing.org>. 1998-12-17 06:26:24 +00:00
wtc%netscape.com f543d8d7e4 Replaced all but one use of IRIX5_3 by feature-based macros.
(Thanks to Brian Ostrom <briano@netscape.com>.)
Modified files: IRIX.mk and irix.c.
1998-12-16 05:58:43 +00:00
wtc%netscape.com 0a48c23197 Miscellaneous porting changes from Brian Ostrom <briano@netscape.com>. 1998-12-05 01:41:18 +00:00
wtc%netscape.com b479088243 Corrected a typo. The "1" (one) in "armv41" should be an "l" (ell).
Thanks to Brian Ostrom <briano@netscape.com> for pointing this out.
1998-12-01 08:30:02 +00:00
wtc%netscape.com e277a7e8ff Removed -D_PR_NEED_FAKE_POLL from FreeBSD.mk and NEXTSTEP.mk. This
macro is defined internally.
In _freebsd.h, include poll.h if poll is available.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for suggesting the patches.
1998-11-25 21:01:14 +00:00
wtc%netscape.com fee8cf3706 A jumbo checkin, consisting of:
1. Ports to older revisions of some Unix variants, e.g., BSD/OS 1.1,
   OSF1 V2.0, etc., contributed by Brian Ostrom <briano@netscape.com>.
2. QNX port, also contributed by Brian Ostrom.
3. New macro USE_MACH_DYLD to represent the dynamic library loading
   API of NEXTSTEP and Rhapsody.
4. On platforms whose socket address has the sa_len field, make a
   copy of the PRNetAddr argument for PR_Bind, PR_Connect, and PR_SendTo
   and set its sa_len before passing it to the system calls.  This
   fix is suggested by Bert Driehuis <driehuis@playbeing.org>.
5. Removed the unused field _lockf64 of struct _MD_IOVector.  Not
   every Unix platform has lockf, and the POSIX file locking API
   uses fcntl.
1998-11-23 06:33:00 +00:00
srinivas%netscape.com 81ab6c6336 Fixed breakage of C++ build rule in previous checkin. 1998-11-20 23:19:54 +00:00
srinivas%netscape.com 2fd86286e1 Enable OS/2 builds with IBM's compiler (Visualage) and gcc port of OS/2 (emx).
Checkin for Eric Olson <Eric.Olson@Sympatico.CA> and Henry <sobotka@axess.com>.
1998-11-20 20:17:20 +00:00
srinivas%netscape.com e9f60b7585 Fixed a typo in previous checkin. 1998-11-19 23:09:01 +00:00
srinivas%netscape.com 3df666ca4a Enable OS/2 builds with IBM's compiler (Visualage) and gcc port of OS/2 (emx).
Checkin for Eric Olson <Eric.Olson@Sympatico.CA> and Henry <sobotka@axess.com>.
1998-11-19 22:20:31 +00:00
wtc%netscape.com a4ede5cb1c NEXT port. Contributed by Balazs Pataki (balazs.pataki@sztaki.hu). 1998-11-18 23:53:21 +00:00
srinivas%netscape.com 6421afd72c Enable ELF builds FreeBSD 3.0.0-RELEASE; checkin for
Jeremy Lea <reg@shale.csir.co.za>.
1998-11-18 22:51:51 +00:00
wtc%netscape.com fce4f3ace5 Specify -R <path> if LIBRUNPATH is defined in the environment.
Contributed by Frank van der Linden (frank@wins.uva.nl).
1998-11-13 22:05:33 +00:00
wtc%netscape.com f3e3e01be1 Merged the NetBSD patch contributed by Frank van der Linden
(frank@wins.uva.nl).
ftp://ftp.netbsd.org/pub/NetBSD/misc/fvdl/mozilla/diff-19981008.001
1998-11-13 02:12:38 +00:00
wtc%netscape.com 4bfb5610d0 Ports to many Unix variants. Added the OMIT_LIB_BUILD_TIME workaround
for platforms that don't have 'long long'.  In pr/src/Makefile and
lib/libc/src/Makefile, use single quotes so that we can avoid
using backslashes in double quotes (that doesn't work under
MKS shell).
1998-10-08 21:31:09 +00:00
wtc%netscape.com b08791881f Do not use the -x assembler-with-cpp for gcc in ASFLAGS. This flag
doesn't seem to work on Solaris x86.  At least, gcc can't assemble
pr/src/md/unix/os_SunOS_x86.s with this flag.
1998-10-07 00:36:44 +00:00
wtc%netscape.com 6462b9a6d7 More mozilla/nsprpub updates, including:
- Patch for MkLinux and glibc 2.1.  Removed the MKLINUX macro.
  This patch is contributed by Tom Rini <trini@kernel.crashing.org>.
- Patch to make the emulated threads work on ARM/Linux.  Contributed
  by raff@netwinder.org.
1998-10-05 18:58:25 +00:00
cls%seawood.org 06aeea7a1b Makes nsinstall not return an error if an intermediate directory already exists. 1998-09-27 00:02:21 +00:00
wtc%netscape.com 5155300605 NSPR20 v3.0 beta landing from NSPRPUB_RELEASE_3_0_LANDING_BRANCH. 1998-09-25 20:34:39 +00:00
slamm%netscape.com 3caa8cd31e Back out accidental checkin. 1998-09-24 21:10:14 +00:00