Commit Graph

683 Commits

Author SHA1 Message Date
Benjamin Stover
e4051ec461 Bug 556400 - Add visits Asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:33 -07:00
Dave Townsend
f1d4bafdbd Backed out changeset f9a700607b86 from bug556400 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %AC%2C%060%A3Shzk%F0%19i%87%AB%D8%87%B8%5E%80%A6
2010-07-02 20:01:44 -07:00
Dave Townsend
1603750c26 Backed out changeset 07a9dcc28c5c from bug 566738 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %0C%19%86%CE%D8%F3%95%7FV%BA%3DsM%06%D4%EF%C8%B7%8Dq
2010-07-02 20:00:45 -07:00
Benjamin Stover
c41accdd7c Bug 566738 - Make setting titles asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:19:33 -07:00
Benjamin Stover
97eb3d6fee Bug 556400 - Make adding visits asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:08:28 -07:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Stover
8150bfd360 Backout of bugs 575908, 566738, and 556400 2010-06-29 17:34:52 -07:00
Benjamin Stover
41fbf65971 Bug 566738 - Add SetURITitle to IHistory r=sdwilsh, sr=bz 2010-06-29 14:12:41 -07:00
Benjamin Stover
86673a511e Bug 556400 - Implement asyncable VisitURI. r=sdwilsh, sr=bz 2010-06-29 13:58:36 -07:00
Benjamin Smedberg
c16cf0f0c5 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00
Benjamin Smedberg
9cadd0fe5f Fix contracts which were not registered correctly: nsPlacesAutoComplete.js was completely missing, and the nsINIParserFactory contract was missing. Fixes test_pref_interval.js to register/unregister its mock objects correctly. 2010-06-25 22:17:31 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Drew Willcoxon
bb224ec5ad Bug 573430 - nsIFaviconService.getFaviconData should not fail when passed the default favicon. r=mak 2010-06-25 14:06:14 -07:00
Benjamin Smedberg
abf280675d Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Mehdi Mulani
1021f12095 Bug 564270 - Can not search Places by transition type 2010-06-23 10:01:27 -07:00
Daniel Holbert
a7de49793d Backed out changeset 5da9fc2be835 (Bug 557566) 2010-06-26 20:00:11 -07:00
Daniel Holbert
d37294426a Bug 557566, part 2: Add FAIL_ON_WARNINGS to Makefiles in some build-warning-free directories. r=ted 2010-06-26 14:25:22 -07:00
Doug Turner
26297a1c2a Backing out af6c00ca82d1 2010-06-26 00:32:19 -07:00
Doug Turner
d4af2b4341 Backing out 1a916e3c1ad1 2010-06-26 00:31:31 -07:00
Benjamin Stover
785d263fb3 Bug 566738 - Add SetURITitle to IHistory. r=sdwilsh sr=bz 2010-06-25 22:53:41 -07:00
Benjamin Stover
44b838b62d Bug 556400 - Implement asyncable VisitURI. r=sdwilsh sr=bz 2010-06-25 22:50:29 -07:00
Marco Bonardo
82fb454a43 Fix and re-enable test_history_expiration.js 2010-06-17 21:46:22 +02:00
Drew Willcoxon
23f6c7fa89 Bug 564573 - A page that's opened in a tab should appear exactly once, as switch-to-tab. r=mak 2010-06-14 11:51:53 -07:00
Justin Wood
7eb105907c Bug 568733 - patch for mobile specific browser-chrome tests breaks seamonkey. r=ted
pending-feedback=jmaher

Also RE-enables browser-mochitests for docshell.
2010-06-09 19:29:44 -04:00
Edward Lee
fc92ca4487 Bug 461483 - Ignore 'www.' when searching in the the awesome bar [r=mak]
Strip out www. from found urls and the query after already stripping off http://, etc. Update tests now that www. can't be matched.

