Commit Graph

1431 Commits

Author SHA1 Message Date
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
Marco Bonardo
b598b58bc0 Bug 615991 - GetNewSessionId can lock the first visit addition if some async write runs before it.
r=sdwilsh a=blocking
2010-12-02 00:14:24 +01:00
Marco Bonardo
ccb738f69c Bug 615227 - async create temp tables in autocomplete.
r=sdwilsh a=blocking
2010-11-29 23:23:46 +01:00
Marco Bonardo
a3f54fd85f Bug 614787 - Delay expiration database setup to the first expiration.
r=dietrich,sdwilsh a=blocking
2010-11-29 21:47:42 +01:00
Marco Bonardo
7d33573bea Bug 614790 - Bookmarks roots init could be locking with the first visit addition.
r=sdwilsh a=blocking
2010-11-29 18:33:26 +01:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Marco Bonardo
e399cba9d3 Bug 614224 (followup) - further subtests in test_removeVisitsByTimeframe.js should wait for visits addition.
a=tests-only
2010-11-29 15:41:08 +01:00
Marco Bonardo
6ee0ac4e73 Bug 614560 - History should not try to register "resource:" uris.
r=dietrich a=dietrich
2010-11-24 16:43:14 +01:00
Marco Bonardo
0ffc4cb514 Bug 614439 - Downgrading from a Places branch version leaves user with double triggers.
r=dietrich a=blocking
2010-11-24 16:36:05 +01:00
Marco Bonardo
b193165b11 Bug 614224 - Try to use waitForAsyncUpdates in test_removeVisitsByTimeframe.js
a=tests-only
2010-11-24 10:44:05 +01:00
Marco Bonardo
d6d60edf7f Bug 614222 - Try to use waitForAsyncUpdates in test_frecency.js
a=tests-only
2010-11-24 10:44:03 +01:00
Shawn Wilsher
e9aa1a1ccb Bug 607115 - use a much smaller guid format than we currently use for bookmarks
Part 3 - Create a function we can use with SQL queries to generate a guid.
r=mak
2010-11-23 16:04:28 -08:00
Shawn Wilsher
86591fef95 Bug 607115 - use a much smaller guid format than we currently use for bookmarks
Part 2 - Create a helper method to generate a guid
r=mak
2010-11-23 16:04:28 -08:00
Marco Bonardo
6de8b4c912 Bug 613477 - Make the primary Star UI async.
r=sdwilsh ui-r=limi a=blocking
2010-11-22 20:34:57 +01:00
Shawn Wilsher ext:(%2C%20Marco%20Bonardo%20%3Cmbonardo%40mozilla.com%3E)
674cdd68f8 Bug 582703 - Improve the concurrency of location bar searches.
Initial patch from sdwilsh is r=mak, further changes from mak are r=sdwilsh. switch-to-tab changes are r=unfocused
sr=rstrong
a=blocking
2010-11-20 01:39:55 +01:00
Marco Bonardo
1d3da309e7 Bug 609122 - Limit the size of places.sqlite-wal.
r=sdwilsh a=blocking
2010-11-18 02:23:32 +01: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
Shawn Wilsher
75c838117e Fix orange on linux opt builds by ifdefing around the problem. a=orange :( 2010-11-17 14:42:13 -08:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -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
dd6a60974c bustage fix for bug 599973 a=bustage 2010-11-16 11:30:42 +01:00
Marco Bonardo
3fb7f46519 Bug 599973 (Part 2) - Don't use steps for async favicons.
r=sdwilsh a=blocking
2010-11-16 02:22:01 +01:00
Marco Bonardo
141f5459ce Bug 599973 (part 1) - Don't use steps for async favicons.
r=sdwilsh a=blocking
2010-11-16 02:13:37 +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
06f60f7a34 Merge mozilla-central to Places 2010-11-10 09:38:08 -08:00
Shawn Wilsher
3eebff3a9d Follow-up to address review comment for bug 599969 part 6 2010-11-09 15:46:30 -08:00
Shawn Wilsher
3692066348 Bug 599969 - Do not use steps for async visit adding
Part 6 - Do not add javascript URIs for history (trunk is already doing this,
and the Places branch was getting assertions because GetReversedHostname would
fail on the background thread which would cause nsJSURI to be released off of
the main thread, which is bad).
r=mak
r=ehsan
2010-11-09 11:43:18 -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
Marco Bonardo
5ef44c8570 Bug 612235 - "Forget about this site" makes Library a zombie.
r=dietrich a=blocking
2010-11-16 18:15:09 +01:00
Shawn Wilsher
ffb1973389 Merging mozilla-central to Places. 2010-10-29 11:39:41 -07:00
Shawn Wilsher
20967855ac Merge mozilla-central to Places. 2010-10-27 12:28:31 -07:00
Marco Bonardo
c14b21f7c6 Bug 606460 - Queries enhancements after temp tables removal.
r=sdwilsh a=blocking
2010-10-27 14:53:22 +02: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
Marco Bonardo
050e1c6da0 Use a batch in head_queries.js and dump table in case of failures (test_redirectsMode.js failure).
a=perma-orange
2010-10-22 18:43:12 +02:00
Geoff Lankow
583bbabe67 Bug 603002 - History folders labelled with wrong month names.
r=mak a=sdwilsh
2010-10-19 11:03:07 +13:00
Marco Bonardo
c8008e7bc0 Bug 595139 - Use global VACUUM in Places.
r=sdwilsh a=blocking
2010-10-21 12:19:05 +02:00
Marco Bonardo
a80d8b069a Bug 605464 - Reduce work at bookmarks service startup.
r+a=sdwilsh
2010-10-21 02:51:18 +02:00
Marco Bonardo
0e0216170d Bug 605463 - Lazily initialize history statements.
r+a=sdwilsh
2010-10-21 02:37:59 +02:00
Marco Bonardo
4dd39d5300 Bug 595530 - Searching Places is slower after SQLite 3.7.x upgrade. Remove LENGTH check.
r=sdwilsh a=blocking
2010-10-21 02:27:07 +02:00
Shawn Wilsher
8c46198937 Merge mozilla-central into places. 2010-10-20 12:33:53 -07:00
Shawn Wilsher
026e0d8d20 Test failure fix. No bug, but change talked over with mak on irc. 2010-10-18 08:53:53 -07:00
Shawn Wilsher
fee260454c Merging places and mozilla-central. 2010-10-15 09:26:15 -07:00
Shawn Wilsher
878becc3e3 Bug 607309 - Modify nsINavBookmarkObserver::onItemAdded to include the URI
r=mak
sr=mconnor
a=blocking
2010-10-26 17:20:53 -05: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
Shawn Wilsher
3fe0fe5fc9 Bug 599978 - Part 1: Asynchronous isVisited checks should use a read-only cloned connection
Remove the exclusive lock on the places database file.
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
5160bf1f25 Bug 556631 (part 2) - Make frecency updates async. r=sdwilsh a=blocking 2010-10-11 14:53:39 +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
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Marco Bonardo
495daf2b18 Bug 612255 - Don't handle duplicate batches in nsPlacesDBFlush.
r+a=sdwilsh
2010-11-15 16:51:46 +01:00
Marco Bonardo
7889f0a683 Bug 472343 (Part 3) - Merge history and bookmarks batchers.
r=dietrich a=blocking
2010-11-12 22:20:04 +01:00
Marco Bonardo
460d7a7811 Bug 472343 (part 2) - Make Places views aware of batches.
r=dietrich sr=vlad a=blocking
2010-11-12 22:20:00 +01:00
Marco Bonardo
eb235093ae Bug 472343 (part 1) - Make Places results directly handle batches and refreshes.
r?dietrich a=blocking
2010-11-12 22:14:47 +01:00
Marco Bonardo
d7f4ad406c Bug 556721 - Fix some CRLF line endings in Places tests.
no-review a=tests-only
2010-11-12 22:14:20 +01:00
Marco Bonardo
f1465754e4 Bug 598229 (part 2) - Increase performance of Win7 JumpList favorites queries. r=sdwilsh,jimm sr=rstrong a=blocking 2010-10-14 10:46:38 +02:00
Justin Lebar
241ab761e5 Bug 570975 - Don't convert UTF-8 strings to UTF-16 in MatchAutoCompleteFunction r=sdwilsh, a2.0=blocking
--HG--
extra : rebase_source : 70dd986a655e1670fec86e21c8cea7a596e3b0ac
2010-08-31 18:03:40 -07:00
Justin Lebar ext:(%2C%20Kyle%20Huey%20%3Cme%40kylehuey.com%3E)
8b20bfbcec Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07:00
Marco Bonardo
6b48bd0ad3 Bug 606638 - Intermittent failure in test_393498.js. Consider timers resolution on Win. a=orange 2010-10-23 13:23:32 +02:00
Marco Bonardo
4882721b06 Bug 602872 - Some Places xpcshell tests are failing due to idle-daily notified for each test. r=mak a=orange 2010-10-08 11:18:00 -04:00