597 Commits

Author SHA1 Message Date
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
shaver%mozilla.org
823ae8572c 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing


git-svn-id: svn://10.0.0.236/trunk@89354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 20:43:02 +00:00
dbragg%netscape.com
9f95aaa3ec Fix for non-Unix bustage relating to MAX_FILENAME being undefined. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@89042 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:49:21 +00:00
dbragg%netscape.com
3267ad7bf2 Checking for file and directory names that may be too long for a given platform. Fixes bug 10147. r=deveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89006 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:25:17 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
dbragg%netscape.com
59cfea51bd Now stripping off trailing slashes and setting mFileSpec equal to nsnull when a bogus path
with double slashes is passed in.  Fixes bug 62861. r=dveditz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@88558 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 21:05:55 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
dbragg%netscape.com
30767e9d5a Translating Alert and Confirm to serve as titles in the alert and confirm dialog titlebars. r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88216 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:47:59 +00:00
sgehani%netscape.com
ee3057c3c0 Make async Install.execute() work again resoolving backward compatibility.
(Checking in for dbragg.)

b = 68356
r = sgehani, dveditz
sr = mscott


git-svn-id: svn://10.0.0.236/trunk@87793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 07:36:49 +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
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +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
b60b93d745 Fix for regression bug 69166. No longer checking return of MoveTo call and returning UNEXPECTED_ERROR. r=dvedtiz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87506 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:27:53 +00:00
dbaron%fas.harvard.edu
3e13ce2b2c Fix MOZ_TRACK_MODULE_DEPS bustage by adding dom to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@87405 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 00:57:23 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
dbragg%netscape.com
4a00098a6e Renaming temp files to .new or .old during installations so they don't get auto registered. Bug 67703. r=dveditz sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87103 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 19:03:34 +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
dprice%netscape.com
fe020ec48a 65845 first cut of the order files
git-svn-id: svn://10.0.0.236/trunk@86883 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:48:02 +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
leaf%mozilla.org
be0b7f9935 part of backout of dbragg, suggested dveditz, r=dbragg. bug 68001
git-svn-id: svn://10.0.0.236/trunk@86566 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 20:50:27 +00:00
leaf%mozilla.org
15b6ecfe34 backing out dbragg's changes to fix 68001, dveditz suggested, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@86565 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 20:46:15 +00:00
dveditz%netscape.com
d40645e347 bug 64835 r=ssu/sr=mscott: InstallTrigger.compareVersion() returning bad result
bug 11682 r=dbragg/sr=mscott: version registry requires UTF8, add missing conversions


git-svn-id: svn://10.0.0.236/trunk@86389 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:12:58 +00:00
dbragg%netscape.com
59cc2707dd Name change for in-use files to .new or .old. Fixes bug 67703. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86356 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:06:32 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
dbragg%netscape.com
bd2b3a4d06 This is the XPInstall side of bug 62167 that uses nsIProcess which was checked in earlier. a,r=dvedtiz sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85593 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:05:08 +00:00
sgehani%netscape.com
64ef92cadb Use new Test() API in libjar to ensure archive integrity before installing.
b = 61544
 r = dveditz
sr = dveditz


git-svn-id: svn://10.0.0.236/trunk@84092 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 07:06:58 +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
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
dveditz%netscape.com
9c9cd0ccc2 Give sterner warnings, locale installations are not "safe" and can be abused
(bug 58584). r=mstoltz,sgehani; sr=syd


git-svn-id: svn://10.0.0.236/trunk@82188 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 00:48:45 +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
jband%netscape.com
a9cb568845 attempting to fix Mac bustage from ssu's checkin. IRC is quiet
git-svn-id: svn://10.0.0.236/trunk@81226 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 02:25:02 +00:00
ssu%netscape.com
62546f63c2 fixing bug #55253 - Browser cannot launch after update.html from Win 9x only. sr=brendan,warren moa=dveditz r=dveditz,sgehani. Checking in only to the trunk for QA testing. Will check in to the BRANCH after QA certifies OK.
git-svn-id: svn://10.0.0.236/trunk@81224 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 23:37:16 +00:00
dveditz%netscape.com
a348d5d3d9 Account for null to fix windows upgrade failure (bug 55254), r=dbragg/ssu, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81173 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:16:55 +00:00
dveditz%netscape.com
2449da4f29 Use correct type of event queue in xpinstall, bug 54871 r=dougt, sr=brendan/blizzard
git-svn-id: svn://10.0.0.236/trunk@80923 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:47:49 +00:00
dveditz%netscape.com
44e0ced51f Bug 48155 use relative resource: urls when registering chrome; r=sgehani, r/sr=scc, a=pdt [rtm++]
git-svn-id: svn://10.0.0.236/trunk@80680 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:30:46 +00:00
ssu%netscape.com
0ab8b1f63c fixing bug #54067 - Clean up purify errors in Xpinstall engine. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80548 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 02:40:13 +00:00
sgehani%netscape.com
a0562917b2 Merge pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80092 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:51:16 +00:00
sgehani%netscape.com
6b666fa74d Oops! Trunk not open: backing out last change.
git-svn-id: svn://10.0.0.236/trunk@80085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:02:28 +00:00
sgehani%netscape.com
a0377bc6df Merge pr3 branch to trunk for:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:00:39 +00:00
dveditz%netscape.com
fe987ceace Bug 53845 make InstallTrigger.getVersion() work for SmartUpdate site. r=ssu,sr=mscott,a=pdt nsbeta3++
git-svn-id: svn://10.0.0.236/trunk@80051 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 04:14:15 +00:00
jst%netscape.com
9a5175b281 Oops, missed a file, this should fix the horkeage.
git-svn-id: svn://10.0.0.236/trunk@79877 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 11:16:27 +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
warren%netscape.com
cdc56bbf4c Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +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
dveditz%netscape.com
888c26faf7 part of bug 32867, XPInstall API cleanup
git-svn-id: svn://10.0.0.236/trunk@79300 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:43:37 +00:00
dveditz%netscape.com
0db5c78dec fixing typos in bloat detectors
git-svn-id: svn://10.0.0.236/trunk@79294 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:38:44 +00:00
rayw%netscape.com
31f9bce979 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +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