--HG--
extra : rebase_source : 352f2dfb302a56fc3e83dffcbb1bd2a53208510d
2009-07-24 17:57:26 -07:00
Joel Maher
c18ae0e88f Bug 535922 - Genereate mobile specific browser chrome test package files r=ted 2010-05-27 13:01:37 -07:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Daniel Holbert
942fda5f5c Bug 560393, part 1: (places directory) Fix warning: "format '%d' expects type 'int', but argument [N] has type 'size_t'". r=sdwilsh 2010-05-06 11:52:15 -07:00
Serge Gautherie
1ac1fdd1d8 Bug 535905 - [SeaMonkey 2.1] mochitest-browser-chrome: "Exception thrown at chrome://mochikit/content/browser/toolkit/components/places/tests/browser/browser_bug399606.js:74 - ReferenceError: XPCOMUtils is not defined"; (Av1) Add missing |Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");|.
r=mak77.
2010-04-28 23:49:28 +02:00
Marco Bonardo
d4b3c277bb Test for containerNode->getChildIndex(node)(related to bug 561848). r=dietrich 2010-04-28 09:17:04 +02:00
Marco Bonardo
2ad8eca76b Bug 560104 - rename toolkit places utils.js to PlacesUtils.jsm r=dietrich
--HG--
rename : toolkit/components/places/src/utils.js => toolkit/components/places/src/PlacesUtils.jsm
2010-04-26 21:04:17 +02:00
timeless@mozdev.org
18f4a5a5a3 Bug 555659 - places/tests/cpp/mock_Link.h doesn't initialize mRegistered and mContent, r=sdwilsh, a=1
--HG--
extra : rebase_source : b1993fad9fc5674e673c10150a2fb12e9216fea4
2010-03-29 02:10:00 -07:00
Marco Bonardo
f0b25bedf3 Bug 529821 - Places should shutdown earlier (at profile-before-change). r=sdwilsh r=ehsan 2010-04-22 14:53:54 +02:00
Marco Bonardo
dc98c63f6e Bug 542736 - random orange in xpcshell/tests/test_places/expiration/test_pref_interval.js r=sdwilsh 2010-04-20 10:07:21 +02:00
Marco Bonardo
cccce40f04 Bug 541068 - random failure in expiration\test_removeAllPages.js r=dietrich 2010-04-20 10:07:16 +02:00
Marco Bonardo
e203107ce4 Bug 557406 - Intermittent xpcshell failure in test_bookmarks.js, r=dietrich 2010-04-18 16:05:58 +02:00
Marco Bonardo
698a556c8d Bug 509426 - disable flushes on test_405938_restore_queries.js 2010-04-17 12:07:21 +02:00
Marco Bonardo
6dc8730c40 Bug 527134 - disable flushes for test_385829.js a=dietrich 2010-04-16 23:50:58 +02:00
Marco Bonardo
229fe714c7 Bug 527622 - test_sorting.js should wait for clear history. a=dietrich 2010-04-16 23:50:40 +02:00
Marco Bonardo
c4a48f9863 Bug 540751 - test_update_frecency_after_delete.js should wait for clear history. a=dietrich 2010-04-16 23:50:21 +02:00
Marco Bonardo
2f483437e5 Bug 547334 - test_browserhistory.js should wait for clear history. a=dietrich 2010-04-16 23:49:44 +02:00
Marco Bonardo
32a0915d52 Bug 556347 - LAZY_TIMER*2 is not large enough to ensure correctness of the test. a=dietrich 2010-04-16 23:48:38 +02:00
Marco Bonardo
c6a363b619 Disable flushes for some Places random test, due to bug 507790 2010-04-15 00:14:19 +02:00
Marco Bonardo
918dd0d463 Bug 557406 - Intermittent failure in test_bookmarks.js. Disable till we implement a fix. 2010-04-15 00:14:15 +02:00
Dietrich Ayala
bc51cf819c Bug 557406 - Intermittent xpcshell failure in test_bookmarks.js | false == true (via shaver, test landing to see orange effect) 2010-04-13 22:57:36 -07:00
Drew Willcoxon
b660f0bb6a Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 2), r=mano 2010-04-09 11:30:35 -07:00
Drew Willcoxon
207fc62f9f Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 1), r=mano, sr=vlad 2010-04-09 11:30:29 -07:00
Ehsan Akhgari
3313f2610b Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks 2010-04-07 13:29:10 -04:00
Ehsan Akhgari
f11e5f3370 Bug 553124 - After bug 147777 lands, private browsing doesn't need to disable coloring of visited links any more; r=sdwilsh,bzbarsky
--HG--
extra : rebase_source : 7aff54b4357ca411278e906ecd022adfd1bb09cc
2010-04-06 13:47:42 -04:00
L. David Baron
c6cfc1d0a4 Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07:00
Marco Bonardo
2ebef49bb0 Bug 556376 - Provide a common head for Places xpcshell-tests.
r=dietrich on code changes, blanket-rs=places-team for test changes
2010-04-02 00:42:25 +02:00
Marco Bonardo
bdcef1a8ca Bug 555519 - disable test_doSetAndLoadFaviconForPage_failures.js since it randomly succeeds 2010-04-01 13:28:25 +02:00
Blair McBride
9c5de4629e Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2010-03-26 22:59:02 +01:00
Marco Bonardo
59fc644e1e Bug 553489 - Part11: Test for cases where an icon should not be set. r=sdwilsh 2010-03-25 12:34:53 +01:00
Robert Kaiser
fd99307a97 bug 541746 - fix test_frecency.js to work on SeaMonkey, r=dietrich 2010-03-19 17:21:59 +01:00
David Bolter
af0cd9907e Increase the minimum wait time for testing interval expiration (b=542736 - random orange); r=mak77 2010-03-18 21:24:44 -04:00
Marco Bonardo
50df9cf854 Bug 536081 - Can't delete all history entries returned by a search in Library or Sidebar. r=dietrich 2010-03-18 11:59:08 +01:00
Robert Longson
7f73b235c7 Bug 510202 - simplify C++ code now that bug 461199 has landed. r=sdwilsh,sr=bzbarsky 2010-03-13 10:32:19 +00:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Asaf Romano
fd118435f9 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-12 12:14:47 +01:00
Shawn Wilsher
f4da63e4bf Bug 526601 - Places needs to use asyncClose instead of close on the database connection
Storage API changed, and we need to update.
r=mak
2009-11-09 09:59:40 -08:00
Blair McBride
bd0b32abc1 Backout patch for c7562242f88e due to bustage 2010-03-11 16:35:37 +13:00
Blair McBride
8274492c49 Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2009-11-23 15:37:39 +13:00
Marco Bonardo
55340792b2 Bug 542943 - Get rid of bookmarksHash, r=dietrich 2010-03-10 13:40:52 +01:00
Marco Bonardo
56ff9e67ce Bug 542941 - Part8: fix test_multi_queries.js for the new transition, r=dietrich 2010-03-10 13:40:43 +01:00
Marco Bonardo
167c09b047 Bug 542941 - Part7: Fix CRLF newlines in test_multi_queries.js 2010-03-10 13:40:41 +01:00
Marco Bonardo
03c77c3a09 Bug 542941 - Part6: fix existing tests to check for the new transition type, r=dietrich 2010-03-10 13:40:39 +01:00
Marco Bonardo
ee2bb7ac00 Bug 542941 - Part4 and 5: fix a sessionID bug, and introduce a new test for redirects, r=dietrich 2010-03-10 13:40:37 +01:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Marco Bonardo
aa09cf6372 backout bug 543444 due to leaks 2010-03-09 17:23:32 +01:00
Asaf Romano
e7acf94dc2 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-09 14:43:09 +01:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Robert O'Callahan
f4de62cffe Backed out changeset 79f299fc10d6 2010-03-05 20:10:20 +13:00
Asaf Romano
6598acf4f4 Relanding bug 543444 - Replace single-view API with multiple observers. r=mak. sr=rstrong. 2010-03-04 13:23:41 -08:00
Asaf Romano
8a462d5e47 Backing out bug 543444 due to orange. 2010-03-03 17:23:51 -08:00
Asaf Romano
c9e79d3dc6 Bug 543444 - Replace single-view API with multiple observers. r=mak, sr=rstrong. 2010-03-03 14:45:16 -08:00
Daniel Holbert
a3dfa5360d Trivial followup for bug 461199: fix new compiler warning about unsigned-vs-signed comparison. (carrying forward rs=sdwilsh from previous related followup) 2010-02-25 17:53:41 -08:00
Daniel Holbert
00ed82e5e1 Bug 461199 followup: Fix build warning "ISO C++ does not support the 'z' printf length modifier". rs=sdwilsh 2010-02-25 10:20:43 -08:00
Shawn Wilsher
149f5aac0a Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Ehsan Akhgari
d14f0f9897 Bug 461199 (Part 20) - Rewrite the private browsing visited link coloring test to make it work with the new async API
r=mconnor
r=sdwilsh
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
201e801a1f Bug 461199 (Part 18) - Need an observer notification to indicate when link status is known from the database
Adds an observer to indicate when a URI lookup is completed and passes the
visited state with the notification.  This greatly simplifies test writing.
r=mak
2010-02-24 08:37:02 -08:00
Shawn Wilsher
2171f3f5d2 Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Daniel Holbert
2fb91b4ca2 bustage fix for Bug 461199: rename global var 'link' in test_IHistory.cpp to avoid bustage due to ambiguity w/ 'link()' function in unistd.h 2010-02-19 17:22:32 -08:00
Shawn Wilsher
a5fb212e96 Backed out changeset cf4d10139ec0 2010-02-18 10:05:15 -08:00
Shawn Wilsher
f284f552ef Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Shawn Wilsher
1c29b0d28e Bug 461199 (Part 2) - Create an API for asynchronous isVisited checks that content/layout can use
Create a new API (IHistory) to check for the visitedness of a URI.
r=mak
r=bz
sr=bsmedberg
2009-08-20 11:56:10 -07:00
Marco Bonardo
a4941664dd Bug 520165 - Part14: Add a maintenance task to print pages limit and run expiration, r=dietrich 2010-01-15 17:40:50 +01:00
Marco Bonardo
f45bf94d80 Bug 520165 - Part13: New expiration tests, r=mano 2010-01-15 17:40:47 +01:00
Marco Bonardo
a891df836a Bug 520165 - Part12: fix existing Places tests, r=mano 2010-01-15 17:40:45 +01:00
Marco Bonardo
0f6a3324a8 Bug 520165 - Part9: remove old expiration code, r=mano 2010-01-15 17:40:19 +01:00
Marco Bonardo
393f2298ed Bug 520165 - Part8: Change onPageExpired to onDeleteVisits, r=mano, sr=mconnor 2010-01-15 17:40:17 +01:00
Marco Bonardo
cced464000 Bug 520165 - Part7: Provide a new preference to toggle history, r=mano ui-r=faaborg 2010-01-15 17:40:14 +01:00
Drew Willcoxon
e9ef3b6403 Bug 529597 - Places protocol handler, r=mak77,bz 2009-12-29 19:37:24 -08:00
Saint Wesonga
7eddbbbf54 Test for bug 484026, r=mak77 2009-12-23 19:31:39 -05:00
Marco Bonardo
b97793a63e Re-enable sync for random oranges that could have been fixed by bug 536435. 2009-12-22 21:57:46 +01:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Marco Bonardo
47e2f806ca Bug 531151 - Increase Annotation Service robustness, r=dietrich 2009-12-18 11:30:37 +01:00
Marco Bonardo
6bcee7bff7 Bug 527311 - Addressbar suggests adaptive results even if they have no visits and we want "history" behavior, r=sdwilsh 2009-12-10 09:21:27 -08:00
Shawn Wilsher
8298fc4936 Backed out changeset e9f64cd044f3 (bug 526601) 2009-12-01 15:04:24 -08:00
Shawn Wilsher
36fcc4e93c Bug 526601 - Places needs to use asyncClose instead of close on the database connection
Storage API changed, and we need to update.
r=mak
a=dbaron

