Commit Graph

74 Commits

Author SHA1 Message Date
Shawn Wilsher
8e0a245821 Backout of 3962f456fd9a (Bug 606966 Part 21) due to Moth failures. 2011-01-25 11:20:45 -08:00
Shawn Wilsher
a4ff998a92 Bug 606966 - Need an async history visit API exposed to JS
Part 24 - Dispatch observer topic when done
r=mak
a=blocking
2011-01-25 09:41:42 -08:00
Shawn Wilsher
41a8c2ebd1 Bug 606966 - Need an async history visit API exposed to JS
Part 21 - Track and notify about title changes.
r=mak
a=blocking
2011-01-25 09:01:14 -08:00
Shawn Wilsher
b2184b2c4f Bug 606966 - Need an async history visit API exposed to JS
Part 22 - Dispatch errors for URIs that fail nsINavHistory::canAddURI
r=mak
a=blocking
2011-01-24 14:13:24 -08:00
Shawn Wilsher
4ea4ca1196 Bug 606966 - Need an async history visit API exposed to JS
Part 20 - API implementation with tests.
r=mak
r=lw
a=blocking
2011-01-21 20:09:10 -08:00
Shawn Wilsher
38e7cbc5ce Bug 606966 - Need an async history visit API exposed to JS
Part 19 - Fetch the visit information about the right visit, and make sure we
have the place id and guid when we need to notify a callback function.
r=mak
a=blocking
2011-01-20 15:35:40 +01:00
Shawn Wilsher
2eb8af4dde Bug 606966 - Need an async history visit API exposed to JS
Part 18 - Update changes to the guid/title when they happen.
r=mak
a=blocking
2011-01-20 15:35:37 +01:00
Marco Bonardo
eb22246cc8 Backed out changeset 5ca06e1e6eb1 to investigate linux B permaorange 2011-01-18 20:49:39 +01:00
Shawn Wilsher
b76787a2dd Bug 606966 - Need an async history visit API exposed to JS
Part 18 - Update changes to the guid/title when they happen.
r=mak
a=blocking
2011-01-14 14:41:42 -08:00
Shawn Wilsher
8e083a92d9 Bug 606966 - Need an async history visit API exposed to JS
Part 17 - Create mozIPlaceInfo and mozIVisitInfo objects, and use them to
notify the callback.
r=mak
r=lw
a=blocking
2011-01-14 14:38:34 -08:00
Shawn Wilsher
54223bc129 Fix typo in comment. a=stupidity 2011-01-14 11:10:11 -08:00
Shawn Wilsher
a45dc98cae Bug 606966 - Need an async history visit API exposed to JS
Part 16 - Handle a callback if it is provided.
r=mak
a=blocking
2011-01-14 10:42:41 -08:00
Shawn Wilsher
19fb5d06f9 Bug 606966 - Need an async history visit API exposed to JS
Part 15 - Only get a new session id if we need to.
r=mak
a=blocking
2011-01-13 18:31:34 -08:00
Shawn Wilsher
9053f35736 Bug 606966 - Need an async history visit API exposed to JS
Part 14 - Set the guid for new visits when it is given.
r=mak
a=blocking
2011-01-13 18:31:34 -08:00
Shawn Wilsher
fc42621aaf Bug 606966 - Need an async history visit API exposed to JS
Part 13 - Set the page title for new visits when it is given.
r=mak
a=blocking
2011-01-13 18:31:34 -08:00
Shawn Wilsher
136dfbd691 Bug 606966 - Need an async history visit API exposed to JS
Part 3 - Stub out the methods on mozilla::places::History.
r=mak
a=blocking
2011-01-13 13:37:04 -08:00
Shawn Wilsher
33eb440f39 Bug 606966 - Need an async history visit API exposed to JS
Part 12 - InsertVisitedURIs should handle adding multiple visits to the same place.
Fixes a minor bug in Part 10.
r=mak
a=blocking
2011-01-12 10:22:55 -08:00
Shawn Wilsher
1a27b37ceb Bug 606966 - Need an async history visit API exposed to JS
Part 11 - Refactor embed visit adding into a helper method.
r=mak
a=blocking
2011-01-12 10:22:39 -08:00
Shawn Wilsher
780cfeb1f6 Bug 606966 - Need an async history visit API exposed to JS
Part 10 - Refactor InsertVistedURI to InsertVisitedURIs and have it take an
array of VisitData objects to add.
r=mak
a=blocking
2011-01-11 11:13:17 -08:00
Shawn Wilsher
6b01361147 Bug 606966 - Need an async history visit API exposed to JS
Part 9 - Move referrer loading logic into a helper method.
r=dietrich
a=blocking
2011-01-11 11:03:22 -08:00
Shawn Wilsher
b739f916f8 Bug 606966 - Need an async history visit API exposed to JS
Part 8 - add a referrerSpec and guid property to VisitData.  We'll need to
potentially pass both of these in the new updatePlaces method.
r=mak
a=blocking
2011-01-11 11:01:26 -08:00
Shawn Wilsher
a016d1ec0c Bug 606966 - Need an async history visit API exposed to JS
Part 7 - Pull FetchPageInfo onto History, and make both of our current async
operations use it (requires us to add title to VisitData).
r=dietrich
a=blocking
2011-01-11 10:48:53 -08:00
Shawn Wilsher
2fe0271591 Bug 606966 - Need an async history visit API exposed to JS
Part 6 - Move inserting and updating of moz_place entries from InsertVisitedURI
to History.
r=dietrich
a=blocking
2011-01-11 10:48:14 -08:00
Shawn Wilsher
849defeaa0 Bug 606966 - Need an async history visit API exposed to JS
Part 5 - Add a new constructor to VisitData that takes a URI and automatically
obtains the spec and the reversed hostname.  Also add a method to set the
transition type that also sets the hidden flag and the typed flag accordingly.
Finally, update all the code that sets this stuff manually to use the new
helper methods.
r=dietrich
a=blocking
2011-01-11 10:34:04 -08:00
Shawn Wilsher
5a5c230227 Bug 606966 - Need an async history visit API exposed to JS
Part 4 - Refactor hidden flag logic into a helper method.
r=mak
a=blocking
2011-01-11 10:26:44 -08:00
Ms2ger
b53eee1876 Bug 620375 - Wrongly ordered members in History::History() constructor; r+a=sdwilsh 2010-12-21 15:03:01 -08:00
Ms2ger
1af962fee7 Bug 620367 - Fix unused variable warning in InsertVisitedURI::AddVisit; r+a=sdwilsh 2010-12-21 15:03:01 -08:00
Mark Banner
24761a5aa0 Bustage fix follow-up to places landing, add missing include for non-IPC builds. a=bustage fix 2010-12-16 08:10:27 +00:00
Shawn Wilsher
82cd6792ff Bug 607117 - create GUIDs for all bookmark and history items automatically
Part 2 - Make entries in moz_places generate guids automagically
r=mak
2010-12-02 14:09:52 -08:00
Shawn Wilsher
7c5b41717c Bug 612455 - History.cpp should finalize statementCache on the background thread
Also fixes the favicon service to do this in a safer manner.
r=mak
a=blocking
2010-11-18 02:23:29 +01:00
Shawn Wilsher
3864825ddd Bug 612617 - Assertions due to thread-safety issues on Places branch.
Fix it by never ever passing an nsIURI to the background thread.  EVER.
r=mak
a=blocking
2010-11-17 16:15:49 -08:00
Marco Bonardo
036ea5f40f Bug 612281 - Remove some unnecessary reads from visits and icons addition.
r=sdwilsh a=blocking
2010-11-16 13:44:05 +01:00
Marco Bonardo
c3cb283d6a Bug 610442 - TRANSITION_EMBED visits should be session persistent
r=sdwilsh a=blocking
2010-11-12 14:24:25 -08:00
Shawn Wilsher
3e1f89f94a Backed out changeset 6716b289e613. 2010-11-12 08:57:43 -08:00
Shawn Wilsher
15eb6225a3 Disables all link coloring lookups to the db. Wanted to run this on try, but it is not cooperating. There will be orange, but that's OK. This will be backed out shortly. 2010-11-12 08:56:09 -08:00
Shawn Wilsher
f062a26357 Bug 599969 - Do not use steps for async visit adding
Part 5 - be smarter about how we release our references to nsIURI objects so we
do not get threadsafety assertions.
r=mak
2010-11-08 11:47:07 -08:00
Shawn Wilsher
4e0695a15d Bug 599969 - Do not use steps for async visit adding
Part 4 - use one event (ran on the background thread) for setting the page
title, and one event (ran on the main thread) for notifying.
r=mak
2010-11-08 11:45:46 -08:00
Shawn Wilsher
56ba0666f5 Bug 599969 - Do not use steps for async visit adding
Part 3 - Use the statement cache from storage to do less work on the background
thread.
r=mak
2010-11-08 11:43:46 -08:00
Shawn Wilsher
4d309d490a Bug 599969 - Do not use steps for async visit adding.
Part 1 - use one event (ran on the background thread) for adding a visit, and
one event (ran on the main thread) for notifying.
r=mak
r=bmcbride for test change
2010-11-08 11:42:08 -08:00
Shawn Wilsher
ffb1973389 Merging mozilla-central to Places. 2010-10-29 11:39:41 -07:00
Shawn Wilsher
c6b0570139 Bug 607469 - IPC-only Crash [@ mozilla::places::History::NotifyVisited]
r=dougt
a=blocking

