Commit Graph

1203 Commits

Author SHA1 Message Date
Matt Woodrow
5f00132e5d Bug 962786 - Convert nsDragService to use Moz2D. r=roc
* * *
Bug 962786 - Bustage fix on a CLOSED TREE
2014-01-29 13:10:33 +13:00
Matt Woodrow
f5ff47d807 Bug 946952 - Run a 'compressed' paint up to 1 second after skipping the ColorLayer optimization. r=roc 2014-01-30 18:41:17 +13:00
Benoit Jacob
15ef84b8b5 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
28ff3ad25f Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
981c6431d3 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Nicholas Cameron
8cdfae40fc Bug 914847. Mini-flush for animations. r=dbaron 2013-10-22 14:14:41 +02:00
Nicholas Cameron
c22d18150e Bug 914847. Use a mini-flush instead of a full style flush. r=dbaron 2013-10-22 14:13:26 +02:00
Robert O'Callahan
35d96f3fe3 Bug 157846. Part 0.1: When reflowing a non-rootframe reflow root, preserve its used padding in case that differs from its CSS computed padding for some reason. r=mats
--HG--
extra : rebase_source : 15631dc5a5f40dc2d95b1eaa7698fba635763626
2014-01-15 22:47:36 +13:00
Kartikaya Gupta
428dbae2d2 Bug 900592 - Add nsPresShell::GetCumulativeResolution r=tn
--HG--
extra : rebase_source : 335da23741801779ff23c0a2802f286dddb6f49d
2014-01-15 09:16:41 -06:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jonathan Kew
5b57b958d7 backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure 2013-12-29 22:48:13 +00:00
Jonathan Kew
f4958b2b4b bug 735577 - followup 1 - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc 2013-12-29 22:04:02 +00:00
Jonathan Kew
1598f60cbd bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu 2013-12-27 17:59:52 +00:00
Jonathan Kew
58325cd45d bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu 2013-12-27 17:59:21 +00:00
Scott Johnson
5e9853d54c Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats,dbaron] 2013-10-01 14:52:13 -05:00
Carsten "Tomcat" Book
226c9eae9e Backed out changeset 70befb4cf2f4 (bug 878935) for mochitest -4 and bc test failures 2013-12-20 12:42:54 +01:00
Scott Johnson
a105908434 Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats,dbaron] 2013-10-01 14:52:13 -05:00
Brad Lassey
a04d709cd3 Backed out changeset 93d8c8703f4d 2013-12-19 17:49:05 -05:00
Scott Johnson
eb752cdb1a Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. r=kats,dbaron
--HG--
extra : rebase_source : 7eb13d00208cef8e696ec6e9a1cdc2739a994d9a
2013-10-01 14:52:13 -05:00
Trevor Saunders
1e02452a1d bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz 2013-11-20 14:18:25 -05:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Mats Palmgren
365b6433d7 Bug 946449 - Remove unused MozBeforeResize event. r=bz 2013-12-05 20:03:15 +00:00
William Chen
a0e58e725d Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap 2013-12-02 02:26:12 -08:00
William Chen
846788e35b Bug 806506 - Part 1: Implement ShadowRoot interface with DOM accessor methods. r=mrbkap,ehsan 2013-12-02 02:26:11 -08:00
Masayuki Nakano
40a9e83cc5 Bug 300710 part.2 PresShell should allow to open context menu even on XUL menu on Mac r=smaug+enn 2013-11-27 10:12:43 +09:00
John Daggett
a0de574aea Bug 942054 - bump range and number of buckets for content reflow timings and add interruptible boolean. r=bz 2013-11-26 13:34:31 +09:00
John Daggett
4c07e5ef6d Bug 934710 - log text perf metrics at reflow end, load complete and presshell teardown. r=heycam 2013-11-25 14:00:00 +09:00
John Daggett
595e66c8e0 Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame 2013-11-25 13:59:56 +09:00
Olli Pettay
0d05c3f233 Bug 930381 - Follow the COM rules when calling ProcessSynthMouseMoveEvent. r=mats, smaug, tnikkel 2013-11-12 07:54:10 -05:00
John Daggett
f6e7f6ca8c Bug 934719 - log load begin and end in presshell. r=heycam 2013-11-05 10:03:22 +09:00
Tim Taubert
a17d8b727c Bug 931706 - Changing contentViewer.authorStyleDisabled should send a notification r=bz
From 38ce091c13f08060c76e0dd8821cbe62fc3aa0c1 Mon Sep 17 00:00:00 2001
2013-10-28 10:09:29 +01:00
Timothy Nikkel
ab469042b3 Bug 930535. Enable image visibility on b2g inside browser elements. r=mats 2013-10-26 19:17:52 -05:00
Masayuki Nakano
b01f56f00e Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug 2013-10-22 22:27:35 +09:00
Masayuki Nakano
072dd9b177 Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug 2013-10-22 22:27:34 +09:00
Wes Kocher
fe3a869f94 Backed out changeset 82b31924a8bb (bug 914847) under suspicion of breaking mochitest-metro on a CLOSED TREE 2013-10-22 16:56:04 -04:00
Wes Kocher
6256b8f389 Backed out changeset 87ee0a1865e4 (bug 914847) 2013-10-22 16:55:14 -04:00
Wes Kocher
8c3f67ddfc Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
10616a1ed1 Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug 2013-10-22 22:27:35 +09:00
Masayuki Nakano
4a7e097954 Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug 2013-10-22 22:27:34 +09:00
Nicholas Cameron
dd6d5fdd9f Bug 914847. Mini-flush for animations. r=dbaron 2013-10-22 14:14:41 +02:00
Nicholas Cameron
732d37067c Bug 914847. Use a mini-flush instead of a full style flush. r=dbaron 2013-10-22 14:13:26 +02:00
Masayuki Nakano
415c4b7638 Bug 920425 part.30 Use mozilla::WidgetEvent::AsWheelEvent() r=smaug 2013-10-22 17:55:21 +09:00
Masayuki Nakano
9eb7021e62 Bug 920425 part.29 Use mozilla::WidgetEvent::AsGUIEvent() r=smaug 2013-10-22 17:55:20 +09:00
Masayuki Nakano
ef895616c5 Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
Masayuki Nakano
05606a8033 Bug 920425 part.18 Use mozilla::WidgetEvent::AsKeyboardEvent() r=smaug 2013-10-18 15:10:24 +09:00
Masayuki Nakano
0260e27697 Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug 2013-10-18 15:10:23 +09:00
Gabor Krizsanits
73d139301a Bug 565388 - No paint for invisible docshell. r=tnikkel 2013-10-16 15:18:42 +02:00
Masayuki Nakano
6931c6e1e5 Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Birunthan Mohanathas
b823b8896b Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Scott Johnson
5b2d29977b Backout 6a5549d97d8d (bug 878935) for missing IID changes. 2013-10-02 11:36:44 -05:00