Commit Graph

685 Commits

Author SHA1 Message Date
wtc%netscape.com
e52324f637 Removed #if !defined(DEBUG). Bugzilla #29181.
git-svn-id: svn://10.0.0.236/trunk@61979 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 21:35:49 +00:00
srinivas%netscape.com
7b4cd6c1a7 PR_SetThreadPrivate should be passed an invalid key for the failure case.
Bugzilla #29181.


git-svn-id: svn://10.0.0.236/trunk@61938 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 02:37:25 +00:00
wtc%netscape.com
7f138566c6 Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk.
git-svn-id: svn://10.0.0.236/trunk@61538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:38:19 +00:00
larryh%netscape.com
428940b12e fix prtypes.h
git-svn-id: svn://10.0.0.236/trunk@61453 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 23:44:26 +00:00
wtc%netscape.com
14467ca5be 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.


git-svn-id: svn://10.0.0.236/trunk@61353 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 03:02:53 +00:00
cls%seawood.org
b66b025ff4 Only use HOST_CC for INTERNAL_TOOLS when cross-compiling as it's the only time it actually matters. r,a=wtc
git-svn-id: svn://10.0.0.236/trunk@61211 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 19:38:38 +00:00
scc%netscape.com
b773eeed37 Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60004 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:12:23 +00:00
sdagley%netscape.com
0fa0e2fa9d Enabling debug info on optimized build so sfraser can debug optimized builds. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@59801 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:09:10 +00:00
sdagley%netscape.com
bcdcf3c3c3 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 04:27:22 +00:00
wtc%netscape.com
1e9d69efdc Bugzilla bug #21428: fixed LL_CMP and LL_UCMP so that they can be used
with the <= and >= operators when HAVE_LONG_LONG is not defined.  The
fix is contributed by John G. Myers <jgmyers@netscape.com>.
r=wtc@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@59273 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 21:41:08 +00:00
wtc%netscape.com
82bedfb681 Fixed bogus error messages. Thanks to Kurt J. Lidl <lidl@pix.net>
for reporting the bug and providing a fix.


git-svn-id: svn://10.0.0.236/trunk@59109 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:31:20 +00:00
sdagley%netscape.com
21c87ff63d Fix #25042. Moving PR_Init_Log proto from prlog.h to pprio.h as it is an internal function that normally doesn't belong in the NSPR public interfaces but the Mac needs it. Changes actually from wtc, sdagley just reviewed them and is checking them in.
git-svn-id: svn://10.0.0.236/trunk@59014 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:00:28 +00:00
wtc%netscape.com
e3b57c43a3 Bugzilla bug #19150: removed prlink_mac.h and the mac-specific
PR_LoadIndexedFragment and PR_LoadNamedFragment functions.
Modified files: pr/include/MANIFEST, prlink.c
Removed file: prlink_mac.h


git-svn-id: svn://10.0.0.236/trunk@58978 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:57:22 +00:00
wtc%netscape.com
51e1224640 Bugzilla bug #17101: removed plevent.h and plevent.c. These two files
have been moved to mozilla/xpcom/threads.


git-svn-id: svn://10.0.0.236/trunk@58966 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:29:16 +00:00
wtc%netscape.com
99f9fe4467 Bugzilla bug #17101: move plevent.h and plevent.c from mozilla/nsprpub
to mozilla/xpcom/threads by landing the PLEVENT_MOVE_BRANCH.
Modified files: nsprpub/lib/ds/MANIFEST, nsprpub/lib/ds/Makefile,
nsprpub/lib/ds/Makefile.in, nsprpub/macbuild/NSPR20PPC.mcp,
nsprpub/pr/include/obsolete/protypes.h,
xpcom/macbuild/xpcomPPC.mcp, xpcom/threads/MANIFEST,
xpcom/threads/Makefile.in, xpcom/threads/makefile.win,
xpcom/threads/plevent.h


