202 Commits

Author SHA1 Message Date
scott%scott-macgregor.org
68ac320624 thunderbird only change. The command line handler spits back "1" as an argument if there are no arguments following command. Handle
that case accordingly, and don't try to use "1" as the actual window argument.


git-svn-id: svn://10.0.0.236/trunk@145125 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 21:34:53 +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
scott%scott-macgregor.org
c4ff52c310 Thunderbird specific change. Has no impact on trunk builds.
Fix a silly mistake that was causing thunderbird to fail to launch if you did not pass the -mail parameter at the command line.


git-svn-id: svn://10.0.0.236/trunk@144862 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 22:51:52 +00:00
scott%scott-macgregor.org
96edd8050e Ugly thunderbird hack. Has no effect on seamonkey builds.
When launching the app via Launch Task (which is the case when starting up for the first time), check to see if the cmd line service
has any arguments (such as mailto urls). If so pass these arguments into OpenWindow instead of using the handler's default arguments.

This fixes the problem where clicking on a mailto url in a browser when thunderbird was NOT already running, caused a blank
compose window where the mailto url was ignored.


git-svn-id: svn://10.0.0.236/trunk@144769 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 04:12:14 +00:00
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
scott%scott-macgregor.org
6b3521577d Bug #194315 --> for thunderbird, bring up mail chrome as part of ensure 1 window and not a browser window.
does not effect seamonkey builds
sr=bryner
a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@141844 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 01:50:56 +00:00
dougt%netscape.com
fdffcd9198 removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
git-svn-id: svn://10.0.0.236/trunk@140853 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:37:02 +00:00
aaronl%netscape.com
60b1c05bf1 Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
ccarlen%netscape.com
1aa09ccb4d Bug 97622 - Put in UI to expose dynamic profile switching. r=kaie/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@136821 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 06:13:39 +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
rjesup%wgate.com
47169439c2 Bug 149764: changes to quit-application observer topic. r=danm, sr=jst
git-svn-id: svn://10.0.0.236/trunk@133312 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 20:25:45 +00:00
blakeross%telocity.com
6472e40a8c move phoenix obs notification, NPOB. r=hewitt/sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@131894 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 03:51:29 +00:00
blakeross%telocity.com
9183da3a81 Phoenix changes only, NPOB. r=hewitt / sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@131820 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 19:58:15 +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
danm%netscape.com
f530e3f071 restate and simplify the application-quit and application-don't-quit-while-windows-are-open logic. bug 163710 r=brendan,pinkerton
git-svn-id: svn://10.0.0.236/trunk@128508 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 23:55:37 +00:00
danm%netscape.com
03f27af813 move Quit code from UnregisterWindow into Quit. bug 163918 r=brendan,bryner
git-svn-id: svn://10.0.0.236/trunk@128046 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 18:57:45 +00:00
danm%netscape.com
a3abbf23d1 exit the app from Quit() only if all windows could be closed. bug 130719 r=brendan,pavlov
git-svn-id: svn://10.0.0.236/trunk@127683 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 04:30:27 +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
aaronl%netscape.com
0b7c95c9b7 Bug 160188. Accessibility: In Windows, use Control ID for a window to indicate whether the window is content or UI. r=saari,blythe, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@126193 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 23:12:38 +00:00
bryner%netscape.com
d63c986f4d Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@124756 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 07:56:50 +00:00
bnesse%netscape.com
5fd2f31989 Fix for bug 141035. Application must quit if it fails to load the .cfg file. r=sgehani, ccarlen, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@123175 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 18:52:46 +00:00
bryner%netscape.com
308f0e52ca Fixing mach-o static build - made a function static in nsAppShellService so that it doesn't conflict with global symbols; add TK_LIBS (-framework Carbon) to the link line for mozilla-bin for both carbon and cocoa builds. r=cls, rs=brendan.
git-svn-id: svn://10.0.0.236/trunk@122610 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 23:53:31 +00:00
sspitzer%netscape.com
814bf90c4c fix for #137886. Detect defunct previously migrated profiles and offer to re-migrate.
this is pref controlled, "profile.seconds_until_defunct.  by default,
we'll never offer to remigrate.  initial patch by ccarlen.
r=ccarlen,racham,sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119930 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:37:04 +00:00
mscott%netscape.com
8a8f890cea Bug #132643 --> add a new web browser chrome flag for a popup type. Set the native widget type to popup
if that's what the chrome flags say.
r=danm
sr=hewitt
a=asa


