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

3625 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd 150bcb573b Bug 1278925 - micro-optimize nsCOMArray appending with already_AddRefed AppendElement; r=erahm
In all of the places touched by this patch, the smart pointer we're
appending is about to become unused, so simply .forget()'ing its
reference into the appropriate nsCOMArray works just fine.
2016-06-20 18:38:10 -04:00
Bob Silverberg 5741f3e29e Bug 1272684 - Remove PlacesUtils.promiseUpdatePlace as it has been replaced with PlacesUtils.history.insert, r=mak
MozReview-Commit-ID: 6UcizhKi24h

--HG--
extra : transplant_source : 5%08%06%82Wc%CAi%89Z2%A0%ADl/%C1K%89%AA%3C
2016-06-09 08:58:21 -04:00
Gijs Kruitbosch a60614a313 Bug 1279208, r=mak
MozReview-Commit-ID: KOuTjwn9MSx

--HG--
extra : rebase_source : 9ab3fbb75019e6a7ccfca4164d18c9b756c43d7d
extra : amend_source : bdf3328e53f56c37cca745e03254f3483fd188df
2016-06-09 13:25:07 +01:00
Marco Bonardo a6cebf30a9 Bug 1209027 - add missing explicit. r=bustage
MozReview-Commit-ID: 7rAmfjSDSvZ
2016-06-08 15:17:16 +02:00
Marco Bonardo 41b74693db Bug 1277235 - add typed and visitCount to onVisit. r=adw
MozReview-Commit-ID: 3XfBCiOgyAu

--HG--
extra : rebase_source : 9f98a7a838e4ac56ae82bd13c330f181268228e5
2016-06-01 16:42:15 +02:00
Marco Bonardo 22a82c8e00 Bug 1209027 - Reduce queries load on visits addition. r=adw
MozReview-Commit-ID: AvW7WB2LXZE

--HG--
extra : rebase_source : bb5ab637dfe69f2b4587932bd1c506e18b81bca2
2016-05-31 15:19:16 +02:00
Marco Bonardo 392c65b534 Bug 1261386 - Avoid history flooding from repeated reloads. r=adw
MozReview-Commit-ID: FhU8nOoNUHb

--HG--
extra : rebase_source : ff75adb252b13f4042da49d4572fb807c3d0d823
2016-05-26 17:49:40 +02:00
Marco Bonardo 84a96ef029 Bug 1272679 - Expire orphans in removeVisitsByFilter. r=adw
MozReview-Commit-ID: 105stSZm5vi

--HG--
extra : rebase_source : 2d2eebfb0eef53b2dbd01433e92792c15b0d1937
2016-05-25 22:58:20 +02:00
Akshat Kedia afa55c6cd9 Bug 1276676 - Remove _serializeNodeAsJSONToOutputStream; r=mak
MozReview-Commit-ID: FOEneylyTja

--HG--
extra : transplant_source : %9D%EC%BA%B8-%F27p%1Fk%94%01%60kN%C8_Nd%D7
2016-06-02 12:46:02 +05:30
Kris Maglione 0c9d76f23e Bug 1277405: Clear Places observers at XPCOM shutdown. r=mak
MozReview-Commit-ID: 6JYMX7TXDLZ

--HG--
extra : rebase_source : e3828d8cc57246ef2633dc7d7ef7145437f2ebf6
extra : amend_source : 702d193f2cb0ad02a578bc4b07b9ea94e43f2ce6
2016-06-01 16:47:34 -07: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
Bob Silverberg 8150024920 Bug 1265836 - Part 1: Replace PlacesUtils.toTime with PlacesUtils.toDate. r=mak, r=aswan
MozReview-Commit-ID: FZTfDJpjEt1

--HG--
extra : transplant_source : Z%B5%8B%82lB%DBk%10q%DC%10P%A8%21%7CL%C4Y%F9
2016-05-24 08:56:10 -04:00
Jonathan Hao 525c086187 Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
MozReview-Commit-ID: Frx0CjBzuve

--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
aleth e8cc037520 Bug 1272322 - Ensure PlacesRemoteTabsAutocompleteProvider doesn't fail when sync isn't built. r=mak 2016-05-26 20:53:12 +02:00
Kris Maglione 2327dbb60e Bug 1269398: Add visitType, visitId, and fromVisitId fields to history visit query results. r=mak
MozReview-Commit-ID: BCsztVsCH98

