1680 Commits

Author SHA1 Message Date
wtchang%redhat.com
e2d947dcfb Test PR_GetMemMapAlignment.
git-svn-id: svn://10.0.0.236/trunk@198823 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 21:05:32 +00:00
cls%seawood.org
eacda1f070 Remove all generated Makefiles upon distclean.
Thanks to Mike Hommey <mh+mozilla@glandium.org> for the patch.
Bug #333308 r=cls


git-svn-id: svn://10.0.0.236/trunk@195671 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 18:48:26 +00:00
cls%seawood.org
e28aae0d32 Remove all generated Makefiles upon distclean.
Thanks to Mike Hommey <mh+mozilla@glandium.org> for the patch.
Bug #333308 r=cls


git-svn-id: svn://10.0.0.236/trunk@195620 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 00:53:35 +00:00
wtchang%redhat.com
372a6826be Bugzilla Bug 326168: fixed an allocation size bug. The patch is
contributed by neil@parkwaycc.co.uk. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@194193 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 00:33:06 +00:00
wtchang%redhat.com
1592f5489f Bugzilla Bug 298457: fixed an underquoted m4 macro. The patch is
contributed by Patrick Welche <pw-fb@newn.cam.ac.uk>. r=cls


git-svn-id: svn://10.0.0.236/trunk@194167 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 20:16:17 +00:00
wtchang%redhat.com
dc3874c6d2 Bugzilla bug 247896 and bug 331216: fixed the bug that 'end' was moved one
character too far when parsing the minutes, and simplified the code.
r=timeless,darin.


git-svn-id: svn://10.0.0.236/trunk@194160 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 18:57:07 +00:00
wtchang%redhat.com
95249a157d Bug 301064
r=wtc, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2


git-svn-id: svn://10.0.0.236/trunk@193624 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 21:02:25 +00:00
wtchang%redhat.com
0c9f6c2350 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193623 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 20:57:23 +00:00
wtchang%redhat.com
2eea239645 Bugzilla Bug 326168: more cleanups after code review. r=darin,jshin.
Modified files: prlink.h prlink.c w95io.c


git-svn-id: svn://10.0.0.236/trunk@193609 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 19:17:03 +00:00
gerv%gerv.net
97fae50e85 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193311 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:35:02 +00:00
gerv%gerv.net
484d6212fd Bug 331600 - remove non-tri-licensed code patch, originally from bug 61746. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@193151 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 20:52:14 +00:00
wtchang%redhat.com
90616470c0 Bugzilla Bug 330364: fixed a NULL pointer dereference in
PR_LoadStaticLibrary by moving the PR_LOG statement to the same location
as in pr_LoadLibraryByPathname. The bug was discovered by Coverity's tool.
r=Kenneth Herron,Gavin Sharp.


git-svn-id: svn://10.0.0.236/trunk@192286 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-13 21:54:58 +00:00
wtchang%redhat.com
3f7c0120bb Backed out a change in the previous checkin that broke the Windows gcc
(MinGW) build. (Bugzilla bug 330150 and bug 326168)


git-svn-id: svn://10.0.0.236/trunk@192253 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-13 02:16:58 +00:00
darin%meer.net
270cb91ef5 fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin
git-svn-id: svn://10.0.0.236/trunk@192138 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-10 05:38:31 +00:00
wtchang%redhat.com
a97d7518ed Bugzilla Bug 261649: BeOS has the getprotobyxxx_r functions, but they
aren't glibc's 5-argument version.


git-svn-id: svn://10.0.0.236/trunk@191350 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 00:03:51 +00:00
wtchang%redhat.com
c981b6753f Bugzilla Bug 322578: Support ppc<->x86 cross builds for Mac OS X. The
patch is contributed by Mark Mentovai <mark@moxienet.com>.  r=wtc.
Modified Files: configure configure.in autoconf.mk.in rules.mk _darwin.cfg


git-svn-id: svn://10.0.0.236/trunk@190786 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 02:39:59 +00:00
wtchang%redhat.com
c6a39f9266 Bugzilla Bug 327448: added the function pointers back because we will
need them when we emulate the MSLU W functions.  Map
ERROR_CALL_NOT_IMPLEMENTED to PR_NOT_IMPLEMENTED_ERROR.  The patch is
contributed by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp>. r=wtc,jshin.
Modified Files: w95io.c win32_errors.c


git-svn-id: svn://10.0.0.236/trunk@190608 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 22:05:54 +00:00
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