Ms2ger
98ad509afa
Bug 910238 - Part a: Remove some includes from HTMLInputElement.h; r=bz
2013-09-06 08:40:45 +02:00
Ehsan Akhgari
6e9031fe0d
Bug 909927 - Minimize the #includes in layout/forms; r=mats
...
--HG--
extra : rebase_source : 92eb9ca6672e754a32dbfe3cd3494309671902d3
2013-08-28 10:30:02 -04:00
David Zbarsky
d0e051e4b7
Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz
2013-08-07 16:23:08 -04:00
Masatoshi Kimura
fad511757b
Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug
2013-05-26 06:05:36 +09:00
Mounir Lamouri
7d8984e3e9
Bug 52500 - Allow styling <input type='file'> like any other form control. r=bz
...
--HG--
rename : layout/reftests/forms/input-file-width-clip-ref.html => layout/reftests/forms/input/file/input-file-width-clip-ref.html
rename : layout/reftests/forms/input-file-width-clip-1.html => layout/reftests/forms/input/file/input-file-width-clip.html
2013-05-17 18:40:14 +01: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
Aryeh Gregor
c446dbef0c
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
Robert O'Callahan
68e0be54fa
Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
...
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
7cbe6380ff
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Mounir Lamouri
ae5d0ee136
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-29 12:32:47 +00:00
Ryan VanderMeulen
372ed9fb2e
Backed out changeset fa9cde226b2a (bug 839788) for breaking mochitests the same way it did the first time it landed on a CLOSED TREE.
2013-03-28 21:17:42 -04:00
Mounir Lamouri
5b8eb7518f
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Andrea Marchesini
77ae8010d9
Bug 825196 - Rename nsHTMLInputElement to HTMLInputElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLInputElement.cpp => content/html/content/src/HTMLInputElement.cpp
rename : content/html/content/src/nsHTMLInputElement.h => content/html/content/src/HTMLInputElement.h
2013-03-28 15:41:32 -04:00
Ryan VanderMeulen
d7d90b559c
Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE.
2013-03-28 08:49:04 -04:00
Mounir Lamouri
04c2037b50
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Mounir Lamouri
008ad31686
Bug 847233 - Fix a11y with <input type='file'> changes. r=surkov
2013-03-27 11:35:22 +00:00
Mounir Lamouri
c17ed16466
Bug 839834 - Remove nsIFormControlFrame::GetFormProperty. r=bz
2013-02-18 18:21:32 +00:00
Mounir Lamouri
4604f9a9ec
Bug 838704 - Show "X files selected" when there are more than one selected file. r=sicking
2013-02-07 13:58:05 +00:00
Mounir Lamouri
afea67f2b1
Bug 838703 - Various nsFileControlFrame cleanup. r=bz
2013-03-22 17:15:13 +00:00
Mounir Lamouri
9e9bb1ef30
Bug 838699 - Move the "Browse" button l10n to nsFileControlFrame.cpp. r=bz
2013-02-09 10:48:20 +00:00
Mounir Lamouri
872e9fab3c
Bug 838695 - Move nsFileControlFrame click handling to nsHTMLInputElement. r=smaug
...
--HG--
rename : content/html/content/test/test_input_file_picker.html => content/html/content/test/forms/test_input_file_picker.html
2013-03-27 11:32:00 +00:00
Mounir Lamouri
3473000c3d
Bug 838694 - Move the text showing the file name to the right of the browse button. r=bz
2013-02-09 15:09:14 +00:00
Mounir Lamouri
01c5c4a59d
Bug 345195 - Replace the anonymous <input type='text'> in <input type='file'> by a xul:label. r=bz
2013-02-09 14:57:30 +00:00
Mounir Lamouri
fc668339dd
Bug 838354 - Remove all capture button references from nsFileControlFrame. r=bz
2013-03-22 17:10:13 +00:00
Boris Zbarsky
f1589419f5
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04: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
Robert O'Callahan
59dfd955a1
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13: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
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
Peter Van der Beken
584658dc3e
Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
...
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Daniel Holbert
4144f09473
Bug 542039 followup: Replace "namespace ... = mozilla::..." with "using namespace mozilla", to fix build error w/ --disable-accessibility. rs=tbsaunde
2012-10-15 15:44:34 -07:00
Trevor Saunders
b51bb304d8
bug 542039 - accessible object types r=surkov, roc
2012-09-28 17:53:44 -04:00
Nathan Froyd
e888ba80f4
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
Peter Van der Beken
71b55b1f68
Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
...
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Andrew Quartey
a925f34f59
Bug 786172 - Fire change event for file dropped on file select box r=mounir
2012-09-14 10:38:04 -04: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
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
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Trevor Saunders
3b1f9183dc
bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
...
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Andrew Quartey
783825908b
Bug 722599 - Move change event firing to content from layout r=mounir
2012-05-07 12:27:24 -04:00
Jiten Thakkar
19ffa38879
Bug 598244 - nsFileControlFrame should not parse the accept attribute but nsHTMLInputElement should do that; r=mounir
2012-03-12 11:36:02 +01:00