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

83 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Doug Thayer b3eef35a05 Bug 1421703 - replace onVisit with onVisits r=mak
There's a heavy enough overhead to going through XPConnect for
every observer for every visit on the nsINavHistoryObserver
interface, so this patch reduces that by replacing the single-
visit notification with one which accepts an array of visits.

Some notes: To avoid problems with the orderings of the various
ways in which we notify about visits, we have to send our bulk
onVisits notification before doing any of the others. This does
mean it technically behaves slightly different than the prior
approach of interleaving the notifications, but I can't find any
way in which this has any consequences to the end result, and it
doesn't break any tests.

MozReview-Commit-ID: GdeooH8mCkg

--HG--
extra : rebase_source : 48b5f886c4650a756e70f4657cb9d62c8ce40f74
2017-12-20 14:27:24 -08:00
Ed Lee cf71bbf47e Bug 1415812 - Fix broken Pocket disclaimer, missing rich icons and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: CAHA3b13jCE

--HG--
extra : rebase_source : a147b717fe2915c20d6e4e1e8f752769295331e7
2017-11-15 12:27:46 -08:00
Mark Banner 0e947c9d32 Bug 1411891 - Improve the performance of deleting bookmarks with async transactions. r=mak
MozReview-Commit-ID: GL9nKfypie1

--HG--
extra : rebase_source : 5cd1c4d848dc32611349e25eb7297ba50890f0a9
2017-10-26 10:14:14 +01:00
Mike de Boer cd5f71abe4 Bug 1120110 - Consistently save pages bookmarked using 'Bookmark This Page' anywhere into the 'Other Bookmarks' folder. r=mak
Since we're not passing an optional parent folder around anymore, this patch also
removes PlacesCommandHook.bookmarkCurrentPage() in favor of a simplified
PlacesCommandHook.bookmarkPage() signature.

MozReview-Commit-ID: HmzwmATgQyw

--HG--
extra : rebase_source : 384e7dba2ab58b212273d39bf6344424a9841e4f
2017-10-23 14:10:04 +02:00
Dan Banner 7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Ed Lee 51d90f6caa Bug 1401316 - Use favicon from either https or http version of the page. r=ursula
MozReview-Commit-ID: 3W3OUu0gffH

--HG--
extra : rebase_source : be7a2f73c4a29032e4b3e8506e863434c04e8e47
2017-09-19 12:51:47 -07:00
Sebastian Hengst 6a9067d75f Backed out changeset 26f9c5c3f434 (bug 1401316) for failing xpcshell's toolkit/modules/tests/xpcshell/test_NewTabUtils.js. r=backout 2017-09-19 23:42:24 +02:00
Ed Lee 65f8a0f73b Bug 1401316 - Use favicon from either https or http version of the page. r=ursula
MozReview-Commit-ID: 3W3OUu0gffH

--HG--
extra : rebase_source : 6ef0834840b54c3da3268114729b42a39de8e09e
2017-09-19 12:51:47 -07:00
Mike de Boer 9cb7adbcfc Bug 1354536 - Part 2 - Add an option to ActivityStreamLinks.getHighlights() to allow results to be returned including favicons. r=Mardak
MozReview-Commit-ID: 5NCTCtooScy

--HG--
extra : rebase_source : b01f5e74b29d43fc8635919f1618e0cf2980b85b
2017-09-19 16:17:09 +02:00
Ursula Sarracini f6077dace1 Bug 1396104 - Use rich icons when getting top sites r=Mardak
MozReview-Commit-ID: IMv0osslTS3

--HG--
extra : rebase_source : d3b40e5be01ffdeab85415e60bd269b8b394769f
2017-09-08 15:28:39 -04:00
Ed Lee 0d6e05576c Bug 1396282 - Add query for getting Highlights (recent bookmarks and recent history with metadata). r=mak
Adds index to moz_bookmarks.dateAdded for use by Highlights query for recent bookmarks.
MozReview-Commit-ID: 7Gs8H0kUij2

--HG--
extra : rebase_source : 23498bcde4faeeb116c534dc9e124429a86d3e14
2017-09-02 13:15:04 -07:00
Ed Lee 85b1aa47dd Bug 1389125 - Refactor ActivityStreamProvider in preparation for Highlights. r=ursula
Add helpers for shared adjusting limit, bookmarkGuid sub-SELECT, WHERE and params. More efficiently select https and correctly select bookmarks. Remove _addETLD, getHistorySize and getBookmarksSize. Allow for activity stream caller to customize more options.

MozReview-Commit-ID: Lj9AhoFJar

--HG--
extra : rebase_source : fb4bb13969b47c28c1a137075304efb23c254182
2017-09-02 13:13:52 -07:00
Ursula Sarracini 79bf23d9a1 Bug 1395203 - Unable to delete from history if a top site is pinned r=Mardak
MozReview-Commit-ID: 23shFz944kh

--HG--
extra : rebase_source : 9204cf185d78dfcad9d79257ca0cbcf82eed5f33
2017-08-30 13:12:15 -04:00
Masatoshi Kimura 35399ee9fc Bug 1392070 - Stop using the StopIteration object in Sqlite.jsm. r=mak
MozReview-Commit-ID: BP3RuM5EweE

