Commit Graph

929 Commits

Author SHA1 Message Date
Arnaud Sourioux
9a8c47ea32 Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Jonathan Watt
64486d6a50 Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
L. David Baron
16c60e0095 Backout changeset af5273034fdf (bug 871264), which doesn't compile (didn't fix nsRangeFrame.cpp (and possibly others). 2013-05-13 17:28:47 -07:00
Jonathan Watt
b734363578 Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jonathan Watt
c8d8188483 Bug 864120 - Use a display list item to create the focus ring for <input type=range>. r=roc 2013-04-22 10:11:56 +01:00
Jonathan Watt
4dbd0683d9 Bug 853525 - Convert much of HTMLInputElement (step handling, validation, events, etc.) to use mozilla::Decimal (a Binary Coded Decimal type) to avoid many rounding issues when it has fractional step values. r=mounir 2013-05-06 00:23:18 +01:00
Bobby Holley
b199afc462 Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor 2013-04-29 11:16:19 -07:00
Mats Palmgren
aa60079743 Bug 865602 - FieldSet block may be null for overflow containers. r=roc 2013-04-29 14:11:03 +02:00
Alexander Surkov
c58428f754 Bug 559764 - make input@type=range accessible, r=tbsaunde, roc, smaug 2013-04-28 09:54:54 +09: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
Robert O'Callahan
2817c39fd2 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Mats Palmgren
d2c977dcbe Bug 862185 - Remove child frame members which may become stale and add accessors to get them from the child list instead. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
d8cfabc97a Bug 862185 - Make nsFieldSetFrame reflow and paint overflow container children. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
109767f361 Bug 485149 - Using box-shadow on a <fieldset> with <legend> does not follow box shape. r=roc 2013-04-17 22:16:14 +02:00
Jonathan Watt
9ef6c0c7ad Bug 862518 - Make sure the thumb of <input type=range> with fractional values is drawn at the correct position with Cocoa native theming. r=roc 2013-04-17 00:50:26 +01:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jonathan Watt
53c3041810 Bug 859139 - Allow <input type=range> to keep its native styling when authors set its padding. r=mounir 2013-04-15 06:03:57 +01:00
Jonathan Watt
04978b7d16 Bug 860701 - Check for error in nsRangeFrame::GetValueAtEventPoint so that we don't change the value of <input type=range> when we can't convert an event to a valid point. r=me 2013-04-15 06:01:38 +01:00
Joshua Cranmer
c7aade5e1f Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats 2013-04-11 22:20:45 -05:00
Jonathan Watt
8c75dcc503 Bug 859305 - Stop the browser app from panning the page when the user drags an <input type=range>'s thumb in the out-of-process case. r=smaug 2013-04-11 10:11:54 +01: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
Masatoshi Kimura
7c989863ee Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09: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
Robert O'Callahan
ed8002750e Bug 841192. Part 11: Make nsDisplayOptionEventGrabber be a non-anonymous display item list wrapper. r=mattwoodrow
--HG--
extra : rebase_source : c77c6d8a9385683a5659439793f397be959b277c
2013-03-07 00:08:14 +13: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
bd28e1602c Bug 701353 - Tests that <label> actually activates <input type='file'>. r=smaug 2013-04-03 17:06:19 +01:00
Jonathan Watt
023c73bf41 Bug 857034 - Add support for native theming of <input type=range> on Windows. r=roc 2013-04-03 11:07:12 +01:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Felipe Gomes
61fbd4cdca Bug 850213 - Update nsHTMLInputElement to nsIContentPrefService2. r=smaug 2013-03-29 23:08:57 -03:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07: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
Jonathan Watt
3edb315f0b Bug 855048 - nsRangeFrame shouldn't init the "nsReflowStatus frameStatus" that it passes into ReflowChild. r=dholbert 2013-03-29 09:49:53 +00:00
Robert O'Callahan
060456853c Bug 852489. Part 1: Don't create nsDisplayButtonForegrounds for buttons that aren't focused. r=mats
--HG--
extra : rebase_source : 93ad60be2d64345fee5bbdd4553b11b5d8341d18
2013-03-22 15:17:27 +13: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
Jonathan Watt
517e3b12aa Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc 2013-03-28 20:25:05 +00:00
Andrea Marchesini
65e4f3628b Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger 2013-03-28 15:41:32 -04: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
Jonathan Watt
2c85ff8dcf Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert 2013-03-26 23:04:41 +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
Daniel Holbert
134870baba Backout e912de49c12b (Bug 854538) due to M5 & crashtest oranges on a CLOSED TREE 2013-03-26 17:28:14 -07:00
Jonathan Watt
2cdfef6c8b Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert 2013-03-26 23:04:41 +00:00
Jonathan Watt
71d7e34437 Bug 840820 - Make <input type=range> display as a vertical slider if it has an orient="vertical" attribute. r=mounir 2013-03-26 13:54:05 +00:00
Daniel Holbert
c6597c02f3 Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD 2013-03-25 17:01:35 -07:00
Mounir Lamouri
bdd72ba9e1 Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-22 17:52:52 +00:00
David Zbarsky
5cc0fcdcdf Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Daniel Holbert
26b9a52e57 Bug 842179 followup: fix typo in comment. Comment-only, DONTBUILD 2013-03-20 23:41:32 -07:00
Boris Zbarsky
f1589419f5 Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert 2013-03-19 21:47:48 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07: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 &nbsp;. r=bz 2013-03-19 18:24:35 +00:00
Jonathan Watt
0fbd87a19c Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc 2013-03-16 05:40:15 +00:00
Jonathan Watt
953ba29c9c Bug 842179 - Keep the thumb for <input type=range> within its content box. r=dholbert. 2013-03-15 09:04:54 +00:00
Bill McCloskey
8e048462e3 Bug 671976 - Fix print preview asserts (r=smaug) 2013-03-14 12:02:28 -07:00
Gregory Szorc
2c3e072f0a Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Jonathan Watt
13556394b9 Bug 849524 - Avoid reflowing when <input type=range>'s thumb position needs to be updated due to its value changing. r=dholbert 2013-03-13 11:48:27 +00:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Ed Morley
a13d2e51fe Backed out changeset 34f280f8fea5 (bug 849524) for crashes on a CLOSED TREE 2013-03-13 13:59:11 +00:00
Jonathan Watt
d0a8c55362 Bug 849524 - Avoid reflowing when <input type=range>'s thumb position needs to be updated due to its value changing. r=dholbert 2013-03-13 11:48:27 +00:00
Trevor Saunders
43728598df bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Frank Yan
61b4e7cee5 Bug 631473 - Don't consume mouse scroll events outside arrow panels on OS X. r=mstange r=enndeakin 2013-03-08 11:48:48 -08:00
Jonathan Watt
210bd9128b Bug 846380 - Add support for dragging of <input type=range>'s thumb using mouse/touch events. r=smaug, r=mounir. 2013-03-08 09:40:12 +00:00
Timothy Nikkel
97cf0d01f7 Bug 847850. Redirect all display item lists to the content list inside of text control frames so no content can escape out to mingle with the rest of the page content. r=roc 2013-03-06 23:13:13 -06:00
Phil Ringnalda
7fbba09df0 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
3de595d32e bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
L. David Baron
b1952d614a Bug 671976: Tweak timing in the hopes of forcing the assertion to stay before TEST-END on Linux32; add additional leakage of expected assertions for Windows. 2013-03-01 19:40:43 -08:00
Trevor Saunders
60678a2f23 bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
L. David Baron
5bc7385767 Bug 671976: Add SpecialPowers.gc() calls so bug 671976 assertions show up in correct tests, and correctly annotate assertions. 2013-02-28 23:46:54 -08:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
2f35b94a0e Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
L. David Baron
239da2d4cf Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
L. David Baron
b165fbac2e Bug 404077: Adjust annotations of expected assertions. 2013-02-27 16:26:50 -08:00
L. David Baron
a144cc1c82 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Martijn Wargers
7ac264ff9c Bug 378369 - Crash test. 2013-02-23 11:38:13 +01:00
L. David Baron
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ehsan Akhgari
17bceb4c6e Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
858de2ee46 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05: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
Ehsan Akhgari
d15b248e6d Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Trevor Saunders
70d157e13c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00