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

163 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 3966840fb0 Bug 1316348 - Make eraseEverything notify for removals within the top-level bookmarks folders to ensure correct updates on the UI. r=mak
MozReview-Commit-ID: 2bt24qqOd4S

--HG--
extra : rebase_source : b6a5ee35e535655ecc249953de532645f40ddc8d
2017-08-23 15:54:36 +01:00
sellsellgo 54fa77007d Bug 1347452 - Assigned item.guid using PlacesUtils.history.makeGuid() in insertBookmark(). r=mak
MozReview-Commit-ID: LgVFlgNEzHf

--HG--
extra : rebase_source : 2aa9f76bae35842c07bf062f2f4da8c084eed30e
2017-08-17 09:50:25 +02:00
Kit Cambridge 674b6aad46 Bug 1389716 - `Bookmarks.reorder` shouldn't call `withConnectionWrapper` from within a transaction. r=mak
MozReview-Commit-ID: A6aMesfFcpF

--HG--
extra : rebase_source : f15465df235a0e1ce22feac62add454ff75104a9
2017-08-11 19:02:48 -07:00
Kit Cambridge 18e2c40fe8 Bug 1380718 - Include the operation name in bookmark validation errors. r=mak
MozReview-Commit-ID: H4vp6ZULSq7

--HG--
extra : rebase_source : a3bb16fd51700d9de0d31bf574a82e5ce4dfca94
2017-07-13 10:09:49 -07:00
Mayank Srivastav a78d4768e0 Bug 1354032 - Remove Places analyze call and use PRAGMA optimize(0x02) for optimizations. r=mak
MozReview-Commit-ID: AOkh3vOKD4E

--HG--
extra : rebase_source : a8a02b6fc4e5bc607f04c10192edef78f1109749
2017-05-30 19:14:39 +05:30
Sebastian Hengst 86c27b0a76 Backed out changeset 03b8979ccf32 (bug 1354032) for failing database-related mochitests, e.g. browser/components/resistfingerprinting/test/mochitest/test_geolocation.html. r=backout on a CLOSED TREE 2017-07-15 15:51:28 +02:00
Mayank Srivastav 1404e8bc7e Bug 1354032 - Remove Places analyze call and use PRAGMA optimize(0x02) for optimizations. r=mak
MozReview-Commit-ID: AOkh3vOKD4E

--HG--
extra : rebase_source : 90f13425b7d5aec779787612781c2a49dd005037
2017-05-30 19:14:39 +05:30
Kit Cambridge 8311a354e2 Bug 1379798 - Ensure `insertTree` notifies observers with the correct parent ID. r=standard8
MozReview-Commit-ID: LBm8VddumPJ

--HG--
extra : rebase_source : 6c1624a408843afe64f7efab24704502034bee9d
2017-07-10 14:38:21 -07:00
Mark Banner 35f3666937 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr

--HG--
extra : rebase_source : 74ba4c10e369067629af95bf705a9acd0df1089b
2017-07-11 22:49:55 +01:00
Marco Bonardo d3bad38937 Bug 1376929 - Fix places-related mochitests in chrome/ for async-transactions. r=standard8
MozReview-Commit-ID: ILrvOGzu1zo

--HG--
extra : rebase_source : de00f7f734711e2d2c8521626ad8857ab858bb97
2017-07-03 15:46:56 +02:00
Kit Cambridge 31ccf3dc94 Bug 1360872 - Return empty strings for `null` bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : 963b09955610d099b1acb508472a2a3c24202d73
2017-06-06 14:37:22 -07:00
Sebastian Hengst acb0601c26 Backed out changeset d7e7ced3622f (bug 1360872) for failing xpcshell's test_async_transactions.js | test_creating_and_removing_a_separator, at least on OS X. r=backout 2017-06-30 19:29:17 +02:00
Kit Cambridge c1537b7958 Bug 1360872 - Return empty strings for `null` bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : 8b09ca049f0891cfc3a909f7b7d2807511586b48
2017-06-06 14:37:22 -07:00
Marco Bonardo ext:(%20%3Cmbonardo%40mozilla.com%3E) a2c238b900 Bug 1095425 - Convert PlacesTransactions to the new Bookmarks.jsm API. r=standard8
MozReview-Commit-ID: 12pPCGmzV4X

