Commit Graph

1647 Commits

Author SHA1 Message Date
Dietrich Ayala
7a9981ce5f Bug 463513 - Tagging service could hold a fixed cache instead of an open node, r=mak77 2008-12-10 11:40:13 +01:00
Shawn Wilsher
bf0e65a35b Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Marco Bonardo
475620037e Bug 465510 - random failures on test_database_sync_after_addVisit.js, r=sdwilsh 2008-12-09 21:39:32 +01:00
Marco Bonardo
d68f8a9e09 Bug 467971 - random failures on test_multiple_visits_around_sync.js, r=sdwilsh 2008-12-09 21:39:32 +01:00
Marco Bonardo
0dd8a6691d Bug 431558 - implement preventive maintenance for places.sqlite, r=dietrich 2008-12-09 21:39:32 +01:00
Shawn Wilsher
6ea17d3edc Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
52fa025019 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Michael Ventnor
6fb9444b8b Bug 342261 - [nsIAlertsService] all of notification window should be clickable. r=gavin 2008-12-08 08:44:49 +01:00
Justin Dolske
baa47b45a5 Bug 444968 - password-only forms should prefer a password-only login when present. r=gavin 2008-12-07 23:38:48 -08:00
Daniel Holbert
ca3e28538e Bug 418643 trivial follow-up: Remove unneded 'typedef' token, in 'typedef struct folderChildrenInfo { ...', to fix compiler warning. r=sdwilsh 2008-12-07 11:56:39 -08:00
Phil Ringnalda
9174e9db9b Bug 465487 - Fix perms on a couple of executable JS components, r=ted 2008-12-06 20:25:09 -08:00
Curtis Bartley
2ebe85f49f Bug 463176 - NS_ERROR_FACTORY_NOT_REGISTERED from nsIDocShellHistory.useGlobalHistory opening view source; Disable all BACK/FORWARD UI and logic when disablehistory="true"; r=gavin.sharp 2008-12-06 18:06:59 +01:00
Markus Stange
6ba1cc8b6f Bug 450800 - Style new search widgets on Mac OS X, CSS changes. r=dao 2008-12-06 12:41:29 +01:00
Ehsan Akhgari
eed26095de Bug 463021 - Private browsing tests use timeouts; r=sdwilsh 2008-12-06 14:14:32 +03:30
Marco Bonardo
2a4f1b3c4e ug 466303 - When removing bookmark backups remove also old html ones, r=dietrich 2008-12-05 16:27:23 +01:00
Serge Gautherie
08935d60ff Backed out changeset: c8eb8a8f42d9
for
Bug 452899 - Don't explicitly create the statement wrapper - storage does it for us; (retry, after bug 457743 was fixed); r=(dolske + sdwilsh)
which
is causing Leaks (again).
2008-12-04 19:30:21 +01:00
Paul O'Shannessy
04ab22fdd5 Bug 452899 - Don't explicitly create the statement wrapper - storage does it for us; (retry, after bug 457743 was fixed); r=(dolske + sdwilsh) 2008-12-04 18:41:44 +01:00
Marco Bonardo
c53ec05b07 Bug 460119 - Convert autocomplete feedback increase to an async query, r=dietrich 2008-12-04 16:41:06 +01:00
Marco Bonardo
4069663e3a Bug 423139 - BOOKMARK_REDIRECT_TIME_THRESHOLD is weird, r=dietrich 2008-12-04 16:11:04 +01:00
Marco Bonardo
b74ce92e03 Bug 460830 - Tag containers and queries have bogus QUERY_TYPE definition, r=dietrich 2008-12-04 16:01:19 +01:00
Markus Stange
5a0af206f8 Bug 456214 - Polish toolbar buttons in the Add-ons Manager, Page Info dialog and Error Console, r=dao 2008-12-04 14:36:24 +01:00
Marco Bonardo
d984c838eb Bug 463863 - Download history not shown in Places history, r=dietrich, ui-r=beltzner 2008-12-04 13:59:04 +01:00
Brad Lassey
d463ecb2a0 Bug 461856 - No Username on windows mobile r=bsmedberg 2008-12-03 08:41:12 -05:00
Vlado Valastiak
bcc7829581 Bug 277296 - The print dialogs have no accesskeys; r=gavin, a191=beltzner 2008-11-28 22:07:51 +01:00
Ehsan Akhgari
2a7083cddc Bug 463882 - nsDownloadManager::Init is not safe for multiple calls; r=sdwilsh a191=beltzner 2008-11-28 12:53:57 -08:00
Ehsan Akhgari
5ad3d484cd Bug 465756 - Ignore browser.helperApps.deleteTempFileOnExit not being set in private browsing; r=bz,sdwilsh sr=bz a=blocking1.9.1+ 2008-11-28 09:08:56 -08:00
Kurt Schultz
f036f9a519 Bug 395898 - remove class="plain focusring" for the tree in about:config, r=gavin a191=beltzner 2008-11-27 12:26:05 -08:00
Marco Bonardo
b2e922b709 backing out bug 414715 due to possible Ts regression 2008-11-27 16:10:36 +01:00
Dietrich Ayala
9f81601ddc Bug 414715. Notify the user if places.sqlite is locked. r=pike, r=mak77, ui-review=faaborg, a=blocking-firefox3.1 2008-11-26 20:59:47 -05:00
Peter Van der Beken
bbdd4aa49b Fix for bug 466284 (Crash in [@ nsAutoCompleteController::RowIndexToSearch]). r=gavin, a19b2=beltzner. CLOSED TREE 2008-11-24 17:53:32 +01:00
Justin Dolske
edf221eb5a Bug 464947 - Clear Recent History dialog should clear form data by timespan. r=mconnor 2008-11-17 16:46:31 -08:00
Steffen Wilberg
fbc2dafa74 Bug 464361: Add support for back and forward mouse buttons to View Source. r=gavin, a=beltzner 2008-11-15 18:32:08 +01:00
Shawn Wilsher
119f47f938 Bug 460086: Library context menu for history items should include "Delete all data to <domain>". Tests and correctness fixes. r+a1.9.1b2=mconnor 2008-11-14 10:24:11 +00: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
Justin Dolske
4fa4c1d330 Bug 464858 - intermittent / recurring fail of test_db_update_v1.js. bustagefix. 2008-11-13 21:50:13 -08:00
Ehsan Akhgari
a89e46f55a Bug 461710 - Write an automated test to ensure that visited link coloring is turned off in private browsing mode (further fixes); r=dietrich (NPOTB) 2008-11-13 23:12:03 +03:30
Justin Dolske
326e268e54 Bug 463154 - Form history should record creation/usage timestamps. r=mconnor, r=sdwilsh 2008-11-13 10:30:45 -08:00
Dietrich Ayala
d6bf19faab Fix for bug 445704 (JSON bookmarks backup has localized filename (and can't be easily restored). r=zeniko, a=beltzner. 2008-11-13 17:54:25 +01:00
Peter Van der Beken
6b9e137ca5 Fix for bug 464114 (nsAutoCompleteController should participate in cycle collection). r=gavin. 2008-11-13 15:28:36 +01:00
Marco Bonardo
45455110de backout test for bug 463471 causing orange 2008-11-13 11:33:01 +01:00
Dietrich Ayala
127a3341a9 [mq]: backout-bug-463471 2008-11-12 23:50:19 -08:00
Marco Bonardo
36f739f320 Bug 463471 - temp tables are not correctly synced to disk when the user clear private data on shutdown, r=dietrich, sdwilsh a=beltzner 2008-11-12 21:50:02 +01:00
Marco Bonardo
20ae2fab49 Bug 462366 - correct bogus importBookmarksHTML behaviour, r=dietrich a=beltzner 2008-11-12 21:45:53 +01:00
Neil Rashbrook
7e0733afd9 Bug 462621 Make --disable-vista--sdk-requirements actually produce a working build (regression from bug 459329) r=sdwilsh (NPOTDB) 2008-11-12 12:19:52 +00: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
Justin Wood
b6bd3bc199 Bug 381157, Make SeaMonkey download manager use toolkit backend
disable toolkit/ DM UI service
rs+=sdwilsh, sanit sr+=NeilAway
2008-11-07 19:32:41 -05:00
Marco Bonardo
d2ef7735fd Bug 459493 - remove placesBackground, r+a=mconnor 2008-11-06 23:22:10 +01:00
Shawn Wilsher
88f4a312eb Bug 462964 - nsIDownloadManager should have removeDownloadsByTimeframe
r=mconnor
2008-11-05 18:39:24 -05:00
Jeff Walden
4f03f95747 Bug 462992 - Assertion running toolkit/components/downloads/test/test_download_manager.js in debug builds. r=sdwilsh, test-only change 2008-11-05 14:57:20 -08:00
mak77@bonardo.net
234918c058 Bug 418643 - Bookmark folder deletion executes too many SQL statements (r=dietrich) 2008-11-05 14:02:12 -08:00
Dietrich Ayala
029ea93f23 Bug 419792 - Use optimized query to get tags for nsNavHistoryResultNode (r=mano) 2008-11-05 10:20:00 -08:00
Dietrich Ayala
81891e2697 Bug 457473 - Bookmark copy creates bookmark with duplicate guid - regression in FF 3.0.3 (r=mano) 2008-11-05 10:15:49 -08:00
Curtis Bartley
10cc9afe12 Bug 17612: front end patch to enable view-source link browsing, r=gavin 2008-11-04 23:01:33 -05:00
Honza Bambas
88f6fe6cdc Bug 449308: Quitting doesn't work when onbeforeunload handler poses dialog. r=mossop, r+sr=bsmedberg 2008-11-04 11:44:23 -08:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Shawn Wilsher
0a32f72c76 Bug 453180 - Adding moz_annos_placeattributeindex should be done in migration code not shutdown
r=dietrich
2008-11-03 22:41:16 -05:00
Shawn Wilsher
1f89b4462e Bug 453179 - Remove unused indecies in a migration code path - not shutdown
r=dietrich
2008-11-03 22:41:15 -05:00
Shawn Wilsher
cf48f23ca7 Bug 453177 - Move moz_places.user_title removal back to MigrateV6Up
r=dietrich
2008-11-03 22:41:15 -05:00
Justin Dolske
48f41d8587 Bug 462525 - username truncation code is unnecessarily duplicated in nsLoginManagerPrompter. r=gavin 2008-11-03 19:24:14 -08:00
Ehsan Akhgari
5fdab7c48c Bug 461710 - Write an automated test to ensure that visited link coloring is turned off in private browsing mode; r=dietrich 2008-11-04 02:52:23 +03:30
Ehsan Akhgari
a21f8e15f2 Bug 461625 - Hide the UI for saving permission manager entries in Private Browsing mode, r=mconnor 2008-11-04 02:52:22 +03:30
Ehsan Akhgari
a2e1bc51b4 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [Places unit test fix]; r=dietrich 2008-11-04 02:52:22 +03:30
Ehsan Akhgari
4770654ff7 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
Ehsan Akhgari
0cd9741967 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [downloadmgr part]; r=sdwilsh 2008-11-04 02:52:21 +03:30
Dietrich Ayala
46b4a3eec0 Bug 462379 - (NS_ERROR_FAILURE) [nsINavBookmarksService.insertBookmark] when trying to star a bookmark (r=sdwilsh, for marco, sdwilsh) 2008-10-31 17:59:38 -07:00
Jim Mathies
79ff237892 Bug 448652 - Very Long URL seems to be blocked by "Security Zone Policy"; "v2.3"; r=sdwilsh 2008-11-01 01:22:45 +01:00
Dietrich Ayala
15440bfcb0 Bug 415960 - bookmark tags edit control should provide autocomplete (r=mano, core by asouzis@users.sf.net) 2008-10-31 09:16:22 -07:00
Justin Dolske
59147bea1a Bug 403420 - notification bar should show the host for the login it's asking to save. r=gavin, ui-r=beltzner 2008-10-30 23:28:39 -07:00
Dietrich Ayala
b6d5857bc6 backing out bug 462379 due to persistent test failures 2008-10-30 23:11:04 -07:00
Edward Lee
7314b9afe4 More bug 462379 followup (both == 2) rs=sdwilsh 2008-10-30 20:30:35 -05:00
Dietrich Ayala
f1def076d9 bug 462379 followup (for sdwilsh@forerunnerdesigns.com) 2008-10-30 16:36:14 -07:00
Shawn Wilsher
a2d0e846cb Bug 462379 - (NS_ERROR_FAILURE) [nsINavBookmarksService.insertBookmark] when trying to star a bookmark
r=dietrich
2008-10-30 17:20:33 -04:00
Benjamin Smedberg
4eb5e5d5a8 Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc 2008-10-30 10:15:22 -07:00
Marco Bonardo
8d17009bde Bug 462206 - finalize statements in nsPlacesDBFlush, r=sdwilsh 2008-10-30 09:51:34 +01:00
Marco Bonardo
3e6ce6e98a Bug 462205 - add statementCallback interface to nsPlacesDBFlush, r=sdwilsh 2008-10-30 09:45:21 +01:00
Marco Bonardo
bd5be67a29 Bug 462204 - Don't try to cancel a not existant timer in nsPlacesDBFlush, r=sdwilsh 2008-10-30 09:42:36 +01:00
Marco Bonardo
04d3fb42d9 Bug 462213 - make migrateV8 tolerant to downgrade-upgrade paths, r=sdwilsh 2008-10-30 09:37:49 +01:00
Shawn Wilsher
5995227d4a Bug 462077 - Lazily create Extensions object (FUEL)
This lazily creates the Extensions object off of Application so we do not take
the hit of initializing the object during startup if we do not need it.
r=gavin
2008-10-29 16:56:46 -04:00
Jim Mathies
4ba1e76c42 Bug 426544 - Disable browser.download.manager.alertOnEXEOpen and set internet zone bit on all downloaded files; v3; r=sdwilsh 2008-10-29 05:53:30 +01:00
Shawn Wilsher
ffb57e62b1 Bug 462047 - nsPlacesDBFlush.js should have an error handler.
This changeset adds the handleError method from mozIStorageStatementCallback to
nsPlacesDBFlush so we can report errors to the error console if they occur.
r=dietrich
2008-10-28 17:44:35 -04:00
Benjamin Smedberg
3a3f316c84 Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410. 2008-10-28 02:47:40 -04:00
Benjamin Smedberg
d89e3c2841 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Marco Bonardo
f118fc44e0 Bug 460947 - fsync stuff has a wrong query for expiration sites cap
r=dietrich
2008-10-27 18:52:23 -04:00
Marco Bonardo
ed77be778c Bug 459934 - should lazy-load places autocomplete statements
r=dietrich
r=sdwilsh
2008-10-27 18:52:23 -04:00
Shawn Wilsher
53d9ccaa7e Bug 459789 - lazily get mDB[Invalid|Old]Frecencies
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
d3792f99c1 Bug 459788 - Lazily get mDBBookmarkToUrlResult
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
53bf616b5a Bug 459786 - lazily get mDBVisitTo[Visit|URL]Result
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
5c893a5e9c Bug 459787 - remove mDBUrlToUrlResult
This changeset removes an unused query that was in the startup path.
r=dietrich
2008-10-27 18:52:22 -04:00
Shawn Wilsher
c7e57e1cb1 Bug 459781 - create our string bundle in a more sane way
This changeset only creates the string bundle when we need it, and only in one
place as opposed to two separate places.
r=dietrich
2008-10-27 18:52:22 -04:00
Shawn Wilsher
d3d72c5b09 Bug 459776 - date formatter is unused
This changeset removes a small part of code that places does in startup that is
not used or needed.
r=dietrich
2008-10-27 18:52:22 -04:00
Shawn Wilsher
34a4755e8b Bug 459773 - Creating a collation is expensive
This makes a lazy getter for getting our collation saving us about 3% of places
startup time.
r=dietrich
2008-10-27 18:52:21 -04:00
Marco Bonardo
27bd310336 Bug 455474 - cleanup nsNavBookmarks::Init
r=dietrich
2008-10-27 18:52:21 -04:00
Marco Bonardo
e8ac5aeecb Bug 459491 - nsPlacesDBFlush could use async queries instead of background thread
r=sdwilsh

--HG--
rename : toolkit/components/places/tests/background/head_background.js => toolkit/components/places/tests/sync/head_sync.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addBookmark.js => toolkit/components/places/tests/sync/test_database_sync_after_addBookmark.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addBookmark_batched.js => toolkit/components/places/tests/sync/test_database_sync_after_addBookmark_batched.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addVisit.js => toolkit/components/places/tests/sync/test_database_sync_after_addVisit.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addVisit_batched.js => toolkit/components/places/tests/sync/test_database_sync_after_addVisit_batched.js
rename : toolkit/components/places/tests/background/test_database_sync_after_modifyBookmark.js => toolkit/components/places/tests/sync/test_database_sync_after_modifyBookmark.js
rename : toolkit/components/places/tests/background/test_database_sync_after_quit_application.js => toolkit/components/places/tests/sync/test_database_sync_after_quit_application.js
rename : toolkit/components/places/tests/background/test_multiple_bookmarks_around_sync.js => toolkit/components/places/tests/sync/test_multiple_bookmarks_around_sync.js
rename : toolkit/components/places/tests/background/test_multiple_visits_around_sync.js => toolkit/components/places/tests/sync/test_multiple_visits_around_sync.js
2008-10-27 18:52:21 -04: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
Shawn Wilsher
2a07d62a96 Bug 459299 - nsNavHistory::SetPageTitleInternal is slow
This caches a statement that is created any time a pages title changes.  The
creation of the statement took roughly 66% of the functions execution time
according to shark.
It also removes a transaction that was not needed in this method.
r=dietrich
2008-10-27 18:52:21 -04:00
Marco Bonardo
f6e56b6916 Bug 456029 - optimize the temp table triggers
This changeset makes the triggers work much faster which should greatly reduce
the timings of adding a visit and a bookmark.
r=sdwilsh
2008-10-27 18:52:21 -04:00
Shawn Wilsher
7a2e763702 Bug 450290 - Sync the temp tables to the permanent tables.
This changeset adds code that is run at app-startup that will flush out changes
to the temporary tables into the permanent ones.  For moz_places, this is done
whenever we sync moz_historyvisits and when we add or modify a bookmark.  For
moz_historyvisits, this is done on a timer controlled by the preference
places.syncDBTableIntervalInSecs.
Changeset includes full test coverage for the above behaviors.
r=dietrich
r=Mak77
2008-10-27 18:52:20 -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
Shawn Wilsher
825b607244 Bug 449086 - Create temporary tables for frequently used places tables
This changeset creates two temporary tables that will be used when inserting
data into moz_places and moz_historyvisits.  This will reduce the number of
writes as well as the number of fsyncs that happen.
r=dietrich
2008-10-27 18:52:19 -04:00
Ehsan Akhgari
f377a59787 Bug 461714 - Duplicate handleLoad functions in test_privbrowsing.html, r=dolske 2008-10-26 22:34:15 +03:30
Mark Banner
cf03623cfc Bug 461341 MailNews usernames need decoding on signons file upgrade. r=dolske 2008-10-26 14:27:46 +00:00
Ehsan Akhgari
030f3484b4 Merge landing of bug 461629 2008-10-26 01:19:03 +03:30
Ehsan Akhgari
5ac9cafede Bug 461629 - Need to remove the "private-browsing-enter" observer at the end of test_privbrowsing.html, r=dolske 2008-10-26 01:16:02 +03:30
stefanh@inbox.com
15f6817fcf Bug 460668 - Remove useless search-sidebar-closebutton from help.xul (also add emptytext attribute and remove some obsolete css). NPODB. r=Neil. 2008-10-25 17:10:10 +02:00
Ehsan Akhgari
0d9adfa8b0 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [passwordmgr part]; r=dolske 2008-10-21 01:58:43 +03:30
Dave Camp
1d4a5c99dc Bug 439281: Handle lookup and expiration of safebrowsing subs by add chunk id rather than host key. r=tony 2008-10-19 20:48:25 -07:00
Dave Camp
4555e35bca Bug 453723: Short-circuit known-clean hosts in the url-classifier. r=tony 2008-10-19 20:07:46 -07:00
Ehsan Akhgari
c33562fa7e Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [satchel part]; r=mconnor 2008-10-20 00:47:36 +03:30
Ehsan Akhgari
35cba1898f Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [contentprefs part]; r=mconnor 2008-10-20 00:46:22 +03:30
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
Markus Stange
24c418dbdf Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Ryan Flint
a65427f3a0 Bug 460235 - Additional search service Ts improvements. r=gavin 2008-10-17 22:34:33 -04:00
Ryan Flint
a1852bf97a Bug 460235 - Additional search service Ts improvements. r=gavin 2008-10-17 22:24:47 -04:00
Shawn Wilsher
5edc587690 Backout places fsync changes 2008-10-17 12:29:34 -04:00
Marco Bonardo
877c2f729e followup to bug 459934, fix memory leak, mpa=mano, for post facto review 2008-10-17 08:56:25 -04:00
Marco Bonardo
4d5942f11f Bug 459934 - should lazy-load places autocomplete statements
r=dietrich
r=sdwilsh
2008-10-17 06:12:53 -04:00
Shawn Wilsher
8cb912ef64 Bug 459789 - lazily get mDB[Invalid|Old]Frecencies
r=dietrich
2008-10-17 06:12:53 -04:00
Shawn Wilsher
10cebaa66f Bug 459788 - Lazily get mDBBookmarkToUrlResult
r=dietrich
2008-10-17 06:12:53 -04:00
Shawn Wilsher
2f47ae77b2 Bug 459786 - lazily get mDBVisitTo[Visit|URL]Result
r=dietrich
2008-10-17 06:12:53 -04:00
Shawn Wilsher
653538e53f Bug 459787 - remove mDBUrlToUrlResult
This changeset removes an unused query that was in the startup path.
r=dietrich
2008-10-17 06:12:53 -04:00
Shawn Wilsher
bb7e0e8c36 Bug 459781 - create our string bundle in a more sane way
This changeset only creates the string bundle when we need it, and only in one
place as opposed to two separate places.
r=dietrich
2008-10-17 06:12:53 -04:00
Shawn Wilsher
d9d1b7f304 Bug 459776 - date formatter is unused
This changeset removes a small part of code that places does in startup that is
not used or needed.
r=dietrich
2008-10-17 06:12:52 -04:00
Shawn Wilsher
1d0921f3e0 Bug 459773 - Creating a collation is expensive
This makes a lazy getter for getting our collation saving us about 3% of places
startup time.
r=dietrich
2008-10-17 06:12:52 -04:00
Marco Bonardo
867daf5b5f Bug 455474 - cleanup nsNavBookmarks::Init
r=dietrich
2008-10-17 06:12:52 -04:00
Marco Bonardo
53ea567322 Bug 459491 - nsPlacesDBFlush could use async queries instead of background thread
r=sdwilsh

--HG--
rename : toolkit/components/places/tests/background/head_background.js => toolkit/components/places/tests/sync/head_sync.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addBookmark.js => toolkit/components/places/tests/sync/test_database_sync_after_addBookmark.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addBookmark_batched.js => toolkit/components/places/tests/sync/test_database_sync_after_addBookmark_batched.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addVisit.js => toolkit/components/places/tests/sync/test_database_sync_after_addVisit.js
rename : toolkit/components/places/tests/background/test_database_sync_after_addVisit_batched.js => toolkit/components/places/tests/sync/test_database_sync_after_addVisit_batched.js
rename : toolkit/components/places/tests/background/test_database_sync_after_modifyBookmark.js => toolkit/components/places/tests/sync/test_database_sync_after_modifyBookmark.js
rename : toolkit/components/places/tests/background/test_database_sync_after_quit_application.js => toolkit/components/places/tests/sync/test_database_sync_after_quit_application.js
rename : toolkit/components/places/tests/background/test_multiple_bookmarks_around_sync.js => toolkit/components/places/tests/sync/test_multiple_bookmarks_around_sync.js
rename : toolkit/components/places/tests/background/test_multiple_visits_around_sync.js => toolkit/components/places/tests/sync/test_multiple_visits_around_sync.js
2008-10-17 06:12:52 -04:00
Shawn Wilsher
f5d2e83ae5 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-17 06:12:52 -04:00
Shawn Wilsher
4d5fb2f862 Bug 459299 - nsNavHistory::SetPageTitleInternal is slow
This caches a statement that is created any time a pages title changes.  The
creation of the statement took roughly 66% of the functions execution time
according to shark.
It also removes a transaction that was not needed in this method.
r=dietrich
2008-10-17 06:12:52 -04:00
Marco Bonardo
b71369cd19 Bug 456029 - optimize the temp table triggers
This changeset makes the triggers work much faster which should greatly reduce
the timings of adding a visit and a bookmark.
r=sdwilsh
2008-10-17 06:12:52 -04:00
Shawn Wilsher
4f97936d8c Bug 450290 - Sync the temp tables to the permanent tables.
This changeset adds code that is run at app-startup that will flush out changes
to the temporary tables into the permanent ones.  For moz_places, this is done
whenever we sync moz_historyvisits and when we add or modify a bookmark.  For
moz_historyvisits, this is done on a timer controlled by the preference
places.syncDBTableIntervalInSecs.
Changeset includes full test coverage for the above behaviors.
r=dietrich
r=Mak77

--HG--
rename : toolkit/components/places/tests/unit/head_bookmarks.js => toolkit/components/places/tests/background/head_background.js
2008-10-17 06:12:51 -04:00
Marco Bonardo ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
5715c324ab 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-17 06:12:51 -04:00
Shawn Wilsher
5790687517 Bug 449086 - Create temporary tables for frequently used places tables
This changeset creates two temporary tables that will be used when inserting
data into moz_places and moz_historyvisits.  This will reduce the number of
writes as well as the number of fsyncs that happen.
r=dietrich
2008-10-17 06:12:50 -04:00
Shawn Wilsher
810e90b149 Bug 460315 - set journal_mode to TRUNCATE
Sets the journal_mode to the places database to TRUNCATE
r=dietrich
2008-10-16 15:59:33 -04:00
Ehsan Akhgari
7ebe50fe0c Bug 459988 - Download manager does not send the dl-cancel notification, r=sdwilsh 2008-10-15 10:57:23 +03:30
Ehsan Akhgari
4c6e8ba514 Bug 457110 - Support in-memory DB for the downloads manager back-end, r=sdwilsh 2008-10-15 10:54:52 +03:30
Marco Bonardo
564c306794 Bug 458683 - Backup only uri nodes into tag containers, r=dietrich 2008-10-14 17:24:08 +02:00
Neil Rashbrook
b50d21d9c9 Bug 459571 Places autocomplete results contain incorrect search string r=sdwilsh,mardak 2008-10-14 14:54:17 +01:00
Neil Rashbrook
434a05f6c1 Bug 459329 Download Manager should honour --disable-vista-sdk-requirements r=sdwilsh 2008-10-14 14:48:55 +01:00
Marco Bonardo
3b22c3d551 Bug 457698 - nsNavHistoryFolderResultNode::OnItemAdded ignores dynamic containers, r=dietrich 2008-10-13 18:14:50 +02:00
Marco Bonardo
6d926ff1b7 Bug 457686 - appendURINode should not append to a dynamic container if we are inside an excludeItems query, r=dietrich 2008-10-13 18:06:50 +02:00
Marco Bonardo
56441e9d6e Bug 457681 - if ExcludeReadOnlyFolders is false, readonly dynamic containers are still excluded, r=dietrich 2008-10-13 17:58:36 +02:00
Marco Bonardo
b1351fc910 Bug 457677 - PlacesUtils ignores dynamic containers, r=dietrich 2008-10-13 17:54:25 +02:00
Markus Stange
47b6afd709 Merge backout of bug 398928 2008-10-13 14:33:01 +02:00
Markus Stange
b6747539e3 Backed out changeset 151e51ec625e (bug 398928) because of unit test orange 2008-10-13 14:30:47 +02:00
Marco Bonardo
68881489cf Bug 458013 - QueryResultNode Tag refresh optimization is useless as it is, r=dietrich 2008-10-13 14:11:27 +02:00
Markus Stange
6cbd4557ec Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-13 11:24:51 +02:00
Justin Dolske
d2a5ba9d51 Bug 394611 - Always prompt the user before changing a stored password. r=gavin
(relanding with workaround to avoid leak)
2008-10-12 20:05:11 -07:00
Ben Turner
311284ddff Bug 455436 - "XPConnect insists on using its own error reporter even when another is already set." r+sr=jst. 2008-10-12 11:32:34 -07:00
Justin Dolske
d3e7c4da65 Merge retardedness. 2008-10-10 21:42:19 -07:00
Justin Dolske
1d366de337 Backed out changeset 2f36cde1694c (bug 394611, due to leaks) 2008-10-10 21:39:25 -07:00
Jim Mathies
4976b1709a Bug 445158 - Consider providing a pref that allows users to avoid check for "Launching Applications and Unsafe Files" Internet option; r=(sdwilsh + tellrob) 2008-10-11 03:15:51 +02:00