Commit Graph
166 Commits
Author SHA1 Message Date
Jim Chen 138e3ff8b2 Bug 1051556 - Re-flush IME changes when querying text triggers more changes; r=esawin
We send query text events when flushing IME changes, and sometimes these
events make Gecko commit more pending changes. In that case, we should
try flushing again, so we pick up the new changes.

This patch also makes the process of flushing text changes
transactional, so that if we have to bail due to more pending changes,
nothing will be committed.
2015-12-12 10:18:43 -05:00
Jim Chen 7974726c66 Bug 1051556 - Make GeckoEditable.onTextChange more efficient; r=esawin
This patch simplifies the onTextChange method, makes it more efficient
by avoiding unnecessary text copying, and fixes some small bugs.
2015-12-12 10:18:43 -05:00
Carsten "Tomcat" Book a38d90bb28 Merge mozilla-central to fx-team 2015-12-11 11:44:43 +01:00
Carsten "Tomcat" Book b9ca13984b merge mozilla-inbound to mozilla-central a=merge 2015-12-11 11:38:17 +01:00
Mark Capella 89ecb37e98 Bug 1226431 - Toggling find in page match case removes focus, r=margaret 2015-12-10 18:57:02 -05:00
Kartikaya Gupta 04a361987f Bug 1230522 - Don't send events to C++ APZ if gecko isn't up yet. r=rbarker 2015-12-10 17:23:18 -05:00
Kartikaya Gupta ef12ba95b0 Bug 1230522 - Make some unimplemented functions not be native. r=rbarker 2015-12-10 17:23:07 -05:00
Sebastian Kaspari 61cf57bf9a Bug 1230603 - GeckoPreferences: Always process matching PrefHandlers. r=margaret 2015-12-10 09:36:08 -05:00
Reuben Morais 8b3a96c15e Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp 2015-12-08 14:43:09 -05:00
Nick Alexander c682759005 Bug 1107811 - Part 1: Move Java code. r=mfinkle
#!/bin/bash
set -x
pushd mobile/android/base
# Can't be present in glob below.
rm -rf java/org/mozilla/gecko
for i in */ ; do
# But is necessary to copy into.
mkdir -p java/org/mozilla/gecko
hg mv $i java/org/mozilla/gecko ;
done
hg mv *.java java/org/mozilla/gecko
# Move back stuff we didn't want to move.
hg mv java/org/mozilla/gecko/crashreporter crashreporter
hg mv java/org/mozilla/gecko/docs docs
hg mv java/org/mozilla/gecko/locales locales
hg mv java/org/mozilla/gecko/resources resources
popd
2015-12-04 11:51:34 -08:00
alex_johnson 0715aff62f Bug 1228414 - Replaced all the possible Toast.makeTexts with Snackbars. r=sebastian 2015-11-28 23:50:56 -05:00
sgiles 55f45753be Bug 1230838 - Let hover events fall through to Gecko when accessibility is turned on - don't throw an exception in the NativePanZoomController when default prevented. r=kats 2015-12-10 13:20:53 -05:00
Phil Ringnalda b0e7a9d6bc Back out 4 changesets (bug 1051556) for java.lang.IllegalArgumentExceptions
CLOSED TREE

Backed out changeset c89683497d23 (bug 1051556)
Backed out changeset c3f4c2d01bad (bug 1051556)
Backed out changeset 4a83a8594ddc (bug 1051556)
Backed out changeset fe3d880efce8 (bug 1051556)
2015-12-09 18:20:51 -08:00
Jim Chen b2b34b0021 Bug 1051556 - Re-flush IME changes when querying text triggers more changes; r=esawin
We send query text events when flushing IME changes, and sometimes these
events make Gecko commit more pending changes. In that case, we should
try flushing again, so we pick up the new changes.

This patch also makes the process of flushing text changes
transactional, so that if we have to bail due to more pending changes,
nothing will be committed.
2015-12-09 17:46:45 -05:00
Jim Chen fa78629f65 Bug 1051556 - Make GeckoEditable.onTextChange more efficient; r=esawin
This patch simplifies the onTextChange method, makes it more efficient
by avoiding unnecessary text copying, and fixes some small bugs.
2015-12-09 17:46:45 -05:00
Jim Chen 1f403e6400 Bug 1235475 - Crash at the exception source when an exception is in native code; r=snorp
When we have a Java exception in native code, the Java stack in the
exception will not be very useful because the top frame is the native
entry point. In this case, the native stack is more useful. However,
currently we don't get a good native stack in this situation because we
go through Java when handling the exception, and the native stack we get
will have a lot of unknown frames inside libdvm or libart. This patch
makes us stay in native code when handling an uncaught exception from
native code, so that we get a good native stack.
2015-12-30 18:36:41 -05:00