Commit Graph

478 Commits

Author SHA1 Message Date
Shawn Wilsher
c3bde40cce Bug 468305 - nsINavBookmarksObserver has no "onBeforeItemRemoved" callback
Not having this callback makes life difficult for anyone trying to synchronize
bookmarks.  You cannot get any additional information about a bookmark when
onItemRemoved is called, since it's been removed.  Things like a guid no longer
exist, which results in a lot of pain for add-ons that want to synchronize.
r=dietrich
2009-03-19 15:56:51 -04:00
Dietrich Ayala
688280cc02 backing out due to unit test failures 2009-03-18 19:13:10 -07:00
Marco Bonardo
22338016ad Bug 390614 - Split up the "Older than 6 days" history folder, r=dietrich,pike ui-r=beltzner a=mconnor 2009-03-18 23:38:38 +01:00
Marco Bonardo
266a76ab6d Bug 428690 - Two entries added to history menu when visiting a page that redirects, r=dietrich 2009-03-17 22:00:50 +01:00
Edward Lee
9fed57c6b0 Bug 476299 - Decay frecency values to estimate recalculating frecencies. r=dietrich
Bug 482069 - Awesome bar adaptiveness totally sucks
2009-03-14 01:08:51 -05:00
Shawn Wilsher
367406c6b4 Test to ensure that the content type for moz-anno favicon URIs is set as expected.
This test is being added in bug 481227 but does not depend on the code changes
in that bug.  This test should pass with and without those changes.
r=bz
2009-03-12 14:01:12 -04:00
Shawn Wilsher
58a139c23e Tests for moz-anno protocol for favicons.
The code this was testing was originally added in bug 316077.  This test was
reviewed in bug 481227 because we are modifying the favicon code path.
r=mak
2009-03-11 14:04:05 -04:00
Jeff Walden
98699d32c2 Bug 482068 - Finalize places statements in tests, because failure to do so => assertions that make debug builds and the people who run tests in them angry. r=sdwilsh 2009-03-08 22:12:48 -07:00
Marco Bonardo
6b584b4d71 Bug 480437 - test_expiration is working on wrong assumptions, r=dietrich 2009-03-05 13:08:43 +01:00
Marco Bonardo
210ad84906 Bug 431153 - Middle clicking on a tag in the Library left pane does not open in tabs, r=dietrich 2009-03-05 13:08:18 +01:00
Dietrich Ayala
639679471d Bug 469422 - tag autocomplete disappears on every other character that is typed, r=mak77 2009-03-05 13:07:15 +01:00
Shawn Wilsher
d8f1be3ec1 Bug 480211 - Stop expiring history on every page visit
This makes the history code expire when we flush the temporary table data to
disk instead of every single time we add a visit.  This is also now done on a
background thread as opposed to the main thread, in a transaction with other
work.  In theory, this reduces fsyncs (but in practice, no change was noticed).
Regardless, this removes fsyncs from the main thread, which is always a good
thing to do.
r=dietrich
r=mak
2009-03-03 13:27:01 -05:00
Marco Bonardo
a9919cef88 Bug 476636 - nsFaviconService::ExpireAllFavicons cannot work, r=sdwilsh 2009-02-28 14:17:36 +01:00
Drew Willcoxon
d41a6bfc94 Bug 479082 - AutoComplete should not show unvisited not-bookmarked-elsewhere children of livemark containers, r=sdwilsh 2009-02-28 13:01:36 +01:00
Drew Willcoxon
8b31027ba9 Bug 455315 - when removing a bookmark we recalculate frecency with wrong isBookmark, r=dietrich 2009-02-16 12:09:19 +01:00
Marco Bonardo
d40d34bee0 Bug 477739 - Exception when clicking star icon (no editBookmarkPanel, broken JSON backup), r=dietrich a=blocking191 2009-02-12 12:32:52 +01:00
Marco Bonardo
10063403f7 Bug 477793 - Make sure preventive maintenance cannot act on roots, r=sdwilsh a=blocking191 2009-02-11 11:53:35 +01:00
Marco Bonardo
8af19aa0fb Bug 474582 - With initial migration Shiretoko doesn't import favorites from Internet Explorer 7 anymore, r=dietrich 2009-02-09 19:16:02 +01:00
Dietrich Ayala
0198490a4d backing out bug 432706, causes multiple regressions 2009-02-04 09:49:58 -08:00
Marco Bonardo
658f27c658 Backed out changeset 1cf6c5b25fe5 due to crashes on linux unit test boxes 2009-02-04 15:27:18 +01:00
Marco Bonardo
e80ecb6157 Bug 474582 - With initial migration Shiretoko doesn't import favorites from Internet Explorer 7 anymore, r=dietrich 2009-02-04 13:47:13 +01:00
Shawn Wilsher
8075a939ec Bug 476292 - Crashes on startup on OS X and Linux [@ nsNavBookmarks::IsRealBookmark] [@ PL_DHashTableOperate]
This fixes a crash when we initialize nsNavBookmarks with a database that is out
of date (the schema version is less than the current one).  Because the bookmark
service initializes the history service in its Init method, and the history
service tries to get the bookmark service if the database needs an upgrade, we
try to re-enter the bookmark service's constructor.  Bad things happen.

Adds a test to ensure that we don't do this again.

