Commit Graph

1200 Commits

Author SHA1 Message Date
Asaf Romano
e62ae2cc08 orange fix 2010-03-03 16:08:35 -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
Shawn Wilsher
d77cdfd47b Bug 549882 - ###!!! ASSERTION: Trying to unregister a node that wasn't registered!
Also adds some assertions to make sure we do not leak the observer arrays.
r=dietrich
2010-03-03 12:55:37 -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
Dietrich Ayala
051624f055 Bug 492797 - hasHistoryEntries should cache the value instead of hitting the db every time (r=marco) 2010-02-10 10:08:58 -08:00
Asaf Romano
d66bedf608 Bug 520659 - Lazily build places trees when possible. r=mak. 2010-02-25 20:30:09 +02: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
Paul O’Shannessy
c8c63254e0 Backed out changeset 2c60006b6c1f (bug 520659) because of resulting orange. 2010-02-22 14:58:09 -08:00
Asaf Romano
a94a5b9868 Bug 520659 - Lazily build places trees when possible. r=mak. 2010-02-22 23:37:52 +02: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
Daniel Holbert
c7859b5789 Backed out changeset 0949b169357b (possible workaround for Bug 543034), since it didn't help. 2010-02-02 19:32:52 -08:00
Daniel Holbert
1a6684fced Bug 543034: Attempt to workaround msvc bug "fatal error C1001: An internal error has occurred in the compiler" by disabling optimizations for the tagged block of code. r=gavin 2010-02-02 14:05:47 -08:00
Dietrich Ayala
3453707fbb backout bug 492797 due to test failure 2010-01-31 21:10:07 -08:00
Dietrich Ayala
fe3b785e70 Bug 492797 - followup (r=marco) 2010-01-31 19:11:33 -08:00
Dietrich Ayala
671ee1d80a Bug 492797 - hasHistoryEntries should cache the value instead of hitting the db every time (r=marco) 2010-01-31 19:09:13 -08:00
Marco Bonardo
13db595f12 Bug 539076 - Part5: replace mDBGetItemIndex with mDBGetItemProperties, r=dietrich 2010-01-16 12:38:07 +01:00
Marco Bonardo
92ce050599 Bug 539076 - Part4: Rename ENUMERATE_OBSERVERS to NOTIFY_OBSERVERS, r=dietrich 2010-01-16 12:38:04 +01:00
Marco Bonardo
a8b981dcba Bug 539076 - Part3: Consolidate lazy statements boilerplate in macros, r=dietrich 2010-01-16 12:38:02 +01:00
Marco Bonardo
033d511d47 Bug 539076 - Part2: Convert current global statements to lazy statements, r=dietrich 2010-01-16 12:38:00 +01:00
Marco Bonardo
63139dfa9a Bug 539076 - Part1: better error checking in bookmarks service and introduce lazy statements code, r=dietrich 2010-01-16 12:37:57 +01:00
Marco Bonardo
d667fb19ac Backed out changeset 14c20441c8d8 2010-01-16 06:48:42 -08:00
Marco Bonardo
afaca53c2a Bug 539076 - Part1: better error checking in bookmarks service and introduce lazy statements code, r=dietrich 2010-01-16 12:37:57 +01:00
Marco Bonardo
a28c8e2d26 Bug 520165 - Part15: Fix a bad condition when expiration runs just before an addURI, r=dietrich 2010-01-15 17:40:59 +01: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
54fa20b6ee Bug 520165 - Part10: Add a new expiration component, r=mano, r=dietrich 2010-01-15 17:40:39 +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
Marco Bonardo
4408d52845 Part4: lazy statements creation (and minor cleanup) in nsFaviconService, r=sdwilsh 2010-01-08 13:57:49 +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
Daniel Holbert
2d58b07fbe Bug 536520: Reorder init list for nsNavHistoryResult, to fix build warning. r=mak 2009-12-23 16:17:11 -08: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
Marco Bonardo
954f406a5c Bug 536435 - Remove bookmarks service dangerous usage of UNION ALL, r=sdwilsh 2009-12-22 21:57:43 +01:00
Marco Bonardo
4448d58d19 Bug 520165 - Part6: generic constants and comments cleanup, r=mano 2009-12-22 13:05:14 +01:00
Marco Bonardo
5494f18c04 Bug 520165 - Part5: Cleanup topics and observer service usage, r=mano 2009-12-22 13:05:11 +01:00
Marco Bonardo
0fbefb9a05 Bug 520165 - Part4: use a getter for last session id, r=mano 2009-12-22 13:05:08 +01:00
Marco Bonardo
ff916a7872 Bug 520165 - Part3: Cleanup GetNow, r=mano 2009-12-22 13:05:06 +01:00
Marco Bonardo
14dab2b410 Bug 520165 - Part2: Stop using history prefs to build date containers, r=mano 2009-12-22 13:05:04 +01:00
Marco Bonardo
4c793153df Bug 520165 - Part1: expose default pref for cache to memory percentage, r=mano 2009-12-22 13:05:01 +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
106ad83390 Bug 500306 - lazily create Annotation Service statements, r=dietrich 2009-12-18 11:30:40 +01:00
Marco Bonardo
47e2f806ca Bug 531151 - Increase Annotation Service robustness, r=dietrich 2009-12-18 11:30:37 +01:00
Marco Bonardo
7ccb07f97e Bug 531201 - Add back a stub archiveBookmarksFile method for Weave compatibility, r=mconnor 2009-12-17 22:28:12 +01:00
Jae-Seong Lee-Russo
359d4b2023 Bug 530385 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in toolkit/components/places, r=mak77 2009-12-13 09:32:10 -08: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
Marco Bonardo
1d5aec67b5 Bug 532094 - crash [@ nsNavHistory::AutoCompleteFeedback(int, nsIAutoCompleteController*)], r=sdwilsh 2009-12-02 17:39:16 +01: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
919ceb7614 Bug 531236 - Crash [@ nsNavBookmarks::GetBookmarksHash], r=dietrich a=blocking192 2009-12-01 14:00:45 +01: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
Marco Bonardo
d99d96f27a Remove workaround for bug 522353 from nsPlacesDBFlush component 2009-11-19 14:15:08 +01: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
d1f11b2de2 linux build bustage fix 2009-11-11 12:40:02 +01:00
Marco Bonardo
5626624c83 Bug 527638 - Live Bookmarks do not load and reload/update, r=dietrich 2009-11-11 12:04:20 +01: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
Shawn Wilsher
4ec3b226c6 bug 522855 - Part3: Make expiration lookups async, r=mak. Further modified by me, r=sdwilsh. 2009-11-11 12:04:16 +01:00
Shawn Wilsher
b4916b6019 bug 522855 - Part3: Refactor async callbacks, r=mak. Further modified by me, r=sdwilsh. 2009-11-11 12:04:14 +01:00
Shawn Wilsher
9712400661 bug 522855 - Part1: Refactor DoSetAndLoadFaviconForPage, r=mak. Further modified by me, r=sdwilsh. 2009-11-11 12:04:11 +01:00
Ginn Chen
31251edcee Bug 527431 places failed to compile on Solaris r=mak77 2009-11-10 18:23:30 +08:00
Shawn Wilsher
116173a4b7 Backout of bug 496019 and bug 526601 due to window build bustage. 2009-11-09 12:16:39 -08:00
Shawn Wilsher
da35c6685c 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
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
Dave Townsend
5c06d159bb Bug 526651: Interfaces changed between the 1.9.2 branch and trunk with no IID rev. r=joe, r=mak77, r=myk 2009-11-06 14:33:17 -08:00
Dave Townsend
3771e35013 Bug 526635: Interfaces changed on the 1.9.2 branch with no IID rev. r=enn, r=vlad, r=josh, r=mak77, r=ted, r=roc 2009-11-06 11:31:22 -08:00
Marco Bonardo
c959a08897 Bug 526777 - Livemark and Tagging services could better use XPCOMUtils, r=dietrich 2009-11-06 16:27:51 +01:00
Marco Bonardo
f185ee56a4 Bug 526776 - TagAutoCompleteSearch wants to implement nsITimerCallback, r=dietrich 2009-11-06 16:27:48 +01:00
Marco Bonardo
ebd8b02f06 Bug 525449 - Bad old code appends to query rather than binding, r=mano 2009-11-06 16:25:00 +01:00
timeless@mozdev.org
1bbe366096 Bug 526709 - LS_QueryInterface throws the wrong exception (NS_ERROR_NOT_IMPLEMENTED) instead of (NS_ERROR_NO_INTERFACE). r=mak
--HG--
extra : rebase_source : 9757c76d63c9d0ec7dcaec496c30cc30987d07e4
2009-11-06 08:36:03 +01: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
Ehsan Akhgari
f6da530110 Bug 514214 - Do not update page titles for places already in history inside the Private Browsing mode; r=mak77 2009-11-03 16:21:42 -05: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
Neil Rashbrook
0224c6aca9 Bug 524972 Remove nsTArray from nsINavBookmarksService.idl r=mak 2009-10-28 23:52:41 +00: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
Gavin Sharp
8b68dba6c0 Bug 523646: make favicon optimization size and file limit configurable using a pref, r=mak 2009-10-22 19:10:20 -04:00
Gavin Sharp
281225380f Bug 518907: JSON bookmarks import should support favicons, r=mak 2009-10-21 12:02:27 -04: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
a439800459 Followup to bug 478718 - Be sure to make TEMPORARY category entries removals (needed before next nightly). r=sdwilsh 2009-10-15 03:23:12 +02:00
Marco Bonardo
e7baa73317 followup to bug 478718 - don't delete categories, is up to implementers to unregister. 2009-10-14 19:45:13 +02:00
Marco Bonardo
bcafe07799 Bug 367991 - Remove unused Places code. r=dietrich, r=dao 2009-10-14 13:56:59 +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
Dietrich Ayala
b682a0bba3 Bug 419893 - sort out PGO-triggered bugs (r=ted)
--HG--
extra : rebase_source : 028cd891e11df11abf768107f64b1d6bca541dca
2009-10-08 11:01:13 -07: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
Marco Bonardo
d060c11dd3 Bug 500391 - When filtering results on search avoid querying tags and parent for each result, r=mano
This makes searches for a search term faster by 70%, avoiding a lot of useless queries spam.
2009-10-05 12:12:38 +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
Shawn Wilsher
0e46ff13be Bug 515463 - new async autocomplete does not always respect behavior pref changes. r=mak
This happened because we were not holding a reference to our preference branch,
so it would seem to randomly stop getting notified about preference changes.
Heavily dependent on GC, and difficult to test.  The fix is simple - hold a
reference to the pref branch!
2009-09-29 12:44:00 +02: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
Marco Bonardo
6f6663fefe Bug 511207 - last page not removed from history upon close of browser, r=sdwilsh 2009-09-14 13:06:39 +02:00
Marco Bonardo
a0da05226f Bug 510984 - nsIAnnotationService IDL is lying about EXPIRE_NEVER, r=dietrich 2009-09-11 15:25:30 +02:00
Marco Bonardo
05750fb0ea Bug 509676 - Can't drag and drop a tag container to another standard point, r=dietrich 2009-09-11 15:25:24 +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
Shawn Wilsher
6935eef2ec Test bustage fix from bug 513710. 2009-09-03 15:19:29 -07:00
Shawn Wilsher
993694805d Bug 513710 - Places toolkit JS should use XPCOMUtils.defineLazy[Service]Getter
r=sayrer for XPCOMUtils change
r=mak for places changes

