Jim Chen
6032b19e9b
Bug 1227706 - Remove unused GLController calls and events; r=snorp
...
Remove GLController calls and events in GeckoAppShell and GeckoEvent
that were made obsolete by the new native calls.
2015-12-23 22:03:34 -05:00
Jim Chen
45fe3d456a
Bug 1227719 - Autogenerate LayerRenderer.Frame; r=snorp
...
This patch adds auto-generated bindings for LayerRenderer.Frame, and
uses the new bindings in nsWindow, in place of the old manual bindings
in AndroidJavaWrappers.
2015-12-23 22:03:33 -05:00
Jim Chen
e1d47d6688
Bug 1211704 - Remove obsolete GeckoEvent definitions; r=esawin
...
Remove obsolete GeckoEvent definitions from GeckoEvent.java and
AndroidJavaWrappers.cpp/h.
2015-10-22 17:45:47 -04:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Jim Chen
97ce5bbfa5
Bug 1200426 - Convert PROCESS_OBJECT GeckoEvent to native call; r=snorp
...
The PROCESS_OBJECT GeckoEvent is used to set the layer client object in
Gecko once Gecko is done loading. This patch converts it to a native
call in GeckoView.Window.
2015-10-08 15:25:49 -04:00
Carsten "Tomcat" Book
a71f85c019
Backed out changeset 2e8206d7352e (bug 1200426) for Android Perma Failures
2015-10-08 10:07:11 +02:00
Jim Chen
5caa676144
Bug 1200426 - Convert PROCESS_OBJECT GeckoEvent to native call; r=snorp
...
The PROCESS_OBJECT GeckoEvent is used to set the layer client object in
Gecko once Gecko is done loading. This patch converts it to a native
call in GeckoView.Window.
2015-10-08 01:12:57 -04:00
Wes Kocher
453c13945d
Backed out 2 changesets (bug 1200426) for android tpn bustage
...
Backed out changeset 4dcc2fb45208 (bug 1200426)
Backed out changeset 2dea192c7f33 (bug 1200426)
2015-10-07 09:05:01 -07:00
Jim Chen
998f880062
Bug 1200426 - Convert PROCESS_OBJECT GeckoEvent to native call; r=snorp
...
The PROCESS_OBJECT GeckoEvent is used to set the layer client object in
Gecko once Gecko is done loading. This patch converts it to a native
call in GeckoView.Window.
2015-10-07 08:57:30 -04:00
Jim Chen
24ad1deeb1
Bug 1200343 - Remove pref events from GeckoEvent; r=snorp
...
Now that we use native calls, we can remove the pref-related events from
GeckoEvent.
2015-09-28 12:07:09 -04:00
Wes Kocher
090df7a4a5
Backed out 4 changesets (bug 1200343) for android talos failures
...
Backed out changeset 67dc42cbf02b (bug 1200343)
Backed out changeset b077acafcebb (bug 1200343)
Backed out changeset e115ca114601 (bug 1200343)
Backed out changeset 905e1fb54fd4 (bug 1200343)
2015-09-25 13:21:58 -07:00
Jim Chen
a349492ee7
Bug 1200343 - Remove pref events from GeckoEvent; r=snorp
...
Now that we use native calls, we can remove the pref-related events from
GeckoEvent.
2015-09-25 15:03:35 -04:00
William Chen
8b4785e7f6
Bug 1131470 - Part 2: Update screen configuration HAL to report orientation angle. r=snorp,mwu
2015-08-18 14:55:15 -07:00
Nathan Froyd
3d8f91e432
Bug 1194806 - part 2 - mark overrides as such in widget/android/; r=snorp
2015-08-14 22:06:20 -04:00
Wes Kocher
61a31b68d1
Merge inbound to m-c a=merge CLOSED TREE
2015-04-22 17:15:53 -07:00
Jim Chen
772748cbd8
Bug 1156943 - Make proper HangMonitor calls in Android nsAppShell; r=snorp
2015-04-22 11:30:13 -04:00
Danilo Cesar Lemes de Paula
aff0cd1ce8
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
Andrea Marchesini
b8630baa2d
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Vladimir Vukicevic
d623ee04d0
Bug 1144674; Implement HAL support for ROTATION_VECTOR and GAME_ROTATION_VECTOR sensors; r=snorp
2015-04-01 16:02:20 -04:00
Ehsan Akhgari
ea41d8de48
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
Gian-Carlo Pascutto
0bd50e6cee
Bug 755070 - Move WrappedJavaObject comment to the class it refers to. rs=snorp DONTBUILD NPOTB
2015-02-23 16:20:35 +01:00
Masayuki Nakano
7df093fe7d
Bug 936313 part.1 Remove DOM_KEY_LOCATION_MOBILE and DOM_KEY_LOCATION_JOYSTICK r=smaug+mwu+cpeterson, sr=smaug
2015-01-28 22:36:53 +09:00
dominique vincent
40e211f525
Bug 663803 - Zoomed view implementation using render document r=mcomella,snorp
2015-01-21 05:59:23 +01:00
Makoto Kato
373328e0bc
Bug 1117681 - Fix 'AKEYCODE_CTRL_*' is ambiguous when using --android-version=13 or higher. r=snorp
2015-01-09 13:23:12 +09:00
Kartikaya Gupta
0b12b07fa8
Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond
2014-10-24 13:29:30 -04:00
Jim Chen
bbd6763453
Bug 888482 - Make new event to set layer client in Gecko; r=snorp
2014-09-30 18:20:58 -04:00
Eitan Isaacson
67bd71f1b3
Bug 969512 - Don't use NS_MOUSEENTER/LEAVE in widget level code. r=kats r=yzen
...
Make accessibility explore by touch hover events touch events.
2014-09-23 12:09:22 -07:00
Jim Chen
c71471a6e6
Bug 1058136 - Handle compose event to optimize composition usage; r=cpeterson
2014-09-04 14:38:18 -04:00
Mark Capella
dfb228ca0c
Bug 1021804 - Long press on news story links invoke context menu, r=kats, wesj
2014-08-29 17:32:40 -04:00
Kartikaya Gupta
33d3a7d2ff
Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp
2014-08-08 18:15:37 -04:00
Brad Lassey
3d7bc1f8f1
bug 1019836 - Support narrow char strings in android bridge r=snorp
2014-06-04 15:04:12 -04:00
Kartikaya Gupta
c756478ac7
Bug 1018980 - Kill some dead code in Fennec from the pre-OMTC days. r=snorp
2014-06-02 11:13:09 -04:00
Masayuki Nakano
d0d0af96fc
Bug 865649 part.5 Set KeyboardEvent.code value on Android and Gonk r=smaug+nchen+mwu
2014-05-25 11:09:00 +09:00
Ted Mielczarek
8115881654
bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug
2014-04-22 10:53:48 -04:00
John Shih
fb0dc96743
Bug 960426 - Part 3: Related Change in Fennec. r=blassey
2014-03-05 17:42:42 +08:00
Birunthan Mohanathas
49ae16d483
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
2014-01-06 10:06:04 -05:00
Masayuki Nakano
e4d3600190
Bug 951021 Android widget should set modifier state at dispatching events derived from WidgetInputEvent r=nchen
2013-12-18 11:25:10 +09:00
Ryan VanderMeulen
f8a5a97d08
Merge m-c to inbound.
2013-12-10 15:48:16 -05:00
Richard Newman
4a4b6c27b6
Bug 932092 - Part 2: support natively sending UI telemetry events from Java. r=mfinkle
2013-12-10 10:41:34 -08:00
Masayuki Nakano
6e55a8312c
Bug 912858 part.5 Implement KeyboardEvent.key for printable keys on Android r=jchen+smaug
2013-12-11 01:14:54 +09:00
Chris Kitching
69fdb42135
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
4501219603
Backed out 7 changesets (bug 913985) for intermittent Android crashes.
...
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
2013-11-19 10:56:09 -05:00
Chris Kitching
e115439e46
Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Kartikaya Gupta
ec373d855a
Bug 924791 - Ensure hover event refpoints are converted from CSSPixels to LayoutDevicePixels. r=wesj
2013-10-15 17:11:39 -04:00
Ryan VanderMeulen
65092b3af5
Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
...
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
2013-09-27 17:02:09 -04:00
Chris Kitching
0103dd9542
Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats; DONTBUILD
2013-09-27 10:10:47 -04:00
Chris Kitching
7f31c5a3c8
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
83239003af
Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
2013-09-27 10:25:23 -04:00
Chris Kitching
c4f0fdb91b
Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats
2013-09-27 10:10:47 -04:00
Chris Kitching
96965f19d5
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00