Commit Graph

54 Commits

Author SHA1 Message Date
Tiger Oakes
b248451666 [components] Issue https://github.com/mozilla-mobile/android-components/issues/3481 - Fix null checks before Android Q 2019-06-25 10:38:03 +02:00
Denys M
1f8fc3fa5b [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Enable unit test binary resources globally.
Excluded few modules.
2019-06-13 09:29:52 +02:00
Gabriel Luong
8a7a16193d [components] Closes https://github.com/mozilla-mobile/android-components/issues/3344: Add getProvidedDefaultSearchEngine to SearchEngineManager to get the provided default search engine. 2019-06-12 10:31:23 +02:00
Denys M
e5eb231d4e [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in browser-search. 2019-06-11 14:27:45 +02:00
Denys M
45a84fedf2 [components] Fixes https://github.com/mozilla-mobile/android-components/issues/3301. Fix SearchEngineManagerTest test. 2019-06-09 22:20:46 -04:00
Denys M
e833880727 [components] For https://github.com/mozilla-mobile/android-components/issues/2346. Enable kotlin warningsAsErrors for browser-search module. 2019-05-29 13:46:39 -04:00
James Hugman
258d76c76a [components] Add searchDefault and searchOrder to list.json.
Update search engine parser tests (+8 squashed commits)
Squashed commits:
[c86797554] Changelog
[a821845c2] detekt/ktlint
[0101c7735] Changelog
[35e9e8d5d] Wrap up search engine lists and default into the search engine manager.

Includes tests.
[6aed07cd8] Implement searchDefault and searchOrder, including tests in the SearchProvider.
[58bad346f] Find the most specific attribute for that locale. Support reordering of list via the `searchOrder` attribute.
[bc10a48b2] Fix tests to match new list.json.
[a781b2f9a] Freshen search plugins and list.json.

Including: deleting Yahoo.
2019-04-01 20:05:34 +01:00
Jonathan Almeida
b69c615b0a [components] Closes https://github.com/mozilla-mobile/android-components/issues/1210: Fixes intermittent failing test in SearchEngineManager 2019-03-20 10:45:40 +01:00
Emily Kager
351cf4e78c [components] Remove getSearchEngineByName function 2019-03-11 19:23:12 +01:00
Emily Kager
5c11fe3f87 [components] Add optional searchengine to invoke, add tests 2019-03-11 19:23:12 +01:00
Emily Kager
aea17549e8 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2277 - Add ability to set default search engine 2019-03-11 19:23:12 +01:00
Sebastian Kaspari
c5c482eb26 [components] Update Robolectric to 4.2. 2019-02-20 19:20:42 -05:00
Christian Sadilek
88e5530a6f [components] Revert "Re-enable SearchEngineManagerTest that intermittently failed"
This reverts commit e9ce0e5697.
2019-02-11 16:02:09 -05:00
Jonathan Almeida
fd64ed97ae [components] Re-enable SearchEngineManagerTest that intermittently failed 2019-02-11 14:03:52 -05:00
Mitchell Hentges
8fd19cdf3a [components] Moves description to be part of project.ext 2019-01-11 10:08:32 +01:00
Mitchell Hentges
3ee4d96a84 [components] Reads componentsVersion from .buildconfig.yml 2019-01-11 10:08:32 +01:00
Jonathan Almeida
3c4521d8d8 [components] Temporarily disable intermittent failing test until fixed 2019-01-09 10:29:29 -05:00
Sawyer Blatz
3267579857 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1563: Update Google search code 2019-01-08 11:24:25 +01:00
ali-abdullah
89f3263d12 [components] included buildSrc in ktlint and detekt checks 2018-11-16 12:40:04 +01:00
Christian Sadilek
e34c22f81b [components] Closes https://github.com/mozilla-mobile/android-components/issues/1305: Upgrade to Kotlin 1.3.0 and Coroutines 1.0.1 2018-11-09 09:26:47 +01:00
Grisha Kruglov
782980355f [components] Stop using deprecated versions of async, launch, etc
This switching to using explicit CoroutineScopes and Dispatchers,
trying to inherit context when appropriate.
2018-11-07 13:04:17 -08:00
Sebastian Kaspari
53b3d1a71f [components] Update repository information in README files. 2018-10-25 15:37:46 +02:00
Sebastian Kaspari
9e17b84339 [components] Simplify build configuration. 2018-10-24 10:21:12 +02:00
Johan Lorenzo
0ca864a1bf [components] Stop Bintray. Update {group,artifact}Ids. Remove massage task 2018-10-22 14:35:51 +02:00
levimatheri
218ffd2ff4 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1022: LocalizationProvider not accepting the right locale
Added getter to ensure default locale is obtained on every read
2018-10-11 18:35:52 +02:00
Marco
6e4f04af78 [components] Closes https://github.com/mozilla-mobile/android-components/issues/47: Remove test prefix from method names 2018-10-10 15:59:39 -04:00
Wajahat Karim
ed0729232c [components] Closes https://github.com/mozilla-mobile/android-components/issues/922: Update READMEs to point to maven.mozilla.org and use new artifact names. 2018-10-03 09:20:43 +02:00
Sebastian Kaspari
946410ca86 [components] Configure dependencies from buildSrc Kotlin code. 2018-08-21 11:16:21 -04:00
Fernando Garcia Alvarez
634496e418 [components] Issue https://github.com/mozilla-mobile/android-components/issues/501: Move JSON extensions to package android.org.json
Closes https://github.com/mozilla-mobile/android-components/issues/501: Move JSON extensions to package android.org.json
2018-07-25 18:06:16 +02:00
Jeff Boek
0f7bf28533 [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Changes access control levels for the response parsers 2018-07-20 16:27:21 +02:00
Jeff Boek
3d233b7bf0 [components] For https://github.com/mozilla-mobile/android-components/issues/191 - refactors SearchSuggestionClient to re-throw exceptions 2018-07-20 16:27:21 +02:00
Jeff Boek
0b5d08dc13 [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Exposes canProvideSearchSuggestions on SearchEngine 2018-07-20 16:27:21 +02:00
Jeff Boek
1e9a767e8c [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Moves the JSONArray extension to support-ktx 2018-07-20 16:27:21 +02:00
Jeff Boek
4b0d58c1d9 [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Refactors public API, provides nullable initializer for SearchSuggestionClient 2018-07-20 16:27:21 +02:00
Jeff Boek
fc6e4b7d17 [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Test that getSuggestions throws an exception with bad json 2018-07-20 16:27:21 +02:00
Jeff Boek
e95e7df1aa [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Test SearchSuggestionClient can get search suggestions for multiple search engines 2018-07-20 16:27:21 +02:00
Jeff Boek
1a1292eaf9 [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Adds JSON parsers 2018-07-20 16:27:21 +02:00
Jeff Boek
658a82df58 [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Adds SearchSuggestionClient and SuggestionParser 2018-07-20 16:27:21 +02:00
Jeff Boek
0fc2793dc1 [components] For https://github.com/mozilla-mobile/android-components/issues/191 - Adds API to build a suggestion URL 2018-07-20 16:27:21 +02:00
imhenoch
e5b077cff6 [components] Closes https://github.com/mozilla-mobile/android-components/issues/318. Removes kotlin coroutines from build.gradle files 2018-07-09 11:42:27 +02:00
Angelo Rüggeberg
4e497962b0 [components] Closes https://github.com/mozilla-mobile/android-components/issues/291 - Unified lint warnings as error and fail on error 2018-07-03 14:29:55 -04:00
Sebastian Kaspari
b58dd3798a [components] Issue https://github.com/mozilla-mobile/android-components/issues/232: Add READMEs for every component and link them from the root README. 2018-05-28 17:33:12 +02:00
antifreezzz
73e4cdf9fc [components] issue https://github.com/mozilla-mobile/android-components/issues/182: AssetsSearchEngineProviderTest: Corresponding parameter in the supertype is named 'context' 2018-05-21 17:43:11 +02:00
Christian Sadilek
6295d87b38 [components] Closes https://github.com/mozilla-mobile/android-components/issues/102: Fix intermittent SearchEngineManagerTest failure 2018-04-23 10:59:01 -04:00
Sebastian Kaspari
9871db60a0 [components] Issue https://github.com/mozilla-mobile/android-components/issues/69: Add additional functionality for integration into Focus. 2018-04-19 19:50:09 +02:00
Sebastian Kaspari
df1d87db9a [components] Issue https://github.com/mozilla-mobile/android-components/issues/69: Add more tests to browser-search module. 2018-04-19 19:50:09 +02:00
Sebastian Kaspari
3ab08b0e4c [components] Issue https://github.com/mozilla-mobile/android-components/issues/69: Introduce SearchEngineManager class providing access to a centralized registry of search engines. 2018-04-19 19:50:09 +02:00
Sebastian Kaspari
60fe909286 [components] Issue https://github.com/mozilla-mobile/android-components/issues/69: Add interfaces and implementation to load and localize/filter search engines. 2018-04-18 15:06:34 +02:00
Sebastian Kaspari
0172fe9848 [components] Issue https://github.com/mozilla-mobile/android-components/issues/69: Re-import search plugins and list.json from mozilla-central. 2018-04-18 15:06:34 +02:00
Sebastian Kaspari
f1152443d3 [components] Issue https://github.com/mozilla-mobile/android-components/issues/69: Update code to use new flat structure. 2018-04-17 09:44:13 +02:00