Jim Chen
d5a351d0e4
Bug 1286663 - Remove THUMBNAIL event from GeckoEvent; r=snorp
...
Remove the now-obsolete THUMBNAIL event from GeckoEvent, as well as its
implementations in nsAppShell and AndroidBridge.
2016-07-21 00:41:13 -04:00
Jim Chen
b53f227487
Bug 1286925 - Remove screen orientation event from GeckoEvent; r=snorp
...
Remove the now-obsolete SCREENORIENTATION_CHANGED event from GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
da993a6fe6
Bug 1286662 - Remove network events from GeckoEvent; r=snorp
...
Remove the now-obsolete network events from GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
f66eb37a0d
Bug 1285572 - Remove LOAD_URI event; r=snorp
...
Remove the LOAD_URI event, which is now obsolete, from GeckoEvent.
2016-07-20 21:43:34 -04:00
Jim Chen
ac6891b4f6
Bug 1285570 - Implement VISITED event as native method; r=snorp
...
Convert the VISITED event in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-11 18:07:35 -04:00
Jim Chen
528399d686
Bug 1283882 - Implement LOCATION_EVENT as native call; r=snorp
...
Convert LOCATION_EVENT in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-08 11:39:10 -04:00
Jim Chen
3ee69c99e1
Bug 1283844 - Implement SENSOR_EVENT as native call; r=snorp
...
Remove SENSOR_EVENT from GeckoEvent and implement it as a native method
in GeckoAppShell that is invoked by the sensor event listener in
GeckoAppShell.
2016-07-08 11:39:09 -04:00
Nathan Froyd
b8b87ee970
Bug 1266401 - stop constructing temporary strings in Android's appshell; r=snorp
...
We don't have to construct temporary strings to get at the raw
characters of a string.
2016-04-21 12:52:42 -04:00
Jim Chen
ce22b65b4b
Bug 1260243 - Remove sendEventToGeckoSync and related code; r=me
...
We can remove GeckoAppShell.sendEventToGeckoSync and related code
because GeckoThread.waitOnGecko is replacing it.
2016-04-05 21:43:41 -04:00
Jim Chen
f9326bedaf
Bug 1260243 - Convert backgrounding/foregrounding GeckoEvent to native calls; r=snorp
...
Convert APP_BACKGROUNDING and APP_FOREGROUNDING events in GeckoEvent to
native calls onPause and onResume in GeckoThread, respectively.
2016-04-05 21:43:41 -04:00
Jim Chen
dde137fc0d
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-23 14:42:38 -04:00
Carsten "Tomcat" Book
26a9134e8a
Backed out changeset 48d6faa3bf0f (bug 1257319)
2016-03-23 10:55:06 +01:00
Jim Chen
8e1f418443
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-22 22:24:32 -04:00
Jim Chen
408f9ac1e8
Bug 1243070 - Remove obsolete size-change code; r=snorp
...
Remove obsolete SIZE_CHANGED event and its handler in nsWindow. Also
remove some other supporting code (such as gAndroidBounds and the
FORCED_RESIZE event) that should be unnecessary by now.
2016-02-01 17:38:14 -05:00
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