1114 Commits

Author SHA1 Message Date
sfraser%netscape.com
e8b50626a8 Adding strtok.c per bug 106372
git-svn-id: svn://10.0.0.236/trunk@106896 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:28:57 +00:00
wtc%netscape.com
81300aad37 Use PL_strcmp instead of strcmp to avoid having to include <string.h>.
git-svn-id: svn://10.0.0.236/trunk@106880 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:02:16 +00:00
wtc%netscape.com
8e384b8dbf Added lib/tests/Makefile to the list of makefiles to be generated by
configure.
Modified files: configure configure.in
Bugzilla bug 106372: added new function PL_strtok_r.  The function was
implemented by Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>.
Modified files: lib/libc/include/plstr.h lib/libc/src/Makefile.in
    lib/tests/string.c
Added file: lib/libc/src/strtok.c


git-svn-id: svn://10.0.0.236/trunk@106872 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:49:52 +00:00
wtc%netscape.com
475fd5527a Bugzilla bug 106771: support building on HP-UX 11.11. The patch is from
Jim Dunn <jdunn@netscape.com>.
Modified files: configure configure.in


git-svn-id: svn://10.0.0.236/trunk@106399 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:13:06 +00:00
seawood%netscape.com
f42774dccc Convert all rhapsody (pre-beta-macosx) references to darwin.
Bug #106617 r=wtc


git-svn-id: svn://10.0.0.236/trunk@106330 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:55:58 +00:00
seawood%netscape.com
ca14d69eee Rename rhapsody to darwin
bug #106617


git-svn-id: svn://10.0.0.236/trunk@106287 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 21:34:51 +00:00
wtc%netscape.com
53585b3dd1 Bugzilla bug 71179: Neutrino needs the RTLD_GROUP flag to load Netscape
plugins.  The fix is contributed by timeless@bemail.org.


git-svn-id: svn://10.0.0.236/trunk@105649 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 23:34:50 +00:00
wtc%netscape.com
f94b003c2e Bugzilla bug 77197: use spawn in Neutrino because fork & exec does not
work in multithreaded programs in Neutrino.  The patch is contributed
by dinglis@qnx.com (Dave Inglis), reviewed and modified by wtc.


git-svn-id: svn://10.0.0.236/trunk@105647 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 23:11:25 +00:00
wtc%netscape.com
3c26e67cfc Bugzilla bug 92085: checked in a Neutrino patch from
briane@qnx.com (Brian Edmond).  r=wtc.
Modified files: _nto.h protypes.h


git-svn-id: svn://10.0.0.236/trunk@105644 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 22:28:29 +00:00
wtc%netscape.com
c4dd8d142a Bugzilla bug 77188: checked in a configure patch for Neutrino from
dinglis@qnx.com (Dave Inglis).  r=wtc.
Modified files: configure configure.in


git-svn-id: svn://10.0.0.236/trunk@105641 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 20:50:51 +00:00
wtc%netscape.com
88fa081a13 Bugzilla bug 105154: fixed a timing problem in OS/2's implementation of
condition variables.  Thanks to Aaron Read <aaronr@us.ibm.com> for the
patch.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@105565 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:54:24 +00:00
wtc%netscape.com
7f6484b0b8 We don't assert on invalid arguments now.
git-svn-id: svn://10.0.0.236/trunk@105558 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:36:44 +00:00
wtc%netscape.com
ef741ab75b Bugzilla bug 104269: allow one to specify an includedir or dist_includedir
that doesn't end in "/nspr".  This patch is due to cls.  r=wtc.
The only problem with this solution is that the default value for
--includedir shown in the --help output is wrong.
Modified files: configure.in configure config/autoconf.mk.in


git-svn-id: svn://10.0.0.236/trunk@105554 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:31:02 +00:00
seawood%netscape.com
6a7655eea9 Install *.cfg files used for cross-compiling
git-svn-id: svn://10.0.0.236/trunk@105364 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 06:02:48 +00:00
seawood%netscape.com
71b6fcd24d Add support for mips*el
git-svn-id: svn://10.0.0.236/trunk@105363 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 06:00:00 +00:00
wtc%netscape.com
f0baed2a22 Bugzilla bug 104286: teach the configure script about MKS Toolkit. r=cls.
Modified files: configure configure.in config.guess config.sub


git-svn-id: svn://10.0.0.236/trunk@105282 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:44:02 +00:00
sfraser%netscape.com
83c130f034 Fix for 100353 -- handle polling for read and write on different threads, and properly deal with sending to a socket that has flow control restrictions. Fixes a problem saving to IMAP server sent messages with attachments. r=gordon, wtc.
git-svn-id: svn://10.0.0.236/trunk@104889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 02:16:47 +00:00
cls%seawood.org
52b9f60b72 Updating config.guess & config.sub with 2001-10-07 changes from the GNU master c
opy at :pserver:anoncvs@subversions.gnu.org:/cvs /config .