git-svn-id: svn://10.0.0.236/trunk@58964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:27:37 +00:00
wtc%netscape.com
6c87c2ad97 Added plevent.c and plevent.h back.
git-svn-id: svn://10.0.0.236/trunk@58754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:56:02 +00:00
wtc%netscape.com
a0abe079b5 Added plevent.h and plevent.c back.
git-svn-id: svn://10.0.0.236/trunk@58753 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:54:25 +00:00
wtc%netscape.com
212644e4b9 Added plevent.h back.
git-svn-id: svn://10.0.0.236/trunk@58752 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:53:08 +00:00
blizzard%redhat.com
6db0352bb3 re-add plevent.c
git-svn-id: svn://10.0.0.236/trunk@58751 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:45:58 +00:00
blizzard%redhat.com
463b9aedf1 re-add plevent.h
git-svn-id: svn://10.0.0.236/trunk@58749 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:41:59 +00:00
blizzard%redhat.com
4a3667d104 hrm
git-svn-id: svn://10.0.0.236/trunk@58747 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:25:57 +00:00
wtc%netscape.com
86fc41aabf Bugzilla bug #17101: removed plevent.h and plevent.c from
mozilla/nsprpub/lib/ds.  Modified the makefiles in
mozilla/nsprpub/lib/ds and mozilla/xpcom/threads to
reflect the new location of plevent.{h,c}.
(PLEVENT_MOVE_BRANCH)


git-svn-id: svn://10.0.0.236/trunk@58735 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 06:20:47 +00:00
wtc%netscape.com
45bd7e661d Bugzilla bug #23969: checked in dougt/bienvenu's modified fix.
git-svn-id: svn://10.0.0.236/trunk@58529 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:00:35 +00:00
wtc%netscape.com
9096668a54 Backed out previous checkin because it introduced bug #23969.
a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58389 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 07:21:32 +00:00
wtc%netscape.com
9adc422a4b Bugzilla bug #23969: checked in patches from dougt@netscape.com and
bienvenu@netscape.com. r=troy@netscape.com,wtc@netscape.com.
a=brendan@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@58356 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:53:40 +00:00
brendan%mozilla.org
e419ca89e5 Fix based on rogerl's keen analysis to ancient circa 1995 bug (19165).
git-svn-id: svn://10.0.0.236/trunk@58218 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:53:19 +00:00
wtc%netscape.com
d9ad7041ba Added missing function argument type declarations.
git-svn-id: svn://10.0.0.236/trunk@58178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:29:53 +00:00
srinivas%netscape.com
c35e8af1b6 Add threadpool feature. Bugzilla #23951. rwtc.
git-svn-id: svn://10.0.0.236/trunk@58116 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:45:29 +00:00
srinivas%netscape.com
f503a48e98 Fixed performance problem with pollable events on Win32.
Bugzilla #23948.


git-svn-id: svn://10.0.0.236/trunk@58113 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:36:43 +00:00
wtc%netscape.com
c1eb7646e9 Bugzilla bug #20770: CopyHostent should handle the possibility that
h_aliases is null.  In that case, we allocate in our copy a one-element
array whose only element is a null pointer.


git-svn-id: svn://10.0.0.236/trunk@57765 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:58:02 +00:00
wtc%netscape.com
b85076fefa Bugzilla bug #20770: on Solaris, gethost.c needs to link with -lsocket
if USE_IPV6=1 is specified.


git-svn-id: svn://10.0.0.236/trunk@57763 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:53:39 +00:00
wtc%netscape.com
dc470d54cb Removed the assertion in PR_JoinThread. Returning PR_FAILURE is enough.
git-svn-id: svn://10.0.0.236/trunk@57756 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:31:07 +00:00
wtc%netscape.com
e16101d1ba Set the reuseaddr socket option before calling PR_Bind.
git-svn-id: svn://10.0.0.236/trunk@57754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:22:37 +00:00
wtc%netscape.com
1264a6fd1c Bugzilla bug #23694: added a global variable to control the
native-threads-only mode of our NT implementation. r=srinivas@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57752 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:10:48 +00:00
wtc%netscape.com
c3137bbb1e Use only one definition of PipeAvailable and PipeAvailable64, which
requires _PR_MD_PIPEAVAILABLE.  Define _MD_PIPEAVAILABLE for Mac.
Modified files: _macos.h, prfile.c


git-svn-id: svn://10.0.0.236/trunk@57563 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:37:38 +00:00
wtc%netscape.com
681cd4598d Use PR_IMPLEMENT to define an exported function. Don't need extern when
defining a global function.  "prrng.h" is indirectly included by primpl.h.


