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

416 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend e496a11771 Bug 1245649: Turn on no-extra-semi. r=markh
--HG--
extra : commitid : HReQFPDOA6x
extra : rebase_source : 303a92f511c3c9dd2d26135975d4dc7c85e823b3
2016-02-03 17:27:36 -08: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
Christoph Kerschbaumer 83099fe604 Bug 1243936 - Convert remaining callsites within devtools/ and toolkit/ to use channel.open2() 2016-01-29 09:16:13 -08: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
Dave Townsend 86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08: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
Dave Townsend 6fcdc1e67d Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
--HG--
extra : commitid : 1iLsb7ZpSpI
extra : rebase_source : ed920934f04e520f5410454ec3930cd5992aa965
2015-12-03 10:02:45 -08: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 11f2e3253c Bug 1220246 - fix test_geodefaults.js to avoid failing when the http server takes more than 1000ms to reply, r=Gijs. 2015-11-06 15:53:11 +01:00
Luca Greco 1a13d63ee8 Bug 1214174 - Prevent out of memory exception on accessing window.sidebar/window.external in a windowless browser. r=billm
--HG--
extra : histedit_source : 86ca0e336d4a31e23cb9c35302f12673dafbd09a
2015-10-22 14:39:00 -04: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
Florian Quèze e23e1d16b4 Bug 1203167 - Keep user-installed engines when refreshing an outdated cache, r=adw. 2015-10-30 09:54:51 +01:00
Florian Quèze 856c27d449 Bug 1203167 - stop serializing user-installed engines to XML files, r=adw. 2015-10-30 09:54:51 +01:00
Tooru Fujisawa 65e2703499 Bug 1217082 - Remove for-each from toolkit/. r=Gijs
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Florian Quèze 4fd72298c0 Bug 1209920 - Drop support for <MozParam condition="defaultEngine", r=adw. 2015-10-01 15:05:59 +02:00
Florian Quèze c0702597fd Bug 1209916 - _hidden shouldn't be stored in both the cache and the metadata, r=adw. 2015-10-01 15:04:53 +02:00
Florian Quèze 93eb22c6b6 Bug 1209914 - Use toJSON methods instead of explicit _serializeToJSON calls, r=adw. 2015-10-01 15:04:03 +02:00
Tooru Fujisawa accd89d4fd Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
--HG--
extra : commitid : 5yrVqfOUmEG
extra : rebase_source : e2ec30261bd76c1966b0e61fd7e08c2924f270b0
2015-09-24 20:32:23 +09:00
Tooru Fujisawa e5f587574b Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure
--HG--
extra : commitid : 4RedbQZ6Rzu
2015-09-27 23:42:50 +09:00
Tooru Fujisawa b92d75e47c Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
--HG--
extra : commitid : 2Gx1wpjvr9w
extra : rebase_source : 0a378fd51f45d3fe71430ad8a37a79a8862bfa76
2015-09-24 20:32:23 +09:00
Florian Quèze 239d577df1 Bug 862148 - remove the DATA_* and TYPE_* constants from nsISearchEngine, r=adw. 2015-09-23 12:05:37 +02:00
Florian Quèze 5be3117fa4 Bug 862148 - remove the _parseAsOpenSearch method, r=adw. 2015-09-23 12:05:37 +02:00
Florian Quèze 7872d93497 Bug 862148 - stop parsing Sherlock plugins, r=adw. 2015-09-23 12:05:36 +02:00
Florian Quèze 7f751627bc Bug 862148 - stop supporting installation of Sherlock plugins through Services.search.addEngine, r=adw. 2015-09-23 12:05:36 +02:00
Florian Quèze 5eee2c7669 Bug 862148 - drop support for Sherlock plugins in window.sidebar.addSearchEngine, r=adw. 2015-09-23 12:05:36 +02:00
Drew Willcoxon 58a932f909 Bug 1187901 - Case insensitively compare search suggestions query strings. r=MattN 2015-09-22 14:29:05 -07:00
Christoph Kerschbaumer 9f1e9e2eaa Bug 1048048 - add preload content policy types for images (r=seth)
--HG--
extra : source : 88c2333ff7455b6988eb8d6ccc5e92b414a7ccf8
2015-09-20 14:55:59 -07:00
Wes Kocher cd079d2bf9 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer 19dc79ddbb Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Wes Kocher 3eef2f434b Merge m-c to inbound, a=merge 2015-09-15 17:20:16 -07:00
Florian Quèze 78cb85f9a9 Bug 1203161 - remove the browser.search.cache.enabled pref, r=adw. 2015-09-11 14:18:15 +02:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Florian Quèze e966fcb5ac Bug 1169459 - remove the loadFromJars/jarURIs prefs, r=Mossop. 2015-09-04 11:50:49 +02:00
Florian Quèze 2d82cfc143 Bug 438599 - the currentEngine attribute of nsIBrowserSearchService should never be null, r=Mossop. 2015-09-04 11:39:08 +02:00
Chris Manchester 885fc65599 Bug 1131325 - Update search service and tests for moving countryCode from gfxInfo2 to sysinfo. r=markh
--HG--
extra : commitid : AsTqKOkSpTn
2015-07-28 22:25:34 -07:00
Jonathan Griffin 369ec3ac0f Bug 1136892 - Create an xpcshell-addons tag for running addon-specific xpcshell tests, r=chmanchester
--HG--
extra : commitid : 6kGKslC9h14
2015-08-18 11:26:14 -07:00
Florian Quèze 39412da8a8 Bug 1194265 - Some default search engines should only be visible in specific countries, r=Mossop.
--HG--
rename : toolkit/components/search/tests/xpcshell/test_async.js => toolkit/components/search/tests/xpcshell/test_hidden.js
2015-08-15 11:08:58 +02:00
Florian Quèze 3b370060f6 Bug 1177443 - Add 'system' purpose for searches coming from outside Firefox, r=MattN. 2015-08-12 16:57:43 +02:00
Christoph Kerschbaumer 1c05a94924 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan) 2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book 7d6f90f702 Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer cb37e46dd2 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan) 2015-08-05 12:58:05 -07:00
Florian Quèze 6a69a8d036 Bug 1184974 - The submissionURL should not be recorded for packed add-ons in the profile, r=markh. 2015-07-21 23:12:07 +02:00
Florian Quèze af833ef045 Bug 1175218 - The original default engine should be set per region rather than per locale, r=markh.
--HG--
extra : rebase_source : 98eed0fe583dfaef7b83eccba4534b6e46c5accf
2015-07-10 21:06:24 +02:00
Drew Willcoxon c58349faa4 Bug 1176381 - Fix a typo in SearchSuggestionController that causes a JS warning. r=MattN 2015-06-23 17:42:19 -07:00
Florian Quèze 46202ff411 Bug 1109354 - prefer Firefox default engines over profile-installed plugins with the same name, r=markh.
--HG--
extra : rebase_source : cdf4cb2b3969a9ac797f61c3f0b4f081353582e4
2015-06-15 18:32:09 +02:00
Florian Quèze e09d0ceffd Bug 1164159 - Stop using a wrappedJSObject hack to access nsIBrowserSearchService.getDefaultEngineInfo, r=markh. 2015-06-10 11:18:08 +02:00
Florian Quèze a9ec9ab1eb Bug 1164159 - Send information about the default search engines through Telemetry, r=markh,gfritzsche. 2015-06-10 11:17:31 +02:00
Mike Connor 0c23f1fbeb Bug 1171730 - Funnelcake builds should use geo-specific defaults. r=florian 2015-06-05 08:30:00 -04:00
Christoph Kerschbaumer 3a846e95d6 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Florian Quèze 16ae82064b Bug 1159717 - Loading the search form from an empty search bar should send the purpose, r=markh. 2015-05-21 11:53:15 +02:00
Florian Quèze 9bf022ea63 Bug 1162569 - default engine files should be in the omni.ja file, r=markh,glandium. 2015-05-19 15:57:08 +02:00
Gijs Kruitbosch 897dd49042 Bug 1136139 - Fix collapsing of search suggestions when there are none. r=florian
--HG--
extra : transplant_source : F%F4%3D%E7%FE%01%23%DA%B1f%A1D%DBF%20%A9%3C%08%02%84
2015-04-29 15:35:00 +01:00
André Reinald abcbead4d2 Bug 1075157 - Support action: reset search. r=gfritzsche, r=florian, r=bholley 2015-04-24 17:57:52 +02:00
ziyunfei e1db0f779e Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till 2015-04-30 00:32:05 +09:00
Hiroyuki Ikezoe fa4702635a Bug 1139254 - Use MockRegistrar in toolkit/components. r=Unfocused 2015-03-24 19:47:00 -04:00
Carsten "Tomcat" Book 0503c0d6df merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Hiroyuki Ikezoe 8e744492bd Bug 1132772 - afterCache() and afterCommit() should return Promise. r=ttaubert
--HG--
extra : rebase_source : ff86c3437adcafe9447c2bad2974f353143b6281
2015-03-15 16:06:00 -04:00
Sebastian Hengst 394a2dd441 Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Tooru Fujisawa fe0cf643e7 Bug 1131107 - Part 13: Do not use non-standard flag argument of String.prototype.replace in toolkit/. r=gavin 2015-03-09 23:02:57 +09:00
Philip Chee b7e54e1f45 Bug 1130886 Warning: Trying to re-register CID '{22117140-9c6e-11d3-aaf1-00805f8a4905}' r=Mossop
--HG--
extra : rebase_source : d7df180a294e406e1ba621a586c1974870a2007e
2015-02-14 02:50:38 +08:00
Roy Li 5f7a4ca890 Bug 896688 - Replace finite state machine with flag in nsSearchService. r=smacleod 2015-02-12 16:37:42 -06:00
Ryan VanderMeulen a801fa4088 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-12 18:02:35 -05:00
Mark Hammond 769856eeb5 Bug 1130132 - add telemetry to determine how consistent our geoip country code is with Windows. r=gavin 2015-02-12 12:49:18 +11:00
Phil Ringnalda 490561155f Back out 35e75bce4db4 (bug 1087744) for xpcshell bustage
CLOSED TREE
2015-02-10 23:05:42 -08:00
Christoph Kerschbaumer 7082ffe2b7 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-11 08:51:35 -08:00
Christoph Kerschbaumer fe39ce0539 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ (r=gijs) 2014-10-24 15:25:34 -07:00
Christoph Kerschbaumer 01f03b1b49 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-10 20:49:49 -08:00
Dave Townsend fcf968baa0 Bug 1068186: Update window.sidebar and window.external APIs to support e10s. r=felipe
Moves nsSidebar.js to toolkit and makes it just pass messages to chrome for each
API call. MainProcessSingleton listens for those messages and passes the call
along to the search service.
Combines the validation code into the same function and takes the opportunity to
support relative URLs too.
Adds a bunch of tests for these web APIs.