--HG--
extra : rebase_source : 1f8a73a5e84f34cd683abfba854c8413b0cd49b8
2015-04-28 15:19:43 +03:00
Sebastian Hengst 2cfb02f19d Backed out changeset c0fd6c0590be (bug 1360872) for unused parentId at toolkit/components/places/Bookmarks.jsm:461. r=backout 2017-06-30 00:16:35 +02:00
Kit Cambridge e80441db92 Bug 1360872 - Return empty strings for `null` bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : bea2d2589b2a09ba70a5c8e2b50ceee21acf3f0b
2017-06-06 14:37:22 -07:00
Mark Banner 333108d7f0 Bug 1376232 - When updating date added the async Bookmarks.update API should also change the last modified date. r=mak
MozReview-Commit-ID: BGiT1w8BVlq

--HG--
extra : rebase_source : 65525014511d46491d6b7d3294260fb65f9cae40
2017-06-25 20:17:12 +01:00
Carsten "Tomcat" Book 259377b6ab merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
Florian Quèze 721c3ada5e Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Hemant Singh Patwal fc015fcb0b Bug 1276128 - Convert xpcshell-tests in toolkit/components/places/tests/bookmarks/test_393498.js to Bookmarks.jsm API. r=standard8
MozReview-Commit-ID: 8KdFVQ7zx1w

--HG--
extra : rebase_source : 1951012f2764d7677dd814889edc4665aece7aa4
2017-06-23 18:15:41 +05:30
Wes Kocher c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Paolo Amadini 10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Mark Banner d030707609 Bug 1095426 - Convert JSON backups code to the new async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: FNZZGwWVSI2

--HG--
extra : rebase_source : dacb3c5ddb439d074c66e0baaa7e73044c5dcd46
2017-05-12 08:04:51 +01:00
Rajesh Kathiriya fafb858b26 Bug 1370225 - Enabled the ESLint comma-style rule across mozilla-central. r=standard8
MozReview-Commit-ID: 9OhLgBpYS4L

--HG--
extra : rebase_source : 5155e715934e7acd2ffadb4856eb91f481cbf56c
2017-06-15 18:24:17 +01:00
Sebastian Hengst 7ca69ab78f Backed out changeset 4c465fe2d7c9 (bug 1095426) 2017-06-16 19:12:18 +02:00
Mark Banner 58d6c1fe85 Bug 1095426 - Convert JSON backups code to the new async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: FNZZGwWVSI2

--HG--
extra : rebase_source : d7f378ad2e5a589b859da7c7e3f21d9b6a985d95
2017-05-12 08:04:51 +01:00
Mark Banner 3309e57749 Bug 1372496 - Speed up bookmarks.eraseEverything and bookmarks.remove APIs by handling updating of frencencies outside of the main transaction. r=mak
MozReview-Commit-ID: FuSLHB23yNt

--HG--
extra : rebase_source : 8b08d11ba04845711335ac72d1974c93705b67bd
2017-06-15 11:38:22 +01:00
Mark Banner b6aa574795 Bug 1372936 - onManyFrecenciesChanged doesn't get notified for the new Bookmarks eraseEverything and remove APIs. r=mak
MozReview-Commit-ID: sEsJmfaIHk

--HG--
extra : rebase_source : 4f80e2df4f78d6c2f8f50a5557bb5897c943d5ca
2017-06-14 16:07:45 +01:00
Mark Banner 88e3da2709 Bug 1366829 - Fix various 'undefined property' errors raised in places tests. r=mak
MozReview-Commit-ID: FaTSwf5QMnr

--HG--
extra : rebase_source : 554ad672bea96fff766187732347ade612ddcc06
2017-05-22 18:28:39 +01:00
Marco Bonardo bac23ee9cb Bug 1364488 - Allow fetch to use a concurrent connection. r=standard8
MozReview-Commit-ID: 4L4PFtXsjsy

--HG--
extra : rebase_source : f12cbc4f9f6bb5cf9fc791c1c44978c98e3ca325
2017-05-17 15:51:02 +02:00
Marco Bonardo c8f2a10f2c Bug 1364488 - Recover from a Talos regression due to recent changes to the Star button. r=standard8
The main reason for these changes is to avoid initializing the bookmarks service too early,
plus a lot of micro-optimizations to reduce the code-bloat compared to the previous bogus
(but slick) async getter.

MozReview-Commit-ID: Fy4fshsDaIw

--HG--
extra : rebase_source : 3ad245e932e718ee5ca1fa8da4df8a0f8efd3f0b
2017-05-15 19:32:47 +02:00
Florian Quèze 1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze 16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02: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
Marco Bonardo 5292f017eb Bug 1343256 - Bookmark keywords disappear from one bookmark when adding a keyword to another bookmark. r=standard8
MozReview-Commit-ID: Av8pDQi6Yyp

