Commit Graph

860 Commits

Author SHA1 Message Date
wtchang%redhat.com
7c5c0d890b Bugzilla Bug 357333: upgraded to NSPR 4.6.4.
approved for 1.8 branch, a=dveditz for drivers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@215521 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 01:54:56 +00:00
wtchang%redhat.com
b23481b7c9 351470: setuid root programs linked with NSPR allow elevation of privilege.
patch #1. r=nelson, sr=wtc
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209796 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 23:14:26 +00:00
wtchang%redhat.com
f7910af7ba 351470: setuid root programs linked with NSPR allow elevation of privilege.
r=nelson, sr=wtc
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209794 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 23:13:44 +00:00
wtchang%redhat.com
17056389b8 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. a=dbaron.
Modified files: prsystem.h prsystem.c
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202191 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 22:35:16 +00:00
wtchang%redhat.com
a4b56e47e6 Bugzilla Bug 326168: Windows NT 3.51 doesn't support CP_UTF8 either, so
having Unicode support doesn't imply having CP_UTF8 support. The patch is
contributed by neil@parkwaycc.co.uk <neil@httl.net>. r=wtc,darin a=mtschrep
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202186 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 22:13:42 +00:00
wtchang%redhat.com
e03f6fcabf Bugzilla Bug 340956: when emulating PR_APPEND, we should use PR_Seek64
instead of PR_Seek, otherwise it won't work on large files.  The patch is
contributed by Nils Maier <MaierMan@web.de> and Masatoshi Kimura (:emk)
<VYV03354@nifty.ne.jp>. r=wtc.  Thanks to Nils Maier for tracking down the
bug.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@199668 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-11 03:03:50 +00:00
wtchang%redhat.com
8551b30c96 Bugzilla Bug 326168: fixed an allocation size bug. The patch is
contributed by neil@parkwaycc.co.uk. r=wtc.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194196 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 00:36:54 +00:00
wtchang%redhat.com
9f06caf793 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.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194166 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 20:06:08 +00:00
wtchang%redhat.com
4c0ff23f15 fixes bug 326168 "Add a UTF-16 API to load a library" patch by
jshin1987@gmail.com r=wtc,darin.
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.
Modified Files: prlink.h prtypes.h _win95.h prlink.c w95io.c win32_errors.c
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193630 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 21:44:01 +00:00
gerv%gerv.net
689b3de0e7 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193305 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 07:56:54 +00:00
wtchang%redhat.com
40072f3d32 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
Modified Files: ntio.c w95io.c
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190610 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 22:42:30 +00:00
wtchang%redhat.com
8fa539bd40 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.  See bug 307527 for approval-branch-1.8.1+.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189900 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 23:24:45 +00:00
wtchang%redhat.com
2fb794033c Bugzilla bug 326110: declare PR_SetSysfdTableSize and PR_GetSysfdTableMax
with NSPR_API and use PR_IMPLEMENT with their definitions 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.
Modified Files: probslet.h prfile.c ptio.c
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189332 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 19:22:05 +00:00
wtchang%redhat.com
463969cf41 Bugzilla bug 195219 and bug 312199: ported the HP-UX IPF (ia64) changes to
the MOZILLA_1_8_BRANCH. a=dveditz for approval1.8.1.
Modified files: configure configure.in _hpux.h
Added file: os_HPUX_ia64.s


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189326 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 18:53:12 +00:00
wtchang%redhat.com
102ac40d11 Bugzilla Bug 307527: second attempt to check in the fix.
Modified files: pr/src/Makefile.in ntinrval.c
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189325 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 18:50:29 +00:00
wtchang%redhat.com
27ef220b0e Bugzilla Bug 307527: backed out the previous checkin because Mozilla
tinderboxes did not rerun configure to regenerate pr/src/Makefile.
Modified files: pr/src/Makefile.in ntinrval.c
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189287 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 03:37:03 +00:00
wtchang%redhat.com
67b1cabb29 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
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189283 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 02:17:24 +00:00
gerv%gerv.net
d843bf0f26 Bug 236613: change to MPL/LGPL/GPL tri-license. a=caillon.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188846 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:41:27 +00:00
kaie%kuix.de
36309ae783 bug 322427, remove -ansi when compiling NSPR with gcc on Linux, because it's not needed and causes failures
r=kengert/wtchang, a=wtchang


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188611 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 21:43:31 +00:00
joshmoz%gmail.com
dbf4ec7d14 atomic ops for Intel Macs. b=322287 r=mento sr=wtc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187262 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 22:20:45 +00:00
mark%moxienet.com
a3e59ba6e0 302212 Mac OS X x86 and Xcode 2.2/gcc 4.0.1 builds can't target SDKs. Use -isysroot and -Wl,-syslibroot with gcc 4.0.0, -isysroot only with gcc 4.0.1. Core r=josh r=cls sr=bryner, NSPR and NSS r=josh sr=wtchang, all portions a=bsmedberg for 1.8.1 and 1.8.0.1.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@186984 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 15:40:18 +00:00
darin%meer.net
668be4f6c0 fixes bug 308587 "PR_GetPhysicalMemorySize returns garbage on systems with more than 2GB RAM" r=wtc a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180584 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 17:59:52 +00:00
wtchang%redhat.com
e110c6c6db Bugzilla Bug 304526: upgraded the NSPR on the MOZILLA_1_8_BRANCH to NSPR
4.6.1 Beta. a=cbeard for mozilla1.8b4.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178174 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:26:03 +00:00
(no author)
f7df88887e This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177651 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 19:01:32 +00:00
wtchang%redhat.com
baa7ba35a1 Bugzilla bug 303345: restored the SYM_OFFSET macro to make the code easier
to understand.  Suggested by Simon Fraser.


