82 Commits

Author SHA1 Message Date
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +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
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
darin%netscape.com
b0d1215484 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@131256 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 02:20:35 +00:00
alecf%netscape.com
b9b46541a9 fix bug 162741 - revamp chrome registry interface in preparation for bug 160000 - switch lots of public APIs over to ACString, etc.
r=bryner, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@127711 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 18:12:51 +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
alecf%netscape.com
d6b987e7bf fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@118819 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 01:52:27 +00:00
mkaply%us.ibm.com
5472be58bb Adding newlines at the end of these files to proactively prevent HPUX bustage
git-svn-id: svn://10.0.0.236/trunk@117310 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 15:02:41 +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
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
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
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +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
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
dbragg%netscape.com
12cfe2bca9 Fix for 67503. Setting File object explicitly and using JS_BeginRequest-JS_EndRequest correctly. r=sgehani, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@91557 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-06 04:18:11 +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
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
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
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
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
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
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
dveditz%netscape.com
090045d327 Comment-out call to crashing ReloadChrome() so we can call bug 39367 fixed.
git-svn-id: svn://10.0.0.236/trunk@74533 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 08:33:54 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
scc%mozilla.org
fd1efd70c8 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
mkaply%us.ibm.com
7da8632ec3 # 37239
r = dveditz, a = brendan
OS/2 bring-up - PR_CALLBACK stuff for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71811 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:49:49 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
dveditz%netscape.com
69fa7a30f7 Getting installed overlays to work, dogfood bug 1011 in bugSCAPE. Also fixing
misc horkage (still!!) from the nsIFile landing necessary to get this working
(bugs 40228, 40403, 40405, 37964, 28950)


git-svn-id: svn://10.0.0.236/trunk@70743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 14:13:39 +00:00
hyatt%netscape.com
e469c92e38 fix for making skins script-safe. r=scc
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
dougt%netscape.com
e7a296151e Now printing js errors to install.log r=dveditz.
git-svn-id: svn://10.0.0.236/trunk@68873 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:41:25 +00:00
dveditz%netscape.com
faa851dcb1 flesh-out chrome registration; clean-up the non-threadsafe assertions
git-svn-id: svn://10.0.0.236/trunk@68660 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:53:44 +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
mkaply%us.ibm.com
950434f186 # 37239
r= dveditz@netscape.com
OS/2 bring up continues - need PR_CALLBACK to specify linkage for VisualAge build


git-svn-id: svn://10.0.0.236/trunk@67771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:29:03 +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
d71cf08885 Removed the offending const
git-svn-id: svn://10.0.0.236/trunk@66735 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 20:05:06 +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
mccabe%netscape.com
8f4c442bf8 Make XPInstall JavaScript errors get logged to the console service.
git-svn-id: svn://10.0.0.236/trunk@66034 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:14:48 +00:00
dveditz%netscape.com
121072fe86 New wstring nsIRegistry interface, bug 23859;
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)


git-svn-id: svn://10.0.0.236/trunk@60771 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 01:32:12 +00:00
dbragg%netscape.com
eca516c7cc Fixes for bugs 10147, 22341, 24016 r=sgehani
git-svn-id: svn://10.0.0.236/trunk@59101 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:22:58 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
dveditz%netscape.com
832063be1b Bug 21133, remove XPInstall's private JSRuntime
git-svn-id: svn://10.0.0.236/trunk@57958 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 01:49:37 +00:00
dveditz%netscape.com
d398de2dfa Bug 12816, move XPInstall initialization closer to the front so we can
clean up after an install *before* the wrong components are loaded.


git-svn-id: svn://10.0.0.236/trunk@55192 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 13:37:23 +00:00
sgehani%netscape.com
fbb6c3bec1 Fix build warnings. [r=ssu]
git-svn-id: svn://10.0.0.236/trunk@54359 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 02:09:06 +00:00
sgehani%netscape.com
134c4195ec Fixes for bug 18683. Libjar interfaces changed but the implementation didn't. This fixes the runtime XP horkage. [r=dveditz]
git-svn-id: svn://10.0.0.236/trunk@53386 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 00:39:03 +00:00
warren%netscape.com
fe2c05f6bf Fixed linux compiler bustage (again).
git-svn-id: svn://10.0.0.236/trunk@53333 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 07:17:50 +00:00
warren%netscape.com
4695e1619c Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz
git-svn-id: svn://10.0.0.236/trunk@53330 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 06:13:13 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00