--HG--
extra : rebase_source : 8a04a849b4d332357cc630710011df34f1d9a5ac
2009-11-09 09:59:40 -08:00
Marco Bonardo
ff746574c7 Disable Places Sync on some frequent random failing test, to workaround bug 507790 and reduce orangeness. a=tests-only 2009-11-26 15:29:03 +01:00
John Daniels
b260d02c5f Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
--HG--
extra : rebase_source : 6fbaac51eabe95fcfaf4706feb9fd8a28ba4dfbf
2009-11-24 11:58:42 -08:00
Jae-Seong Lee
23ae560f84 Bug 520743 - xpcshell-tests: some Places unit tests fail when 'werror' is on, r=mak 2009-11-19 14:13:24 +01:00
Ehsan Akhgari
05c479b008 Bug 526194 - Fix test bustage 2009-11-17 18:04:08 -05:00
Marco Bonardo
b67475b2fc Bug 519479 - places default title behavior shouldn't use part of the URL, r=dietrich 2009-11-11 12:04:18 +01:00
Gavin Sharp
d18cfbef98 Bug 526920: minor test tweaks
--HG--
extra : rebase_source : 895f32d6db722606fb9327f9478c6857fb0d1e70
2009-11-09 10:12:10 -05:00
Gavin Sharp
11e8e18c80 Bug 526920: JSON bookmarks importer (SetAndLoadFaviconForPage) should support setting favicons for bookmarked about: URIs, r=mak 2009-11-08 01:49:14 -05:00
Kyle Huey
9e79459ea7 Bug 426166 - Search results change their order after pressing space or further typing. r=dietrich 2009-10-15 08:53:15 -04:00
Dão Gottwald
c5f31ac9ac Bug 525710 - getPagesWithAnnotation, getItemsWithAnnotation, getPageAnnotationNames, getItemAnnotationNames, getFaviconData, getQueries, getFolders and getTagsForURI length out params should be optional. r=sdwilsh
--HG--
extra : rebase_source : e46c14838c9076d6bb32a423e0193e71b1d0532a
2009-11-02 22:04:15 +01:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Jae-Seong Lee
c8279cd7a0 Bug 520743 - xpcshell-tests: some Places unit tests fail when 'werror' is on, r=mak 2009-10-29 11:56:41 +01:00
Marco Bonardo
bab6c84b9b Bug 522678 - remove browser.history.showsessions from firefox.js, r=mano 2009-10-28 17:22:57 +01:00
Asaf Romano
bbc370f4a7 Bug 524219 - Renaming a tag in the Library doesn't show its new name until the Library gets reopened. r=mak. 2009-10-28 15:34:09 +02:00
Marco Bonardo
cae8a0dd85 Bad test name in randomFailingTests causes random failures to still happen for test_results-as-visit.js 2009-10-16 15:19:32 +02:00
Marco Bonardo
6b1e89f0ef Bug 478718 - Move last Places sync to xpcom-shutdown, r=sdwilsh
--HG--
rename : toolkit/components/places/tests/sync/test_database_sync_after_quit_application.js => toolkit/components/places/tests/sync/test_database_sync_after_shutdown.js
rename : toolkit/components/places/tests/sync/test_database_sync_after_quit_application_with_removeAllPages.js => toolkit/components/places/tests/sync/test_database_sync_after_shutdown_with_removeAllPages.js
2009-10-14 11:53:13 +02:00
Marco Bonardo
6693640a68 Bug 521225 - Stop syncing for random failing Places tests, and make sheriffs happier, r=sdwilsh 2009-10-13 15:31:46 +02:00
Jae-Seong Lee
087185726b Bug 520743 - [xpcshell-tests] some Places unit tests fail when 'werror' is on, part 3. r=mak 2009-10-09 20:17:07 +02:00
Marco Bonardo
d6595b02cc unwanted change in bug 520743, r=bustage 2009-10-09 14:14:35 +02:00
Marco Bonardo
2a487d0eb1 Bug 516940 - Reduce and cleanup Places expiration work at shutdown, r=sdwilsh 2009-10-09 12:30:12 +02:00
Jae-Seong Lee
a34c0cf5eb Bug 520743 - [xpcshell-tests] some Places unit tests fail when 'werror' is on, part 2. r=mak 2009-10-09 12:30:04 +02:00
Blair McBride
fa574c869c Bug 446405 - Do not show the keyword of a quick search as if it was the query string. r=dietrich,mardak 2009-10-07 10:38:15 +02:00
Marco Bonardo
3d82d1b8c4 Bug 520547 - revert renaming of PlacesUtils methods from bug 477583. r=mano, r=gavin 2009-10-06 15:47:58 +02:00
Marco Bonardo
535b40c71b Bug 516932 - Add an advanced maintenance task to vacuum and check integrity, for support purposes r=dietrich
Adds a PlacesDBUtils.checkAndFixDatabase() that can be used by support team to help debugging Places database issues.
2009-10-05 12:12:55 +02:00
Dietrich Ayala
f66429541f Bug 498130 - Reduce places-views overhead (RELAND) 2009-10-01 09:53:26 -07:00
Dietrich Ayala
890e1e64fa Backout bug 498130 due to persistent startup crash on Windows Mobile (bug 519854) 2009-09-30 17:21:39 -07:00
Marco Bonardo
cbf9435322 Bug 477583 - Backups of bookmarks stops working if a future backup exists, r=mano 2009-09-29 12:44:18 +02:00
Marco Bonardo
98646fc82d fix tests for Bug 512854 - VACUUM places.sqlite database on daily idle once a month, r=sdwilsh 2009-09-29 12:44:12 +02:00
Shawn Wilsher
a7c0ff4d43 Bug 516465 - Adaptive results aren't filtered. r=dietrich
Run adaptive search results through AUTOCOMPLETE_MATCH so they properly obey the
preferences of the user.  Also runs through adaptive results again if we do not
have enough matches and the match behavior is MATCH_BOUNDARY_ANYWHERE.
2009-09-23 10:19:27 -07:00
Asaf Romano
0cdda0b913 Bug 498130 - Reduce places-views overhead. r=mak. sr=mconnor. 2009-09-26 11:23:17 +03:00
Paul O’Shannessy
bb8f4dab1f Bug 518442 - Places tests should use executeStep() instead of step(). r=sdwilsh
--HG--
extra : rebase_source : d60b1a60575ec7ceceb41c4755e317577eef009a
2009-09-25 15:34:54 -07:00
Dão Gottwald
7ac2f9cfd4 Bug 517704 - use gBrowser instead of getBrowser() in Places code. r=mak 2009-09-20 12:58:27 +02:00
Marco Bonardo
8dc3283326 Disable the vacuum tests from Bug 512854 for now. I have to pre-built sparse dbs, since on-the-fly generation is randomly failing. 2009-09-14 15:28:09 +02:00
Marco Bonardo
67ad3747f1 Bug 512854 - VACUUM places.sqlite database on daily idle once a month, r=sdwilsh 2009-09-14 13:06:45 +02:00
Gavin Sharp
9374f2915d Bug 515451: make places autocomplete empty search behavior customizable, r=mardak 2009-09-10 16:16:42 -04:00
Shawn Wilsher
439dbd95ed Bug 508102 - Warning: reference to undefined property this._pendingQuery / Location bar autocomplete doesn't work anymore
Stop throwing if stopSearch is called without a call to startSearch.
r=dietrich

