1863 Commits

Author SHA1 Message Date
wtchang%redhat.com
c5545aa0ec Bugzilla Bug 327544: set OBJDIR to $(OBJDIR_NAME) to ensure that OBJDIR
and OBJDIR_NAME have the same value even if OBJDIR_NAME is overriden.
r=cls.


git-svn-id: svn://10.0.0.236/trunk@190601 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 19:20:13 +00:00
wtchang%redhat.com
8fd71929dc Bugzilla Bug 111428: more file pathname internationalization bug fixes.
The patch is contributed by Masayuki Nakano <masayuki@d-toybox.com> and
Jungshik Shin <jshin1987@gmail.com>. r=wtc,darin
 Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH


git-svn-id: svn://10.0.0.236/trunk@190414 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 23:16:24 +00:00
wtchang%redhat.com
4b4be82ee3 Bugzilla Bug 327448: it's not necessary to do dynamic lookup of the W
functions because they are also defined (as stubs) on Windows 9x.  The
patch is contributed by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@190302 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 21:34:46 +00:00
wtchang%redhat.com
a3f0969f95 Bugzilla Bug 124695: the implementation of _PR_MD_GET_INTERVAL for MinGW
was wrong.  Thanks to Stefan Sitter <ssitter@googlemail.com> for reporting
the bug and verifying the fix.


git-svn-id: svn://10.0.0.236/trunk@189895 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 23:16:53 +00:00
wtchang%redhat.com
278e2f6ef9 Bugzilla bug 326283: fixed the Emacs mode line. r=joshmoz.
git-svn-id: svn://10.0.0.236/trunk@189399 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 07:12:04 +00:00
wtchang%redhat.com
6f63aa3533 Bugzilla Bug 307527: implement NSPR interval timer with timeGetTime instead
of QueryPerformanceCounter or GetTickCount. r=darin,bienvenu.
Modified files: pr/src/Makefile.in ntinrval.c


git-svn-id: svn://10.0.0.236/trunk@189276 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:46:18 +00:00
wtchang%redhat.com
525fd16ed4 Bugzilla bug 326110: use PR_IMPLEMENT with two exported functions.
Modified files: prfile.c ptio.c


git-svn-id: svn://10.0.0.236/trunk@189272 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:21:00 +00:00
wtchang%redhat.com
112a14111d Bugzilla bug 326110: declare PR_SetSysfdTableSize and PR_GetSysfdTableMax
with NSPR_API in a public header file so that they can be exported from the
NSPR shared library/DLL.  r=kengert,jpierre.  Thanks to Noriko Hosoi
<nhosoi@redhat.com> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@189055 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 23:13:10 +00:00
wtchang%redhat.com
1a89ca7749 Bugzilla Bug 322956: added PR_SI_HOSTNAME_UNTRUNCATED, which does not
strip the domain name (if any).  The patch is contributed by
Philip Prindeville <philipp@redfish-solutions.com>. r=wtc,darin.
Modified files: prsystem.h prsystem.c


git-svn-id: svn://10.0.0.236/trunk@187849 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 22:11:59 +00:00
wtchang%redhat.com
0bb4d81100 Bugzilla Bug 322422: fixed a negative integer division truncation direction
error, which resulted in a negative PRTime with fractional seconds being
converted to PRExplodedTime off by one second.  Thanks to Aleksey Sanin
<aleksey@aleksey.com> for reporting and investigating the bug and reviewing
the patch. r=aleskey.


git-svn-id: svn://10.0.0.236/trunk@187210 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 22:48:25 +00:00
wtchang%redhat.com
a0e35a7d1e Bugzilla Bug 322427: removed a very old workaround for a zero-size array in
<sys/socket.h> on Linux. r=kengert.


git-svn-id: svn://10.0.0.236/trunk@187201 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 21:43:52 +00:00
wtchang%redhat.com
e60f0ee77b Bugzilla Bug 322287: Implemented NSPR atomic routines in x86 assembly code
for Intel Macs.  The patch is contributed by Josh Aas <joshmoz@gmail.com>.
r=mark.mentovai,wtc.
Modified files: configure configure.in _darwin.h
Added file: os_Darwin_x86.s


