150 Commits

Author SHA1 Message Date
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
jaggernaut%netscape.com
71e30acb6e Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106477 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 14:30:31 +00:00
ccarlen%netscape.com
9229cf836e Bug 92750 - Fizilla doesn't ask to save changes when quitting with Cmd-Q. r=brade/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104417 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 14:50:29 +00:00
ccarlen%netscape.com
d852115c6f Adding new files for bug 92750 - Fizilla does not ask to save changes when quitting with Cmd-Q. r=brade/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104416 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 14:47:33 +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
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
srilatha%netscape.com
cd6584d3a7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@103401 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:00:24 +00:00
jst%netscape.com
363f1c313a Fix bug 99690. Fix crash when external apps try to open mozilla windows. r=bzbarsky@mit.edu, sr=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@103079 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 05:32:03 +00:00
rjesup%wgate.com
b88ac2aaa0 Bug 98711: Fix misuses of string.Right(). r=jfrancis, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102854 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 00:09:49 +00:00
blakeross%telocity.com
cf77d7a48c Turbo landing:
- Turbo mode should run Mozilla from registry (88844). r=ccarlen sr=ben
- Systray menu for turbo should include components (89532). r=syd sr=ben
- Installer checkbox needs to turn turbo on properly (96936, 97338). r=ccarlen sr=ben
- Add 'Disable Quick Launch' menuitem to turbo systray icon (98770). r=syd sr=ben
- Need confirmation dialog when 'Disable Quick Launch' is selected (98805). r=syd sr=ben
- Show dialog when last window is closed in turbo mode (89166). r=ccarlen sr=ben

and some cleanup.


git-svn-id: svn://10.0.0.236/trunk@102701 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:48:09 +00:00
ccarlen%netscape.com
d182837840 Bug 86021 - Enable -turbo for multiple profiles. r=valeski, r=/sr=blake,waterson, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101946 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 14:02:38 +00:00
blakeross%telocity.com
8d46d34297 Cleaner fix for making turbo mode dynamic (89504). r=ccarlen sr=ben
git-svn-id: svn://10.0.0.236/trunk@101246 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 00:25:04 +00:00
blakeross%telocity.com
921c96c431 Fixing bustage; missed a file.
git-svn-id: svn://10.0.0.236/trunk@101184 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 04:06:14 +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
ccarlen%netscape.com
b539354e4b Bug 86021 - enable multiple profiles in -turbo mode. r=racham/sr=alecf/a=chofmann
git-svn-id: svn://10.0.0.236/trunk@97581 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:49:22 +00:00
alecf%netscape.com
38ed87c1b0 why didn't this get checked in the last time?
part of fix for bug 83366, r=blake,
                                                                      sr=sspitzer, suggestions=jag - add
                                                                      a new method to
                                                                      nsICmdLineService to get the
                                                                      handler for a given parameter
                                                                      a=asa


git-svn-id: svn://10.0.0.236/trunk@97181 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 23:55:42 +00:00