166 Commits

Author SHA1 Message Date
bryner%brianryner.com
a0a82bdf9d nsCmdLineService::GetProgramName needs to copy the string to be compliant with the interface definition. Bug 249737, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158734 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-04 11:01:50 +00:00
caillon%redhat.com
aa28f26b6c Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@156539 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 18:09:16 +00:00
timeless%mozdev.org
d5f9c7bdbe Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@156489 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 23:38:25 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
ben%bengoodger.com
d29bbc6818 [firefox only] bug 236977 - firefox's application icon is the document icon, not the application icon. insert an application icon resource into the resource script as the "first" icon in the resource bundle to ensure windows shell picks up the right icon for file views
git-svn-id: svn://10.0.0.236/trunk@154073 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-17 23:21:25 +00:00
ben%bengoodger.com
fad4856fe5 236744 - xp shell service - define document icon constant for windows registry.
git-svn-id: svn://10.0.0.236/trunk@153678 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 09:57:29 +00:00
ben%bengoodger.com
368287d17b Bug 206936 - firebird shows an XML error when opening links from external apps, caused by bug 223197 - command line service on Mac should be using browser.chromeURL pref to locate main application XUL file, not hard coding to use navigator.xul. r=smfr/ccarlen, sr=smfr, a=asa
git-svn-id: svn://10.0.0.236/trunk@148414 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 22:11:49 +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
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
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
ccarlen%netscape.com
1e334e353c Bug 192849 - Launching Mozilla with an OpenURL AppleEvent fails to open the given URL. r=lordpixel/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@140842 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 14:24:13 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +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
sgehani%netscape.com
be4214bb8f Make holding the option key at launch time open the profile manager on mac.
b=194149; r=sgehani; sr=jaggernaut; a=asa; author=sfraser


git-svn-id: svn://10.0.0.236/trunk@138059 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 00:54:00 +00:00
sfraser%netscape.com
7182ec5989 Fix bug 181454 -- endless opening of new windows when another app tells Mozilla to open a new window, via Apple Events. Make sure we return noErr when we've handled the event. r=ccarlen, sr=jag, a=asa.
git-svn-id: svn://10.0.0.236/trunk@137158 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 22:40:25 +00:00
dbaron%dbaron.org
6ed727cbe8 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@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
ccarlen%netscape.com
eabcb50f40 Bug 183366 - Mach-0 build fails to launch via icon if whitespace in path the executable. r=seawood/sr=sfraser/a=brendan
git-svn-id: svn://10.0.0.236/trunk@134976 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 15:36:49 +00:00
seawood%netscape.com
59b76c88ef Add native app support for OSX mach-o builds.
Fixes the 'Quit from dock not working' problem.
Allows certain files to be dragged to the dock icon.
Thanks to Mike Pinkerton <pinkerton@netscape.com> for the original patch.
Bug #111797 r=ccarlen sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@134083 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 05:16:50 +00:00
sdagley%netscape.com
7802cf769e Re-landing #169667 - use LaunchServices APIs instead of InternetConfig APIs when appropriate (fixed mach-o and Mac Classic build issues from 1st landing try). r=ccarlen,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@130877 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 05:27:15 +00:00
darin%netscape.com
78a87b352c backing out sdagley's patch for bug 169667 to clear up mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@130570 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 04:35:33 +00:00
sdagley%netscape.com
70cc64e45c Landing #169667 - Clean up InternetConfigService and use LaunchServices APIs where appropriate. r=ccarlen,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@130550 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 23:38:08 +00:00
lordpixel%mac.com
c3b1f1daf6 Fix for bug 90823 Relaunching or clicking Dock icon should display last minimized window or create new window
r=sdagley, sr=smfr


git-svn-id: svn://10.0.0.236/trunk@130497 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 03:38:06 +00:00
timeless%mac.com
ca10e1fbc5 Bug 166775 Remove unused _IMPL_NS_APPSHELL defines
patch by walk84@yahoo.com r=bryner


