Sebastian Kaspari
d7f1de6d04
Bug 1187260 - Simplify RestrictedProfiles class. r=ally
...
This patch transforms RestrictedProfiles to delegate isAllowed() and
canLoadUrl() calls to an object implementing the RestrictionConfiguration
interface.
DefaultConfiguration, GuestProfileConfiguration and
RestrictedProfileConfiguration are implementing RestrictionConfiguration
and will take care of handling the restrictions for the different types
of profiles.
--HG--
extra : commitid : LQ2YsdyG6oR
extra : rebase_source : 015f7f02c6e7fded16d3811a71f0ae23547e5f71
2015-07-24 19:47:31 +02:00
Matt Woodrow
d2d5e5b9a3
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Wes Kocher
ec1078c65a
Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
...
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
501c8bec02
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Jim Chen
0ba08b84f8
Bug 1186517 - Generate JNI bindings for Bundle; r=snorp
...
Add Bundle to the list of SDK classes to generate JNI bindings for. The
generated bindings, like other SDK classes, use XPCOM-style nsresult
to indicate success/failure, and return values through out-parameters.
2015-07-29 15:11:15 -04:00
Jim Chen
64eb7d8aff
Bug 1186517 - Adjust white spacing in generated files; r=me
2015-07-29 15:11:15 -04:00
Jim Chen
2003ec14dd
Bug 1186530 - Fix compile error when using native methods with ref parameters; r=snorp
...
We use Ref::From() inside TypeAdapter<Ref>::ToNative to convert a raw JNI
ref argument to a Ref argument for the C++ function. However, that
generates a compile error, unless we make TypeAdapter<Ref> a friend of
Ref, because we intentionally made Ref's copy constructor private and
returning from TypeAdapter<Ref>::ToNative requires the copy constructor.
2015-07-29 15:11:15 -04:00
Jim Chen
7ec24cf6cd
Bug 1186530 - Add support for instance native pointers; r=snorp
...
Introduce a JNIObject class that serves as a base class for classes
that wish to use per-instance native methods. JNIObject includes a long
native pointer field that the C++ code accesses to associate the Java
object instance with a C++ object instance.
2015-07-29 15:11:15 -04:00
Jim Chen
d8c5fab450
Bug 1182641 - Implement new native methods for ANRReporter; r=snorp
2015-07-29 15:11:15 -04:00
Jim Chen
29b2279606
Bug 1182641 - Update autogenerated code; r=me
2015-07-29 15:11:15 -04:00
Byron Campen [:bwc]
abecbdc851
Bug 1188590: Don't sync dispatch if we're already on main. r=snorp, a=abillings
...
--HG--
extra : rebase_source : fdc736fac46ff2f1939d55b00407350f88345932
2015-07-28 16:56:34 -05:00
Qiang Lu
b3eee8c12c
Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel
...
--HG--
extra : amend_source : f7d209e2dd0bdb9a67c563b5bd2d51da4af56ba8
extra : histedit_source : d8226f7240c5d19d9d2f08f9fc07a83e158505a2%2Cde0d48144261c643fcb23c0f7756906aeded1708
2015-07-24 12:45:55 -07:00
Ryan VanderMeulen
a33e05c88c
Merge inbound to m-c. a=merge
2015-07-17 10:26:22 -04:00
David Anderson
65475c97d0
Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
...
--HG--
extra : rebase_source : 43cdb0e1b5d464f8d6a0cc7a0b2e36d1b34e8595
2015-07-16 15:18:05 -07:00
Dylan Roeh
da72780b45
Bug 1172567 - Use GetLongField rather than GetIntField for jEGLSurfacePointerField when the API version is >= 20. r=snorp
2015-07-10 10:11:20 -05:00
Jim Chen
56938c8fc9
Bug 1178850 - Update generated files; r=me
2015-07-10 23:41:36 -04:00
Jim Chen
788c0ad4c8
Bug 1178850 - Add supporting classes for native JNI calls; r=snorp
2015-07-10 23:41:36 -04:00
Jim Chen
42c05f4a28
Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp
2015-07-10 23:41:35 -04:00
Masayuki Nakano
b5c03e059a
Bug 1176954 part.5 IMENotification::TextChangeDataBase should have a state which indicates that it's not initialized r=smaug
2015-07-11 10:53:55 +09:00
Masayuki Nakano
c1fdc81cac
Bug 1176954 part.4 Define IMENotification::TextChangeDataBase and whose member names should be same as IMEContentObserver::TextChangeData's r=smaug
2015-07-11 10:53:55 +09:00
Wes Kocher
027fd9354a
Backed out 5 changesets (bug 1178850) for android build bustage CLOSED TREE
...
Backed out changeset 79085d3894e8 (bug 1178850)
Backed out changeset c02b603104ea (bug 1178850)
Backed out changeset d6dab7810669 (bug 1178850)
Backed out changeset 8ee5809f349b (bug 1178850)
Backed out changeset 821b22ce79e1 (bug 1178850)
2015-07-10 14:17:53 -07:00
Jim Chen
30ba8ce2c0
Bug 1178850 - Update generated files; r=me
2015-07-10 16:52:52 -04:00
Jim Chen
096176c3f0
Bug 1178850 - Add supporting classes for native JNI calls; r=snorp
2015-07-10 16:52:52 -04:00
Jim Chen
92f97132f9
Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp
2015-07-10 16:52:51 -04:00
Makoto Kato
e7d7a10538
Bug 1179695 - Remove mWasAsync from WidgetQueryContentEvent. r=masayuki,nchen
2015-07-09 15:09:56 +09:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Robert O'Callahan
84a1b0dd5a
Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
...
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.
This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.
The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.
--HG--
extra : commitid : 3t3xqRdZs24
extra : rebase_source : b23749613663ca805484776ccf5e36b4ff00e3fe
2015-06-12 03:20:04 +12:00
James Willcox
3d20b06cfe
Bug 1178365 - Fix DOM fullscreen support on Android r=blassey,xidorn
2015-07-06 10:21:17 -05:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Tom Tromey
c924c51529
Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell
2015-06-16 22:28:00 -04:00
Jim Chen
7d5c85e670
Bug 1112212 - Implement dummy-key-events mode for Android; r=esawin
2015-06-16 19:02:39 -04:00
Mike Hommey
806e0220a2
Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps
2015-05-28 07:34:16 +09:00
Shu-yu Guo
eca2c2d5bb
Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange)
2015-05-26 22:58:40 -07:00
Michael Layzell
3f98e94e29
Bug 1168219 - Make nsIWidget::Configuration::mChild a smart pointer. r=vlad
2015-05-25 14:45:00 -04:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Terrence Cole
161a4c26ba
Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink
2015-05-13 14:07:34 -07:00
Eric Rahm
15f7146909
Bug 1162293 - Part 1: Remove instances of #ifdef PR_LOGGING. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 09:43:38 -07:00
Anthony Tseng
6fe5a1137f
Bug 1158425 - Rename _SYNTH event names. r=smaug
...
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Jim Chen
e4389169ce
Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp
2015-04-27 20:52:52 -04:00
Jim Chen
23ba47d9f1
Bug 1157908 - Give Gecko thread Looper low priority; r=snorp
2015-04-27 20:52:52 -04:00
Carsten "Tomcat" Book
596e5f9960
merge fx-team to mozilla-central a=merge
2015-04-27 12:34:03 +02:00
Kartikaya Gupta
3a9fe61cf2
Bug 1077559 - Rename APZCCallbackHandler to AndroidContentController. r=botond
...
--HG--
rename : widget/android/APZCCallbackHandler.cpp => widget/android/AndroidContentController.cpp
rename : widget/android/APZCCallbackHandler.h => widget/android/AndroidContentController.h
2015-04-24 22:26:51 -04:00
Kartikaya Gupta
31d9c52179
Bug 1077559 - Do some cleanup on APZCCallbackHandler. r=botond
2015-04-24 22:26:51 -04:00
Kartikaya Gupta
9d19536ed8
Bug 1156952 - Switch Fennec over to the "attached" widget model, so we get one nsWindow instead of two. r=snorp
2015-04-24 22:26:34 -04:00
Ryan VanderMeulen
b350674885
Backed out changesets a486dcc9c233 and 7164a2488b28 (bug 1157908) for various Android test failures.
...
CLOSED TREE
2015-04-24 16:01:17 -04:00
Carsten "Tomcat" Book
d9746cf0aa
Merge mozilla-central to fx-team
2015-04-24 15:01:23 +02:00
Makoto Kato
beff3d3dfe
Bug 1149861 - Implement getMaxTouchPoints for Android. r=snorp
2015-04-24 18:43:31 +09:00