--HG--
extra : rebase_source : 74fbebfccb8544ef56adb0f66e778372148b0506
2010-10-27 13:14:16 -07:00
Shawn Wilsher
1d601191aa Bug 599978 - Part 3: Asynchronous isVisited checks should use a read-only cloned connection
Finalize the statement so we do not crash in debug builds.
r=orange
2010-10-13 12:02:22 -07:00
Shawn Wilsher
3002b8b720 Bug 599978 - Part 2: Asynchronous isVisited checks should use a read-only cloned connection
Changes to create and use the read-only cloned connection.
r=mak
2010-10-06 08:21:31 -07:00
Marco Bonardo
2e5c960ec1 Bug 556631 (part 3) - Cleanup AsyncStatementCallback inheritance. r=sdwilsh a=blocking 2010-10-11 14:53:42 +02:00
Marco Bonardo
2ac6334523 Bug 556631 (part 1) - Refactor frecency calculation code. r=sdwilsh a=blocking 2010-10-11 14:53:31 +02:00
Marco Bonardo
19f9749d25 Bug 584731 - new History.cpp should check aReason for HandleCompletion. r=sdwilsh a=blocking 2010-08-06 17:42:53 +02:00
Josh Matthews
efd0cccb18 Bug 580450 - Clean up IPC::URI. r=dwitte 2010-07-26 15:59:34 -04:00
Doug Turner
5c072b1442 Follow up fix to bug 516728. Fixes assertion description and removing an extra ws 2010-08-01 23:38:10 -07:00
Doug Turner
848fbc02f4 Bug 568925 - Remote History Set Title for URI. r=cjones, sr=bz 2010-07-02 08:53:42 -07:00
Doug Turner
80889516f4 Bug 551181 - [e10s] Tell the chrome process when we visit a page. r=sdwilsh, r=cjones, sr=bz
--HG--
extra : rebase_source : 601e1e9e6464bdd8ea4164bc98ea9792d55ec22c
2010-07-02 08:50:24 -07:00