Commit Graph

12982 Commits

Author SHA1 Message Date
Ryan VanderMeulen
85d5bf698c Merge inbound to m-c. a=merge 2015-01-09 14:45:50 -05:00
Kartikaya Gupta
5979f988c9 Bug 973619 - Pick up the zoom from layout when the viewport dimensions change. r=botond 2015-01-09 10:21:50 -05:00
Ehsan Akhgari
b6e35bb4b4 Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Mason Chang
9687efc38e Bug 1102631 - Create a software vsync timer. r=kats 2015-01-08 15:12:47 -08:00
Nicolas Silva
fdc552f2eb Bug 1114948 - Use NS_lroundf instead of NS_roundf in tioling code to avoid inconsistent behavior around zero. r=jrmuizel 2015-01-08 18:58:22 +01:00
Benoit Girard
54d4b3735d Bug 1110229 - bustage fix on a CLOSED TREE 2015-01-08 11:53:03 -05:00
Kartikaya Gupta
eb960639f8 Bug 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD 2015-01-08 11:29:20 -05:00
Benoit Girard
4384ee9695 Bug 1110229 - Always paint the full low-res tile for performance and correctness. r=nical 2015-01-08 11:24:15 -05:00
Botond Ballo
b994a7b083 Bug 1109873 - Gtest that demonstrates the problem with obscured regions and transforms. r=kats 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
01e045fa21 Bug 1109873 - Implement the expanded HitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
dc35d9ea17 Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e758b39127 Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
d2cc915010 Bug 1109873 - Rearrange some loops to duplicate less code. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
febc92fd83 Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
7e2e809c0e Bug 1109873 - Extract HitTestResult into a helper header. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
4e8835d9e7 Bug 1109873 - Introduce the HitTestingTreeNode class. r=botond
This patch extracts a HitTestingTreeNode from AsyncPanZoomController. The tree
formed by these nodes is very similar in structure to the APZC tree that we had
previously. The main difference is that we can have multiple HitTestingTreeNode
instances per APZC; each HitTestingTreeNode corresponds to a different layer
with the same metrics.

This is a first step in extracting the hit-test data entirely from the
AsyncPanZoomController class and having a 1:1 mapping with the layer tree.
2015-01-08 09:40:01 -05:00
Botond Ballo
6f6de98bb8 Bug 1109873 - Add some explanatory comments to the APZC tree building code. r=kats 2015-01-08 09:40:01 -05:00
Carsten "Tomcat" Book
27f65aba6f Merge mozilla-central to mozilla-inbound 2015-01-08 15:32:44 +01:00
Carsten "Tomcat" Book
7f0eceed6f merge b2g-inbound to mozilla-central a=merge 2015-01-08 15:07:12 +01:00
Michael Pruett
b9d2bd339e Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Bas Schouten
73fbcb4848 Bug 1118328 - Part 2 - Followup: Workaround a bug in GCC 4.4. r=bustage on a CLOSED TREE 2015-01-08 03:34:07 +01:00
Jeff Muizelaar
782e149f98 Bug 1119089. Switch from the ineffecient x = x.sub(x, y) to x.subout(y);
The recently added move assignment operators make the existing pattern more
efficient, but using SubOut() is cleaner and even more efficient.

--HG--
extra : rebase_source : 14ba52bfde0a4a591ca39b92d86632206bbe13eb
2015-01-07 21:18:57 -05:00
JerryShih
22c4674258 Bug 1118841 - Implement the RefreshTimerVsyncDispatcher. r=kats 2015-01-07 18:17:36 -08:00
Bas Schouten
8e02a38443 Bug 1118328 - Part 2: Test whether the content backend supports creating data draw targets before attempting to create one. r=jrmuizel 2015-01-07 22:58:25 +01:00
Bas Schouten
a04eac5441 Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Wes Kocher
e0a70c89f3 Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:54:14 -08:00
Wes Kocher
00b5aa1577 Backout 467595d39929 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:53:13 -08:00
Kai-Zhen Li
5fdfcf55db Bug 1113655 - Fix bustage when camera is enabled and webtrc is not enabled. r=sotaro 2014-12-24 14:04:07 +08:00
Kartikaya Gupta
cce9ca8011 Bug 1118784 - Fix typo causing wheel inputs to not get transformed to Gecko coordinate space properly. r=dvander 2015-01-07 13:34:23 -05:00
Botond Ballo
bb16c1b6f4 Bug 1073003 - Fix -Wunused-variable / -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : rebase_source : a9b9166164ee79e2e460bb20fde7f76e1672f481
2014-12-31 16:49:13 -05:00
Bas Schouten
c528537e42 Bug 1107718 - Addendum: Properly address review comments. r=nical 2015-01-08 00:12:29 +00:00
Bas Schouten
cd5fcfeb14 Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00
Bas Schouten
5396c56489 Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel 2015-01-08 00:10:48 +00:00
Bas Schouten
7622c3a766 Bug 1115819: Deal with failure to create a realized bitmap in SourceSurfaceD2D1::DrawTargetWillChange. r=jrmuizel 2015-01-08 00:10:48 +00:00
Bas Schouten
b3cfc3f80a Bug 1118328 - Part 2: Test whether the content backend supports creating data draw targets before attempting to create one. r=jrmuizel 2015-01-07 22:58:25 +01:00
Bas Schouten
145f27376b Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Jonathan Kew
d3b227a612 Bug 1062108 - Don't increase glyph advances when applying fake-bold to a fixed-pitch font. r=jdaggett 2015-01-08 12:51:00 +00:00
Seth Fowler
070fbd1114 Bug 1116747 - Always use multithreaded image decoding. r=tn 2015-01-08 00:29:41 -08:00
Nicholas Nethercote
8582ff9187 Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
James Willcox
6dc403672c Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert 2015-01-07 11:54:33 -06:00
Botond Ballo
2b83564d48 Bug 1076241 - Get rid of the nontransient async transform. r=kats 2014-12-19 18:53:05 -05:00
Botond Ballo
2e46796a0f Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn 2015-01-02 20:06:14 -05:00
Ryan VanderMeulen
47a9f5c2f5 Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Ehsan Akhgari
69814cc06d Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel 2015-01-07 10:09:17 -05:00
John Daggett
3ef421707c Bug 1118603 - clear out font/word caches when initializing platform fontlists. r=m_kato 2015-01-07 14:30:10 +09:00
John Daggett
be24b149cb Bug 1118601 - trim out unused pref fonts list from platform objects. r=m_kato 2015-01-07 14:29:21 +09:00
Milan Sreckovic
359e340f3e Bug 1113695 - Make gfxCriticalError thread safe. r=Bas 2014-12-19 12:03:58 -05:00
Ehsan Akhgari
26a8215eb5 Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel 2015-01-06 16:30:03 -05:00
Jonathan Kew
0e4fbcf5fd Bug 1111944 - part 1 - Make nsLayoutUtils::DrawString (and the nsFontMetrics methods it calls) handle vertical text. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew
0ed708ecdd Bug 1095334 - Adjust ascent/descent to provide centered vertical baseline when reading 'vhea' table. r=smontagu 2015-01-06 20:56:02 +00:00