git-svn-id: svn://10.0.0.236/trunk@187174 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 18:38:54 +00:00
wtchang%redhat.com
57473c77df Bugzilla Bug 322287: the "lock" prefix is not required for the x86 "xchg"
instruction.  r=mark.mentovai.
Modified files: os2emx.s os2vacpp.asm os_Linux_x86.s os_Linux_x86_64.s
                os_SunOS_x86.s os_SunOS_x86_64.s ntmisc.c


git-svn-id: svn://10.0.0.236/trunk@187170 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 17:43:53 +00:00
wtchang%redhat.com
6d4cd5c830 Bugzilla Bugs 261649 and 321579: fixed BeOS build error caused by previous
checkin.  BeOS uses glibc but not the dlxxx functions declared in dlfcn.h.


git-svn-id: svn://10.0.0.236/trunk@187114 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 01:03:12 +00:00
wtchang%redhat.com
96c0b254cf Bugzilla bug 322427: do not compile NSPR with -ansi and with _POSIX_SOURCE,
_BSD_SOURCE, _SVID_SOURCE, _LARGEFILE64_SOURCE, and _XOPEN_SOURCE defined.
Instead, just define _GNU_SOURCE.  r=kengert.
Modified files: configure configure.in pr/src/linking/Makefile.in
                pr/src/pthreads/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@187112 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 00:51:39 +00:00
wtchang%redhat.com
f10d9ed91b Bugzilla Bug 261649: more changes for GNU/k*BSD and GNU/Hurd support.
The patch is contributed by Robert Millan <rmh@aybabtu.com>. r=wtc.
Modified files: nsinstall.c _pth.h pr/src/linking/Makefile.in prlink.c
pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@186558 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 15:03:31 +00:00
wtchang%redhat.com
979d43900e Bugzilla Bug 261649: added GNU/k*BSD and preliminary GNU/Hurd support. The
patch is contributed by Robert Millan <rmh@aybabtu.com>. r=wtc.
Modified files: configure configure.in _linux.cfg _pth.h _unixos.h
prosdep.h pr/src/linking/Makefile.in prlink.c prosdep.c unix.c uxproces.c
uxrng.c prnetdb.c ptio.c pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@186557 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 08:25:31 +00:00
wtchang%redhat.com
c3ec518bab Bugzilla Bug 321230: don't link with libdl on BeOS. The patch is
contributed by Christian Biesinger <cbiesinger@gmx.at>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@186463 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 22:40:37 +00:00
wtchang%redhat.com
c413f57723 Bugzilla Bug 316964: use the -z ignore linker flag on Solaris. The patch
is contributed by Boying Lu <brian.lu@sun.com>. r=wtc,sr=benjamin.smedberg.


git-svn-id: svn://10.0.0.236/trunk@186176 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 18:25:47 +00:00
wtchang%redhat.com
089e9a65f2 Bugzilla Bug 225859: allow one to do Windows x64 builds with the x86
version of Cygwin or MKS uname.  The patch is contributed by Julien
Pierre of Sun.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@185819 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 22:45:22 +00:00
cls%seawood.org
464c90a54d Rename real_install target as install.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls


git-svn-id: svn://10.0.0.236/trunk@185192 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 06:35:20 +00:00
cls%seawood.org
8572319c57 Only export *.cfg files needed for cross-compiling.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls


git-svn-id: svn://10.0.0.236/trunk@185190 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 06:25:56 +00:00
cls%seawood.org
69e6cdd386 Explicitly disable pthread support for win32, os2 & beos.
Bug #312662 r=wtc


git-svn-id: svn://10.0.0.236/trunk@185188 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 05:59:05 +00:00
wtchang%redhat.com
a226796866 Bugzilla bug 195219: put the stops (double semicolons) that delimit
instruction groups on the same lines as the last instructions in the
groups.  This is the style used in Intel documentation.
Modified files: os_HPUX_ia64.s os_Linux_ia64.s


git-svn-id: svn://10.0.0.236/trunk@185093 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 22:49:19 +00:00
wtchang%redhat.com
39824e4332 Bugzilla bug 195219: implemented the atomic routines in IA-64 assembly for
HP-UX IPF.  Thanks to Dennis Handly of HP for reviewing the assembly code
and suggesting the use of the addp4 instruction to convert a 32-bit address
to a 64-bit one in 32-bit builds.
Modified files: configure configure.in _hpux.h
Added file: os_HPUX_ia64.s