Also fixes:
Bug 518929: Implement window.external APIs in core code
Bug 530847: Remove Fennec's nsISidebar implementation once that code is moved into the core
Bug 517720: Adding a search engine using relative URIs is not supported

--HG--
rename : browser/components/sidebar/nsSidebar.js => toolkit/components/search/nsSidebar.js
extra : rebase_source : 3e9caa49383e78e73e5f111ff09fb063f2cfa7c0
2015-02-02 12:15:26 -08:00
Mark Hammond a015a83aaf Bug 1121340 - add telemetry to determine how consistent our geoip country code is with the platform's. r=gavin 2015-02-05 12:24:06 +11:00
Mark Hammond 0a544c73ea Bug 1123974 - geoip result should not override users already with browser.search.isUS=true. r=florian
--HG--
rename : toolkit/components/search/tests/xpcshell/test_location.js => toolkit/components/search/tests/xpcshell/test_location_migrate_no_countrycode_isUS.js
rename : toolkit/components/search/tests/xpcshell/test_location.js => toolkit/components/search/tests/xpcshell/test_location_migrate_no_countrycode_notUS.js
2015-02-04 14:20:19 +11:00
Mark Finkle 73ee4fdf9e Bug 1117186 - fix geo-specific search defaults interaction with the defaultEngine getter/setter and use a helper for getting geo-specific prefs f=gavin,r=markh 2015-01-21 23:05:48 -05:00
Mark Hammond 711c3dab32 Bug 1117979 - fix orange by not relying on DNS lookup failure in the 'error' test. r=gavin 2015-01-22 12:13:23 +11:00
Sai Prathik c5a5229cab Bug 1119682 - TypeError: setting a property that has only a getter fix, r=felipe 2015-01-15 11:58:00 +00:00
Mark Hammond dcde811e7d Bug 1116404 - better timeout semantics for search service geoip lookups. r=felipe 2015-01-09 13:43:29 +11:00
chrishood@eagles.ewu.edu 1a6a9cae0d bug 930456: Enforce failure if search service is initialized from a child process. r=gavin
--HG--
extra : transplant_source : %1F%E46%1F%C7%F2%04%9B%EB%BF%FE%EB_%08%B3XN%F9%8B%29
2014-12-30 09:32:04 -08:00
Gavin Sharp f0118ffb88 Bug 1106150: fix condition="defaultEngine" MozParam. r=markh 2014-12-30 08:54:23 +11:00
Hiroyuki Ikezoe 5339f7076c Bug 1115440 - Don't rely on preference values for firefox. r=markh 2014-12-29 13:43:30 -08:00
Gavin Sharp 5914eb88f1 Bug 1110420: need to not do geo-specific defaults for distribution builds. r=markh 2014-12-29 10:10:58 +11:00
Alexander J. Vincent 0d6d7b0e1a Bug 1108168 - Check the type of a preference type before trying to call getBoolPref. r=dao 2014-12-08 12:49:50 -08:00
Mark Hammond 8dc853f068 Bug 1109120 - use a geoip xhr request for more reliable country detection for search. r=gavin 2014-12-23 22:17:12 +11:00
Gavin Sharp 69a6c5091b Bug 1108627: market-specific search defaults broke default engine behavior for Fennec, so make it desktop Firefox-only, r=dolske 2014-12-08 13:54:17 -08:00
Gavin Sharp ce93d8354d Bug 1102416: make Yahoo the default search plugin for en-US in American time zones, r=dolske, a=me 2014-11-23 20:38:22 -08:00
Florian Quèze 0ae31a3cb5 Bug 1088660 - Improve the search bar UI to support one-off searches - fix tests that failed on fx-team, r=felipe over email. 2014-11-27 12:24:53 +01:00
Florian Quèze 13f2d62f6d Bug 1088660 - Improve the search bar UI to support one-off searches - improve discoverability of the search settings, r=felipe. 2014-11-20 20:55:41 +01:00
Florian Quèze 94833decfe Bug 1088660 - Improve the search bar UI to support one-off searches, r=felipe. 2014-11-18 00:59:11 +01:00
Richard Newman 7dc2972638 Bug 1097542 - Use explicit collation in nsSearchService. r=Waldo,adw
On Android, String.prototype.localeCompare ends up calling strcoll(), which results in an undesirable sort order for search engines.

