Commit Graph

88 Commits

Author SHA1 Message Date
Denis Volk
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Mike Hommey
ccd2a9b975 Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Nathan Froyd
8ddefeed54 Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
Calling QueryInterface with a statically known IID should typically not
be necessary.  In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.

In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Asaf Romano
c7c3c1ab3a Bug 1107308 - Round dateAdded and lastModified values to milliseconds precision in places cpp components. r=mak 2014-12-04 14:09:48 -08:00
Asaf Romano
4257bdd89a Bug 1105866 - Implement folderShorcutNode.targetFolderGuid (guid version of folderShortcutNode.folderItemId). r=mak 2014-12-10 19:03:15 +02:00
Asaf Romano
09ed72721e Bug 1085291 - A bookmark node that is inserted by live-update code is missing bookmarkGuid value. r=mak (Relanding with the test file included this time). 2014-11-25 11:43:26 +02:00
Carsten "Tomcat" Book
5f58a7c2e6 Backed out changeset 6db486ed2de1 (bug 1085291) for breaking Builds on a CLOSED TREE 2014-11-25 09:25:11 +01:00
Asaf Romano
4c32a7493a Bug 1085291 - A bookmark node that is inserted by live-update code is missing bookmarkGuid value. r=mak. 2014-11-25 09:06:37 +02:00
Marco Bonardo
62ceb9a54c Bug 1095069 - Cannot copy or delete bookmarks from search results in library. r=mano
--HG--
rename : browser/components/places/tests/browser/browser_library_left_pane_commands.js => browser/components/places/tests/browser/browser_library_commands.js
2014-11-13 10:19:19 +01:00
Asaf Romano
4768ea8e1b Bug 1068671 - folderReadOnly doesn't pertain to bookmarks or results. r=mak 2014-10-14 17:03:28 +03:00
Carsten "Tomcat" Book
29d7d7a356 Backed out changeset b30d47d94a85 (bug 1068671) for bc1 test failures 2014-10-01 13:14:06 +02:00
Asaf Romano
6860a7fd03 Bug 1068671 - Remove 'read-only' folders support from places. r=mak 2014-10-01 12:19:06 +03:00
Nicholas Nethercote
8c60d14a1a Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Daniel Holbert
c1d296554c Bug 992670 part 3 - Comment out failing assertion, with reference to followup bug. r=mak 2014-08-06 22:40:37 -07:00
Birunthan Mohanathas
b77fbcaff0 Bug 992670 part 2 - Make all child insertions/removals non-temporary in nsNavHistoryContainerResultNode. r=mak 2014-08-06 22:40:36 -07:00
Birunthan Mohanathas
20ea662481 Bug 992670 part 1 - Fix always true assertion condition in nsNavHistoryResult.cpp. r=mak 2014-08-06 22:40:35 -07:00
Hiroyuki Ikezoe
0278670b85 Bug 1010634 - Use Contains instead of NoIndex to avoid relocation error. r=briansmith 2014-06-01 18:30:00 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Drew Willcoxon
7a7b8a3778 Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 1, Places patch). r=mak 2014-03-28 23:30:04 -07:00
Phil Ringnalda
9fb4d14a71 Backed out 2 changesets (bug 911307) for frequent timeouts in browser_newtab_perwindow_private_browsing.js
Backed out changeset 70638b7c97f1 (bug 911307)
Backed out changeset 3951f7e82b4c (bug 911307)
2014-03-29 12:13:11 -07:00
Drew Willcoxon
898f4a33c1 Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 1, Places patch). r=mak 2014-03-28 23:30:04 -07:00
Marco Bonardo
9f00e88345 Back out Bug 894331 to solve browser hangs when deleting history. a=lsblakk 2013-11-13 09:45:41 -05:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Ehsan Akhgari
16d3348d9e Bug 943993 - Build toolkit/components/places in unified mode; r=mak 2013-11-29 18:29:49 -05:00
Marco Bonardo
d0d18d3b22 Bug 914294 - Don't throw exceptions from the history result end batch macro to retain backwards compatibility.
r=mano
2013-10-15 14:30:33 +02:00
Birunthan Mohanathas
3fa051ce6f Bug 784739 - Switch from NULL to nullptr in toolkit/components/ (1/2); r=ehsan 2013-10-10 16:38:05 -04:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Raymond Lee
1cfde0c1f4 Bug 627487 - Bookmark JSON backup should contain new-style GUIDs. r=mano 2013-09-03 11:56:25 +08:00
Marco Bonardo
7c401f6dd4 Bug 894331 - Use an automatic batching behavior in Places results.
Stop relying on manual batching and onBegin/OnEndUpdateBatch for batching in
Places results, instead count related changes and start batching when they
are over a given threshold.
r=Mano
2013-08-06 13:05:01 +02:00
Asaf Romano
e0aa537c0c Bug 895839 - Remove support for binary annotations. r=mak. sr=gavin. 2013-08-03 14:06:47 +03:00
Mike Hommey
d01b5df996 Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Andrew McCreight
eb059d91b2 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Marco Bonardo
b7ea9efd3a Bug 561450 - Stop supporting session ids in Places.
r=Mano sr=gavin
2013-03-25 14:44:41 +01:00
Marco Bonardo
4b6f455e23 Bug 830423 part 2 - Avoid history view refreshes when onvisit falls into the Today bucket.
r=Mano
2013-03-18 16:09:11 +01:00
Marco Bonardo
e7a888df87 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Marco Bonardo
86bcfc2bb8 Bug 831094 - Avoid replacing nodes in Places query results.
r=Mano sr=gavin
2013-02-06 20:48:09 +01:00
Marco Bonardo
47cc1feb6b Bug 838304 - null out mResult when removing container nodes.
r=Mano
2013-02-05 21:56:05 +01:00
Marco Bonardo
57d6ca1c61 Backout 890368240f48 (bug 838304) for xpcshell-test failures 2013-02-05 23:06:16 +01:00
Marco Bonardo
205a0d5ec5 Bug 838304 - null out mResult when removing container nodes.
r=Mano
2013-02-05 21:56:05 +01:00
Daniel Holbert
2394710e26 Bug 835543 part 1: Remove unused class nsNavHistoryFullVisitResultNode. r=mak 2013-01-29 14:30:13 -08:00
Marco Bonardo
a384188bf5 Bug 824074 - Properly update frecency sorting in bookmarks queries.
r=Mano
2013-01-22 21:19:01 +01:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Marco Bonardo
bf4532d40e Bug 827268 - Avoid useless onVisit work on transition filtered queries.
r=Mano
2013-01-07 18:54:38 +01:00
Ed Morley
64710f99c4 Backout 33b1a42588c2 (bug 827268) for xpcshell failures on a CLOSED TREE 2013-01-07 20:25:13 +00:00
Marco Bonardo
b1153465bf Bug 827268 - Avoid useless onVisit work on transition filtered queries.
r=Mano
2013-01-07 18:54:38 +01:00
Marco Bonardo
2a0990e70c Bug 825849 - Add a RemoveAllDownloads API to nsIDownloadHistory.
r=Mano sr=gavin
2013-01-05 10:21:04 +01:00
Marco Bonardo
643d69f402 Bug 766799 - Notify hidden visits to history observers.
Redirect sources and framed visits are considered hidden and thus not shown in
common UI history queries.  So far were not even notified, but the right thing
to do is to let the observer handle them based on its needs.
r=Mano sr=Mossop
2012-12-20 23:45:00 +01:00
Iordache Catalin
8eea15527d Bug 821901 - Fix some build warnings in toolkit/components/places. r=mak 2012-12-17 17:41:34 +02:00
Ryan VanderMeulen
a5046a44ed Backed out changeset 1cd15c87f867 (bug 821901) for crashes. 2012-12-17 19:22:09 -05:00