Cameron McCormack
692234d456
Bug 899900 - Avoid null checking result of NS_NewBlahFrame. r=dbaron
2013-08-03 14:11:06 +10:00
Ms2ger
38d49808ef
Bug 899931 - Part j: Cleanup nsListControlFrame::GetSelectedIndex; r=dzbarsky
2013-08-02 09:09:05 +02:00
Ms2ger
04774fb671
Bug 899931 - Part i: Inline nsListControlFrame::GetSizeAttribute; r=dzbarsky
2013-08-02 09:09:02 +02:00
Ms2ger
75b347cb69
Bug 899931 - Part h: Cleanup nsListControlFrame::GetOptions; r=dzbarsky
2013-08-02 09:08:19 +02:00
Ms2ger
8d1add597a
Bug 899931 - Part g: Cleanup nsListControlFrame::{ScrollToIndex, ScrollToFrame}; r=dzbarsky
2013-08-02 09:08:13 +02:00
Ms2ger
2209293dfd
Bug 899931 - Part f: Cleanup nsListControlFrame::GetIndexFromDOMEvent; r=dzbarsky
2013-08-02 09:07:56 +02:00
Ms2ger
6c9068ceb9
Bug 899931 - Part e: Cleanup nsListControlFrame::ToggleOptionSelectedFromFrame; r=dzbarsky
2013-08-02 09:07:32 +02:00
Ms2ger
09093dfb1f
Bug 899931 - Part d: Cleanup nsListControlFrame::GetCurrentOption; r=dzbarsky
2013-08-02 09:07:22 +02:00
Ms2ger
4d9a9aa40c
Bug 899931 - Part c: Cleanup nsListControlFrame::GetOptionText; r=dzbarsky
2013-08-02 09:07:08 +02:00
Ms2ger
e32b9b8720
Bug 899931 - Part b: Introduce a nice nsListControlFrame::GetOption; r=dzbarsky
2013-08-02 09:07:04 +02:00
Ms2ger
e0af74781f
Bug 899931 - Part a: Remove unused nsListControlFrame::{IsContentSelected, IsContentSelectedByIndex}; r=dzbarsky
2013-08-02 09:06:57 +02:00
Masayuki Nakano
04c0fc2c90
Bug 501496 part.13 nsListControlFrame should handle key navigation at keydown event handler r=neil
2013-07-25 15:09:29 +09:00
Ms2ger
35163e629e
Bug 893909 - Part i: Cleanup SetOptionsSelectedByIndex; r=dzbarsky
2013-07-24 09:37:14 +02:00
Mina Almasry
dfa6ae2f5f
Bug 291082 - preventDefault now blocks keyboard navigation in select-one drop-down lists. r=mounir, r=Neil
...
This patch makes select drop-down lists respect preventDefault keypress event, and so the select list doesn't process them anymore.
2013-07-19 10:32:51 -04:00
Aryeh Gregor
659b807986
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
David Zbarsky
f4478a4b6b
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger
2013-04-19 18:18:33 -04:00
Ms2ger
5741bbe7d7
Bug 841488 - Part a: Rename nsHTMLSelectElement; r=khuey
...
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLSelectElement.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLSelectElement.h
2013-04-04 09:03:33 +02:00
Mounir Lamouri
c17ed16466
Bug 839834 - Remove nsIFormControlFrame::GetFormProperty. r=bz
2013-02-18 18:21:32 +00:00
Mounir Lamouri
bdd72ba9e1
Bug 849438 - Searches in ListControlFrames should ignore . r=bz
2013-03-22 17:52:52 +00:00
Boris Zbarsky
f1589419f5
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Ryan VanderMeulen
1cfe288152
Backed out changeset 2b2de9cc2f59 (bug 849438) for B2G mochitest failures.
2013-03-19 16:44:14 -04:00
Mounir Lamouri
cdeb0510c2
Bug 849438 - Searches in ListControlFrames should ignore . r=bz
2013-03-19 18:24:35 +00:00
Timothy Nikkel
9df1cbca37
Bug 843979. Only add the in popup state bit to list control frames when they are in dropdown mode. r=mattwoodrow
2013-02-22 01:38:06 -06:00
L. David Baron
822b2ca3bc
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Robert O'Callahan
d9665619b9
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
L. David Baron
63fdfec174
Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Daniel Holbert
242e2346fa
Bug 836957 part 2: Remove unnecessary nsIFrame::GetSkipSides() overrides whose implementations are in .cpp files. r=mats
2013-02-04 08:17:20 -08:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Robert O'Callahan
85884b1a4b
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b56cdd701e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Alexander Surkov
db23e3552b
Bug 810572, part 2.5 - rename AccType constants again, r=tbsaunde, sr=roc
2012-12-18 10:25:52 +09:00
Alexander Surkov
e3cd8d0be2
Bug 810572, part2 - remove 'Accessible' postfix from AccTypes constants, r=tbsaunde, sr=roc
2012-12-12 19:04:12 +09:00
Ehsan Akhgari
303a79fb7c
Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert
2012-11-13 22:47:33 -08:00
Daniel Holbert
1b45be3dd9
Bug 806001: Make nsListControlFrame pass a nsDidReflowStatus instead of a nsReflowStatus in its DidReflow calls. r=dbaron
2012-11-08 17:27:48 -08:00
Mats Palmgren
f2df7bcbe6
Bug 806364 - Calculate dropdown height based on number of child frames for <option>s and <optgroup>s with non-empty label, instead of GetNumberOfOptions() which only includes <option> nodes. r=roc
2012-10-31 23:00:36 +01:00
Matt Woodrow
05fe77431e
Bug 803556 - Schedule a paint whenever we reflow a display root frame. r=roc
2012-10-25 12:04:41 +13:00
Trevor Saunders
b51bb304d8
bug 542039 - accessible object types r=surkov, roc
2012-09-28 17:53:44 -04:00
David Zbarsky
307c734c43
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Matt Woodrow
958ce7d98d
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
f4205ce848
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
2012-08-29 17:39:01 +12:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Aryeh Gregor
920c5474b3
Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz
2012-08-07 17:58:47 +03:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mats Palmgren
6a7102e955
Bug 780661 - Update mDropdownCanGrow also when the position is currently outside viewport to allow a resize later at a different position. Also, don't call PositionFrameView unless the position really changed to avoid infinite number of calls to AbsolutelyPositionDropDown (via nsResizeDropdownAtFinalPosition event from NotifyGeometryChange). r=roc
2012-08-15 04:28:23 +02:00
Ms2ger
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ms2ger
c7a5b33778
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ed Morley
bba173e66e
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
babf67cce2
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00