Commit Graph

1528 Commits

Author SHA1 Message Date
bryner%brianryner.com
d0db48d545 nsCmdLineService::GetProgramName needs to copy the string to be compliant with the interface definition. Bug 249737, r+sr=jst. 2004-07-04 11:01:32 +00:00
ben%bengoodger.com
567cae5f38 change mDeleteCalled to mXPCOMShuttingDown per danm request. (part of 244106 that bsmedberg didn't get before landing on the trunk) 2004-06-20 03:42:50 +00:00
bsmedberg%covad.net
d9ba66a275 Bug 239929 - Porting semi-single-profile from the aviary1.0 branch to the trunk. This is using the argv-restart method right now (a child process). This will be changing to an xpcom-restart process soon. Code by me, Ben Goodger, Darin, Scott M., M. Kaply, and others. xpfe/appshell code r=danm sr=brendan (bug 244106). 2004-06-17 21:23:51 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
aaronleventhal%moonset.net
ee7a038786 Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc 2004-05-20 03:14:41 +00:00
caillon%redhat.com
178bb153f1 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2004-05-18 18:09:16 +00:00
timeless%mozdev.org
55a5e5ddbf Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin
2004-05-17 23:38:25 +00:00
aaronleventhal%moonset.net
97fc90cefe Use win32 window class name corresponding to UI/content/general/hidden. r=ere, sr=roc 2004-05-04 12:39:42 +00:00
bryner%brianryner.com
7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
gerv%gerv.net
f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
sicking%bigfoot.com
386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
brade%comcast.net
ff69c6b94f remove unused char *; bug=238672, r=timeless, sr=tor, a=mkaply 2004-03-26 16:39:20 +00:00
bsmedberg%covad.net
dcf2a4e122 Bug 237688 - Removing unused files from xpfe/appshell rs=brendan a=mkaply 2004-03-23 21:02:43 +00:00
ben%bengoodger.com
0a1c1c008b [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 2004-03-17 23:21:25 +00:00
ben%bengoodger.com
79be05b1ae 237172 - remove an unnecessary addition of a global observer in the migration code. this is only built in firefox. r=bsmedberg 2004-03-16 04:00:54 +00:00
ben%bengoodger.com
8fd81fe5ea 203077 - Rename Firefox profile data folder from Phoenix to Firefox.
Make sure the migration FE does not show when the app is launched with -ProfileWizard or -CreateProfile, as these use cases do not imply automigration.
for full details see http://bugzilla.mozilla.org/show_bug.cgi?id=203077#c35
r=jst
2004-03-11 01:27:30 +00:00
ben%bengoodger.com
0cfec070c0 236744 - xp shell service - define document icon constant for windows registry. 2004-03-08 09:57:29 +00:00
ben%bengoodger.com
e2a6de8627 Forgot to add different module name to REQUIRES list.. 2004-03-03 22:00:01 +00:00
ben%bengoodger.com
279e23a6b5 215094 - 235364 - invoke automigration code if there are no existing profiles in phoenix (will eventually becoem MOZ_XULAPP, and may move to xre/apprunner or a startup service). r=danm 2004-03-03 21:33:47 +00:00
darin%meer.net
f6875e2d3c fixes bug 234916 "Remove global/static NS_NAMED_LITERAL_C?STRING usage [was: Firefox crashes on startup on Mac OS X]" r=jst sr=dbaron 2004-02-25 02:08:34 +00:00
danm-moz%comcast.net
73ac6b2c7d unsizable windows are no longer created maximized. bug 230608 r=bryner,jst 2004-02-21 18:02:03 +00:00
dbaron%dbaron.org
5b6ae6e571 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst 2004-02-20 21:38:31 +00:00
danm-moz%comcast.net
772ccd5c64 quit() now returns no error under normal circumstances. bug 185360 r=jag,neil 2004-02-19 23:03:13 +00:00
jst%mozilla.jstenback.com
64ad19a801 Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
jst%mozilla.jstenback.com
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner%brianryner.com
94ba5cd7db Remove unused nsTimingService and nsITimingService (bug 232779). r+sr=dbaron 2004-02-01 03:35:16 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk
c23891b138 Fix compiler warning b=229540 p=gautheri@noos.fr r=danm sr=alecf 2004-01-22 13:13:09 +00:00
bryner%brianryner.com
2bddef83ba Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bsmedberg%covad.net
d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
bryner%brianryner.com
dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
scott%scott-macgregor.org
8aa1c5bdbe Bug #226604 --> crash closing message compose window (with UI button)/message filter dialog
fix crash regression. Patch by timeless

sr=mscott
a=asa
2003-11-25 02:47:48 +00:00
timeless%mozdev.org
149e7858a1 Bug 223736 nsWebShellWindow::Destroy should call nsWebShellWindow::Destroy before destroying its timer and calling release_this
r=danm sr=dbaron a=dbaron
2003-11-23 14:01:43 +00:00
danm-moz%comcast.net
7918c21eb3 tweak rev 1.137 to reduce the population of warnings from 2131 back to 2129 2003-11-09 16:33:14 +00:00
danm-moz%comcast.net
942f594ebe don't focus the parent of the window being closed if that parent is the hidden window. this reinstates rev 1.52, bug 22658. now bug 224058. r=ere, roc 2003-11-07 02:13:32 +00:00
ben%bengoodger.com
859108af87 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 2003-10-26 22:11:49 +00:00
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
danm-moz%comcast.net
224bb603bc error check repeated window registration. bug 222042 r=scott,sspitzer 2003-10-20 15:31:38 +00:00
danm-moz%comcast.net
3fb02f792d move implementation of zLevel to nsWindowMediator. make zLevel mutable. support persistent zlevel xul attribute. rework saving of persistent attributes. bug 42557 r=neil (mostly), rjc. rs=hyatt 2003-10-07 01:20:16 +00:00
danm-moz%comcast.net
1aa20befed move implementation of zLevel here from nsXULWindow. implement mutable zLevel. coalesce duplicate code. bug 42557 r=neil (mostly), rjc. rs=hyatt 2003-10-07 01:20:13 +00:00
danm-moz%comcast.net
b2ff9239b0 rework saving of persistent attributes. also maximized and alwaysRaised windows are incompatible. bug 42557 r=neil (mostly), rjc. rs=hyatt 2003-10-07 01:20:11 +00:00
danm-moz%comcast.net
328ed3ede3 add zLevel member variable to struct nsWindowInfo. bug 42557 r=neil (mostly), rjc. rs=hyatt 2003-10-07 01:20:07 +00:00
danm-moz%comcast.net
3580280da8 delay initialization of newly created window's zLevel. bug 42557 r=neil (mostly), rjc. rs=hyatt 2003-10-07 01:20:05 +00:00
danm-moz%comcast.net
700a5a690d zLevel attribute is now mutable. bug 42557 r=neil (mostly), rjc. rs=hyatt 2003-10-07 01:19:28 +00:00
danm-moz%comcast.net
c260846173 new methods Get/SetZLevel of nsIXULWindow. also doxygenify interface. bug 42557 r=neil (mostly), rjc. rs=hyatt 2003-10-07 01:19:16 +00:00
darin%meer.net
77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
danm-moz%comcast.net
43ab378ca8 when bringing a window to the front, also bring to the front windows which must remain in front of it. but even more so, if you follow me. bug 217012, bug 184890. r=jag,neil 2003-09-24 14:31:03 +00:00
brendan%mozilla.org
8e25974fa1 Checking in danm's patch for bug 210689, r/sr=bz/dbaron, a=me. 2003-09-08 19:06:11 +00:00
bryner%brianryner.com
06c7c1b2b4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
timeless%mozdev.org
323f01b140 Bug 217886 frame structure gets lost in builds since 20030826
patch by mpconnor@rogers.com r=bz sr=bz a=brendan
2003-09-04 02:23:20 +00:00
cls%seawood.org
1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
hyatt%mozilla.org
4aa2419b25 Fix for 215296, r=bryner, sr=brendan, a=asa, This patch retains Seamonkey's behavior for titles on all platforms while patching Mac behavior to leave off the modifier for FB+TB 2003-08-12 05:51:39 +00:00
hyatt%mozilla.org
4c5d13e990 Fix for 204418, make a pref available for picking the hiddenWindow URL so different apps can have their own hiddenWindow files. r/sr=bryner, a=asa 2003-08-11 08:42:36 +00:00
hyatt%mozilla.org
71e59d5b39 Update for 215440, make sure not to break SeaMonkey titlebars when the doc has no title, r/sr/a=brendan. 2003-08-07 23:01:24 +00:00
hyatt%mozilla.org
b3f8e51529 FIx for 215440, add support for a titledefault attribute that can be used when a document has no title. 2003-08-07 21:05:58 +00:00
hyatt%mozilla.org
ecfebf6684 Patch the remaining places that use _content to also support _main, r=brendan, sr=ben 2003-08-04 21:52:22 +00:00
hyatt%mozilla.org
9c31b342f2 Fix for 215041, add support for WinIE's _main target for sidebars (it's identical to _content), r=hixie, sr=ben 2003-08-04 18:33:24 +00:00
cls%seawood.org
09671327f5 Remove unused references to xpcom_obsolete
Bug #38122 r=dougt sr=bryner
2003-08-02 20:17:28 +00:00
jaggernaut%netscape.com
95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
danm-moz%comcast.net
3eb7244d66 mark the hidden window's widget as invisible (on all platforms, now). bug 207742 r=brendan,bryner 2003-07-25 14:55:51 +00:00
scott%scott-macgregor.org
6d892904c0 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.
2003-07-23 21:34:53 +00:00
jaggernaut%netscape.com
83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
scott%scott-macgregor.org
6536026dac 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.
2003-07-14 22:51:52 +00:00
jaggernaut%netscape.com
2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
scott%scott-macgregor.org
d931210577 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.
2003-07-12 04:12:14 +00:00
dbaron%dbaron.org
d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
danm%netscape.com
90630fe7c9 addref the window while the timer member variable holds a reference to the window. no longer a crash bug, but more proper COM. bug 143664 r=dougt,jag 2003-07-08 23:06:49 +00:00
caillon%returnzero.com
2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
alecf%flett.org
2751c6b097 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
2003-06-11 18:16:03 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
dwitte%stanford.edu
270d3909ca 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.
2003-05-23 21:34:47 +00:00
scott%scott-macgregor.org
d7df964f95 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
2003-04-26 01:50:56 +00:00
bryner%netscape.com
3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
timeless%mozdev.org
ed4443f3ff Bug 201423 Crash [@ nsWebShell::Create] if urildr.dll is missing
r=adamlock sr=bz
2003-04-10 18:17:57 +00:00
varga%netscape.com
8a8c57cc59 Missed part of the fix for bug 113232. support transparent non-rectangular chrome windows.
r=roc, sr=bz
2003-04-09 05:14:24 +00:00
dougt%netscape.com
ef09d77cea removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750 2003-04-08 20:37:02 +00:00
ccarlen%netscape.com
1c78d1771d Bug 192849 - Launching Mozilla with an OpenURL AppleEvent fails to open the given URL. r=lordpixel/sr=sfraser 2003-04-08 14:24:13 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
jst%netscape.com
b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
darin%netscape.com
06db7d7b43 backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu
4f81dc78d1 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:57:22 +00:00
bzbarsky%mit.edu
a7d8e133da Checking in permissions rewrite phase 1 (troop deployment in the permission
gulf).  Bug 191380, patch by mvl@exedo.nl (Michiel van Leeuwen),
r=dwitte@stanford.edu, sr=darin.
2003-03-22 01:24:51 +00:00
jaggernaut%netscape.com
7af2461cab Remove unused CIDs, r=jack, sr=lumpy 2003-03-20 02:33:20 +00:00
dougt%netscape.com
0a7d66cd04 Fix bad export_lib line. r=cls 2003-03-16 01:09:52 +00:00
dougt%netscape.com
0d2808c511 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.
2003-03-15 01:04:32 +00:00
aaronl%netscape.com
20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
danm%netscape.com
424aa08a34 implement new property nsIBaseWindow::blurSuppression. bug 68454 r=bryner,jst 2003-02-24 20:15:39 +00:00
ere%atp.fi
f8a47b6c45 Bug 189085: Windows focus handling semi-rewrite
r=danm, sr=jag
2003-02-22 19:50:38 +00:00
sgehani%netscape.com
5158bf9a04 Make holding the option key at launch time open the profile manager on mac.
b=194149; r=sgehani; sr=jaggernaut; a=asa; author=sfraser
2003-02-21 00:54:00 +00:00
sfraser%netscape.com
d2b4e7ee24 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. 2003-01-30 22:40:25 +00:00
jaggernaut%netscape.com
a7bc8b3b3f Bug 190791: Windows don't remember location in macho builds. r=danm, sr=sfraser, a=asa 2003-01-30 04:51:50 +00:00
ccarlen%netscape.com
0fcd29efcb Bug 97622 - Put in UI to expose dynamic profile switching. r=kaie/sr=alecf 2003-01-22 06:13:39 +00:00