Граф коммитов

1259 Коммитов

Автор SHA1 Сообщение Дата
Shawn Wilsher 14b19841ca Bug 451590 - nsNavHistory needs nsIClassInfo with THREADSAFE flag
This changeset marks nsNavHistory as threadsafe so we can use the database
connection on more than one thread in JS.  It also adds assertions on every
other public API to ensure that it is only running on the main thread.
r=dietrich
r=bent
2008-09-04 18:11:14 -04:00
Simon Wagner d4f2b2ffe9 Bug 452958 - Livemarks service does not show children with empty titles, r=dietrich 2008-09-04 19:00:18 +02:00
Shawn Wilsher df607921d6 Bug 452777 - regression from lastInsertRowID: Undo folder deletion mix up views
r=Mak77
2008-09-03 12:45:20 -04:00
Marco Bonardo c7cbc9f577 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 65dbea367a 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 c70ae20d95 Bug 451760 - Allow matching at beginning of title/url by pref. r=dietrich 2008-08-24 10:45:33 -05:00
Shawn Wilsher ef657651d7 Bug 451244 - nsNavHistory does not use threadsafe refcounting
This changeset makes nsNavHistory use the threadsafe addref and release macros
so database access can be done off of the main thread via nsPIPlacesDatabase.
r=dietrich
2008-08-19 23:31:53 -05:00
Marco Bonardo f5dcca37c7 Bug 411966 - Wrong favicon appears in the bookmarks list, r=dietrich 2008-08-19 11:26:16 -04:00
Marco Bonardo 7e9f44d6b6 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 8e8f112b0a Bug 450674 - Fix test_expiration.js
r=sdwilsh
2008-08-16 18:34:36 -04:00
Shawn Wilsher 2e4f783618 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 b4e36bcb89 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
Shawn Wilsher 060ff3099d Bug 449506 - Expose the places db connection
This adds a private interface that consumers can QI to to get access to the
internal database connection.
r=dietrich
2008-08-16 18:21:23 -04:00
Dão Gottwald 0c121f919f Backed out changeset be5521120b06 2008-08-13 09:52:48 +02:00
Marco Bonardo d9373d105c Bug 411966 – Wrong favicon appears in the bookmarks list. r=dietrich 2008-08-13 08:44:38 +02:00
L. David Baron d085d73186 Merge backout of changeset fb56f835e52d due to test failure and leaks. 2008-08-06 11:54:04 -07:00
L. David Baron ec79daa1f1 Backed out changeset fb56f835e52d due to test failure and leaks. 2008-08-06 11:53:44 -07:00
Dietrich Ayala 8ba146f69f bustage fix for bug 329534 2008-08-06 10:20:30 -07:00
Dietrich Ayala d563eb2d10 [mq]: bug-329534-livemarks-load 2008-08-06 09:51:14 -07:00
Edward Lee a5fcbc5aa7 Bug 422698 - different levels of URL decoding for address bar and autocomplete suggestions 2008-08-05 18:16:35 -07:00
Edward Lee 95ae0af44d 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 e7a7358974 Bug 424509 - Location bar autocomplete favors "http://" over domain name starting with "h". r=dietrich 2008-08-05 17:56:04 -07:00
Shawn Wilsher 3f3b07898a 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
Shawn Wilsher 6fc4c9b907 Address spelling mistake from review comment for bug 443068. 2008-08-04 13:07:17 -04:00
Shawn Wilsher 6701a8e6a0 Bug 443068 - Move triggers into migration code
This moves all the triggers created by places into the appropriate migration
functions.  This saves us two queries to sqlite_master every time the places
service starts up.
r=dietrich
2008-08-04 12:59:56 -04:00
Edward Lee 90bebef2e9 Backout 6831521f03ac to fix Bug 446621 - Slowdown on AutoComplete - AwesomeBar. a=beltzner 2008-07-22 08:49:39 -07:00
Edward Lee afe774f818 Bug 412736 - in the case of a frecency tie, break it with h.typed and h.visit_count. r=dietrich 2008-07-21 23:29:51 -07:00
Edward Lee eda9f0d79c 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 24b6d38299 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 71548b9fde 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 d1d8aa6bda Bug 249468 - Add all bookmark keywords to location bar autocomplete drop-down list 2008-07-17 04:50:37 -07:00
Edward Lee 1bef7eb888 Bug 392143 - show keywords as url bar autocomplete choices. r=dietrich, r=gavin 2008-07-17 04:48:40 -07:00
Edward Lee 5cb6496071 Bug 406422 - Globally decay adaptive input history to allow for new entries. r=dietrich 2008-07-16 13:45:42 -07:00
Serge Gautherie 31d8086891 Bug 311672 – Remove the obsolete 2nd parameter from |nsIStringBundleService::createBundle(...)| "JS" callers. r=zeniko/mano 2008-07-12 11:56:02 +02:00
Olli Pettay 9ae74171ca Relanding Bug 444432 - Mozilla2 Tinderbox 'qm-win2k3-moz2-01': test_places/unit/test_419731.js: FAIL 2008-07-11 16:00:41 +03:00
Asaf Romano 4c9b67afe0 Bug 443734 - Remove initBookmarksToolbar. r=gavin. 2008-07-05 22:00:06 +03:00
Dietrich Ayala b6f0608f6d 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 7a0d6067ed Bug 433317 - Renamed title of saved search folder isn't updated outside the Library until Firefox is restarted (r=marco, r=mano) 2008-07-03 10:40:16 -07:00
Dietrich Ayala 95e2024781 Bug 437078 - GUIDs not included in bookmark backups (r=mano) 2008-07-03 10:17:13 -07:00
Dietrich Ayala 2167147598 Bug 436219: nsINavBookmarksService.runInBatchMode comment is incorrect (r=mano) 2008-07-02 14:35:46 -07:00
Shawn Wilsher 124b7ecaa6 Bug 429987
Remove unused IN_MEMORY_LINKS
r=dietrich
2008-06-11 16:52:24 -04:00
peterv@propagandism.org 45727ae1a7 Fix for bug 426261 (Crash in nsNavHistoryContainerResultNode::GetSortType() during bookmark synchronization). Patch by ondrej and me, r=Mano, a=beltzner. 2008-05-27 08:48:31 -07:00
edward.lee@engineering.uiuc.edu 30f57ae706 Leak bustage fix for Bug 434340 - The bookmark tags feature is broken on Firefox 3.0rc1 for OpenSolaris 2008-05-26 19:28:47 -07:00
edward.lee@engineering.uiuc.edu 8b264731f0 Bug 434340 - Firefox 3.0pre crashes with auto completion for tagged bookmark. p=ginn.chen@sun.com (Ginn Chen), r=Mardak, r=dietrich, b-ff3=beltzner, a1.9=beltzner 2008-05-26 14:20:34 -07:00
dietrich@mozilla.com 767748fd1f Bug 433525 - crash [@ nsNavHistoryQueryResultNode::IsContainersQuery()] (r=marco, r=mano, a=schrep) 2008-05-23 09:22:54 -07:00
gavin@gavinsharp.com d62cf5b07b Back out bug 432938 because it caused bug 433241, a=schrep/beltzner 2008-05-11 13:12:29 -07:00
reed@reedloden.com 6dadad9e91 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 469c7bd521 Bug 430792 - Site's favicon is replaced if browser error page is shown (comment change only, for ehsan.akhgari@gmail.com, r=dietrich) 2008-05-08 09:36:54 -07:00
dietrich@mozilla.com ca27ef83a7 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 76573af049 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