git-svn-id: svn://10.0.0.236/trunk@177343 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 18:37:13 +00:00
wtchang%redhat.com
ae5dba3a4a Use #ifdef XP_MACOSX as a shorthand for #if defined(XP_MACOSX).
git-svn-id: svn://10.0.0.236/trunk@177203 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 00:11:34 +00:00
wtchang%redhat.com
3a5bb7eb70 Bugzilla Bug 303345: just use c2pstrcpy directly. This patch is
contributed by Mark Mentovai <mark@moxienet.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@177201 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 00:05:09 +00:00
wtchang%redhat.com
55379e33fc Bugzilla Bug 303345: removed support for XP_MAC (Mac OS Classic). The
patch is contributed by Josh Aas <joshmoz@gmail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@177195 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 23:38:30 +00:00
wtchang%redhat.com
c5a28ecd74 Bugzilla Bug 298612: ensure that the return value of StringGetChar, which
is passed to isspace, etc., is EOF or between 0 and 255. r=darin.


git-svn-id: svn://10.0.0.236/trunk@177193 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 22:44:06 +00:00
wtchang%redhat.com
f75c559542 Bugzilla Bug 298674: checked in the remaining changes for the RISC OS port.
The patch is contributed by Peter Naulls <peter@chocky.org>. r=wtc
Modified Files: _pth.h _riscos.cfg _riscos.h prmem.c prsystem.c


git-svn-id: svn://10.0.0.236/trunk@176399 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 18:22:54 +00:00
wtchang%redhat.com
18c6b69164 Bugzilla Bug 298674: initial checkin of the RISC OS port contributed by
Peter Naulls <peter@chocky.org>. r=wtc.
Modified files: configure configure.in _pth.h prosdep.h prlink.c
                prmem.c unix.c uxrng.c prsystem.c ptio.c ptthread.c
Added files: _riscos.cfg _riscos.h riscos.c


git-svn-id: svn://10.0.0.236/trunk@175501 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 22:26:37 +00:00
wtchang%redhat.com
bf6cbf166c Fixed spelling errors in comments.
git-svn-id: svn://10.0.0.236/trunk@175498 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 21:08:34 +00:00
wtchang%redhat.com
6f688eb530 Fixed spelling errors in comments.
git-svn-id: svn://10.0.0.236/trunk@175497 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 21:01:40 +00:00
wtchang%redhat.com
2ce9dce99e Bugzilla Bug 298543: eliminated MACOS_DEPLOYMENT_TARGET. Replaced the
env var by MACOSX_DEPLOYMENT_TARGET and the macro by
MAC_OS_X_VERSION_MIN_REQUIRED. The patch is contributed by Mark Mentovai
<mark@moxienet.com>. r=wtc.
Modified files: configure configure.in _darwin.h prdtoa.c prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@175448 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 01:19:30 +00:00
wtchang%redhat.com
26795580b4 Bugzilla bug 298462: removed unused definition of the _PRSockOptVal_t
macro.  The patch is contributed by Patrick Welche <pw-fb@newn.cam.ac.uk>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@175025 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 00:13:04 +00:00
cls%seawood.org
448f178000 Use dashes instead of backslashes for program options to avoid msys shell expansion.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls a=shaver


