Commit Graph

3343 Commits

Author SHA1 Message Date
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
Justin Dolske
f797fdd19e Bug 455057 - some chrome images have embedded profiles. ui-r=faaborg, sr=mconnor. 2008-10-16 15:20:21 -07: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
Chris Double
7c6c3f79d2 Bug 459765 - Update to libsydneyaudio r3730 r=kinetik 2008-10-16 16:16:29 +13:00
Dão Gottwald
380e4ca4f6 Bug 397493 - Add-ons Update should skip "Continue" if all updates have been successful. ui-r=boriss, r=dtownsend 2008-10-15 15:56:25 +02:00
Robert Strong
7dcd3c33d2 Bug 459218 - Wizard back and next / finish buttons have incorrect space between them (wonstripe). r=dtownsend 2008-10-15 01:39:38 -07: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
Markus Stange
d1ef260d47 Bug 450944 - Turn off shadow for the autoscroll icon, r=mconnor 2008-10-14 17:36:38 +02:00
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
Ben Hearsum
347a38192a backout bug 453840 to fix win32 l10n 2008-10-13 20:42:23 -04:00
Markus Stange
64f4d1c1e2 Bug 394892 - Draw checkboxes and radiobuttons with NSButtonCell, r=josh sr=dbaron 2008-10-13 18:58:40 +02: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
Edward Lee
12436dcf0c Bug 414326 - Use DownloadUtils for software update downloads. r=sdwilsh, r=robstrong 2008-10-13 10:50:10 -05: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
bbe8b505b9 Bug 398928 follow-up to fix preferences pane switching, r=Neil 2008-10-13 11:27:40 +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
Markus Stange
9054ac4763 Bug 414728 - Use text-shadow in the statusbar on Mac, r=rflint 2008-10-13 11:07:00 +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
Robert Strong
f8a5069900 Partial backout of Bug 453733 to fix Bug 459569 2008-10-12 16:03:38 -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
Dão Gottwald
0f1ae10b49 Bug 459457 - global.css cleanup: kill formatting.css, remove obsolete stuff, rtl fixes and more. r=neil 2008-10-12 15:25:51 +02:00
Peter Weilbacher
b8af3f6c3f [OS/2] Bug 454956: fix OS/2 build break with GCC 3.4.6 or newer, part 2 2008-10-11 14:49:03 +03: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
Antonio Gomes
936599abd6 Bug 444801 - Implement pref support on snav; r=(doug.turner + mark.finkle) 2008-10-11 03:24:56 +02: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
Steffen Wilberg
afdcf5bda0 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
addac0ea7f Bug 394611 - Always prompt the user before changing a stored password. r=gavin 2008-10-10 18:05:48 -07:00
Robert Strong
6df3911e4a Bug 453733 - Software update fails if current directory is root directory (win32 only). r=ted.mielczarek, r=bsmedberg 2008-10-10 16:17:58 -07:00
Robert Strong
635de34829 Bug 453733 - Software update fails if current directory is root directory (win32 only). r=ted.mielczarek, r=bsmedberg 2008-10-10 16:04:01 -07:00
Robert Strong
570ccf44f5 Bug 458839 - Move errors.xul from update over to extensions since the add-ons mgr. is the only consumer. r=dtownsend 2008-10-10 15:36:46 -07:00