[email protected]
58ce615aa2
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
[email protected]
c4277278e2
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
[email protected]
e00186c47b
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
[email protected]
7255062ea4
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
[email protected]
1a4426d4c3
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
[email protected]
d8fd3d5bb4
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
[email protected]
640685cbe9
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
[email protected]
82c681113c
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
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
[email protected]
d0f14246a9
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
[email protected]
c16140ad5a
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
[email protected]
848b0f657f
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
[email protected]
634c6e9bdc
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
[email protected]
dd7e889afb
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
[email protected]
483c6c496c
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
[email protected]
6a9ceac9ce
Fixing build bustage
2003-07-04 13:36:03 +00:00
[email protected]
506ca007f3
Ongoing deCOMtamination. r+sr=dbaron
2003-07-04 12:50:32 +00:00
[email protected]
384f320c3a
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
[email protected]
c8a200d763
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected]
27a74d39ac
Remove unused variables, [email protected]
2003-06-06 01:11:57 +00:00
[email protected]
0be0aa3679
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to [email protected] (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
[email protected]
347afe3d3e
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
[email protected]
f98e358469
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
[email protected]
60d1532ff2
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
[email protected]
02eb6b4dca
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
[email protected]
7143d14503
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
[email protected]
96f80364bc
Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. [email protected] , [email protected]
2003-03-14 07:00:53 +00:00
[email protected]
f6666bbeae
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
[email protected]
ba58162e96
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
[email protected]
4597aef360
Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser
2003-01-10 09:24:30 +00:00
[email protected]
7c8a6a35db
Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky
2003-01-10 00:30:50 +00:00
[email protected]
1c37d177d4
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
[email protected]
10ab824360
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
[email protected]
5a2ab0cb33
Make shift+click work the first time you click in a select (bug 167142), [email protected] , [email protected]
2002-12-20 05:32:27 +00:00
[email protected]
4abefda8a3
Make GetType() return int instead of nsresult (bug 167762), [email protected] , [email protected]
2002-12-18 23:38:09 +00:00
[email protected]
cb7414e008
Make empty dropdowns handle key events (bug 147148), [email protected] , [email protected]
2002-12-17 00:56:01 +00:00
[email protected]
bb571d301d
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
[email protected]
fd22bd13c9
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
[email protected]
f8f860f5d7
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
[email protected]
212a9898a8
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
[email protected]
372180e89c
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 [email protected] 's fix
2002-10-30 01:05:43 +00:00
[email protected]
dcfc52d479
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
[email protected]
e147db5498
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
[email protected]
bcb6aea72a
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
[email protected]
6d6d6b2693
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
[email protected]
46ce738546
166917. Clean up xpcom SDK includes. [email protected] , [email protected] , [email protected]
2002-09-07 17:13:19 +00:00
[email protected]
aa5e4b8b34
Fixes up the timer interface. b157136, [email protected] , [email protected] , [email protected]
2002-09-07 05:38:16 +00:00
[email protected]
d033b574fe
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
2002-09-03 23:36:13 +00:00
[email protected]
0ae34c80f5
Fix crash when clicking empty space in <select>. Bug 161499, r=jkeiser, sr=jst
2002-08-08 22:27:57 +00:00
[email protected]
928ef2d8bc
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