--HG--
extra : rebase_source : e2b4c5e2bd9baa8a30717c010bc63fb1ef2ae12c
2017-04-29 15:15:06 +02:00
Bob Silverberg 0c4c482352 Bug 1358127 - Fix bookmarks.search so it doesn't return the contents of tag folders, r=mak
Also fix bookmarks.search so it doesn't return separators.

MozReview-Commit-ID: 18tkepk72f8

--HG--
extra : rebase_source : c1b713e6fb4e479df710bbc244e781a3bd4de48d
2017-04-24 09:04:59 -04:00
Gijs Kruitbosch ac23792aa3 Bug 1346979 - optimize Bookmarks.jsm's updateFrecency, r=mak
MozReview-Commit-ID: GN35Ec0Nn8f

--HG--
extra : rebase_source : f9050559b0421638639fe0fd37095a2e1e69395d
2017-03-27 15:34:14 +01:00
tiago 7070fa0cb7 Bug 1347248 - Change "nonexistent" for null and query to use CASE WHEN r=mak
MozReview-Commit-ID: I41bOputlIq

--HG--
extra : rebase_source : ddf42e571c34313aa4dca8838dacf801fbfbfe93
2017-03-20 02:03:02 +01:00
Gijs Kruitbosch cada9e9798 Bug 1344282 - add an insertTree API to Bookmarks.jsm, r=mak
MozReview-Commit-ID: 11kDAF4uo1u

--HG--
extra : rebase_source : ad27258510c68bf6d6eec79ce747b6b9331d41aa
2017-03-13 23:45:43 +00:00
Thom Chiovoloni 577f26289e Bug 676563 - Add dateAdded field to synced bookmarks r=markh,rnewman
MozReview-Commit-ID: 5dxoTGrypqm

--HG--
extra : rebase_source : 94af07afc4c0ae2faccc33247fa8f2df91683cce
2017-01-17 14:45:08 -05:00
Bob Silverberg b958022605 Bug 1341541 - WebExtensions bookmarks.getRecent() results include raw tag objects, r=mak,mixedpuppy
MozReview-Commit-ID: 8FabO0eoktP

--HG--
extra : rebase_source : 513999541506b803a4816aa81bd8df978934579b
2017-02-28 08:44:43 -05:00
Thom Chiovoloni 7c72786873 Bug 1324503 - Avoid reordering bookmark folders unnecessarially during sync r=kitcambridge,mak
This makes two changes:

1. when possible, we avoid reordering all-together.
2. when we must reorder, we fall back to the current order for items that we
   don't have a specified order for (previously this was unspecified).

MozReview-Commit-ID: JgbajK7NDb9

--HG--
extra : rebase_source : b8995defae6c52a8b0d6cc975a91e127fbf04d7b
2017-01-26 16:16:17 -05:00
Edouard Oger a8af04a2b5 Bug 1228827 - Sync correctly the bookmark separators positions. r=kitcambridge
MozReview-Commit-ID: 9nvZqIt2Xgu

--HG--
extra : rebase_source : 4329ef6f8ac1b9f043043bff194a33d3df5f092f
2017-01-26 17:41:12 -05:00
Mark Hammond b42f75a10a Bug 1333304 - fix reordering an empty folder when missing children are specified. r=mak
MozReview-Commit-ID: CpbpnO7WLgR

--HG--
extra : rebase_source : 12069cdf1284f051aca77ef2620722267c79a185
2017-01-24 14:51:39 +11: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
Jared Wein f64146d9d7 Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS

--HG--
extra : rebase_source : a905658829084d3a4018df81f51bb210ef1e645b
2017-01-05 16:43:29 -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
Kit Cambridge 4c26a7b758 Bug 1258127 - Move bookmark deletion logic into `PlacesSyncUtils.bookmarks.remove`. r=tcsc
This patch moves most of `BookmarksStore::deletePending` and
`BookmarksStore::_shouldReviveRemotelyDeletedRecord` into
`PlacesSyncUtils.bookmarks.remove` and `touch`, respectively. Both
methods use the same approach as `PlacesSyncUtils.bookmarks.dedupe` to
amend the `_modified` changeset with new change records.

We use the new `SYNC_REPARENT_REMOVED_FOLDER_CHILDREN` change source to
bump the change counters for the reparented items and their new
parents, without bumping the score and triggering extra syncs.

MozReview-Commit-ID: 1SZvygWNkgL

