Commit Graph
155 Commits
Author SHA1 Message Date
Michael Kaply 29efd66cd3 Bug 1401282 - Don't assume the intent has an action. r=snorp
MozReview-Commit-ID: LYayQCljEP4
2017-09-29 16:12:38 -05:00
jwu ad4f0f34f3 Bug 1366669 - Part 1: Rename images and move to Australis folder. r=walkingice
In Photon few images(most of them are related to site identity) are renamed to be more formalized.

These images in Australis need to be renamed as well to make resources easy to maintain.
The mapping between old/new name is below:

OLD                   NEW
----                  ----
reader                ic_readermode
reader_active         ic_readermode_on
close_edit_mode_dark  ic_cancel_nm
close_edit_mode_light ic_cancel_pm
ab_menu               ic_overflow
ab_mic                ic_mic
ab_qrcode             ic_qrcode
lock_secure           ic_lock
warning_minor         ic_warning_minor
warning_major         ic_warning_major
lock_disabled         ic_lock_disabled
lock_inactive         ic_lock_inactive
shield_enabled        ic_shield_enabled
shield_disabled       ic_shield_disabled
search_icon_inactive  ic_search_icon

MozReview-Commit-ID: FivDIHiqe1w
2017-07-13 14:42:59 +08:00
friedger 3a57c3c2aa Bug 1217675 - Eliminate Honeycomb compatibility from Fennec code r=nalexander
Remove all references to Build.SDK_INT comparing 14 and lower

MozReview-Commit-ID: JdAjYvQ6mfX
2017-06-10 08:57:55 +02:00
Michael Kaply 0a99285190 Bug 1320072 - Backout intent change - broke partner Google test. r=snorp 2017-05-04 12:27:35 -05:00
maliu 305825b411 Bug 1320072 - Support direct search from intent, r=sebastian
MozReview-Commit-ID: GAoC4jKVyl7
2016-11-30 20:25:32 +08:00
maliu eb3d60e9dd Bug 1319302 - RTL support for Firefox for Android, r=sebastian
MozReview-Commit-ID: bKzW07YBDy
2016-11-11 16:10:21 +08:00
Tushar Saini (:shatur) 75462f42df Bug 1261041 - Remove feature11Plus-feature15Plus flags. r=sebastian
MozReview-Commit-ID: J4uXtUrjuKr
2016-09-22 21:20:23 +05:30
Jim Chen 16a8900d5d Bug 1298161 - d. Use application context to prevent BrowserApp leaks; r=sebastian
Use application context for delayed callbacks to prevent leaking the
BrowserApp instance. Also, use application context for accessing
Distribution, to prevent leaking old BrowserApp instances, and to avoid
using a destroyed Context. Finally, attach AudioFocusAgent to the
application context instead of the BrowserApp context to avoid leaking
BrowserApp.
2016-08-30 14:49:38 -04:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Jim Chen 90cf603dba Bug 1164027 - Run search activity in a separate process; r=margaret
We suspect running WebView instances in the same process as Gecko could
be one cause of excessive GPU memory mappings.
2016-04-18 07:34:06 -04:00
Michael Comella f5fd2e3b00 Bug 1249288 - review: Correct concurrency issues with searchEngineManager. r=sebastian
Additionally, added WeakReferences to the SEM in its callbacks so we can
GC ASAP if the Activity (and thus the SEM) gets GC'd. This is important
since we hold a reference to Context which can be a rather large object.

Furthermore, I added some related thread annotations where I felt they
were useful.

MozReview-Commit-ID: KaWlw14uOoN
2016-03-24 11:18:58 -07:00
Michael Comella bf1add2294 Bug 1249288 - Move om.search.providers.SearchEngine\* to omg.search. r=nalexander
We want to reuse this code for the main Activity.

