gavin%gavinsharp.com
0b638620e3
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
7c2d474fa9
Restoring fix for bug 295571
2005-06-22 01:38:49 +00:00
roc+%cs.cmu.edu
c73317a666
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
a9a3a68f28
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
5e77d4ed06
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
0ecbb26a36
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
bc940b42a3
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
ef752f8ca9
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
c4b8dd4f16
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
af00f217f9
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
f911f30fc9
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
559ddeb319
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
306df79b00
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
45c2f6f0ad
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
cff1ac8a0e
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
54800c011d
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
cef561a155
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
2f6c08d48c
Redirect frame insertions during RedisplayText(). b=282607 r+sr=bzbarsky
2005-02-19 23:54:36 +00:00
bzbarsky%mit.edu
e22c7d9fac
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
994776bdf7
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
2405f82c91
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
4474d25063
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
5b8aeed3b1
Remove nsIPresState (bug 279699). r+sr=roc.
2005-01-27 22:52:53 +00:00
bryner%brianryner.com
5e2d6d2947
Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
2005-01-12 19:45:38 +00:00
bmlk%gmx.de
e4402cbb7f
remove forgotten prescontext bug 276719 p=bugmail@q1n.org r/sr=dbaron
2005-01-02 15:46:53 +00:00
bmlk%gmx.de
917905359e
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
dbaron%dbaron.org
1cc6b3262a
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
3f39d3f81d
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
d13fb54f7e
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
57e7e78a04
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
6e3446f4df
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
da54d83f54
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
2004-09-06 02:44:43 +00:00
aaronleventhal%moonset.net
ee255c951a
Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc
2004-09-01 14:58:34 +00:00
bmlk%gmx.de
1134a9f349
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
0836738940
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
cc807b07b1
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
neil%parkwaycc.co.uk
30c6b70167
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
784ccdb144
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
91db4db112
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
c6758de122
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
2004-06-25 12:26:02 +00:00
neil%parkwaycc.co.uk
1422fe45d0
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
a77f02d1ce
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
27b140b534
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
7133578356
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
d247d3f525
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
2004-05-07 20:55:17 +00:00
tor%cs.brown.edu
44fbbcc21b
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
bd2796f514
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
roc+%cs.cmu.edu
bc07b888e1
Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
2004-04-13 03:11:05 +00:00
roc+%cs.cmu.edu
0651f4e7ae
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
6252896efc
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
bryner%brianryner.com
d6b0d386ee
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
bryner%brianryner.com
745944525d
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
b26298f7c2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
bryner%brianryner.com
05a0e4f624
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
a2c6a75e31
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
fd6fed0d82
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
a135ce4d60
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
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
7264501b7b
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
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
a0e219b348
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
18f5747325
removing extra semicolon
2003-10-21 19:37:48 +00:00
bzbarsky%mit.edu
329318dabf
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
fb5dcec631
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
5217fe6d78
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
1c89273d3a
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
aaronl%netscape.com
207518b7ea
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
fa7a397567
Ongoing deCOMtamination. r+sr=dbaron
2003-07-04 12:50:32 +00:00
dbaron%dbaron.org
42b06cc4f5
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
ba75de772b
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
149f719c00
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
a15b9f2cf4
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
c39801f13f
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
4d3b825ffa
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
f2dc5c2442
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
965ba28bb1
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
5a829e126a
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
e5056bee26
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
7ce4b290a0
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
cc390fbe51
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
a5fcfea19e
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
1419b5fd03
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
6c504f96e1
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
b2f992acb9
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
394be78734
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
20bae565b3
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
0e8921e8a7
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
8ef3978344
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
e50e50bca1
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
c1b9f8114d
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
57a9907708
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
3e44d00ca6
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
44e79e1658
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
6c8141be88
Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
2002-06-04 00:44:04 +00:00
karnaze%netscape.com
dc7e454eb3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
rods%netscape.com
246b1b3bf4
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
c510ff0346
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
926ecba1d9
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
dd466d6a81
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