r=dietrich
r=MaK77
2009-02-03 21:58:21 -05:00
Drew Willcoxon
a284ae1506 Bug 444179 - Library>Views>Sort>Sort by Tags does nothing, r=mak77 2009-01-30 13:34:38 +01:00
Shawn Wilsher
4756beb1ae Bug 449406 - bookmarks of TRANSITION_DOWNLOAD and TRANSITION_EMBED don't show up in the location bar if they've been visited
This adds a new function to nsNavBookmarks that determines if a place id is a
"real" bookmark (not a livemark child).  It also makes a number of places use
this new function to unify and simplify a number of code paths.

Additionally, it changes how frecency is calculated for bookmarked items.  If a
visit is bookmarked (aIsBookmarked is true in CalculateFrecencyInternal), the
visited bookmark bonus is now added for all visits.  The visit bonus was also
cut in half for bookmarks so TRANSITION_BOOKMARK will still end up with the same
value (150).

r=dietrich
r=MaK77
2009-01-27 21:01:33 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Drew Wilcoxon
43ac281f8c Bug 370197 - Places query serialization needs tests . r=mak77 2009-01-21 12:39:07 +01:00
Marco Bonardo
30a58baa84 Bug 466422 - Clicking history - show all history doesn't show any history, r=dietrich 2009-01-21 12:39:07 +01:00
Edward Lee
a0fa2b97c8 Bug 471903 - pref urlbar.autocomplete.enabled is no longer implemented. r=dietrich
Bug 472943 - Two confusable preferences, "browser.urlbar.search.sources" and "browser.urlbar.default.behavior", should be unified