MozReview-Commit-ID: BZxIrgmJI2r
2016-02-23 17:27:24 -08:00
Sebastian Kaspari 34635b0d34 Bug 1257941 - Use LeakCanary to watch for fragment leaks. r=ahunt
MozReview-Commit-ID: GhqcSH1SML
2016-03-18 20:00:49 +01:00
Sebastian Kaspari e270436c2d Bug 1255162 - Replace NineOldAndroids with system API. r=liuche
NineOldAndroids is a backport of the animation API that was introduced with Honeycomb.
Since we stopped supporting Gingerbread we do not need this library anymore and can
just use the system API.

MozReview-Commit-ID: Fv6ALlIktt5
2016-03-10 13:38:28 +01:00
Michael Comella 531da7dea5 Bug 1255208 - Remove unused search strings. r=sebastian
MozReview-Commit-ID: DkHcLAkZD6S
2016-03-09 15:43:09 -08:00
Jalpreet Singh Nanda b9e097269d Bug 1193208 - Replace ColorUtils.getColor() with ContextCompat.getColor(). r=sebastian
MozReview-Commit-ID: 8ZRF3Kuc1Bl
2016-03-09 12:41:11 +05:30
Nathan Toone 649896b8cf Bug 1243931 - Use Context.getPackageName() instead of AppConstants.ANDROID_PACKAGE_NAME. r=nalexander
This patch just modifies the search widget to use the Android Context function instead of the hard-coded (at compile time) value.
2016-01-28 16:30:52 -07:00
Mark Finkle a09ea72b3d Bug 1183320 - Remove FHR from android/base r=rnewman 2016-01-11 23:08:07 -05:00
Mark Finkle 061971d97a Bug 1234449 - Cleanup homescreen telemetry r=margaret 2015-12-22 09:32:04 -05:00
Christian Schmitz 27d062da78 Bug 1210242 - Support assist icon for Search Activity in Lollipop. r=mcomella 2015-10-15 19:26:38 +02:00
Allison Naaktgeboren 8627c072ee Bug 1208520 - Add missing CATEGORY_BROWSABLE.r=mcomella 2015-10-08 17:24:14 -07:00
Sebastian Kaspari 70e18b15a7 Bug 1211467 - Use new Fragment.onAttach() API (support library 23). r=mcomella 2015-10-07 09:14:10 +02:00
Sebastian Kaspari e62c58f8ff Bug 1208580 - PostSearchFragment: Suppress deprecation warning for onReceivedError(). r=nalexander
The new API for onReceivedError() has just been introduced in API 23 / Android 6.0.
However our minSdkVersion is 9 currently.
2015-10-02 13:37:04 +02:00
Sebastian Kaspari 0763f09bd4 Bug 1169435 - Replace deprecated Resources.getColor() with call to ColorUtils.getColor(). r=mcomella 2015-08-11 11:09:37 +02:00
Michael Comella 636f849abc Bug 1175355 - Add AsyncQueryHandlerImpl in SearchActivity. r=nalexander
This avoids the "HandlerLeak" Android Lint warning.
2015-06-24 16:58:06 -07:00
Michael Comella bf480718fd Bug 1173228 - Suppress SetJavaScriptEnabled linter warning. r=margaret
The function is required for a greasemonkey script and the code is expected to
be secure.
2015-06-09 18:52:12 -07:00
Jim Chen 1ee3d9ea63 Bug 1166309 - Make GeckoJarReader load mozglue if necessary; r=mfinkle r=rnewman 2015-06-10 00:25:01 -04:00
Michael Comella 924dfc09a1 Bug 1170886 - Replace use of NewApi suppression with @TargetApi. r?nalexander
TargetApi is specific, and preferred.
2015-06-02 20:02:30 -07:00
Martyn Haigh 86df2cfd29 Bug 1159368 - After queueing a tab, I get put into the search activity (r=rnewman) 2015-05-06 17:57:45 +01:00
Nathan Toone 55b9d2c2a4 Bug 1161195 - Part 2: Rename variables. r=nalexander
Rename variables to be consistent with the name used in confvars.sh.
2015-05-05 20:11:15 -06:00
Nathan Toone 6fd8225c14 Bug 1161195 - Part 1: Set java class names at compile time. r=nalexander
Rather than hardcoding the following classes in AppConstants.java.in and AndroidManifest.xml, they are set in
confvars.sh:
   org.mozilla.gecko.GeckoApplication (Specified using MOZ_ANDROID_APPLICATION_CLASS)
   org.mozilla.gecko.BrowserApp       (Specified using MOZ_ANDROID_BROWSER_INTENT_CLASS)
   org.mozilla.search.SearchActivity  (Specified using MOZ_ANDROID_SEARCH_INTENT_CLASS)
