Граф коммитов

206 Коммитов

Автор SHA1 Сообщение Дата
Allison Naaktgeboren b3d2674630 Bug 12084105 - Remove 'Firefox Marketplace' from the list of default Top Sites thumbnails.r=mcomella 2015-10-13 20:05:12 -04:00
Allison Naaktgeboren c46d4a4081 Bug 12084095 Remove 'Firefox Marketplace' from the list of default bookmarks.r=mcomella 2015-10-09 14:19:31 -07:00
Fabrice Desré c9541bd177 Bug 1206792 - Crash when launching the camera from the gallery app r=snorp 2015-09-22 08:05:24 -07:00
Jim Chen b4389f1282 Bug 1199444 - Add test for BundleEventListener; r=mcomella
Bug 991167 added BundleEventListener that allow dispatching an event
directly to the UI thread or to the background thread. This patch adds
tests to testEventDispatcher, to test that the events are dispatched on
the correct threads and that the Bundle messages are correct. Because
these events are asynchronous, the test waits for each event to be
processed before continuing.
2015-09-18 09:17:10 -04:00
Michael Comella 46b51bb33c Bug 1199041 - Clarify comment in DrawableUtil. r=liuche
--HG--
extra : commitid : Gg90aYQD1VS
extra : rebase_source : 2feaed1283dbee169a9ea31bca2bf6b5acec7219
2015-09-01 16:26:19 -07:00
Mark Finkle 3f6cf75fef Bug 1078432 - Use Android print service to enable cloud printing r=sebastian 2015-08-31 17:54:23 -04:00
Jim Chen 730ae55c51 Bug 991167 - Add BundleEventListener class; r=mcomella 2015-08-19 18:14:48 -04:00
Allison Naaktgeboren 01a7a08973 Bug 1189790 - Include bookmarks for Kinderfox.r=sebastian 2015-08-16 17:29:15 -07:00
Wes Kocher 2ac325deda Backed out changeset 965133e168d9 (bug 1189790) for android build failures CLOSED TREE 2015-08-14 15:30:24 -07:00
Allison Naaktgeboren 0d4b818f47 Bug 1189790 - Include bookmarks for Kinderfox.r=sebastian 2015-08-14 13:57:29 -07:00
Michael Comella 2a0e0e8d25 Bug 1193950 - Tint menu bar icons on pre-L devices. r=mhaigh
I wasn't using the wrapped drawable when setting the icon, which
curiously works on L+ devices, but not pre-L.

--HG--
extra : commitid : 9CZQGehAOIh
extra : rebase_source : 1f73a543049fa48a1e76e17b9042edb3354164d4
2015-08-12 15:54:30 -07:00
Sebastian Kaspari ab42648987 Bug 1169435 - Replace deprecated Resources.getColor() with call to ColorUtils.getColor(). r=mcomella
--HG--
extra : commitid : 1QLzM3Rs5lx
2015-08-11 11:09:37 +02:00
Mark Capella b865699f7f Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen
--HG--
rename : mobile/android/base/mozglue/JNITarget.java => mobile/android/base/annotation/JNITarget.java
rename : mobile/android/base/mozglue/RobocopTarget.java => mobile/android/base/annotation/RobocopTarget.java
rename : mobile/android/base/mozglue/WebRTCJNITarget.java => mobile/android/base/annotation/WebRTCJNITarget.java
2015-08-10 19:19:51 -04:00
Michael Comella cab05a83c4 Bug 1179479 - Tint menuItemActionBar buttons via tint list. r=mhaigh
Note that this undoes a small change I made previously in this series to set
the color of the action bar icons via setColorFilter.

--HG--
extra : commitid : GY9G4bvX8lv
extra : rebase_source : 6b2f1407e6ffd1f4e9767f0047e9ff7220f26cf3
2015-08-05 15:13:38 -07:00
Mark Capella f3a5fca399 Bug 1191161 - p3 - Rename / Shorten WrapElementForJNI to WrapForJNI, r=jchen
--HG--
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/annotation/WrapForJNI.java
2015-08-07 02:09:08 -04:00
Mark Capella a715087aff Bug 1191161 - p1 - Merge WrapEntireClassForJNI into WrapElementForJNI, r=jchen 2015-08-06 01:55:29 -04:00
Jim Chen 7706596d62 Bug 1186467 - Make NativeJSContainer and NativeJSObject extend JNIObject; r=snorp
JNIObject is the base class for any class that wish to use per-instance
native methods. It encapsulates the long native pointer that used to be
in NativeJSContainer.
2015-08-04 17:47:28 -04:00
Michael Comella 9311929b7b Bug 1189944 - Annotate DrawableUtil method. r=sebastian
This *just works* with Gradle. :)

--HG--
extra : commitid : JQa6hrJM1QV
extra : rebase_source : ac0d143fc16a3b225a54412169d3c886832bc5ae
2015-07-31 14:34:44 -07:00
Michael Comella a434eb2d77 Bug 1189585 - Add DrawableUtil class. r=sebastian
This includes a method to tint drawables.