git-svn-id: svn://10.0.0.236/trunk@117202 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 19:22:05 +00:00
danm%netscape.com
85686b425c implement new method topLevelWindowIsModal. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115522 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:25:14 +00:00
endico%mozilla.org
e6ccf8ec15 re-applying danm's changes after finding out they weren't cause for startup time regression. bug 124570. (patches originally from bugs 107937 and 77020)
git-svn-id: svn://10.0.0.236/trunk@114162 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 07:12:16 +00:00
blakeross%telocity.com
7466c7e2ec Backing out to see if performance regression is fixed. a=endico
git-svn-id: svn://10.0.0.236/trunk@114154 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 00:00:06 +00:00
danm%netscape.com
a9d7b04b1e generally give windows a 'minimize' widget. bug 77020 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114096 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:10:05 +00:00
mscott%netscape.com
2711b450ef Fix smoketest blocker: 122228 by adding a null ptr check in GetHiddenDOMWindow
git-svn-id: svn://10.0.0.236/trunk@113046 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 18:52:24 +00:00
rjc%netscape.com
7ac4a84b92 Fix build bustage. (Missing #ifdef)
git-svn-id: svn://10.0.0.236/trunk@112625 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:08:30 +00:00
rjc%netscape.com
b821e260fb Fix bug # 83643: Mac OS X sheets. r=pinkerton sr=ben
git-svn-id: svn://10.0.0.236/trunk@112602 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:17:48 +00:00
danm%netscape.com
c1bc619e9b position dependent windows relative to their parent. bug 113283 r=hyatt,pavlov
git-svn-id: svn://10.0.0.236/trunk@111617 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:31:24 +00:00
dbaron%fas.harvard.edu
9527b379c7 Fix bustage. b=109165
git-svn-id: svn://10.0.0.236/trunk@107857 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:55:36 +00:00
dbaron%fas.harvard.edu
7a3e6639d5 Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard
git-svn-id: svn://10.0.0.236/trunk@107855 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:30:13 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
alecf%netscape.com
445fa78680 bug 76339 - kill nsIAppShellComponent, finally. sr=sfraser, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@105528 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:10:35 +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
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
danm%netscape.com
51fa80385a complain if callers try to unregister a null window (it was being done, and I got bushwhacked by it). bug 98792 r=alecf,ccarlen
git-svn-id: svn://10.0.0.236/trunk@102699 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:27:11 +00:00
dbaron%fas.harvard.edu
fdc3365574 Clean up nsIAppShellService.idl. b=98026 r=danm sr=alecf
git-svn-id: svn://10.0.0.236/trunk@102655 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:42:54 +00:00
danm%netscape.com
301323f895 restoring rev 1.159 (bug 97514 r=hyatt,pchen). the root cause of bug 98732 (and rev 1.160) has been fixed elsewhere (bug 98785).
git-svn-id: svn://10.0.0.236/trunk@102559 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 23:37:16 +00:00
sspitzer%netscape.com
e9470a3d39 backing out danm's changes for #97514, as they cause the regression bug #98732
a=heikki


git-svn-id: svn://10.0.0.236/trunk@102536 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 19:29:43 +00:00
danm%netscape.com
fd9c5602bd tell nsWindowWatcher about window creation/destruction so its enumerators will work. bug 97514 r=hyatt,pchen
git-svn-id: svn://10.0.0.236/trunk@102418 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:26:52 +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
cathleen%netscape.com
f541238cb0 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101263 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 02:03:34 +00:00
danm%netscape.com
c76226b467 restore normal window z-order to dependent-not-modal windows (Mac-only). bug 94138 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@100538 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 23:03:52 +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
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
dveditz%netscape.com
efe68b214a hook so xpinstall can turn off turbo mode (bug 86976). r=syd@netscape.com, sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99279 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-14 07:14:34 +00:00