This patch alters nsSearchService to use nsICollation.compareString directly, which should yield a consistent order across all platforms.

We use kCollationCaseInsensitiveAscii, which ignores case on ASCII characters but preserves ordering between accented and non-accented characters. We can revisit this decision if necessary.
2014-11-17 22:21:43 -08:00
Gavin Sharp 63dc7b1bae Bug 1083990: fix bug that caused deletion of history autocomplete items to temporarily mess up the suggestions dropdown display, r=MattN
--HG--
extra : transplant_source : %02%96%05%2C%CC8%06%B0j%2C%FA%81%F7m%5B%F2%F6%15Y.
2014-10-30 09:00:53 -07:00
Nick Alexander d84d5b2511 Bug 986544 - Don't try to parse searchplugins list as XML. r=rnewman
XHR requests default to text/xml.  This just avoids trying to interpret
list.txt as XML.
2014-10-23 11:05:47 -07:00
Gavin Sharp 1a80978af3 Bug 1060675: only cap local form history results for the search bar if there are remote suggestions, r=MattN
--HG--
extra : transplant_source : n%E7%C9%B6%DC%01%21%966J%85%CFL%CC%DC%1E%DA6%AA%F5
2014-10-17 09:29:40 -07:00
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Henri Sivonen 072cc3fe96 Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk. 2014-09-22 16:15:34 +03:00
Dave Townsend 57dd686aab Bug 1070223: Ignore exceptions thrown from nsIBrowserSearchInitObserver. r=MattN 2014-09-19 16:04:41 -07:00
Tim Taubert 14ff946437 Bug 1047472 - Make parseSubmissionURL return the string offset for each search term r=paolo 2014-08-06 20:36:35 +02:00
Mark Banner 6905914246 Bug 1059195 - test_searchSuggest.js assumes the suggestion enabled preference defaults to "true". r=jaws 2014-08-28 18:25:49 +01:00
Tim Taubert 843e826a17 Bug 1040931 - Add extensionID parameter to addEngineWithDetails r=gavin 2014-08-27 16:38:20 +02:00
Alex Bardas 9507984a43 Bug 1044577 - Add xpcshell test to ensure that methods from SearchStaticData module can be overwritten. r=Paolo 2014-08-20 16:57:00 -04:00
Bill McCloskey 0f6b688b48 Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Paolo Amadini d500d97e10 Bug 1053357 - Search terms with multiple spaces are displayed with plus signs in the location bar. r=gavin 2014-08-15 10:19:31 +01:00
Tomasz Kołodziejski 2d4a66b7c9 Bug 1052734 - Use FileUtils.PERMS_FILE instead of magic octal constants in nsSearchService.js. r=MattN
--HG--
extra : rebase_source : 5e1870bdd08625ca395ad92a064ac212533930c2
2014-08-12 17:07:00 -07:00
Jared Wein 0d0c2ca0dc Bug 1048198 - Searchbar Search Suggestions is no longer able to disable. r=mattn 2014-08-12 11:30:16 -04:00
Birunthan Mohanathas 770cc01f6a Bug 1049979 - Fix 'functions may be declared only at top level or immediately within another function' warnings. r=gavin 2014-08-10 11:16:32 -07:00
Florian Quèze 3c6fe6df80 Bug 1029148 - store current search engine configuration outside of prefs - add a disclaimer in the salt, r=gavin. 2014-08-05 01:02:20 +02:00
Florian Quèze f98d92de79 Bug 1029148 - store current search engine configuration outside of prefs, r=MattN. 2014-08-05 01:02:19 +02:00
Drew Willcoxon 93b5ed4b0c Bug 612453 - Provide search suggestions on Firefox Start Page (about:home) (part 1, SearchSuggestionController). r=MattN 2014-08-01 11:57:20 -07:00
Paolo Amadini 2d0a634cff Bug 1040721 - The search service should provide details for parsing search result URLs. r=gavin 2014-07-31 15:57:02 +01:00
Matthew Noorenberghe d24690ac2a Bug 1007979 - Refactor nsSearchSuggestions into a reusable JSM. r=adw
Original JSM by mconnor.
2014-07-29 11:28:35 -07:00
Carsten "Tomcat" Book f5467a33ec Backed out changeset bc27aaabefa8 (bug 1007979) for XPCshell Test failures 2014-07-29 14:44:31 +02:00
Matthew Noorenberghe e54db2f0fa Bug 1007979 - Refactor nsSearchSuggestions into a reusable JSM. r=adw
Original JSM by mconnor.
2014-07-28 16:59:00 +02:00
Richard Newman bce02b3a15 Bug 1043627 - Only re-initialize nsSearchService on locale change in Fennec. r=adw 2014-07-25 11:34:23 -07:00
Paolo Amadini 407761efa7 Bug 1041534 - Refactor search tests to remove some code duplication. r=MattN 2014-07-25 10:28:45 +01:00
Richard Newman f704f37465 Bug 1018240 - Part 1: reinitialize nsSearchService when the browser locale changes. r=adw
This patch makes nsSearchService watch for changes in the
general.useragent.locale pref, asynchronously reiniting itself when the pref
changes.