--HG--
rename : toolkit/components/places/tests/autocomplete/test_search_sources.js => toolkit/components/places/tests/autocomplete/test_enabled.js
2009-01-21 02:00:04 -06:00
Marco Bonardo
9952bff6eb Bug 452000 - Sort by keyword in Library does not work, r=dietrich 2009-01-17 15:45:37 +01:00
Drew Willcoxon
2ad84319b7 Bug 463674 - changeBookmarkURI() doesn't update internal bookmark hash, r=mak77 2009-01-15 15:37:33 +01:00
Drew Willcoxon
c149de9294 Bug 412132 - after changing a bookmark's location, need to update the frecency of the "old" uri, r=dietrich 2009-01-13 11:48:27 +01:00
Marco Bonardo
4c89a6229d Bug 454977 - remove INSERT OR REPLACE to avoid error prone paths with views, r=dietrich 2009-01-13 11:48:25 +01:00
Robert Kaiser
0b557fdaa3 bug 471886 - Make places autocomplete tests even more robust against default prefs, r=Mardak 2009-01-10 16:29:17 +01:00
Edward Lee
a5317482ad Bug 426864 - Only show user typed history pages for the urlbar dropdown. r=dietrich 2009-01-07 15:47:58 -08:00
Edward Lee
dacf203db8 Bug 463483 - matchOnlyTyped no longer honored with special filters. r=dietrich
Bug 463558 - Switch matchOnlyTyped to restrict.typed "~" (default.behavior + 32)
2009-01-07 15:47:56 -08:00
Marco Bonardo
3b1f2a552d Bug 468400 - xpcshell-simple/test_places/unit/test_adaptive.js | *** TIMEOUT ***: The test timed out while polling database, r=sdwilsh 2009-01-08 00:37:01 +01:00
Marco Bonardo
1d07d32522 Bug 466407 - History menu often shows duplicated items, r=dietrich 2009-01-08 00:37:01 +01:00
Marco Bonardo
83a374cd4f Bug 470429 - nsPlacesDBFlush::onItemAdded should not sync if the item is a container, r=sdwilsh 2009-01-08 00:37:00 +01:00
Marco Bonardo
248d436712 Bug 462765 - instant-apply muddies the MRU folder list in the bookmark properties dialog, r=dietrich 2009-01-08 00:37:00 +01:00
Dietrich Ayala
c01314e672 Bug 432706 - Deleting/adding/updating a large quantity of bookmarks/history is very slow due to updating observers (r=marco) 2009-01-02 11:03:38 -08:00
Marco Bonardo
0cafd269c4 Bug 470707 - [SeaMonkey] test_download_history.js fails now, r=dietrich 2008-12-30 22:42:23 +01:00
Marco Bonardo
485f62946f Bug 439129 - Clearing browsing history does not hide livemarks children from the location bar, r=dietrich 2008-12-30 22:42:22 +01:00
Dietrich Ayala
17dd8776c4 Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (relanding w/ leak fix, r=marco, r=gavin, l10n-r=pike) 2008-12-30 13:44:55 +01:00
Dietrich Ayala
44e08929e7 backout bug 414715 due to leaks 2008-12-29 17:22:39 -08:00
Dietrich Ayala
c51318949c Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (relanding w/ leak fix, r=marco, r=gavin, l10n-r=pike) 2008-12-29 14:49:05 -08:00
Robert Kaiser
a855c51d33 bug 469593 - test_423060.xul fails on SeaMonkey, r=gavin
--HG--
rename : toolkit/components/places/tests/chrome/Makefile.in => browser/components/feeds/test/chrome/Makefile.in
rename : toolkit/components/places/tests/chrome/sample_feed.atom => browser/components/feeds/test/chrome/sample_feed.atom
rename : toolkit/components/places/tests/chrome/test_423060.xul => browser/components/feeds/test/chrome/test_423060.xul
2008-12-23 15:58:44 +01:00
Marco Bonardo
952200fe50 Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh 2008-12-22 11:07:21 +01:00
Marco Bonardo
dce47704f5 Bug 458849 - transition download visits saved when "Keep my history..." is unchecked, r=sdwilsh 2008-12-19 13:36:15 +01:00
Dietrich Ayala
a81ff7e680 imported patch backout-bug414715 2008-12-18 17:09:25 -08:00
Dietrich Ayala
3299fb830d Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (r=marco, r=gavin, l10n-r=pike) 2008-12-18 13:47:48 -08:00
Dietrich Ayala
5dfe4f0055 Bug 469102 - Places Tag Autocomplete breaks with certain tags (Regex escaping) (r=marco) 2008-12-18 12:33:47 -08:00
Marco Bonardo
da6bfbbb37 Bug 453529 - Retain embed visits and places into the temp table in memory, r=sdwilsh 2008-12-17 11:41:44 +01:00
Marco Bonardo
c13d5fd1dd Bug 469062 - test_multiple_visits_around_sync.js leaks now, r=sdwilsh 2008-12-17 11:41:44 +01:00
Marco Bonardo
45b8f132d3 Bug 468836 - Existing tags no longer show and cannot be edited, r=dietrich 2008-12-11 15:23:25 +01:00
Robert Sayre
38305f3678 backout bug 468836, checked in on persistent orange. 2008-12-11 02:44:01 -08:00
Marco Bonardo
1006ee8d3a Bug 468836 - Existing tags no longer show and cannot be edited, r=dietrich 2008-12-11 01:32:24 +01:00
Edward Lee
cdd08cee41 Bug 463459 - Use a separate pref instead of empty restrict/match values to specify defaults. r=dietrich, a1.9.1=beltzner 2008-12-10 10:58:43 -06:00
Robert Kaiser
b6de2bc403 fix up my test bustage by removing a spurious { the review didn't catch, not sure why I did put it there, sorry. 2008-12-10 14:33:52 +01:00
Robert Kaiser
309980c5e5 bug 468341 - Some toolkit places tests fail on SeaMonkey unit test boxes - make tests mor tolerant to default prefs, non-override DOM error messages, non-existing browser-specific services and protcol defintions, r=sdwilsh a=tests-only 2008-12-10 13:18:14 +01:00
Marco Bonardo
6d9599a014 followup to Bug 431558 - implement preventive maintenance for places.sqlite, remove observer on test finish, r=sdwilsh 2008-12-10 11:44:01 +01:00
Dietrich Ayala
7a9981ce5f Bug 463513 - Tagging service could hold a fixed cache instead of an open node, r=mak77 2008-12-10 11:40:13 +01:00
Marco Bonardo
475620037e Bug 465510 - random failures on test_database_sync_after_addVisit.js, r=sdwilsh 2008-12-09 21:39:32 +01:00
Marco Bonardo
d68f8a9e09 Bug 467971 - random failures on test_multiple_visits_around_sync.js, r=sdwilsh 2008-12-09 21:39:32 +01:00
Marco Bonardo
0dd8a6691d Bug 431558 - implement preventive maintenance for places.sqlite, r=dietrich 2008-12-09 21:39:32 +01:00
Marco Bonardo
2a4f1b3c4e ug 466303 - When removing bookmark backups remove also old html ones, r=dietrich 2008-12-05 16:27:23 +01:00
Marco Bonardo
c53ec05b07 Bug 460119 - Convert autocomplete feedback increase to an async query, r=dietrich 2008-12-04 16:41:06 +01:00
Marco Bonardo
d984c838eb Bug 463863 - Download history not shown in Places history, r=dietrich, ui-r=beltzner 2008-12-04 13:59:04 +01:00
mak77@bonardo.net
3d576ef8ce Bug 463471 - temp tables are not correctly synced to disk when the user clear private data on shutdown (r=sdwilsh, r=dietrich) 2008-11-13 22:45:49 -08:00
Ehsan Akhgari
a89e46f55a Bug 461710 - Write an automated test to ensure that visited link coloring is turned off in private browsing mode (further fixes); r=dietrich (NPOTB) 2008-11-13 23:12:03 +03:30
Marco Bonardo
45455110de backout test for bug 463471 causing orange 2008-11-13 11:33:01 +01:00
Dietrich Ayala
127a3341a9 [mq]: backout-bug-463471 2008-11-12 23:50:19 -08:00
Marco Bonardo
36f739f320 Bug 463471 - temp tables are not correctly synced to disk when the user clear private data on shutdown, r=dietrich, sdwilsh a=beltzner 2008-11-12 21:50:02 +01:00
Marco Bonardo
20ae2fab49 Bug 462366 - correct bogus importBookmarksHTML behaviour, r=dietrich a=beltzner 2008-11-12 21:45:53 +01:00
Edward Lee
a246ed282d Bug 463661 - Create a pref to control the location bar search sources (history, bookmark, both, none). r=dietrich, a1.9.1b2=beltzner
Bug 463535 - Continuing search immediately after changing prefs give wrong results
2008-11-10 10:04:36 -06:00
Marco Bonardo
d2ef7735fd Bug 459493 - remove placesBackground, r+a=mconnor 2008-11-06 23:22:10 +01:00
mak77@bonardo.net
234918c058 Bug 418643 - Bookmark folder deletion executes too many SQL statements (r=dietrich) 2008-11-05 14:02:12 -08:00
Dietrich Ayala
029ea93f23 Bug 419792 - Use optimized query to get tags for nsNavHistoryResultNode (r=mano) 2008-11-05 10:20:00 -08:00
Ehsan Akhgari
5fdab7c48c Bug 461710 - Write an automated test to ensure that visited link coloring is turned off in private browsing mode; r=dietrich 2008-11-04 02:52:23 +03:30
Ehsan Akhgari
a2e1bc51b4 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [Places unit test fix]; r=dietrich 2008-11-04 02:52:22 +03:30
Ehsan Akhgari
4770654ff7 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
Dietrich Ayala
15440bfcb0 Bug 415960 - bookmark tags edit control should provide autocomplete (r=mano, core by asouzis@users.sf.net) 2008-10-31 09:16:22 -07:00
Marco Bonardo
f118fc44e0 Bug 460947 - fsync stuff has a wrong query for expiration sites cap
r=dietrich
2008-10-27 18:52:23 -04:00
Marco Bonardo
e8ac5aeecb Bug 459491 - nsPlacesDBFlush could use async queries instead of background thread
r=sdwilsh

--HG--
rename : toolkit/components/places/tests/background/head_background.js => toolkit/components/places/tests/sync/head_sync.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addBookmark.js => toolkit/components/places/tests/sync/test_database_sync_after_addBookmark.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addBookmark_batched.js => toolkit/components/places/tests/sync/test_database_sync_after_addBookmark_batched.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addVisit.js => toolkit/components/places/tests/sync/test_database_sync_after_addVisit.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addVisit_batched.js => toolkit/components/places/tests/sync/test_database_sync_after_addVisit_batched.js
rename : toolkit/components/places/tests/background/test_database_sync_after_modifyBookmark.js => toolkit/components/places/tests/sync/test_database_sync_after_modifyBookmark.js
rename : toolkit/components/places/tests/background/test_database_sync_after_quit_application.js => toolkit/components/places/tests/sync/test_database_sync_after_quit_application.js
rename : toolkit/components/places/tests/background/test_multiple_bookmarks_around_sync.js => toolkit/components/places/tests/sync/test_multiple_bookmarks_around_sync.js
rename : toolkit/components/places/tests/background/test_multiple_visits_around_sync.js => toolkit/components/places/tests/sync/test_multiple_visits_around_sync.js
2008-10-27 18:52:21 -04:00
Shawn Wilsher
7a2e763702 Bug 450290 - Sync the temp tables to the permanent tables.
This changeset adds code that is run at app-startup that will flush out changes
to the temporary tables into the permanent ones.  For moz_places, this is done
whenever we sync moz_historyvisits and when we add or modify a bookmark.  For
moz_historyvisits, this is done on a timer controlled by the preference
places.syncDBTableIntervalInSecs.
Changeset includes full test coverage for the above behaviors.
r=dietrich
r=Mak77
2008-10-27 18:52:20 -04:00
Marco Bonardo ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
3fc608c2a6 Bug 449640 - Modify the places backend to use the temporary tables &
Bug 450705 - Optimize the query changes from the temp table rewrite
This changeset merges patches from two bugs to actually use the temporary tables
created for places.
Bug 449640 patch by Shawn Wilsher <sdwilsh@shawnwilsher.com>
r=dietrich, r=Mak77
Bug 450705 patch by Marco Bonardo <mak77@bonardo.net>
r=sdwilsh, r=dietrich, r=Mardak
2008-10-27 18:52:20 -04:00
Ehsan Akhgari
229637b291 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [places part]; r=dietrich 2008-10-20 00:44:59 +03:30
Marco Bonardo
564c306794 Bug 458683 - Backup only uri nodes into tag containers, r=dietrich 2008-10-14 17:24:08 +02:00
Marco Bonardo
3b22c3d551 Bug 457698 - nsNavHistoryFolderResultNode::OnItemAdded ignores dynamic containers, r=dietrich 2008-10-13 18:14:50 +02:00
Marco Bonardo
6d926ff1b7 Bug 457686 - appendURINode should not append to a dynamic container if we are inside an excludeItems query, r=dietrich 2008-10-13 18:06:50 +02:00
Marco Bonardo
56441e9d6e Bug 457681 - if ExcludeReadOnlyFolders is false, readonly dynamic containers are still excluded, r=dietrich 2008-10-13 17:58:36 +02:00
Ben Turner
311284ddff Bug 455436 - "XPConnect insists on using its own error reporter even when another is already set." r+sr=jst. 2008-10-12 11:32:34 -07:00
Daniel Holbert
72c410a648 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Marco Bonardo
bd07734758 Bug 448584 - Don't save invalid uri nodes while doing a JSON backup (don't stop while saving data), r=dietrich 2008-09-30 10:41:36 +02:00
Dietrich Ayala
89c275d5aa Bug 420331 - wyciwyg: uris show up in location bar (r=mardak) 2008-09-29 23:46:52 -07:00
Dietrich Ayala
2fa7f086c3 test for bug 331459 - Places query ignores onlyBookmarked 2008-09-29 23:28:08 -07:00
Dietrich Ayala
5d9c44b264 pushing test for bug 433317, forgot to check-in initially 2008-09-29 23:22:46 -07:00
Marco Bonardo
a599a40812 Follow-up to Bug 329534 - Live bookmarks load way too aggressively. Try to workaround possible VM timers bugs that could cause test failures. r=dietrich 2008-09-30 01:24:44 +02:00
Takeshi Ichimaru
820d6827ba Bug 329534 - Live bookmarks load way too aggressively (lock up/hang/freeze browser), r=dietrich, mak77 2008-09-27 13:05:28 +02:00
Shawn Wilsher
4a538b5c1c Backout of last four changesets (places fsync work) 2008-09-26 14:20:14 -04:00
Shawn Wilsher
2a6d34742b Bug 450290 - Sync the temp tables to the permanent tables.
This changeset adds code that is run at app-startup that will flush out changes
to the temporary tables into the permanent ones.  For moz_places, this is done
whenever we sync moz_historyvisits and when we add or modify a bookmark.  For
moz_historyvisits, this is done on a timer controlled by the preference
places.syncDBTableIntervalInSecs.
Changeset includes full test coverage for the above behaviors.
r=dietrich
r=Mak77

