Commit Graph

55 Commits

Author SHA1 Message Date
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
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Marco Bonardo
5c49867138 Bug 555218 - 4: (nsFaviconService.cpp) Fix Places usage of deprecated Storage APIs. r=dietrich 2010-04-27 13:25:00 +02:00
Marco Bonardo
e831c65fee Bug 553489 - Part10: reimplement setAndLoadFaviconForPage. r=sdwilsh sr=vlad 2010-03-25 12:34:49 +01:00
Marco Bonardo
f1927b220f Bug 553489 - Part8: AssociateIconWithPageStep. r=sdwilsh 2010-03-25 12:34:45 +01:00
Marco Bonardo
5e4bf87f23 Bug 553489 - Part7: SetFaviconDataStep. r=sdwilsh 2010-03-25 12:34:42 +01:00
Marco Bonardo
b6174d2a67 Bug 553489 - Part4: FetchDatabaseIconStep. r=sdwilsh 2010-03-25 12:34:35 +01:00
Marco Bonardo
925a3aac39 Bug 553489 - Part2: AsyncFaviconStepper. r=sdwilsh r=dietrich 2010-03-25 12:34:31 +01:00
Andrew Sutherland
ddd3c4327f Bug 507414 - Add a createAsyncStatement API on mozIStorageConnection. r=sdwilsh, sr=vlad.
--HG--
rename : storage/src/mozStorageStatementJSHelper.cpp => storage/src/mozStorageAsyncStatementJSHelper.cpp
rename : storage/src/mozStorageStatementJSHelper.h => storage/src/mozStorageAsyncStatementJSHelper.h
rename : storage/src/mozStorageStatementParams.cpp => storage/src/mozStorageAsyncStatementParams.cpp
rename : storage/src/mozStorageStatementParams.h => storage/src/mozStorageAsyncStatementParams.h
2010-03-24 00:32:40 -07: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
46193404a4 Backed out changeset 0ddf6c0dc572 2010-01-16 06:47:23 -08:00
Marco Bonardo
4f92a3e2cd Bug 539076 - Part3: Consolidate lazy statements boilerplate in macros, r=dietrich 2010-01-16 12:38:02 +01:00
Marco Bonardo
4408d52845 Part4: lazy statements creation (and minor cleanup) in nsFaviconService, r=sdwilsh 2010-01-08 13:57:49 +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
919ceb7614 Bug 531236 - Crash [@ nsNavBookmarks::GetBookmarksHash], r=dietrich a=blocking192 2009-12-01 14:00:45 +01:00
Marco Bonardo
d1f11b2de2 linux build bustage fix 2009-11-11 12:40:02 +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
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
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
Dietrich Ayala
d4ecc24959 Bug 497563 - Crashes [@ BindStatementURI] (r=sdwilsh)
* * *
2009-06-12 00:34:35 -07:00
Arpad Borsos
a797cac310 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
Marco Bonardo
35dff56288 Bug 491954 - Views should select exact columns, r=sdwilsh 2009-05-11 11:05:56 +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
Shawn Wilsher
053d89f52b Bug 481227 - nsAnnoProtocolHandler gets favicon data synchronously from the database
The moz-anno protocol has a special case for favicons that would load them from
the database synchronously.  This patch changes this behavior to load them
asynchronously so we do not block the main thread while they load.
r=mak
r=bz
sr=bz
2009-03-12 17:49:37 -04:00
Marco Bonardo
a9919cef88 Bug 476636 - nsFaviconService::ExpireAllFavicons cannot work, r=sdwilsh 2009-02-28 14:17:36 +01:00
Ehsan Akhgari
6f93e82b41 Bug 471018 - Warning: nsFaviconService.cpp: outparam 'aHasData' not written on NS_SUCCEEDED(return value); r=dietrich 2009-01-03 07:42:34 +03:30
Shawn Wilsher
4d53994a50 Bug 460300 - Expire favicons when they expire from cache, and when the cache is cleared
This makes favicons expire from the favicon service much less often.  They are
now expired when the cache headers says they expire, or one week - whichever is
shorter.  Additionally, all favicons expire when the cache is cleared.
r=MaK77
2008-12-11 15:01:10 -05: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
Shawn Wilsher
866c0b3978 Bug 459315 - Wrap favicon work in a transaction
This wraps a series of statements that run on the main thread to reduce the
number of fsyncs that end up happening.
r=dietrich
2008-10-27 18:52:21 -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
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02: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
b77395a679 Bug 449884 - Stop using mozIStorageConnection::GetLastInsertRowID
It turns out that this is not a safe function to use at all when you start using
the database connection on more than one thread.  It also does not work as
expected when triggers are used to insert data into a database.
r=dietrich
2008-08-16 18:28:28 -04:00
Shawn Wilsher
f7c9f5d3ec Bug 443433 - [refactor] move places table creation statements to one file
This refactors how tables are created in places.  There is no change in logic.
r=dietrich
2008-08-04 13:14:17 -04: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
reed@reedloden.com
fd10d2e6de Bug 398811 - "Remove MOZILLA_1_8_BRANCH ifdefs from toolkit on trunk" [p=mh+mozilla@glandium.org (Mike Hommey) r=gavin a1.9=damons] 2008-05-09 00:25:29 -07:00
dietrich@mozilla.com
c62383ea7b Bug 430792 - Site's favicon is replaced if browser error page is shown (for ehsan.akhgari@gmail.com, r=dietrich, a=beltzner) 2008-05-07 21:35:08 -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
reed@reedloden.com
75498345f5 Bug 425064 - "nsIFaviconService / isFailedFavicon(null) crashes firefox (3.0b4, 3.0b5pre)" [p=martijn.martijn@gmail.com (Martijn Wargers) r=dietrich a1.9=damons] 2008-04-09 00:33:15 -07:00
timeless@mozdev.org
d7e775a7be Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
dolske@mozilla.com
a759b94d03 Finish relanding Bug 389273 - large favicons (>32 KB) won't show up in url bar autocomplete, history / bookmarks menu, bm organizer. 2008-01-19 22:48:07 -08:00
dolske@mozilla.com
312f215559 Partially back out bug 389273 while I look into the test failures. 2008-01-12 21:35:29 -08:00
dolske@mozilla.com
97a57a7769 Bug 389273 - large favicons (>32 KB) won't show up in url bar autocomplete, history / bookmarks menu, bm organizer. r=sspitzer, stuart. a1.9=schrep 2008-01-12 20:15:20 -08:00
sspitzer@mozilla.org
c0c4f76c67 supplimental fix for bug #404630: Faviconize Tab extension causes a crash @ nsNavHistory::LazyMessage::Init r=thunder, a=blocking-firefox3+ 2007-11-21 16:44:33 -08:00
cbiesinger@gmx.at
10f4183f96 392980 make it possible to QI FaviconLoadListener to nsIRequestObserver r=2xgavin,2xsayrer,mano 2007-09-05 13:23:54 -07:00