Jim Chen
99ef489a78
Bug 1197957 - Implement GeckoView.Window.open in nsWindow; r=snorp
...
nsWindow will implement native methods of GeckoView.Window. This patch
implements the open method, which opens a new window in the same manner
as the CLH, and associates the new nsWindow with the GeckoView.Window
instance.
2015-09-21 10:13:32 -04:00
Jim Chen
f57ad9e80a
Bug 1197976 - Provide compatibility with AndroidGeckoEvent; r=snorp
...
With the new nsAppShell event loop based on runnable events, we need to
implement AndroidGeckoEvent handling as a runnable event. This patch adds
nsAppShell::LegacyGeckoEvent and adopts its implementation from existing
code that handle AndroidGeckoEvent.
2015-09-21 10:13:32 -04:00
Jim Chen
d01f456063
Bug 1197976 - Use runnable events for nsAppShell event loop; r=snorp
...
nsAppShell is currently based on AndroidGeckoEvent objects, which mirror
GeckoEvent on the Java side. With GeckoEvent going away, we will be
gradually removing AndroidGeckoEvent as well. This patch makes the
nsAppShell event loop based on runnable objects, which derive from
nsAppShell::Event. Using runnable objects is much more flexible and allows
us, for example, to post a lambda to the event loop to be run later.
2015-09-21 10:13:32 -04:00
Jim Chen
797447c09d
Bug 1197974 - Don't exit Gecko on Android even if there's no window; r=snorp
...
Gecko on Android follows the Android app model where it never stops
until it is killed by the system or told explicitly to quit. Therefore,
we should exit Gecko when there is no window or the last window is closed.
2015-09-18 09:17:10 -04:00
Jim Chen
192182c441
Bug 1195496 - Implement speculative connection method in GeckoThread; r=snorp
...
One thing we do in the Fennec CLH is to make a speculative connection
based on the URI that's passed in. However, by the time the CLH runs,
we're far along into startup, and the advantage of a speculative
connection is reduced. This patch implements making speculative
connection as a method in GeckoThread, so that Fennec can make a
speculative connection without relying on the Fennec CLH.
2015-08-19 18:14:47 -04:00
Jim Chen
93533110bc
Bug 1195496 - Add PROFILE_READY Gecko state; r=snorp
...
Many Gecko operations depend on the profile being available. This
patch adds a PROFILE_READY Gecko state so that we can queue calls
until profile is loaded.
2015-08-19 18:14:47 -04:00
William Chen
6d6411c090
Bug 1131470 - Part 2: Update screen configuration HAL to report orientation angle. r=snorp,mwu
...
--HG--
extra : rebase_source : c6eb4dd4f54b1e9db7e7d2c39e535ba4bcd8af1f
2015-08-18 14:55:15 -07:00
William Chen
3c9928ced9
Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku
...
--HG--
extra : rebase_source : 72e978d48e8356da9e8c66adfa0a97983034aa5a
2015-08-18 14:55:09 -07:00
Nathan Froyd
160a6405bb
Bug 1194806 - part 2 - mark overrides as such in widget/android/; r=snorp
2015-08-14 22:06:20 -04:00
Jim Chen
24514e7c7a
Bug 1192082 - Followup to iniialize/deinitialize JNI in nsAppShell; r=me
2015-08-13 16:57:34 -04:00
Jim Chen
ee3de3a3c3
Bug 1192082 - Iniialize/deinitialize JNI in nsAppShell; r=snorp
...
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
2015-08-13 00:53:40 -04:00
Jim Chen
d1f529698f
Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin
2015-08-13 00:53:39 -04: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
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
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15: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
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
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
Jim Chen
d34c3d89e6
Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp
2015-04-24 14:40:55 -04:00
Jim Chen
5864b21201
Bug 1157908 - Give Gecko thread Looper low priority; r=snorp
2015-04-24 14:40:55 -04:00
Kyle Machulis
358e55b5b7
Bug 852944 - Gamepad API IPC; r=ted, r=baku
...
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Jim Chen
b2a2f73211
Bug 1156943 - Make proper HangMonitor calls in Android nsAppShell; r=snorp
...
--HG--
extra : rebase_source : 9940cd2807f32c057a3e6e67d6c90712e773a784
2015-04-22 11:30:13 -04:00
Vladimir Vukicevic
32d8dbc20e
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
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Ehsan Akhgari
883849ee32
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
Michael Comella
3ff0a45dd1
Bug 663803 - Part 4: Remove unused vars causing build failures. r=trivial
2015-01-27 19:13:24 -08:00
dominique vincent
67724cb7a7
Bug 663803 - Zoomed view implementation using render document r=mcomella,snorp
2015-01-21 05:59:23 +01:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
James Willcox
d96d05fe9a
Bug 1110271 - Don't crash in NotifyEvent() on Android if we have no nsAppShell r=jchen
...
--HG--
extra : rebase_source : fda4bf30ff7a06362b3dafe71deebd3d9333a8c8
extra : histedit_source : 33fbb2f9ebe9e826395e358566195da5a6c4e627
2014-12-15 16:04:33 -06:00
Eric Rahm
8d715a7fe4
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Wes Kocher
445e1466e9
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
80d2b8bba6
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
...
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Jim Chen
fb28ffc373
Bug 888482 - Make new event to set layer client in Gecko; r=snorp
2014-09-30 18:20:58 -04:00
Jim Chen
3dcbdea53a
Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey
2014-08-26 15:07:59 -04:00
Kartikaya Gupta
80b3b6bf72
Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp
2014-08-08 18:15:37 -04:00
Jim Chen
ec2578f675
Bug 1038796 - Notify hang activity when processing Android app shell events; r=snorp
2014-07-18 12:53:41 -04:00
James Willcox
475ffcfdc8
Bug 964511 - Delay Snippets.js initialization until after startup r=mfinkle
...
--HG--
extra : histedit_source : 4fba71c58717aad098c60bc767090741ef8f4883
2014-07-11 16:15:39 -05:00
Mark Finkle
1d834efa96
Bug 1028004 - UI Telemetry events with null methods are ignored r=rnewman
2014-06-20 13:39:33 -04:00
Daniel Holbert
240f4e7f0d
Bug 1024328: Remove unnecessary #includes of nsFrameManager.h. r=jwatt
2014-06-19 22:07:46 -04:00
Kartikaya Gupta
0c6293c666
Bug 1018980 - Kill some dead code in Fennec from the pre-OMTC days. r=snorp
2014-06-02 11:13:09 -04:00
Victor Porof
9ce7e9c089
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Ted Mielczarek
9ca7ade729
Bug 1014162 - Make Gamepad.mapping into an enum. r=smaug
2014-05-23 07:39:13 -04:00
Wes Johnston
217586bb12
Bug 996129 - Don't thumbnail sites with cache control headers set. r=kats
2014-05-05 22:33:29 -07:00
Ted Mielczarek
1dc00c5f8c
bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug
2014-04-22 10:53:48 -04:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
snigdha
9cc482da68
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
John Shih
1165b217c9
Bug 960426 - Part 3: Related Change in Fennec. r=blassey
2014-03-05 17:42:42 +08:00