git-svn-id: svn://10.0.0.236/trunk@173906 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 14:28:35 +00:00
wtchang%redhat.com
a293b7ad23 Bugzilla bug 294955: allow the "primordial" thread (the thread that
initialized NSPR) to terminate while NSPR is still in use. r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@173780 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-26 02:27:51 +00:00
wtchang%redhat.com
0a6468f30c Bugzilla bug 293400: removed an extraneous blank line introduced in the fix
for Bugzilla bug 292899. This blank line broke OS/2 builds.  The patch is
contributed by Andy Willis <abwillis@comcast.net>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@173219 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-09 19:02:20 +00:00
bryner%brianryner.com
3a37659410 Attempting to fix AIX bustage again (bug 292899). r=wtc
git-svn-id: svn://10.0.0.236/trunk@173172 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-07 07:15:39 +00:00
bryner%brianryner.com
58ff1db280 Fixing AIX bustage (typo) (bug 292899)
git-svn-id: svn://10.0.0.236/trunk@173125 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-06 20:35:58 +00:00
bryner%brianryner.com
05490950be Add PR_GetPhysicalMemorySize to determine the amount of system memory installed (bug 292899). r=wtc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@173118 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-06 18:46:11 +00:00
wtchang%redhat.com
155828e90b Bugzilla Bug 269591: use the poll prototype in current OpenBSD releases.
git-svn-id: svn://10.0.0.236/trunk@172903 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-30 00:19:33 +00:00
wtchang%redhat.com
4b867d6ca5 Bugzilla Bug 273336: Checked in Brian Ryner's patch:
Add support for using gcc's visibility pragma to treat all function and
method declarations as "hidden" unless declared otherwise.  Create wrappers
for system headers that cause them to be treated as default-visibility
declarations.  This gives a substantial code size and performance win on
compilers that support it.  r=darin sr=dbaron.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk pr/include/prtypes.h
	pr/src/md/unix/uxproces.c pr/tests/sel_spd.c
Added Files:
	config/gcc_hidden.h config/make-system-wrappers.pl
	config/system-headers


git-svn-id: svn://10.0.0.236/trunk@172884 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 21:02:55 +00:00
wtchang%redhat.com
ef4b969186 Bugzilla Bug 291724: removed the workaround for a very old Windows NT 4.0
bug. The workaround modified _tzset related global variables in Microsoft
CRT directly and relied on undocumented properties of the buffers that
_tzname[0] and _tzname[1] point to.  r=darin.
Modified files: ntmisc.c ntthread.c w95thred.c


git-svn-id: svn://10.0.0.236/trunk@172845 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:54:51 +00:00
wtchang%redhat.com
2243460c04 Bugzilla Bug 291982: fixed a bug when we remove an item from a list
while iterating through the list.  The bug was reported and tracked down by
kamil@good.com.


git-svn-id: svn://10.0.0.236/trunk@172841 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:37:25 +00:00
julien.pierre.bugs%sun.com
67faaabe01 Fix for bug 170911 - add support for >2GB files on OS/2. r=mkaply, pedemonte
git-svn-id: svn://10.0.0.236/trunk@172622 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 21:16:11 +00:00
wtchang%redhat.com
16cb492cb0 Bugzilla Bug 287197: undo the damage of rev. 3.2. Comments must begin
with "//", not "/".


git-svn-id: svn://10.0.0.236/trunk@171004 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-22 21:27:30 +00:00
wtchang%redhat.com
85aa04fb7d Bugzilla Bug 238563: added a comment that Nelson suggested in code review.
git-svn-id: svn://10.0.0.236/trunk@170807 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 23:21:11 +00:00
wtchang%redhat.com
1cb3817951 Bugzilla Bugs 255633, 285934: '-' must be the first or last character in
a scanlist, otherwise some implementations may interpret it to mean a
range of characters.  Thanks to Frank Wein <bugzilla@mcsmurf.de> for the
bug report and suggesting the fix.


git-svn-id: svn://10.0.0.236/trunk@170655 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-14 21:40:15 +00:00
wtchang%redhat.com
40b72bb4ab Bugzilla Bug 238563: removed PR_ASSERT from pr_ZoneRealloc because it is
redundant with the DEBUG fprintf.  (Darin Fisher of Google pointed out this
problem in his code review.)


git-svn-id: svn://10.0.0.236/trunk@170644 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-14 18:32:02 +00:00