Commit Graph

3361 Commits

Author SHA1 Message Date
Marco Bonardo
dacc704011 Bug 431558 - implement preventive maintenance for places.sqlite, r=dietrich 2008-12-09 21:39:32 +01:00
Shawn Wilsher
205d129c10 Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
2a28a8b2b1 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
89bed255d0 Bug 342261 - [nsIAlertsService] all of notification window should be clickable. r=gavin 2008-12-08 08:44:49 +01:00
Justin Dolske
6df99df2bf 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
20e31abd7a 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
db9e87e0e8 Bug 465487 - Fix perms on a couple of executable JS components, r=ted 2008-12-06 20:25:09 -08:00
Curtis Bartley
37dfbc1b69 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
49ce1c4f8d Bug 450800 - Style new search widgets on Mac OS X, CSS changes. r=dao 2008-12-06 12:41:29 +01:00
Ehsan Akhgari
74244a2cc5 Bug 463021 - Private browsing tests use timeouts; r=sdwilsh 2008-12-06 14:14:32 +03:30
Marco Bonardo
c6585034a9 ug 466303 - When removing bookmark backups remove also old html ones, r=dietrich 2008-12-05 16:27:23 +01:00
Serge Gautherie
646655b4b0 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
54f8be082c 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
4f8ca57707 Bug 460119 - Convert autocomplete feedback increase to an async query, r=dietrich 2008-12-04 16:41:06 +01:00
Marco Bonardo
eeef97ba32 Bug 423139 - BOOKMARK_REDIRECT_TIME_THRESHOLD is weird, r=dietrich 2008-12-04 16:11:04 +01:00
Marco Bonardo
f43a4b2785 Bug 460830 - Tag containers and queries have bogus QUERY_TYPE definition, r=dietrich 2008-12-04 16:01:19 +01:00
Markus Stange
95ab47758c 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
9d047df9a0 Bug 463863 - Download history not shown in Places history, r=dietrich, ui-r=beltzner 2008-12-04 13:59:04 +01:00
Brad Lassey
1730d31d92 Bug 461856 - No Username on windows mobile r=bsmedberg 2008-12-03 08:41:12 -05:00
Vlado Valastiak
77760857d2 Bug 277296 - The print dialogs have no accesskeys; r=gavin, a191=beltzner 2008-11-28 22:07:51 +01:00
Ehsan Akhgari
8fe34ebf2e Bug 463882 - nsDownloadManager::Init is not safe for multiple calls; r=sdwilsh a191=beltzner 2008-11-28 12:53:57 -08:00
Ehsan Akhgari
66d73b21ec 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
7a323bd292 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
ec68772557 backing out bug 414715 due to possible Ts regression 2008-11-27 16:10:36 +01:00
Dietrich Ayala
2ed8d0e593 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
d4a9bada17 Fix for bug 466284 (Crash in [@ nsAutoCompleteController::RowIndexToSearch]). r=gavin, a19b2=beltzner. CLOSED TREE 2008-11-24 17:53:32 +01:00
Justin Dolske
0310bdcb87 Bug 464947 - Clear Recent History dialog should clear form data by timespan. r=mconnor 2008-11-17 16:46:31 -08:00
Steffen Wilberg
3616a9b678 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
4d778c0dfc 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
0ccda1ba20 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
bcc27deac7 Bug 464858 - intermittent / recurring fail of test_db_update_v1.js. bustagefix. 2008-11-13 21:50:13 -08:00
Ehsan Akhgari
725a61af3c 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
9ad54ed470 Bug 463154 - Form history should record creation/usage timestamps. r=mconnor, r=sdwilsh 2008-11-13 10:30:45 -08:00
Dietrich Ayala
6bf15180d8 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
fcbcf1f1c9 Fix for bug 464114 (nsAutoCompleteController should participate in cycle collection). r=gavin. 2008-11-13 15:28:36 +01:00
Marco Bonardo
0b3ae28218 backout test for bug 463471 causing orange 2008-11-13 11:33:01 +01:00
Dietrich Ayala
5e5d254f63 [mq]: backout-bug-463471 2008-11-12 23:50:19 -08:00
Marco Bonardo
083c4c9d26 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
db938e81e9 Bug 462366 - correct bogus importBookmarksHTML behaviour, r=dietrich a=beltzner 2008-11-12 21:45:53 +01:00
Neil Rashbrook
33f09c1f46 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
bca5e2de96 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
b4c65de2c8 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
58f4661b50 Bug 459493 - remove placesBackground, r+a=mconnor 2008-11-06 23:22:10 +01:00
Shawn Wilsher
4aa41a7509 Bug 462964 - nsIDownloadManager should have removeDownloadsByTimeframe
r=mconnor
2008-11-05 18:39:24 -05:00
Jeff Walden
3e90d9d020 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
91d78ac749 Bug 418643 - Bookmark folder deletion executes too many SQL statements (r=dietrich) 2008-11-05 14:02:12 -08:00
Dietrich Ayala
8e667ace8a Bug 419792 - Use optimized query to get tags for nsNavHistoryResultNode (r=mano) 2008-11-05 10:20:00 -08:00
Dietrich Ayala
847e2d6bcc 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
0829df0d64 Bug 17612: front end patch to enable view-source link browsing, r=gavin 2008-11-04 23:01:33 -05:00
Honza Bambas
91fd5ffa31 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
538c9fb42a 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
e3aac65f0c 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
bde8862b7a Bug 453179 - Remove unused indecies in a migration code path - not shutdown
r=dietrich
2008-11-03 22:41:15 -05:00
Shawn Wilsher
4dfcbd54b5 Bug 453177 - Move moz_places.user_title removal back to MigrateV6Up
r=dietrich
2008-11-03 22:41:15 -05:00
Justin Dolske
afa5f304b1 Bug 462525 - username truncation code is unnecessarily duplicated in nsLoginManagerPrompter. r=gavin 2008-11-03 19:24:14 -08:00
Ehsan Akhgari
8541e60302 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
022eb9cad7 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
b8a5cb58c9 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
c078acab37 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
f22388d6b9 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
8cc8a04b63 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
6ec07faaef 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
6ac4e61f10 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
18e70afd05 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
3da086a9c9 backing out bug 462379 due to persistent test failures 2008-10-30 23:11:04 -07:00
Edward Lee
f1472613c5 More bug 462379 followup (both == 2) rs=sdwilsh 2008-10-30 20:30:35 -05:00
Dietrich Ayala
22a04cd7f2 bug 462379 followup (for sdwilsh@forerunnerdesigns.com) 2008-10-30 16:36:14 -07:00
Shawn Wilsher
8a7df4c6aa 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
bb3bf9ec94 Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc 2008-10-30 10:15:22 -07:00
Marco Bonardo
caedf6ca4c Bug 462206 - finalize statements in nsPlacesDBFlush, r=sdwilsh 2008-10-30 09:51:34 +01:00
Marco Bonardo
0b5b8f64ca Bug 462205 - add statementCallback interface to nsPlacesDBFlush, r=sdwilsh 2008-10-30 09:45:21 +01:00
Marco Bonardo
a05f287958 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
5f64e01cf3 Bug 462213 - make migrateV8 tolerant to downgrade-upgrade paths, r=sdwilsh 2008-10-30 09:37:49 +01:00
Shawn Wilsher
8e48a3e072 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
b84750e8c5 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
2ebdec533a 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
555c5a8f1c 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
2127dcfc13 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Marco Bonardo
d06f0e2486 Bug 460947 - fsync stuff has a wrong query for expiration sites cap
r=dietrich
2008-10-27 18:52:23 -04:00
Marco Bonardo
bf1db1a23a Bug 459934 - should lazy-load places autocomplete statements
r=dietrich
r=sdwilsh
2008-10-27 18:52:23 -04:00
Shawn Wilsher
a776db5391 Bug 459789 - lazily get mDB[Invalid|Old]Frecencies
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
ba67e3dc04 Bug 459788 - Lazily get mDBBookmarkToUrlResult
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
2452632409 Bug 459786 - lazily get mDBVisitTo[Visit|URL]Result
r=dietrich
2008-10-27 18:52:23 -04:00
Shawn Wilsher
09427291bc 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
3673b405f4 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
cf3da2eccf 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
c2c58ede5b 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
1e25281a87 Bug 455474 - cleanup nsNavBookmarks::Init
r=dietrich
2008-10-27 18:52:21 -04:00
Marco Bonardo
636252beee 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
51ee94d2ad 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
fe1e270944 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
3d0d41ee56 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
3f60a72d69 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)
febae1a322 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
7d6c83e21f 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
0ad49ff6c2 Bug 461714 - Duplicate handleLoad functions in test_privbrowsing.html, r=dolske 2008-10-26 22:34:15 +03:30
Mark Banner
b7fc7a453a Bug 461341 MailNews usernames need decoding on signons file upgrade. r=dolske 2008-10-26 14:27:46 +00:00
Ehsan Akhgari
a52f7a990f Merge landing of bug 461629 2008-10-26 01:19:03 +03:30
Ehsan Akhgari
ff2d2e91e0 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
23aaaa2abf 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
3d5a77e536 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
c510c992e1 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
356ba68377 Bug 453723: Short-circuit known-clean hosts in the url-classifier. r=tony 2008-10-19 20:07:46 -07:00
Ehsan Akhgari
c05203160f 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
126cb51324 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
202ab53e20 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
9467c5bb99 Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Ryan Flint
cdff3c4a90 Bug 460235 - Additional search service Ts improvements. r=gavin 2008-10-17 22:34:33 -04:00
Ryan Flint
20d6ad0569 Bug 460235 - Additional search service Ts improvements. r=gavin 2008-10-17 22:24:47 -04:00
Shawn Wilsher
829fc431ab Backout places fsync changes 2008-10-17 12:29:34 -04:00
Marco Bonardo
5d71eb1aea followup to bug 459934, fix memory leak, mpa=mano, for post facto review 2008-10-17 08:56:25 -04:00
Marco Bonardo
31179017d1 Bug 459934 - should lazy-load places autocomplete statements
r=dietrich
r=sdwilsh
2008-10-17 06:12:53 -04:00
Shawn Wilsher
30a43bf34a Bug 459789 - lazily get mDB[Invalid|Old]Frecencies
r=dietrich
2008-10-17 06:12:53 -04:00
Shawn Wilsher
69ca4066be Bug 459788 - Lazily get mDBBookmarkToUrlResult
r=dietrich
2008-10-17 06:12:53 -04:00
Shawn Wilsher
6e74a7cc96 Bug 459786 - lazily get mDBVisitTo[Visit|URL]Result
r=dietrich
2008-10-17 06:12:53 -04:00
Shawn Wilsher
0630ed6ac5 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
1bf6dc8334 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
fa8ebfbf47 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
a3921cb60e 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
a34b89c878 Bug 455474 - cleanup nsNavBookmarks::Init
r=dietrich
2008-10-17 06:12:52 -04:00
Marco Bonardo
6a40b81d8f 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
7318a31e87 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
1d8ed87e7e 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
17cb4ef937 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
324faf73c0 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)
ab683c2014 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
4e36cb2d33 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
5b77a76c5c 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
7df10dc9bd Bug 459988 - Download manager does not send the dl-cancel notification, r=sdwilsh 2008-10-15 10:57:23 +03:30
Ehsan Akhgari
83f6c4545b Bug 457110 - Support in-memory DB for the downloads manager back-end, r=sdwilsh 2008-10-15 10:54:52 +03:30
Marco Bonardo
619bf4f3db Bug 458683 - Backup only uri nodes into tag containers, r=dietrich 2008-10-14 17:24:08 +02:00
Neil Rashbrook
55b6b71d92 Bug 459571 Places autocomplete results contain incorrect search string r=sdwilsh,mardak 2008-10-14 14:54:17 +01:00
Neil Rashbrook
651b70be24 Bug 459329 Download Manager should honour --disable-vista-sdk-requirements r=sdwilsh 2008-10-14 14:48:55 +01:00
Marco Bonardo
e1b2894e8b Bug 457698 - nsNavHistoryFolderResultNode::OnItemAdded ignores dynamic containers, r=dietrich 2008-10-13 18:14:50 +02:00
Marco Bonardo
a391ff7b7f 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
c6d47a93d5 Bug 457681 - if ExcludeReadOnlyFolders is false, readonly dynamic containers are still excluded, r=dietrich 2008-10-13 17:58:36 +02:00
Marco Bonardo
8f29aaecf4 Bug 457677 - PlacesUtils ignores dynamic containers, r=dietrich 2008-10-13 17:54:25 +02:00
Markus Stange
efc31b0d07 Merge backout of bug 398928 2008-10-13 14:33:01 +02:00
Markus Stange
9e3fc5bc06 Backed out changeset 151e51ec625e (bug 398928) because of unit test orange 2008-10-13 14:30:47 +02:00
Marco Bonardo
81dc5853ba Bug 458013 - QueryResultNode Tag refresh optimization is useless as it is, r=dietrich 2008-10-13 14:11:27 +02:00
Markus Stange
c66be3d531 Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-13 11:24:51 +02:00
Justin Dolske
365ff4d9ea 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
a2d746ccc9 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
d62de70899 Merge retardedness. 2008-10-10 21:42:19 -07:00
Justin Dolske
f3be10dbee Backed out changeset 2f36cde1694c (bug 394611, due to leaks) 2008-10-10 21:39:25 -07:00
Jim Mathies
096078a5db 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
Steffen Wilberg
6021a26e4a In about:config, make accel+f focus the filter box instead of invoking the find bar; r=neil 2008-10-11 03:10:48 +02:00
Justin Dolske
0c8914df6f Bug 394611 - Always prompt the user before changing a stored password. r=gavin 2008-10-10 18:05:48 -07:00
Justin Dolske
e4b5c23d8e Bug 426991 - Form submission extremely slow on large forms (with form Form history turned on). r=sdwilsh, r=gavin 2008-10-10 14:51:49 -07:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00