Граф коммитов

627 Коммитов

Автор SHA1 Сообщение Дата
Kearwood (Kip) Gilbert c06afa1c7f Bug 1181240 - Part 2: Replace gfx3DMatrix with Matrix4x4 in layout,r=vlad
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:05:47 -07:00
Ting-Yu Lin 4517e0f01c Bug 1183085 - Update description for nsDisplayList methods; r=roc
AppendNewToTop and AppendNewToBottom do not return
NS_ERROR_OUT_OF_MEMORY now.

--HG--
extra : commitid : 1w49sx2aF6k
extra : rebase_source : b992c3c9733dd8236aafe9e03c69a6dbe68946f9
2015-07-13 21:44:11 +08:00
Ting-Yu Lin a74415002c Bug 1183085 - Correct the name for nsDisplayItem; r=roc
--HG--
extra : commitid : CDookJ6mja8
extra : rebase_source : b3fdef67d383e669053687bf7df3bad2efeb27ad
2015-07-13 21:44:11 +08:00
Botond Ballo 9eadc95b3f Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Benoit Girard 31cb6e3f30 Bug 1103106 - Change will-change to be first-come, first-served. r=roc
--HG--
extra : transplant_source : %1E%93%D4%3A%9C%BD%AE%3EI%C1C%A6%E5%E6%E7E2%1C%EE%EF
2015-07-06 16:32:53 -04:00
Markus Stange 472ba62ba8 Bug 990974 - Treat carets in async scrolled scrollframes differently from non-caret content. r=roc
This makes those caret display items not share a layer with any other display items, and uses a different async scroll frame clip for that layer.

