807 Commits

Author SHA1 Message Date
dveditz%cruzio.com
c18c6634a8 Don't block onload xpinstall, site whitelisting does the job (bug 271567).
Required to fix bugs 295058 and 300114. r=dougt, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@179525 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 01:02:28 +00:00
bryner%brianryner.com
ead7dadb1b Actually read up to 32KB of a XPI to look for a signature, instead of requiring the whole thing to be in the first chunk of data available. Bug 306354, r+sr=darin.
git-svn-id: svn://10.0.0.236/trunk@179382 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 05:12:52 +00:00
dougt%meer.net
82970c141f Fixing bustage. I checked in the patch from the bug, and not my local diff
git-svn-id: svn://10.0.0.236/trunk@179032 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 07:12:58 +00:00
dougt%meer.net
94085e172f Bug 302284. add xpi hash support to InstallTrigger.install(). r=dveditz, sr=shaver, a=asa
git-svn-id: svn://10.0.0.236/trunk@179031 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 06:46:21 +00:00
dougt%meer.net
cde8a3d6dd nsXPInstallManager::OnDataAvailable may consume more data than expected. b=300115. r=darin. sr=dveditz. a=asa
git-svn-id: svn://10.0.0.236/trunk@178188 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 19:01:38 +00:00
timeless%mozdev.org
bfb109b57a Bug 303654 InstallTrigger.install(null) crashes [@ JS_Enumerate]
patch by shutdown@flashmail.com r=dveditz sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@177847 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 16:31:36 +00:00
pete%mozdevgroup.com
1678590d85 b=291178
InstallTrigger.getVersion gone in Firefox 1.0.3
r=timeless
sr=dveditz
--pete


git-svn-id: svn://10.0.0.236/trunk@177604 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 22:41:31 +00:00
bugzilla%standard8.demon.co.uk
24b729ea73 Bustage fix for previous checkin (sorry) Bug 287540 - (Bv1) <nsXPInstallManager.cpp>.
git-svn-id: svn://10.0.0.236/trunk@176880 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:10:35 +00:00
bugzilla%standard8.demon.co.uk
e8be40d6d2 Bug 287540 Fix various _C++_ compiler warnings from my Windows non-debug build - (Bv1) <nsXPInstallManager.cpp>. Patch by Serge Gautherie <gautheri@noos.fr> r+sr=dveditz,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176877 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 19:37:45 +00:00
bzbarsky%mit.edu
354647c8df Expose the subject name for the cert and an nsISupports pointer to the cert on
nsIPrincipal that represents a certificate principal.  Change preference
storage to ensure matches in not only the fingerprint but also the subjectName
before applying privileges from preferences to a certificate principal.  Remove
possibility for creating certificate principals without a useful identifying
name and make sure that names don't get munged by being forced to ASCII.  Bug
240661, r=caillon, sr=dveditz, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176458 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 19:05:42 +00:00
timeless%mozdev.org
4d0b760602 Bug 295854 (new InstallVersion()).compareTo(/x/) crashes [@ConvertJSValToObj]
handle null
r=dveditz sr=dveditz a=jay


git-svn-id: svn://10.0.0.236/trunk@175773 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 18:47:50 +00:00
dougt%meer.net
194f3ed612 Fixes 293331. r=dveditz, sr=jst, a=chase
git-svn-id: svn://10.0.0.236/trunk@175669 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 01:31:21 +00:00
bsmedberg%covad.net
916e67370a Bug 295680 - extension should not install when chrome registration fails - patch by Robert Strong <rob_strong@exchangecode.com>, r+a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175289 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 13:58:16 +00:00
dveditz%cruzio.com
8f4a8c06a9 bug 298054: fix xpinstall eval() crash. Thanks to shutdown and Mnyromyr for pointing out the flaw and the patch, r=timeless, sr=dveditz, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@175020 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 21:37:25 +00:00
timeless%mozdev.org
a961540bb0 Bug 295854 (new InstallVersion()).compareTo(/x/) crashes [@ConvertJSValToObj]
Marking JSCLASS_PRIVATE_IS_NSISUPPORTS on InstallVersionClass
remove extra definitions of ConvertJSValToObj to prevent confusion
r=dveditz sr=dveditz a=dveditz