--HG--
extra : rebase_source : 70367abfaf16fcf37aab6f55f024b95ff3d269fa
2009-09-02 13:55:16 -07:00
Benjamin Smedberg
5d0d982cec CLOSED TREE spelling fixes to kick new builds. 2009-09-03 11:14:54 -04:00
Nickolay Ponomarev
70b41042b9 bug 513466 - add a dummy implementation of nsINavHistoryObserver::onBeforeDeleteURI to nsPlacesDBFlush to silence a useless error
r=sdwilsh
2009-08-30 15:54:35 +04:00
Marco Bonardo
962f167f0a backing out bug 511965 - Delay Places syncs after results updates, flushes are too late now. 2009-08-26 16:59:20 -07:00
Marco Bonardo
a8cbc764e3 Bug 511965 - Delay Places syncs after results updates, r=sdwilsh 2009-08-21 22:36:59 +02:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Marco Bonardo
6790a44f3b Backout changeset 29d0cbd409ad – Bug 511965. Looks like this is causing random crashes to become permanent crashes on tinderboxes. 2009-08-22 00:49:13 +02: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
3f51d0e4e0 Bug 511965 - Delay Places syncs after results updates, r=sdwilsh 2009-08-21 22:36:59 +02:00
Marco Bonardo
eaf7e3c442 Bug 428591 - idl is hiding the fact QUERY_TYPE_BOOKMARKS does not support grouping, r=dietrich 2009-08-21 22:36:53 +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
dee4846ef3 Bug 425726 - Unified Queries are not yet implemented, but the idl is hiding the fact, r=dietrich 2009-08-21 11:54:05 +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
Shawn Wilsher
3d290df8ae Bug 504422 - Be smarter with our strings for AUTOCOMPLETE_MATCH SQL function
Avoids an unnecessary string copy on every invocation of AUTOCOMPLETE_MATCH.
r=dietrich
2009-08-10 15:15:22 -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
Marco Bonardo
027b0b2a6f Bug 507058 - nsNavBookmarks::GetBookmarkIdsForURITArray binds to a bogus index, r=sdwilsh 2009-08-03 10:48:08 +02:00
Marco Bonardo
1c5f0a377e followup for Bug 507219 - Crash in nsNavHistoryResult::OnVisit, stop assertions, r=sdwilsh 2009-08-03 10:48:05 +02:00
Timeless
400a46ce0b Bug 507407 nsNavHistoryContainerResultNode::UpdateURIs does not use comparator and sortingAnnotation, r=mak77 2009-08-03 10:47:59 +02: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
Edward Lee
85252180c1 Bug 504384 - Excessive Flickering with the Asynchronous Location Bar. r=sdwilsh
Don't tell autocomplete that we have 0 results ongoing when we just started the search, so it doesn't cause the UI to show 0 results and immediately show more.
2009-07-29 09:51:48 -07:00
Shawn Wilsher
a472a959e1 Bug 505813 - Use the connections executeAsync instead of calling it on each statement.
r=dietrich
2009-07-22 15:18:34 -07:00
Shawn Wilsher
bd04bc4647 Backed out changeset 06433d3dafd9 (bug 504422) because the patch is wrong. 2009-07-22 14:04:12 -07:00
Shawn Wilsher
ee6ea4269d Bug 504422 - Be smarter with our strings for AUTOCOMPLETE_MATCH SQL function.
Avoid copying are argument strings.  String copying was showing up as 1% of the
time spent in our function, when we should almost never need to copy.
r=dwitte
r=dietrich
2009-07-22 11:47:29 -07:00
Shawn Wilsher
731c8ef54c Addressing review comment for bug 455555. 2009-07-14 09:31:37 -07:00
Marco Bonardo
aafac8b5cd Bug 503360 - Better queries for asynchronous location bar
This creates a better query based on what the asynchronous implementation of
AutoComplete does.  It also limits the amount of work to be done so we don't
filter more results than we have to (even if it is happening on a background thread).
r=sdwilsh
2009-07-13 12:19:16 -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
2e5e5494f9 Backout bug 503195 due to build failure 2009-07-09 12:29:43 +02:00
Marco Bonardo
f59b58dd53 Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 11:50:25 +02:00
Marco Bonardo
a22f4efb94 Bug 481437 - browser_library_open_leak.js is throwing, fixes also some throw in placesTxn.js test, r=dietrich, sdwilsh 2009-07-07 12:41:23 +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
Marco Bonardo
31328871b8 Bug 507219 - Crash in nsNavHistoryResult::OnVisit, r=dietrich 2009-07-29 23:50:25 +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
5c7e3ca021 Bug 500331 - better query for RESULTS_AS_TAG_CONTENTS, r=sdwilsh 2009-06-29 19:42:12 +02:00
Shawn Wilsher
7768c2ef87 Bug 498722 - nsIFaviconService.getFaviconLinkForIcon error on null argument
Updates the IDL to indicate that it is not OK to pass null as the URI.
r=mak
2009-06-26 11:09:13 -07:00
Marco Bonardo
13fb524dd9 Bug 498620 - Saved search folder is not visible in left folder pane or open-able in right pane immediately after saving, r=dietrich 2009-06-24 10:59:30 +02:00
Marco Bonardo
bb4c064f58 Bug 494382 - Reduce notifications work for tagging service, r=dietrich 2009-06-24 10:59:24 +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
Marco Bonardo
4a7058a7b6 Bug 324430 - Allow stopping Places results updates when they are unused, r=dietrich 2009-06-15 13:09:40 +02:00
Dietrich Ayala
17819e9de5 Bug 492796 - isLivemark should use the livemark cache, instead of the db (r=marco) 2009-06-12 15:39:42 -07:00
Dietrich Ayala
a110b525d4 Bug 496613 - lazily init the bookmark uri hash (r=marco) 2009-06-12 11:11:47 -07:00
shirish
7bfc0ff249 Bug 494713 - Logic error in nsNavHistory::CalculateFrecencyInternal due to lack of braces around if statement, r=sdwilsh 2009-06-12 14:59:20 +02: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
Arpad Borsos
a797cac310 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
Marco Bonardo
39b9f69b08 Bug 494371. Only GetItemType once per itemAdded notification, instead of once per per observer per notification. r=dietrich, a=shaver. 2009-06-04 21:00:55 -04:00
Shawn Wilsher
569f314e40 Bug 495889 - UMR in nsNavHistoryExpire::OnQuit()
Fixes an uninitialized memory read that could cause us to do more work during
shutdown.
r=dietrich
2009-06-01 20:49:41 -07:00
Marco Bonardo
54f9e18aed Bug 494370 - Better query for mDBGetItemProperties, r=sdwilsh a=beltzner 2009-05-28 00:08:47 +02:00
Marco Bonardo
cb33c1d03b Bug 494383 - Removing tags in restore code is no longer needed, r=dietrich a=beltzner 2009-05-27 23:43:38 +02:00
Marco Bonardo
fca835893a Bug 493934 - Autocomplete queries are wrongly cutting away some result, r=sdwilsh a191=beltzner 2009-05-20 21:27:36 +02: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
Shawn Wilsher
dfaf303501 Bug 493602 - UMR when clicking history menu
Fixes a UMR introduced in bug 487777 caused by not passing enough arguments to
nsPrintfCString.
r=mak
2009-05-20 14:25:16 -04:00
Dietrich Ayala
3418d27755 Bug 492799 - nodeIsReadOnly should cache read-only item ids, r=mak77 2009-05-19 01:06:50 +02:00
Marco Bonardo
0eaa5c5003 Bug 493374 - Avoid marking database as corrupt if initializing additional db objects fails, and avoid creating more than one corrupt file every 24 hours, r=sdwilsh 2009-05-19 01:06:46 +02:00
David Dahl
f319200054 Bug 491719 - Ctrl+H and Ctrl+Maj+H both display an empty history, r=mak77 2009-05-19 01:06:39 +02:00
Marco Bonardo
7887addc7b Bug 493538 - Crash in [@ nsNavHistory::RecalculateFrecenciesInternal(mozIStorageStatement*, int)], r=mardak 2009-05-19 01:06:33 +02:00