git-svn-id: svn://10.0.0.236/trunk@104780 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 23:08:41 +00:00
cls%seawood.org
083a7c2fd1 Solaris 7 has deprecated the use of libposix4 in favor of librt. Check the OS_RELEASE and use the appropriate library.
Bug #96986 r=wtc


git-svn-id: svn://10.0.0.236/trunk@104447 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:19:12 +00:00
wtc%netscape.com
b5d4409bdb Bugzilla bug 84035: backed out the changes to the PRMonitor functions
because some of the Mozilla client code depends on the property that
PR_EnterMonitor and PR_ExitMonitor do not call malloc, calloc, and free.
Modified Files: _pth.h, primpl.h, ptsynch.c


git-svn-id: svn://10.0.0.236/trunk@104057 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:27:07 +00:00
sfraser%netscape.com
108ee42e26 Fix for bug 71718. Make Mac NSPR work on dual CPU Mac OS X macines by using MP critical regions to fix threading synchronization problems. Uses hand-rolled critical regions because the critical section API is broke on Mac OS 10.0.x. r=gordon, wtc.
git-svn-id: svn://10.0.0.236/trunk@104017 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:35:25 +00:00
cls%seawood.org
7598224bba Remove commented out references to mozilla xp_*.h files.
Thanks to Brian Ryner <bryner@netscape.com> for the patch.
Bug #38061 r=cls


git-svn-id: svn://10.0.0.236/trunk@103532 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:42:48 +00:00
sfraser%netscape.com
f40a806dad Fix for bug 97866. Fixes async file I/O to ensure that we always call WaitOnThisThread if we're doing an async call (which does not wait if the notifier has already fired). Also don't bother checking return values from PBRead/WriteAsync, since they never fail, but do check the return value of the PBReadSync call. Fixes synchronization problems on Mac OS X. r=gordon, a=wtc.
git-svn-id: svn://10.0.0.236/trunk@103237 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:08:36 +00:00
sdagley%netscape.com
cf37c81c53 Fix #99556. Account for change in Mac epoch time as of MSL 6. r=wtc/sfraser
git-svn-id: svn://10.0.0.236/trunk@103038 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:42:12 +00:00
wtc%netscape.com
ba11393180 Deleted unused prototypes for _PR_Unlock, _PR_SuspendThread, and
_PR_ResumeThread.


git-svn-id: svn://10.0.0.236/trunk@102975 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 04:53:12 +00:00
wtc%netscape.com
913d62f0eb Added 'const' to two arrays of constants. Thanks to Simon Fraser for
suggesting this.


git-svn-id: svn://10.0.0.236/trunk@102974 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 04:47:14 +00:00
wtc%netscape.com
4567105730 Bugzilla bug 96571: fixed the PL_strn* functions that may read beyond
the end of buffer if the buffer is not null-terminated.
Modified files: strchr.c strcstr.c strlen.c strpbrk.c strstr.c


git-svn-id: svn://10.0.0.236/trunk@102763 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:22:16 +00:00
wtc%netscape.com
99b1973ff0 Bugzilla bug 98741: replaced NPL by MPL/GPL.
Modified files: prerr.et prmkdir.bat pr/src/md/os2/objs.mk


git-svn-id: svn://10.0.0.236/trunk@102535 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:37:58 +00:00
wtc%netscape.com
11f1593318 Bugzilla bug 98741: removed the extra NPL header.
git-svn-id: svn://10.0.0.236/trunk@102534 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:28:31 +00:00
wtc%netscape.com
5b8e1cf962 Bugzilla bug 98741: changed the license URL to http://www.mozilla.org/MPL/.
Modified Files:
	pr/src/prvrsion.c lib/ds/plvrsion.c lib/libc/src/plvrsion.c
	lib/prstreams/plvrsion.c


git-svn-id: svn://10.0.0.236/trunk@102533 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:27:33 +00:00
wtc%netscape.com
e5218cd198 Bugzilla bug 95836: Added _PR_CleanupIO() and made it call
_PR_CleanupFdCache().  PR_Cleanup() now calls _PR_CleanupIO() and does
not call _PR_CleanupFdCache() directly.
Modified files: primpl.h prio.c prinit.c ptio.c ptthread.c


git-svn-id: svn://10.0.0.236/trunk@102504 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 01:55:49 +00:00
wtc%netscape.com
a44592e2b8 Bugzilla bug 95817: destroy _pr_sleeplock in PR_Cleanup(). The patch is
contributed by jeff@NerdOne.com.
Modified files: prinit.c ptthread.c


git-svn-id: svn://10.0.0.236/trunk@102492 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:15:21 +00:00
wtc%netscape.com
40b3bff0fa Bugzilla bug 95773: Added _PR_CleanupEnv() and call it from PR_Cleanup().
The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h prenv.c prinit.c ptthread.c


