Commit Graph

1768 Commits

Author SHA1 Message Date
Marco Bonardo
1a19fd0dcf Bug 723924 - Telemetry for time needed for a single frecency update.
r=dietrich
2012-02-07 16:01:07 +01:00
Marco Bonardo
f5a28d965d Bug 723925 - Telemetry for number and size of annotations.
r=dietrich
2012-02-07 16:00:55 +01:00
Marco Bonardo
11c29eb513 Bug 723044 - Don't trigger moz_hosts frecency update when updating frecency on idle.
r=dietrich
2012-02-07 15:59:09 +01:00
Marco Bonardo
c07dad5376 Bug 724805 - Bug 723126 broke PlacesDBUtils add-ons compatibility.
r=dietrich
2012-02-07 15:59:07 +01:00
Marco Bonardo
b7c136e7dc Bug 722254 - Add an XPCOMUtils method to generate a singleton factory.
Use the new factory in Places js services, to ensure they can't be instanced multiple times.
r=bsmedberg
2012-02-07 10:17:42 +01:00
Panagiotis Koutsourakis
583eb38038 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Marco Bonardo
39552c2602 Bug 723126 - Telemetry for time needed for idle maintenance.
r=dietrich
2012-02-04 15:12:46 +01:00
Marco Bonardo
a38fe49873 Bug 723124 - Telemetry for time needed for idle frecency update.
r=dietrich
2012-02-04 15:12:42 +01:00
Paolo Amadini
203662be90 Bug 722242 - Avoid thread contention on idle maintenance. r=mak 2012-02-02 11:33:33 +01:00
Rafael Ávila de Espíndola
48768f790a Bug 721812 - WaitForConnectionClosed can create a TOPIC_PLACES_CONNECTION_CLOSED spinner too late. r=mak. 2012-02-01 17:29:30 +01:00
Rafael Ávila de Espíndola
338fdb03f0 Bug 718449 - History may dispatch events that use the database after asyncClose. r=mak. 2012-02-01 11:59:27 +01:00
Marco Bonardo
d2fced45f5 Bug 720792 (part 1) - Backout autocomplete delay changes, for compatibility problems.
r=gavin
2012-01-31 11:29:20 +01:00
Rafael Ávila de Espíndola
d06be30381 Bug 719438 - PDBU_maintenanceOnIdle can try use the places database after it is closed. r=mak. 2012-01-26 16:19:14 -05:00
Nicholas Nethercote
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Marco Bonardo
39295dfd6d Bug 720501 - urlInlineComplete should not attempt to case-preserve results, since that interferes with the controller's case-preservation.
r=gavin
2012-01-26 00:54:25 +01:00
Marco Bonardo
89a93bdd7f Backout 691af0af89da (bug 720501) for test failures 2012-01-26 02:21:44 +01:00
Marco Bonardo
0a17a5664f Bug 720501 - urlInlineComplete should not attempt to case-preserve results, since that interferes with the controller's case-preservation.
r=gavin
2012-01-26 00:54:25 +01:00
Ms2ger
2d51bac031 Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
9d656c56e1 Bug 720124 - Remove dead code from HTMLContentSink: AddComment; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
70306e5407 Bug 720124 - Remove dead code from HTMLContentSink: AddProcessingInstruction; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
05ed36cc33 Bug 720124 - Remove dead code from HTMLContentSink: IsFormOnStack; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
4a0736a867 Bug 720124 - Remove dead code from HTMLContentSink: AddDocTypeDecl; r=hsivonen 2012-01-25 08:50:02 +01:00
Mark Banner
caf3d730aa Unit test bustage fix from bug 672681 for apps without private browser and that don't have places enabled by default. r=unit-test only bustage fix 2012-01-21 11:00:18 +00:00
Marco Bonardo
f595b05ddb Bug 712767: Send profile shutdown topics to cpp tests requesting a profile.
r=waldo
2012-01-20 14:47:51 +01:00
Paolo Amadini
58fe84dd0e Bug 672681 - Make nsIDownloadHistory::addDownload asynchronous. r=mak 2012-01-20 13:48:20 +01:00
Henri Sivonen
556cef528f Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Michael Ventnor
e25a415af3 Bug 566489 - Enable inline autocomplete again, but make it smarter.
Original patch by Michael Ventnor, further improved by David Dahl <ddahl@mozilla.com>.
r=mak
2012-01-19 12:31:24 +01:00
Michael Ventnor
6835b10ae1 Bug 699751 - Change schema for new inline autocomplete.
Original patch by Michael Ventnor, further improved by David Dahl <ddahl@mozilla.com>.
r=mak
2012-01-19 12:31:23 +01:00
Jeff Muizelaar
a47ca866d2 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Marco Bonardo
9969ce1036 Bug 720066 follow-up, fix a typo that causes test failures (luckily). 2012-01-24 21:46:18 +01:00
Marco Bonardo
7b72119a76 Bug 720110 - URL autocomplete breaks keyword bookmarks.
r=gavin
2012-01-24 20:37:46 +01:00
Marco Bonardo
29b88e83c4 Bug 720066 - Tagging broken, cannot type in the tag field.
r=gavin
2012-01-24 20:37:44 +01:00
Rafael Ávila de Espíndola
c9eddda0a4 Bug 720554 - Use fatal assertion and check thread in History::Shutdown. r=mak.
--HG--
extra : rebase_source : 36b610364f9e9150fcfbf6cfe26834a1b87f81f1
2012-01-24 09:16:33 -05:00
Matt Brubeck
b79b1e58d3 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
315982723f Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Marco Bonardo
03f4d2dc35 Bug 711914 - Fetching bookmarks information during onBeforeItemRemove may break the bookmarks cache.
r=dietrich
2012-01-12 17:04:09 +01:00
Felix Fung
7665ff48bd Bug 713269 - Use Asynchronous Favicons API for PlacesUtils.jsm. r=mak 2012-01-11 00:04:01 -05:00
Matthew Noorenberghe
b707813fff Bug 273874 - Firefox migrator for new profiles r=mak
--HG--
rename : browser/components/migration/src/ChromeProfileMigrator.js => browser/components/migration/src/FirefoxProfileMigrator.js
extra : rebase_source : d5dfea053ede5abb3a535296085bdfe93ece8511
2011-11-29 02:30:40 -08:00
Nathan Froyd
1de4e6fcb8 Bug 712427 - provide more information in SQL PRAGMA queries; r=mak 2012-01-05 18:46:35 -05:00
Marco Bonardo
580de77ab7 Bug 715268 - Downgrades may cause missing favicons GUIDs.
r=dietrich

