Commit Graph

1497 Commits

Author SHA1 Message Date
Marco Bonardo
8a7a4dec38 Bug 626341 - Fix bogus bookmarks position values with PlacesDBUtils.
r+a=dietrich
2011-02-17 13:39:54 +01:00
Shawn Wilsher
09905da143 Bug 629539 - test that proper visit notifications are dispatched (test_async_history_api.js)
r=mak
a=test-only change (NPOTB)
2011-02-17 13:48:49 +01:00
Mehdi Mulani
07893e28c1 Bug 628865 - Add tests for dropping referrer, sessionId persisting, and failed insertion with duplicate guid. r=sdwilsh a=blocking-and-tests 2011-02-16 12:19:09 -08:00
Marco Bonardo
cccfdcc28d Test for Bug 633638.
r=dietrich a=blocker
2011-02-15 12:39:26 +01:00
Marco Bonardo
218a0d840e Bug 633638 (Part 2) - Wrap statement execution so that cancel() will always cause a REASON_CANCELED.
r=sdwilsh a=blocker
2011-02-15 12:39:24 +01:00
Hiroyuki Ikezoe
8658e69633 Bug 633638 - Need a way to cancel PlacesUtils::asyncGetBookmarkIds requests.
r=mak a=blocker
2011-02-15 12:39:21 +01:00
Justin Lebar
89c81d0188 Bug 594223 - Don't call searchFunction unnecessarily in MatchAutoCompleteFunction::OnFunctionCall. r,a=sdwilsh 2010-11-18 16:09:30 -08:00
Margaret Leibovic
24b712775f Bug 628805 - Add test for unstored sessionId to test_async_history_api.js and fix the way session ids are stored with places visits [r=sdwilsh, a=blocking-final] 2011-02-08 13:15:18 -08:00
Margaret Leibovic
431bd57991 Bug 628805 - Add tests for invalid referrerURI and invalid sessionId to test_async_history_api.js [r=sdwilsh, a=blocking-final] 2011-01-25 14:26:29 -08:00
Marco Bonardo
5f15a4397a Bug 629285 - Crash at AsyncGetBookmarksForURI.
r=sdwilsh a=blocker
2011-02-05 13:22:10 +01:00
Shawn Wilsher
dec396a268 Bug 631423 - crash [@ mozilla::places::GenerateRandomBytes]
r=mak
a=blocking
2011-02-04 13:04:08 -08:00
Shawn Wilsher
f8dc130fea Bug 629814 - Async history API should ignore place ids
r=mak
sr=rstrong
a=softblocker
2011-02-03 14:09:37 -08:00
Ehsan Akhgari
d611477b40 Bug 629697 - Cache the XPConnect services for accesses from Places; r=bsmedberg a=sdwilsh 2011-01-28 12:15:37 -05:00
Olli Pettay
5f578b2193 Bug 624549, Don't call GC so aggressively in nsJSContext::CC, r=gal, a=jst 2011-01-29 22:55:39 +02:00
Ehsan Akhgari
f958da4eb5 Bug 629577 - non-libxul builds broken by changes to History, unresolved symbol nsContentUtils::sXPConnect; r=mak a=sdwilsh
--HG--
extra : rebase_source : 8cf1b8decd13a8d46c46c81c3a3fd8ee5e8597d9
2011-01-28 03:07:46 -05:00
Mark Banner
4d5f8476bf Follow up to bug 606966, catch NS_ERROR_FAILURE instead of NS_ERROR_MALFORMED_URI. rs=sdwilsh a=test-only bustage fix for mailnews add-ons DONTBUILD 2011-01-27 13:33:00 -10:00
Shawn Wilsher
8a6460738d Merge Places and mozilla-central. 2011-01-27 10:08:14 -08:00
Marco Bonardo
cda3091ae8 Bug 394353 (Part 2) - Tag list is not updated when manually adding, renaming, or deleting tags from within the tags field.
r+a=dietrich
2011-01-27 12:18:20 +01:00
Marco Bonardo
51118945ad Bug 621273 - Internal URLs show up as results after RSS feed preview.
r=sdwilsh a=blocker
2011-01-27 12:18:14 +01:00
Shawn Wilsher
a0fd139ca9 Bug 606966 - Need an async history visit API exposed to JS
Part 25 - Only notify about title change when we are actually supposed to (follow-up to part 21 bustage).
r=mak
a=blocking
2011-01-26 15:56:24 -08:00
Shawn Wilsher
f1e90b40c8 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
a653efd3b9 Bug 606966 - Need an async history visit API exposed to JS
Part 23 - Update API to reality, and tweak tests.
r=mak
sr=rs
a=blocking
2011-01-25 11:25:37 -08:00
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
Ehsan Akhgari
cababf789d Bug 627474 - Part 2: Use nsIXPConnect::WrapNative directly in order to avoid having to link in libgklayout in non-libxul builds; r=bzbarsky a=bustage
--HG--
extra : rebase_source : 58c2f6e6bc3a8fd1070732a9b27d780739afc7f7
2011-01-20 15:23:48 -05:00
Ehsan Akhgari
b58a352c0f Bug 627474 - Part 1: Link places against libmozjs in non-libxul builds; r=sdwilsh
--HG--
extra : rebase_source : 18dcec14d749b01e09164255dc0c215106880f22
2011-01-20 14:07:01 -05:00
Ehsan Akhgari
bd85e60464 Remove an extra semicolon which disturbs pedantic compilers; rs=sdwilsh a=landing on a CLOSED TREE DONTBUILD 2011-01-20 14:14:35 -05:00
Ehsan Akhgari
7f5919cd68 Remove an extra semicolon which disturbs pedantic compilers; rs=sdwilsh a=landing on a CLOSED TREE DONTBUILD 2011-01-20 13:33:19 -05: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
Andrew Sutherland
5701087f08 Bug 627300 - Intermittent failure in places/tests/queries/test_tags.js owing to poor book-keeping in the test. test-only, a=bustage-fix. 2011-01-20 01:38:18 -08:00
Shawn Wilsher
0f1517b5ad Merge mozilla-central to Places. 2011-01-19 15:01:12 -08:00
Marco Bonardo
c5510e440b merge backout 2011-01-18 20:49:58 +01:00
Marco Bonardo
eb22246cc8 Backed out changeset 5ca06e1e6eb1 to investigate linux B permaorange 2011-01-18 20:49:39 +01:00
Marco Bonardo
8925e65791 merge backout 2011-01-18 19:47:11 +01:00
Marco Bonardo
75763be930 Backed out changeset 7408fd331dd0 to investigate linux B permaorange 2011-01-18 19:46:41 +01:00
Marco Bonardo
c55d43d5b4 Bug 611393 - mDBVisitToVisitResult is missing the 13th column.
r=trivial a=DONTBUILD
2011-01-15 01:37:52 +01:00
Shawn Wilsher
124369a3ab 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-14 14:42:17 -08: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
d338878f2b Merge mozilla-central to Places. 2011-01-14 12:39:31 -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
Marco Bonardo
d752095231 Bug 591850 - Intermittent failure in places/tests/queries/test_tags.js | 0 == 1, 1==2
a=tests-only
2011-01-14 17:20:39 +01:00
Marco Bonardo
435698f755 Bug 597995 - Tags of bookmarks is lost doing UNDO after a CUT or DELETE.
r+a=dietrich
2011-01-14 14:51:56 +01: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
Marco Bonardo
f6aba5989f Bug 621274 - Location Bar remembers invalid (Server not found) URLs.
r=sdwilsh a=blocker
2011-01-14 02:33:33 +01:00
Shawn Wilsher
d6a1fa44cb Merge mozilla-central and Places 2011-01-13 15:07:04 -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
5845a82164 Bug 606966 - Need an async history visit API exposed to JS
Part 1 - Public interfaces for the new API
r=mak
sr=rs
a=blocking
2011-01-13 13:37:02 -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
Blair McBride
0d7a6728d3 Bug 558321 - Tab Matches are not honoured in Private Browsing mode. r=mak77, a=blocking-betaN 2011-01-12 13:40:36 +13: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
Shawn Wilsher
bf73ed9554 Bug 606966 - Need an async history visit API exposed to JS
Part 2 - Refactor tests and add a run_next_test method in head_common.js
r=mak
a=blocking
2011-01-11 10:19:19 -08:00
Marco Bonardo
9af4bd6c3f Bug 609286 (Part 2) - Detect a corrupt Places.sqlite and replace the database on next startup.
r=dietrich a=blocking
2011-01-10 19:57:24 +01:00
Marco Bonardo
d231ebd457 Bug 609286 (Part 1) - Detect corrupt places.sqlite and replace it on next startup.
r=dietrich a=blocker
2011-01-10 19:54:49 +01:00
Marco Bonardo
ece84561f1 Bug 615992 - IsBookmarked can lock for each onVisit call.
r=sdwilsh a=blocking
2010-12-20 18:21:49 +01:00
Ms2ger
ab3e0c7039 Bug 620362 - Uninitialized variable warning in nsNavHistory::InternalAddNewPage. r=mak 2011-01-25 15:28:09 +01:00
Jacek Caban
939c9b44bc Bug 619902 - Landing 617111 broke crosscompiling to Windows on case-sensitive OSes r+a=sdwilsh 2010-12-26 22:33:57 +00:00
Justin Dolske
04a3d250b0 Backed out changeset 6bbe54cb876e (bug 558321) on suspicion of causing permaorange (bug 624962) a=bustage 2011-01-12 12:16:12 -08:00
Blair McBride
fa2c4b06af Bug 558321 - Tab Matches are not honoured in Private Browsing mode. r=mak77, a=blocking-betaN 2011-01-12 14:05:55 +13:00
Mehdi Mulani
d588b9bd7f Bug 621843 - Fix View By Date and Site sorting. r=mak a=blocking-final 2011-01-10 10:11:31 -08:00
timeless@mozdev.org
728be11de3 Bug 620305 - Crash [@ nsNavHistory::GetStringFromName] when GetBundle() fails.
r=mak a=sdwilsh
2010-12-22 19:26:15 +01:00
Ginn Chen
42fe2495ae Bug 620342 test_annos_expire_policy.js uses uninitialized variable r=mano a=testing only 2010-12-22 10:40:36 +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
Ms2ger
3f1062ca23 Bug 620365 - Remove unused GetAgeInDays; r=mak a=sdwilsh 2010-12-20 10:39:42 -08:00
Phil Ringnalda
79b29477df Bug 619623 - reorder the parts of the error messages so tbpl can spot the filename, r=sdwilsh, a=test 2010-12-18 19:30:46 -08:00
Marco Bonardo
0ff27c2b48 Bug 619672 - Perma-Orange on Thunderbird Linux | TEST-UNEXPECTED-FAIL | test_redirectsMode.js followed by head_queries.js | 5 == 3; r+a=sdwilsh 2010-12-16 22:14:57 +00:00
Mark Banner
4598a96cc3 Bug 619659 nsPlacesAutoComplete.js depends on nsIPrivateBrowsingService being implemented (Perma Orange for Non-FF apps) - cope with the private browsing service not being there. r=mak a=Unit test bustage fix for non-Firefox apps. 2010-12-16 14:38:58 +00: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
Marco Bonardo
a5f29ffa26 Bug 523578 - Disable test_redirectsMode.js on Windows until it will behave better on this platform.
a=orange
2010-12-15 16:49:10 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Marco Bonardo
8affb140a1 Backout bug 615991, since it did not bring the expected results.
a=sdwilsh-over-irc
2010-12-09 21:15:37 +01:00
Marco Bonardo
6ab1f9ae8f Bug 607894 - Tab matches always appear before normal history results.
r=sdwilsh a=blocking
2010-12-09 12:17:17 +01:00
Shawn Wilsher
7431929447 Bug 617111 - Avoid initializing NSS at all costs (ts regression)
r=dietrich
2010-12-07 09:27:40 -08:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Marco Bonardo
39d0d3fa2d Bug 616368 - Force a checkpoint after schema creation or upgrade.
r=sdwilsh a=sdwilsh
2010-12-03 12:58:23 +01:00
Marco Bonardo
b7f4347e9b Bug 616309 (Part 2) - Use normal synchronous mode with a small WAL. Temp tables revenge!
r=sdwilsh a=blocking
2010-12-03 02:37:53 +01:00
Marco Bonardo
c6df75a4de Bug 616309 (Part 1) - Use normal synchronous mode with a small WAL. Temp tables revenge!
r=sdwilsh a=blocking
2010-12-03 02:31:58 +01:00
Shawn Wilsher
a0dce301cc Bug 616295 - Persistent failure of test_history_redirects.js
r=mak
2010-12-02 15:30:17 -08:00
Shawn Wilsher
c6f285d43f Bug 607117 - create GUIDs for all bookmark and history items automatically
Part 3 - Add a test for migration from a v10 database that was formally a v11
database back to a v11 database.
r=mak
2010-12-02 14:10:09 -08: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
5c76a520fb Bug 607117 - create GUIDs for all bookmark and history items automatically
Part 1 - Make bookmarks generate guids automagically
r=mak
2010-12-02 14:03:07 -08:00
Shawn Wilsher
e42ef01e75 Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 4 - Import guids for moz_places from annotations.
r=mak
2010-12-02 09:44:08 -08:00
Shawn Wilsher
d161f47b13 Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 3 - create a guid column on moz_places and add guids
r=mak
2010-12-02 09:43:50 -08:00
Shawn Wilsher
43de9ba84f Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 2 - Import guids from the annotation table for bookmarks, and then delete
the entries in the annotation table.
r=mak
2010-12-02 09:40:49 -08:00
Shawn Wilsher
8936bf598a Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 1 - actually add the guid column, and update bookmarks at startup
r=mak
2010-12-02 09:40:18 -08:00