152 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
dbaron%dbaron.org
32d54152c9 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
Olli.Pettay%helsinki.fi
48c52f1bcb Bug 348304, @nsMenuFrame::HandleEvent, r=enndeakin, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@209111 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-03 20:25:58 +00:00
aaronleventhal%moonset.net
4726524dfe Bug 339237. Fix accessible menu events regression. r+sr=bz, for UI r=neil, mano
git-svn-id: svn://10.0.0.236/trunk@201594 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-05 20:42:22 +00:00
tor%cs.brown.edu
b9ba785184 Backout of bug 339237.
git-svn-id: svn://10.0.0.236/trunk@201419 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-01 07:44:49 +00:00
aaronleventhal%moonset.net
37459e2724 Bug 339237. Fix accessible menu events regression. r+sr=bz, for UI r=neil, mano
git-svn-id: svn://10.0.0.236/trunk@201406 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-01 03:30:58 +00:00
leon.sha%sun.com
ca47f5992a Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
timeless%mozdev.org
7fefbe3466 Bug 326959 menupopup.enableRollup(true) causes crash [@ nsPopupSetFrame::Destroy]
patch by asqueella@gmail.com r=neil sr=roc


git-svn-id: svn://10.0.0.236/trunk@192872 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 22:08:37 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
38a9722e9f Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
roc+%cs.cmu.edu
305c919e9e Bug 307419. Remove mPresContext from XUL frames. patch by Vidar Harr, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@186100 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 03:30:17 +00:00
ginn.chen%sun.com
e64b3f31f3 Bug 284555 Menu text color remains -moz-menuhovertext when popup a dialog
r=aaronleventhal sr=roc


git-svn-id: svn://10.0.0.236/trunk@185754 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 05:50:16 +00:00
roc+%cs.cmu.edu
2b50a04fc6 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 21:46:39 +00:00
vladimir%pobox.com
a4098e83d0 b=203183, context menu stays when clicking other menus, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@181164 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 18:48:27 +00:00
aaronleventhal%moonset.net
98a42e7567 Bug 303404. Crash when hitting escape in context menu for a menu item. r=dbaron, sr=neil
git-svn-id: svn://10.0.0.236/trunk@177924 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 02:03:45 +00:00
bzbarsky%mit.edu
ce5f5c101d Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
presshell args from most frame constructor methods; use the state for the
former and the member for the latter.  Bug 281957, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
aaronleventhal%moonset.net
8c6481766b Bug 281568. MSAA events EVENT_MENUEND/EVENT_MENUPOPUPEND fired too late, when dialog opens from menu action. Screen readers get confused. r=bryner, sr=neil, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@169103 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 13:18:40 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
roc+%cs.cmu.edu
1f5258aa4a Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155749 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 13:23:43 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
bryner%brianryner.com
2dce372072 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151662 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 23:05:10 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
468d3e2e8d Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
b5347dd60c 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.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
bryner%brianryner.com
eeddf02bde 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.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
roc+%cs.cmu.edu
7683429d2e Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@145537 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 12:39:51 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
caillon%returnzero.com
0a6d1ae509 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


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
aaronl%netscape.com
e4349bc29d Bug 187839. Japanese IME/caret bug. Fixing checkin so that it doesn't include debugging printf. r=aaronl, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@137428 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-05 18:53:45 +00:00
aaronl%netscape.com
cc5098146d Bug 187839. Caret turns of when turning on Japanese IME. Patch by skamio@netscape.net. r=aaronl, sr=bryner, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137355 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 04:26:38 +00:00
aaronl%netscape.com
73edc9cb1b Bug 189853. Click to drop down menu bar item sometimes getting blocked, r=kyle, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@137059 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 03:41:31 +00:00
neil%parkwaycc.co.uk
46096ef45d Bug 179567 Cannot dismiss menu by clicking on menubar p=aaron r=bryner sr=jag
git-svn-id: svn://10.0.0.236/trunk@136660 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 11:58:30 +00:00
aaronl%netscape.com
63217187c8 Bug 179567. Backing out, causes menu regressions.
git-svn-id: svn://10.0.0.236/trunk@135899 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 21:15:20 +00:00
timeless%mozdev.org
7d8b306cdf Bug 187759 opening menu with full-page (quicktime, flash) plugin crashes in [@ nsMenuBarFrame::SetActive ]
r=aaronl sr=bz


git-svn-id: svn://10.0.0.236/trunk@135895 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 20:12:04 +00:00
aaronl%netscape.com
ccc82b5818 Bug 179567. Cannot dismiss menu by clicking on menu bar. r=pinkerton, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@135804 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 01:15:25 +00:00
aaronl%netscape.com
0f3bd51459 Bug 132489. Caret should stop blinking when user enters menus. r=kyle, sr=bryner.
git-svn-id: svn://10.0.0.236/trunk@135803 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 01:14:00 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
aaronl%netscape.com
5e82c47063 Bug 166704. Alt-tabbing between apps can disable typeaheadfind. r=kyle, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@128936 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 02:52:24 +00:00