Commit Graph

453 Commits

Author SHA1 Message Date
Ed Morley
89eada0a01 Backed out changeset 5fb0bcdb92d5 (bug 976605) 2014-04-15 17:45:17 +01:00
Botond Ballo
f7c2da45f8 Bug 976605 - Hook up TabChild to the ActiveElementManager. r=kats
--HG--
extra : source : 3589bda462816f0d40a7e77bc9060a9d3124d3bb
2014-04-09 15:16:16 -04:00
Botond Ballo
a677317112 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : bfb4af538271dc2e3148caa461f594715529021a
2014-04-11 20:27:57 -04:00
Matt Woodrow
8ce472ea56 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Ryan VanderMeulen
14d6d2857b Backed out changeset c81707878977 (bug 974197) for Gaia integration test failures on a CLOSED TREE. 2014-04-09 22:14:13 -04:00
Matt Woodrow
95f78d68ad Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Masayuki Nakano
b185105992 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Tatiana Meshkova
f400fd1f2c Bug 985817 - Move some TabChild functionality into base class to be reusable in Embedlite implementation. r=kats 2014-03-24 19:28:46 -07:00
Tom Schuster
c6cb8a35ec Bug 977904 - [e10s] Get native key bindings working. r=masayuki 2014-03-20 16:46:29 +01:00
Masayuki Nakano
b7a8d4a392 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
84f7d80b11 Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug 2014-03-18 13:48:19 +09:00
Kartikaya Gupta
d655c3edd9 Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Kartikaya Gupta
99d5edc1c3 Bug 981029 - Make ProcessUpdateFrame behave in less magical ways. r=botond
Replace the always-true return value, with a FrameMetrics object that
reflects the final metrics put in place. Also remove the side-effect of
assigning mLastRootMetrics and put that in the call sites instead.
2014-03-12 15:27:44 -04:00
Bill McCloskey
2bd58ad916 Bug 972420 - [e10s] Don't send keypress if keydown was prevented (r=smaug) 2014-03-11 20:13:38 -07:00
Blake Kaplan
bd61b1f7a3 Bug 980586 - Remove old e10s prompt code. r=smaug 2014-03-10 08:57:07 -04:00
Ed Morley
6915f3f78a Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Matt Woodrow
887c38c308 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Tim Taubert
921798251c Bug 978540 - [e10s] Correctly maintain active state for remote docShells r=smaug 2014-02-20 12:26:13 +01:00
Tom Schuster
368ff61eab Bug 963294 - [e10s] Implement a proxy for the color picker. r=jdm 2014-02-23 21:19:43 +01:00
Phil Ringnalda
eb31fa81a5 Back out 5e4cee2fcbc6 (bug 963294) for build bustage
CLOSED TREE
2014-02-23 12:59:52 -08:00
Tom Schuster
8472e2081d Bug 963294 - [e10s] Implement a proxy for the color picker. r=jdm 2014-02-23 21:19:43 +01:00
Kartikaya Gupta
af2350f8ba Bug 968991 - Only initialize the root metrics after getting both before-first-paint and the mInnerSize dimensions. r=botond 2014-02-21 18:12:43 -05:00
Tom Schuster
f573c1ca86 Bug 910384 - Change nsFilePickerProxy to be asynchronous and add a proper IPDL protocol for it. r=jdm 2014-02-18 01:30:06 +01:00
Vivien Nicolas
acdcf9342b Bug 972081 - Highlighting seems broken with APZC enabled. r=kats,fabrice 2014-02-15 01:45:45 +01:00
Alfredo Yang
4ed8628dbb Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
Doug Sherk
a1acaa79fc Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats 2014-02-07 18:13:50 +01:00
Kartikaya Gupta
3b9d933124 Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
Bill McCloskey
5ec2160ccd Bug 938904 - [e10s] Make tooltips work (r=smaug,enn) 2014-01-22 12:27:23 -08:00
David Zbarsky
d26395dbc2 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Josh Aas
cbf4bb1d5b Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 1. r=bent 2014-01-17 11:46:41 -06:00
Tom Schuster
5e3191afd2 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Bill McCloskey
86ded12d47 Bug 919878 - Fix abort in graphics code if content process shuts down quickly (r=mattwoodrow) 2014-01-15 13:10:39 -08:00
David Zbarsky
19e7f7ce22 Bug 952977: Use gfx::Matrix in ipdl r=nical 2013-12-26 13:06:53 -05:00
Vivien Nicolas
62f6f02e42 Bug 950300 - Cancel APZC panning is the first touchmove is preventDefault'ed. r=kats 2013-12-20 10:11:01 +01:00
Bill McCloskey
c36ad87d02 Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Kartikaya Gupta
cede2efb3a Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis 2013-12-16 12:04:46 -05:00
Ryan VanderMeulen
da7f948f87 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Dale Harvey
6ecc49a360 Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats 2013-12-12 00:39:06 +00:00
Bobby Holley
26194b5ac5 Bug 937317 - Make TabChildGlobal implement nsIGlobalObject. r=bz 2013-12-11 17:51:56 -08:00
Ryan VanderMeulen
c8bf34a922 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Randell Jesup
4ae26c99d7 Bug 853356: backout p3 2013-12-10 01:03:21 -05:00
Phil Ringnalda
04520ec010 Merge m-c to b-i 2013-12-07 11:21:04 -08:00
Phil Ringnalda
d1ba8751f2 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Wes Kocher
871ed2b150 merge m-c to b2g-inbound 2013-12-06 20:49:02 -06:00
Alfredo Yang
8bf7bb0542 Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-12-06 17:38:52 -05:00
Kartikaya Gupta
434cbb1f01 Bug 814435 - Prevent scrollbars from fading out while user is scrolling. r=botond 2013-12-09 22:14:55 -05:00
Carsten "Tomcat" Book
ebbaf3e01f Backed out changeset 2762cab83d31 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:43:02 +01:00
Bobby Holley
e97eb203e1 Bug 937317 - Make TabChildGlobal implement nsIGlobalObject. r=bz 2013-12-05 21:34:16 -08:00
Chris Lord
ffa4f41c94 Bug 944047 - Store the last FrameMetrics for sub-frames in TabChild. r=botond
As well as the root frame, make sure to store the last received FrameMetrics
for sub-frames in TabChild. This prevents us sending scroll events triggered
by the APZC back to the APZC.
2013-12-05 20:47:21 +00:00
Ryan VanderMeulen
78978f0439 Backed out changeset 4d07001e9afc (bug 673569) because it depends on bug 682048 which is being backed out. 2013-12-03 22:43:52 -05:00
Bill McCloskey
256d5bf889 Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Ed Morley
6aeaf5f552 Backed out changeset 998d2d5e743d (bug 919878) on suspicion of causing shutdown hangs on OS X 2013-11-20 12:32:52 +00:00
Bill McCloskey
9fe3e19d0c Bug 919878 - Improve failure handling for TabChild::InitRenderingState (r=mattwoodrow) 2013-11-19 13:20:28 -08:00
Kartikaya Gupta
8ef2108534 Bug 937688 - Get the guid from ReceiveInputEvent and use it in the callback to ContentReceivedTouch. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
9a11821ebe Bug 937688 - Refactor some code to extract a TabChild::GetDocument method. r=botond 2013-11-13 13:20:30 -05:00
Andrea Marchesini
a8b74ee333 Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug 2013-11-06 17:21:15 +00:00
Reuben Morais
d4256d98ac Backed out 4 changesets (bug 853356) for breaking permission prompts. 2013-11-06 01:32:42 -02:00
Ryan VanderMeulen
8920f1cca6 Merge inbound to m-c. 2013-11-05 15:28:52 -05:00
Kyle Huey
90d7e97201 Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Alfredo Yang
08159d8a3e Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 16:29:52 +08:00
Kan-Ru Chen (陳侃如)
bbe73cebbf Backout 6d33ac3a2b14 2013-11-05 14:59:22 +08:00
Alfredo Yang
6d3246b7b3 Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 14:08:45 +08:00
Wes Kocher
f0c23390fe Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
David Zbarsky
906bff4c2b Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Nathan Froyd
640bb8fea7 Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
Doug Turner
ac37f38bda Backing out 987b3ec24f68 2013-10-31 20:25:46 -07:00
Alfredo Yang
087493b7e7 Bug 853356 - Part 3: Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-10-26 21:20:09 -04:00
Masayuki Nakano
6931c6e1e5 Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Ehsan Akhgari
388d86de6c Bug 923151 - Part 1: Don't #include nsIDocument.h in TabChild.h; r=jst
--HG--
extra : rebase_source : 1748c347eeed09a8216580a48dd786f0dbe92588
2013-10-02 16:08:30 -04:00
Masayuki Nakano
b266c80d36 Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
096a701901 Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
David Anderson
3fe1554192 Add RPC message support to messagemanager (bug 910493 part 2, r=smaug). 2013-10-01 09:15:06 -07:00
Masayuki Nakano
805b0a7850 Bug 920377 part.24 Get rid of nsSelectionEvent r=roc 2013-10-01 16:23:01 +09:00
Masayuki Nakano
a899a68a7f Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
dfa18ff7c5 Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
cb5e8fa5ed Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano
da7066887d Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
a362049807 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Ehsan Akhgari
9890a8c148 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Kartikaya Gupta
d611ca49c2 Bug 880024 - Extract some useful code for implementing GeckoContentController into a helper class. r=k17e 2013-09-18 09:56:16 -04:00
Bobby Holley
64db9aecad Bug 937317 - Make TabChildGlobal implement nsIGlobalObject. r=bz 2013-12-06 12:01:41 -08:00
Masayuki Nakano
8f393ec07c Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc 2013-09-14 11:39:41 +09:00
Tom Schuster
195b18c157 Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug 2013-09-12 15:24:11 -04:00
Dale Harvey
ddb5923fdc Bug 900638 - Specify input source when generating mouse events. r=kats 2013-09-11 14:28:58 +02:00
Jan Varga
67195df918 Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Kartikaya Gupta
f5f0ff5641 Bug 907754 - Ensure that the zoom on the FrameMetrics is initialized correctly for all frames. r=tn
RecordFrameMetrics gets called on a variety of layers. Previously it would
incorrectly set mZoom for a number of these layers. For scrollable container
layers inside the main document, it would set the mResolution from the
presShell's resolution, thus compounding the painted resolution.
Furthermore, for iframes inside the document, it would assign mZoom the
value from TabChild's mLastMetrics, which is only meant to apply to the
top-level document. Prior to multi-apzc work these values were never used
so it didn't matter but now they are so they should be assigned correctly.
2013-08-30 13:11:01 -04:00
Kartikaya Gupta
55c123d4d6 Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Nicholas Nethercote
b89a8ac1c0 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Botond Ballo
c7e59f7954 Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats 2013-08-08 15:56:08 -04:00
Kan-Ru Chen (陳侃如)
f186023681 Bug 845169 - Update touch region from remote frame. r=roc 2013-08-13 15:56:57 +08:00
Trevor Saunders
a8a12176ad bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Tom Schuster
b47a41208b Bug 897062 - Handle special clicks in e10s. r=felipe,smaug 2013-08-08 20:16:47 -04:00
Kartikaya Gupta
80fc21967b Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow 2013-07-30 14:03:42 -04:00
Michael Wu
188d8224eb Bug 870311 - Fix coordinates on contextmenu event, r=kats 2013-07-16 15:54:59 -04:00
David Anderson
0930e61030 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Wes Kocher
e4601507f5 Backout 129da44ac469 (bug 870180) for breaking message manager 2013-07-10 18:22:34 -07:00
David Anderson
144a6b0e34 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
David Zbarsky
8161e27f6d Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar 2013-07-10 13:07:51 -04:00
Anthony Jones
dc295bc5fe Bug 864447 - Set display port for given scroll id; r=BenWa 2013-07-10 11:26:07 +12:00
David Zbarsky
7c1e9e4d0f Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
Bobby Holley
297c3002d2 Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-30 09:00:20 -06:00
Phil Ringnalda
aa7316894b Back out 9a57cd3e5a93:b62548e26499 (bug 865745) for causing an unexpected exception in a mochiperf test 2013-06-29 20:27:48 -07:00
Bobby Holley
f8a389da3d Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-29 18:44:06 -06:00
Kartikaya Gupta
dcd5272bcc Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
5ee79e7c80 Backed out 7 changesets (bug 883646) for reftest-ipc failures.
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
f4bbce6956 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Nathan Froyd
75d1692785 Bug 883392 - clean up TabChild.h's #includes; r=smaug 2013-06-14 17:47:56 -04:00
Kartikaya Gupta
82aba42a5a Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe 2013-06-14 16:11:29 -04:00
Kartikaya Gupta
3add0c36b5 Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
fe148e065e Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa 2013-06-10 09:05:43 -04:00
Arnaud Sourioux
feea85a7f1 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
John Lin
a5f06c5984 Bug 852009 - Make sure callback of pre-open()ing for app process's application.zip (introduced for bug 835698) will be fired only once. r=bent 2013-05-29 20:56:09 -04:00
Ed Morley
05416056b0 Merge latest green inbound changeset and mozilla-central 2013-05-24 15:49:15 +01:00
Anthony Jones
f4328c5b39 Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa 2013-05-24 09:43:36 +08:00
Vivien Nicolas
800eacf47f Bug 864382 - Send a click event after a contextmenu event if the later has not been caught. f=amarchesini,r=jlebar,a=tef 2013-05-23 17:52:06 +02:00
Bobby Holley
be7264ecab Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
\o/
2013-05-06 16:53:10 -07:00
Michael Wu
ed39602eed Bug 867703 - Remote default scale value, r=roc 2013-05-01 19:06:19 -04:00
Matt Woodrow
ace055b629 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Justin Lebar
7908e05f22 Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
David Zbarsky
2bc2cd98b5 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Boris Zbarsky
a295fe137f Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Jose Cortes
60d8f2002c Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/ipc/ dom/icc/ directories. r=jwalden
--HG--
extra : rebase_source : 0b853fadf33606b78f753064ea676354943e6063
2013-04-02 16:22:12 -07:00
Ed Morley
caab8e796b Backed out changeset cacb9f3ee44d (bug 840693) 2013-03-04 14:37:43 +00:00
Anthony Jones
bce8f8e813 Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones 2013-03-04 13:25:26 +13:00
Ben Turner
46bed5f017 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-15 14:27:21 -08:00
Ryan VanderMeulen
dc75c6b11c Backed out changeset 1646e649878a (bug 835698) for causing bug 839256. 2013-02-11 17:38:41 -05:00
Ben Turner
b66d3a5418 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Ed Morley
5c728f13b8 Backout 1646e649878a (bug 835698) on suspicion of causing mochitest-1 shutdown hangs on Windows on a rather sad looking CLOSED TREE 2013-02-11 15:41:36 +00:00
Ben Turner
8c08a3ad5e Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Jason Duell
a8d9b74416 Backed out changeset 1a2e34c9ebc7 (bug 835698) a=bustage_from_bug_839688 2013-02-08 17:18:28 -08:00
Ben Turner
7555d5addc Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-01 04:23:23 -08:00
Phil Ringnalda
4263f1a634 Back out 4b47185f48f8 (bug 835698) for Win debug crashes in test_jarchannel_e10s.js 2013-02-06 22:23:33 -08:00
ben turner
61b0a67172 Bug 835698 - Pre-open() and send the fd for app process's application.zip r=jduell 2013-02-06 05:18:00 -08:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
4189d101cf Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00
Josh Matthews
03688bc401 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00
Josh Matthews
a5748a8b01 Backed out changeset 6cd44513d285 (bug 782542) 2012-12-28 19:18:38 -05:00
Josh Matthews
7f617152b0 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-12 10:40:33 -05:00
Chris Jones
77ab658cf5 Back out bug 782542 for regressions. 2012-12-21 18:23:13 -08:00
Chiajung Hung
34d6df648e Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Mark Hammond
a2e03cff14 Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE 2012-12-21 15:30:02 +11:00
Chiajung Hung
9c8179f70a Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Josh Matthews
954a16b997 Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-12 10:40:33 -05:00
Justin Lebar
97829d731f Bug 821440 - Allow the B2G homescreen to run in the background with a decreased oom_score_adj compared to vanilla background apps. r=cjones 2012-12-18 21:37:35 -05:00
Ed Morley
0166feddca Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
d599a1c9c4 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Jeff Muizelaar
7877c58e7a Bug 798245. Propagate the zoom from the tab child into the frame metrics. r=cjones
This lets the default zoom make it back to the APZC when the viewport is set.
2012-12-11 17:49:57 -05:00
Ehsan Akhgari
a1844bd954 Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures 2012-12-11 15:04:11 -05:00
Josh Matthews
5c429bd02b Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-07 17:12:02 -05:00
Chris Jones
2114064656 Bug 811315: Use process-per-mozbrowser by default and make scrolling behavior selectable by content. r=jlebar sr=roc
This is a rollup of the following patches