git-svn-id: svn://10.0.0.236/trunk@130312 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 00:56:20 +00:00
sdagley%netscape.com
91997a8736 Part of #152231 - moving InternetConfigService to uriloader from appshell. These changes are for the CFM builds. r=ccarlen,sr=scc
git-svn-id: svn://10.0.0.236/trunk@130208 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 19:08:45 +00:00
sfraser%netscape.com
e896df615d Fix darin build bustage. r=law
git-svn-id: svn://10.0.0.236/trunk@129589 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-14 01:10:47 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +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
bryner%netscape.com
cdba297115 Switch to building in browser/app and linking with libxulapp_s, instead of building in xpfe/bootstrap, for Phoenix. Remove some MOZ_PHOENIX #ifdefs that are no longer needed. Not part of the normal build.
git-svn-id: svn://10.0.0.236/trunk@128657 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 04:03:07 +00:00
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
danm%netscape.com
e69137949f removing parameter to nsINativeAppSupport::OnLastWindowClosing. bug 163918 r=brendan,law
git-svn-id: svn://10.0.0.236/trunk@128049 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 18:58:52 +00:00
danm%netscape.com
8993ffb477 update for rev 1.26 of nsIAppShellService.idl: Quit takes a new parameter. bug 163918 r=brendan,bryner
git-svn-id: svn://10.0.0.236/trunk@128048 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 18:58:19 +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
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
alecf%netscape.com
fe2ac2618f fix for bug 149121 - split up command line handler macros so we can write custom registration routines. r=bnesse, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@123163 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 16:47:23 +00:00
alecf%netscape.com
868ac4081c Fix for bug 138299 - switch consumers of nsIWindowMediator service to use the non-RDF contractID, in preparation for bug 132175
r=danm, sr=jag


git-svn-id: svn://10.0.0.236/trunk@120272 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:36:59 +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
ccarlen%netscape.com
a9039a480f Bug 58533 - Can't open files with a '/' in name by double-clicking in Finder. r=rjc/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@117181 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:03:17 +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
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
law%netscape.com
d4c9402114 Bug 88123 (and 85860): re-use command line handling code in nsAppRunner when starting a second time on Win32; r=sgehani, sr=blake
git-svn-id: svn://10.0.0.236/trunk@112326 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 06:48:14 +00:00
alecf%netscape.com
b0e0e6d031 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111529 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:31:25 +00:00
pinkerton%netscape.com
cee1c73b9c stop using PR_PutEnv and use PR_SetEnv instead. r=sdagley/sr=blake. bug 118187
git-svn-id: svn://10.0.0.236/trunk@111492 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 15:42:08 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
serge%netscape.com
2d50555393 checking in for rdayal
Removing the MAPI related code from mozilla/xpfe .. patch (id=56117) in bug # 106137.
r=mscott, sr=alecf. This patch also fixes bug # 111199.


git-svn-id: svn://10.0.0.236/trunk@110349 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 03:55:57 +00:00
akkana%netscape.com
bea70f253a 50131: map full-pathname argument to file: url. r=mcafee sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108511 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 23:39:35 +00:00
law%netscape.com
d169e24d96 New interface with Win32-specific resource constants for configuring WinXP start menu (for bug 102017); r=ssu, sr=blake
git-svn-id: svn://10.0.0.236/trunk@107316 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 06:20:19 +00:00
pchen%netscape.com
e878fec99a 81762, r=jag, sr=sfraser, remove uses of nsCRT::strlen() with testing for null and non-empty string, also use IsEmpty() for nsXPIDLCStrings
git-svn-id: svn://10.0.0.236/trunk@107048 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:55:59 +00:00
pchen%netscape.com
28643e60a9 81762, r=jag, sr=sfraser, remove uses of PL_strlen with testing for null and non-empty string, also change const char* to static const char[] so that we can use sizeof-1 instead of PL_strlen
git-svn-id: svn://10.0.0.236/trunk@107047 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:55:56 +00:00
pchen%netscape.com
72681d9d8a 81762, r=jag, sr=sfraser, remove uses of PL_strlen with testing for null and non-empty string
git-svn-id: svn://10.0.0.236/trunk@107046 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:55:51 +00:00