2015-05-05 20:10:50 -06:00
Nathan Toone 44d8578708 Bug 1158906 - Catch hardware keyboard return. r=margaret
In addition to keying off of the IME_ACTION_SEARCH, we also key of of IME_ACTION_UNSPECIFIED which is what is sent by the android emulator hardware keyboard.
2015-04-27 14:15:13 -06:00
Sebastian Kaspari 9e50edd2df Bug 1143280 - SearchBar: Suppress deprecation warnings in constructor to allow building with API level 22. r=rnewman 2015-03-16 16:44:22 +01:00
ronak b3c50071f7 Bug 1122767 - Remove lockscreen code from SearchWidget. r=wesj 2015-02-26 06:17:00 -05:00
Mark Finkle 90ea2007c9 Bug 1131438 - SearchEngineManager doesn't scan the distro searchplugins locale folders or fallback to a distro locale r=margaret 2015-02-22 16:59:33 -05:00
Richard Newman 0b625b469b 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 2e9a7ac338 Backed out changeset ea1ed091f31e (bug 1126240) for android build failures 2015-02-10 16:42:39 -08:00
Richard Newman 41ac8c2238 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
Mark Finkle 9c6f1f75aa Bug 1129576 - Rename the stumbler API key to the generic mozilla API key r=nalexander 2015-02-06 17:08:35 -05:00
Mark Finkle 7b8393759e Bug 1129576 - Fetch the country code in the Search Activity r=margaret f=rnewman 2015-02-06 17:08:31 -05:00
Margaret Leibovic b75cfba6bb Bug 1128521 - Don't use API 17+ method in search activity. r=mfinkle 2015-02-03 12:00:04 -08:00
Margaret Leibovic cb75de6a70 Bug 1089653 - Make sure the search activity hasn't been destroyed before touching views in onAnimationEnd. r=mfinkle 2015-01-29 13:37:51 +01:00
Richard Newman 0aaaf6fd0f Bug 1124492 - Allow for distribution intent processing to occur after first use. r=margaret 2015-01-26 10:02:39 -08:00
Margaret Leibovic 7ab53921d9 Bug 1107925 - Don't launch fennec on search redirects. r=bnicholson 2015-01-08 12:48:23 -08:00
Richard Newman a00e011397 Bug 907768 - Rewrite search suggestion test hooks, fix network bypass in SuggestClient. r=bnicholson
This patch fixes all testSearchSuggestions intermittent failures, except for those that appear to be caused by update checks on 2.3.

It also replaces all waitForTest (deprecated) calls with waitForCondition.
2015-01-05 15:12:03 -08:00
Margaret Leibovic fa45862b64 Bug 1114589 - Add compatibility layer for Uri.getQueryParameterNames. r=rnewman 2014-12-22 13:35:41 -05:00
Margaret Leibovic 6001ca1330 Bug 1105316 - Look in Gecko chrome registry for fallback locale in search activity. r=rnewman 2014-12-09 12:45:13 -08:00
Richard Newman b708878fb3 Bug 1109000 - Split statics out of BrowserLocaleManager. r=nalexander, a=java-only on a CLOSED TREE 2014-12-09 18:07:07 +00:00
Richard Newman ca6bf3644a Bug 1108252 - Remove launcher icon for search activity. r=mfinkle 2014-12-09 16:37:58 +00:00
Margaret Leibovic 05b2c841ac Bug 1105290 - Add null check to createEngineFromFileList. r=rnewman 2014-12-08 11:12:44 -08:00