git-svn-id: svn://10.0.0.236/trunk@174697 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 11:09:27 +00:00
timeless%mozdev.org
489644e56a Bug 295854 (new InstallVersion()).compareTo(/x/) crashes [@ConvertJSValToObj]
r=dveditz sr=dveditz a=dveditz


git-svn-id: svn://10.0.0.236/trunk@174679 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 04:46:36 +00:00
timeless%mozdev.org
6f0bfe9a31 Bug 208909 compreg.dat protection problem [OpenVMS status is decimal 114690]
lock down permissions and sanitize with comments
r=dougt sr=dveditz a=asa


git-svn-id: svn://10.0.0.236/trunk@174413 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 17:32:48 +00:00
bsmedberg%covad.net
449e57d779 Bug 295013 - installing the same theme a second time, or uninstalling a theme you just installed fails - patch by Robert Strong <moz_bugzilla@exchangecode.com> r=me a=shaver
git-svn-id: svn://10.0.0.236/trunk@174061 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 14:37:50 +00:00
vladimir%pobox.com
dc39365bf1 b=274271, blocked install notification bar does not appear when clicking on InstallTrigger link; patch from moz_bugzilla@exchangecode.com, r+sr=dveditz,a=asa
git-svn-id: svn://10.0.0.236/trunk@173728 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-24 04:32:41 +00:00
dveditz%cruzio.com
7792b0edf7 bug 292691 plug IconURL and history.back() XSS exploits fixed in firefox 1.0.4
docshell patch by jst, r=bz,brendan;sr=dveditz,shaver;a=asa
xpinstall patch by dveditz and vlad; r=vlad,jst; sr=jst,shaver; a=asa


git-svn-id: svn://10.0.0.236/trunk@173419 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 23:08:09 +00:00
jst%mozilla.jstenback.com
1a6d8dca6a Backing out last change that was intended for a branch, not the trunk.
git-svn-id: svn://10.0.0.236/trunk@173227 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-09 21:22:33 +00:00
jst%mozilla.jstenback.com
abf029b52d Fixing remaining part of bug 292691. Make sure to do the appropriate uri load checks in all places in the xpinstall code. Patch by vladimir@pobox.com and dveditz@cruzio.com, r=dveditz@cruzio.com, r=vladimir@pobox.com, sr=jst@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@173226 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-09 21:22:32 +00:00
timeless%mozdev.org
75dcfb3a0b Bug 286525 Installing / updating a theme creates a copy of the jar in the chrome directory
patch by moz_bugzilla@exchangecode.com r=bsmedberg a=asa


git-svn-id: svn://10.0.0.236/trunk@173192 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 18:11:39 +00:00
ben%bengoodger.com
3b79325273 286034 - allow extensions to be installed/uninstalled by simply adding/removing their directories... r=bsmedberg, sr=darin, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172633 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 01:39:51 +00:00
shaver%mozilla.org
bdb97e6bfb Bug 290312: FileOp methods can be called with a |this| of InstallClass or
FileOpClass nature, depending on which of the new or old API entry points
are used by a script.  Relax the native-instance checks appropriately, as
both types of object are stuffed with the same type of private data.
r+sr=brendan, a=chase.


git-svn-id: svn://10.0.0.236/trunk@172231 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 17:30:17 +00:00
brendan%mozilla.org
8623cdaea5 Fix Windows bustage.
git-svn-id: svn://10.0.0.236/trunk@172104 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 23:35:45 +00:00
brendan%mozilla.org
38e9997ef0 Type-check method calls on wrong class of object, required for hand-rolled JS natives (290162, r=dveditz/sr=shaver/a=drivers).
git-svn-id: svn://10.0.0.236/trunk@172098 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 22:22:55 +00:00
neil%parkwaycc.co.uk
396f6ded56 Bug 289726 Fix Install.patch crash p=mnyromyr@tprac.de r+sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@171923 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 12:10:36 +00:00
myk%mozilla.org
4ccf5b7bd9 Second fix for bug 271473: whitelists addons.mozilla.org not only for new profiles but for existing profiles too, unblocking server-side architectural improvements that are waiting for a version of Firefox which can install extensions from addons.mozilla.org; r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@171821 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 20:13:32 +00:00
cbiesinger%web.de
5d85d7ccaa bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property