--HG--
extra : rebase_source : 97fdac6ccb0d0326a3da7e42259dc6a961994ac3
2016-11-17 15:07:14 -08:00
Kit Cambridge 9c2720e1f0 Bug 1258127 - Update `Bookmarks.jsm` (JS) to track sync changes. r=mak,rnewman
MozReview-Commit-ID: ItXlDKIUyYs

--HG--
extra : rebase_source : 6061b357eefa74885d22ec8b7962da228292a959
2016-11-20 09:57:14 -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
Mark Banner 257c1b72db Bug 1315951 - Enable no-unused-vars for toolkit/components/places. r=mak
MozReview-Commit-ID: C3IW79fWSSa

--HG--
extra : rebase_source : 0461940fead1dfc50f39beaeb664c111cf2db4d3
2016-11-08 13:54:20 +00:00
Tom Schuster cdf4b653b0 Bug 1221764 - Implement simple chrome.bookmarks events, r=aswan,mak
MozReview-Commit-ID: LWbhYf8CpZD

--HG--
extra : rebase_source : 74e11b9787ef151640aa5ff13024e62c40ddc476
2016-08-17 10:22:10 -04:00
Jared Wein 87b2d4c295 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY

--HG--
extra : rebase_source : 2f05e2f275ac7f293f9c650bdec8943189e3ce01
2016-11-03 14:42:06 -04:00
Kit Cambridge b3d33fe7a3 Bug 1314179 - Ensure `PlacesSyncUtils.bookmarks.remove` passes the correct source to observers. r=markh
MozReview-Commit-ID: 8uuwh1DTlo2

--HG--
extra : rebase_source : 8e170b62da3b36c4d0fcf91b0aaf5cae56c45296
2016-10-31 16:44:56 -07:00
Jared Wein 5040f17e00 Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6

--HG--
extra : rebase_source : 9c8a6b15c19982d720b0163fbbf19d465da786fe
2016-10-24 13:14:19 -04:00
Kit Cambridge bd8b26cc15 Bug 1310554 - Simplify `BookmarkSyncUtils.order` and use map lookups in `Bookmarks.reorder`. r=mak
Bug 1293365 fixed the query in `Bookmarks.reorder` to leave missing
entries in place, instead of moving them to the end of the folder. It
also correctly ignores nonexistent children, so we can
remove all the extra logic in `PlacesSyncUtils`.

We can also use a map instead of two linear searches to look up
indices in the `Bookmarks.reorder` sorting function. This reduces the
time to sort an array of 10k children from 30 seconds to less than a
second on my dev machine.

MozReview-Commit-ID: G9vuC12JXq4

--HG--
extra : rebase_source : 402e55b44f43a672d847f1f457bcb3538819e341
2016-10-19 19:06:34 -07:00
Kit Cambridge 14321604da Bug 1302901 - Create a Places mobile bookmarks root. r=mak
MozReview-Commit-ID: IESvIHCM2fK

--HG--
extra : rebase_source : 14db95c76cc8286380d80ef5717151bbd90532bd
2016-09-29 13:44:08 -07:00
Marco Bonardo 0709e17ae8 Bug 1293365 - PlacesUtils.bookmarks.reorder can introduce holes when reordering. r=kitcambridge
MozReview-Commit-ID: Gt1UVykwvQz

--HG--
extra : rebase_source : db13745bd66d2a10c6c8ccde589a3b786de68a8b
2016-08-31 11:37:09 +02:00
Marco Bonardo afb0a9831b Bug 1297941 - eraseEverything may send notifications in the wrong order, causing an invalid GuidHelper cache. r=kcambridge
MozReview-Commit-ID: EolOzGkLbg9

--HG--
extra : rebase_source : 89fcc1ee1b2b1aec2105b5022087df6d77530b0a
extra : amend_source : 3b72c9d90363458ebd4744713230a5f167ea09b2
2016-08-25 10:41:36 +10:00
Kit Cambridge 2aee7885cb Bug 1285408 - Add change source tracking for bookmarks. r=markh
MozReview-Commit-ID: I6IWhMWR1bG

--HG--
extra : rebase_source : b331e448871e44ee51923b4c512e0b8ad4206cd4
2016-08-11 13:13:22 -07:00
Kit Cambridge 5ea0848791 Bug 1274108 - Add a `PlacesSyncUtils` module. r=markh
MozReview-Commit-ID: LTVr3si0zrB

