122 Commits

Author SHA1 Message Date
ben%bengoodger.com
f3b8347b11 bug 234910 - crash exiting mozilla after installing an XPI
make the xpinstall manager a weak observer by inheriting from nsSupportsWeakReference - prevents xpinstall manager from lingering around until the app shuts down long after its usefulness has expired.
r=danm, sr=dveditz, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@153931 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-13 00:25:34 +00:00
brade%comcast.net
c77f1eb679 removed unused nsCOMPtr; r/sr=tor
git-svn-id: svn://10.0.0.236/trunk@153532 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 19:36:27 +00:00
ben%bengoodger.com
6494975f04 227796 - XPInstall InstallTrigger API changes - add a parameter to the install js object that supports an icon, also make the install FE parameterizable via a pref. r=bsmedberg, dveditz.
230768 - add the ability to make a window flash only a certain number of times in the taskbar. dom stuff r/sr=jst, widget changes r=danm, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@152640 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 03:46:30 +00:00
jst%mozilla.jstenback.com
856b84852f Fixing bug 231049. Removing unused member nsXPInstallManager::mStringBundle. r=dougt@meer.net, sr=alecf@flett.org.
git-svn-id: svn://10.0.0.236/trunk@151406 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 04:09:39 +00:00
timeless%mozdev.org
067ed6485f Bug 174218 nsXPInstallManager::ConfirmChromeInstall leaks return from nsTextFormatter::smprintf
r=dveditz sr=bz


git-svn-id: svn://10.0.0.236/trunk@146708 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 01:52:52 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
ssu%netscape.com
f666231373 fixing bug 125106 - general nsIFile converter change hosed XPInstall intl filenames. r=dveditz, sr=alecf, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141964 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 06:49:04 +00:00
dougt%netscape.com
33d896a488 Fixing Signing bustage. r=darin, sr=dveditz, a=drivers, b=192005, c=+-(a^2+b^2)^.5
git-svn-id: svn://10.0.0.236/trunk@137467 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 03:33:18 +00:00
dbaron%dbaron.org
d5a9c890d5 Fix crash (bug 189514) by refixing bug 187297 correctly: make nsXPInstallManager's QueryInterface method succeed for nsPICertNotification. b=189514 r=timeless sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@136641 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 20:01:23 +00:00
darin%netscape.com
2b1d90b6ed modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
0f7567ac4d Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136032 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 00:08:53 +00:00
dougt%netscape.com
6528d5a8ef Fixing race on creating a unique file name. This race, which existed forever, caused installing 2 xpis simultaneously to fail. r=ssu, sr=dveditz, b=186038.
git-svn-id: svn://10.0.0.236/trunk@135599 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-23 22:18:54 +00:00
dougt%netscape.com
c57ad9b1ea Implementing XPInstall Signing. sr=dveditz, r=mstoltz, b=178687
git-svn-id: svn://10.0.0.236/trunk@135374 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 00:59:42 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
antonio.xu%sun.com
6e54672f56 replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
Bug 158608 r=Henry sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127252 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:39:03 +00:00
henry.jia%sun.com
4621f3c504 2nd patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@126441 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:11:23 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
dprice%netscape.com
c662b56b44 130428 r=syd sr=dveditz
xpi's triggered with query strings now work on win32


git-svn-id: svn://10.0.0.236/trunk@119601 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 04:24:05 +00:00
darin%netscape.com
ac7b15ca02 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@117526 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:33:19 +00:00
darin%netscape.com
67cf8f6205 backing out changes (for bug 116365) to fix btek page-loader crash.
git-svn-id: svn://10.0.0.236/trunk@117473 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 08:47:10 +00:00
darin%netscape.com
9df715a8b7 fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@117469 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:54:07 +00:00
dveditz%netscape.com
f1b6a4a557 Embeddable XPI landing, including bugs 76424, 83702, 88757, 97691, 98458, 105083, 105085, 113149,124467,124470 r=syd (and others) sr=alecf, a=drivers
git-svn-id: svn://10.0.0.236/trunk@117303 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 12:14:51 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
dprice%netscape.com
08a61fb578 r=dveditz sr=mscott fixes 105781
-checking for a null channel where there should not be one


git-svn-id: svn://10.0.0.236/trunk@108472 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 09:13:37 +00:00
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
dougt%netscape.com
5e324a95a2 removes a printf. r=syd
git-svn-id: svn://10.0.0.236/trunk@104855 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:45:01 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
alecf%netscape.com
2fc2f3f6c5 remove xpinstall's dependency on nsIAppShellComponent*.h
sr=sfraser bug 76339


git-svn-id: svn://10.0.0.236/trunk@103718 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 14:56:47 +00:00
darin%netscape.com
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
dveditz%netscape.com
23b2a8c988 topcrash 85307 installing JRE; r=ssu,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@99357 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 23:56:33 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
syd%netscape.com
53189852c9 Fix for 76943. r=ssu, sr=mscott, a=asa (drivers@mozilla.org)
The problem being fixes is the progress meter UI will not display when we are dowloading
XPI files from the net (see bug report for more details). We were throttling the update
of progress bar based on some interval being exceeded. The problem is/was that sometimes
the XPI is downloaded faster than the specified interval (a series of these renders the
progress bar "dead", and the user has no feedback UI as to what is happening). It is not
entirely clear that the time interval computation is correct to being with. The safe thing
to do here is to simply let the UI update whenever necko invokes our progress callback,
and dispense with the throttling. This results in a smooth UI update and has minimal
performance sideaffects (we are limited more by the network I/O and disk writes that the
progress bar UI update).


git-svn-id: svn://10.0.0.236/trunk@96037 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 00:46:16 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
valeski%netscape.com
8deb3b45a4 mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332
git-svn-id: svn://10.0.0.236/trunk@93306 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:30:24 +00:00
dveditz%netscape.com
f4e8a362b7 Re-fixing bug 7022 (Install.buildID). "2001040506" needs to be a double,
doesn't fit in a javascript int.


git-svn-id: svn://10.0.0.236/trunk@92556 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 13:13:24 +00:00
shaver%mozilla.org
8a65cf3329 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@91976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:23:13 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
danm%netscape.com
0518fc668b unbuilding deprecated prompt files (cleaning up my mess)
git-svn-id: svn://10.0.0.236/trunk@91732 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 04:52:46 +00:00
danm%netscape.com
b49205d089 commondialog service is being replaced by promptservice. bug 72112 continues
git-svn-id: svn://10.0.0.236/trunk@91720 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 01:35:41 +00:00
rickg%netscape.com
75bb2ffbb9 preloader update. r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91193 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:58:59 +00:00
dougt%netscape.com
21f01836f0 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89380 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:41:28 +00:00
dbragg%netscape.com
375db8cd33 Preventing multiple shutdowns of nsXPInstallManager to fix bug #51098. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87692 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:26:47 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
dbragg%netscape.com
e7b1cabf70 Now closing the download dialog if Cancel is clicked. Fix for bug 58573. r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86953 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:42:11 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00