Commit Graph

1231 Commits

Author SHA1 Message Date
wtchang%redhat.com
ebb4a334e0 Bugzilla Bug 326168: fixed an allocation size bug. The patch is
contributed by neil@parkwaycc.co.uk. r=wtc.
2006-04-12 00:33:06 +00:00
wtchang%redhat.com
fbeda577ce 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.
2006-04-11 18:57:07 +00:00
wtchang%redhat.com
bc4e5a3bb5 Bug 301064
r=wtc, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-04-05 21:02:25 +00:00
wtchang%redhat.com
f1aa23af66 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-04-05 20:57:23 +00:00
wtchang%redhat.com
7621083817 Bugzilla Bug 326168: more cleanups after code review. r=darin,jshin.
Modified files: prlink.h prlink.c w95io.c
2006-04-05 19:17:03 +00:00
gerv%gerv.net
a9d429c492 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-03-31 08:35:02 +00:00
gerv%gerv.net
b55244899b Bug 331600 - remove non-tri-licensed code patch, originally from bug 61746. r=rrelyea. 2006-03-28 20:49:21 +00:00
wtchang%redhat.com
bd6113172a 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.
2006-03-13 21:54:58 +00:00
wtchang%redhat.com
f35da34b86 Backed out a change in the previous checkin that broke the Windows gcc
(MinGW) build. (Bugzilla bug 330150 and bug 326168)
2006-03-13 02:16:58 +00:00
darin%meer.net
7909073244 fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin 2006-03-10 05:38:31 +00:00
wtchang%redhat.com
4b969ef565 Bugzilla Bug 261649: BeOS has the getprotobyxxx_r functions, but they
aren't glibc's 5-argument version.
2006-02-28 00:03:51 +00:00
wtchang%redhat.com
3a0926a346 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
2006-02-22 02:39:59 +00:00
wtchang%redhat.com
4a0fb60c89 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
2006-02-20 22:05:54 +00:00
wtchang%redhat.com
b2333b2d08 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
2006-02-17 23:16:24 +00:00
wtchang%redhat.com
5172c13749 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.
2006-02-16 21:34:46 +00:00
wtchang%redhat.com
feb02f1212 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.
2006-02-13 23:16:53 +00:00
wtchang%redhat.com
7c38f2ed46 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
2006-02-07 01:46:18 +00:00
wtchang%redhat.com
beb67be355 Bugzilla bug 326110: use PR_IMPLEMENT with two exported functions.
Modified files: prfile.c ptio.c
2006-02-07 01:21:00 +00:00
wtchang%redhat.com
249ce5f308 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.
2006-02-06 23:13:10 +00:00
wtchang%redhat.com
3994f1604a 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
2006-01-19 22:11:59 +00:00
wtchang%redhat.com
ce6f228835 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.
2006-01-09 22:48:25 +00:00
wtchang%redhat.com
4259dcc2d9 Bugzilla Bug 322427: removed a very old workaround for a zero-size array in
<sys/socket.h> on Linux. r=kengert.
2006-01-09 21:43:52 +00:00
wtchang%redhat.com
732c519cfe 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
2006-01-09 18:38:54 +00:00
wtchang%redhat.com
a42a273963 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
2006-01-09 17:43:53 +00:00
wtchang%redhat.com
bf7bc997bd 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.
2006-01-07 01:03:12 +00:00
wtchang%redhat.com
513d31b9fc 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
2006-01-07 00:51:39 +00:00
wtchang%redhat.com
bd77bad087 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
2005-12-24 15:03:31 +00:00
wtchang%redhat.com
5e5ecef9ea 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
2005-12-24 08:25:31 +00:00
cls%seawood.org
072160d359 Rename real_install target as install.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls
2005-11-23 06:35:20 +00:00
cls%seawood.org
393d7e63cf Only export *.cfg files needed for cross-compiling.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls
2005-11-23 06:25:56 +00:00
wtchang%redhat.com
2d2a7681ff 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
2005-11-21 22:49:19 +00:00
wtchang%redhat.com
07e80b79f2 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
2005-11-21 22:15:55 +00:00
wtchang%redhat.com
19addd540a 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.
2005-11-14 23:03:21 +00:00
wtchang%redhat.com
a3225a8084 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
2005-11-11 22:23:08 +00:00
wtchang%redhat.com
9ab613d889 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
2005-11-07 22:51:44 +00:00
wtchang%redhat.com
a6a4d92134 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
2005-11-07 22:39:09 +00:00
wtchang%redhat.com
db80528660 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
2005-11-07 22:04:52 +00:00
wtchang%redhat.com
a17ce29d57 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
2005-10-21 18:21:43 +00:00
wtchang%redhat.com
5e56118232 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.
2005-10-13 17:43:36 +00:00
wtchang%redhat.com
76b4759375 Bugzilla Bug 312100: fixed an uninitialized variable bug. 2005-10-11 21:48:09 +00:00
darin%meer.net
6d89770e35 fixes bug 308587 "PR_GetPhysicalMemorySize returns garbage on systems with more than 2GB RAM" r=wtc 2005-09-17 01:45:22 +00:00
wtchang%redhat.com
6a0ea90a7b 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.
2005-09-15 23:15:53 +00:00
wtchang%redhat.com
17693ee9ab Set NSPR version to 4.7 (Beta). 2005-09-14 23:39:56 +00:00
wtchang%redhat.com
7411fa21d9 Set NSPR version to 4.6.1 Beta.
Modified files: configure configure.in repackage.sh prinit.h vercheck.c
2005-08-15 17:38:07 +00:00
wtchang%redhat.com
b959b0ba45 Bugzilla Bug 303345: added comments for obsolete XP_MAC only enum constants
and union members. r=joshmoz,sfraser.
2005-08-13 00:20:49 +00:00
wtchang%redhat.com
bcbebf03ca Bugzilla Bug 266123: added ppc64 support. The patch is contributed by
Markus Rothe <markus@unixforces.net>. r=wtc.
Modified Files: _linux.cfg _linux.h
2005-08-09 22:41:37 +00:00
wtchang%redhat.com
48c51e87b2 Bugzilla bug 303345: restored the SYM_OFFSET macro to make the code easier
to understand.  Suggested by Simon Fraser.
2005-08-08 18:37:13 +00:00
wtchang%redhat.com
4140069c43 Use #ifdef XP_MACOSX as a shorthand for #if defined(XP_MACOSX). 2005-08-06 00:11:34 +00:00
wtchang%redhat.com
33736611eb Bugzilla Bug 303345: just use c2pstrcpy directly. This patch is
contributed by Mark Mentovai <mark@moxienet.com>. r=wtc.
2005-08-06 00:05:09 +00:00
wtchang%redhat.com
9f122f5591 Bugzilla Bug 303345: removed support for XP_MAC (Mac OS Classic). The
patch is contributed by Josh Aas <joshmoz@gmail.com>. r=wtc.
2005-08-05 23:38:30 +00:00