git-svn-id: svn://10.0.0.236/trunk@185087 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 22:15:55 +00:00
christophe.ravel.bugs%sun.com
3aa2615623 238319: Sun packages changes.
RPM_RELEASE can be set from the command line.


git-svn-id: svn://10.0.0.236/trunk@184938 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 21:54:17 +00:00
wtchang%redhat.com
c9c9b369e9 Bugzilla Bug 164070: fixed the bug that PR_ImplodeTime and PR_NormalizeTime
only worked with years 1901-2099.  The patch is contributed by Shanmu
<shanmus@gmail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@184608 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:03:21 +00:00
wtchang%redhat.com
85d3afc6ee Bugzilla Bug 312199: HP-UX IPF (Itanium) changes contributed by Grace Lu
of HP: use .so as shared library suffix, link shared libraries with
+b $ORIGIN. r=wtc,darin.
Modified Files: configure configure.in _hpux.h


git-svn-id: svn://10.0.0.236/trunk@184485 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 22:23:08 +00:00
wtchang%redhat.com
f1b33b3619 Bugzilla Bug 302212: allow Mac OS X x86 builds to target SDKs. The patch
was contributed by Mark Mentovai <mark@moxienet.com>.  r=wtc,joshmoz.
Modified Files:
        configure configure.in config/autoconf.mk.in
        pr/src/linking/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@184275 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 22:51:44 +00:00
wtchang%redhat.com
81329f10b8 Bugzilla Bug 156633: replaced the deprecated PR_CurrentThread by
PR_GetCurrentThread.  The patch is contributed by Tim <timwatt@gmail.com>.
r=wtc.
Modified Files: prmsgc.c btthread.c rcthread.cpp mdmac.c prthinfo.c ptio.c
        ptsynch.c ptthread.c cltsrv.c intrupt.c perf.c provider.c


git-svn-id: svn://10.0.0.236/trunk@184272 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 22:39:09 +00:00
wtchang%redhat.com
8082a3d914 Bugzilla Bug 314070: do not use CFM on Mac OS X x86. The patch is
contributed by Mark Mentovai <mark@moxienet.com>. r=wtc,joshmoz


git-svn-id: svn://10.0.0.236/trunk@184268 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 22:04:52 +00:00
christophe.ravel.bugs%sun.com
bb1ad88dd9 238319: Sun packages changes
Set rpm release to 2 for NSPR 4.6.1


git-svn-id: svn://10.0.0.236/trunk@184259 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 20:22:21 +00:00
wtchang%redhat.com
e598025edd Bugzilla Bug 225859: added 64-bit Windows support. Peter Armistead
contributed the first 64-bit Windows patch (for IA64) in 2001.  Portions
of this checkin are based on the patch contributed by Makoto Kato
<m_kato@ga2.so-net.ne.jp>. r=wtc.
Modified Files: configure configure.in prtypes.h _win95.cfg _win95.h
                _winnt.cfg _winnt.h probslet.h pprio.h primpl.h
                pr/src/Makefile.in prfile.c prio.c prsocket.c ntgc.c ntio.c
                ntmisc.c w32rng.c w32shm.c w95io.c w95sock.c w95thred.c
                prinit.c pr/tests/prpoll.c


git-svn-id: svn://10.0.0.236/trunk@182722 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 18:21:43 +00:00
cls%seawood.org
b6ac04295f Sync config.guess & config.sub with official GNU CVS copies.
Bug #312352 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@182267 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 19:22:06 +00:00
wtchang%redhat.com
67a60a323a Determine if the visibility(default) attribute can be used by using only
the GCC version so that this public header does not depend on any macro
the user needs to define.  See Bugzilla bug 307168 comment 29.


git-svn-id: svn://10.0.0.236/trunk@182177 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 17:43:36 +00:00
wtchang%redhat.com
9b0fd1a6df Bugzilla Bug 312100: fixed an uninitialized variable bug.
git-svn-id: svn://10.0.0.236/trunk@182015 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 21:48:09 +00:00
wtchang%redhat.com
4272aa3a2b Bugzilla Bug 263952: backed out the previous checkin (to define the Solaris
feature test macros for SUS (XPG4v2) with extensions) because it is
reported to introduce a small performance regression and break Firefox
build on Solaris 10.


