Commit Graph

412 Commits

Author SHA1 Message Date
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
Boris Zbarsky
dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -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
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
David Zbarsky
4ce52c1ab4 Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond 2015-03-05 04:13:05 -05:00
Botond Ballo
23539dce4e Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck
--HG--
extra : rebase_source : 8fc78cab591b0da3622b57d9d351775fca529f6e
2015-03-02 16:41:02 -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
Bill McCloskey
3315a6def5 Bug 1133594 - Make a common base class for message manager script globals (r=smaug) 2015-02-19 17:12:11 -08:00
Bill McCloskey
ceab1ef58e Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
David Parks
580efcfbe4 Bug 1130051 - Compress mousemove IPDL messages. r=kats
Compress mousemove IPDL messages so that they do not spam the content
process.
2015-02-13 15:34:04 -08:00
Botond Ballo
9fd2a6c742 Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
c059c52cea Bug 1127066 - Extract SendSetTargetAPZCNotification and its helpers into APZCCallbackHelper. r=kats
--HG--
extra : source : 930454419509346f1002ea7486a128072688a921
2015-02-06 18:11:19 -05:00
Andrea Marchesini
78ecfc7b0d Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
43c27b90f0 Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
Andrea Marchesini
8fb2e275d3 Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm 2015-02-11 10:10:23 +01:00
Olli Pettay
e964974938 Bug 1124245, nsGlobalWindow::IsActive shouldn't depend on the state in nsFocusManager, r=Enn
--HG--
extra : rebase_source : 5fcd4611cc73651d9f7d1d498808847f26ff1d6b
2015-02-06 18:26:29 +02:00
Phil Ringnalda
03a26ce028 Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
ee4cdf6a25 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Jim Mathies
6ce384ea6b Bug 1129575 - In the PPluginWidget Create handler fail via return result vs. abort the child process when there's no parent window available. r=roc 2015-02-05 15:48:44 -06:00
Kan-Ru Chen (陳侃如)
553114ff7f Bug 1129311 - Don't use sNestedTabChildMap directly. r=smaug 2015-02-05 17:24:39 +08:00
David Zbarsky
58a982f86b Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Botond Ballo
fe4c9e99d2 Bug 1005815 - Extract TabChild::FireSingleTapEvent and its helpers into APZCCallbackHelper. r=kats,smaug 2015-01-21 19:46:27 -05:00
Ehsan Akhgari
a61a347792 Bug 1123016 - Clarify the ownership of DOMEventTargetHelper::mParentObject/mOwnerWindow; r=smaug
This patch converts DOMEventTargetHelper::mParentObject into an
nsWeakPtr, and adds fatal assertions to ensure that all future
nsIGlobalObject implementations support weak references.  It also marks
DOMEventTargetHelper::mOwnerWindow as a non-owning reference.
2015-01-23 08:37:37 -05:00
Botond Ballo
5864d447d5 Bug 1120566 - Adjust points sent from APZ to Gecko for the 'scale-to-resolution' transform in APZCCallbackHelper::ApplyCallbackTransform. r=kats 2015-01-16 13:48:33 -05:00
Kyle Huey
7c82e6dd0a Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey
9abd6a3719 Bug 567058 - Stop using intr messages for window.open (r=bent) 2015-01-16 10:07:50 -08:00
Bill McCloskey
babe73ca74 Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent) 2015-01-16 10:06:56 -08:00
Ryan VanderMeulen
e0fc18abb8 Backed out changesets 6295dbaa06de, 66e037e5ff7d, and 4a1171cc4dac (bug 567058) for being the likely cause of the spike in e10s test_pluginstream_err.html crashes.
CLOSED TREE
2015-01-13 13:28:36 -05:00
Bill McCloskey
294da091dd Bug 567058 - Stop using intr messages for window.open (r=bent) 2015-01-12 20:36:42 -08:00
Bill McCloskey
bc4b2a086c Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent) 2015-01-12 20:36:04 -08:00
Bill McCloskey
331965edcd Bug 1103036 - Ensure __delete__ message from TabChild doesn't get sent after ActorDestroy (r=bent) 2015-01-06 21:42:00 -08:00
Phil Ringnalda
d5bc2e8a7c Back out 3 changesets (bug 1103036) for b2g xpcshell bustage
CLOSED TREE

Backed out changeset e6ab63938473 (bug 1103036)
Backed out changeset 900bb5fcdd36 (bug 1103036)
Backed out changeset bc53d85bc1b2 (bug 1103036)
2015-01-06 23:33:50 -08:00
Bill McCloskey
29d9df892b Bug 1103036 - Ensure __delete__ message from TabChild doesn't get sent after ActorDestroy (r=bent) 2015-01-06 21:42:00 -08:00
Ehsan Akhgari
86300ddc20 Bug 1118425 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/ipc; r=baku 2015-01-06 23:33:49 -05:00
Chih-Kai (Patrick) Wang
1b982fc3d7 Bug 970307: Part 3: Reinitialize modules after fork. r=fabrice 2014-12-18 17:01:33 +08:00
Fabrice Desré
13d9f723e5 Bug 1107259 - Remove the sync IPC getDPI() and getDefaultScale() during app startup. r=thinker 2014-12-12 09:50:46 -08:00
Josh Aas
f9e3926e19 Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
David Anderson
a986c06526 Add support for mouse wheel transactions. (bug 1013432 part 6, r=kats)
--HG--
extra : rebase_source : 7230d0bac38e3faf3c7da2ecaf406b2e02f51146
2014-12-09 02:40:26 -08:00
Fabrice Desré
38dc391f7f Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Carsten "Tomcat" Book
e1cc9c8763 Backed out changeset fb224386bea8 (bug 1003848) for bustage on a CLOSED TREE 2014-12-03 16:43:15 +01:00
Fabrice Desré
89db929ab8 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Neil Deakin
4d77f120ba Bug 1072342, propagate the window activation state down to child process windows, r=smaug,mstange 2014-11-27 08:28:26 -05:00
Ryan VanderMeulen
fb8d05cd59 Backed out changesets 9beb53e53951, 4420bb4e5e7c, de1da65301a8, and cd9c2aaf1343 (bug 970307) for causing frequent B2G debug mochitest-11 crashes. 2014-11-24 17:18:27 -05:00
Carsten "Tomcat" Book
2492fdb8a7 Merge mozilla-central to b2g-inbound 2014-11-24 14:18:59 +01:00
Patrick Wang (Chih-Kai Wang)
d70095812d Bug 970307: Part 3: Reinitialize modules after fork. r=fabrice 2014-11-24 15:22:31 +08:00
Kartikaya Gupta
911702f6c3 Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond 2014-11-21 21:36:25 -05:00
Ben Turner
a81bd3bc10 Bug 1037625 - Allow child processes to respond to 'inner-window-destroyed' notifications without possibly killing the process. r-khuey. 2014-07-11 11:15:10 -07:00