Marco Bonardo
2e63b9b6bb
Bug 1371677 - Delay the database connection in the history service as far as possible. r=adw
...
Makes initing Places services cheaper, by delaying the connection creation to the first time
it's actually needed.
Same way, delays reading the bookmark roots at the first time they are requested.
Deprecates the concept of lazy observers, since they are no more needed, we can just use addObserver.
Simplifies the startup path: always sends "places-init-complete" (both as a category and a topic) when
the connection starts and adds a "locked" database state when we can't get a working connection.
Makes PlacesCategoriesStarter register for the new category, since it's cheaper than being a bookmarks
observer.
Fixes a couple race conditions in keywords and expiration due to new startup timings.
Removes a test in test_keywords.js that is no more easily feasible, since it'd requires a pre-build
places.sqlite that should be kept up-to-date at every version.
MozReview-Commit-ID: 6ccPUZ651m0
2017-06-09 18:51:09 +02:00
Rajesh Kathiriya
993895141d
Bug 1370225 - Enabled the ESLint comma-style rule across mozilla-central. r=standard8
...
MozReview-Commit-ID: 9OhLgBpYS4L
2017-06-15 18:24:17 +01:00
milindl
9c3cb28f03
Bug 1368754 - Change NodeHistoryDetailsChanged and NodeURIChanged to be called with old time,access count and uri, r=mak
...
Update interface and all instances where the method is called
to be called with the old values, since the new values are already
there as a part of the node, and thus redundant.
MozReview-Commit-ID: 5pcfJbg9tej
2017-05-30 23:46:59 +05:30
Florian Quèze
50b8c6608d
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
ff53eb9a63
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
Florian Queze
ddf0cda8da
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Sebastian Hengst
4cd95d4a02
Backed out changeset 18d45aa984d6 (bug 1355161)
2017-04-14 23:39:23 +02:00
Florian Queze
35cd8ba883
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
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
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Aman Dwivedi
aec48bf322
Bug 1323685 - Remove workarounds for bug 449811. r=mak
2016-12-22 16:33:28 +05:30
Dave Townsend
e7b1b3284f
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Dave Townsend
12596ced47
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Jared Wein
5edec1c0d9
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
2016-11-03 14:42:06 -04:00
Kit Cambridge
3f2716fd67
Bug 1313941 - Forward change sources in the livemarks service. r=markh
...
MozReview-Commit-ID: 3Q6kj7BitrE
2016-10-30 11:44:11 -07:00
Jared Wein
0c024fa9ca
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
2016-10-24 13:14:19 -04:00
Kit Cambridge
c9599d3a5e
Bug 1285408 - Add change source tracking for bookmarks. r=markh
...
MozReview-Commit-ID: I6IWhMWR1bG
2016-08-11 13:13:22 -07:00
Jared Wein
4518d81cb5
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
2016-08-04 03:28:58 -04:00
Jonathan Hao
2a932ab0e2
Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
...
MozReview-Commit-ID: Frx0CjBzuve
2016-05-24 18:01:34 +08:00
Christoph Kerschbaumer
09f4edcc07
Bug 1263823 - Allow cross origin redirects for livemarks. r=sicking
2016-04-14 11:20:47 +02:00
Christoph Kerschbaumer
4ca6b93636
Bug 1242857 - Use channel.asyncOpen2() within toolkit/components/places. r=sicking, r=mak
2016-03-18 10:58:58 -07:00
Tooru Fujisawa
afbd2956bc
Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
2015-09-24 20:32:23 +09:00
Tooru Fujisawa
3d13712ac2
Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure
2015-09-27 23:42:50 +09:00
Tooru Fujisawa
f2efd2a948
Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
2015-09-24 20:32:23 +09:00
Marco Bonardo
ae14cf3360
Bug 1182046 - undeclared variables in nsLivemarkService.js. r=ttaubert
2015-09-07 23:07:22 +02:00
Yoshi Huang
d2b4917583
Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley
2015-08-18 15:01:42 +08:00
Bobby Holley
d12b79b75a
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Yoshi Huang
431a4ee3e8
Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley
2015-08-24 01:18:00 -04:00
Christoph Kerschbaumer
f4af4abdb2
Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan)
2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book
24bab71afa
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
a7a204019a
Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan)
2015-08-05 12:58:05 -07:00
Asaf Romano
a6800e3f80
Bug 1158887 - Intermittent test_async_transactions.js. r=mak
2015-05-29 12:36:52 +02:00
Marco Bonardo
e630d0e4ec
Bug 1159346 - Existing livemarks are broken. r=ttaubert
2015-04-29 10:57:20 +02:00
Marco Bonardo
afc83382c7
Bug 1094900 - Livemarks service should use the new Bookmarks.jsm. r=ttaubert
2015-04-25 10:51:48 +02:00
Chirag Bhatia
29f6153054
Bug 901952 - RSS live bookmark history should get updated after Recent history is cleared. r=mak
2015-03-28 08:33:00 -04:00
Christoph Kerschbaumer
cd6e68ff0c
Bug 1126004 - Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/places (r=mak)
2015-02-06 13:54:35 -08:00
Asaf Romano
f24659faff
Bug 1098296 - addLivemark should take a dateAdded input property. r=mak
2014-11-25 14:34:20 +02:00
Asaf Romano
fbed712ada
Bug 1068671 - folderReadOnly doesn't pertain to bookmarks or results. r=mak
2014-10-14 17:03:28 +03:00
Carsten "Tomcat" Book
720b2367b9
Backed out changeset b30d47d94a85 (bug 1068671) for bc1 test failures
2014-10-01 13:14:06 +02:00
Asaf Romano
ce0d37a700
Bug 1068671 - Remove 'read-only' folders support from places. r=mak
2014-10-01 12:19:06 +03:00
Michael Pruett
47bce23681
Bug 1057782 - Use template strings for multi-line SQL statements. r=ttaubert
2014-08-23 18:12:43 -05:00
Asaf Romano
fdf038d4fa
Bug 1015633 - Use the shared asynchronous db connection in nsLivemarksService. r=mak.
2014-05-27 15:26:22 +03:00
Marco Bonardo
fd265057ac
Bug 969318 - Mute "A promise chain failed to handle a rejection" error from the livemarks service. r=mano
2014-03-12 16:24:23 +01:00
Asaf Romano
37fb66b095
Bug 891303 - New Places Async Transaction manager (backend part. affects nothing for now). r=mak. sr=gavin
2014-03-12 14:12:15 +02:00
Asaf Romano
76366d9ca1
Bug 896193 - Adopt Promises in mozIAsyncLivemarks. r=mak. sr=gavin.
2013-11-20 12:00:02 +02:00
Ryan VanderMeulen
6b4c139509
Backed out changeset 0879fec4cfc3 (bug 896193) for frequent Linux xpcshell failures.
...
CLOSED TREE
2013-11-20 13:44:05 -05:00
Asaf Romano
587a88bd83
Bug 896193 - Adopt Promises in mozIAsyncLivemarks. r=mak. sr=gavin.
2013-11-20 12:00:02 +02:00
Honza Bambas
a55f8e6460
Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin
2013-09-20 11:11:25 +02:00