Commit Graph

1618 Commits

Author SHA1 Message Date
Marco Bonardo
d7a35dbad7 Bug 696158 - Adapt expiration aggressivity to the distance from the history limit.
r=dietrich
2011-10-20 22:51:13 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Justin Lebar
72783f7f69 Bug 682437 - Add memory reporter for History::mObservers. r=bz
--HG--
extra : rebase_source : f280a6beefd32319816ff8720f7bf65c04343b1e
2011-09-14 17:37:45 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Marco Bonardo
90bbdf9b80 Bug 692496 - Avoid table scan in expiration by restricting on flattened data.
r=dietrich
2011-10-10 12:15:41 +02:00
Marco Bonardo
a88d50316c Backout efed4eae9cd2 for xpcshell-test failure 2011-10-10 13:46:38 +02:00
Marco Bonardo
0bde558a36 Bug 692496 - Avoid table scan in expiration by restricting on flattened data.
r=dietrich
2011-10-10 12:15:41 +02:00
Marco Bonardo
8b761f2d8d Bug 692493 - Add maintenance for visit_count and last_visit_date.
r=dietrich
2011-10-10 12:15:27 +02:00
Marco Bonardo
8d71bae6bb Bug 690354 - Idle expiration never runs for clean databases.
r=dietrich
2011-10-10 12:15:12 +02:00
Marco Bonardo
0fbbd944d0 Bug 692119 - Don't init the autocomplete database connection till the first search.
r=dietrich
2011-10-07 21:10:46 +02:00
Marco Bonardo
12db427fa1 Bug 691509 - Run ANALYZE at each schema change (and force a schema change).
Partly copied from a patch by Richard Newman.
r=dietrich

--HG--
rename : toolkit/components/places/tests/migration/test_v11_from_v10.js => toolkit/components/places/tests/migration/test_current_from_v10.js
rename : toolkit/components/places/tests/migration/test_v11_from_v10_migrated_from_v11.js => toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v11.js
2011-10-07 21:10:44 +02:00
Marco Bonardo
65708f667a Bug 689142 - Places telemetry gets lost, due to being collected on idle-daily.
r=taras,dietrich
2011-10-07 21:10:42 +02:00
Margaret Leibovic
6c64b90493 Bug 691524 - Remove support for browser.startup.page == 2 and deprecate lastPageVisited. r=mak, sr=gavin 2011-10-03 15:57:19 -07:00
Marco Bonardo
e13883a233 Bug 686025 - nsNavHistory::AsyncExecuteLegacyQueries uses synchronous createStatement instead of createAsyncStatement.
r=asuth, sdwilsh
2011-10-03 23:50:23 +02:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Philipp von Weitershausen
aead88af5d Merge m-c to s-c 2011-09-27 09:47:53 -07:00
Richard Newman
8856721957 Bug 688279 - Clean up test_favicons.js. r=mak 2011-09-23 10:06:06 -07:00
Ehsan Akhgari
b542efd4e6 Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Rafael Ávila de Espíndola
c7e7073052 Bug 687696 - Use nsRefPtr instead nsCOMPtr. r=mak.
--HG--
extra : rebase_source : 7d8238fc2202e86c23a3426bb076a11dcb11b7a8
2011-09-23 21:29:48 -04:00
Paul Biggar
d8fd60d75c Change in-tree users of Array.prototype.splice to not rely on non-standard behavior of deleting all elements from |k| onward for |arr.splice(k)|. r=jwalden
--HG--
extra : rebase_source : b2f041ab27c500636598fe6213481c1a5f0989e8
2011-09-22 15:43:11 -07:00
Marco Bonardo
bdd6622a4d Bug 687376 - continue_test in test_browserhistory.js might never execute.
r=dietrich
2011-09-22 10:45:02 +02:00
Rafael Ávila de Espíndola
e82895a375 Bug 687696 - Generate places shutdown events in the cpp tests. r=mak.
This uses the NS_XPCOM_WILL_SHUTDOWN_OBSERVER_ID notification to produce
the places shutdown messages, emulating what happens in the browser.

--HG--
extra : rebase_source : ddd5bf7973458df14c31f72567b147996b0fac00
2011-09-21 14:14:40 -04:00
Rafael Ávila de Espíndola
935ed2bcfd Bug 673017 - Misc places fixes. r=mak77.
This patch removes places-connection-closing, which is unused, reverts
1d1143dde4bb which was unnecessary and finalizes sql statements.