git-svn-id: svn://10.0.0.236/trunk@57482 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:12:35 +00:00
srinivas%netscape.com
0ad0e0a408 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.


git-svn-id: svn://10.0.0.236/trunk@57421 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:44:12 +00:00
cls%seawood.org
998e857c5b Ok, that was lame. The comment: 'Added check for GNU as as we can only use certain ASFLAGS under solaris with Sun's as.' should have gone with this set of configure*.
The previous checkin with the above comment should've had the comment: 'Use values from config.guess for OS_ARCH, OS_TARGET, etc when cross-compiling.  Don't check for /dev/zero when cross-compiling.  Don't override the determined values for linking with GNU ld with the hardcode values of Sun ld under solaris. Added TARGET_NSPR_MDCPUCFG to the solaris build.  Don't assume NSPR is installed on the system when cross-compiling.'


git-svn-id: svn://10.0.0.236/trunk@57361 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:31:08 +00:00
wtc%netscape.com
e8b864eb1b Bugzilla bug #23304: protypes.h should only test a macro defined in
prcpucfg.h (in this case, _aix32in6.cfg or _aix64.cfg).
Modified files: _aix32in6.cfg, _aix64.cfg, protypes.h


git-svn-id: svn://10.0.0.236/trunk@57334 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:53:08 +00:00
wtc%netscape.com
f8ccf3e8aa Merged minor fixes related to PR_Available and PR_Sync for pipes
in NSPR 3.5.1 onto the main trunk.
Modified files: _win95.h, _winnt.h, prfile.c, ntio.c, w95io.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@57332 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:49:01 +00:00
srinivas%netscape.com
af72506f91 Previous checkin broke Linux build.
git-svn-id: svn://10.0.0.236/trunk@57298 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 22:20:41 +00:00
larryh%netscape.com
18dfa0c323 BugZilla 19247. FreeBSD uses /dev/random too
git-svn-id: svn://10.0.0.236/trunk@57288 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:20:33 +00:00
srinivas%netscape.com
4f5b02e4cb Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.
Checkin for sobotka@axess.com. Bugzilla 23544.


git-svn-id: svn://10.0.0.236/trunk@57286 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:08:45 +00:00
wtc%netscape.com
cbaefa0b2d Backed out the NSPR 3.5.1 merge. Mozilla client cannot exit on shutdown.
Modified files: _win95.h, _winnt.h, primpl.h, prfdcach.c, prfile.c,
ntio.c,  w95io.c, ptio.c, ptthread.c


git-svn-id: svn://10.0.0.236/trunk@57220 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 23:05:24 +00:00
wtc%netscape.com
9fa2b0ab6d Backed out the previous checkin (found a better fix).
git-svn-id: svn://10.0.0.236/trunk@57213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:40:59 +00:00
wtc%netscape.com
55a1103a4f For platforms that don't implement PR_CreatePipe, define PipeAvailable
and PipeAvailable64 as simply returning -1.  This way we don't need to
define the _MD_PIPEAVAILABLE macro for those platforms.


git-svn-id: svn://10.0.0.236/trunk@57212 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:36:59 +00:00
wtc%netscape.com
a80f218233 Define _MD_PIPEAVAILABLE for mac (simply returns -1).
git-svn-id: svn://10.0.0.236/trunk@57211 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:22:26 +00:00
wtc%netscape.com
cbce677b89 Temporary depend:clean hack.
git-svn-id: svn://10.0.0.236/trunk@57209 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 15:20:19 +00:00
wtc%netscape.com
0457ce2a48 Merged the fixes in NSPR 3.5.1 to the main trunk.
Modified files: _win95.h, _winnt.h, primpl.h, prfdcach.c, prfile.c,
ntio.c, w95io.c, ptio.c, ptthread.c


git-svn-id: svn://10.0.0.236/trunk@57208 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 15:17:59 +00:00
srinivas%netscape.com
0c754e7fb7 Add new API declaration, NSPR_API. Bugzilla #12913.
git-svn-id: svn://10.0.0.236/trunk@57054 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 01:28:13 +00:00