Commit Graph

1792 Commits

Author SHA1 Message Date
Marco Bonardo
040c919d8f Bug 720792 - Implement a better solution to start selected searches without a timeout.
r=gavin
2012-03-01 14:37:13 +01:00
Luke Wagner
4a2b90f233 Bug 731132 - Clear out _shutdownFunctions in PlacesUtils to avoid potential leaks (r=mak)
--HG--
extra : rebase_source : 4761c7ad5fb81609faa855e68a0f4d6e40f0124a
2012-02-27 23:49:00 -08:00
OHZEKI Tetsuharu
175e1206f7 Bug 575955 - Replace internal usage of old transactions shim, add a new toolkit test. r=mak
--HG--
rename : browser/components/places/tests/unit/test_placesTxn.js => toolkit/components/places/tests/unit/test_placesTxn.js
rename : browser/components/places/tests/unit/test_txnGUIDs.js => toolkit/components/places/tests/unit/test_txnGUIDs.js
2012-02-28 18:40:38 -05:00
OHZEKI Tetsuharu
5cc903166e Bug 714261 - TransactionManager used as a service r=mak 2012-02-25 07:46:00 -05:00
Mark Capella
88690aa59a Bug 728997 - test_tabmatches.js should not use 'about:robots' which is Firefox specific. r=mak 2012-02-25 20:38:26 -05:00
Geoff Lankow
8b126f6ccb Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - mop up uses that slipped through; r=mak 2012-02-26 11:34:25 +13:00
David Mandelin
381d879c71 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
22d7a18fa5 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
5be5dda12e Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Marco Bonardo
b4f1aa2ddd Bug 702639 - Kill excludeItemsIfParentHasAnnotation query option.
r=dietrich sr=gavin
2012-02-24 23:43:49 +01:00
Marco Bonardo
9aaeffc5ec Bug 613588 (Tests) - Load-on-demand livemarks.
r=dietrich
2012-02-24 13:42:30 +01:00
Marco Bonardo
9927c72144 Bug 613588 (Backend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:24 +01:00
Marco Bonardo
9bc089b365 Bug 613588 (Interfaces) - Load-on-demand livemarks.
r=dietrich,mano sr=gavin
2012-02-24 13:42:21 +01:00
Marco Bonardo
e30fc86633 Bug 728230 - Enforce copying non-primitive properties in Places transactions to avoid runtime leaks.
r=dietrich
2012-02-24 11:28:18 +01:00
Marco Bonardo
96890c5d55 Bug 721319 - PlacesUtils.removeLazyBookmarkObserver() doesn't always remove observers, causes browser window to leak.
r=dietrich
2012-02-24 11:10:38 +01:00
Rafael Ávila de Espíndola
9d23862ffd Bug 728653 - Crash in mozilla::storage::Connection::stepStatement. r=mak. 2012-02-22 09:00:28 -05:00
Marco Bonardo
497fdd8c01 Bug 722176 - Inline autocomplete becomes inactive after deleting an entry in location bar history.
r=dietrich
2012-02-22 12:23:14 +01:00
Marco Bonardo
2d2746d4fa Bug 720258 - Inline autocomplete should only autocomplete URLs you've typed.
r=dietrich
2012-02-17 14:24:58 +01:00
Marco Bonardo
8240b613c1 Bug 706420 - intermittent failure in test_annos_expire_session.js
r=dietrich
2012-02-17 14:24:54 +01:00
Rafael Ávila de Espíndola
2348517ec2 Bug 721603 - We should spin the loop after calling asyncClose in Database.cpp. r=mak.
--HG--
extra : rebase_source : 3defc8d4da90de3f1c4738ec7e56faff6afec521
2012-02-16 07:03:53 -05:00
David Dahl
9816a9e09c Bug 715133 - Automated tests for inline auto complete.
r=mak
2012-02-16 00:15:40 +01:00
Marco Bonardo
3bc710ef3b Bug 706420 - intermittent failure in test_annos_expire_session.js
r=standard8
2012-02-15 14:21:24 +01:00
Geoff Lankow
63ce20111b Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00
Marco Bonardo
44dc382061 Bug 717575 - Places should fallback to default cache size, excluding autocomplete.
r=dietrich
2012-02-13 16:47:21 +01:00
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