Commit Graph

732 Commits

Author SHA1 Message Date
gerv%gerv.net
f4294ea0f8 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155026 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 14:37:35 +00:00
cbiesinger%web.de
34df912ac0 bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154988 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 21:06:07 +00:00
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
neil%parkwaycc.co.uk
04b5336d46 Bug 214904 Use ISO dates in install.log p=cnst+moz%bugmail.mojo.ru (Constantine A. Murenin) r=dveditz sr=roc
git-svn-id: svn://10.0.0.236/trunk@153501 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 22:33:28 +00:00
jst%mozilla.jstenback.com
09bac8c410 Fixing bug 141056. Prevent setting the location of a window from crashing when called w/o JS on the stack, and ensure XPInstall pushes the JS context onto the JS context stack before evaluating JS. r+sr=bzbarsky@mit.edu, r+st=jst@mozilla.jstenback.com
git-svn-id: svn://10.0.0.236/trunk@153487 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:13:00 +00:00
timeless%mozdev.org
8df8817fa1 Bug 230244 mozilla\xpinstall\src\nsInstall.cpp(2386) : warning C4930: 'nsString usr(void)': prototyped function not called (was a variable definition intended?)
r=bsmedberg sr=tor


git-svn-id: svn://10.0.0.236/trunk@153455 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 04:12:35 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
scott%scott-macgregor.org
fcf9181769 Bug #234804,234976 --> Installers are crashing on launch, trying to install deflenus.xpi
r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@153254 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-26 00:56:11 +00:00
jst%mozilla.jstenback.com
ea5c892dae Fixing crasher regression bug 233953. Removing extra Release() call that causes a crash due to an unbalanced refcount. r=danm-moz@comcast.net, sr=dougt@meer.net, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@152859 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-17 23:07:33 +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
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +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
bsmedberg%covad.net
7e08b118b7 Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150973 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
9706f93476 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150961 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 01:22:31 +00:00
bsmedberg%covad.net
144afd1c5e bug 219233 - Unfork nsIChromeRegistry.idl (not the impl, just the interface) and move it into content/base/public until we can get a more fine-grained separation of that interface in to GRE/non-GRE pieces. r/sr=hyatt+jst
I couldn't do a CVS move of nsIChromeRegistry.idl, sorry... it was added on a branch earlier. The old CVS log/blame can be found at mozilla/rdf/chrome/public/nsIChromeRegistry.idl


git-svn-id: svn://10.0.0.236/trunk@150618 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-22 05:23:10 +00:00
bsmedberg%covad.net
68aec1f7ac Bug 221994 - Log chrome registry errors during XPInstall to help diagnose error -239. Patch by bugzilla@bsdchicks.com (Doc Wilco) thank you! r=me sr=bryner
git-svn-id: svn://10.0.0.236/trunk@149356 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 14:57:28 +00:00
timeless%mozdev.org
08194e1fbc Bug 219979 remove unused variable and function
r=dveditz sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@148242 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 00:30:33 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
cls%seawood.org
5bef9a23ea Fix misc build issues for mingw gcc 3.3.1:
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147027 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 17:22:33 +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
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
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
ssu%netscape.com
129b97557a checking in patch from bugzilla@bsdchicks.com to fix bug 109044 - Install error -239 registering chrome on some systems. r=ssu, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@145634 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 23:36:54 +00:00
cls%seawood.org
6416793997 La la la
git-svn-id: svn://10.0.0.236/trunk@145501 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 21:11:07 +00:00
cls%seawood.org
c2cb0b0f3e Oops. One too many.
git-svn-id: svn://10.0.0.236/trunk@145500 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 21:05:28 +00:00
cls%seawood.org
9a09f6da99 Remove unused references to xpcom_obsolete
Bug #38122 r=dougt sr=bryner


git-svn-id: svn://10.0.0.236/trunk@145498 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 20:17:28 +00:00
timeless%mozdev.org
e1993396b4 Bug 213894 XPI Installation crashes [@ nsXPITriggerItem::SetPrincipal]
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@145208 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 21:10:38 +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
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
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
jst%netscape.com
ecae24eff4 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@144108 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:43:01 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
sgehani%netscape.com
2d9b362f53 Carbonize AppleSingle decoder, fileMacAlias() XPInstall API, and
gestalt() XPInstall API to restore XPInstall to full working
functionality on Mach-O builds.
b=202772; r=ssu, ccarlen, sr=sfraser; a=asa


git-svn-id: svn://10.0.0.236/trunk@142673 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 00:53:35 +00:00
timeless%mozdev.org
73b4b6518b Bug 206287 things Will be re-ordered to match declaration order
r=roc+moz sr=roc+moz a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@142636 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 02:02:56 +00:00
ssu%netscape.com
ead6490b54 fixing bug 204162 - -201 error when doing performInstall. r=dveditz sr=jag, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142282 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 20:47:34 +00:00
ssu%netscape.com
4c3260460c checking in patch from dveditz for bug 204431 - The 5-arg form of addDirectory() incorrectly returns error to script. r=ssu, sr=dmose, a=asa
git-svn-id: svn://10.0.0.236/trunk@142218 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 18:33:56 +00:00
ssu%netscape.com
0e352ff755 fixing bug 67027 - Having int chars in install folder name doesn't uninstall anything. r=dveditz sr=dmose, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142163 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-06 06:08:31 +00:00
ssu%netscape.com
01fabdc144 checking in patch from jonwil@tpgi.com.au for bug 203892 - fix xpinstall in MingW. r=ssu, sr=dmose, a=leaf
git-svn-id: svn://10.0.0.236/trunk@141984 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 23:02:21 +00:00
ssu%netscape.com
4eba622c78 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@141965 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 06:59:08 +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
ssu%netscape.com
bb0d255326 fixing bug 198947 - instaling xpi again, create *.old files (from this package) in place orginal. r=darin, sr=dmose, a=asa
git-svn-id: svn://10.0.0.236/trunk@141714 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 20:42:09 +00:00
ssu%netscape.com
7bcfb95f5b fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@140789 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 07:02:32 +00:00
sfraser%netscape.com
882c17b13e Need to link with TK_LIBS on Mac, so that the static build gets Carbon symbols.
git-svn-id: svn://10.0.0.236/trunk@139537 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 22:51:39 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
cls%seawood.org
de43096f0d Rename enumerated HKEY_* defines to avoid conflicts with mingw/w32api headers.
Bug #134113 r=ssu sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@139472 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 20:50:35 +00:00
ccarlen%netscape.com
a8846dab1a Bug 195109 - [Mac OSX] xpinstall fails Pre-Checkin Trigger smoketest. r=ssu/sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@139465 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 20:01:59 +00:00
cls%seawood.org
dac8d1a090 Adding mingw makefile changes.
Bug #134113 r=bryner


git-svn-id: svn://10.0.0.236/trunk@139140 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 05:57:15 +00:00
cls%seawood.org
609a196b54 XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139083 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 06:07:56 +00:00