162 Commits

Author SHA1 Message Date
enndeakin%sympatico.ca
4909ea089c Bug 401627, better way of handling click to close menu so that it doesn't reopen the menu again, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@240313 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 16:33:45 +00:00
bzbarsky%mit.edu
103775a0c5 Don't do arithmetic with unconstrained widths when reflowing comboboxes. Bug
363858, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@240280 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:41:39 +00:00
roc+%cs.cmu.edu
cb8c6e3a11 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
mats.palmgren%bredband.net
e14885ac03 Protect against frame destruction during event handling and document when that can occur. b=378670 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226572 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 11:12:31 +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
asqueella%gmail.com
11bad405e3 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com
db1730f015 Bug 370303: Cleanup in layout/forms. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220186 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 10:58:31 +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
mats.palmgren%bredband.net
b8a8f64bb5 Make sure we fire onchange also after selectedIndex was set to -1 through DOM. Thanks to Pablo Greco for helping fix this. b=317078 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212915 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-30 05:07:49 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +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
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
4d3c9e6883 Bug 329465. Don't hold a strong ref to the event queue service from nsComboboxControlFrame. r+sr=roc, patch by Marc Liddell.
git-svn-id: svn://10.0.0.236/trunk@192093 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 19:24:54 +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
f6b0317991 Backing out changes for bug 326944, really this time\!
git-svn-id: svn://10.0.0.236/trunk@191297 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
5486ff00e1 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@191291 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:33:26 +00:00
timeless%mozdev.org
faf573a28d Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +00:00
sharparrow1%yahoo.com
1cf59a7435 Bug 326843 DeCOMtaminate some of nsComboboxControlFrame. Patch by marcldl+mozbugs@gmail.com. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@190470 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-18 01:52:03 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu
74858f37ce Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185977 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu
2512824da5 Remove the mGoodToGo goop. Its main effect seems to be to cause crashes when
HTML <select>s are used in XUL.  Bug 319796, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@185924 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 20:45:58 +00:00
bzbarsky%mit.edu
0c494d3744 Don't store the "normal" frame state for the root scrollframe, for now. Bug
318709, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@185743 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 23:56:17 +00:00
bzbarsky%mit.edu
d490f00b7b Remove the dummy frame stuff from selects. Replace it with smarter focus rect
painting and sizing for empty selects.  Bug 314879, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184162 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
c4e0410c6e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
aeacb4d477 Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
gavin%gavinsharp.com
c08a5451cc Bug 301313 : Remove mPresContext in /layout/forms/, patch by Andreas Lange <mozilla@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@177834 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 12:20:58 +00:00
mats.palmgren%bredband.net
f1ffae0752 Stop trying to observe content changes for the selected option, instead rely on getting a combobox reflow if it changed. b=297389 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174908 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 00:00:14 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
mats.palmgren%bredband.net
803edc9a31 Revoke outstanding events before posting a new RedisplayTextEvent to avoid potential out-of-order events which could mean displaying the wrong text. b=288821 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171542 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 22:16:07 +00:00
mats.palmgren%bredband.net
1f48cfd6ec Avoid recursive frame construction by using an event to call ActuallyDisplayText(). b=283117 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170932 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 01:58:17 +00:00
mats.palmgren%bredband.net
b65e6945b6 Redirect frame insertions during RedisplayText(). b=282607 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169508 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 23:54:36 +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
smfr%smfr.org
981d5897ee Fix bug 281732: event handling in camino's native popup got broken when screen-relative coordinates in Cocoa widget were fixed (bug 281470), which caused the nsComboboxControlFrame/nsListControlFrame code to start doing mouse capture, and showing the XUL popup. So add a static method, ToolkitHasNativePopup(), and query that (rather than #ifdeffing). r/sr=roc, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@169230 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 05:13:16 +00:00
aaronleventhal%moonset.net
a41619de7b Bug 280871. Fix various problems with how we expose HTML and XUL combo boxes via accessibility APIs
git-svn-id: svn://10.0.0.236/trunk@168937 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 23:11:30 +00:00
mats.palmgren%bredband.net
571aea44de Make assignments to DOM 'selectedIndex' change the focused index for lists/comboboxes. b=279868 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168819 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 22:56:13 +00:00
bryner%brianryner.com
3437ee229a Remove nsIPresState (bug 279699). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@168423 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 22:52:53 +00:00
bmlk%gmx.de
1b640dbf19 remove forgotten prescontext bug 276719 p=bugmail@q1n.org r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167180 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-02 15:46:53 +00:00
roc+%cs.cmu.edu
25c92b6a90 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +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
neil%parkwaycc.co.uk
fc3edfffcf Fix regression from bug 244761 so that only user actions will enable onChange after blur b=251833 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@159723 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 08:25:44 +00:00
rbs%maths.uq.edu.au
a41b8a61ef Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159562 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 01:05:44 +00:00
roc+%cs.cmu.edu
c820f47543 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159417 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:02:53 +00:00
neil%parkwaycc.co.uk
2bb39160f8 Restoring accidentally deleted line to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@157060 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 16:49:07 +00:00
neil%parkwaycc.co.uk
bd1da66475 Bug 244761 ESC shouldn't change displayed selection also improve consistency of change events for drop-downs r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@157059 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 16:25:04 +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
roc+%cs.cmu.edu
80b27683f0 Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154764 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:11:05 +00:00
peterv%propagandism.org
351bce50d5 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151501 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 14:53:32 +00:00