98 Commits

Author SHA1 Message Date
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
dougt%netscape.com
7af79c83df 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.

The full details of the change on written up in the netlib newsgroup.

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


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
dbragg%netscape.com
db92cd9458 Fix for bug 51816. No longer setting max value in progess meter and initializing mLastUpdate to PR_Now. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82860 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 18:57:55 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
dbragg%netscape.com
7dbb9e2619 Fix for bug 52827. Getting the parent window and passing it to the alert and confirm dialogs. r=dveditz, law a=law (I used the old appproval list).
git-svn-id: svn://10.0.0.236/trunk@79664 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:12:03 +00:00
dveditz%netscape.com
6af0e3663a Bug 32867 XPInstall API cleanup, r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79320 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:45:03 +00:00
dbragg%netscape.com
3726fcb21f Fix for bug 50942. Now I get the parent from the JScontext instead of the hidden window. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79142 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:52:56 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
dbragg%netscape.com
600e722352 Fix for bug 50234. Added titlebar to the chrome flags. r=ssu
git-svn-id: svn://10.0.0.236/trunk@77495 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:15:41 +00:00
warren%netscape.com
f29b00bbe4 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
ccarlen%netscape.com
a759366439 Convert use of nsIFileLocator to nsIDirectoryService.
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@76831 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:45:19 +00:00
conrad%ingress.com
a2cf6be101 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76139 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:31:57 +00:00
warren%netscape.com
997161d193 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
dveditz%netscape.com
dd855dbc43 fixing mac long-long bustage
git-svn-id: svn://10.0.0.236/trunk@74430 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 01:53:43 +00:00
dveditz%netscape.com
0eac386724 Bug 42548 approximate 6x XPInstall performance improvement, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@74416 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:46:00 +00:00
dougt%netscape.com
bf15c34b53 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.


git-svn-id: svn://10.0.0.236/trunk@73129 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:03:10 +00:00
valeski%netscape.com
6ccd64e40a 41110. nsIWebshellWindow erradication. removing extraneous usage.
git-svn-id: svn://10.0.0.236/trunk@71277 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:54:16 +00:00
warren%netscape.com
1958638f6c Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse
git-svn-id: svn://10.0.0.236/trunk@69998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:35:23 +00:00
dveditz%netscape.com
3fa5174d39 Skin/Locale installer (bug 32688) and groundwork for bug 32689
git-svn-id: svn://10.0.0.236/trunk@68362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:23:11 +00:00
dougt%netscape.com
ff1dd2ab65 Fixing tree blocker. nsInstallFolder did not return an error code when
it could not initialize itself.  This caused crashes and return values which
were not correct.  I also fixed a huge about of memory leaks for allocation
of strings that were never freed.  r=dveditz, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@67001 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:23:44 +00:00
dveditz%netscape.com
a84476f045 First cut at chrome install
git-svn-id: svn://10.0.0.236/trunk@66978 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 13:53:38 +00:00
dbragg%netscape.com
3dbf15e9a0 Fix for bug 24984, conversion to use nsIFile and related ilk.
git-svn-id: svn://10.0.0.236/trunk@66730 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 18:58:41 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00