--HG--
extra : rebase_source : cabb31bd5a3d3438c1d7e357568733a55843757f
2016-08-10 12:54:45 -07:00
Jared Wein fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Marco Bonardo 3837320431 Bug 889561 - Reduce the size of places.sqlite by removing the url unique index from moz_places. r=adw
MozReview-Commit-ID: 2kxaXnUYIwT

--HG--
extra : rebase_source : bbcaf85a0346b5347fc94053b4f193e4b89f2995
2016-06-29 14:47:36 +02:00
Carsten "Tomcat" Book a982df321d Backed out changeset ceff61c9fc5a (bug 889561) for frequent testfailures on pgo in /bookmarks/test_
--HG--
extra : rebase_source : 84d364e67739738da807b9d83c3338ebd8a086a6
2016-06-29 13:54:51 +02:00
Carsten "Tomcat" Book 240522d713 Backed out changeset 07e1f152fe92 (bug 889561)
--HG--
extra : rebase_source : 3a47c38af09d894dfd44702f14c80e97d25c7c06
2016-06-29 13:54:31 +02:00
Marco Bonardo 8355107fb5 Bug 889561 - followup - Missing changes to Bookmarks.jsm. r=post-facto
--HG--
extra : rebase_source : 95b2c5d6f4cfd64ac0fc23914c5d795aa292ac55
2016-06-28 15:18:32 +02:00
Marco Bonardo 67c3ad7930 Bug 889561 - Reduce the size of places.sqlite by removing the url unique index from moz_places. r=adw
MozReview-Commit-ID: 2kxaXnUYIwT

--HG--
extra : rebase_source : e03928033aa795c9a1cdb34d4f4618b0eb1d6890
2016-06-20 13:22:10 +02:00
Bob Silverberg 77cec8a034 Bug 1265836 - Part 3: Implement insert and insertMany in History.jsm. r=mak
MozReview-Commit-ID: GmXVDPuULtq

--HG--
extra : transplant_source : %02%AB%9DZ%8F%E8ER%AE%2A%7E%A3L%89%DC%11g7%DF%C4
2016-05-13 11:09:06 -04:00
Sebastian Hengst 6db8ea83db Backed out changeset 548660e408d0 (bug 1265836) 2016-05-26 10:32:33 +02:00
Bob Silverberg 3d51a962e2 Bug 1265836 - Part 3: Implement insert and insertMany in History.jsm. r=mak
MozReview-Commit-ID: GmXVDPuULtq

--HG--
extra : transplant_source : %23%E5%06%F2%91%B65e%0C.%DE%A2%F5l%99%BC7%D2e%11
2016-05-13 11:09:06 -04:00
Bob Silverberg d1b3610302 Bug 1260743 - Searching by the url doesn't work. r=aswan, mak
MozReview-Commit-ID: DcqZlwbxsxg
2016-05-11 08:19:22 -04:00
bsilverberg 2ba8c54467 Bug 1253652 - Fix browser.bookmarks.move() and add tests for it. r=kmag, r=mak
Update Bookmarks.update to not require a parentGuid when updating just the index.

MozReview-Commit-ID: JJO2IDyI5oN

--HG--
extra : rebase_source : 390d6c80f034f01cc419b1c2c3c9a93722fa1c59
2016-03-09 09:30:43 -05:00
bsilverberg e9211fc397 Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
MozReview-Commit-ID: HyjJrEjcsZu

--HG--
extra : source : 3646fe906d7ede02b09b2af815c2d96f0a9d6094
2016-03-03 08:00:42 -05:00
Kit Cambridge 5d8590bae1 Back out changeset a67f0b208af6 (bug 1252250) for merge conflicts.
MozReview-Commit-ID: IQzGkqThQzG

--HG--
extra : rebase_source : f59f5d9e9bef582881aefb54a5e8a1d6ec3ddb71
2016-03-04 14:46:15 -08:00
bsilverberg d2ee0f20a2 Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
MozReview-Commit-ID: HyjJrEjcsZu

--HG--
extra : rebase_source : 0e4f44b20a1c4afe0222d2e456399ae3f8b93124
2016-03-04 11:02:28 -08:00
bsilverberg ccaa30638a Bug 1251269 - Implement browser.bookmarks.getRecent(), r=kmag r=mak
MozReview-Commit-ID: 7nYCplcQZuk

