Commit Graph

34 Commits

Author SHA1 Message Date
Shawn Wilsher
45262a769a Bug 509566 - Location bar does not respect tag filter preference
Fixes a regression from Bug 455555 that makes us no longer respect the tag
filter preference and always use the default.  Also adds tests to make sure we
do not break any of our filter preferences in the future.
r=dietrich
2009-08-11 13:38:10 -07:00
Ted Mielczarek
ad775e7a7a bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Ted Mielczarek
bf94951904 Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
b6d8d93b5c bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Shawn Wilsher
1dbb962adf xpcshell unit test fix from async location bar landing on a CLOSED TREE. no bug. r=dietrich 2009-07-30 13:53:06 -07:00
Shawn Wilsher
c113953d34 Merging places and mozilla-central. 2009-07-30 08:41:55 -07:00
Shawn Wilsher
c2762f99e9 Bug 455555 - Use asynchronous queries for places AutoComplete.
This changes the location bar's AutoComplete provider to use asynchronous
queries instead of synchronous ones.  No more blocking the main thread FTW!
r=mak
r=Mardak
r=dietrich
2009-07-13 12:19:03 -07:00
David Dahl
0a849852a4 Bug 479089 - Need to test that removing a page from autocomplete actually removes a page, r=sdwilsh 2009-07-29 23:50:37 +02:00
Mark Finkle ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E%2C%20Marco%20Bonardo%20%3Cmak77%40bonardo.net%3E)
cf0241bf3f Bug 483980 - Allow history/bookmark observer components to register with a startup category
This changeset allows for history and bookmark observers to be registered via
the category manager.  This means the bookmarks service does not have to be
initialized at startup to register observers with it, as well as the history
service.
r=sdwilsh
r=mak
r=dietrich
2009-03-25 15:31:36 -05:00
Edward Lee
db56f2f905 Bug 485122 - When the user selects to only display history in the location bar, don't display the star and tag icons for items that happen to be bookmarked or tagged. r=dietrich
Pretend a page isn't bookmarked/tagged when searching for only history unless the user explicitly wants them. Test by updating special searches test to ignore tags when searching for history ^.
2009-05-12 10:17:57 -05: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
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
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
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
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
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
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
Edward Lee
2958cfc7b7 Bug 451760 - Allow matching at beginning of title/url by pref. r=dietrich 2008-08-24 10:45:33 -05: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
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
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
edward.lee@engineering.uiuc.edu
c03c90293d Unconfuse comment and add prefs for bug 422869 2008-04-17 17:44:12 -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