Commit Graph

20570 Commits

Author SHA1 Message Date
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
Marco Bonardo
f7ff4ff44f Bug 429350 - Unable to delete tags from column list, r=mano 2008-10-17 12:06:53 +02:00
Alexander Surkov
5919623dd2 Bug 460239 - move static methods from nsAccessible and nsAccessNode to utils, r=aaronlev 2008-10-17 18:10:43 +08:00
Alexander Surkov
75f0f837c1 Bug 460402 - remove extra noise when there is no document accessible, r=aaronlev 2008-10-17 18:09:22 +08:00
Mats Palmgren
4fb98e2548 Crashtest for bug 456196, by Martijn Wargers <martijn.martijn@gmail.com>. 2008-10-17 10:13:34 +02:00
Mats Palmgren
e16b0a1810 Use iterative algorithms when cloning and deleting lists. b=456196 r+sr=dbaron 2008-10-17 10:13:16 +02:00
Mats Palmgren
368bf624ce Remove unintentional BOM. b=460248 r=roc 2008-10-17 09:02:12 +02:00
Jonas Sicking
c36e66a164 merge backout 2008-10-16 22:49:48 -07:00
Jonas Sicking
67ed0d709b Backed out changeset eeeaee484609 due to test failure 2008-10-16 22:48:37 -07:00
Masayuki Nakano
2ec0d6704d Bug 456522 fix 4 warnings of nsPresContext.h r+sr=roc 2008-10-17 14:45:25 +09:00
Jonas Sicking
0f9769b8ee Break out Access-Control code from nsXMLHttpRequest.cpp. r/sr=mrbkap b=459770. Relanding with some things removed to see if they caused leak. 2008-10-16 21:24:29 -07:00
Serge Gautherie
015bf6d9dd Merge: Backed out changeset: 1a8fd714a794 2008-10-17 04:11:52 +02:00
Serge Gautherie
c0f5d14cd9 Backed out changeset: 1a8fd714a794
Break out Access-Control code from nsXMLHttpRequest.cpp. r/sr=mrbkap b=459770
which leaks 280 kB.
2008-10-17 04:10:25 +02:00
Serge Gautherie
9f9cda3a8c Work around failing (new) test from
b7253556900e	Simon Montagu — Bug 453468: fix regression in wrap attribute in textareas from bug 99457. r+sr=dbaron
2008-10-17 03:34:22 +02:00
Chris Double
22956f0d68 Bug 398185 - Add byte range request support to JS httpd - r=jwalden+bmo 2008-10-17 12:38:14 +13:00
David Triendl
a3c0d750e5 Bug 457470 - Update public suffix (effective TLD) list (3); r=gerv 2008-10-17 01:29:10 +02:00
Olli Pettay
80d42d5fb5 Bug 459848 - backout bug 346984 r+sr=bz 2008-10-17 01:35:45 +03: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
Jonas Sicking
284444879a Break out Access-Control code from nsXMLHttpRequest.cpp. r/sr=mrbkap b=459770 2008-10-16 15:02:15 -07:00
Jesse Ruderman
cff82b676c Add bug 370897 crashtest 2008-10-16 14:49:40 -07:00
Simon Montagu
78759c8bb2 Bug 453468: fix regression in wrap attribute in textareas from bug 99457. r+sr=dbaron 2008-10-16 14:34:10 -07:00
Josh Aas
3c5947edd0 build fixes for the Mac OS X basic plugin in our plugin SDK. b=459091 sr=dougt 2008-10-16 16:21:54 -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
Shawn Wilsher
edf3d2940b Bug 449443 - Upgrade to SQLite 3.6.4
This changeset is the actual upgrade to SQLite.
2008-10-16 15:59:33 -04:00
Shawn Wilsher
27e8ca1479 Bug 449443 - Upgrade to SQLite 3.6.4
This changeset contains the changes needed to Mozilla code.
r=Mano
2008-10-16 15:59:31 -04:00
Brad Lassey
02222e4376 Backed out changeset 9fde2bdd93ef due to unit test failures 2008-10-16 14:10:57 -04:00
Brad Lassey
29475226ef Backed out changeset 9fde2bdd93ef 2008-10-16 14:09:08 -04:00
Siddharth Agarwal
18fc5bf44f Bug 455738 - Add support for new Vista locales; r=smontagu 2008-10-16 17:28:24 +02:00
Laurent Jouanneau
d8485a11a8 Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer. Now with passing tests. r=smaug, sr=bzbarsky 2008-10-16 11:16:52 -04:00
Boris Zbarsky
fac7c54113 Make this test pass in profiles where the default charset is not ISO-8859-1 2008-10-16 11:11:02 -04:00
Ben Newman
17eeddcb85 Bug 460124. Remove no-longer-needed code, since now we calculate hash values for nsPrincipals in a sane way. r+sr=bzbarsky 2008-10-16 10:56:51 -04:00
Brad Lassey
533ed3c416 Bug 458953 - undef'ing LoadImage in nsSVGFilters.cpp breaks wince build r=roc 2008-10-16 10:53:36 -04:00
Alexander Surkov
3f6f0af05c Bug 460165 - introduce nsAccUtils, rs=aaronlev
--HG--
rename : accessible/src/base/nsCoreUtils.cpp => accessible/src/base/nsAccUtils.cpp
rename : accessible/src/base/nsCoreUtils.h => accessible/src/base/nsAccUtils.h
2008-10-16 17:12:05 +08:00
Robert O'Callahan
a6e4eac9e9 Bug 453103. Make reftests robust against Mac subpixel rendering quirks. r+sr=dbaron 2008-10-16 20:56:31 +13:00
Robert O'Callahan
126f57733c Bug 459512. When painting an SVG source image for a filter, translate the dirty rect into device coordinates relative to the outer-SVG. Also, don't use an override-CTM to transform into filter space, just apply the transform to the gfxContext. r=longsonr,sr=mats 2008-10-16 20:55:10 +13:00
Robert Longson
1dd81c7158 Bug 459759 - Crash if markers contain paths. r+sr=roc 2008-10-16 08:48:55 +01:00
Theppitak Karoonboonyanan
018ec4b25f Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc 2008-10-16 20:44:32 +13:00
Myk Melez
51ae5b5137 Bug 420209 - Mac theme includes images no longer in use; r=mconnor 2008-10-15 22:58:30 -07:00
Robert Sayre
c79f329ed4 Bug 459293. Sites not loading - redeclaration const JSON error on console. r=brendan 2008-10-16 01:20:57 -04:00
Chris Double
7c6c3f79d2 Bug 459765 - Update to libsydneyaudio r3730 r=kinetik 2008-10-16 16:16:29 +13:00
Masayuki Nakano
2b76b3fab2 Bug 459820 Need automated tests for Caps Lock key events r+sr=roc 2008-10-16 12:04:39 +09:00
Chris Double
bb7c88c142 Bug 45953 - Update to latest liboggplay version to fix bad free 2008-10-16 15:52:56 +13:00