reinit-complete and reinit-failed events are broadcast on the usual search
service topic.
2014-07-21 10:54:55 -07:00
Mike Connor 584e14f367 Bug 1006103 - add speculativeConnect() method to search engines, API + browser change, r=gavin
* * *
bug 1006103 - use speculativeConnect() method on nsISearchEngine in Fennec, r=margaret

--HG--
extra : rebase_source : 63739b6a876b373945ccf8b326a42150a5bb3cef
2014-05-06 12:47:22 -04:00
David Rajchenbach-Teller 7193d2912a Bug 1034975 - Search Service depends on OS.File, not on profileBeforeChange. r=mossop 2014-07-06 12:09:00 +02:00
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Roberto A. Vitillo 426f09dacc Bug 988023 - Telemetry on how often we hit search service synchronous fallback. r=gavin 2014-05-14 05:36:00 -04:00
Birunthan Mohanathas 647a167d5e Bug 1003109 - Replace TaskUtils.spawn with Task.spawn. r=Yoric 2014-04-30 08:17:00 -04:00
Roberto A. Vitillo 9fe5a4bbe7 Bug 785487 - Have AboutHomeUtils use the asynchronous search service initialization API and adjust browser_aboutHome.js accordingly. r=felipe, r=gavin 2014-04-30 11:33:58 +01:00
Mike Connor 5c29c59501 Bug 999851 - remove topN support from search service, r=gavin
--HG--
extra : rebase_source : 4bce31c2fb6e078aa14ba31a3d06185f884f9ac1
2014-04-24 16:24:36 -04:00
Mike Connor 9612265476 Bug 997432 - log failures when MozParams don't include a condition attribute, r=gavin
--HG--
extra : rebase_source : e1f3712e88265d6e298b47e59e55d7e2feaf2484
2014-04-16 19:35:28 -04:00
Paolo Amadini 935a3ba73e Bug 991750 - Convert remaining legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-04-07 16:18:43 +02:00
Drew Willcoxon de4a077897 Bug 557665 - Allow specifying SearchForm as a normal <Url> in engine description files (part 2, tests). r=gavin 2014-03-24 20:41:15 -07:00
Gavin Sharp c0c539b182 Bug 557665 - Allow specifying SearchForm as a normal <Url> in engine description files (part 1, main patch). r=adw 2010-04-01 22:51:26 -04:00
Marco Bonardo fb58538bf3 Bug 959576 - Create a component to get the list of priority domains. r=gavin 2014-03-22 14:24:36 +01:00
Gregory Szorc afdb724edf Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Steven MacLeod f13fe4da26 Bug 943571 - Introduce a test for invalid engine files loaded from a dir. r=gavin 2013-12-11 14:15:16 -05:00
Paolo Amadini 44cf767a29 Bug 940408 - Rework DeferredTask to allow asynchronous tasks and support AsyncShutdown. r=Mossop 2013-12-03 13:21:08 +01:00
Carsten "Tomcat" Book b3c508ce3e Backed out changeset 295b75fac0c8 (bug 940408) for test failures in B2g Desktop Linux & B2G ICS Emulator Opt 2013-12-03 12:53:27 +01:00
Paolo Amadini fb18739bb4 Bug 940408 - Rework DeferredTask to allow asynchronous tasks and support AsyncShutdown. r=Mossop 2013-12-03 10:15:22 +01:00
Mike Hommey 8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey 682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00