--HG--
extra : rebase_source : 8923378f4b1c58da8e128009efdf309f8ec29da3
2011-09-21 13:02:40 -04:00
Neil Rashbrook
c59400d1b6 Bug 660532 Remove useless uses of PromiseFlatCString r=sdwilsh 2011-09-15 09:36:07 +01:00
Geoff Brown
1cafda1972 Bug 684965 - update xpcshell manifests for Android; r=jmaher 2011-09-06 22:29:00 -07:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Marco Bonardo
3787713c22 Backout 04545026b4ae (Bug 658305) due to increase in reftests shutdown crashes on Linux. 2011-09-01 14:33:15 +02:00
Marco Bonardo
60bab9bb47 Bug 658305 - Use journal_size_limit on places.sqlite.
r=dietrich
2011-09-01 12:01:59 +02:00
Marco Bonardo
52e0739e0d Bug 682676 - Urlbar performance regression with SQLite 3.7.7.1.
r=sdwilsh
2011-09-01 12:01:58 +02:00
Brian R. Bondy
7c854d8e84 Bug 676906 - xpcshell test for async getFaviconDataForPage in mozIAsyncFavicons. r=mak 2011-08-31 10:28:20 -04:00
Brian R. Bondy
5cff178d86 Bug 676906 - Added async getFaviconDataForPage in mozIAsyncFavicons. r=mak 2011-08-31 10:28:17 -04:00
Brian R. Bondy
4c496dc693 Bug 676906 - XPIDL for async getFaviconDataForPage in mozIAsyncFavicons. r=gavin 2011-08-31 10:28:13 -04:00
Marco Bonardo
22ac610317 Bug 681420 - Improve responsiveness of history deletion.
r=dietrich sr=rstrong
2011-08-31 13:46:22 +02:00
Michael Wu
990540dee3 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Marco Bonardo
e642011f52 Bug 487809 - Stop using visit_count to invalidate frecencies.
r=dietrich
2011-08-30 16:24:01 +02:00
Marco Bonardo
a6322ce51a Bug 674210 - Reduce places.sqlite cache size and reorganize history expiration around the new value.
r=dietrich
2011-08-30 16:23:59 +02:00
Richard Newman
5f66e704b4 Bug 615413 - Part 1: Clear out old weave/ and sync/ annotations. r=mak 2011-08-29 12:52:49 -07:00
Richard Newman
be26af875e Bug 615413 - Part 0: trailing whitespace. r=mak 2011-08-29 12:52:47 -07:00
Allison Naaktgeboren
1a50ccf7af Merge services-central into mozilla-central. 2011-08-23 14:38:16 -07:00
Marco Bonardo
fd2c793a9a Bug 680550 - Handle removeAllPages more sanely in tests.
r=dietrich
2011-08-23 14:34:15 +02:00
Richard Newman
98eb1efb6b Merge mozilla-central to services-central. 2011-08-22 08:03:23 -07:00
Marco Bonardo
e65078c405 Bug 675416 - Fetching bookmarks information during onBeforeItemRemove may break the bookmarks cache.
r=dietrich
2011-08-22 15:05:16 +02:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Philipp von Weitershausen
ccebf45cce Bug 676110 - Part 3b: Remove double enqueuing from PlacesEvent. r=mak
--HG--
extra : rebase_source : cfd6970c8de81b2cdd81329084ca79516d02104e
2011-08-19 10:12:11 -07:00
Philipp von Weitershausen
a9cd5533c3 Bug 676110 - Part 3: Replace 'places-updateplaces-complete' observer notification with mozIVisitInfoCallback::handleCompletion. r=mak
--HG--
extra : rebase_source : 36f5f1dc8fe6abd7a8dcd0059fce6bbacdeee184
2011-08-19 10:11:41 -07:00
Philipp von Weitershausen
996add8565 Bug 676110 - Part 2: Tests for mozIVisitInfoCallback::handleCompletion. r=mak
--HG--
extra : rebase_source : d8ca2890775656618ada8417610c5e026cd7aa63
2011-08-19 10:11:37 -07:00
Philipp von Weitershausen
3cf892bb40 Bug 676110 - Part 1: IDL changes for mozIVisitInfoCallback::handleCompletion. r=mak sr=rstrong
--HG--
extra : rebase_source : c18547a0bfcf74f7742683133b5a826c3ce9a63c
2011-08-19 10:11:20 -07:00
Philipp von Weitershausen
ef6f3a6327 Bug 676110 - Part 0: Rename NotifyCompletion to NotifyVisitInfoCallback. r=mak
--HG--
extra : rebase_source : c19e8968ae8afdea107125fcdd56499e02e2888e
2011-08-19 10:08:49 -07:00