Commit Graph

44269 Commits

Author SHA1 Message Date
Seth Fowler
7580e9c689 Bug 1128229 (Followup) - Add more fuzz to layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002.xht. r=me DONTBUILD 2015-02-06 23:03:31 -08:00
Phil Ringnalda
03a26ce028 Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Xidorn Quan
163821d0ad Bug 1122781 part 4 - Add runtime dependency check of style structs. r=dbaron
This patch adds a mechanism to check struct computation against a known set of non-cyclic dependencies.

The checks are only done when we get a struct on a context during computation of a struct on the same context.

--HG--
extra : source : b4dbb093ac3df3e8eac14fdc7bf7e8fe44b56ffb
2015-02-07 13:25:21 +11:00
Xidorn Quan
abeba9016d Bug 1122781 part 3 - Restyle member initializer list of nsStyleContext. r=dbaron
--HG--
extra : source : a7376bf112faa676da39521e4598271436294690
2015-02-07 13:25:21 +11:00
Xidorn Quan
a437cdb720 Bug 1122781 part 2 - Generate dependencies table of style structs for runtime check. r=dbaron
--HG--
extra : source : ed2baad25b34094f5c8abfe42ebe2cd77c1f2bab
2015-02-07 13:25:21 +11:00
Xidorn Quan
fe4b058303 Bug 1122781 part 1 - Declare and statically check dependencies of style structs. r=dbaron
When a cyclic dependency is introduced, build will stop at generating style struct list.
For example, if you make Visibility depend on Font while Font also depend on Visibility, it would print lines like:

ERROR: Cannot resolve style struct dependencies
Resolved items: Variables Color Quotes UserInterface UIReset Table XUL
There exist cyclic dependencies in the following structs: Font List Text Visibility TableBorder SVG Background Position TextReset Display Content Margin Padding Border Outline SVGReset Column

--HG--
extra : source : bebfb64bb4a82ff51b21978998f1a0871a1c5cad
2015-02-07 13:25:21 +11:00
Andrea Marchesini
ee4cdf6a25 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Kartikaya Gupta
b35a751abd Bug 1130535 - Remove codepath that does an APZ untransform on events in RenderFrameParent. r=dvander,botond CLOSED TREE
--HG--
extra : amend_source : 5a48b8a406f9b916b9ee2ef9d79a0519964cfffc
2015-02-06 13:46:46 -08:00
Ryan VanderMeulen
64e01e7296 Merge m-c to inbound. a=merge 2015-02-06 11:36:03 -05:00
Ryan VanderMeulen
306a1550a3 Merge inbound to m-c. a=merge 2015-02-06 09:06:38 -05:00
Mike Taylor
7912ab9f32 Bug 1092006 - Fix form_border_radius define & mark expected failures. r=wesj 2015-02-05 08:08:00 +01:00
Wes Kocher
834e2d3042 Merge inbound to m-c a=merge CLOSED TREE 2015-02-05 16:55:01 -08:00
Kan-Ru Chen (陳侃如)
9bdcbebafe Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 16:47:32 -05:00
Kartikaya Gupta
2af5e47ca3 Bug 1129526 - Make the RenderFrameParent put focus on the correct OOP child before delivering a click event to it. r=botond 2015-02-05 14:41:50 -05:00
Karsten Düsterloh
4079abbd78 Bug 1116952 - "Treelines fragments after bug 1105104". r=jwatt 2015-02-04 17:55:00 +01:00
Ryan VanderMeulen
7ef22b7422 Bug 1128229 - Add a bit more fuzz to image-object-position-with-background-2.html on Windows.
CLOSED TREE
2015-02-06 10:38:00 -05:00
Ryan VanderMeulen
e5332a20fd Bug 1128229 - Add more fuzz on Win8.
CLOSED TREE
2015-02-06 10:00:50 -05:00
Tooru Fujisawa
1056f2b4d2 Bug 1130268 - Fix NameErrors in killAndGetStack in runreftest.py. r=ted.mielczarek 2015-02-06 22:03:01 +09:00
Seth Fowler
f852dd0b99 Bug 1125490 (Part 2) - Use an enumeration instead of a boolean to request discarding in nsIImageLoadingContent. r=tn 2015-02-06 02:51:12 -08:00
Seth Fowler
51eb16263e Bug 1125490 (Part 1) - Make sure we request discarding for images in PresShell::Destroy. r=tn 2015-02-06 02:51:12 -08:00
Seth Fowler
05f5685990 Bug 1128229 - Add fuzzy annotations to CSS image tests that depend on imgFrame::Optimize. r=me 2015-02-06 02:51:12 -08:00
Timothy Nikkel
6ff2a36a40 Backout 653ead886844 (bug 1118051) for causing bug 1130067. 2015-02-05 15:37:31 -06:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
6048189ffc Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046. 2015-02-05 14:35:35 -05:00
Ryan VanderMeulen
03a828fbdf Bug 1120397 - Mark image-orientation-list-style-image.html as random on Android. 2015-02-05 12:17:35 -05:00
Kartikaya Gupta
6bcbfc5468 Bug 1127773 - Use the entire scrollable overflow rect so that scrolledframes build event regions more correctly. r=tn
(Patch dictated by roc)
2015-02-05 08:25:49 -05:00
Morris Tseng
d729431099 Bug 1120316 - Part 1: Move SelectionBatcher to Selection.h. r=roc
--HG--
extra : rebase_source : e17ae33bc017fa1d460b611d251d3dbf29de37b1
2015-02-04 21:34:00 +01:00
Jonathan Kew
3d7be0d18d Bug 1124661 - Make some vertical writing-mode reftests more robust, and/or mark as fuzzy where minor subpixel differences occur. r=smontagu.
DONTBUILD because these tests are not currently enabled on trunk anyway.
2015-02-05 12:39:11 +00:00
Maksim Lebedev
7dc1f6bc6f Bug 1129397 - Allocate function PresShell::DispatchEventToDOM. r=smaug 2015-02-04 05:19:00 +01:00
Jeremy Chen
b81f2619bf Bug 1122805 - v3 Update carets' positions based on coordinates of the root frame. r=roc 2015-02-05 01:36:00 +01:00
Kan-Ru Chen (陳侃如)
0c04d0ee7e Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 17:18:22 +08:00
Seth Fowler
bdb15ac339 Bug 1120397 - Reenable image-orientation-list-style-image.html on Android. r=me
--HG--
extra : rebase_source : 9fead916d715174a03ab630ac2c31ac2df8323e6
2015-02-05 18:05:31 -08:00
Timothy Nikkel
89b9f3338a Bug 1118051. Report layer event regions items as having empty bounds so they don't expand the visible region of layers. r=roc 2015-02-04 23:44:33 -06:00
Xidorn Quan
2684f1b54d Bug 748198 - Exclude ESC and modifier keys as valid user input for popup/fullscreen/pointer lock. r=smaug
--HG--
extra : source : e7202be179db730f39ec4fed83f421301fb54114
2015-02-05 13:25:04 +11:00
Seth Fowler
a271bba567 Bug 1128356 - Add template functions for common frame property destructors. r=dbaron 2015-02-04 15:22:27 -08:00
Nicholas Nethercote
b5913e0b3d Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
f325953043 Bug 1050035 (part 3) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
Because they are now just equivalent to |new PLDHashTable()| +
PL_DHashTableInit() and PL_DHashTableFinish(t) + |delete t|, respectively.

