Commit graph

237 commits

Author SHA1 Message Date
Florian Quèze
d852e385df Bug 1289240 - search plugins from an in-use langpack should be treated as default plugins, r=adw. 2016-07-27 19:28:33 +02:00
Ian Moody
3bc7f01892 Bug 1274545 - Rework the search engine _onLoad code to group update-only code together, and preserve user's metaData on update. r=florian
Previously on update some engines were losing their user-set keyword, and also
their ordering in the engine list.

MozReview-Commit-ID: 3n464xRQ8bO

--HG--
extra : transplant_source : y%C37%3CW%A8%29%2A%20%FD%91%0CH%07%0B%CA%5Ef%F4r
2016-07-07 14:42:07 +01:00
Andrea Marchesini
6abf4d7619 Bug 1281793 - Remove some non-used telemetry IDs - part 5 - Search and other stuff, r=gfritzsche 2016-06-28 19:30:54 +02:00
Carsten "Tomcat" Book
0f67fc8441 Backed out changeset 81120708f321 (bug 1281793) 2016-06-28 17:04:48 +02:00
Andrea Marchesini
fea5d62068 Bug 1281793 - Remove some non-used telemetry IDs - part 5 - Search and other stuff, r=gfritzsche 2016-06-28 16:44:42 +02:00
Michael Kaply
c9585e17d1 Bug 1275366 - Allow chrome/resource icon URLs for built-in search engines. r=florian
DONTBUILD

--HG--
extra : histedit_source : fc919128dc8b0b5cd95c82cd012209d959ca3778
2016-06-09 11:30:42 -05:00
Michael Kaply
c994e5da07 Back out changeset f4c18cbc1201 to correct wrong bug (1273719) in commit message.
--HG--
extra : histedit_source : 5725c2185e8592aae240a5906a3511c864caa0e4
2016-06-09 11:27:49 -05:00
Michael Kaply
7b28bcdb63 Bug 1273719 - Allow chrome/resource icon URLs for built-in search engines. r=florian 2016-06-09 11:02:05 -05:00
Florian Quèze
e9ee2349cc Bug 1203168 - ask the user for confirmation when searching with a default search engine of unknown origin, data-review=bsmedberg, r=adw. 2016-05-27 13:41:29 +02:00
Carsten "Tomcat" Book
b08e506896 Backed out changeset 08053d1e2cc1 (bug 1203168) for ESlint failure in browser_aboutSearchReset.js 2016-05-27 14:35:31 +02:00
Florian Quèze
148acbd4be Bug 1203168 - ask the user for confirmation when searching with a default search engine of unknown origin, data-review=bsmedberg, r=adw. 2016-05-27 13:41:29 +02:00
Florian Quèze
dec72f0621 Bug 1273719 - JavaScript strict warnings in nsSearchService.js (reference to undefined property json._readOnly/param.purpose), r=adw. 2016-05-24 13:15:43 +02:00
Florian Quèze
f4f5b03d50 Bug 1268424 - Collect Telemetry data about the search plugin count, data-review=bsmedberg, r=adw. 2016-05-24 13:14:19 +02:00
Mark Capella
3301837485 Bug 1262916 - Option to add custom search engine should disappear when site is added, r=margaret, florian 2016-05-14 16:43:51 -04:00
gasolin
51fda07150 Bug 1228258 - Search aliases should be trimmed. r=mak
MozReview-Commit-ID: CzTU7aBnIRd

MozReview-Commit-ID: 2OzxRTtr39b