git-svn-id: svn://10.0.0.236/trunk@102491 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:05:50 +00:00
wtc%netscape.com
cdb805bcdc Bugzilla bug 97456: fixed build error on BSD/OS 4.3 (beta3). The patch
is contributed by lidl@pix.net.


git-svn-id: svn://10.0.0.236/trunk@102013 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 04:18:23 +00:00
wtc%netscape.com
3f603986fe Bugzilla bug 95784: added _PR_CleanupLayerCache and call it from
PR_Cleanup.  The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prlayer.c, prinit.c, ptthread.c.


git-svn-id: svn://10.0.0.236/trunk@101992 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 00:35:00 +00:00
wtc%netscape.com
287d568a3b Bugzilla bug 95668: added _PR_CleanupThreads and call it from PR_Cleanup.
The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prinit.c, pruthr.c.


git-svn-id: svn://10.0.0.236/trunk@101991 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 23:52:14 +00:00
wtc%netscape.com
813386fc81 Bugzilla bug 95659: added _PR_CleanupStacks(), which is called from
PR_Cleanup().  The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prinit.c, prustack.c


git-svn-id: svn://10.0.0.236/trunk@101987 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 23:13:41 +00:00
wtc%netscape.com
9ebba0424d Bugzilla bug 94153: destroys the arena lock in PL_ArenaFinish. Also don't
need to hold the lock when destroying the arenas on the arena freelist.
The patch to destroy the arena lock was contributed by jeff@NerdOne.com.


git-svn-id: svn://10.0.0.236/trunk@101908 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 21:14:36 +00:00
wtc%netscape.com
f82e415e62 Bugzilla bug 54353: free the log modules at NSPR cleanup. Thanks to
jeff@NerdOne.com for the patch.


git-svn-id: svn://10.0.0.236/trunk@101902 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 18:37:55 +00:00
wtc%netscape.com
3f7f3c5d48 Bugzilla bug 96673: removed the unnecessary and non-portable initializers
for the sigaction structure.  Thanks rjesup@wgate.com (Randell Jesup) for
suggesting the fix.


git-svn-id: svn://10.0.0.236/trunk@101896 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 18:01:46 +00:00
cls%seawood.org
f1309b115e Escape ^ when calling grep as some shells interpret ^ instead of passing it to g
rep.
Thanks to dave@arsdigita.com (Drazen Kacar) for the patch.
Bug #96997 r=cls sr=wtc


git-svn-id: svn://10.0.0.236/trunk@101880 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 07:51:03 +00:00
wtc%netscape.com
540c9d67e4 Merged brendan's fix from NSPRPUB_CLIENT_BRANCH (now obsolete).
git-svn-id: svn://10.0.0.236/trunk@101419 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-19 01:22:59 +00:00
wtc%netscape.com
1f779f80d2 Bugzilla bug 95744: handle the case that ENOTEMPTY and EEXIST have the
same value.  (They do on AIX 4.3.)


git-svn-id: svn://10.0.0.236/trunk@101302 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 13:31:15 +00:00
wtc%netscape.com
50482052cf Bugzilla bug #88102: checked in a patch from Colin Blakes
<colin@theblakes.com> that allows him to easily switch between BSD V4.4
(the default) and BSD V4.3 sockets on OpenVMS.


git-svn-id: svn://10.0.0.236/trunk@101101 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 14:30:43 +00:00
cls%seawood.org
f62001e463 _MD_pr_poll should exit with error if select returns -1 and errno is not EINTR.
Bug #70808 r=darin


git-svn-id: svn://10.0.0.236/trunk@100971 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 01:01:58 +00:00
wtc%netscape.com
a32b5ddc0b Force a rebuild.
git-svn-id: svn://10.0.0.236/trunk@100933 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-13 19:55:38 +00:00
cls%seawood.org
12a183cce9 On BeOS, leave the stub libraries loaded as future versions of the BeOS kernel may unload the real libraries otherwise.
Thanks to Josh Soref <timeless@mac.com> for the patch.
Bug #83875 r=wtc,cls


git-svn-id: svn://10.0.0.236/trunk@100913 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-13 08:05:34 +00:00
cls%seawood.org
03b8be7f5d Adding --enable-strip option.
Bug #88045 r=wtc sr=waterson


git-svn-id: svn://10.0.0.236/trunk@100888 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-12 03:42:42 +00:00
wtc%netscape.com
c1accb1d8d Bugzilla bug #92810: increment or decrement the hashtable shift counter
only after we have successfully allocated the new buckets.  The patch
is from Brendan Eich.


git-svn-id: svn://10.0.0.236/trunk@100476 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 05:36:22 +00:00
larryh%netscape.com
b7c675fcf4 Bugzilla: 92610. Mozilla on MacOS crashes in plarena
git-svn-id: svn://10.0.0.236/trunk@99974 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 20:34:04 +00:00