--HG--
rename : toolkit/components/places/tests/unit/head_bookmarks.js => toolkit/components/places/tests/background/head_background.js
2008-09-26 13:47:19 -04:00
Marco Bonardo ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
b9562883b9 Bug 449640 - Modify the places backend to use the temporary tables &
Bug 450705 - Optimize the query changes from the temp table rewrite
This changeset merges patches from two bugs to actually use the temporary tables
created for places.
Bug 449640 patch by Shawn Wilsher <sdwilsh@shawnwilsher.com>
r=dietrich, r=Mak77
Bug 450705 patch by Marco Bonardo <mak77@bonardo.net>
r=sdwilsh, r=dietrich, r=Mardak
2008-09-26 13:45:59 -04:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Serge Gautherie
d583b6d94c Bug 450938 - "test_417228-other-roots.js:89: strict warning: assignment to undeclared variable excludedFolderId"; Av1; r=mano 2008-09-07 16:46:41 +02:00
Marco Bonardo
016e09eab3 Bug 451499 - wrong folder icon appears on smart bookmarks, r=dietrich 2008-09-06 17:21:55 +02:00
Shawn Wilsher
f22841cdcd Bug 452777 - regression from lastInsertRowID: Undo folder deletion mix up views
r=Mak77
2008-09-03 12:45:20 -04:00
Marco Bonardo
fed5a1056a Bug 442731 - GIF favicons are not resampled in places.sqlite (large icons are stored), r=dietrich, pavlov 2008-09-02 13:59:59 +02:00
Shawn Wilsher
538d2ecdf2 Bug 429988 - Use a background thread for places work when possible
This changeset creates a JS module that acts as a wrapper for a background
thread to do places work on.
Tests included!
r=bent
r=dietrich
2008-08-27 22:33:01 -04:00
Edward Lee
2958cfc7b7 Bug 451760 - Allow matching at beginning of title/url by pref. r=dietrich 2008-08-24 10:45:33 -05:00
Marco Bonardo
f682e17963 Bug 411966 - Wrong favicon appears in the bookmarks list, r=dietrich 2008-08-19 11:26:16 -04:00
Marco Bonardo
9ac24ff28a Bug 427142 sporadic test_393498.js failure on bm-win2k3-pgo01 because of VM timer issues. r=dietrich 2008-08-18 12:55:24 -04:00
Dietrich Ayala
974dc64fd8 Bug 450674 - Fix test_expiration.js
r=sdwilsh
2008-08-16 18:34:36 -04:00
Shawn Wilsher
186dba48ff Bug 444763 - Use an unshared cache connection instead of a shared one
This makes places no longer use a shared cache for the database.  This wins us
about 7% for location bar queries.  For those needing access to the places
database now, they should QI nsINavHistoryService to nsPIPlacesDatase and get
the database connection off of it.
r=dietrich
2008-08-16 18:23:24 -04:00
Dão Gottwald
d6eb562dc8 Backed out changeset be5521120b06 2008-08-13 09:52:48 +02:00
Marco Bonardo
56162e6327 Bug 411966 – Wrong favicon appears in the bookmarks list. r=dietrich 2008-08-13 08:44:38 +02:00
L. David Baron
7732175080 Merge backout of changeset fb56f835e52d due to test failure and leaks. 2008-08-06 11:54:04 -07:00
L. David Baron
a2d75eb595 Backed out changeset fb56f835e52d due to test failure and leaks. 2008-08-06 11:53:44 -07:00
Dietrich Ayala
e8837e2090 bustage fix for bug 329534 2008-08-06 10:20:30 -07:00
Dietrich Ayala
a8f3c3d3f3 [mq]: bug-329534-livemarks-load 2008-08-06 09:51:14 -07:00
Edward Lee
bb6e4fbb75 Bug 422698 - different levels of URL decoding for address bar and autocomplete suggestions 2008-08-05 18:16:35 -07:00
Edward Lee
e3376d97b9 Bug 424717 - Location bar autocomplete should be willing to complete to a URL with a different protocol 2008-08-05 18:16:12 -07:00
Edward Lee
ead983f50a Bug 424509 - Location bar autocomplete favors "http://" over domain name starting with "h". r=dietrich 2008-08-05 17:56:04 -07:00
Edward Lee
3f4c03d18d Bug 424557 - Allow AwesomeBar to default search only urls (or history/titles/bookmarks/tags). r=dietrich 2008-07-21 14:27:50 -07:00
Marco Bonardo
f93c481bb8 bug 427142 - sporadic test_393498.js failure on bm-win2k3-pgo01 because of VM timer issues. r=dietrich 2008-07-21 11:41:09 -04:00
Edward Lee
26fd4468ea Bug 395161 - Make it possible to restrict the url bar autocomplete results to bookmarks/tagged/history entries and match only url/title. r=dietrich 2008-07-19 01:51:34 -07:00
Edward Lee
b8397c4e80 Bug 249468 - Add all bookmark keywords to location bar autocomplete drop-down list 2008-07-17 04:50:37 -07:00
Edward Lee
2fb181ae19 Bug 392143 - show keywords as url bar autocomplete choices. r=dietrich, r=gavin 2008-07-17 04:48:40 -07:00
Olli Pettay
7283e91f7c Relanding Bug 444432 - Mozilla2 Tinderbox 'qm-win2k3-moz2-01': test_places/unit/test_419731.js: FAIL 2008-07-11 16:00:41 +03:00
Dietrich Ayala
95d3caf46a Bug 429832 - Add API to nsIFaviconService to handle data URIs (for manish@flock.com, r=marco, r=dietrich) 2008-07-03 11:07:56 -07:00
Dietrich Ayala
835d7d6453 Bug 437078 - GUIDs not included in bookmark backups (r=mano) 2008-07-03 10:17:13 -07:00
dietrich@mozilla.com
5cffbd5640 Bug 433525 - crash [@ nsNavHistoryQueryResultNode::IsContainersQuery()] (r=marco, r=mano, a=schrep) 2008-05-23 09:22:54 -07:00
dietrich@mozilla.com
60892555a5 Bug 428481 - nsFaviconService calls Abandon on a scoped global statement (for mak77@supereva.it, r=dietrich, a=schrep) 2008-05-07 21:26:10 -07:00
dietrich@mozilla.com
90eb744768 Bug 419957 - History sidebar "By Site" should use visit_count to avoid display of empty sites (for ondrej@allpeers.com, r=dietrich, a=beltzner) 2008-05-06 21:33:05 -07:00
dietrich@mozilla.com
833ad69d76 backing out, tree is closed 2008-05-06 20:28:03 -07:00
dietrich@mozilla.com
2c1cf52261 Bug 419957 - History sidebar "By Site" should use visit_count to avoid display of empty sites (for ondrej@allpeers.com, r=dietrich, a=beltzner) 2008-05-06 20:26:19 -07:00
dietrich@mozilla.com
1070f8fb32 Bug 417228 - Bookmarks outside the three default folders aren't restored (r=mano, a=schrep) 2008-05-06 13:58:45 -07:00
philringnalda@gmail.com
839d05e947 Ignore siteURI annotation changes that are for the default livemark, not our livemark 2008-05-03 13:33:24 -07:00
philringnalda@gmail.com
a19c377f31 Better logging for livemark siteURI test failures 2008-05-03 12:38:23 -07:00
gavin@gavinsharp.com
eca397a97a Bug 421180: When removing bookmarks existing keywords aren't deleted/removed, patch by Marco Bonardo <mak77@supereva.it>, r=dietrich, a=damon 2008-04-29 12:20:50 -07:00
gavin@gavinsharp.com
21fa60bf1c Bug 402799: Saved searches that match on tags show duplicates, patch by Marco Bonardo <mak77@supereva.it>, r=dietrich, a=beltzner 2008-04-29 12:16:42 -07:00
dietrich@mozilla.com
d21da5f02b Bug 405938 - problems when import/exporting of saved searches (r=mano, a=mconnor) 2008-04-25 16:37:26 -07:00
dietrich@mozilla.com
96f3e490b1 Bug 423515 - If Unfiled Bookmarks is moved to Bookmarks Menu, unfiled bookmarks are invisible until browser is restarted (r=mano, a=mconnor) 2008-04-25 14:36:40 -07:00
edward.lee@engineering.uiuc.edu
fc3d4e4739 Bug 429531 - Location bar should show non-word-boundary matches below word-boundary matches. r=dietrich, ui-r=beltzner, b-ff3=beltzner, a1.9=beltzner 2008-04-23 21:20:05 -07:00
edward.lee@engineering.uiuc.edu
cc3b96e78b Bug 429498 - Location bar does not search consistently (matches 1-after a CamelCase). r=dietrich, b-ff3=beltzner, a1.9=mconnor 2008-04-20 19:47:41 -07:00
dietrich@mozilla.com
b2802b4c3e Bug 429505 - OnItemRemoved() fails to live-update for children that are folder-shortcuts (r=mano, a=damon) 2008-04-19 10:58:54 -07:00
edward.lee@engineering.uiuc.edu
c03c90293d Unconfuse comment and add prefs for bug 422869 2008-04-17 17:44:12 -07:00
dietrich@mozilla.com
b50c16a4cb Bug 428133 - removeItem and removeFolder accept ids of the wrong type (r=mano, a=beltzner) 2008-04-13 11:17:46 -07:00
edward.lee@engineering.uiuc.edu
4be378c3f4 Fix up comments now that these tests are using the shared test logic for bug 422869 2008-04-12 10:14:45 -07:00
edward.lee@engineering.uiuc.edu
77a050c2f0 Fix up already processed results check for bug 422869 2008-04-12 01:19:14 -07:00
edward.lee@engineering.uiuc.edu
b15d7da4d1 Now that bug 418257 landed, use shared header to run autocomplete tests for Bug 422869 - Clean up autocomplete tests for use as a template for future tests 2008-04-12 00:32:57 -07:00
edward.lee@engineering.uiuc.edu
13c35e3f6e Move tests from toolkit/components/places/tests/unit to ../autocomplete for bug 422869 cleanup 2008-04-11 23:46:11 -07:00
edward.lee@engineering.uiuc.edu
77424910f4 Bug 418257 - Show what part of which tags match for urlbar autocomplete. r=dietrich, r=gavin, ui-r=beltzner, b-ff3=beltzner, a1.9=mconnor 2008-04-11 20:14:42 -07:00
edward.lee@engineering.uiuc.edu
3710f148fe More testcase cleanup for bug 422869 in preparation for bug 418257 2008-04-11 16:29:16 -07:00
ctalbert@mozilla.com
ed3f91a6ae bug 405924 Test that loading place URIs is prevented r=dietrich 2008-04-11 15:39:13 -07:00
ctalbert@mozilla.com
ce08c37880 Backing out patch for bug 405924 - error on mochitest 2008-04-11 11:34:30 -07:00
ctalbert@mozilla.com
1768b852dd bug 405924 Test that loading place URIs from content prevented, r=dietrich a=mconnor 2008-04-11 10:11:09 -07:00
dietrich@mozilla.com
89b533ac42 Bug 419731 - Changing bookmark title in places should be reflected in tag containers (for mak77@supereva.it, r=mano, a=beltzner) 2008-04-11 09:22:01 -07:00
dietrich@mozilla.com
878f63d1d2 Bug 427142 - sporadic test failure on bm-win2k3-pgo01 (WALLPAPER, for mak77@supereva.it, r=dietrich, a=mconnor) 2008-04-10 13:06:11 -07:00
ctalbert@mozilla.com
152cdb7fdb bug 384226 Checking in makefile after previous backout r=dietrich 2008-04-08 17:54:25 -07:00
dolske@mozilla.com
7caf6b4114 backout Makefile change from bug 384226, references unlanded test. 2008-04-08 15:58:44 -07:00
ctalbert@mozilla.com
f87c4a6242 bug 384226 Adding query tests for places r=dietrich 2008-04-08 15:28:37 -07:00
reed@reedloden.com
3803afe2a3 Bug 317472 - "Save custom encoding (last charset) in annotation service" [p=mak77@supereva.it (Marco Bonardo [mak77]) r=dietrich r=Mano a=blocking-firefox3+] 2008-04-08 11:41:04 -07:00
dietrich@mozilla.com
0fdbddb399 Bug 423200 - nsNavBookmarks.cpp: can't moveItem() one index down? (for mak77@supereva.it, r=dietrich) 2008-04-07 23:32:35 -07:00
edward.lee@engineering.uiuc.edu
21e2de87e0 Bug 422277 - assertions in nsNavHistoryAutocomplete ("not a UTF8 string", etc.). r=dietrich, a1.9=beltzner 2008-04-07 14:25:48 -07:00
joshmoz@gmail.com
02f9335fc2 back out fixes for bugs 423200 and 424038 2008-04-06 13:03:21 -07:00
dietrich@mozilla.com
615104a3da Bug 423200 - nsNavBookmarks.cpp: can't moveItem() one index down? (for mak77@supereva.it, r=dietrich) 2008-04-06 10:30:21 -07:00
dietrich@mozilla.com
828f88df68 Bug 422919 - Bookmark Import and Restore do not intelligently handle two different bookmark formats (r=mano, a=beltzner) 2008-04-03 13:51:54 -07:00
dietrich@mozilla.com
68cbeb1e8f Test for Bug 425563 - Clicked links not colored as visited, or visited color forgotten after hard refresh (for mak77@supereva.it, r=dietrich) 2008-04-02 09:26:32 -07:00
sayrer@gmail.com
1eae5e4f61 Bug 423060. Feed preview page broken when a default web reader is selected. r=gavin. 2008-03-31 23:14:24 -07:00
dietrich@mozilla.com
dc420f587d Bug 424958 - bookmark folder name with quotation marks silently causes the backup file to be unloadable (r=mano) 2008-03-31 09:58:02 -07:00
edward.lee@engineering.uiuc.edu
f1354af32c More cleanup for Bug 422869 - Clean up autocomplete tests for use as a template for future tests 2008-03-27 11:18:20 -07:00
edward.lee@engineering.uiuc.edu
ca0f24fe3b Bug 425056 - Location bar matches bookmarks that do not show search matches 2008-03-27 09:38:42 -07:00
dietrich@mozilla.com
e8b583fd16 Bug 416313 ? Define the identity of the visit_count column (for mak77@supereva.it, r=edilee,dietrich) 2008-03-26 21:05:25 -07:00
dietrich@mozilla.com
f1c28ec55e Bug 423960 ? regression: disabling history remembers visits (for mak77@supereva.it, r=dietrich) 2008-03-19 16:18:56 -07:00
dietrich@mozilla.com
b1efb5da96 Bug 420354 ? History not shown in sidebar when sorted by date or by date and site (for ondrej@allpeers.com, r=dietrich) 2008-03-19 14:08:10 -07:00
edward.lee@engineering.uiuc.edu
86937a9632 Bug 393678 - location bar autocomplete should take word boundaries in account. r=dietrich, b-ff3=beltzner 2008-03-18 19:11:05 -07:00
dietrich@mozilla.com
70fe7d928a Bug 419170 ? The history includes too few days, browser.history_expire_days_min is ignored (for mak77@supereva.it, r=dietrich) 2008-03-18 11:03:34 -07:00
gavin@gavinsharp.com
6fa9a6af44 Bustage fix for bug 329741: teach head_bookmarks.js about NS_APP_HISTORY_50_FILE (which is now required by nsNavHistory::init) 2008-03-18 07:40:54 -07:00
mconnor@steelgryphon.com
e296c9749a Bug 329741 - history.dat, formhistory.dat, downloads.rdf should be deleted when the user clears private data, r=gavin 2008-03-18 05:54:23 -07:00
dietrich@mozilla.com
0825242d9e Bug 393498 ? on cut, then undo of a bookmark, we lose the dateAdded and lastModified values (r=mano) 2008-03-17 16:25:36 -07:00
sdwilsh@shawnwilsher.com
9672b5fb6b Bug 399264 - stop hard coding folder roots in place: urls. r=dietrich 2008-03-15 12:39:04 -07:00
edward.lee@engineering.uiuc.edu
67eba3e038 Clean up autocomplete tests for use as a template for future tests 2008-03-13 22:01:39 -07:00
edward.lee@engineering.uiuc.edu
88948d6009 Bug 415397 - URLs with (un)escaped characters can't be deleted. b-ff3=beltzner 2008-03-12 16:40:01 -07:00
edward.lee@engineering.uiuc.edu
6812b5ed7a Bug 417441 - Bookmark cannot handle %2B ('+' sign) when accessed by its tag. b-ff3=beltzner 2008-03-12 16:39:52 -07:00
dietrich@mozilla.com
3930f6f3af Bug 419749 - Add/Update/Delete for items in query set do not seem to close transaction (r=dietrich) 2008-03-12 16:36:24 -07:00
sayrer@gmail.com
197ffe4af0 Bug 381357. Live bookmarks for feeds served as text/html don't load. r=gavin 2008-03-11 13:05:09 -07:00
roc+@cs.cmu.edu
6ce7967ace Bug 403181, revert more bogus test images 2008-03-09 16:53:48 -07:00
edward.lee@engineering.uiuc.edu
6020ec0bee Bug 411293 - make the url bar drop down show typed sites ordered by frecency, not visit date. b-ff3=mconnor 2008-02-28 08:04:59 -08:00
edward.lee@engineering.uiuc.edu
069d555c02 Bug 395739 - adaptive learning (match entered text to selected item) in url bar autocomplete. r=dietrich, b-ff3=beltzner, a1.9=beltzner, a1.9b4=beltzner 2008-02-28 08:04:13 -08:00
reed@reedloden.com
7199e2093e Bug 419877 - "history sidebar unit test failing due to TZ issues" (Use PRTime instead of sqlite date/time functions) [p=ondrej@allpeers.com (Ondrej Brablc) r=dietrich a1.9b4=beltzner] 2008-02-28 02:29:36 -08:00
dietrich@mozilla.com
32f3078545 Bug 419877 - disabling test for now, patch coming up 2008-02-27 09:42:15 -08:00
edward.lee@engineering.uiuc.edu
f1409cffdb Bug 419766 - Allow partial tag match and multiword matching against title, url, tags in places 2008-02-26 22:25:46 -08:00
edward.lee@engineering.uiuc.edu
1fb982a57e Bug 419366 - Support "out of order" multiple word tag search in places organizer 2008-02-26 22:25:44 -08:00
edward.lee@engineering.uiuc.edu
862f0ae642 Bug 415460 - searching in places queries does not decode urls. r=dietrich, b-ff3=beltzner 2008-02-26 22:25:40 -08:00
dietrich@mozilla.com
afe5d0c449 test file meant to be removed with bug 385245 2008-02-26 21:27:10 -08:00
dietrich@mozilla.com
001f0600cb test for Bug 385245 (for ondrej@allpeers.com, r=dietrich) 2008-02-26 20:51:10 -08:00
dietrich@mozilla.com
e99b7ee9f2 Bug 385245 ? history sidebar very slow (way slower than fx2) (for ondrej@allpeers.com, r=dietrich) 2008-02-26 20:48:51 -08:00
edward.lee@engineering.uiuc.edu
4b7ecd8439 Bug 419068 - Allow tagged pages to mingle with non-tagged autocomplete results 2008-02-25 16:22:09 -08:00
edward.lee@engineering.uiuc.edu
2515f14059 Bug 418920 - Allow multiple word search with tags in addition to title and url 2008-02-25 15:58:23 -08:00
edward.lee@engineering.uiuc.edu
d1154dab87 Bug 405320 - support "out of order" multiple word tag search in the url bar and in the places organizer. b-ff3=beltzner 2008-02-25 15:57:19 -08:00
edward.lee@engineering.uiuc.edu
ba2625a81b Bug 416211 - Tagged results don't show bookmark title when matching the tag 2008-02-25 15:54:30 -08:00