--HG--
extra : transplant_source : y%3DQ%03%D7%BA%F7%8B%92/%FB%26%E1jP%E9%ECI%DD%EB
2016-04-25 15:19:36 +08:00
Florian Quèze
c7454286f0 Bug 1266783 - prevent the search cache file from being flushed twice in a row after a re-initialization, r=adw.
--HG--
extra : rebase_source : 5d86391437650c9300fea12744fc61bb6e939d46
2016-04-29 17:08:55 +02:00
Michael Kaply
9813c51030 Bug 1181645 - Default invalid or empty purpose in getSubmission to searchbar, r=florian.
--HG--
extra : rebase_source : 45a9be2fc882b6158213b151c8e156f8d8bbeb4e
2016-04-29 17:08:55 +02:00
Michael Kaply
68ef955d48 Bug 1264491 - Backout accidental checkins that had nothing to do with bug; DONTBUILD 2016-04-27 15:05:03 -05:00
Michael Kaply
8d35d79519 Bug 1264491 - Update core ping docs for distributionId; r=gfritzsche DONTBUILD
--HG--
extra : amend_source : 34cafd99e0cf78638399abf8b7bacbbe3f5c1460
2016-04-27 14:59:46 -05:00
Florian Quèze
4751f9a17d Bug 1259139 - record in telemetry the validity of the current engine's loadPathHash, r=adw. 2016-04-06 15:54:15 +02:00
Florian Quèze
13873d680d Bug 1259510 - record usage of the search service's update feature, r=adw,bsmedberg.
--HG--
extra : rebase_source : 95b84e7c1cc0a7f1b84d60f278ad257af405b498
2016-04-05 12:13:55 +02:00
Florian Quèze
1735d00682 Bug 1255605 - search.json.mozlz4 should always contain search engines. r=adw 2016-03-14 18:45:33 +01:00
Florian Quèze
e1cd899f00 Bug 1240729 - No favicon displayed in Search bar panel after adding an engine with an SVG icon, r=adw. 2016-03-11 12:16:46 +01:00
Florian Quèze
5fc9243d64 Bug 1241080 - Fix display of search plugin icon on about:home and about:newtabb for engines not specifying the icon inside their xml file, r=adw. 2016-03-11 12:16:44 +01:00
Florian Quèze
dbb0d9c4d0 Bug 1254694 - Fix search engines metadata migration for engines from language packs, r=adw. 2016-03-10 21:05:05 +01:00
Florian Quèze
9fdaff91ab Bug 1254694 - Fix synchronous code path for search engines metadata migration, r=adw.
--HG--
rename : toolkit/components/search/tests/xpcshell/test_migration.js => toolkit/components/search/tests/xpcshell/test_async_migration.js
rename : toolkit/components/search/tests/xpcshell/test_migration.js => toolkit/components/search/tests/xpcshell/test_sync_migration.js
2016-03-10 21:04:54 +01:00
Florian Quèze
db0cb17aea Bug 1251268 - MozParam condition="pref" should use values from the default pref branch and URI encode them, r=adw.
--HG--
rename : toolkit/components/search/tests/xpcshell/test_purpose.js => toolkit/components/search/tests/xpcshell/test_pref.js
2016-02-29 11:45:33 +01:00
Paolo Amadini
8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Wes Kocher
1b65a8ee2f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00
Paolo Amadini
ecd744bdef Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : 6aGIHyyYqSo
extra : rebase_source : 38fbf5e49d06970555a088c5ea3f8379e2064767
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-01-30 18:53:56 +00:00
Phil Ringnalda
d42eb10039 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Paolo Amadini
aceee7aafc Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : IkcxJUamV6B
extra : rebase_source : 07255457ec607c45037f832ca44a01f17a00da78
2016-01-29 13:19:53 +00:00
Florian Quèze
ca0c29f531 Bug 1237648 - remove the defaultEngine implementation and forward the getter/setter to currentEngine, r=adw. 2016-01-08 11:27:49 +01:00
Jeremy Francispillai
fed136e71d Bug 1122618 - Added change to rebuild the defaultEngineDropDown whenever the default engine is changed. Separated the code performing the changes and displaying the changes when removing/adding engines. r=florian. 2016-01-06 12:52:52 +01:00
Florian Quèze
38583b929e Bug 1230661 - avoid calling the search service's currentEngine setter during startup, r=mak. 2015-12-23 16:01:13 +01:00
Florian Quèze
8a440eabf5 Bug 1221513 - fix the _loadPath of default search engines on Android, r=mak.
--HG--
extra : commitid : KQKNG5UedeW
extra : rebase_source : f3d86b7d532d1958d10146faf003fa3c7db8aa03
2015-11-20 14:23:05 +01:00
Florian Quèze
5bf82e8de0 Bug 1227045 - fix intermittent test failures due to the cache file not being consistently saved before test-triggered restarts, r=mak. 2015-12-02 16:51:15 +01:00
Florian Quèze
1486293294 Bug 1227045 - Save the new current engine when it has been set as a fallback after the previous current engine was removed, r=mak. 2015-12-02 16:51:15 +01:00
Christoph Kerschbaumer
d89b2a6a22 Bug 1225362 - Use channel.asyncOpen2 in toolkit/components/search/nsSearchService.js (r=sicking) 2015-11-30 20:27:05 -08:00
Florian Quèze
5c435de429 Bug 1203167 - compress the cache file, r=adw. 2015-10-30 09:54:53 +01:00
Florian Quèze
0c67d18c28 Bug 1203167 - clean-up handling of verification hashes, and hash the loadpath of user-installed engines, r=adw. 2015-10-30 09:54:53 +01:00
Florian Quèze
703a86705e Bug 1203167 - remove the 'directories' object from the structure of the cache file, r=adw. 2015-10-30 09:54:52 +01:00
Florian Quèze
3f5db8a954 Bug 1203167 - migrate metadata from search-metadata.json, r=adw. 2015-10-30 09:54:52 +01:00
Florian Quèze
bdfabf5112 Bug 1203167 - store metadata in the main JSON file and remove the engine metadata service, r=adw. 2015-10-30 09:54:52 +01:00
Florian Quèze
3fe7f0e452 Bug 1203167 - Fix the loadPath for engines installed from the web or add-ons, r=adw. 2015-10-30 09:54:52 +01:00
Florian Quèze
379e593a1a Bug 1203167 - Remove legacy .xml file from the profile when a user-installed engine is removed, r=adw. 2015-10-30 09:54:52 +01:00
Florian Quèze
8b2ace080a Bug 1203167 - Stop relying on _file or _uri being set, r=adw. 2015-10-30 09:54:52 +01:00
Florian Quèze
a3841310e8 Bug 1203167 - Stop checking the file modification times of default engines at startup, r=adw. 2015-10-30 09:54:51 +01:00
Florian Quèze
8bebcaa6ec Bug 1203167 - Make the lastModifiedTime optional in cache entries, but preserve it when it exists, r=adw. 2015-10-30 09:54:51 +01:00
Florian Quèze
205f8db0ef Bug 1203167 - Make the engine shortName independent of actual files, r=adw. 2015-10-30 09:54:51 +01:00