git-svn-id: svn://10.0.0.236/trunk@181912 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 17:47:03 +00:00
darin%meer.net
f8fe652a2a fixes bug 308587 "PR_GetPhysicalMemorySize returns garbage on systems with more than 2GB RAM" r=wtc
git-svn-id: svn://10.0.0.236/trunk@180456 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-17 01:45:22 +00:00
wtchang%redhat.com
5016d59337 Bugzilla Bug 308331: the guard for the int32 typedef is no longer
necessary.  Only the winsock2.h file (winsock version 2.1) in MSVC 4.2
has the int32 typedef.  MinGW's winsock2.h doesn't have that typedef,
and current Microsoft winsock2.h doesn't have that either.  Also, on
Windows, we define int32 as long, which is the same as the int32 typedef in
winsock2.h v2.1.  MSVC accepts such duplicated typedefs.  Thanks to
timeless for the research into this problem.


git-svn-id: svn://10.0.0.236/trunk@180323 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 23:15:53 +00:00
wtchang%redhat.com
0ec1b8054e Set NSPR version to 4.7 (Beta).
git-svn-id: svn://10.0.0.236/trunk@180256 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 23:39:56 +00:00
wtchang%redhat.com
a8b3afdf16 Bugzilla Bug 263952: define the Solaris feature test macros for SUS
(XPG4v2) with extensions to eliminate compiler warnings about mmap64,
shm_open and shm_unlink.  The patch is contributed by Julien Pierre of Sun.
r=wtc.
Set NSPR version to 4.7 Beta.


git-svn-id: svn://10.0.0.236/trunk@180255 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 23:32:45 +00:00
christophe.ravel.bugs%sun.com
55371d21ad 238319: Sun packages changes.
Fix packages on Linux. List of files is now generated for sun-nspr.spec.


git-svn-id: svn://10.0.0.236/trunk@179909 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 17:16:35 +00:00
christophe.ravel.bugs%sun.com
95702d1bca 238319: Sun packages changes.
Install 64 bit libraries in lib64 on Linux.


git-svn-id: svn://10.0.0.236/trunk@179869 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 22:23:54 +00:00
cls%seawood.org
b997d3bcd0 Skip libpthread check in Darwin builds
Bug #212708 r=wtc


git-svn-id: svn://10.0.0.236/trunk@179528 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 02:44:37 +00:00
wtchang%redhat.com
8269161d80 Bugzilla Bug 266123: support 64-bit PowerPC builds on Linux distributions
(such as Red Hat and Fedora) whose GCC generates 32-bit code by default.
r=cls.


git-svn-id: svn://10.0.0.236/trunk@178177 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:57:12 +00:00
wtchang%redhat.com
c7e17a8fa0 Bugzilla Bug 304526: cleaned up the "configure --help" message: put default
value in brackets and wrapped long lines. r=cls.


git-svn-id: svn://10.0.0.236/trunk@178172 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:15:16 +00:00
wtchang%redhat.com
db0e9c0bd2 Bugzilla bug 294122: made the changes I suggested and Howard Chu agreed
on -- removed incomplete WINCE support and support for old Cygwin betas
(before beta 20). (See comments 55 and 57 in the bug report.).


git-svn-id: svn://10.0.0.236/trunk@177795 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 00:15:15 +00:00
wtchang%redhat.com
61a42f9170 Set NSPR version to 4.6.1 Beta.
Modified files: configure configure.in repackage.sh prinit.h vercheck.c


git-svn-id: svn://10.0.0.236/trunk@177758 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 17:38:07 +00:00
wtchang%redhat.com
2f8deabb49 Bugzilla Bug 303345: added comments for obsolete XP_MAC only enum constants
and union members. r=joshmoz,sfraser.


git-svn-id: svn://10.0.0.236/trunk@177682 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:20:49 +00:00
wtchang%redhat.com
1f9988ac52 Bugzilla Bug 266123: added ppc64 support. The patch is contributed by
Markus Rothe <markus@unixforces.net>. r=wtc.
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@177450 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 22:41:37 +00:00