--HG--
extra : rebase_source : 5f0ae7221b1107d3a0a7de8d7b702fbb897adef4
2016-05-13 13:47:24 -07:00
Carsten "Tomcat" Book b6b164ec6d Merge mozilla-central to mozilla-inbound 2016-05-25 15:20:00 +02:00
Carsten "Tomcat" Book c715836c7f merge mozilla-inbound to mozilla-central a=merge 2016-05-25 15:04:00 +02:00
Christoph Kerschbaumer 031a59734b Bug 1196013 - Use channel->ascynOpen2 in toolkit/components/places. r=billm r=sicking r=mak 2016-05-23 23:57:31 +02:00
Carsten "Tomcat" Book 3cab03a461 Merge mozilla-central to fx-team 2016-05-24 15:15:55 +02:00
Carsten "Tomcat" Book cb4337c62c merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:52:23 +02:00
Johannes Mittendorfer e28fa94079 Bug 967204 - Restoring a JSON backup should set stored guids. r=mak 2016-05-14 03:18:00 +02:00
Marco Bonardo cd37a5cb4f Bug 1271325 - PLACES_MOST_RECENT_EXPIRED_VISIT_DAYS should ignore visits expired at a fixed threshold. r=adw
MozReview-Commit-ID: A5erWDDsAn8

--HG--
extra : rebase_source : e1b0238d7666906220efee212bea346fffc26a67
2016-05-13 18:45:50 +02:00
Gijs Kruitbosch c5967c0388 Bug 1255270, r=mak
MozReview-Commit-ID: 5fInAZiZMhl

--HG--
extra : rebase_source : d55bb43c86e1ae3a78f770e5a6ba1366e455c71b
extra : source : 6e2a4ab6ed341f0250422d8f9ba9f4a206cfc527
2016-05-23 10:09:13 +01:00
Bob Silverberg 79a85728e0 Bug 1265834 - Part 2: Implement browser.history.search. r=aswan, r=mak
Requesting review from mak for the changes to PlacesUtils.jsm.
Note that one of these changes (toPRTime) is also present in the patch for bug 1265836, but I anticipate that this patch may land before that bug.

MozReview-Commit-ID: Kg1XX40A4FW

--HG--
extra : transplant_source : %05%FAB%CENp%BE%A3%A1C%C3%B8%E6%3E%939%9E%E8%A1%5C
2016-05-13 10:32:48 -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
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Carsten "Tomcat" Book 805f86c2b5 Merge mozilla-central to mozilla-inbound 2016-05-24 15:13:51 +02:00
gasolin bc265dc298 Bug 1273023 - Convert xpcshell-tests in toolkit/components/places/tests/bookmarks/test_385829.js to Bookmarks.jsm API. r=mak
MozReview-Commit-ID: FIqaAT6yaL9

--HG--
extra : transplant_source : %D00%0Ac%94%FF%F8%8Eq%BD%81%90%C2F%ED%60%CA%1F%F1m
2016-05-16 11:54:55 +08:00
gasolin 2c87edbc69 Bug 1271201 - Convert xpcshell-tests in toolkit/..bookmarks/test_384228.js to Bookmarks.jsm API. r=mak
MozReview-Commit-ID: 6pOSsBwFUMm

--HG--
extra : transplant_source : %DFO%FD6%3F%DDL%F2%89%9AgX%3A%DF%AC%F8%9F%C9%A6%BB
2016-05-09 15:34:42 +08:00
Carsten "Tomcat" Book 6deb1d00c9 Merge mozilla-central to fx-team 2016-05-10 12:15:50 +02:00
Marco Bonardo ded415915d Bug 1271280 - Places shutdown blockers have wrong names and are not properly reporting state. r=adw
MozReview-Commit-ID: CQlm5ZGgBwK

--HG--
extra : rebase_source : 76ee6e493286654c061202050145c9685cc2383d
2016-05-09 15:27:59 +02:00
Marco Bonardo 06932c74d1 Bug 1223728 - Remove the unifiedcomplete pref, the urlinline component and stop bundling the old autocomplete component in Firefox. r=adw
MozReview-Commit-ID: Ee08mDGxBjJ

--HG--
extra : rebase_source : 4473da657f85e443e5095b43b3e774e85292ecd1
extra : amend_source : c9c322ebae255a24c28e6367b9fe93474db21d6d
2016-05-05 00:14:51 +02:00
Wes Kocher e07d6df737 Merge m-c to fx-team, a=merge 2016-05-06 15:59:00 -07:00
Marco Bonardo 817566c802 Bug 1269737 - Make AsyncFaviconHelpers more maintainable. r=adw
MozReview-Commit-ID: l0GnzPZK8w