git-svn-id: svn://10.0.0.236/trunk@171661 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 17:40:32 +00:00
timeless%mozdev.org
86a1b0bd09 Bug 287158 use requests in xpinstall so that defining JS_PARANOID_REQUEST does not result in CHECK_REQUEST killing the app because of xpinstall tasks
r=dveditz sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@171334 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 20:19:20 +00:00
bsmedberg%covad.net
e1d9da278a libxul step 4 - most of tier 50 (not PSM, and I may have forgotten a few things in toolkit/mozapps also) r=darin
git-svn-id: svn://10.0.0.236/trunk@170905 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 21:24:05 +00:00
bzbarsky%mit.edu
d1350f8017 Add the prompt-service contract to nsEmbedCID.h
git-svn-id: svn://10.0.0.236/trunk@170283 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 16:07:11 +00:00
bsmedberg%covad.net
b6fcc19b80 Bug 278534, try #2 - Make tooklit chrome registry use plaintext manifests instead of an RDF cache (get rid of contents.rdf!) r=darin/dveditz/ben
git-svn-id: svn://10.0.0.236/trunk@169615 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 21:49:45 +00:00
bsmedberg%covad.net
b28a40ed78 Backout bug 278534 due to tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@169510 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 01:47:13 +00:00
bsmedberg%covad.net
6a31331e77 Bug 278534 - Make a plaintext chrome registration file format to replace contents.rdf r/sr=darin+dveditz+ben
git-svn-id: svn://10.0.0.236/trunk@169492 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 15:35:36 +00:00
dveditz%cruzio.com
ed96a25047 bug 268059 hide URL user:pass in XPinstall dialogs, r/sr=dougt
git-svn-id: svn://10.0.0.236/trunk@169487 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 08:32:25 +00:00
dveditz%cruzio.com
155f8de0ef bug 273406 fix broken signed old-style installs (regression) r/sr=dougt
git-svn-id: svn://10.0.0.236/trunk@169374 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 11:52:24 +00:00
bzbarsky%mit.edu
e984af56b7 Some cleanup in nsInstallVersion. Bug 273726, patch by Tim Ruehsen
<tim.ruehsen@gmx.de>, r=bsmedberg, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@168965 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 05:37:01 +00:00
smontagu%smontagu.org
0a2f94bb65 Bug 216399: Allow custom button labels in xpinstall dialogs, patch by Jens Bannmann <jens.b@web.de>, r=cbiesinger/dveditz, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@168869 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-06 12:05:03 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
bryner%brianryner.com
f53f4446de Recreate .autoreg even if it already exists, so that we're sure the newer timestamp will trigger component registration on startup. Bug 279800, r=bsmedberg, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@168387 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 15:50:09 +00:00
timeless%mozdev.org
f35123d784 Bug 268331 WARNING creating file failed in NS_SoftwareUpdateRequestAutoReg
r=dveditz sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@167873 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 07:08:13 +00:00
cbiesinger%web.de
7a0cda61b9 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@167443 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-09 20:43:35 +00:00
bsmedberg%covad.net
d2c4aa852f Bug 272283 - initial work for --enable-libxul r=bryner+darin This is on by default for xulrunner and off by default for all other apps.
git-svn-id: svn://10.0.0.236/trunk@166350 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 22:39:54 +00:00
timeless%mozdev.org
9ef4e3b65d Bug 272688 Firefox crashes when clicking on any extension (xpi) link
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@166129 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 02:37:09 +00:00
ben%bengoodger.com
d564309a58 aviary branch landing: more bustage fixes for seamonkey, make sure extensions stub is built for seamonkey, and make sure SelectSkin is called on the right interface pointer.
git-svn-id: svn://10.0.0.236/trunk@166029 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 07:13:06 +00:00
ben%bengoodger.com
ebfea01228 fix build bustage (2) - close up scope properly.
git-svn-id: svn://10.0.0.236/trunk@166021 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 06:27:01 +00:00
ben%bengoodger.com
8d4a7ff64e fix bustage (1) - forgot to add extensions to REQUIRES
git-svn-id: svn://10.0.0.236/trunk@166020 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 06:23:59 +00:00
ben%bengoodger.com
70fb1d1ad8 aviary branch landing:
- xpinstall hooks for extension manager (242529, r=dveditz)
  (install.rdf read hook + stub extension manager implementation for seamonkey)
- xpinstall hooks for info bar (xpinstall whitelist UI)


git-svn-id: svn://10.0.0.236/trunk@166018 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 05:59:04 +00:00