Ryan VanderMeulen
7a2924f392
Merge inbound to m-c.
2013-11-05 15:28:52 -05:00
Kyle Huey
3f7123a621
Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz
2013-11-05 22:16:25 +08:00
Alfredo Yang
620bb632ca
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 (陳侃如)
3a9ca16110
Backout 6d33ac3a2b14
2013-11-05 14:59:22 +08:00
Alfredo Yang
554000b50c
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
df1cca0f0f
Backed out changeset bad6c063b01f (bug 932274) for build bustage
2013-11-04 14:40:50 -08:00
David Zbarsky
ec2becadee
Bug 932274: Use Moz2D size classes in ipdl r=nical
2013-11-04 16:43:10 -05:00
Nathan Froyd
05e020c835
Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan
2013-10-18 16:57:55 -04:00
Doug Turner
eb207427ab
Backing out 987b3ec24f68
2013-10-31 20:25:46 -07:00
Alfredo Yang
190d0bf8f8
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
52e19b318b
Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc
2013-10-16 18:37:36 +09:00
Ehsan Akhgari
1c1a9cc4f7
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
9aaf116c1c
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Masayuki Nakano
a4221a463f
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
David Anderson
0c515ae00c
Add RPC message support to messagemanager (bug 910493 part 2, r=smaug).
2013-10-01 09:15:06 -07:00
Masayuki Nakano
255381c975
Bug 920377 part.24 Get rid of nsSelectionEvent r=roc
2013-10-01 16:23:01 +09:00
Masayuki Nakano
b809719e9d
Bug 920377 part.22 Get rid of nsCompositionEvent r=roc
2013-10-01 16:23:00 +09:00
Masayuki Nakano
3e4559711b
Bug 920377 part.21 Get rid of nsTextEvent r=roc
2013-10-01 16:22:59 +09:00
Masayuki Nakano
3a0b655e5a
Bug 920377 part.17 Get rid of nsKeyEvent r=roc
2013-10-01 16:22:58 +09:00
Masayuki Nakano
d3aa0d67cf
Bug 920377 part.13 Get rid of nsTouchEvent r=roc
2013-09-27 15:20:57 +09:00
Masayuki Nakano
743fbc6e59
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
Ehsan Akhgari
8c43a4f37f
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Kartikaya Gupta
64589fab2e
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
04e1469355
Bug 937317 - Make TabChildGlobal implement nsIGlobalObject. r=bz
2013-12-06 12:01:41 -08:00
Masayuki Nakano
776acd167e
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
3d2fa7cabf
Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug
2013-09-12 15:24:11 -04:00
Dale Harvey
624b9eaf6c
Bug 900638 - Specify input source when generating mouse events. r=kats
2013-09-11 14:28:58 +02:00
Jan Varga
e9492bcd36
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
cc96ea4f38
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
fd30fdc1ca
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
2585de9a07
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
f3c2ea43d5
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 (陳侃如)
41345e7739
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Trevor Saunders
99d8dc50c9
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Tom Schuster
086302552c
Bug 897062 - Handle special clicks in e10s. r=felipe,smaug
2013-08-08 20:16:47 -04:00
Kartikaya Gupta
b0a221b29b
Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow
2013-07-30 14:03:42 -04:00
Michael Wu
8c86ae8cab
Bug 870311 - Fix coordinates on contextmenu event, r=kats
2013-07-16 15:54:59 -04:00
David Anderson
9358336f75
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Wes Kocher
725b5f55d2
Backout 129da44ac469 (bug 870180) for breaking message manager
2013-07-10 18:22:34 -07:00
David Anderson
5f0258f3c3
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
David Zbarsky
72c136129d
Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar
2013-07-10 13:07:51 -04:00
Anthony Jones
12bbe7d3a2
Bug 864447 - Set display port for given scroll id; r=BenWa
2013-07-10 11:26:07 +12:00
David Zbarsky
dc4eb54b87
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
Bobby Holley
de1af8dc4a
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-30 09:00:20 -06:00
Phil Ringnalda
0f540beb8e
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
c628779566
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-29 18:44:06 -06:00
Kartikaya Gupta
1de2b15435
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
d2b6c8631b
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
603cf626d1
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Nathan Froyd
81228503c6
Bug 883392 - clean up TabChild.h's #includes; r=smaug
2013-06-14 17:47:56 -04:00
Kartikaya Gupta
fa6e557e9e
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
cf143c6315
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
95a5f9d752
Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa
2013-06-10 09:05:43 -04:00
Arnaud Sourioux
8ebb1ca3e6
Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger
2013-06-05 12:15:48 -04:00
John Lin
a4ea73d320
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
702a315b61
Merge latest green inbound changeset and mozilla-central
2013-05-24 15:49:15 +01:00
Anthony Jones
2301455d33
Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa
2013-05-24 09:43:36 +08:00
Vivien Nicolas
a89624ca7e
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
31412343f1
Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
...
\o/
2013-05-06 16:53:10 -07:00
Michael Wu
5cc8259b39
Bug 867703 - Remote default scale value, r=roc
2013-05-01 19:06:19 -04:00
Matt Woodrow
b00d0c2090
Bug 865104 - Implement a BasicCompositor. r=nrc
2013-05-01 12:42:05 +12:00
Justin Lebar
b9b9b91ceb
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
9e176d3804
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
Boris Zbarsky
de948b12f3
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
839048be74
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
b1d36a593b
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
9096110a31
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Anthony Jones
9cb34fbb9a
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
Ben Turner
fccc4a7e71
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
46e64bb8b4
Backed out changeset 1646e649878a (bug 835698) for causing bug 839256.
2013-02-11 17:38:41 -05:00
Ben Turner
ba03516e31
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
55aeaf5840
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
0a6bcfccca
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
310b9a58b0
Backed out changeset 1a2e34c9ebc7 (bug 835698) a=bustage_from_bug_839688
2013-02-08 17:18:28 -08:00
Ben Turner
95daf24ed3
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
a59edaacfe
Back out 4b47185f48f8 (bug 835698) for Win debug crashes in test_jarchannel_e10s.js
2013-02-06 22:23:33 -08:00
ben turner
eee608fdc3
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)
56e0349b73
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
7482ee38c6
Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g
2012-12-29 04:02:16 -05:00
Josh Matthews
315334a8d5
Backed out changeset 6cd44513d285 (bug 782542)
2012-12-28 19:18:38 -05:00
Josh Matthews
8574d2db42
Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g
2012-12-12 10:40:33 -05:00
Chris Jones
a01c2255bc
Back out bug 782542 for regressions.
2012-12-21 18:23:13 -08:00
Chiajung Hung
a3797d3442
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Mark Hammond
e249240d97
Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE
2012-12-21 15:30:02 +11:00
Chiajung Hung
2708f65d81
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Josh Matthews
1104291366
Bug 782542 - Secure necko IPDL usage. r=ted,jduell
2012-12-12 10:40:33 -05:00
Justin Lebar
3a8354869f
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
f41c087da9
Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts
2012-12-16 18:09:39 +00:00
Josh Matthews
4d20bfdcc1
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
29308029e0
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
367b53417c
Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures
2012-12-11 15:04:11 -05:00
Josh Matthews
4e012f139b
Bug 782542 - Secure necko IPDL usage. r=ted,jduell
2012-12-07 17:12:02 -05:00
Chris Jones
c6b42920b1
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
e17477fec2
Bug 810427 - Device storage - Add access fields to permission checks. r=dougt
2012-11-13 16:06:42 -08:00
Justin Lebar
a9e6d9a0c8
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
3eff16d324
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
785d3c9b2f
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
8dde3fc959
Bug 796275 - Context menu fires on wrong target out of process. r=cjones
2012-11-08 14:35:02 -05:00
Chris Jones
18843b20e1
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
22489f7920
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
7b38d49f83
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
818638f210
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
af7297481d
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
831e04c2e3
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
34d6e81bb8
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
44fd6174fa
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
ea1b946dd2
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
aeb0b41fb3
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
a4cb255103
Backout be95f234ff6e (bug 776832) for various mochitest-1 failures
2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
4790e5734f
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
62c6cf834b
Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell
2012-07-31 02:36:00 -04:00
Doug Sherk
0de4e182ef
Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones
2012-09-14 21:16:32 -04:00
Dave Hylands
faf42254b1
Bug 784805 - Set the process name (comm) to the app name. r=cjones
2012-09-10 21:30:33 -07:00
Chris Jones
bfcb73a0c2
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
2fb1827749
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
d158b5747c
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
e855ad9af1
Bug 774988: Compress touchmove events across processes. r=bent
2012-08-22 03:54:20 -07:00
Ms2ger
1023162c9c
Back out bug 636063, bug 774988 and bug 784647 for busting all of Android.
2012-08-25 13:18:18 +02:00
Chris Jones
d82d1d5e65
Bug 774988: Compress touchmove events across processes. r=bent
2012-08-25 01:25:08 -07:00
Ben Turner
7370f46298
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
e368dc9c85
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
d8c503fb71
Bug 778036 - Only notify the parent of the first TabChild paint. r=cjones
2012-08-07 15:00:41 +12:00
Masayuki Nakano
77ea1504a6
Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
5c5f0a16d2
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Chris Jones
08363a8023
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
c728bb798f
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-08 21:39:02 -07:00
Chris Jones
de98620468
Back out bug 776649. r=bustage
2012-08-08 20:13:12 -07:00
Chris Jones
d870f5de82
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
6b3965aa7c
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-08 13:37:57 -07:00
William Chen
16c1d45b7e
Bug 775377 - Modify nsIContentPermissionRequest to use nsIPrincipal instead of nsIURI. r=dougt+cjones
2012-07-30 10:58:26 -04:00
Phil Ringnalda
0bef654a22
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
7f10d611e6
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-07 18:51:08 -07:00
Doug Sherk
6cf8da54f8
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-07 18:51:00 -07:00
Ben Turner
4893263a15
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
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Joshua Cranmer
d539846cab
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
c4e0278c6f
Bug 770532 - Make new nsIPrincipal and nsIDocShell attributes work in content process. r=jlebar
2012-07-21 17:16:11 -07:00
Chris Jones
fc6d547510
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
41e112842c
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
161b9050f9
Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc
2012-07-17 16:59:45 -07:00
Chris Jones
bf68954472
Bug 774139: Forward touch events across processes. r=felipe,smaug
2012-07-15 19:58:43 -07:00
Chris Jones
68e1db67d0
Back out bug 774139. r=bustage
2012-07-16 15:19:00 -07:00
Chris Jones
7ad3f2f14b
Bug 774139: Forward touch events across processes. r=felipe,smaug
2012-07-16 14:46:29 -07:00
Ben Turner
77ec1d2ca4
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Ms2ger
dc5ed62122
Backout changeset 592bfc94e628 for X orange.
2012-07-14 11:23:52 +02:00
Ben Turner
9550ca6ef8
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
Justin Lebar
b5919daf01
Bug 765075 - Load BrowserElementChild.js before returning the result of window.open from <iframe mozbrowser> to the opener. r=smaug
2012-06-21 21:17:52 -04:00
Ehsan Akhgari
4830dd98a3
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
Justin Lebar
8d7f4a897e
Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
...
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
David Zbarsky
671b93092c
Bug 762801 - Merge nsIEmbeddingSiteWindow2 into nsIEmbeddingSiteWindow r=jst
2012-06-09 15:15:12 -07:00
Ben Turner
3fdf917cd6
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
2012-06-01 10:21:12 -07:00
Olli Pettay
66c92d82af
Bug 758401 - Add a way to get message manager from docshell, r=jst
2012-05-28 12:27:25 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Olli Pettay
2533bcc32c
Bug 749128 - Make sure to have JSContext before creating TabChildGlobal, r=jst
2012-04-26 23:56:46 +03:00
Edmund Wong
e79d1c340c
Bug 693172 - Moved all subclasses of nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper and then merged the classes. r=smaug
2012-02-08 10:53:33 +08:00
Mounir Lamouri
8829baa8cc
Bug 707870 - Disconnect mListenerManager in nsDOMEventTargetHelper instead of expecting inheriting classes to do it. r=smaug
2011-12-08 16:31:14 +08:00
Chris Jones
dc33fffa65
Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones
2011-09-30 00:00:48 -07:00
Oleg Romashin
0b33ccaea4
Bug 694706 - Get rid of checkerboard for remote viewport. r=cjones
2011-10-20 15:17:09 -07:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Olli Pettay
26330fd753
Bug 689128, re-enable EventListenerService tests, add a null check, handle compartments, r=bz
...
--HG--
extra : rebase_source : a0254eecb59adabb94737f1ca12803b712698903
2011-10-10 13:38:14 +03:00
Ms2ger
f99f6d4cdf
Bug 688468 - Fix up nsIFrameMessageManager::sendAsyncMessage/nsISyncMessageSender::sendSyncMessage IDL signature; r=bz
2011-10-01 18:14:36 +02:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Felipe Gomes
cae957ce8a
Bug 667077 - Add atob/btoa to frame scripts. r=smaug
2011-06-25 05:52:00 -04:00
Oleg Romashin
9be7041486
Bug 648250 - image based navigational bar is useless in remote Fennec (window.outerWidth throws js errors). r=Olli.Pettay
2011-07-15 14:46:56 -07:00
Felipe Gomes
9628013f99
Bug 583976. Part 3 - Automatically forward mouse and key input events to out-of-process content, and add cursor support in PuppetWidget. r=smaug,stechz
2011-06-21 17:32:43 -07:00
Felipe Gomes
cd0044077e
Bug 583976. Part 1 - Add focus manager support for focus activation/deactivation in remote content. r=enn,smaug
2011-06-17 17:08:32 -07:00
Olli Pettay
9241c69505
Bug 654770, fix few AddEventListener calls now that it has 2 optional parameters, r=sicking
...
--HG--
extra : rebase_source : d0a27a6ba059d5862f10ab49f0a079e8928b30fb
2011-05-05 23:33:13 +03:00
Alon Zakai
508131615c
Bug 586321 - Crash in TabChildGlobal due to mListenerManager not Disconnected(); r=Olli.Pettay
2010-08-11 09:59:00 -04:00
Benjamin Smedberg
b7b7f07536
Bug 581335 - Hook up crash reporting for content process by attaching a property bag to the global observer-service notification for them. r=mfinkle
...
--HG--
extra : rebase_source : 880e536710b8c02995a36fa08c49d098fb05f50f
2010-11-24 08:58:21 -05:00
Chris Jones
339106b788
Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking
2010-11-08 20:49:00 -06:00
Chris Jones
af8a57e9c6
Bug 606279, part 4: Only allocate an image large enough to cover the <canvas>. r=joe a=blocking-fennec
2010-10-26 17:20:53 -05:00
Chris Jones
d9065bdd3b
Bug 606279, part 3: Port transformed rendering to PDocumentRenderer. r=joe
2010-10-26 17:20:53 -05:00
Chris Jones
6170cbcb5c
Bug 606279, part 2: Use more concise types in PDocumentRenderer. r=joe
2010-10-26 17:20:53 -05:00
Chris Jones
efeafe8ee8
Bug 606279, part 1: Excise shmem-backed canvas. r=joe sr=vlad
2010-10-26 17:20:53 -05:00
Honza Bambas
2a43330d52
Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+
...
--HG--
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/OfflineCacheUpdateChild.cpp
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/nsOfflineCacheUpdateService.cpp
2010-10-20 19:12:32 +02:00
Brad Lassey
c6f55794a4
Bug 591047 - (1/7) Backing out Android a1 IME code from bug 581535 and bug 582644; r=blassey a=blocking-fennec
2010-09-23 23:28:15 -04:00
Benedict Hsieh
799fb06cc7
Bug 582840: Remove nsIWebProgressListener(2) support from TabChild and TabParent. r=smaug a=blocker
2010-09-17 19:11:05 -07:00
Chris Jones
2d3753c877
Merge m-c --> cedar
2010-09-15 18:28:06 -05:00
Brian Crowder
370cf86776
Bug 567267 - move management of ExternalHelperApp protocols to PContent, r=dwitte, blocking-fennec2.0b1=mfinkle
2010-09-15 15:55:08 -07:00
Doug Turner
2a67ffacfe
Merge with mc. Manually merged TabChild.h and nsIFrameLoader.idl
2010-09-15 15:17:54 -07:00
Oleg Romashin
32a75bebed
Backout changeset 7eb93fe05d3a. bug 582840 due to oranges
2010-09-15 15:02:29 -07:00
Chris Jones
06ec6c6ee8
Merge m-c --> cedar
2010-09-15 16:44:30 -05:00
Benedict Hsieh
c75f353b6b
Bug 582840 - Remove nsIWebProgressListener(2) support from TabChild and TabParent. r=Olli.Pettay a=blocking2.0
...
--HG--
extra : rebase_source : 764765bb56a218ec4b9be106eda1227156bf5181
2010-09-15 11:04:48 -07:00
Chris Jones
2b12976c51
Merge m-c --> cedar
2010-09-14 14:28:39 -05:00
Oleg Romashin
8c88c718ff
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Doug Turner
30a0d1ff9d
Bug 594261 - IPC part - Factor out geolocation prompt into something that can be reused. r=chris jones, a=stuart
...
--HG--
rename : dom/src/geolocation/PGeolocationRequest.ipdl => dom/ipc/PContentPermissionRequest.ipdl
extra : rebase_source : 73f75b6f4c4deae71337dd2a9925d15aefcaacb8
2010-09-09 22:00:08 -07:00
Chris Jones
d817c2ab47
Merge m-c --> cedar
...
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05:00
Dan Witte
6f7cb72034
Back out Bug 589025.
2010-08-30 13:20:38 -07:00
Chris Jones
76dde2a6bc
Merge m-c --> cedar
...
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
Brian Crowder
46e35f73ad
Bug 589025 - e10s: ExternalHelperAppParent must support content-disposition property of nsIChannel. r=dwitte, a=beta5+
2010-08-25 18:10:30 -07:00
Chris Jones
dda8db8657
Merge remote-frame code into m-c tip
2010-08-23 22:10:50 -05:00
Chris Jones
f22350f2bc
Bug 570620, part o: Connect the dots to enable drawing remote frames for <browser remote>: create the frame on the content side, insert a display item for it in compositor-side SubdocFrame, and use IPC-enabled layer managers to make it all work. r=mats sr=roc
2010-08-20 18:24:41 -05:00
Chris Jones
0e3d3aaf97
Bug 570620, part n: Hook layout/ipc into the build system, and integrate PRenderFrame into the PBrowser family. sr=bsmedberg
2010-08-20 18:24:41 -05:00
Chris Jones
5a4765bcb0
Bug 582057, part l: Use PuppetWidgets in content processes. r=roc
2010-08-20 18:24:40 -05:00
Chris Jones
16726d696a
Bug 582057, part k: Gut platform widgets from content processes. sr=bsmedberg
2010-08-20 18:24:40 -05:00
Olli Pettay
03ec53594f
Bug 588808 - TabChildGlobal objects shouldn't be kept alive too long, r=dougt, a=Mossop
2010-08-23 11:44:43 +03:00
Brian Crowder
b1bd94e39a
Bug 589025 - Support content-disposition attribute in e10s external app handling, r=dwitte, blocking-fennec2.0b1=blassey
...
Bug 589025 - Support content-disposition attribute in e10s external app handling, r=dwitte, blocking-fennec2.0b1=blassey
2010-09-13 11:17:00 -07:00
Olli Pettay
eb1461f93b
Bug 586115 - Cache LoadFrameScript Calls - e10s, r=jst, fb=azakai, a=b-f
2010-08-18 13:02:49 +03:00
Brian Crowder
10a55e53b3
Bug 562444 - e10s: fix external app handler code to enable download manager and others over IPC, r=dwitte, sr=biesi, blocking-fennec2.0a1=mfinkle
2010-08-17 20:19:24 -07:00
Jim Chen
e2fa4d93cb
Bug 582644 - IME event remoting, patch for widget; r=dougt, blocking-fennec=2.0a1+
2010-08-17 01:07:42 -07:00