--HG--
rename : toolkit/components/places/AsyncFaviconHelpers.cpp => toolkit/components/places/FaviconHelpers.cpp
rename : toolkit/components/places/AsyncFaviconHelpers.h => toolkit/components/places/FaviconHelpers.h
extra : rebase_source : d164e8d246ee66b555bbd7d4db0d552da5ff2b28
2016-05-06 11:37:26 +02:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Christoph Kerschbaumer 570229429b Bug 1269261 - Remove SEC_NORMAL form browser_favicon_setAndFetchFaviconForPage.js (r=sicking) 2016-05-06 15:29:45 +02:00
Christoph Kerschbaumer 46fe165877 Bug 1270808 - Add deprecation warning within nsFaviconService.cpp. r=gijs 2016-05-06 13:56:24 +02:00
Gijs Kruitbosch 6f76102f67 Backed out changeset 6e2a4ab6ed34 (bug 1255270) on a CLOSED TREE for leaking the world.
MozReview-Commit-ID: GlbH8KDcerY

--HG--
extra : amend_source : 59023542a623a138bda4e702e4c1ce9f83d78971
2016-05-23 17:32:56 +01:00
Gijs Kruitbosch 8d48dd5f83 Bug 1255270, r=mak
MozReview-Commit-ID: 5fInAZiZMhl

--HG--
extra : rebase_source : 61ca73b6acaed04906c3adc6d26a548552856f7e
2016-05-23 10:09:13 +01:00
Gregory Szorc 696501c7e0 Bug 1272025 - Add preference to use volatile storage with Places database; r=mak
We have data showing that the Places SQLite database can consume
gigabytes of I/O during Firefox test automation jobs. This is
because a number of tests load pages as rapdily as possible,
effectively stress testing Places and SQLite. As the SQLite
database is committed to, we incur I/O for the WAL journal
and when flushing/synchronizing commits. This can add up to a
lot of overhead, especially on spinning disks.

It is important for Places to run during many tests. But it
isn't necessarily important to run with robust I/O guarantees:
SQLite itself has tests that ensure different journal and
synchronizing modes work as advertised.

This commit introduces a preference that changes the SQLite
journal and synchronization modes to be less robust. We use
an in-memory journal so no I/O is incurred for journal writing.
We disable synchronization during commit so no expensive
file(system) flushing is performed. Because setting this
preference would be dangerous for end users, we only honor the
pref if a scary sounding environment variable is set. Hopefully
that's enough of an obstacle to prevent people from footgunning
themselves.

A preliminary Try run reveals this has the potential to shave
hundreds of megabytes of I/O from various jobs. Although this
commit stops short of changing the configuration in automation
to use the new volatile storage preference.

MozReview-Commit-ID: KCoDVzwkSbg

--HG--
extra : rebase_source : 4e630f4341fc8c07e16383480356bd1bff4d4ba2
2016-05-11 11:00:37 -07:00
Marco Bonardo a4b30a4005 Bug 1265420 - SetAndFetchFaviconForPage should return a cancelable object to allow aborting the fetch. r=Gijs
MozReview-Commit-ID: Leu4iZBkP7z

--HG--
extra : rebase_source : 03ac724d128d8d80ecc099af6fa5f84a85a7d02d
2016-05-03 15:42:12 +02:00
Wes Kocher 56fe7c4bcb Merge m-c to fx-team a=merge
MozReview-Commit-ID: 3H9BxQQQnNI
2016-04-29 16:05:30 -07:00
Wes Kocher fcb496e3e5 Merge inbound to m-c a=merge
MozReview-Commit-ID: BKbqwBtHrBR
2016-04-29 14:54:44 -07:00
Bob Silverberg ab497c57dd Bug 1267517 - Allow for sharing of Places test utils that are currently in head_common.js. r=mak
MozReview-Commit-ID: E3Kb0m3vJDT

--HG--
extra : transplant_source : %94%96A%91f%C1%F1%05%C4i6%F9%24%92%EA%7B%B1%00%3Bp
2016-04-27 13:11:04 -04:00
Marco Bonardo f68466d5da Bug 907001 - Location bar is slow with long text runs.r=adw
MozReview-Commit-ID: KIfaGfsm26x

--HG--
extra : rebase_source : e38e49e5dc9ef6e5535d515be8354752599c6654
2016-04-28 13:59:24 +02:00
Marco Bonardo 37c2fdd36a Bug 1262887 - Long URLs stored in history cause slow address bar. r=adw
MozReview-Commit-ID: 8h2nVKBe6tP

--HG--
extra : rebase_source : 1ab6f2d5a9bfdf04dabafdbb825e95d2fe95e5a8
2016-04-22 11:47:31 +02:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Christoph Kerschbaumer 26e648d170 Bug 1239097 - Convert test_moz-anno_favicon_mime_type.js to use asyncOpen2. r=sicking 2016-01-12 13:44:43 -08:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
gasolin df49eace0b Bug 1011023 - Simplify test_bookmarks_restore_notification.js to use add_task. r=mak
MozReview-Commit-ID: Bj1jMdnIbvF

--HG--
extra : transplant_source : %0C%FB%98-%97%5B%C3r%BA%021%FF%A3n%F4%14g4%8BC
2016-04-12 16:32:34 +08:00