--HG--
extra : rebase_source : f01cd0343ea3e672b1d696a4e4e8924d070cc23d
extra : histedit_source : 14cefb8c1c9834d02a095e52e463add8a56a8625
2015-07-02 15:02:34 -04:00
David Anderson b2eb29a9c5 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Markus Stange bd011ed848 Bug 1164227 - Don't allow invalid region simplification to invalidate unchanged scrolled contents. r=roc
--HG--
extra : amend_source : 54ccbcac64986195c060e3fddd835dd5c01b66eb
2015-05-28 17:39:34 -04:00
Seth Fowler bd70e1593e Bug 1163878 (Part 2) - Use IsImageContainerAvailable() when making layerization decisions and only call GetImageContainer() if we layerize. r=tn 2015-05-13 00:23:46 -07:00
Robert O'Callahan 25dceb01f1 Bug 923193 - Avoid calling GetDeltaToPerspectiveOrigin for elements that don't have perspective. r=heycam 2015-05-02 02:25:51 +01:00
Markus Stange e72a2b1b6a Bug 1147194 - Do scroll info layer hoisting when building the display list. r=tn
--HG--
extra : amend_source : 35ca22eae3b3088eaae5143af8c47177bf601800
2015-04-30 14:54:48 -04:00
Botond Ballo 1b108ac0db Bug 1154478 - Rename gfxPrefs::LayoutEventRegionsEnabled to LayoutEventRegionsEnabledDoNotUseDirectly. r=kats
--HG--
extra : source : a993f4ed89d7aa36f1c48b85810319374f7bf671
2015-04-23 01:25:00 -04:00
Jonathan Watt b9b0d2b3c3 Bug 923193, part 1 - Avoid calculation of the reference box for transforms unless they're actually needed. r=roc
--HG--
extra : rebase_source : 8ffca8102a9648642f9166c213ce9e964c34b2af
2015-04-28 19:55:42 +01:00
Jonathan Kew 861e6a44ed Bug 1157951 patch 2 - Make nsCharClipDisplayItem aware of vertical writing modes. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew ed4f94f6c0 Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
Ting-Yu Lin 4961c5a716 Bug 1158090 - Fix documentation for nsDisplayListBuilder constructor. r=roc 2015-04-24 02:41:00 -04:00
Markus Stange 99aa852b73 Bug 1156393 - Cache nsDisplayBorder bounds. r=roc 2015-04-20 18:57:51 -04:00
Timothy Nikkel c92044ef7a Bug 1156598. Remove old, dead scroll layer item code. r=mstange 2015-04-20 22:48:10 -05:00
David Anderson e8a7d33638 Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange) 2015-04-12 23:03:02 -04:00
Seth Fowler ea22de2fd8 Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond 2015-04-07 18:55:28 -07:00
Vladimir Vukicevic 72b8ab88fb Bug 1151905; remove unnecessary gfxVR.h includes; r=ehsan 2015-04-07 12:39:09 -04:00
Mats Palmgren 85f77e706b Bug 1144905 - Clean up SortByZOrder code and comments since it now assumes the list is already in content document order. r=roc 2015-03-28 20:50:35 +00:00
Mats Palmgren 0311bd02c1 Bug 1107786 - part 2, [css-grid] Implement a DisplayList sorting function that sorts by CSS 'order'. r=dholbert 2015-03-26 18:57:39 +00:00
Kushan Joshi 98880a696a Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Kartikaya Gupta cf25343ea5 Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn 2015-03-10 09:29:19 -04:00
Kartikaya Gupta 9aa660ca7b Bug 990907 - Have DLBI pick up changes in the char-clip on text frames. r=mstange,mattwoodrow 2015-02-25 09:32:28 -05:00
Kartikaya Gupta 53a4b66a34 Bug 1102427 - Ensure scroll parents of an active scrollframe are layerized. r=tn 2015-02-24 01:24:04 -08:00
Timothy Nikkel adf5931715 Bug 1132371. Allow opacity items that only contain one item that paints (and others that don't) to flatten away as well. r=mattwoodrow
The optimization that allows opacity items that only contain one item (which can fold the opacity into it's own drawing) to flatten away will never apply when we have layer event region items. This is because opacity generates a stacking context and we always push a new layer event regions item for a stacking context. So if we want to keep this optimization we need to extend to to at least two items. Layer event regions items have empty bounds, which allows the non-overlapping test to pass for layer event region items. Although it will work with any non-overlapping items.
2015-02-19 19:04:09 -06:00
David Anderson a287bcbe50 Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
L. David Baron 91d13e7a1d Back out changeset 6849669e696e (bug 1130645) for Android robocop failures.
The first failure in rc1 was:
TEST-UNEXPECTED-FAIL | testAxisLocking | PaintExpecter - blockUtilClear timeout
and the first failure in rc2 (API9) or rc3 (API11) was:
TEST-UNEXPECTED-FAIL | testPanCorrectness | PaintExpecter - blockUtilClear timeout
2015-02-16 18:22:56 +13:00
David Anderson c7b2d63a3a Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
Timothy Nikkel 009f559001 Bug 1118051. Report layer event regions items as having empty bounds so they don't expand the visible region of layers. r=roc
When choosing a painted layer for the event region item we must report the bounds of the hit regions as the bounds so that we don't fall through to the bottom most painted layer.
2015-02-11 17:06:47 -06:00
Kartikaya Gupta 4ea12e1645 Bug 1125422 - Populate the ContainerLayer flag to force events to be dispatched to content. r=roc 2015-02-10 16:28:07 -05:00
Kartikaya Gupta 3832470e38 Bug 1125422 - Fold touch and scroll listener flags into a single apz-aware flag for better code reuse. r=roc 2015-02-10 16:28:07 -05:00
Seth Fowler c582df8664 Bug 1128769 (Part 6) - Remove imgIContainer::IsDecoded and all remaining callers. r=tn 2015-02-09 23:27:40 -08:00
Markus Stange ae23b9318a Bug 1130892 - Allow vibrancy in popups from non-chrome prescontexts. r=roc 2015-02-09 13:24:51 -05:00
Timothy Nikkel 6ff2a36a40 Backout 653ead886844 (bug 1118051) for causing bug 1130067. 2015-02-05 15:37:31 -06: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
Seth Fowler a271bba567 Bug 1128356 - Add template functions for common frame property destructors. r=dbaron 2015-02-04 15:22:27 -08:00
Kartikaya Gupta d4001130db Bug 1126876 - Prevent subdocuments inside a pointer-events:none frame from building event regions. r=roc,tn 2015-02-03 10:52:51 -05:00
Carsten "Tomcat" Book 3d0ff2ad63 Backed out changeset c80e36def0ad (bug 1128356) for bustage on a CLOSED TREE 2015-02-03 09:58:14 +01:00
Seth Fowler e4beedf018 Bug 1128356 - Add template functions for common frame property destructors. r=dbaron 2015-02-03 00:24:13 -08:00
Markus Stange 8dfdceabf8 Bug 1088605 - Check for root chrome documents instead of just root documents, since e10s content documents are root. r=roc 2015-02-02 15:11:15 -05:00
Paul Rouget aeeb621d68 Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz 2015-02-02 15:10:51 -05:00
Kartikaya Gupta 5ce034230b Bug 1124452 - Make it work without containerless-root, too. r=tn
--HG--
extra : rebase_source : 487e678ef5fc1592326a72f279e7e7f9f32a3a71
2015-01-28 13:28:28 -05:00
Markus Stange baedc2af15 Bug 1104036 - Make -moz-window-dragging work in rectilinear 2d transforms. r=roc 2015-01-23 13:07:51 -05:00
Kartikaya Gupta 5b15a36695 Bug 1119942 - Hoist nsDisplayScrollInfoLayer items out of inactive layermanagers into their parent. r=tnikkel,mattwoodrow 2015-01-20 09:49:30 -05:00
Kartikaya Gupta bcfda0904e Bug 1119942 - Stop generating scrollinfo layers if event-regions are enabled. r=tnikkel,botond 2015-01-20 09:49:30 -05:00