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

38 Коммитов

Автор SHA1 Сообщение Дата
David Keeler 92df52cb41 bug 1382749 - remove the "old way" of signing add-ons r=aklotz,mossop
In particular, this removes the nsIZipReader.getSigningCert API.

MozReview-Commit-ID: JPSz0pvsA5n

--HG--
extra : rebase_source : 91165a8eb56c71e90eaa85ae748203f651df09c3
2017-07-19 13:09:46 -07:00
Haik Aftandilian 97420c053a Bug 1376496 - Part 2 - Don't request FD from parent when JAR file is cached. r=mayhemer
MozReview-Commit-ID: 6xooCVnBehj

--HG--
extra : rebase_source : e8045206d5b5196d26109967966d91476470b058
2017-07-21 15:19:09 -07:00
Shian-Yow Wu e696b31466 Bug 1069081 - Part 1: Always cache fd in JAR cache except Windows. r=mwu 2015-07-30 16:05:57 +08:00
Jed Davis c6383f1944 Bug 1034143: Step 2b: Add the ability to read jar files from arbitrary memory. r=honzab r=jduell 2015-03-10 17:00:01 -07:00
Giovanni Sferro ccbb9be8bc Bug 1050518 - Remove nsICertificatePrincipal. r=keeler 2014-09-10 20:31:00 -04:00
Shian-Yow Wu ce46456625 Bug 988816 - Allow to keep file descriptor in JAR cache. r=aklotz, jduell 2014-07-18 10:46:24 +08:00
Dave Townsend e04607ac02 Bug 921227: Expose the zip entry permissions in nsIZipEntry. r=taras 2013-10-11 09:47:15 -07:00
Cykesiopka 43aafa5985 Bug 387096 - Update nsIZipEntry.close() documentation. r=Yoric 2013-03-08 08:30:13 -05:00
Jason Duell 1403709ff4 Bug 815523 - Remote the app: and jar: protocols. r=fabrice,mwu,jdm 2012-12-22 05:56:21 -08:00
Bobby Holley 10241f928c Bug 789224 - Separate certificate principals out from CAPS. r=dveditz
There's no longer any reason why "certificate principals" need to be principals at all.
I tried to rip them out entirely, but it looks like they're still used vestigially at XPI
install time to display author information. But there's no reason that they have to be
porkbarreled into the security-critical objects that we pass around all over the place.
So let's make them their own deal.

I was tempted to call them "certificate holders", but that would involve renaming methods and
cause more compat fuss than necessary.

--HG--
rename : caps/idl/nsISignatureVerifier.idl => security/manager/ssl/public/nsISignatureVerifier.idl
2012-10-22 08:29:56 +02:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Wolfgang Germund 80c37cdd5a Bug 296795: ZipReader doesn't handle non-ASCII characters r=taras 2011-09-28 16:14:45 -07:00
Michael Wu d0ae6e2d03 Bug 533038 - 4. Fully support reading jars inside jars, r=taras a=blocking-beta6 2010-09-08 20:38:34 -07:00
Makoto Kato 340544f021 Bug 346010 - Decom nsIJAR by merging it into nsIZipReader. r=tglek, sr=bsmedberg 2010-03-07 22:56:45 +09:00
gavin%gavinsharp.com c877f957f2 Bug 337561: Merge nsJARDirectoryInputStream into nsJARInputStream, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=darin 2006-10-10 13:24:57 +00:00
gavin%gavinsharp.com 9cd66c5f4d back out bug 337561 2006-09-24 16:23:31 +00:00
gavin%gavinsharp.com 461618d03d Bug 337561: Merge nsJARDirectoryInputStream into nsJARInputStream, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=darin 2006-09-24 15:13:57 +00:00
darin%meer.net 4a94571cee fixes bug 214672 "Further optimization and correctness improvements of libjar: streamlining nsJarInputStream" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=jwalden, sr=darin 2006-05-02 19:33:09 +00:00
mozilla.mano%sent.com ca31c9047a Bug 269813 - document the fact that getZip returns an open zipreader. patch by Nickolay Ponomarev <asqueella@gmail.com>, r=darin, sr=bz. 2006-04-15 13:59:31 +00:00
jwalden%mit.edu ac773c0354 Bug 309296 - RFE: directory listing for jar:. r=darin, sr=bzbarsky 2006-03-29 22:10:37 +00:00
gerv%gerv.net 8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
mstoltz%netscape.com 6ddb173736 bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver 2001-02-23 00:15:04 +00:00
sgehani%netscape.com 6d76941848 Add ZIP_TestArchive support for CRC32 verification of all or individual items.
b = 61544
 r = dveditz
sr = alecf
2000-12-27 07:05:55 +00:00
dprice%netscape.com de7e1ea92f fixing the zipcache R=warren 2000-08-23 03:18:53 +00:00
mstoltz%netscape.com a8545c4aed Fixing 40159 and 44822, both [nsbeta2+] regressions on signed scripts. r=sgehani 2000-07-12 03:10:33 +00:00
mstoltz%netscape.com 74488c46a3 Removed dependency of libjar on psm-glue, bug 36853. Fixed out parameter type problem in PSMComponent::HashEnd 2000-05-10 01:49:33 +00:00
mstoltz%netscape.com 9bb975256e Fixes for 27010, 32878, and 32948. 2000-04-26 03:50:07 +00:00
mstoltz%netscape.com 57feeae5ec Backing out changes until I can figure out why it's crashing on startup. 2000-04-23 21:25:39 +00:00
mstoltz%netscape.com 62bffdd26e Fixes for bugs 27010, 32878, 32948. 2000-04-23 20:30:29 +00:00
warren%netscape.com 2979b9b4c6 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code. 2000-04-12 07:58:24 +00:00
norris%netscape.com 2d0fe2def4 Added signed script support in Mozilla. bug=7270 r=norris (this is mstoltz's checkin) 2000-03-21 04:21:28 +00:00
mstoltz%netscape.com 8df8c26172 Crasher fixes and optimizations to jar signature verification. bug=7270 r=norris 2000-02-14 01:57:01 +00:00
mstoltz%netscape.com a5072b2c43 Implementation of JAR manifest parser, part of signature verification for signed scripts. bug=7270 r=norris 2000-01-29 00:03:57 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
warren%netscape.com fb7ad57ff3 Added 1999-11-11 05:21:38 +00:00