--HG--
extra : rebase_source : 63222f9acd972c763ac080a2353ce4cd775f09df
2009-09-10 10:55:33 -07:00
Marco Bonardo
28008553c9 Bug 431798 - add test to ensure RESULTS_AS_TAG_CONTENTS queries do liveupdate, r=dietrich 2009-08-21 22:37:16 +02:00
Marco Bonardo
733288ebb0 Bug 511846 - allow head_queries to remove annotations, r=dietrich 2009-08-21 22:37:10 +02:00
Marco Bonardo
0f542a1874 Bug 510464 - re-enable and fix randomly failing test_419731.js, r=dietrich 2009-08-21 22:37:05 +02:00
Marco Bonardo
6f4aab9823 Bug 416066 - Tests for bug 399606 are commented out and unreliable, so fix them, r=sdwilsh 2009-08-21 22:36:47 +02:00
Marco Bonardo
0f255b6490 Bug 511860 - test_result-as-visits.js is randomly (but constantly) failing, disable test for now. 2009-08-21 14:44:19 +02:00
Marco Bonardo
288ddb9a94 Bug 430862 - create a test for excludeReadOnlyFolders query option, original test by ctalbert, r=dietrich 2009-08-21 11:54:18 +02:00
Marco Bonardo
942029b1e0 Bug 326208 - API should not allow creation of "holes" in bookmark folders, r=dietrich 2009-08-21 11:54:12 +02:00
Marco Bonardo
4d747d88f1 Bug 511374 - fix test_results-as-visit.js, r=dietrich 2009-08-21 11:53:59 +02:00
Marco Bonardo
09c6f16612 Bug 381240 - last-modified-date tests for bookmarks failing on Linux qm-rhel02 dep unit test, r=dietrich 2009-08-18 10:06:17 +02:00
Clint Talbert
36cab96890 Bug 432723 - Update Places Query API testing set with new tests, r=dietrich 2009-08-18 10:06:11 +02:00
Marco Bonardo
c5f083d00c Bug 507239 - add more logging to test_395593.js to gather data on the next random failure, r=dietrich 2009-08-14 10:03:36 +02:00
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
Marco Bonardo
9c88eb1c27 Bug 508265 - Localized bookmarks backup are not replaced by new backups, r=dietrich 2009-08-06 16:34:16 +02: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
Marco Bonardo
27bb8748ee Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 14:39:54 +02:00
Marco Bonardo
e7d950f7c9 backout bug 503195, test too! 2009-07-09 12:31:19 +02:00
Marco Bonardo
f59b58dd53 Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 11:50:25 +02: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
Marco Bonardo
b3a9c7a308 Bug 502860 - some of the seventh month's history entries missing in grouped by date history, r=sdwilsh
Includes fix for Bug 501439 - History shows month-name 'March' for February
2009-07-29 23:50:31 +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
Dave Townsend
b7bbffcf77 Bug 481406: Stop using dump in browser chrome tests. r=mak77 2009-07-06 10:27:26 +01:00
Marco Bonardo
44d6644d72 Bug 500640 - Random failure in test_lastModified.js, r=adw 2009-07-01 11:19:06 +02:00
Marco Bonardo
1b77ef4097 Bug 494375 - Date folders in history not recreated when revisiting pages, r=dietrich 2009-06-24 10:59:18 +02:00
Marco Bonardo
aa2951dec7 Bug 482346 - mDBFindURIBookmarks can't use indices to sort, r=sdwilsh r=dietrich 2009-06-24 10:59:14 +02:00
Marco Bonardo
902e3022ce Bug 492884 - getMostRecentFolderForFeedURI should use the livemarks service instead of annos directly, r=dietrich 2009-06-23 01:00:51 +02:00
mak77@bonardo.net
d9b96ef229 Bug 496542 - Duplicate entries in History sidebar and Library (r=sdwilsh) 2009-06-16 10:45:13 -07:00
Dietrich Ayala
d4ecc24959 Bug 497563 - Crashes [@ BindStatementURI] (r=sdwilsh)
* * *
2009-06-12 00:34:35 -07:00
Shawn Wilsher
b84cbee827 Backed out changeset d891a7418d95 (bug 483980) 2009-06-11 16:08:07 -07:00
Mark Finkle ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E%2C%20Marco%20Bonardo%20%3Cmak77%40bonardo.net%3E)
2cf526db39 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
Marco Bonardo
7f7ec6f87a Bug 493933 - When sorting bookmarks BY NONE we should take in count partitioning, r=sdwilsh a191=beltzner 2009-05-20 20:45:48 +02:00
Drew Willcoxon
a506b12c1c Bug 491983 - nsIBrowserHistory needs removeVisitsByTimeframe method, r=dietrich 2009-05-16 19:32:13 -07:00
Marco Bonardo
14124b5b86 Bug 488966 - Add a last_visit_date column with an index to moz_places, r=sdwilsh 2009-05-15 01:28:03 +02: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
Edward Lee
016935e941 Bug 489872 - [@ nsNavHistory::IsVisited] doesn't check null aURI. r=sdwilsh
For public entry points of nsNavHistory, add ENSURE_ARG for in-pointers and ENSURE_ARG_POINTER for out-pointers; NS_ASSERTION for private APIs. Test automatically finds functions from nav history service and calls them with null arguments.
2009-05-12 10:11:53 -05:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
adw@mozilla.com
0f2289897a Bug 399799 - Provide better options to query for tags (r=dietrich) 2009-05-04 20:40:34 -07:00
Robert Kaiser
17062b2e6d fix test from bug 489443 to work on SeaMonkey, r=Mardak 2009-05-02 00:25:33 +02:00
Marco Bonardo
5f4896e73d Bug 484019 - Fix corrupt or wrong roots titles in the database and in the Library, r=dietrich 2009-04-30 09:52:40 -07:00
Marco Bonardo
82a63d6934 Bug 490200 - Tags autocomplete does not show all results because it is case-sensitive, r=dietrich 2009-04-30 09:52:32 -07:00
Marco Bonardo
27a80f377c backout Bug 484019 due to test failures. 2009-04-24 17:57:24 +02:00
Marco Bonardo
0d545b7758 Bug 484019 - Fix corrupt or wrong roots titles in the database and in the Library, r=dietrich 2009-04-24 15:11:06 +02:00
Drew Willcoxon
0f77079450 Bug 444849 - Removing a bookmark doesn't clean up tags, r=mak77 2009-04-23 10:31:46 -07:00
Edward Lee
77cde94ecc Bug 489443 - Places depends on a buggy behavior of SQLite's GROUP_CONCAT. r=dietrich, b191=beltzner
Don't bother GROUP_CONCATing tag titles that are empty. Restructure the BOOK_TAG_SQL #define to be somewhat more readable. Test by adding tags to a uri then renaming the tag to empty and making sure they don't show up in autocmoplete results.
2009-04-23 16:09:58 -05:00
Marco Bonardo
2501083269 Bug 488783 - Tags list no longer sorted (alphabetized) in latest Shiretoko nightly, r=dietrich a=blocking191 2009-04-22 14:22:53 +02:00
Marco Bonardo
bfa3af289e Bug 487777 - History menu is slow and takes ages to open, trunk version, r=dietrich 2009-04-18 14:12:06 +02:00
David Dahl
4dbb11d2ec Bug 485442 - crash bug calling nsINavHistoryQuery.uri, r=mak,sdwilsh 2009-04-17 14:42:39 +02:00
Shawn Wilsher
0fa0dccf7c Bug 487660 - Places depends on a buggy behavior of SQLite's SUBSTR
Places code wrongly assumed that SUBSTR used a zero-based index instead of a
one-based index.
r=dietrich
2009-04-10 13:51:51 -04:00
Shawn Wilsher
93af15cb71 Bug 487511 - nsINavHistoryObserver has no "onBeforeDeleteURI" callback
r=dietrich
2009-04-10 13:51:40 -04:00
Edward Lee
50e5966da6 Bug 476298 - Switch RecalculateFrecencies to just fix invalid frecencies. r=dietrich
Bug 476300 - Calculate all page frecencies when upgrading/migrating
Bug 482351 - 1 sort operation required by mDBInvalidFrecencies
Create a new method FixInvalidFrecencies that finds invalid (negative) frecencies and recalculates them. Use it for handling creating/migrating DBs as well as recalculating invalid places on daily idle (place frecencies are already estimated by decay). This obviates a few preferences, queries and methods related to recalculating on idle. The test uses mork history with a number of pages that now all get their frecencies calculated on migrate, where before this fix, the test fails with a bunch of pages still with negative frecencies.
2009-04-10 10:24:10 -05:00
Marco Bonardo
656ade206b Bug 486978 - History in library is no longer sorted by visit date but by name, r=dietrich 2009-04-08 14:27:03 +02:00
Marco Bonardo
b131c96951 Bug 486702 - Library left pane not updated properly / dynamically, r=dietrich 2009-04-08 14:26:49 +02:00
Marco Bonardo
dc4275f79b Bug 485703 - Hide date containers not containing additional entries compared to previous ones, r=dietrich ui-r=beltzner 2009-04-07 11:45:04 +02:00
Serge Gautherie
3abf9cabfa Bug 461710 - Write an automated test to ensure that visited link coloring is turned off in private browsing mode; (Cv1a) Add |ok(true, ...);|; r=dietrich 2009-04-04 04:50:26 +02:00
Marco Bonardo
f50edfe6d2 Bug 480873 - Favicons missing from the places UI after cache has been cleared, r=dietrich 2009-04-02 01:26:16 +02:00
Marco Bonardo
d57ee2ed3c Bug 485985 - test_history_sidebar should take in could DST correction when adding visits, r=dietrich 2009-03-30 23:07:38 +02:00