Commit Graph

1192 Commits

Author SHA1 Message Date
Emanuel Hoogeveen
e1b03075a7 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Robert O'Callahan
972aedb76b 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.
2015-06-12 03:20:04 +12:00
James Willcox
d2ad1f90a9 Bug 1178365 - Fix DOM fullscreen support on Android r=blassey,xidorn 2015-07-06 10:21:17 -05:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
e6131fc8b8 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
2128198065 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Tom Tromey
42f21664cb Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell 2015-06-16 22:28:00 -04:00
Jim Chen
d87c122bba Bug 1112212 - Implement dummy-key-events mode for Android; r=esawin 2015-06-16 19:02:39 -04:00
Mike Hommey
e3f13a0ddb Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Shu-yu Guo
9bb39f0511 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
661f068145 Bug 1168219 - Make nsIWidget::Configuration::mChild a smart pointer. r=vlad 2015-05-25 14:45:00 -04:00
Eric Rahm
32b4ff6b18 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Terrence Cole
0aefa6e182 Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Eric Rahm
7a74fe3cbb 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
c3e1645f26 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Jim Chen
ff67df1f51 Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-27 20:52:52 -04:00
Jim Chen
f3a673f1a8 Bug 1157908 - Give Gecko thread Looper low priority; r=snorp 2015-04-27 20:52:52 -04:00
Carsten "Tomcat" Book
6723c48492 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Kartikaya Gupta
d8103dcff4 Bug 1077559 - Rename APZCCallbackHandler to AndroidContentController. r=botond 2015-04-24 22:26:51 -04:00
Kartikaya Gupta
c80e5ada21 Bug 1077559 - Do some cleanup on APZCCallbackHandler. r=botond 2015-04-24 22:26:51 -04:00
Kartikaya Gupta
efdd4f367a 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
918a8d6141 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
8f45f38815 Merge mozilla-central to fx-team 2015-04-24 15:01:23 +02:00
Makoto Kato
c8d42ba7de Bug 1149861 - Implement getMaxTouchPoints for Android. r=snorp 2015-04-24 18:43:31 +09:00
Wes Kocher
8959687abb Merge inbound to m-c a=merge CLOSED TREE 2015-04-22 17:15:53 -07:00
Jim Chen
c3c75478fa Bug 1156943 - Make proper HangMonitor calls in Android nsAppShell; r=snorp 2015-04-22 11:30:13 -04:00
Kyle Machulis
b9e62b0591 Bug 852944 - Gamepad API IPC; r=ted, r=baku 2015-04-23 15:05:29 -07:00
Nicolas Silva
d93b5d5970 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Danilo Cesar Lemes de Paula
d12ff38190 Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Kartikaya Gupta
b7b56d75e6 Bug 1155186 - Keep all state in the top-level android widget but use the child widget to dispatch events. r=snorp,jchen 2015-04-17 12:29:51 -04:00
Jim Chen
239f4a1e54 Bug 1152308 - Remove obsolete methods for exiting; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen
78ad008f51 Bug 1154952 - Delete AndroidBridge on Gecko shutdown; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen
787d24fab2 Bug 1153948 - Fix bug in sending text change notifications; r=esawin 2015-04-17 12:22:47 -04:00
Jim Chen
0b6415ec9d Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-24 14:40:55 -04:00
Jim Chen
a46ab26a5f Bug 1157908 - Give Gecko thread Looper low priority; r=snorp 2015-04-24 14:40:55 -04:00
Randall Barker
47296673b3 Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert 2015-04-10 22:14:00 -04:00
Mark Capella
bf0313666e Bug 1153076 - Add NS_MOUSE_MOZLONGTAP support in Fennec, r=kats, tylin 2015-04-13 22:33:02 -04:00
Ryan VanderMeulen
6854fdee31 Backed out changeset 9271d92ee0e2 (bug 1148149) for robocop crashes. 2015-04-10 14:52:50 -04:00
Randall Barker
33d6c3de93 Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert 2015-04-08 16:00:00 -04:00
Jim Chen
dd3c59d496 Bug 1151875 - Never mask text updates in nsWindow; r=esawin 2015-04-08 12:25:20 -04:00
Jim Chen
b5986215ac Bug 1148590 - Ignore IME notifications outside of the focused editor; r=esawin 2015-04-08 12:25:20 -04:00
Vladimir Vukicevic
5e868cf94d Bug 1144674; Implement HAL support for ROTATION_VECTOR and GAME_ROTATION_VECTOR sensors; r=snorp 2015-04-01 16:02:20 -04:00
Mike Hommey
ee117642af Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Jim Chen
6492859017 Bug 1149189 - Add dummy text change when setting composition to the same text; r=esawin 2015-03-31 18:20:27 -04:00
Jim Chen
25cc2a191d Bug 1149172 - Query IMEStateManager for composition state; r=esawin 2015-03-31 18:20:27 -04:00
Jim Chen
866ff6c9aa Bug 1149172 - Send well-formed IME events; r=esawin 2015-03-31 18:20:27 -04:00
Andrea Marchesini
e95d49e405 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Danilo Cesar Lemes de Paula
52d7018838 Bug 1146020 - Make APZCCallbackHandler extend from ChromeProcessController. r=kats
This is one of the first steps to implement use APZC on Fennec.
2015-03-27 15:18:19 -04:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00