Bug 811315, part 0.9: Fix pre-existing race condition that allows dying ContentParents to accidentally try to load new TabParents. r=jlebar

Bug 811315, part 0.91: Fix another pre-existing race condition where FirstIdle might run after ContentChild::ActorDestroy(). r=jlebar

Bug 811315, part 1: Make "browser" process limit infinite and unload the processes when all tabs are closed.  Firefox with process-per-tab!  r=jlebar

Bug 811315, part 2: Pass scrolling-behavior hint down into TabParent instead of inferring it from app/browser. r=jlebar

Bug 811315, part 3: Add a mozasyncpanzoom attribute for iframes and honor it when constructing a remote frame. r=jlebar sr=roc
2012-11-27 12:43:52 -08:00
Gregor Wagner
eae5c9cc8c Bug 810427 - Device storage - Add access fields to permission checks. r=dougt 2012-11-13 16:06:42 -08:00
Justin Lebar
e80ccc6058 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
a9dc8e795f Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
37f4a955e5 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Andrea Marchesini
d2e9fb6a55 Bug 796275 - Context menu fires on wrong target out of process. r=cjones 2012-11-08 14:35:02 -05:00
Chris Jones
3b6afccf0e Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc 2012-11-07 19:51:55 -08:00
Justin Lebar
c001680f59 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Justin Lebar
df1f088009 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
b6d3d98908 Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD 2012-10-30 16:13:20 -04:00
Justin Lebar
5dde530864 Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Chris Jones
b00b1e25b0 Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
This is a rollup of the following patches
 - Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
 - Remove mention of "meta" from TabChild. r=roc
 - Remove some useless logging. r=roc
 - Tag FrameMetrics with its composition bounds at paint time. r=roc
 - Add a helper to calculate the render resolution for a FrameMetrics. r=roc
 - Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
 - BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
 - Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
 - Mechanically separate uses of zoom/resolution based on new definitions. r=roc
 - Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
 - Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Doug Sherk