They're only used in a handful of places and obscure things more than they
clarify -- I only recently worked out exactly how they different from Init()
and Finish().

--HG--
extra : rebase_source : c958491447523becff3e01de45a5d2d227d1ecd3
2015-02-01 20:36:52 -08:00
Nicholas Nethercote
9a36fdbde4 Bug 1050035 (part 2) - Remove the fallible version of PL_DHashTableInit(). r=froydnj,mrbkap.
Because it's no longer needed now that entry storage isn't allocated there.
(The other possible causes of failures are much less interesting and simply
crashing is a reasonable thing to do for them.)

This also makes PL_DNewHashTable() infallible.

--HG--
extra : rebase_source : 848cc9bbdfe434525857183b8370d309f3acbf49
2015-02-01 20:19:08 -08:00
Markus Stange
2f12e52126 Bug 1045213 - Add nsITheme::ThemeGeometryTypeForWidget. r=roc 2015-02-04 17:25:18 -05:00
Markus Stange
fd3d5eb0f0 Bug 1045213 - Use vibrancy effect for context menus. r=smichaud 2015-02-04 17:25:18 -05:00
Seth Fowler
e9b08641d5 Bug 1128225 (Part 6) - Record the last draw result in nsDisplayXULImage and use it to decide whether to sync decode. r=tn 2015-02-04 13:50:56 -08:00
Seth Fowler
48c5abfdb0 Bug 1128225 (Part 5) - Record the last draw result in nsDisplayBullet and use it to decide whether to sync decode. r=tn 2015-02-04 13:50:56 -08:00
Seth Fowler
8c44fcc668 Bug 1128225 (Part 4) - Record the last draw result in nsDisplayImage and use it to decide whether to sync decode. r=tn 2015-02-04 13:50:56 -08:00
Seth Fowler
347d961b26 Bug 1128225 (Part 3) - Add infrastructure for tracking draw results in geometry items. r=tn 2015-02-04 13:50:56 -08:00
Seth Fowler
1624013327 Bug 1128225 (Part 2) - Propagate the imgIContainer::Draw result through the nsLayoutUtils::Draw*Image functions. r=tn 2015-02-04 13:50:56 -08:00
David Zbarsky
6382284e6c Bug 1125040 - Use LayoutDeviceIntPoint in nsFramesetFrame r=botond 2015-02-04 15:21:03 -05:00
David Zbarsky
a49d65a406 Bug 1125040 - Use LayoutDeviceIntPoint in nsTitleBarFrame r=botond 2015-02-04 15:21:03 -05:00
David Zbarsky
ec6ce0074b Bug 1125040 - Use LayoutDeviceIntPoint in XULPopupManager r=botond 2015-02-04 15:21:03 -05:00
David Zbarsky
c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00