847 Commits

Author SHA1 Message Date
gavin%gavinsharp.com
5be140c287 Bug 341161: nsXPInstallManager doesnt shutdown correctly, patch by Dave Townsend <mossop.bugzilla@blueprintit.co.uk>, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@203102 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 13:29:34 +00:00
gavin%gavinsharp.com
1dffa681d5 Bug 338028: Installing extensions accesses observer service from off-thread, patch by Dave Townsend <mossop.bugzilla@blueprintit.co.uk>, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@203100 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 13:27:50 +00:00
timeless%mozdev.org
6ac43b7cd8 Bug 336970 crash [@ InstallTriggerGlobalInstall] "JS_ValueToString" result dereferenced without NULL check
r=mrbkap sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@202135 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 11:41:43 +00:00
bzbarsky%mit.edu
d8b949deec Do the security check using the script's principal, not its URI. Bug 342489,
r+sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@200692 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:55:14 +00:00
gavin%gavinsharp.com
122611df42 Bug 336008: add missing error check, patch by Jon Smirl <jonsmirl@gmail.com>, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@200210 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-17 21:40:37 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
gavin%gavinsharp.com
2c9f2758e7 Bug 336010: fix bad error check, patch by Jon Smirl <jonsmirl@yahoo.com>, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@199132 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 16:57:12 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
timeless%mozdev.org
64538e7cd1 Bug 337917 Make consumers stop using cids from other modules
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@198972 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:28:13 +00:00
brendan%mozilla.org
a5577fd06a Fix ancient duplicated Install object global and "sub-global" prob exposed by recent JS engine assertion (336695, r/sr=dveditz).
git-svn-id: svn://10.0.0.236/trunk@198717 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 03:10:31 +00:00
igor%mir2.org
642c0ea402 Bug 338678: For source compatibility fields "uint16 extra,spare" in JSFunctionSpec are replaced by singe "uint32 extra". In this way we do need to update the current sources that list just 5 fields to include the additional ",0" corresponding to "spare" field. To quell GCC warnings all sources that list less then 5 fields of JSFunctionSpec are updated to explicitly list all 5 fields. r=mrbkap, s=brendan
git-svn-id: svn://10.0.0.236/trunk@198222 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 22:58:31 +00:00
darin%meer.net
715e62d44d follow-up patch for bug 338611 "xpinstall manager happily tries to install 404 pages" r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@198200 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 21:12:56 +00:00
darin%meer.net
7ef487e077 fixes bug 338611 "xpinstall manager happily tries to install 404 pages" r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@198198 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 21:09:17 +00:00
benjamin%smedbergs.us
c2a528db5f Bug 336004 - coverity report #456, resource leak - patch by Jon Smirl <jonsmirl@yahoo.com> r=me
git-svn-id: svn://10.0.0.236/trunk@198164 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 16:42:58 +00:00
ajschult%verizon.net
3bb50652bb Bug 336009: Return early on failure in nsXPInstallManager::ConfirmInstall (coverity 468). Patch by Jon Smirl <jonsmirl@yahoo.com>, r=bsmedberg, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@198071 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-20 06:43:04 +00:00
mkaply%us.ibm.com
ffc8cd8d57 #326273
r=mkaply, sr=mkaply (OS/2 only)
OS/2 changes from threading checkin - build bustage
Note OS/2 does not work after these changes, it just builds.
Need to look at nsAppShell


git-svn-id: svn://10.0.0.236/trunk@196387 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 14:56:43 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
8d9f96359d bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
benjamin%smedbergs.us
dd18a59c26 Bug 78081 - Don't export intermediate libraries, initial changes blanket-r=mento
git-svn-id: svn://10.0.0.236/trunk@195940 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 22:19:54 +00:00
darin%meer.net
78b4d016b3 fixes bug 214672 "Further optimization and correctness improvements of libjar: streamlining nsJarInputStream" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=jwalden, sr=darin
git-svn-id: svn://10.0.0.236/trunk@195829 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 19:33:09 +00:00
cls%seawood.org
7b54f3005e Fix mingw cross-compile & static build bustage
Bug #333941 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@194439 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 22:59:21 +00:00
gavin%gavinsharp.com
732a1bae24 Bug 333549: Unused variable tmpurl, patch by Ryan Flint <rflint@dslr.net>, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@194366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 23:41:29 +00:00
benjamin%smedbergs.us
fed096192c Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento
git-svn-id: svn://10.0.0.236/trunk@193694 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 14:23:38 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
jwalden%mit.edu
9c66ec0e1d Bug 309296 - RFE: directory listing for jar:. r=darin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193219 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 22:10:37 +00:00
benjamin%smedbergs.us
b19b6143dc Windows only has _snprintf, not snprintf
git-svn-id: svn://10.0.0.236/trunk@193073 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 22:13:55 +00:00
benjamin%smedbergs.us
7ec2fcfc80 Bug 214889 - remove nsFileSpec from xpinstall, patch by cls r=me
git-svn-id: svn://10.0.0.236/trunk@193063 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 20:21:22 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bryner%brianryner.com
256fd4c351 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin.
git-svn-id: svn://10.0.0.236/trunk@188104 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 19:22:02 +00:00
jst%mozilla.jstenback.com
f66c450de4 Fixing bug 324031. Make sure to do all the cleanup in all code paths. r=jonas@sicking.cc, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@187939 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 00:57:26 +00:00
dveditz%cruzio.com
1cc114cf64 bug 318618 avoid useless memcpy in uncompressed case, check for unknown compression methods, r/sr=dougt
git-svn-id: svn://10.0.0.236/trunk@187120 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 04:11:17 +00:00
mkaply%us.ibm.com
e9a502a02c #319203
r=bsdmedberg
Allow install.rdf to exist in an XPI for installer builds


git-svn-id: svn://10.0.0.236/trunk@185767 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 20:46:18 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
dveditz%cruzio.com
7ba28e0489 bug 315304 throw exception (return JS_FALSE) if we can't create the native object. r=dougt, sr=brendan, a=schrep
git-svn-id: svn://10.0.0.236/trunk@184255 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 19:58:28 +00:00
dveditz%cruzio.com
cea5fe43bc bug 304931 theme install prompt should obey whitelisting too; r=mconnor, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@182539 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 19:59:20 +00:00
bsmedberg%covad.net
4a67c9ab45 Bug 207521 - deprecate --enable|disable-shared, since --enable-static gives us all the information we need, r=cls
git-svn-id: svn://10.0.0.236/trunk@182373 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 14:57:32 +00:00
mats.palmgren%bredband.net
16edb76faf Fix compile warnings. b=311646 r=dveditz sr=benjamin
git-svn-id: svn://10.0.0.236/trunk@182332 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 15:52:26 +00:00
mrbkap%gmail.com
bc5a115157 bug 311952: xpinstall should use its own runtime, so its JS isn't bound by Gecko's JS invarients. r=dveditz sr=brendan
git-svn-id: svn://10.0.0.236/trunk@181996 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 18:04:05 +00:00
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