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

509 Коммитов

Автор SHA1 Сообщение Дата
wtc%google.com ae5734e9bf This file now has a tab offset of 8. Replaced the tabs that assumed a tab
offset of 4 with spaces.
2008-04-27 16:33:03 +00:00
wtc%google.com 8f1468306e Fixed the Emacs mode line. 2008-04-27 00:09:35 +00:00
wtc%google.com 4f012ce578 Bug 405992: Implement native atomic operations for Linux/ARM. The patch is
contributed by Ilpo Ruotsalainen <ilpo.ruotsalainen@movial.fi>.  r=wtc.
Modified files: configure.in configure _linux.h
2008-04-26 05:11:46 +00:00
wtc%google.com f384cec10e Set NSPR version to 4.7.1 Beta 2. 2008-03-14 22:05:11 +00:00
wtc%google.com eba3ac738d Bug 418686: cvs remove _wince.cfg and _wince.h. The plan is to use the
WIN95 (generic WIN32) code base for WINCE.
2008-02-28 05:32:14 +00:00
wtc%google.com 5b8b959e15 Bug 418686: added _wince.cfg and _wince.h for Windows Mobile support. The
patch is contributed by Doug Turner <dougt@meer.net>.  r=wtc.
2008-02-22 07:13:26 +00:00
wtc%google.com b7f37ab75b Bug 416571: use $(NSINSTALL) -t instead of cp to install prcpucfg.h to
avoid updating the last modified time of the installed file.  The patch is
contributed by jag (Peter Annema) <jag@tty.nl>.  r=wtc.
2008-02-21 02:52:48 +00:00
christophe.ravel.bugs%sun.com 16e27f34d6 Set NSPR version to 4.7.1 Beta. 2008-02-06 19:19:09 +00:00
christophe.ravel.bugs%sun.com d03ff94ef4 Prepare NSPR 4.7 RTM. 2008-01-31 22:21:57 +00:00
wtc%google.com e160b59701 Minor comment fix. 2008-01-29 23:33:02 +00:00
wtc%google.com 809728f599 Bug 334826: use compiler's intrinsic atomic functions only when our own
PR_AtomicXXX functions are truly atomic, otherwise the macros and functions
can't be used interchangeably.  Add Nelson's suggested changes as a TODO
comment.
Modified files: pratom.h atomic.c
2008-01-27 20:44:02 +00:00
wtc%google.com 1f275409ac Bug 331043: test only compiler predefined macros. Also test for _M_X64,
which replaces _M_AMD64.
2008-01-27 01:53:42 +00:00
wtc%google.com 09882583e6 Bug 334826: added macro versions of atomic operations, which may be
implemented as compiler intrinsics.  The patch is contributed by Steve
Snyder <swsnyder@insightbb.com>.  r=wtc
Modified files: pratom.h atomic.c
2008-01-27 01:50:19 +00:00
wtc%google.com 7375afdefd Bug 331043: need to test the _M_IX86 macro, which is defined by MSVC.
_X86_ is defined by <windows.h>.
2008-01-26 22:12:10 +00:00
wtc%google.com c530d3afbc Bug 331043: Add the PR_ROTATE_LEFT32 and PR_ROTATE_RIGHT32 macros for
rotating left and right, which are defined using compiler intrinsics,
if available.  The patch is contributed by Michael Moy <mmoy@yahoo.com>.
r=brendan,wtc
Modified files: prbit.h plhash.c
2008-01-26 21:49:18 +00:00
wtc%google.com 1309a038d9 Bug 296878: disable the use of os_Linux_ppc.s for 64-bit PowerPC builds
because the assembly code crashes.  Add nonexecutable stack directive
to os_Linux_ppc.s.
Modified files: configure.in configure _linux.h os_Linux_ppc.s
2008-01-24 05:00:04 +00:00
wtc%google.com 95c91e0da2 Bug 296878: use native PowerPC atomic instructions on Linux PowerPC. The
patch is contributed by kevdig@hypersurf.com.  r=mark.mentovai,wtc
Modified files: configure.in configure _linux.h
Added file: os_Linux_ppc.s
2008-01-21 01:46:47 +00:00
wtc%google.com 6f9819de0a Bug 95829: clean up the cached monitor subsystem during NSPR cleanup.
Bug 334285: do not leak the original memory block (and the monitors they
point to) when PR_REALLOC fails.
Portions of the patch are contributed by Brodie <bmo@jellycan.com> and
timeless.  r=relyea,nelson
Modified files: prinit.c ptthread.c primpl.h prcmon.c
2008-01-20 04:53:10 +00:00
wtc%google.com bab975fb20 Bug 404272: define HAVE_LONG_LONG only if it is not yet defined.
HAVE_LONG_LONG may be defined by the build system of a project using NSPR.
The patch is contributed by Edwin van Vliet <edwin@cheatah.nl>.  r=wtc
Modified Files:
	_aix32.cfg _aix64.cfg _beos.cfg _bsdi.cfg _darwin.cfg
	_dgux.cfg _freebsd.cfg _hpux32.cfg _hpux64.cfg _irix32.cfg
	_irix64.cfg _linux.cfg _netbsd.cfg _nto.cfg _openbsd.cfg
	_openvms.cfg _os2.cfg _osf1.cfg _riscos.cfg _solaris.cfg
	_unixware7.cfg _win95.cfg _winnt.cfg