4f2bfeb032 Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug 2012-09-28 22:18:18 -04:00
Philipp von Weitershausen
ffc72e3d22 Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
Ed Morley
ce04490c89 Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE 2012-09-28 14:08:04 +01:00
Philipp von Weitershausen
7775e8c877 Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
Ed Morley
dce1c2e5c4 Backout be95f234ff6e (bug 776832) for various mochitest-1 failures 2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
7d83192a58 Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug 2012-09-26 00:41:51 -07:00
Honza Bambas
3581c481dc Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Doug Sherk
2d4610aea1 Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones 2012-09-14 21:16:32 -04:00
Dave Hylands
ec98054feb Bug 784805 - Set the process name (comm) to the app name. r=cjones 2012-09-10 21:30:33 -07:00
Chris Jones
2b59f28d65 Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc 2012-09-05 09:23:45 -07:00
Chris Jones
ec453b21c7 Bug 781725: Refactor TabChild to allow pre-created instances, and then use a pre-created instance to pre-load and compile BrowserElementChild.js. r=smaug
--HG--
extra : rebase_source : f063c672d55da46541fdd1b6f6ff0cf510a6853f
2012-08-29 12:26:18 -03:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Chris Jones
243e597650 Bug 774988: Compress touchmove events across processes. r=bent 2012-08-22 03:54:20 -07:00
Ms2ger
4896c201ea Back out bug 636063, bug 774988 and bug 784647 for busting all of Android. 2012-08-25 13:18:18 +02:00
Chris Jones
0d8ca1d572 Bug 774988: Compress touchmove events across processes. r=bent 2012-08-25 01:25:08 -07:00
Ben Turner
2e0265c8ef Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Matt Woodrow
b74402d23a Bug 778036 - Only notify the parent of the first TabChild paint. r=cjones 2012-08-07 15:00:41 +12:00
Masayuki Nakano
3e7d8f043d Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
acbe3bbdd7 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Chris Jones
063981263a Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar 2012-08-08 19:58:06 -07:00
Doug Sherk
75b44181d1 Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Chris Jones
237a0abf01 Back out bug 776649. r=bustage 2012-08-08 20:13:12 -07:00
Chris Jones
8c8f551b1f Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar 2012-08-08 19:58:06 -07:00
Doug Sherk
b0e4e056ea Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-08 13:37:57 -07:00
William Chen
16866a115c Bug 775377 - Modify nsIContentPermissionRequest to use nsIPrincipal instead of nsIURI. r=dougt+cjones 2012-07-30 10:58:26 -04:00
Phil Ringnalda
97b3be524b Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage 2012-08-07 20:40:48 -07:00
Doug Sherk
2723d5bbda Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Doug Sherk
b46b71535a Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-07 18:51:00 -07:00
Ben Turner
1ef4c0de5b Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
4a5b32fae2 Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Mounir Lamouri
77caa7b002 Bug 770532 - Make new nsIPrincipal and nsIDocShell attributes work in content process. r=jlebar 2012-07-21 17:16:11 -07:00
Chris Jones
2cf7adf64a Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
William Chen
faa2582fc2 Bug 773683 - Add runtime assertion to ensure PCOMContentPermissionRequestChild is live while protocol is live. r=jdm 2012-07-18 15:09:28 -04:00
Chris Jones
62d23842f9 Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc 2012-07-17 16:59:45 -07:00
Chris Jones
73b6b07bd6 Bug 774139: Forward touch events across processes. r=felipe,smaug 2012-07-15 19:58:43 -07:00
Chris Jones
e1cee8975b Back out bug 774139. r=bustage 2012-07-16 15:19:00 -07:00
Chris Jones
526631b1c6 Bug 774139: Forward touch events across processes. r=felipe,smaug 2012-07-16 14:46:29 -07:00