--HG--
extra : rebase_source : 1e0a6ba438e51a851013356faf84d8eb91ff78b6
2017-08-19 22:10:44 +09:00
Ursula Sarracini ae69f895c2 Bug 1388863 - Bookmarking a link via Activity Stream context menu should give feedback r=adw
MozReview-Commit-ID: Bd2eed1rX91

--HG--
extra : rebase_source : 5a2cc568e78c04173d463b84647453d2ebdfedef
2017-08-14 16:27:39 -04:00
Ed Lee d1f9f45ab4 Bug 1387694 - Top frecent sites query should dedupe to the more frecent rev_nowww. r=ursula
Refactor the SQL to be extremely fast and push complex logic to JS.
MozReview-Commit-ID: E6707hC9K5D

--HG--
extra : rebase_source : f19e275816f71a9e37b7fec4af35ed60d08bfbff
2017-08-05 01:55:06 -07:00
Ursula Sarracini 3a64151952 Bug 1383720 - Only show http and https sites in Top Sites r=Mardak
MozReview-Commit-ID: 2NNoKO9BJvo

--HG--
extra : rebase_source : 684de92cfb4578454d03fff2643a6de9d6b1f88a
2017-07-27 15:41:56 -04:00
Geoff Lankow 27787d394f Bug 1361899 - Allow extensions to specify provider when calling topSites.get. r=mixedpuppy 2017-05-20 14:06:16 +12:00
Florian Quèze 5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Ed Lee b7eda53134 Bug 1241390 - Remove Suggested Tiles and related features. r=adw,emtwo
Remove suggested and enhanced tiles along with related campaign, frequency-cap, inadjacency, pings, preferences, strings, styles, tests.

MozReview-Commit-ID: FkjaSpSFQHu

--HG--
extra : rebase_source : 1c58ac542180f0abb290639ec1c61b9edf3d0a51
2017-05-02 17:09:16 -07:00
k88hudson 0c020ed6f3 Bug 1361797 - Migrate History/Bookmark observers to system add-on r=ursula
MozReview-Commit-ID: 2qK24pez8MZ

--HG--
extra : rebase_source : eb3e8a7e0b8cf4990bb655e49c6a33021cb095dc
2017-05-03 14:32:47 -04:00
Ursula Sarracini d02542fcae Bug 1345122 - Update NewTabUtils.jsm for Activity Stream's needs r=mak
MozReview-Commit-ID: 3SpJucjKNby

--HG--
extra : rebase_source : 4613cc7c8ab832cbf605d50e385513b6b84a75ee
2017-04-28 10:00:30 -04:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Quèze 9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Florian Quèze cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Gijs Kruitbosch b0f2da2a20 Bug 1341097 - part 3: don't dispatch oodles of titlechanged notifications for new history entries, r=mak
MozReview-Commit-ID: 7jHOcCQ5ZBb

--HG--
extra : rebase_source : 6dff335e78857e7c860ebe7ec6ea415fe0f9e3f6
2017-02-27 18:26:21 +00:00
Jared Wein 43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Gijs Kruitbosch a8ec647c33 Bug 1329457, r=bz,dao
MozReview-Commit-ID: 9WNuDkQnyM0

--HG--
extra : rebase_source : 2e82c422eee1b70e6833be41b41378a3a71e70db
extra : amend_source : c8557f4955ea7a5548842cb9bd31935159f7106e
2017-01-09 16:07:57 +00:00
Florian Quèze 34e970eb9b Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein 9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein 7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Mark Banner 4f94e4bd68 Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
MozReview-Commit-ID: CiIsUjQzp4D

--HG--
extra : rebase_source : 1b98e88673625a52ef82c1fad5d56aec3e2e8e80
2016-11-09 22:06:32 +00:00
Dave Townsend c5bb304fd9 Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm

--HG--
extra : rebase_source : 4073cebbef1694393efe312aaafbdb803adbd304
2016-11-11 15:22:34 -08:00
Dave Townsend 0a2c8f9b78 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ

--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Carsten "Tomcat" Book 363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Maxim Zhilyaev 85fa1a2883 Bug 1196437 - Moving a sponsored tile in newtab breaks various things [r=marcosc] 2015-09-26 13:26:26 -07:00
Tooru Fujisawa 7ff6b0aae3 Bug 1207497 - Part 1: Remove use of expression closure from toolkit/, exept tests. r=Gijs
--HG--
extra : commitid : 7TOGiSg7KEL
extra : rebase_source : e6c1672e9b7e9d18aa4a430051789b5962c0ec14
2015-09-24 21:20:04 +09: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
Yoshi Huang e6070e9062 Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley 2015-08-18 15:01:42 +08:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Mark Hammond 55fb8ade8c Bug 1197098 - have Sync notify history observers of a batch update and have NewTabUtils defer most work until the batch is complete. r=adw 2015-08-25 12:41:08 +10:00
Yoshi Huang de47f4b89f Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley 2015-08-24 01:18:00 -04:00
Maxim Zhilyaev 620576d637 Bug 1145428 - Suggested Tiles pins (becomes a user history tile after end time) [r=adw] 2015-05-22 16:30:21 -07:00
Marina Samuel 45e0d5b96b Bug 1158853 - Replace history tile titles with base domains and include titles as part of tiles. r=adw 2015-05-08 11:17:07 -07:00