--HG--
extra : commitid : DbqlZdnw4ZH
extra : rebase_source : 75133c6aa6add290ce62432daaca0a33a145f0a2
2015-07-30 19:16:41 -07:00
Qiang Lu b3eee8c12c Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel
--HG--
extra : amend_source : f7d209e2dd0bdb9a67c563b5bd2d51da4af56ba8
extra : histedit_source : d8226f7240c5d19d9d2f08f9fc07a83e158505a2%2Cde0d48144261c643fcb23c0f7756906aeded1708
2015-07-24 12:45:55 -07:00
Karim Benhmida e19b5fd278 Bug 1182220 - QR Code reader should only support ZXing barcode scanner. r=liuche
--HG--
extra : source : b8620e871139266feb7b0a10134d79947f7733a7
2015-07-21 14:07:22 -07:00
James Hugman e8d20bd42c Bug 1132922 – Disable voice search for pre ICS devices. r=liuche
--HG--
extra : transplant_source : %E8-%1A%03c%0C%7D%A349-f%7B%7D%F1%E5%12%FFs%9E
2015-06-30 11:03:33 -07:00
Michael Comella ef08b9d390 Bug 1172831 - Add fake references to used resources to trick Android Lint. r=liuche
For example, these values may be used in JS only.

--HG--
extra : commitid : 3gD1zA9TIOz
extra : rebase_source : d078121ec0aedd3a3b994539c3528a323ff24da3
2015-06-23 18:00:22 -07:00
Karim Benhmida ba45639acc Bug 602818 - Integrate QR code scanner into Fennec. r=liuche
--HG--
rename : mobile/android/base/util/VoiceRecognizerUtils.java => mobile/android/base/util/InputOptionsUtils.java
extra : commitid : HyeUL1YR3Sm
extra : rebase_source : 8f746b9eb776f2e7e28b42975d59f54614760094
extra : histedit_source : a39383a6526b57230c283f4167bf6b550f8a5df7
2015-06-19 13:20:31 -07:00
Karim Benhmida 664bab157c Bug 1153904 - Add item in Settings for Voice input. r=liuche
--HG--
extra : commitid : 7bSNSn6infw
extra : rebase_source : a2981d2d2f408ff834dbed37451e0721db39e574
extra : histedit_source : 335d1dba180cc0dc56cd47435d6829f823471891
2015-06-26 13:20:44 -07:00
Michael Comella 1a8f3da884 Bug 1175355 - Add WeakReferenceHandler. r=nalexander
--HG--
extra : commitid : E1A9FuIQ9z6
extra : rebase_source : f7463e6841ae76278d9b17c4ae763fca2ecd623b
2015-06-24 16:49:25 -07:00
Nick Alexander b2342b8e9a Bug 1168407 - Pre: Add GeckoJarReader.extractStream. r=rnewman
The use case is to ship a classes.dex file in a Gecko add-on.  This
makes it easy to extract such a file from an add-on to a temporary
location.  (Sadly, the Android Dex loading classes expect files, not
streams.)

--HG--
extra : commitid : 5hvLXqQHtZz
extra : rebase_source : 6d5964253c7510f02c7ff7c3889264d341b2a61a
extra : histedit_source : f22be3f7c6a12f4aafc222e954d6cbeb466fe147
2015-06-15 16:21:55 -07:00
Jim Chen eda68cee3d Bug 1166309 - Make GeckoJarReader load mozglue if necessary; r=mfinkle r=rnewman 2015-06-10 00:25:01 -04:00
Jim Chen e4389169ce Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; 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
Margaret Leibovic 1a18b94305 Bug 1134361 - Hide "tip" to add to reading list in reading list panel on low memory devices. r=nalexander
--HG--
extra : rebase_source : 8b1050a149548a09ced278be2b416fb4c1ba7efe
2015-03-09 18:36:05 -07:00
Michael Comella 8e92bf80b5 Bug 1135796 - Review: No else after return. r=trivial
--HG--
extra : rebase_source : 42b2f9c7010ca07a53f12eef39a79fa5af722eac
2015-02-26 11:15:41 -08:00
Michael Comella 1bdb8a9faf Bug 1135796 - Update ActivityUtils to use proper API levels. r=rnewman
Fullscreen with the modern flags requires 4.1+ now; 4.0- is using the old
flags.

--HG--
extra : rebase_source : aafbbb38566d3b6fe6cccf877c5462aaa1781cb2
2015-02-26 10:47:14 -08:00
Michael Comella 2521fcbc2e Bug 1134192 - Add ActivityUtils.isFullScreen. r=mfinkle
A more complete solution would rework our fullscreen support to ensure the
flags are consistently used (e.g. reader mode just uses low_profile even though
ActivityUtils.setFullScreen does both low profile and fullscreen).

--HG--
extra : rebase_source : ecffff89ea2c6b6c4145626398e458623f6c773b
2015-02-23 13:11:21 -08:00
Margaret Leibovic a6c874662f Bug 1123102 - Always create reading list panel, regardless of device memory capabilities. r=nalexander
--HG--
extra : rebase_source : 081456e2ecbd52a77e3063d099f3fc6f8293d66a
2015-02-13 15:55:18 -08:00
Richard Newman d97cea2a4a Bug 1126240 - Correctly encode APK paths in SearchEngineManager. r=margaret
This is the approach we already take everywhere else we make a jar🫙 URI.

