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
mats.palmgren%bredband.net
9c18d9f96a
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
...
git-svn-id: svn://10.0.0.236/trunk@167833 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 18:44:01 +00:00
bmlk%gmx.de
adcb976e59
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
e547c59f49
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
robin.lu%sun.com
8cb04f0a83
back out patch for bug 262236 on request
...
git-svn-id: svn://10.0.0.236/trunk@166779 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-16 06:40:04 +00:00
robin.lu%sun.com
b6bc6746a6
fix bug 262236 can't select incontinuous list items. patched by nian.liu@sun.com r=aaron sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@166652 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-13 07:34:54 +00:00
bzbarsky%mit.edu
f53f98f7f3
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
git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
neil%parkwaycc.co.uk
7903ea1651
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
roc+%cs.cmu.edu
d9025f99fb
Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp)
...
git-svn-id: svn://10.0.0.236/trunk@162190 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 02:10:29 +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
4bbe6bddf6
Update the displayed text when closing a combobox with the keyboard causes a new option to be selected. Bug 257572, r=mkaply, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@161677 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 21:10:40 +00:00
bzbarsky%mit.edu
e481ad27f2
Relanding bug 108817, since it did not cause the Tp problem. r+sr=still roc
...
git-svn-id: svn://10.0.0.236/trunk@160650 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 04:49:05 +00:00
bzbarsky%mit.edu
b9de4e9489
Backing out patch for bug 108817 to test whether it causes the Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@160638 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:37:43 +00:00
bzbarsky%mit.edu
f7785eac83
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
git-svn-id: svn://10.0.0.236/trunk@160629 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 22:21:03 +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
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu
0b77ffa440
Bug 252850. Backing out minor listbox layout fix, because it broke something worse
...
git-svn-id: svn://10.0.0.236/trunk@159944 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 01:24:58 +00:00
roc+%cs.cmu.edu
c3f3e3fd7a
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
...
git-svn-id: svn://10.0.0.236/trunk@159756 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 23:46:25 +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
roc+%cs.cmu.edu
897c2495e8
Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@158083 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 02:08:19 +00:00
robin.lu%sun.com
100348226b
fix bug 220390 ACCESSKEY incorrectly supported on multiline SELECT tag.
...
patched by Nian Liu (neo.liu@sun.com ).
r=aaronleventhal sr=jst
git-svn-id: svn://10.0.0.236/trunk@157767 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 08:03:16 +00:00
roc+%cs.cmu.edu
b09df31b9e
Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@157279 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 00:25:00 +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
bzbarsky%mit.edu
73690f9d73
Change FlushPendingNotifications to have more granularity and update callers to
...
only flush the things they really need flushed. Bug 144072, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
ba11ee5bec
Bug 232540. List controls should not scroll an item into view if it is only outside the list in the horizontal direction.
...
git-svn-id: svn://10.0.0.236/trunk@155968 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:49:57 +00:00
roc+%cs.cmu.edu
201c5e7ba4
Backing out the part of the patch that was incorrectly checked in.
...
git-svn-id: svn://10.0.0.236/trunk@155967 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:48:53 +00:00
roc+%cs.cmu.edu
e7710a4890
Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
...
git-svn-id: svn://10.0.0.236/trunk@155965 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
42df013a50
No bug. Remove unused code and variables from nsListControlFrame. rs=shaver
...
git-svn-id: svn://10.0.0.236/trunk@155897 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 04:30:23 +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
roc+%cs.cmu.edu
44185c6657
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
4b70febae6
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
bryner%brianryner.com
62dee43850
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
bryner%brianryner.com
3191a1feaa
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
bryner%brianryner.com
7ace3321e6
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
bryner%brianryner.com
5b5cd321a4
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.
...
git-svn-id: svn://10.0.0.236/trunk@152182 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:17:21 +00:00
bryner%brianryner.com
70bf134ff4
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
94b69cb574
Miscellaneous cleanup. r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
bryner%brianryner.com
3d8a7179f8
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.
...
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
bryner%brianryner.com
ac18b979bc
Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151106 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 22:18:26 +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
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
bzbarsky%mit.edu
0976c7a3b9
Don't clear previous selection when range is extended using shift-ctrl-click.
...
Bug 112281, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@149339 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 04:23:53 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
roc+%cs.cmu.edu
d6f51ea339
Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply
...
git-svn-id: svn://10.0.0.236/trunk@146514 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-02 15:21:13 +00:00