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
bc6893b6ba
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
217d29553f
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
1ef92d4540
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
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
bzbarsky%mit.edu
50134ed570
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
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
mats.palmgren%bredband.net
54108dc6db
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
ca3e9f85c3
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
d3197a9276
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
2004-12-26 19:48:54 +00:00
robin.lu%sun.com
864e562e03
back out patch for bug 262236 on request
2004-12-16 06:40:04 +00:00
robin.lu%sun.com
f395533f29
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
7fd8feb31d
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
6a4f37de6b
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
2a8936b1a7
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
6255acffd9
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
2004-09-06 02:44:43 +00:00
bryner%brianryner.com
96ff7a927c
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
d4226e05fa
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
f5ed95e537
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
b34ac7a3db
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
6a8c79a9b2
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +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
bryner%brianryner.com
0fd21c3872
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
748bc62eb8
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
a406f5f3c0
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
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
roc+%cs.cmu.edu
c81d937cfe
Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron
2004-06-18 02:08:19 +00:00
robin.lu%sun.com
b8205678d0
fix bug 220390 ACCESSKEY incorrectly supported on multiline SELECT tag.
...
patched by Nian Liu (neo.liu@sun.com ).
r=aaronleventhal sr=jst
2004-06-11 08:03:16 +00:00
roc+%cs.cmu.edu
626c4c26f5
Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst
2004-06-02 00:25:00 +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
roc+%cs.cmu.edu
cc6fdc52b2
Bug 232540. List controls should not scroll an item into view if it is only outside the list in the horizontal direction.
2004-05-05 02:49:57 +00:00
roc+%cs.cmu.edu
47ce3369a5
Backing out the part of the patch that was incorrectly checked in.
2004-05-05 02:48:53 +00:00
roc+%cs.cmu.edu
a6dd695671
Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
b39d104f02
No bug. Remove unused code and variables from nsListControlFrame. rs=shaver
2004-05-04 04:30:23 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +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
5f7a8b383e
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +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
bryner%brianryner.com
ef5c330583
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.
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
379d6c8a41
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +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
bryner%brianryner.com
0286fde9c1
Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron.
2004-01-09 22:18:26 +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
bzbarsky%mit.edu
bb59181099
Don't clear previous selection when range is extended using shift-ctrl-click.
...
Bug 112281, r+sr=roc
2003-11-15 04:23:53 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +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
roc+%cs.cmu.edu
46638c553d
Bug 207637. Don't fire onchange for MouseUp events where we didn't see a mousedown. r+sr=dbaron,a=asa
2003-08-12 16:00:20 +00:00
dbaron%dbaron.org
476143ae1a
Remove workaround for timer bug, since the timer bug is fixed and the workaround now causes a crash. b=215250 r+sr=brendan a=asa
2003-08-07 00:00: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
jaggernaut%netscape.com
817298ce0b
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +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
9bd83767f7
Fixing build bustage
2003-07-04 13:36:03 +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
jkeiser%netscape.com
2e29273c63
Remove unused variables, r+sr=sfraser@netscape.com
2003-06-06 01:11:57 +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
roc+%cs.cmu.edu
f5b886b9cd
Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
2003-05-22 01:46:13 +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
roc+%cs.cmu.edu
ade40a3ae3
Bug 204531. Remove bogus RTL listbox reflow hack. Fix border computation for desired size of combobox dropdowns.
2003-05-15 01:42:53 +00:00
roc+%cs.cmu.edu
f4a1c61d8c
Bug 201797. Do an extra reflow of the scrollframe if we adjusted the width or height after reflowing it the first time. Also, don't include border/padding when calculating the visible width in the unconstrained case
2003-05-04 19:00:21 +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
jst%netscape.com
0b5cb41238
Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com
2003-03-14 07:00:53 +00:00
kyle.yuan%sun.com
d2a4744e14
Bug 188199 incremental search in <select> fails if item starts with repeats of a letter
...
r=jkeiser, sr=henry.jia
2003-02-23 01:19:17 +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
neil%parkwaycc.co.uk
aa05374d8e
Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser
2003-01-10 09:24:30 +00:00
dbaron%dbaron.org
849440045e
Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky
2003-01-10 00:30:50 +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
d7d9298ab3
Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com
2002-12-20 05:32:27 +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
jkeiser%netscape.com
a1d3c960e5
Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com
2002-12-17 00:56:01 +00:00
kyle.yuan%sun.com
f1ebcab55a
Bug 159947 no way to multiselect using keyboard in list box
...
r=akkana, sr=bryner
Use charCode instead of keyCode to check whether a key typing is SPACE
2002-12-11 03:24:27 +00:00
peterv%netscape.com
2cd27f702a
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +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
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
kyle.yuan%sun.com
a3dadf6cfe
Bug 119696 Many keyboard shortcuts don't work when focus is on a <select> (listbox or drop-down)
...
r=jkeiser, sr=bzbarsky, a=roc+moz
Thanks for Simford.Dong@sun.com's fix
2002-10-30 01:05:43 +00:00
aaronl%netscape.com
eeb40eac51
Bug 175827. Accessibility APIs: XUL and HTML comboboxes - when pulled down, should have initial MSAA focus event on first focused option. r=kyle, sr=alecf, a=dbaron
2002-10-25 02:53:45 +00:00
kyle.yuan%sun.com
a20c3b924d
Bug 161449 Non-ASCII shortcuts for select elements in html forms
...
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
hyatt%netscape.com
e8710c1495
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
2002-09-21 01:03:38 +00:00
kyle.yuan%sun.com
c49df165a5
Bug 150590 should be able to type words into <select> - incremental search for item
...
r=jkeiser, sr=bryner
Support incremental typing navigation for <select>
2002-09-20 02:12:12 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
dougt%netscape.com
fae89c4077
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 05:38:16 +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
bd00f336c3
Fix crash when clicking empty space in <select>. Bug 161499, r=jkeiser, sr=jst
2002-08-08 22:27:57 +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
faf019ce38
Get rid of dirt and sludge from the select interface, and add comments (bug 159242), r=rods@netscape.com, sr=jst@netscape.com
2002-08-06 04:59:15 +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
rods%netscape.com
249c99976d
Selection now works with multiple selects
...
Bug 64165 r=jkeiser sr=attinasi
2002-04-17 00:09:54 +00:00
rods%netscape.com
e6ba8d44f3
Backed out the one line that causes this to happen
...
64165 r=jkeiser sr=attinasi
2002-04-15 13:39:00 +00:00
rods%netscape.com
57b403c725
Click on the checkbox to get focus to the right spot and then press <tab> to
...
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
2002-04-11 00:53:20 +00:00
rods%netscape.com
5d756d11b6
This backs out the previous patch and just check to see if it is also a
...
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 13:27:04 +00:00
jkeiser%netscape.com
8bd94cbcd7
Make listboxes not select the nearest visible option when tabbing out (bug 132431). r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
2002-04-05 04:34:02 +00:00
aaronl%netscape.com
be88fe4c6a
Bug 112978. HTML select options need to generate Accessibility API focus events, so screen readers can track user's movements through options. r=jgaunt, sr=attinasi, a=asa
2002-04-04 23:27:45 +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
rods%netscape.com
27c318e746
Add SetVisibility method to Scroll Views
...
It now checks the visibility and adjusts the scrollbars accordingly
Bug 92333 r=kmcclusk sr=attinasi a=asa
2002-03-27 02:58:56 +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
b912cb1c68
Fix select focus crasher (bug 125906), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
2002-03-14 00:56:56 +00:00
mkaply%us.ibm.com
9c58ca40c8
#100186
...
r=jkeiser, sr=attinasi, a=asa
On OS/2 and Windows, handle F4 to roll up and down dropdowns
2002-03-08 15:49:30 +00:00
bryner%netscape.com
d2229cbf68
- Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
...
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.
Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +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
roc+%cs.cmu.edu
59d3d1ebd0
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
2002-02-19 21:33:26 +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
roc+%cs.cmu.edu
71f8f6558e
Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson
2002-01-27 07:56:23 +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
bryner%netscape.com
fd7cdd1838
Bug 120189 - fix selection crash with xbl select widget. Move content node updating to the XBL event handlers. r=varga, sr=jag.
2002-01-24 01:22:33 +00:00
jkeiser%iname.com
7fbede3e5b
Improved CTRL+mouse/keyboard selection (bug 40983). r=rods, sr=jst
2002-01-10 04:23:13 +00:00
waterson%netscape.com
854831c91c
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
e44e7d9ec8
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
2001-12-17 07:14:49 +00:00
jgaunt%netscape.com
3cb166bf1c
bug 102021, xul menulist accessibility support for aaronl
...
r=jgaunt, sr=hyatt
bug 109227, xul tabbox accessibility support
r=aaronl, sr=hewitt
bug 110800, improper event firing in selects
r=dcone, sr=attinasi
2001-12-17 01:21:29 +00:00
karnaze%netscape.com
748ebbcd0d
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
jst%netscape.com
d9e3afb71d
Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com
2001-12-06 06:57:03 +00:00
roc+%cs.cmu.edu
c88233916b
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
2001-12-01 14:31:45 +00:00
roc+%cs.cmu.edu
c26c9711f3
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
2001-11-22 05:26:32 +00:00
karnaze%netscape.com
436e1ac49e
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
smontagu%netscape.com
0f589ca7c4
Recheckin of fix to bug 104792, which was killed by checkin on bug 104874. r=rods, sr=attinasi
2001-11-12 22:31:32 +00:00
dbaron%fas.harvard.edu
0c93d110f3
Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard
2001-11-10 23:30:13 +00:00
jkeiser%iname.com
46b6f9ea78
Null-safety checks (bug 108808). r=rods@netscape.com, sr=kin@netscape.com
2001-11-10 07:45:15 +00:00
jst%netscape.com
6d64ded4f2
Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
2001-11-02 07:40:01 +00:00
mkaply%us.ibm.com
9c301478f8
#104874
...
r=rods, sr=watersin
Patch from simon montagu - cleanup combobox code in Bidi case
2001-10-31 14:49:15 +00:00
mkaply%us.ibm.com
877964fad0
#104792
...
r=rods, sr==attinasi
patch from simon montagu - hebrew comboboxes go haywire
2001-10-31 05:17:34 +00:00
karnaze%netscape.com
e38dff73f8
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
alecf%netscape.com
6ae8a9bee0
Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc
2001-10-26 17:18:35 +00:00
dbaron%fas.harvard.edu
157c017816
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
jaggernaut%netscape.com
ca6197295f
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
dbaron%fas.harvard.edu
be938a64b6
Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5434e861aa
Backing out unapproved checkin for bug 97227. a=brendan,blizzard
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
9e2f57a942
bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
2001-08-30 21:47:45 +00:00
bryner%netscape.com
422834eff1
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
9f2f88aa48
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
rods%netscape.com
176cd14aba
The update listener is not being ref counted correctly and then deleted instead of released ( Bug 92434)
...
The method SetOptionSelected didn't check to see if there was an update timer so it could do the processing there instead.
Bug 91434 & 92458 r=dcone sr=attinasi
2001-08-17 00:42:50 +00:00
cls%seawood.org
a3c1dd1b09
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
jgaunt%netscape.com
52a631c3bc
bug 90182 fixing accessible support for html selects
...
r=aaronl@netscape.com
sr=waterson@netscape.com
2001-07-20 22:17:31 +00:00
dbaron%fas.harvard.edu
aa4fec2b67
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
dcone%netscape.com
ed1efd202b
b=88343 r=peterl sr=karnaze Fix a crash when the user goes back to a page with a listbox.
2001-07-13 19:51:59 +00:00
jgaunt%netscape.com
4cb288e084
bug 88509 - moving of a GetFrameType and layoutAtom from ifdef bidi land.
...
r=dbaron sr=sfraser
2001-07-10 23:57:28 +00:00
jgaunt%netscape.com
07868cf706
bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
...
r= lots, see bug
2001-06-30 00:25:09 +00:00
pollmann%netscape.com
1c9c3c567f
Bug 84499: Only trim whitespace from an options when falling back to the text content of the option for the value. This makes us compatabile with IE and Nav 4.x. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard)
2001-06-22 04:36:02 +00:00
mkaply%us.ibm.com
946d0ece89
remove inline keyword to fix SunOS bustage - note sent to rods
2001-06-08 04:24:48 +00:00
rods%netscape.com
c20f157140
Major rework of how items are added, removed and selected (while being added and removed) with script
...
Now all the changes are performed, but no reflows are issued until the timer fires, which would be
after the script is done executing. The selection that take place during the script execution are
also cached and done afterward.
Bug 53165 r=pollmann sr=attinasi a=asa
2001-06-08 02:34:09 +00:00
rods%netscape.com
1b4c6f1a94
When script sets the index when multiple it needs to deselect all the items and then set the new index
...
Bug 77039 r=kmcclusk sr=attinasi a=dbaron
2001-06-06 10:47:33 +00:00
rods%netscape.com
9e16855ea0
The selectedindex is now getting set to -1 when there are no more items selected and it
...
is sending onchange events by clearing the mOldSelectedIndex.
Bug 68135 r=kmcclusk sr=attinasi a=dbaron
2001-06-06 10:41:17 +00:00
rods%netscape.com
1879e17fa4
Fixed up reload to it will correctly reflow to w/h of zero
...
Bug 58220 r=kmcclusk sr=attinasi a=dbaron
2001-06-05 18:09:13 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
pollmann%netscape.com
1ac7a3715e
Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
2001-05-30 11:26:21 +00:00
joki%netscape.com
4984fc106b
Fix for 80746, fix smoketest blocker by backing out 61336 fix. r:harishd
2001-05-14 18:54:06 +00:00
joki%netscape.com
8244142e1c
Fix 61336, call onchange event for changes made by scripts. sr:jst, r:pollmann
2001-05-14 01:57:33 +00:00
jst%netscape.com
ea706038cf
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
hyatt%netscape.com
b03223f5de
Fix for 77859. r=danm, sr=waterson
2001-04-28 03:48:38 +00:00
hyatt%netscape.com
8130400b54
Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
2001-04-25 19:52:49 +00:00
pollmann%netscape.com
4e9082cbdf
Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, r=nisheeth@netscape.com, sr=jst@netscape.com
2001-04-24 08:33:57 +00:00
rods%netscape.com
e3a5513f79
Fixed the Onchange event, so it fires at the correct time.
...
Bug 62753 r=pollmann sr=attinasi
2001-04-09 12:08:40 +00:00
timeless%mac.com
e76ccfd647
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
rods%netscape.com
f14a83706d
fixed move mouse over selected item in dropdown, it will no longer hilite disabled items
...
Bug 72226 r=waterson sr=attinasi
2001-03-20 11:48:27 +00:00
erik%netscape.com
ab236e2b14
bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
...
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now
2001-03-19 23:20:21 +00:00
rods%netscape.com
f225ff8a67
Display frame reflow counts (turned via config file define)
...
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
rods%netscape.com
912135fd26
change PRBool to PRPackedBool
...
Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi
2001-03-09 03:21:51 +00:00
rods%netscape.com
84c77eb49d
Skipp disabled items when pressing first letter
...
Bug 57580 r=kmcclusk sr=buster
2001-03-08 02:29:21 +00:00
dbaron%fas.harvard.edu
0e28b23cc1
Fix smoketest blocker bug 70683 by making some changes blake missed with his fix for bug 60703. r=mao sr=alecf a=kysmith
2001-03-02 18:39:22 +00:00
rods%netscape.com
9543ff0534
Now only doing 1 reflow for each reflow request in the ListControlFrame
...
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi
2001-02-23 01:45:45 +00:00
pollmann%netscape.com
c9046692ff
Bug 62713: Only save form input values in SH if changed plus cleanups (error handling, NS_LITERAL_STRING), r=jst@netscape.com, sr=vidur@netscape.com
2001-02-06 01:59:59 +00:00
rods%netscape.com
d1fc884b89
makes optgroups so they you can't click on them and it fixes the focus issue.
...
Bug 63006 r=kmcclusk sr=buster
2001-02-01 22:45:32 +00:00
rods%netscape.com
99666eed8c
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
rods%netscape.com
4f312bc255
changed add ref to from NS_ADDREF to NS_IF_ADDREF
...
Bug 63329, r=kmcclusk sr=buster
2001-01-08 14:06:34 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
rods%netscape.com
706bdfa5fd
When clicking away from the dropdown, it wasn't resetting itself correctly.
...
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt
2000-12-20 23:25:40 +00:00
rods%netscape.com
2ab9b3a14d
53259 - min-width and max-width not supported on form control
...
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes
First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster
2000-12-20 15:15:28 +00:00
rods%netscape.com
6db44af9f6
Removed unneded setting of index to kNothingSelected when an disabled option is selected
...
r=blake, sr=buster Bug 57580
2000-12-18 21:36:01 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
waqar%netscape.com
290cc55645
#=53502
...
r=rods@netscape.com
a=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.
2000-10-12 14:20:02 +00:00
heikki%netscape.com
c3c301798c
Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
2000-09-19 21:47:04 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
pollmann%netscape.com
27c144a3b2
Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com
2000-09-08 05:53:28 +00:00
rods%netscape.com
104a4c2a53
KeyPress events now let <ctrl<,<slt>,<meta> continue on through, which stopped commonads keys from working
...
Fixed a couple of off by one errors
Fixed multiple selection with shift key
Fixed focus stealing problem (ifdef'ed out code that was put in to specifically fix this problem)
Fixed div by zero
b=50024,50442,48903
2000-08-29 13:24:38 +00:00
rods%netscape.com
18d89a1b76
Added a lot of asserts to help debug any potential problems, check for nullcontent
...
moved up to GetPrimaryFrameFor doesn't get called with a null content
b=49993 r=kmcclusk
2000-08-25 13:12:59 +00:00
jst%netscape.com
9abec73fbe
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
rods%netscape.com
ae00b95484
listbox - selecting with keyboard no longer allows you to stop on a disabled option, it skips them
...
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk
2000-08-17 21:38:15 +00:00