I've unified those places into GeckoJarReader, cleaned up imports, fixed a
typo, and wrote a trivial test for this case.

I made a few utility methods static to facilitate testing and future refactoring.
2015-02-10 16:11:24 -08:00
Wes Kocher dc611f6b0a Backed out changeset ea1ed091f31e (bug 1126240) for android build failures
--HG--
extra : rebase_source : 604d42d88e5221777ea441da8aed6199ae523b26
2015-02-10 16:42:39 -08:00
Richard Newman bc3c2931e6 Bug 1126240 - Correctly encode APK paths in SearchEngineManager. r=margaret
This is the approach we already take everywhere else we make a jar🫙 URI.

I've unified those places into GeckoJarReader, cleaned up imports, fixed a
typo, and wrote a trivial test for this case.

I made a few utility methods static to facilitate testing and future refactoring.
2015-02-10 16:11: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
Michael Comella fbc63534a7 Bug 1110555 - Use real device dimensions when calculating LWT bitmap sizes. r=mhaigh
Before we used DisplayMetrics.width/heightPixels, which does not include the
system bars.
2015-01-23 12:30:05 -08:00
Margaret Leibovic a55507efbe Bug 1114589 - Add compatibility layer for Uri.getQueryParameterNames. r=rnewman
--HG--
extra : rebase_source : 3b7d1fa11409cf3de9855df3a6575319b5a6f93c
2014-12-22 13:35:41 -05:00
Margaret Leibovic 0fbd54f296 Bug 1105316 - Look in Gecko chrome registry for fallback locale in search activity. r=rnewman
--HG--
extra : rebase_source : 42e908cf3c6d08cb8a108d6f7b11b169ef3ab0dd
2014-12-09 12:45:13 -08:00
Nick Alexander e2afa5c3c1 Bug 1102488 - Part 1: Factor out constants JAR. r=rnewman
The constants JAR contains AppConstants and SysInfo.  SysInfo depended
on HardwareUtils for one function, which can (should?) be in SysInfo
anyway, so I moved it.

Both SysInfo and AppConstants should be available to Robocop tests,
but they are compiled too early to access RobocopTarget.  Since
nothing in GeckoView should know about GeckoView, I moved the
annotation to the Fennec-level proguard.cfg.

--HG--
extra : source : d2c14599cbab6c476465a6ba142c7c2501895cb3
2014-11-24 15:37:30 -08:00
Carsten "Tomcat" Book 7403af97fc Backed out changeset ae7b2705bfa7 (bug 1102488) 2014-11-25 08:42:55 +01:00
Nick Alexander cdd980f480 Bug 1102488 - Part 1: Factor out constants JAR. r=rnewman
The constants JAR contains AppConstants and SysInfo.  SysInfo depended
on HardwareUtils for one function, which can (should?) be in SysInfo
anyway, so I moved it.

Both SysInfo and AppConstants should be available to Robocop tests,
but they are compiled too early to access RobocopTarget.  Since
nothing in GeckoView should know about GeckoView, I moved the
annotation to the Fennec-level proguard.cfg.

--HG--
extra : rebase_source : cdba5f056a41ec28f190dd7ebf82213a358cb3a8
extra : source : d2c14599cbab6c476465a6ba142c7c2501895cb3
2014-11-24 15:37:30 -08:00
Wes Kocher 992d48417f Backed out 5 changesets (bug 1102488) for stumbler-related robocop failures
Backed out changeset 05cf424592e6 (bug 1102488)
Backed out changeset 48fc328377d4 (bug 1102488)
Backed out changeset d2c14599cbab (bug 1102488)
Backed out changeset 8d1d39582e49 (bug 1102488)
Backed out changeset fa85f8d8b182 (bug 1102488)
2014-11-21 15:54:21 -08:00
Nick Alexander 99428106d2 Bug 1102488 - Part 1: Factor out constants JAR. r=rnewman
The constants JAR contains AppConstants and SysInfo.  SysInfo depended
on HardwareUtils for one function, which can (should?) be in SysInfo
anyway, so I moved it.

Both SysInfo and AppConstants should be available to Robocop tests,
but they are compiled too early to access RobocopTarget.  Since
nothing in GeckoView should know about GeckoView, I moved the
annotation to the Fennec-level proguard.cfg.

--HG--
extra : rebase_source : 6504b2324fb7534217163e21218c194df0505a75
2014-11-21 11:20:01 -08:00
Brian Nicholson 57852448b5 Bug 1052158 - Forward the GeckoRequest error stack to Java. r=wesj 2014-11-19 16:33:56 -08:00
Margaret Leibovic 9bb10ffa42 Bug 1091728 - (Part 0) Move getFileContents into FileUtils. r=rnewman 2014-11-13 14:32:01 -08:00