--HG--
rename : toolkit/components/places/tests/bookmarks/test_bookmarks_search.js => toolkit/components/places/tests/bookmarks/test_bookmarks_getRecent.js
extra : rebase_source : a5ad83c83a6cb5c3c21d14f8faac5774a5d748e8
2016-03-03 08:07:16 -05:00
Johann Hofmann 4d2291640d Bug 1225743 - Implement chrome.bookmarks.search. r=mak 2015-11-24 17:40:08 +01:00
Carsten "Tomcat" Book 40c8a880c4 Backed out changeset 9802a7367d48 (bug 1225743) for ES failures 2016-02-12 12:16:19 +01:00
Johann Hofmann cb09799b68 Bug 1225743 - Implement chrome.bookmarks.search
--HG--
extra : commitid : FoEz268aSjP
2015-11-24 17:40:08 +01:00
Dave Townsend aad445ae43 Bug 1245649: Enable no-nested-ternary. r=mconley
--HG--
extra : commitid : 197imYXFNid
extra : rebase_source : ce71773fbd8f57118ba30ab395524d9200c42162
2016-02-03 21:17:16 -08:00
Dave Townsend 0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Dave Townsend 541b00204a Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
--HG--
extra : commitid : DrYPQokQp9O
extra : rebase_source : e0bacf124280ecdbeccfc34dbf66fd80f5a9d296
2016-02-03 13:12:18 -08:00
simplyblue 34af26c5b6 Bug 1228976 - Remove array comprehensions from Places .r=mak 2015-12-03 16:26:58 +05:30
Hassen ben tanfous 45492f28fb Bug 1074804 - Replace arrays .indexOf with .includes in Places. r=mak 2015-10-11 20:24:32 +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
Marco Bonardo ddb1ecd87c Bug 1150678 - Part 1: notify the old value in onItemChanged (only URI changes for now). r=ttaubert
--HG--
extra : commitid : KYeXHLc1S0W
2015-08-05 23:10:11 +02:00
Wes Kocher c906ee5d44 Backed out 2 changesets (bug 1150678) for xpcshell bustage
Backed out changeset 1c24d237080c (bug 1150678)
Backed out changeset 9f1f1e11ca37 (bug 1150678)
2015-08-05 16:24:58 -07:00
Marco Bonardo 0aae79f32c Bug 1150678 - Part 1: notify the old value in onItemChanged (only URI changes for now). r=ttaubert
--HG--
extra : commitid : L3Sje2jJyiY
2015-08-05 23:10:11 +02:00
David Rajchenbach-Teller 38a8ed9399 Bug 1043863 - Use AsyncShutdown to shutdown Places. r=mak
--HG--
extra : rebase_source : 3a593651ac1fc995e01d00af037aaac8b81c7c32
2015-05-05 12:44:16 +02:00
Ryan VanderMeulen 994a9a8830 Backed out changesets ddad4d54c31e and ef85fdfd2fc7 (bug 1043863) for making browser_thumbnails_storage.js permafail on WinXP opt. 2015-05-26 14:05:18 -04:00
David Rajchenbach-Teller 58f0e147c3 Bug 1043863 - Use AsyncShutdown to shutdown Places. r=mak
--HG--
extra : transplant_source : 0%06m%9A%9D%9C.%CD%EB%D4%AC%93%90%B2%AB%DB%8B%18%9B%13
2015-05-05 12:44:16 +02:00
Marco Bonardo b97d610763 Bug 1094900 - Livemarks service should use the new Bookmarks.jsm. r=ttaubert 2015-04-25 10:51:48 +02:00
Marco Bonardo 05596be753 Bug 1125115 - Write a new keywords pseudo-API in PlacesUtils. r=ttaubert 2015-03-20 09:39:25 +01:00
Tim Taubert 7f5745cc9d Bug 1127277 - Default to TYPE_BOOKMARK when no type is given for Bookmarks.insert() r=mak 2015-03-11 14:54:05 +01:00
Marco Bonardo a80de46c11 Bug 1125116 - Remove keywords support from Bookmarks.jsm. r=ttaubert 2015-02-09 17:10:19 +01:00
Tim Taubert 85161fdf1a Bug 1125374 - Let Bookmarks.fetch() support DEFAULT_INDEX r=mak 2015-01-23 23:13:47 +01:00
Marco Bonardo 7b98d880fd Bug 1081108 - Implement reorder in Bookmarks.jsm. r=Mano
--HG--
extra : rebase_source : d9327202388828855c8579646ace390887eadaf6
2014-12-30 21:33:14 +01:00
Asaf Romano 908c8f81e1 Bug 1110101 - Bookmarks.remove doesn't remove folder contents properly. r=mak. 2014-12-12 13:02:05 +02:00