neil@parkwaycc.co.uk
b7851999ff
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
71ed8bc863
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
a72905839b
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
2a82ee651e
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
77710748bc
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky@mit.edu
7fbd7bc6bc
Fix bug 313498 -- no need for aPresContext in GetOptionsContainer. r+sr=roc.
2005-10-23 22:11:27 +00:00
dbaron@dbaron.org
dbca1b4d3e
Indentation fixes needed after s/nsIPresContext/nsPresContext/. Whitespace changes only.
2005-10-15 04:08:04 +00:00
peterv@propagandism.org
97ce448ce1
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
aaronleventhal@moonset.net
944c40f520
Bug 306437. Onchange events fired twice for option selection via mouseclick. r=dbaron, sr=neil
2005-09-04 18:20:56 +00:00
bzbarsky@mit.edu
fa964ccca9
Make sure kepress handlers are not affected by Caps Lock state. Bug 295228,
...
patch by Dainis Jonitis <Dainis_Jonitis@swh-t.lv >, r=neil, sr=bzbarsky
2005-08-30 18:13:48 +00:00
bzbarsky@mit.edu
93240998ef
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
timeless@mozdev.org
30491671d1
Bug 302356 Crash when drag-scrolling combobox [@ nsIFrame::HasView][@ nsIFrame::GetOffsetTo]
...
r=roc sr=roc a=bsmedberg
2005-08-07 14:35:45 +00:00
bzbarsky@mit.edu
137cf65959
Fix leaks on any page with a <select> by using already_AddRefed instead of a
...
raw addrefed return so that callers can't screw up as easily. Bug 300833,
r+sr=roc, a=bsmedberg
2005-07-28 16:23:22 +00:00
roc+@cs.cmu.edu
e4626ce388
Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg
2005-07-25 23:23:53 +00:00
mats.palmgren@bredband.net
04d182d5e7
Consider height of <OPTGROUP> labels when calculating visible height. b=300474 r+sr=bzbarsky a=benjamin
2005-07-24 01:02:15 +00:00
aaronleventhal@moonset.net
9eaab49396
Bug 290354. Support multiple selection. r=timeless, sr=bryner, a=asa
2005-07-14 14:20:21 +00:00
roc+@cs.cmu.edu
9e698dd1f8
Bug 291443. Capture the mouse if the user clicks on an item in a showed drop-down list. r+sr=bzbarsky,a=asa
2005-07-10 23:46:56 +00:00
mats.palmgren@bredband.net
110a60afd0
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
roc+@cs.cmu.edu
a0eeb9dcc8
Bug 290428. Don't change listbox selection when the cursor is over the listbox border and we're not capturing the mouse. r+sr=bzbarsky,a=asa
2005-06-17 02:44:31 +00:00
roc+@cs.cmu.edu
8ee093d0c7
Bug 296803. Don't start list item selection prematurely when the combobox pops up above the select control. r+sr=me, patch by Jan Darmochwal, a=asa
2005-06-14 22:15:53 +00:00
roc+@cs.cmu.edu
fb15791811
Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver
2005-06-02 09:00:48 +00:00
jst@mozilla.jstenback.com
f54c1fc9b1
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
d3dc46a30a
Bug 291443. Listboxes should always direct mouse capture to their scrolled frame, to ensure that events reach the DOM event listener. r+sr=bzbarsky,a=chofmann
2005-04-26 03:14:38 +00:00
roc+@cs.cmu.edu
d13849aac7
Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky
2005-03-28 21:08:22 +00:00
ginn.chen@sun.com
9641cba8b1
Bug 262236 Can't select listitems which are not next to.
...
patch=neo.liu at sun.com, r=aaronleventhal sr=neil
2005-03-08 03:05:03 +00:00
jst@mozilla.jstenback.com
f0e42821ce
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
bzbarsky@mit.edu
d21b44614c
Setting selectedIndex should clear all "previous value" state so that onchange
...
won't fire unless the user actually changes the value from the one set by
setting selectedIndex. r=mats, sr=roc, a=roc
2005-02-17 04:29:37 +00:00
smfr@smfr.org
9900fab8c9
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
3bae0115c7
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
c0a629f20d
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
mats.palmgren@bredband.net
142f178b8e
Add NS_FRAME_INDEPENDENT_SELECTION to ListControlFrame (and children) and skip such frames (TextControlFrame also) in GetContentAndOffsetsFromPoint() when the point is only "near" (not inside) the frame. b=268497 r=bzbarsky sr=dbaron
2005-01-16 18:44:01 +00:00
bmlk@gmx.de
f40ef13c32
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
bmlk@gmx.de
7d4129e77a
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
2004-12-26 19:48:54 +00:00
robin.lu@sun.com
6ceab4b3a4
back out patch for bug 262236 on request
2004-12-16 06:40:04 +00:00
robin.lu@sun.com
a9ba5ee46d
fix bug 262236 can't select incontinuous list items. patched by nian.liu@sun.com r=aaron sr=neil
2004-12-13 07:34:54 +00:00
bzbarsky@mit.edu
3058450426
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
neil@parkwaycc.co.uk
6d93ca9f7e
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
2004-09-20 22:25:07 +00:00
roc+@cs.cmu.edu
4481c13282
Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp)
2004-09-13 02:10:29 +00:00
roc+@cs.cmu.edu
4b8c28dfbf
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
2004-09-06 02:44:43 +00:00
bryner@brianryner.com
ac7f0406bb
Update the displayed text when closing a combobox with the keyboard causes a new option to be selected. Bug 257572, r=mkaply, sr=jst.
2004-09-02 21:10:40 +00:00
bzbarsky@mit.edu
0a6c055642
Relanding bug 108817, since it did not cause the Tp problem. r+sr=still roc
2004-08-11 04:49:05 +00:00
bzbarsky@mit.edu
213a1b9d91
Backing out patch for bug 108817 to test whether it causes the Tp regression.
2004-08-10 23:37:43 +00:00
bzbarsky@mit.edu
8797135662
Remove the timer stuff in nsListControlFrame and replace it with a simple
...
boolean that's set as needed if the options change and checked in DidReflow()
to decide whether to scroll the list. Also eliminate the mPresContext member.
Bug 108817, r+sr=roc
2004-08-10 22:21:03 +00:00
bryner@brianryner.com
8fc0179c66
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner@brianryner.com
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
bryner@brianryner.com
15745b0b06
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
2004-07-29 19:41:39 +00:00
roc+@cs.cmu.edu
060531ebe0
Bug 252850. Backing out minor listbox layout fix, because it broke something worse
2004-07-28 01:24:58 +00:00
roc+@cs.cmu.edu
863d9f4d69
Bug 232540. Make unconstrained-width comboboxes reflow their dropdowns with unconstrained width, always, to avoid a problem where the vertical scrollbar is added but the dropdown doesn't get correspondingly wider. r+sr=dbaron
2004-07-23 23:46:25 +00:00
neil@parkwaycc.co.uk
68c15d5535
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
6026676857
Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky
2004-07-21 01:05:44 +00:00