2007-11-26 18:17:17 +00:00
wtc%google.com b1356731da Removed dead files for Rhapsody, the old name of Darwin.
Modified file: pr/tests/dll/Makefile.in
Removed files: _rhapsody.cfg _rhapsody.h rhapsody.c
2007-11-21 22:51:24 +00:00
mozilla%weilbacher.org 874a70ae93 [OS/2] Bug 399647: fix OS/2 build break in prlog.c and correct warning, r=wtc 2007-10-16 18:37:31 +00:00
wtc%google.com 4686d00e73 Bug 386742: added a new function, PR_ParseTimeStringToExplodedTime, which
is the same as PR_ParseTimeString except that it returns the result in a
PRExplodedTime structure.  The patch is contributed by Christian Eyrich
<ch.ey@gmx.net>.  r=wtc.
Modified Files: prtime.h nspr.def prtime.c
2007-08-07 02:13:00 +00:00
nelson%bolyard.com 83d84ff5de Bug 387954 � fix NT version of PR_Accept on IPv6 listen socket. r=wtc 2007-07-25 06:45:08 +00:00
wtc%google.com b6797574af Bugzilla bug 375985: Moved the definition of PR_STATIC_ASSERT from perror.h
to prlog.h, where the related PR_ASSERT macro is defined.  Define
PR_STATIC_ASSERT as an extern declaration rather than a typedef.  The patch
is adapted from Igor Bukanov's patch in JavaScript bug 381236
JS_STATIC_ASSERT.  r=igor@mir2.org.
Modified files: prerror.h prlog.h
2007-05-28 14:48:26 +00:00
wtc%google.com f416c6c0e0 Bug 371247: checked in some changes for OpenBSD. The patch is contributed
by Martynas Venckus <martynas@openbsd.org>. r=nelsonb,wtc.
Modified Files: configure configure.in lib/tests/Makefile.in
	_openbsd.cfg _openbsd.h prnetdb.c
2007-05-26 00:13:08 +00:00
julien.pierre.bugs%sun.com c01ca3026c Fix for bug 353899 . PR_CallOnce and PR_CallOnceWithArg do not set NSPR error code if once->initialized is TRUE and once->status is PR_FAILURE . r=wtc 2007-05-10 01:21:41 +00:00
jwatt%jwatt.org a149a724b5 Fixing bug 375985. Add compile time assertions to NSPR. r=wtchang@gmail.com 2007-04-02 09:05:50 +00:00
wtchang%redhat.com d2247c4052 Bugzilla bug 363997: when running on Windows Vista, set the sockets in the
compatibility mode so that the new TCP/IP stack in Windows Vista can
interoperate with all the TCP/IP implementations.  The patch is contributed
by Seth Spitzer <sspitzer@mozilla.com>. r=wtc,biesi
Modified Files: _win95.h w95io.c w95sock.c w95thred.c
2007-03-14 18:00:44 +00:00
wtchang%redhat.com 597939e7b3 Bug 34843: PR_StringToNetAddr and PR_NetAddrToString should call
getaddrinfo and getnameinfo if they exist.  Based on the patch contributed
by Noriko Hosoi <nhosoi@redhat.com>.  r=nhosoi
Modified files: _win95.h _winnt.h prnetdb.c
2007-03-01 18:11:17 +00:00
wtchang%redhat.com d6f7508110 Bug 329807: define struct _md_sockaddr_in6 because HP-UX's struct
sockaddr_in6 is only 32-bit aligned.  r=nelsonb
2007-01-17 18:11:06 +00:00
wtchang%redhat.com e3fb2073f1 Bug 329807: set USE_IPV6=1 (define _PR_INET6) on HP-UX B.11.23 or later,
based on information from HP.  r=nelsonb,darin
Modified files: configure configure.in _hpux.h
2007-01-13 00:32:39 +00:00
wtchang%redhat.com f9651d2744 Bugzilla Bug 363092: removed the pthread_kill macro definition. Mac OS X
has had the pthread_kill function since 10.2.   The patch is contributed by
Josh Aas <joshmoz@gmail.com>.  r=mark.mentovai,wtc
2006-12-08 22:58:13 +00:00
wtchang%redhat.com cff69870cd Bugzilla Bug 362246: enable large-file support on Mac OS X.
r=mark.mentovai,bienvenu
2006-12-06 17:57:34 +00:00
wtchang%redhat.com f7a561f220 Bugzilla Bug 354593: fixed a race condition in the creation of the lock
that protects localtime() by creating the lock during NSPR initialization.
r=aleksey.sanin,nelson.bolyard.  The patch is contributed by Mark Stevans
<marks@coral8.com>.
Modified files: primpl.h prinit.c prtime.c ptthread.c
2006-11-30 21:22:55 +00:00
wtchang%redhat.com 8a43011e3b Bugzilla Bug 355999: fix up for kfreebsd support. The patch is contributed
by Petr.Salinger@seznam.cz. r=wtc
Modified files: _linux.cfg _linux.h
2006-11-30 01:11:46 +00:00
wtchang%redhat.com 5fbe0d29f7 Bugzilla Bug 360169: changed the value of the _PR_SI_ARCHITECTURE macro
back to "hppa1.1" for backward compatibility. r=nelsonb
2006-11-14 00:50:17 +00:00
wtchang%redhat.com e572bbbe28 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 72cd978d1a Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-04-05 20:57:23 +00:00
wtchang%redhat.com 2fe10b8f2b 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 d7b5e2af46 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-03-31 08:35:02 +00:00
gerv%gerv.net 8a40cd791a 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 df1c0b29ce 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 8f2d7c59ee 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 dc63d88aa6 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 c04e567377 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 51d2724e8d 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 527d64462e 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 88876c062e 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 2e6563f4e6 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 7d5638e978 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