mats.palmgren@bredband.net
42a227c78a
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
bzbarsky@mit.edu
e7710fdc6c
Fix parent style context warnings by being consistent about parent contexts.
...
Bug 380116, r+sr=dbaron
2007-06-15 22:11:20 -07:00
joshmoz@gmail.com
d6015ce03e
don't let comboboxes render their labels over the native combobox button on Mac OS X. b=382043 r/sr=roc
2007-05-28 22:31:04 -07:00
joshmoz@gmail.com
d12acf85cf
don't add scrollbar width to getPrefWidth in nsComboboxControlFrame if the themed widget has set the internal button width to 0. b=381669 r/sr=roc
2007-05-23 12:16:27 -07:00
joshmoz@gmail.com
f5147def1c
Don't paint the background for the text frame in comboboxes if the combobox is themed. b=381268 r/sr=roc
2007-05-22 12:42:01 -07:00
joshmoz@gmail.com
79ffe0b1d1
don't put a dropmarker in comboboxes if nsITheme says not to. b=370282 r/sr=roc
2007-05-17 20:04:04 -07:00
mats.palmgren@bredband.net
fa393167a2
Protect against frame destruction during event handling and document when that can occur. b=378670 r+sr=bzbarsky
2007-05-17 04:12:30 -07:00
Olli.Pettay@helsinki.fi
7817abfbca
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
40178e46a3
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
1b5f6b30b6
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
b2ab6a6008
Fixing build bustage
2007-05-04 23:37:05 -07:00
bzbarsky@mit.edu
bf4922535e
Don't cut off the right-hand side of empty comboboxes. Bug 364510, r+sr=dbaron
2007-05-04 23:20:10 -07:00
bzbarsky@mit.edu
9beffcc014
Make assertion reflect reality better. Bug 357044, r+sr=roc
2007-04-25 18:17:05 -07:00
bzbarsky@mit.edu
eeaa1a101b
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
joshmoz@gmail.com
ed5252f114
remove app-specific code from tier-9 code. add a pref to handle native popup windows on Mac OS X instead. b=323062 r=smorgan sr=bsmedberg
2007-03-30 12:51:51 -07:00
Olli.Pettay@helsinki.fi
a1dca72a56
375196, r+sr=roc
2007-03-25 22:38:22 -07:00
bzbarsky%mit.edu
7bf5f8b7a1
Make the display frame resize correctly when the <select>'s width changes. Bug
...
370422, r+sr=dbaron
2007-02-28 03:04:38 +00:00
dbaron%dbaron.org
9d7f938b99
Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
2007-02-24 18:33:33 +00:00
bzbarsky%mit.edu
ad75d79f05
Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
...
NS_BLOCK_SPACE_MGR bits as necessary. Bug 354600, r+sr=roc
2007-02-18 23:53:25 +00:00
asqueella%gmail.com
284a5ea424
bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
...
r+sr=roc
2007-02-18 17:34:09 +00:00
joshmoz%gmail.com
ad35697de6
extend nsITheme to support native focus drawing. b=370549 r=dbaron sr=roc
2007-02-16 01:53:43 +00:00
sharparrow1%yahoo.com
db47d007bc
Bug 370303: Cleanup in layout/forms. r+sr=roc.
2007-02-15 10:58:31 +00:00
smontagu%smontagu.org
2932d47653
Remove obsolete state bit NS_BLOCK_SHRINK_WRAP. Bug 369243, r=bz, sr=dbaron
2007-02-15 05:07:57 +00:00
sharparrow1%yahoo.com
fc5994f67d
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:31:59 +00:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
4fcbe6d913
Remove some no longer needed code. Bug 368273, r+sr=dbaron
2007-01-30 05:52:27 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
baec9bd166
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
bzbarsky%mit.edu
3f669c3420
Fix the width computations for the dropdown to actually account for the border
...
and padding. Bug 365837, r+sr=dbaron
2007-01-11 17:59:41 +00:00
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
3688023262
Remove the consumers of GetScrollBarDimensions so that we can work on removing
...
the API too. Bug 364301, r+sr=roc
2006-12-19 15:08:34 +00:00
dbaron%dbaron.org
31f1898810
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.
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
b856b2c477
Back out bug 354600 to fix regressions.
2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
cbcaad14b4
Make block frames that are not kids of blocks automatically have space managers
...
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag. Bug 354600, r+sr=roc
2006-11-16 17:51:53 +00:00
masayuki%d-toybox.com
d0d3a21ea2
Bug 359496 focus outline on combobox <select>s is always drawn in black r+sr=dbaron
2006-11-04 17:28:39 +00:00
bzbarsky%mit.edu
1adfb9e915
Fix combobox outlines. Bug 328340, r+sr=dbaron
2006-11-03 00:22:31 +00:00
mats.palmgren%bredband.net
c9b7b60dce
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
2006-09-30 05:07:49 +00:00
uriber%gmail.com
f4ebea5c4c
When the control is RTL, align the drop-down with the right edge of the control. bug=203353 r=smontagu sr=bzbarsky
2006-08-13 19:34:58 +00:00
Olli.Pettay%helsinki.fi
2cfe84ecc4
Bug 231830, crash on style.display = 'none' for select element when event onchange occurs [@ nsStyleContext::GetRuleNode ][@ nsIFrame::Invalidate ], r+sr=bz
2006-08-11 12:09:30 +00:00
cvshook%sicking.cc
e75ee7f41a
Fix error in last checkin for bug 344050.
2006-07-19 08:55:36 +00:00
cvshook%sicking.cc
3a9a287253
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
2006-07-19 04:36:36 +00:00
mats.palmgren%bredband.net
47bd18fde6
Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part)
2006-07-06 10:43:51 +00:00
Olli.Pettay%helsinki.fi
cb1f0a0bb9
Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
2006-05-19 10:26:44 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
roc+%cs.cmu.edu
aac1b0d44f
Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
2006-04-26 02:01:07 +00:00
roc+%cs.cmu.edu
a7f03736a9
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
04b8c33eda
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
roc+%cs.cmu.edu
0a10a79f62
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
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
131e8794e2
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
4a3998fc32
Fixing bustage
2006-03-14 21:02:42 +00:00
roc+%cs.cmu.edu
6fd863f2dd
Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
514265e536
Bug 329465. Don't hold a strong ref to the event queue service from nsComboboxControlFrame. r+sr=roc, patch by Marc Liddell.
2006-03-09 19:24:54 +00:00
roc+%cs.cmu.edu
c2801ebbd7
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b
Bug 234455, Centralize event dispatch r=jst, sr=bz
2006-03-07 17:08:51 +00:00
roc+%cs.cmu.edu
fe8a1f2ea2
Bug 328898. deCOMtaminate signatures on nsIListControlFrame.h. Patch by Marc Liddell, r+sr=roc
2006-03-01 01:00:29 +00:00
roc+%cs.cmu.edu
1fac9c6d76
Backing out changes for bug 326944, really this time\!
2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
b7126ee8e0
Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell
2006-02-27 02:33:26 +00:00
sharparrow1%yahoo.com
4b04b00311
Bug 326843 DeCOMtaminate some of nsComboboxControlFrame. Patch by marcldl+mozbugs@gmail.com. r+sr=roc.
2006-02-18 01:52:03 +00:00
bzbarsky%mit.edu
504bb277ba
More usage of already_AddRefed. Fix leaks too. Bug 325378, r=sicking, sr=jst
2006-02-09 16:23:32 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
f96a096c2c
Fix leak bug 324969 -- make sure to call virtual destructors.
2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu
77bca74243
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
2006-01-26 02:29:17 +00:00
joshmoz%gmail.com
10ce46bcd5
Enable popup windows in Cocoa widgets. This puts 2 app-specific ifdefs in tier 9 code, but we plan to take care of those soon. We can use a pref so that the same binary can serve the needs of Camino and other Cocoa widget consumers. b=316076 r=mento sr=pinkerton
2006-01-11 19:09:20 +00:00
mrbkap%gmail.com
4bad6f49dc
bug 315752: Crashes and assertions happening in DoDeletingFrameSubtree when <select>s are in the air. The fix is to make DoCleanupFrameReferences clean up additional child lists. Patch by bzbarsky. r=roc/mats/mrbkap sr=roc
2005-12-20 02:06:14 +00:00
roc+%cs.cmu.edu
18647b7ec2
Bug 320337. Remove mFrameConstructor member from nsListBoxBodyFrame. patch by Vidar Harr, r+sr=roc
2005-12-16 02:56:36 +00:00
roc+%cs.cmu.edu
b65c655ed9
Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu
f9bea49aa1
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
2005-12-11 20:45:58 +00:00
bzbarsky%mit.edu
88a01f50af
Fix crash bug 282707. Patch by Mats Palmgren <mats.palmgren@bredband.net>, r+sr=bzbarsky
2005-12-08 19:01:20 +00:00
bzbarsky%mit.edu
5c508f5e01
Remove no longer needed event hack. Bug 146399, patch by Vidar Haarr
...
<vhaarr+bmo@gmail.com>, r=dbaron, sr=rbs
2005-12-08 01:44:30 +00:00
bzbarsky%mit.edu
8fa76d37ac
Don't store the "normal" frame state for the root scrollframe, for now. Bug
...
318709, r+sr=roc
2005-12-06 23:56:17 +00:00
neil%parkwaycc.co.uk
0d29adadea
Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst
2005-12-02 12:02:44 +00:00
timeless%mozdev.org
1c34e68034
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bzbarsky%mit.edu
0f66d83269
Relanding bug 305705. Patch still by mats, r+sr=me.
2005-11-15 04:03:08 +00:00
bzbarsky%mit.edu
a946ffec4a
Back out bug 305705 to test performance impact.
2005-11-15 02:16:25 +00:00
bzbarsky%mit.edu
3608df15a6
Make sure to do a constrained reflow after having done an unconstrained one.
...
Bug 305705, patch by Mats Palmgren <mats.palmgren@bredband.net>, r+sr=bzbarsky
2005-11-14 21:51:17 +00:00
bzbarsky%mit.edu
27c439cb3c
Remove the dummy frame stuff from selects. Replace it with smarter focus rect
...
painting and sizing for empty selects. Bug 314879, r+sr=dbaron
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
520b30a7f7
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
cvshook%sicking.cc
64a0fbd45f
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
2005-10-28 11:25:24 +00:00
mats.palmgren%bredband.net
bb5f71a7f4
Don't compare the displayed value against the "selected index" in dropped down mode since that is actually the "hovered index". b=313260 r+sr=bzbarsky
2005-10-22 03:47:00 +00:00
bzbarsky%mit.edu
3d61b57735
Start out with our display textnode in the right state so we don't require
...
two-pass reflow (which printing can't handle) to display comboboxes right. Bug
311380, r+sr=roc
2005-10-20 23:19:22 +00:00
peterv%propagandism.org
3609c87767
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
2005-09-24 18:43:15 +00:00
mats.palmgren%bredband.net
9f89e5e068
Call 'RemoveMappingsForFrameSubtree()' before destroying 'mPopupFrames'. b=117984 r+sr=bzbarsky
2005-09-20 20:28:02 +00:00
roc+%cs.cmu.edu
fed343c43a
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.
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
0d6a610963
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
gavin%gavinsharp.com
9e2e6cc931
Bustage fix #1 , remnant from another patch
2005-08-16 12:42:34 +00:00
gavin%gavinsharp.com
6655b13eac
Bug 301313 : Remove mPresContext in /layout/forms/, patch by Andreas Lange <mozilla@lange.cx>, r+sr=roc
2005-08-16 12:20:58 +00:00
roc+%cs.cmu.edu
613c2ee10c
Restoring fix for bug 295571
2005-06-22 01:38:49 +00:00
roc+%cs.cmu.edu
c64a4be67f
Backing out fix for bug 295571 to see if that caused Tp hurt
2005-06-21 23:22:33 +00:00
roc+%cs.cmu.edu
941fb250ab
Bug 295571. Make sure we resize the combobox dropdown's view and widget if we reflow the combobox while its dropdown is showing. r+sr=dbaron,a=chofmann
2005-06-21 04:04:12 +00:00
mats.palmgren%bredband.net
293246508e
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
2005-06-21 00:00:14 +00:00
mats.palmgren%bredband.net
05cc19b763
Adjust current index of combobox when options are added or removed. b=286170 r+sr=bzbarsky a=asa
2005-06-20 23:26:35 +00:00
roc+%cs.cmu.edu
de75a5024a
Bug 292656. 'Fully unconstrained' reflows should only depend on the width being unconstrained, since the dropdown layout doesn't depend on the computed height. r+sr=dbaron,a=asa
2005-06-17 02:42:29 +00:00
aaronleventhal%moonset.net
5a752fb290
Bug 289376. Fix description and value for combo boxes. r=louie.zhao, sr=jst. a=asa
2005-05-05 15:05:34 +00:00
jst%mozilla.jstenback.com
50de4a3e1d
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
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
84b0577142
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
2005-04-28 21:57:22 +00:00
bzbarsky%mit.edu
e84856a159
Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
...
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
34f73270cd
Flush out content model construction before messing with the DOM, since we plan
...
to insert frames into our display frame and putting options in there is a bad
idea. Bug 289730, r+sr=roc, a=asa
2005-04-12 15:31:03 +00:00
mats.palmgren%bredband.net
7c0488c16c
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
2005-04-03 22:16:07 +00:00
mats.palmgren%bredband.net
4d0360b69b
Remove code that does not work with outstanding RedisplayText events. b=288821 r+sr=bzbarsky
2005-04-03 19:58:40 +00:00
bmlk%gmx.de
10291e93a2
fix for build warnings (shadow & strange null pointer treatment) bug 287102 r/sr=dbaron
2005-03-24 18:41:39 +00:00
mats.palmgren%bredband.net
5eda45ec6c
Avoid recursive frame construction by using an event to call ActuallyDisplayText(). b=283117 r+sr=bzbarsky
2005-03-21 01:58:17 +00:00
jst%mozilla.jstenback.com
a57ec3f6dc
Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
2005-03-04 02:01:54 +00:00
mats.palmgren%bredband.net
2b8e45f247
Redirect frame insertions during RedisplayText(). b=282607 r+sr=bzbarsky
2005-02-19 23:54:36 +00:00
bzbarsky%mit.edu
d062676ab0
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
2005-02-18 16:11:53 +00:00
smfr%smfr.org
0874f92566
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.
2005-02-16 05:13:16 +00:00
aaronleventhal%moonset.net
e177758a41
Bug 280871. Fix various problems with how we expose HTML and XUL combo boxes via accessibility APIs
2005-02-07 23:11:30 +00:00
mats.palmgren%bredband.net
c967eac0c7
Make assignments to DOM 'selectedIndex' change the focused index for lists/comboboxes. b=279868 r+sr=bzbarsky
2005-02-04 22:56:13 +00:00
bryner%brianryner.com
d94c0df713
Remove nsIPresState (bug 279699). r+sr=roc.
2005-01-27 22:52:53 +00:00
bryner%brianryner.com
a8073f18a3
Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
2005-01-12 19:45:38 +00:00
bmlk%gmx.de
6ce209705a
remove forgotten prescontext bug 276719 p=bugmail@q1n.org r/sr=dbaron
2005-01-02 15:46:53 +00:00
bmlk%gmx.de
ca3e9f85c3
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
dbaron%dbaron.org
1a43dc79c0
Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv
2004-12-19 21:45:51 +00:00
aaronleventhal%moonset.net
d3e9a04f62
Bug 269212. CSS select:focus outline too large on combobox, extending past the right side. Make sure to FinishAndStoreOverflow() even if returning early from nsComboboxFrame::Reflow(). r+sr=roc
2004-12-01 16:17:44 +00:00
neil%parkwaycc.co.uk
a45fb5a046
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
2004-11-24 00:19:21 +00:00
roc+%cs.cmu.edu
a349f887cd
Bug 62384. Invalidate cached height when it's not equal to the current height. r+sr=roc, patch by Hideo Saito.
2004-09-29 01:44:29 +00:00
aaronleventhal%moonset.net
f4a48e2f49
Bug 255569. HTML combo box drop downs should not be in tab order. r=neil, sr=bryner
2004-09-08 19:32:29 +00:00
roc+%cs.cmu.edu
6255acffd9
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
2004-09-06 02:44:43 +00:00
aaronleventhal%moonset.net
1f5edcb856
Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc
2004-09-01 14:58:34 +00:00
bmlk%gmx.de
7884179497
frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc
2004-08-31 18:50:40 +00:00
peterv%propagandism.org
45682cc199
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
2004-08-10 10:22:36 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
neil%parkwaycc.co.uk
92f587883a
Fix regression from bug 244761 so that only user actions will enable onChange after blur b=251833 r/sr=roc
2004-07-23 08:25:44 +00:00
rbs%maths.uq.edu.au
e2527bce29
Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky
2004-07-21 01:05:44 +00:00
roc+%cs.cmu.edu
b751c53c83
Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron
2004-07-18 12:02:53 +00:00
peterv%propagandism.org
a7908e751a
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
2004-06-25 12:26:02 +00:00
neil%parkwaycc.co.uk
600887c6ff
Bug 245096 Clicking on combo box inhibits change event patch in bug 244761 r/sr=roc
2004-05-31 23:22:08 +00:00
neil%parkwaycc.co.uk
467eb2c764
Bug 244761 ESC shouldn't change displayed selection also improve consistency of change events for drop-downs r/sr=roc
2004-05-28 16:25:04 +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
jst%mozilla.jstenback.com
97deb07230
Fixing regression bug 243345. Make nsITextContent::SetText() work with non-null terminated strings, and fix silly mistake in nsComboboxControlFrame::GetIndexOfDisplayArea(). Patch partly by bzbarsky@mit.edu, and partly by myself. r+sr=bzbarsky@mit.edu and jst@mozilla.jstenback.com
2004-05-13 01:12:10 +00:00
jst%mozilla.jstenback.com
99e02e5aa3
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
2004-05-07 20:55:17 +00:00
tor%cs.brown.edu
868dd94ecb
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
83eb215db9
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
roc+%cs.cmu.edu
17f81274ba
Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
2004-04-13 03:11:05 +00:00
roc+%cs.cmu.edu
8397ac8d8f
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
ab4ac54b6f
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
bryner%brianryner.com
ed98c9a308
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
bryner%brianryner.com
225298a99e
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
bryner%brianryner.com
92499cbd13
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
bryner%brianryner.com
4f69ec2c2e
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
roc+%cs.cmu.edu
ee86ab45fb
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
2004-01-30 03:20:41 +00:00
bryner%brianryner.com
bc74f0b352
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +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
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +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
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +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
bzbarsky%mit.edu
c9a9ee88ce
removing extra semicolon
2003-10-21 19:37:48 +00:00
bzbarsky%mit.edu
46de74faf0
Make sure to include the border and padding in the frame size even in the
...
"0 width" case. Bug 222990, r+sr=roc
2003-10-21 16:27:48 +00:00
dbaron%dbaron.org
3de4dc91e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
roc+%cs.cmu.edu
ec0c023645
Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply
2003-09-02 15:21:13 +00:00
bzbarsky%mit.edu
e2e733b5de
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
aaronl%netscape.com
5c5a6660ec
Bug 211846. alt+down not working consistently for dropdowns. Also fixes bug 110801 and bug 205942, dropdown from alt+down not showing in the right place. r=jkieser, sr=bz
2003-07-09 06:36:33 +00:00
roc+%cs.cmu.edu
0b15c3893e
Ongoing deCOMtamination. r+sr=dbaron
2003-07-04 12:50:32 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +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
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
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bzbarsky%mit.edu
0b85b42edc
Fix crash when composer and comboboxes interact. The real fix is in
...
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +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
roc+%cs.cmu.edu
3936b4c393
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
timeless%mozdev.org
697618b07d
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bzbarsky%mit.edu
83e46b1a49
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
jkeiser%netscape.com
9dfc1961ec
Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com
2003-03-14 06:18:20 +00:00
bryner%netscape.com
f3a28e9f42
Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
2003-03-12 04:57:33 +00:00
bryner%netscape.com
e43f5a49fd
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.
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
57124d8115
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
dbaron%dbaron.org
14c5b6b776
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:19:10 +00:00
jkeiser%netscape.com
cb84e04c70
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
2002-12-18 23:38:09 +00:00
dbaron%fas.harvard.edu
f6b1702067
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
b11bfa8941
Fix regression bug 179896; need to use the cached ascent in this case
...
too. r=jkeiser, sr=roc+moz
2002-11-13 22:34:09 +00:00
bzbarsky%mit.edu
d33d3708fe
Align text inputs, buttons, comboboxes to baseline with respect to the
...
text around them (bug 167236). Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364). Fix nonuniform heights
of form controls (bug 70251). Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00
alecf%netscape.com
348a43af99
prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
...
sr=peterv/jst, r=bzbarsky
2002-11-07 21:23:09 +00:00
kyle.yuan%sun.com
4acee63ab2
Bug 177965 Wrong option selected in select field when pressing first key
...
r=jkeiser, sr=bzbarsky
Use a static member function ComboboxFocusSet() to clear the gLastKeyTime, and have gLastKeyTime be a static member
2002-11-07 10:25:03 +00:00
rods%netscape.com
cc93338c09
no longer cache the scrollbar width that is used to also calculate the btn width.
...
Bug 167032 r=jkeiser sr=alecf
2002-10-01 14:24:15 +00:00
dougt%netscape.com
f2a00efc93
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
2002-09-03 23:36:13 +00:00
bzbarsky%mit.edu
5d1c18865d
clean up some form control stuff (use common helpers and superclasses
...
for shared functionality where possible). r=jkeiser, sr=jst
2002-08-06 23:50:08 +00:00
jkeiser%netscape.com
dca7f18492
Make select clear when last option is removed from it (bug 154410), r=bzbarsky@mit.edu, sr=dbaron@fas.harvard.edu, a=asa
2002-07-18 00:58:31 +00:00
jkeiser%netscape.com
ff4098d11e
Make enter fire onChange for non-dropped-down select. bug 150759, r=rods@netscape.com, sr=kin@netscape.com
2002-06-14 06:50:22 +00:00
jkeiser%netscape.com
4d507d3aff
Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
2002-06-04 00:44:04 +00:00
karnaze%netscape.com
1faf4c0592
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
rods%netscape.com
c2d186a7fa
temporary patch to the forms controls to ignore mouse events when in
...
printpreview until Bug 124990 gets fixed (radio and checkbox doesn't need the fix)
this code will be removed via bug 146399
Bug 129002 r=dcone sr=attinasi
2002-05-23 11:25:58 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
waterson%netscape.com
e3554c37cc
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
jkeiser%netscape.com
20de5ef0e8
Make dropdowns paint over the background beneath them (bug 95826). r=jkeiser@netscape.com, sr=attinasi@netscape.com, a=asa
2002-04-05 04:29:05 +00:00
dbaron%fas.harvard.edu
b350a0fd0f
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +00:00
jkeiser%netscape.com
e95bf883e6
Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
31e41094ef
Backing out 108308 due to pageload spike
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
39fe8af27c
Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
2002-03-29 05:35:47 +00:00
dbaron%fas.harvard.edu
66238732c8
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:26:36 +00:00
jkeiser%netscape.com
f929b21bf6
Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com
2002-02-20 05:59:46 +00:00
aaronl%netscape.com
26f23e3c82
Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt
2002-02-16 01:35:09 +00:00
rods%netscape.com
ae9f009f3d
Override if the computed size is zero
...
Bug 121461 r=dcone sr=attinasi
2002-02-12 15:24:37 +00:00
rods%netscape.com
f7967cae61
Clip was being incorrectly set set as Replace instead of Intersect
...
Bug 84138 r=kmcclusk sr=attinasi
2002-02-12 13:35:59 +00:00
jkeiser%netscape.com
2cceb551a9
bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com
2002-02-08 18:35:48 +00:00
jkeiser%netscape.com
b4782ab0df
Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin
2002-01-25 23:35:44 +00:00
jkeiser%netscape.com
a4e89c98c2
Backing out bug 112241 changes, tree is closed, sorry
2002-01-25 19:54:55 +00:00
jkeiser%netscape.com
a555e7ec64
Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin
2002-01-25 19:08:03 +00:00