--HG--
rename : toolkit/components/places/tests/migration/places_v10_from_v11.sqlite => toolkit/components/places/tests/migration/places_v10_from_v14.sqlite
rename : toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v11.js => toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v14.js
2012-01-05 11:43:29 +01:00
Nicholas Nethercote
2fa63e0548 Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Jeff Walden
b2d881279f Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Serge Gautherie
7d233af147 Bug 508760 - Remove VC6 workaround. r=mano 2011-12-18 20:19:34 +01:00
Vladan Djeric
30b8c916cb Bug 704855. Reduce fsyncs in Places & create/update root bookmarks in Database.cpp. r=mak 2011-12-13 12:52:06 -05:00
Nathan Froyd
9983e99f99 Bug 709205 - use GetObserverService in places; r=mak 2011-12-09 14:35:59 -05:00
Tim Abraldes
c6f80b9f26 bug 704558 - Toolkit changes to work with the newly modified imgTools functions. r=rs 2011-12-16 19:43:10 -05:00
Felix Fung
c005cf68d7 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconDataFromDataURL Tests. r=mak 2011-12-15 16:56:21 -08:00
Felix Fung
8e52a2eaf8 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconData Tests. r=mak 2011-12-15 16:56:10 -08:00
Felix Fung
6f52074650 Bug 699843 - Interfaces Changes, replaceFaviconData(FromDataURL)?. r=mak, sr=gavin 2011-12-15 16:56:01 -08:00
Felix Fung
33177306ac Bug 699843 - Asynchronous Favicons API - ReplaceFaviconDataFromDataURL. r=mak 2011-12-15 16:55:53 -08:00
Felix Fung
31e7de28a7 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconData. r=mak 2011-12-15 16:55:22 -08:00
Rafael Ávila de Espíndola
9643c51922 Bug 710723. Finalize statement. r=mak. 2011-12-15 08:42:48 -05:00
Rafael Ávila de Espíndola
52578eb206 Bug 710708 - Finalize statement. r=mak. 2011-12-15 08:37:05 -05:00
Marco Bonardo
e8d8fd54ea Bug 708693 - Intermittent TEST-UNEXPECTED-FAIL | xpcshell/tests/toolkit/components/places/tests/bookmarks/test_keywords.js.
r=dietrich a=tests-only
2011-12-12 15:24:18 +01:00
Nicholas Nethercote
5ec7ee41ae Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Marco Bonardo
72b1808a9e Bug 707945 followup - Fix random failure in test_421180.js by making it properly wait for asynchronous database operations. 2011-12-08 00:28:30 +01:00
Marco Bonardo
e6acfd675f Bug 707955 - Tags should avoid results overhead.
r=dietrich
2011-12-07 21:56:30 +01:00
Marco Bonardo
faecbfc0c2 Bug 707954 - Index exclusion for tags.
r=dietrich
2011-12-07 21:56:28 +01:00
Marco Bonardo
bdcf6b49e6 Bug 707946 - Improve performances of hasChildren for tag queries.
r=dietrich sr=gavin
2011-12-07 21:56:26 +01:00
Marco Bonardo
2a5ab1a723 Bug 707945 - Remove the keywords trigger since it's a useless perf hog.
r=dietrich
2011-12-07 21:56:23 +01:00
Marco Bonardo
6c3c0f645d Bug 707953 - ProcessFolderNodeRow should reuse known data.
r=dietrich
2011-12-07 21:56:21 +01:00
Marco Bonardo
b653c663b4 Bug 707952 - Increase bookmarks cache usefulness.
r=dietrich
2011-12-07 21:56:20 +01:00
Marco Bonardo
16ef8fcdb7 Bug 707949 - Don't recalculate frecency for tags.
r=dietrich
2011-12-07 21:56:18 +01:00
Marco Bonardo
2cafde5c2c Bug 707948 - Avoid some useless work when importing tags.
r=dietrich
2011-12-07 21:56:16 +01:00
Marco Bonardo
488fa9801b Bug 707947 - Perf improvements for readOnly checks.
r=dietrich
2011-12-07 21:56:15 +01:00
Marco Bonardo
838c3bb64b Bug 619623 - Ensure proper tests ordering in test_IHistory.cpp.
r=dietrich
2011-12-03 01:19:58 +01:00
Marco Bonardo
6cb47e39c2 Merge last green changeset from mozilla-inbound to mozilla-central 2011-12-02 12:11:31 +01:00
Mark Banner
e647630932 Unit test bustage fix from bug 702810 for apps that implement imap uris - don't test the imap uri for visited status because nsIIOService.newURI() can throw if the app knows about imap:// but an account is not set up for it. r=mak over irc 2011-12-01 11:29:34 +00:00
Richard Newman
f8d1f2b5f7 Bug 675996 - Part 2: tests for GUIDs in favicons. r=mak 2011-12-01 13:58:27 -08:00
Richard Newman
b8ca5aab73 Bug 675996 - Part 1: extend moz_favicons with GUID to support Sync. r=mak 2011-12-01 13:58:19 -08:00
Marco Bonardo
cd8ffb7f72 Bug 702810 - mozIAsyncHistory should expose an async isURIVisited method.
r=dietrich sr=gavin
2011-11-30 00:48:47 +01:00
Marco Bonardo
060dad33fd Bug 705509 - Crash in mozilla::places::Database::GetAsyncStatement.
r=dietrich
2011-11-29 14:13:09 +01:00
Marco Bonardo
1686da13cb Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Marco Bonardo
acc6d2873c Bug 700296 (Interfaces) - Remove dynamic containers implementation from Places.
r=dietrich sr=gavin
2011-11-29 02:22:49 +01:00
Marco Bonardo
0c86eba26d Bug 630549 - Intermittent browser_tabMatchesInAwesomebar.js | Registered open page found in autocomplete.
r=dietrich
2011-11-29 02:22:45 +01:00
Nicholas Nethercote
f1e77095c2 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Marco Bonardo
63e5327cd6 Bug 702761 - AsyncGetFaviconURLForPage should not warn on missing icons.
r=dietrich
2011-11-24 17:08:41 +01:00
Marco Bonardo
c7ff9a6010 Bug 703592 - Useless warning in FetchItemInfo.
r=dietrich
2011-11-24 17:08:39 +01:00
Paolo Amadini
02f0fee445 Bug 679314 - Cleanup test_download_history.js. r=mak 2011-11-19 14:34:28 +01:00
Doug Turner
61c0254a61 Bug 702037 - Merge Android History into mozilla-central. r=marco 2011-11-18 14:42:52 -08:00
Marco Bonardo
bfa04e2cff Bug 702765 - Remove unused method nsNavBookmarks::IsRealBookmark().
r=dietrich
2011-11-17 12:12:20 +01:00
Marco Bonardo
0f041f87ce Bug 673017 - Intermittent segfault while running test_IHistory.cpp
r=dietrich
2011-11-11 22:39:24 +01:00
Marco Bonardo
0f9feaf9b3 Bug 692487 - Decrease Storage connections default cache_size.
r=sdwilsh
2011-11-09 15:06:40 +01:00
Marco Bonardo
6bc7aa5fcd Bug 700314 - Remove nsNavHistory nsICharsetResolver implementation.
r=bz
2011-11-08 00:29:40 +01:00
Marco Bonardo
f29411b928 Bug 700417 - Further reduce cache_size in Places.
r=dietrich
2011-11-08 00:29:38 +01:00
Marco Bonardo
7296550682 Bug 658303 - mozIStorageConnection::Clone() should copy over pragmas.
r=sdwilsh
2011-10-03 21:55:03 +02:00
Ed Morley
efc6f1f14e Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Marco Bonardo
706e830277 Bug 619623 - Revert a check in test_IHistory, since, even if less frequent, a timeout is not better than a failure. 2011-11-05 13:48:29 +01:00
Marco Bonardo
ed5a1cd872 Bug 619623 - Try to fix some intermittent failures in test_IHistory.cpp.
r=dietrich
2011-11-05 01:01:38 +01:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Matthew Noorenberghe
7e2a78438e Bug 646993 - Cap the bookmark title length to TITLE_LENGTH_MAX r=mak
--HG--
extra : rebase_source : e54aa1b081a9256b613e183ccd822e9ccc20f84e
2011-10-28 20:37:13 -07:00
Marco Bonardo
050a8643af Bug 658305 - Use journal_size_limit on places.sqlite.
r=dietrich
2011-09-01 12:01:59 +02:00
Mark Banner
da396f0de1 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Felix Fung
58e0806891 Bug 697856 - Removed Unused Function Definitions in nsFaviconService.h; r=mak 2011-10-27 18:12:30 -07:00
Felix Fung
85d9e7bc7f Bug 697670 - Remove FaviconLoadListener References.
r=mak
2011-10-27 00:44:51 -07:00
Marco Bonardo
22620d3a8b Bug 696900 - Avoid any shutdown work in Places when possible.
r=dietrich
2011-10-27 11:11:47 +02:00
Marco Bonardo
872c97693a Bug 692120 - The star button doesn't need to observe bookmarks changes till bookmarks service is alive.
r=dietrich
2011-10-27 11:11:45 +02:00
Marco Bonardo
bf386cf7fd Bug 696159 - Remove some deprecated Places code.
r=dietrich sr=rstrong
2011-10-27 11:11:43 +02:00
Marco Bonardo
501fe2ae58 Bug 695554 - Split a Database class out of the History service. (expected fake Ts_shutdown regressions!)
r=dietrich
2011-10-27 11:11:34 +02:00