Commit Graph

1078 Commits

Author SHA1 Message Date
Bobby Holley
20ac01a955 Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug 2013-06-30 09:00:20 -06:00
Bobby Holley
de1af8dc4a Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-30 09:00:20 -06:00
Bobby Holley
dc8934fcb1 Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug 2013-06-30 09:00:19 -06:00
Bobby Holley
34cf199689 Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
Their lifetimes should be the same, and the latter is going away.
2013-06-30 09:00:19 -06:00
Bobby Holley
1a3ffd63e4 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-30 09:00:19 -06:00
Bobby Holley
b5b416d9b2 Bug 865745 - Use a SafeJSContext in TabChildParent. r=smaug
This is just used for rooting, but happens to be a consumer of
nsFrameMessageManager::GetJSContext, which we're about to remove.
2013-06-30 09:00:19 -06:00
Bobby Holley
b4f2e0c87d Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-30 09:00:18 -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
edaa6df873 Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug 2013-06-29 18:44:06 -06:00
Bobby Holley
c628779566 Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-29 18:44:06 -06:00
Bobby Holley
f3b8b79a74 Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug 2013-06-29 18:44:05 -06:00
Bobby Holley
195d6b98ba Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
Their lifetimes should be the same, and the latter is going away.
2013-06-29 18:44:05 -06:00
Bobby Holley
e6907d8bb4 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-29 18:44:05 -06:00
Bobby Holley
48e6819e77 Bug 865745 - Use a SafeJSContext in TabChildParent. r=smaug
This is just used for rooting, but happens to be a consumer of
nsFrameMessageManager::GetJSContext, which we're about to remove.
2013-06-29 18:44:05 -06:00
Bobby Holley
2876061d0d Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-29 18:44:04 -06:00
Phil Ringnalda
ba304065ca Merge m-c to birch 2013-06-29 06:55:30 -07:00
Reuben Morais
18eca0471a Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug 2013-06-29 03:52:16 -07:00
Justin Lebar
3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Kartikaya Gupta
e00fd765eb Bug 885030 - Move CalculateCompositedRectInCssPixels from APZC to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:54:49 -04:00
Kartikaya Gupta
3445b06407 Bug 885030 - Move CalculateResolution from APZC to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:54:14 -04:00
Kartikaya Gupta
75b7aa0a24 Bug 885030 - Move CalculateIntrinsicScale to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:53:51 -04:00
Matt Woodrow
58a83c3cf9 Bug 871150 - Call IdentifyTextureHost on ImageBridgeChild so that we create appropriate textures for the compositor. r=nical 2013-06-24 17:28:22 +12:00
Kartikaya Gupta
1de2b15435 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta
716ff653f1 Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe 2013-06-21 17:03:55 -04:00
David Zbarsky
20529abdec Fix incorrect comment, no bug 2013-06-20 15:54:01 -07: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
Kartikaya Gupta
59806913c0 Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Brian Smith
7e37b3be70 Bug 832848: Removed unused site identity block tooltip logic from PSM, r=dolske
--HG--
extra : rebase_source : 1793e526272622d811e45d0f4b2f0460471f4501
2013-02-02 17:21:45 -08:00
Nathan Froyd
81228503c6 Bug 883392 - clean up TabChild.h's #includes; r=smaug 2013-06-14 17:47:56 -04:00
Kartikaya Gupta
2a3c35c773 Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe 2013-06-14 16:11:44 -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
Anthony Jones
33b41fc292 Bug 880932 - Fixed lack of response to APZC paint requests; r=BenWa
All paint requests get tagged with the current nsPresShellId. TabChild will
always trigger a response so APZC doesn't get left hanging.
2013-06-14 12:33:16 +12: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
Gary Kwong
544e8798b3 Bug 879092 - Have different runtime abort messages for the different error types. r=jlebar 2013-06-03 21:15:40 -07:00
Kartikaya Gupta
46a7789a65 Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Kartikaya Gupta
1e3b912be9 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -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
Jon Coppeard
9c540a5368 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Ed Morley
8a9ae6677a Backed out changeset 7acdb79e4d71 (bug 876639) 2013-05-29 12:09:10 +01:00
Jon Coppeard
1daad09663 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Andrew McCreight
60ea412b96 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -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
Gene Lian
78660976bf Bug 866366 - [Buri][Alarm]it will not start alarm until light up the LCD (follow-up patch, part 2). r=jlebar,fabrice a=tef+ 2013-05-17 20:18:35 +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