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

393 Коммитов

Автор SHA1 Сообщение Дата
David Anderson dd2df9d99a Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
Peter Van der Beken 1900a0608e Bug 1020199 - Make sure APZ works with nested oop iframe. r=kats, r=dvander.
--HG--
extra : rebase_source : be158c15f328b19be4e4189c1b755841caabcb10
2016-01-08 20:17:39 +01:00
Randall Barker 45a15ccb02 Bug 1231517 - part 3, Add ZoomToRect function to nsIWidget classes r=kats 2016-01-20 16:24:59 -08:00
Botond Ballo 65d984ff6f Bug 1221371 - Remove unnecessary explicit copies of nsTArray. r=billm
--HG--
extra : source : e3ade121fe3a26db1e65cd6b91de29dfe8cc5a61
extra : intermediate-source : a09da6e0b017448d6e2b85eb4a6c08dba51999c7
2015-11-18 13:48:12 -05:00
Gijs Kruitbosch a06294cced Bug 1221947 - part 3: pass touch information to focus manager in RenderFrameParent, r=kats
--HG--
extra : commitid : 47acXgQvIIX
extra : rebase_source : 5cd19375c1bd6451e9cf80f6bae8dbf1de2b34be
extra : histedit_source : 50e6c9d203bde42a45812d352d60fa45987d8806
2015-11-16 14:03:35 +00:00
Kartikaya Gupta 8531f6e36c Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking
--HG--
extra : commitid : 2hGYJD6eHff
2015-11-11 10:17:47 -05:00
Bill McCloskey f8aa3d2562 Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-09 10:21:11 -08:00
Sebastian Hengst 7399ac0b2a Backed out 3 changesets (bug 1221368, bug 1221371) for build failures in B2G JB Emulator. r=backout
Backed out changeset a50c676caf7f (bug 1221371)
Backed out changeset bd99e5060e1e (bug 1221371)
Backed out changeset 3a22461c8ce8 (bug 1221368)

gecko/ipc/chromium/src/base/task.h:36:4: error: use of deleted function 'RefPtr<T>::operator T*() const && [with T = nsScreenGonk]'
make[6]: *** [nsScreenManagerGonk.o] Error 1
2015-11-08 21:25:22 +01:00
Bill McCloskey 50c9efe1a4 Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-08 10:25:09 -08:00
Mason Chang 8aa60c20d6 Bug 1221674 - Add telemetry probe in the content process to measure the time between refresh driver ticks. r=kats 2015-11-06 08:20:58 -08:00
Matt Woodrow 8c47ae7506 Bug 1216288 - Disable warning when we don't build an active layer for RenderFrameParent within an opacity:0 subtree. r=roc 2015-11-03 16:49:22 +13:00
Nigel Babu aa60675f7f Backed out changeset 19e021ef5ba1 (bug 1216288) 2015-11-03 11:59:05 +05:30
Matt Woodrow ffd079e640 Bug 1216288 - Disable warning when we don't build an active layer for RenderFrameParent within an opacity:0 subtree. r=roc
--HG--
extra : rebase_source : 9eade6266c0a1f6485e5b82ab0c0c5bc49f9a85c
2015-11-03 16:49:22 +13:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Benoit Girard 60376c4a70 Bug 1199885 - Part 12: Add StartScrollbarDrag IPC message. r=kats
--HG--
extra : commitid : 87IsjW2NpRX
2015-09-28 17:00:25 -04:00
sgiles 175c35c1b5 Bug 1206786 - Fix input routing on multi-process Android builds. r=kats
--HG--
extra : rebase_source : bdc1c020b2a788f6e920d225a32ebed5f1369e4c
2015-09-24 21:42:14 +01:00
Nicholas Nethercote f523d5c4ba Bug 1207931 - Remove no-longer-needed SetBackgroundColor IPC message. r=mattwoodrow. 2015-09-24 19:03:33 -07:00
Kartikaya Gupta 6efb2a41d1 Bug 1206904 - Work around APZ crashes when dealing with nested content processes. r=botond
--HG--
extra : commitid : 7i5joysqaKR
2015-09-25 13:54:11 -04:00
Kartikaya Gupta 8e26a393f7 Bug 1200778 - Make sure to update the APZCTreeManager associated with a RenderFrameParent when it is dragged to a new window. r=mstange
--HG--
extra : commitid : FMTbYClI5hX
2015-09-15 16:09:35 -04:00
Nicolas Silva 52abcdcfa5 Bug 1198674 - Null-check mFrameLoader before calling GetFrom in RenderFrameParent. r=sotaro 2015-09-10 10:43:04 +02:00
Nicolas Silva 41cd4bfb4b Bug 1198674 - null-check mFrameLoader in RenderFrameParent. r=sotaro 2015-09-04 12:11:33 +02:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Mike Conley 161ac0ee7a Bug 1134252 - Don't crash the content process if RenderFrameParent is not constructed successfully. r=billm.
We were returning a nullptr from AllocPRenderFrameParent in TabParent, which causes
a killhard abort in the child. We suspect this is occurring because the TabParent
is attempting to kick off drawing in a tab that's already closed (so there is no
frame loader, which means we can't create a PRenderFrameParent). So now, we return
a PRenderFrameParent* even if constructing it was unsuccessful, and the child
destroys it once it confirms that there is an invalid layer ID associated with
the RenderFrame.

--HG--
extra : commitid : K7IDcpprjxI
extra : rebase_source : 9994cbe9a9a2a6216d189ccfe99a440f4db7b871
2015-07-21 17:34:36 -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
Ryan VanderMeulen de7e734bc6 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-07 13:38:10 -04:00
Cervantes Yu 5dfad47413 Bug 1180644: Fix crashes after enabling OOP on B2GDroid. r=snorp 2015-07-06 19:18:20 +08:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Robert O'Callahan 68954a66d8 Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.

--HG--
extra : commitid : 7atVkOgdEhG
extra : rebase_source : caaba6a708ed267368df44609fb047abde9c3ca1
2015-07-06 15:02:26 +12:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Kartikaya Gupta 1d81392d69 Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-06-19 08:25:41 -04:00
Kartikaya Gupta bd05613425 Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond 2015-06-17 12:32:41 -04:00
Botond Ballo 4958aa7c1b Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Kan-Ru Chen 5d6fe9dd7e Bug 1172889 - Get current RenderFrameParent from TabParent directly. r=roc 2015-06-10 17:44:10 +08: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
Kartikaya Gupta b54dc47f24 Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta 86ed888daa Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-05-22 06:42:08 -04:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
David Anderson fba0c47c1f Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07: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 bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Kartikaya Gupta ed6d55e8d9 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Daniel Holbert 082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Kearwood (Kip) Gilbert 8d1fcc4892 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)

--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
L. David Baron da27c29b8c Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
--HG--
extra : transplant_source : %E16mjh%96Y%AB%96%23%A3%BDCF%F6%8D%95%BF%FE%BC
2015-03-03 17:03:19 -08:00
Botond Ballo 6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Kartikaya Gupta 2ccb1ce2ad Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Kartikaya Gupta 934d955071 Bug 1134493 - Ensure we don't set the force-empty-hit-region flag when a subdocument has mozpasspointerevents. r=botond 2015-02-25 13:36:19 -05:00