Commit Graph

2047 Commits

Author SHA1 Message Date
Asaf Romano
849ca56b11 Bug 730340 - Don't use expando properties for storing data on places nodes. Make sure this test doesn't fail after expandos support is removed from result nodes. 2012-06-02 16:58:52 +03:00
Marco Bonardo
4cc111a3e7 Bug 720081 - Part 2: inline autocomplete should respect protocol and www prefix
r=dietrich
2012-06-01 14:38:39 +02:00
Ed Morley
da18754c01 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Marco Bonardo
4b14d39593 Bug 758201 - Fix usage of PlacesUtils for LMANNO constants.
r=Mano
2012-05-30 16:11:35 +02:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Marco Bonardo
bef0f6ea46 Bug 753205 - Add back separators support to bookmarks HTML import.
r=dietrich

--HG--
rename : browser/components/places/tests/unit/bookmarks.corrupt.html => toolkit/components/places/tests/unit/bookmarks.corrupt.html
rename : browser/components/places/tests/unit/bookmarks.preplaces.html => toolkit/components/places/tests/unit/bookmarks.preplaces.html
rename : browser/components/places/tests/unit/test_384370.js => toolkit/components/places/tests/unit/test_384370.js
rename : browser/components/places/tests/unit/test_398914.js => toolkit/components/places/tests/unit/test_398914.js
rename : browser/components/places/tests/unit/test_bookmarks_html.js => toolkit/components/places/tests/unit/test_bookmarks_html.js
rename : browser/components/places/tests/unit/test_457441-import-export-corrupt-bookmarks-html.js => toolkit/components/places/tests/unit/test_bookmarks_html_corrupt.js
rename : browser/components/places/tests/unit/test_bookmarksRestoreNotification.js => toolkit/components/places/tests/unit/test_bookmarks_restore_notification.js
2012-05-24 17:33:54 +02:00
Daniel Holbert
e3318202f7 Bug 757644: Tweak constructor init-list order in mock_Link.h to fix build warning. r=ehsan 2012-05-22 16:25:23 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Paolo Amadini
6061ed836c Bug 739213 - Kill AddPageWithDetails. r=mak 2012-05-14 20:42:29 +02:00
Benjamin Smedberg
6a69ee691d Bug 737164 part C - switch various in-tree callers which are using fallible strings to keep using them
--HG--
extra : rebase_source : f5b42ba1f5745b256ba4e4ca67c883696904f9c1
2012-05-08 13:55:24 -04:00
Marco Castelluccio
ba6e05d3c1 Bug 615213 - Remove nsIGlobalHistory.
r=bsmedberg
2012-05-09 21:30:41 +02:00
Marco Bonardo
2ef506ac72 Bug 740076 - Disable autoFill when autocomplete is disabled.
r=dietrich
2012-05-05 14:26:42 +02:00
Marco Castelluccio
6e367ec40e Bug 739221 - Remove nsIBrowserHistory::count.
r=mak sr=gavin
2012-05-05 14:26:25 +02:00
Marco Castelluccio
4e28783b31 Bug 751608 - Remove the never implemented nsIBrowserHistory::hidePage method.
r=mak sr=gavin
2012-05-05 14:25:31 +02:00
Asaf Romano
6e16bdb5fa Bug 750269 - Fix places transactions leak with cpg (r=mak,a=not-in-libxul) 2012-05-02 15:06:07 -07:00
Nicholas Nethercote
08dc2dae6b Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Marco Bonardo
34b4cd9b61 Bug 742776 - Use a case sensitive match for the URI path in inline autocomplete query.
r=gavin a=desktop-only
2012-04-19 22:17:04 +02:00
Paolo Amadini
b56559947f Bug 742714 - Remove LMANNO_EXPIRATION, LMANNO_LOADFAILED, and LMANNO_LOADING. r=mak
--HG--
extra : rebase_source : df909400325dc84602964b9d2073cdacb06eeffb
2012-04-12 12:28:12 +02:00
Paolo Amadini
dbac832882 Bug 715355 - Deprecate and remove old style GUIDs. r=mak
--HG--
extra : rebase_source : 0d0a2ac825ed674075e8e85607a496668953c6c1
2012-04-12 12:27:57 +02:00
Paolo Amadini
91dada14b6 Bug 741175 - Document skipping Places tests because the Private Browsing service is unavailable. r=mak
--HG--
extra : rebase_source : 5ccac27d1787a483a41690a0bd042a060ac4ab18
2012-04-12 12:27:45 +02:00
Paolo Amadini
d240aaa722 Bug 728174 - Replace old synchronous favicons calls in the bookmarks HTML import. r=mak
--HG--
extra : rebase_source : ddb3109fa13f41bdfb2f265f7850453905145a07
2012-04-12 12:27:36 +02:00
Paolo Amadini
f59a485dfb Bug 737133 - getFaviconURLForPage and getFaviconDataForPage should invoke nsIFaviconDataCallback even if the favicon is not available. r=mak sr=gavin
--HG--
extra : rebase_source : 70f0139a7b87b4a3f4de785a7c29f3f36e2055a9
2012-04-12 12:27:14 +02:00
Marco Bonardo
1f851876e8 Bug 743490 - Frequent test_redirects.js | test failed.
r=dietrich
2012-04-12 10:37:54 +02:00
Marco Bonardo
13f1c8ba2e Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin

--HG--
rename : toolkit/components/places/tests/queries/test_redirectsMode.js => toolkit/components/places/tests/queries/test_redirects.js
2012-04-07 01:17:53 +02:00
Marco Bonardo
8087b03ca3 Bug 737841 - Part 2: tests
r=dietrich
2012-04-07 01:17:51 +02:00
Marco Bonardo
24c6a92fbf Bug 737841 - Part 1: ensure Places history properly handles redirecting and error visits.
r=dietrich
2012-04-07 01:17:49 +02:00
Marco Bonardo
7268ef19f6 Bug 739751 - Don't inline autocomplete results shorter than the searcString to avoid confusing in-the-middle autocomplete.
r=gavin
2012-04-07 00:40:01 +02:00
Marco Bonardo
62abea8cfe Bug 739763 - Fix slow redirects query that with certain data distributions may cause long hangs on first page load.
r=dietrich
2012-04-02 22:48:28 +02:00
Oonishi Atsushi
429279bcd3 Bug 680727 - Part 1: IHistory::VisitURI should accept a reloaded URI. r=mak 2012-03-28 21:50:59 +02:00
Marco Bonardo
eed7e57495 Bug 737846 - followup: fix typo in test.
--HG--
extra : rebase_source : 14b5abf42bc25cb54eaf490988fb9814abe6dc66
2012-03-27 16:29:42 +02:00
Marco Bonardo
f1bf17ce70 Bug 737846 - Ensure favicons service doesn't add unwanted pages to history.
r=dietrich
2012-03-27 15:28:14 +02:00
Henri Sivonen
511f3c52e5 Bug 482911 - Reimplement Netscape bookmark import using the HTML5 parser. r=mak, sr=gavin.
--HG--
rename : toolkit/components/places/nsPlacesImportExportService.cpp => toolkit/components/places/nsPlacesExportService.cpp
rename : toolkit/components/places/nsPlacesImportExportService.h => toolkit/components/places/nsPlacesExportService.h
2012-03-23 09:15:36 +02:00
Henri Sivonen
b83f701d54 Back out changeset d2693e86769d (bug 482911) due to crashes on Mac xpcshell tests. r=orange. 2012-03-23 11:25:08 +02:00
Henri Sivonen
7168af5fc7 Bug 482911 - Reimplement Netscape bookmark import using the HTML5 parser. r=mak, sr=gavin.
--HG--
rename : toolkit/components/places/nsPlacesImportExportService.cpp => toolkit/components/places/nsPlacesExportService.cpp
rename : toolkit/components/places/nsPlacesImportExportService.h => toolkit/components/places/nsPlacesExportService.h
2012-03-23 09:15:36 +02:00
Makoto Kato
c425353972 Bug 738209 - Cleanup a usages of NS_Convert*to*() in places. r=mak 2012-03-23 13:18:59 +09:00
Mark Banner
421fae69f0 Unit test bustage fix for apps that don't have private browsing following bug 728143. Fix incorrect brackets in if statement and a bad function name in the tests. r=bustage fix,test-only fix 2012-03-22 19:51:27 +00:00
Asaf Romano
88eb298398 Bug 718608 - Migration code shrink and cleanup: unified code for notifications and error handling, prepare for deCOM. r=mak. sr=gavin on the interface change. browser/components/build part was done by mak (r=bsmedberg. 2012-03-21 21:20:47 +02:00
Paolo Amadini
7bae6e95e6 Bug 728143 - Replace old synchronous favicons calls in Places tests. r=mak
--HG--
rename : toolkit/components/places/tests/unit/expected-favicon-big16.ico.png => toolkit/components/places/tests/favicons/expected-favicon-big16.ico.png
rename : toolkit/components/places/tests/unit/expected-favicon-big32.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-big32.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-big4.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-big4.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-big48.ico.png => toolkit/components/places/tests/favicons/expected-favicon-big48.ico.png
rename : toolkit/components/places/tests/unit/expected-favicon-big64.png.png => toolkit/components/places/tests/favicons/expected-favicon-big64.png.png
rename : toolkit/components/places/tests/unit/expected-favicon-scale160x3.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-scale160x3.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-scale3x160.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-scale3x160.jpg.png
rename : toolkit/components/places/tests/unit/favicon-big16.ico => toolkit/components/places/tests/favicons/favicon-big16.ico
rename : toolkit/components/places/tests/unit/favicon-big32.jpg => toolkit/components/places/tests/favicons/favicon-big32.jpg
rename : toolkit/components/places/tests/unit/favicon-big4.jpg => toolkit/components/places/tests/favicons/favicon-big4.jpg
rename : toolkit/components/places/tests/unit/favicon-big48.ico => toolkit/components/places/tests/favicons/favicon-big48.ico
rename : toolkit/components/places/tests/unit/favicon-big64.png => toolkit/components/places/tests/favicons/favicon-big64.png
rename : toolkit/components/places/tests/unit/favicon-normal16.png => toolkit/components/places/tests/favicons/favicon-normal16.png
rename : toolkit/components/places/tests/unit/favicon-normal32.png => toolkit/components/places/tests/favicons/favicon-normal32.png
rename : toolkit/components/places/tests/unit/favicon-scale160x3.jpg => toolkit/components/places/tests/favicons/favicon-scale160x3.jpg
rename : toolkit/components/places/tests/unit/favicon-scale3x160.jpg => toolkit/components/places/tests/favicons/favicon-scale3x160.jpg
rename : toolkit/components/places/tests/unit/head_bookmarks.js => toolkit/components/places/tests/favicons/head_favicons.js
rename : toolkit/components/places/tests/unit/test_favicons.js => toolkit/components/places/tests/favicons/test_favicons.js
rename : toolkit/components/places/tests/unit/test_moz-anno_favicon_mime_type.js => toolkit/components/places/tests/favicons/test_moz-anno_favicon_mime_type.js
rename : toolkit/components/places/tests/unit/test_doReplaceFaviconData.js => toolkit/components/places/tests/favicons/test_replaceFaviconData.js
rename : toolkit/components/places/tests/unit/test_doReplaceFaviconDataFromDataURL.js => toolkit/components/places/tests/favicons/test_replaceFaviconDataFromDataURL.js
2012-03-19 20:24:21 +01:00
Daniel Holbert
b46a95da8e Bug 736541: Remove unused variable 'parentId' from nsNavHistory.cpp to fix build warning. r=mak 2012-03-16 15:45:46 -07:00
OHZEKI Tetsuharu
4bffe22d45 Bug 730668 - Clean up test_placesTXN.js r=mak 2012-03-16 15:16:12 -07:00
Marco Bonardo
bb48eb96ed Bug 735625 - Get rid of ImportHTMLFromFileToFolder.
r=dietrich sr=gavin
2012-03-16 00:12:49 +01:00
Marco Bonardo
8d23646968 Bug 732755 - Intermittent test_mozIAsyncLivemarks.js | false == true.
r=dietrich
2012-03-12 21:50:26 +01:00
Marco Bonardo
c32289e3d8 Bug 734351 - Fix a query syntax error that disallows populating the hosts table.
r=dietrich
2012-03-09 18:05:11 +01:00
Marco Bonardo
6ad719a772 Bug 734044 - Let livemarks skip the cache and avoid polluting tests after test_reloadLivemarks.xul
r=dietrich
2012-03-09 11:14:40 +01:00
Marco Bonardo
203535118e Bug 734044 - Temporarily disable test_reloadLivemarks.xul on Linux until the random timeout is figured out. 2012-03-08 15:14:04 +01:00
Marco Bonardo
585d150603 Bug 731274 - Make reloadLivemarks optionally force reloads and use it to speed up livemarks population.
r=dietrich sr=gavin
2012-03-08 11:14:59 +01:00
David Mandelin
68c407c176 Bug 733260 followup: use uint32_t for array and string lengths, r=luke
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
David Mandelin
5e02d0630c Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Nicholas Nethercote
d8a85cb65a Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Ryan VanderMeulen
7d622d5057 Bug 648690 - Update libpng to version 1.5.9 (Mozilla changes). r=joedrew, f=dolske 2012-03-03 22:18:31 -05:00
Marco Bonardo
37cb2b14e7 Bug 731968 - AddLivemark callback should wait for all the writes.
r=dietrich
2012-03-02 18:05:33 +01:00
Marco Bonardo
8d80250eb2 Bug 732186 - fix "this._resultObserversList is undefined" error from nsLivemarkService.js
r=dietrich
2012-03-02 18:05:29 +01:00
Rafael Ávila de Espíndola
ccd9b28b5b Bug 721603 - We should spin the loop after calling asyncClose in Database.cpp. r=mak. 2012-03-01 12:03:33 -05:00
Marco Bonardo
52e694862b 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
812f3f6602 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
6ad86ebbbb 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
aaa9a051b6 Bug 714261 - TransactionManager used as a service r=mak 2012-02-25 07:46:00 -05:00
Mark Capella
63f98ee386 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
019341a51d Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - mop up uses that slipped through; r=mak 2012-02-26 11:34:25 +13:00
David Mandelin
59dcf8cdf7 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
ad7cda83f5 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Marco Bonardo
efe05da08b Bug 702639 - Kill excludeItemsIfParentHasAnnotation query option.
r=dietrich sr=gavin
2012-02-24 23:43:49 +01:00
Marco Bonardo
76ac38c278 Bug 613588 (Tests) - Load-on-demand livemarks.
r=dietrich
2012-02-24 13:42:30 +01:00
Marco Bonardo
985d738ddd Bug 613588 (Backend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:24 +01:00
Marco Bonardo
5dd1d7a1a0 Bug 613588 (Interfaces) - Load-on-demand livemarks.
r=dietrich,mano sr=gavin
2012-02-24 13:42:21 +01:00
Marco Bonardo
e1a9d05d71 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
8c0491935f 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
337801313e Bug 728653 - Crash in mozilla::storage::Connection::stepStatement. r=mak. 2012-02-22 09:00:28 -05:00
Marco Bonardo
96593ffaa9 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
36feb47a78 Bug 720258 - Inline autocomplete should only autocomplete URLs you've typed.
r=dietrich
2012-02-17 14:24:58 +01:00
Marco Bonardo
b60bc7d88e 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
a455cab4a0 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
e49437697c Bug 715133 - Automated tests for inline auto complete.
r=mak
2012-02-16 00:15:40 +01:00
Marco Bonardo
71f5f33c50 Bug 706420 - intermittent failure in test_annos_expire_session.js
r=standard8
2012-02-15 14:21:24 +01:00
Geoff Lankow
b0321a6413 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
1906aa8860 Bug 717575 - Places should fallback to default cache size, excluding autocomplete.
r=dietrich
2012-02-13 16:47:21 +01:00
Marco Bonardo
a1a8faaa6e Bug 723924 - Telemetry for time needed for a single frecency update.
r=dietrich
2012-02-07 16:01:07 +01:00
Marco Bonardo
2fc2a4e45e Bug 723925 - Telemetry for number and size of annotations.
r=dietrich
2012-02-07 16:00:55 +01:00
Marco Bonardo
0b52278b1a 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
ccfb935009 Bug 724805 - Bug 723126 broke PlacesDBUtils add-ons compatibility.
r=dietrich
2012-02-07 15:59:07 +01:00
Marco Bonardo
3cb51695d8 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
791aa57b19 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
375ecc8a79 Bug 723126 - Telemetry for time needed for idle maintenance.
r=dietrich
2012-02-04 15:12:46 +01:00
Marco Bonardo
03cb8e0aaa Bug 723124 - Telemetry for time needed for idle frecency update.
r=dietrich
2012-02-04 15:12:42 +01:00
Paolo Amadini
5e5c776bac Bug 722242 - Avoid thread contention on idle maintenance. r=mak 2012-02-02 11:33:33 +01:00
Rafael Ávila de Espíndola
a2170ade48 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
895213ba26 Bug 718449 - History may dispatch events that use the database after asyncClose. r=mak. 2012-02-01 11:59:27 +01:00
Marco Bonardo
5b2d5a2b7d 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
85ad96e6a6 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
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Marco Bonardo
1a22a517b7 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
1a530069be Backout 691af0af89da (bug 720501) for test failures 2012-01-26 02:21:44 +01:00
Marco Bonardo
26d4f75f0c 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
924b63075d Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
6306abaa95 Bug 720124 - Remove dead code from HTMLContentSink: AddComment; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
a4b59bc806 Bug 720124 - Remove dead code from HTMLContentSink: AddProcessingInstruction; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
3d62d2cdcf Bug 720124 - Remove dead code from HTMLContentSink: IsFormOnStack; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
4d51def3be Bug 720124 - Remove dead code from HTMLContentSink: AddDocTypeDecl; r=hsivonen 2012-01-25 08:50:02 +01:00
Mark Banner
f0fe233d78 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
2f70acaa24 Bug 712767: Send profile shutdown topics to cpp tests requesting a profile.
r=waldo
2012-01-20 14:47:51 +01:00
Paolo Amadini
081de2dd69 Bug 672681 - Make nsIDownloadHistory::addDownload asynchronous. r=mak 2012-01-20 13:48:20 +01:00
Henri Sivonen
9b60bd476a Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Michael Ventnor
234b860fd2 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
def1df697f 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
9c9e2eed37 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
56876b63d6 Bug 720066 follow-up, fix a typo that causes test failures (luckily). 2012-01-24 21:46:18 +01:00
Marco Bonardo
e03154f4eb Bug 720110 - URL autocomplete breaks keyword bookmarks.
r=gavin
2012-01-24 20:37:46 +01:00
Marco Bonardo
7a6b4b1ad3 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
56aeb29e3f 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
2e1e2ae3c5 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157 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
8a1239036c Bug 711914 - Fetching bookmarks information during onBeforeItemRemove may break the bookmarks cache.
r=dietrich
2012-01-12 17:04:09 +01:00
Felix Fung
5b13f55cfb Bug 713269 - Use Asynchronous Favicons API for PlacesUtils.jsm. r=mak 2012-01-11 00:04:01 -05:00
Matthew Noorenberghe
e3d293ca55 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
4d931d2fc9 Bug 712427 - provide more information in SQL PRAGMA queries; r=mak 2012-01-05 18:46:35 -05:00
Marco Bonardo
fbd697da62 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
8f335f567c 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
98dd456fc1 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
fb95077f34 Bug 508760 - Remove VC6 workaround. r=mano 2011-12-18 20:19:34 +01:00
Vladan Djeric
b6e262ad86 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
01e2e035f7 Bug 709205 - use GetObserverService in places; r=mak 2011-12-09 14:35:59 -05:00
Tim Abraldes
a3ca3815f1 bug 704558 - Toolkit changes to work with the newly modified imgTools functions. r=rs 2011-12-16 19:43:10 -05:00
Felix Fung
fbf46b78d9 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconDataFromDataURL Tests. r=mak 2011-12-15 16:56:21 -08:00
Felix Fung
9b2d40fe61 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconData Tests. r=mak 2011-12-15 16:56:10 -08:00
Felix Fung
917e12b346 Bug 699843 - Interfaces Changes, replaceFaviconData(FromDataURL)?. r=mak, sr=gavin 2011-12-15 16:56:01 -08:00
Felix Fung
01cbe9f60b Bug 699843 - Asynchronous Favicons API - ReplaceFaviconDataFromDataURL. r=mak 2011-12-15 16:55:53 -08:00
Felix Fung
2e668c5ab4 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconData. r=mak 2011-12-15 16:55:22 -08:00
Rafael Ávila de Espíndola
5358446971 Bug 710723. Finalize statement. r=mak. 2011-12-15 08:42:48 -05:00
Rafael Ávila de Espíndola
258648390f Bug 710708 - Finalize statement. r=mak. 2011-12-15 08:37:05 -05:00
Marco Bonardo
b3280023c3 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
688c469bc9 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Marco Bonardo
fbae993d8b 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
151e74c2c9 Bug 707955 - Tags should avoid results overhead.
r=dietrich
2011-12-07 21:56:30 +01:00
Marco Bonardo
01846cfa16 Bug 707954 - Index exclusion for tags.
r=dietrich
2011-12-07 21:56:28 +01:00
Marco Bonardo
317ab7ec7d Bug 707946 - Improve performances of hasChildren for tag queries.
r=dietrich sr=gavin
2011-12-07 21:56:26 +01:00
Marco Bonardo
d1886db5d3 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
73f2dbce9d Bug 707953 - ProcessFolderNodeRow should reuse known data.
r=dietrich
2011-12-07 21:56:21 +01:00
Marco Bonardo
31804d7c68 Bug 707952 - Increase bookmarks cache usefulness.
r=dietrich
2011-12-07 21:56:20 +01:00
Marco Bonardo
86e79b64e2 Bug 707949 - Don't recalculate frecency for tags.
r=dietrich
2011-12-07 21:56:18 +01:00
Marco Bonardo
c069713757 Bug 707948 - Avoid some useless work when importing tags.
r=dietrich
2011-12-07 21:56:16 +01:00
Marco Bonardo
9652e043f8 Bug 707947 - Perf improvements for readOnly checks.
r=dietrich
2011-12-07 21:56:15 +01:00
Marco Bonardo
16b5de3dad Bug 619623 - Ensure proper tests ordering in test_IHistory.cpp.
r=dietrich
2011-12-03 01:19:58 +01:00
Marco Bonardo
f379322c6e Merge last green changeset from mozilla-inbound to mozilla-central 2011-12-02 12:11:31 +01:00
Mark Banner
58125a00f4 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
672a460e8a Bug 675996 - Part 2: tests for GUIDs in favicons. r=mak 2011-12-01 13:58:27 -08:00
Richard Newman
b1d92bbf1a Bug 675996 - Part 1: extend moz_favicons with GUID to support Sync. r=mak 2011-12-01 13:58:19 -08:00
Marco Bonardo
011df7e5b6 Bug 702810 - mozIAsyncHistory should expose an async isURIVisited method.
r=dietrich sr=gavin
2011-11-30 00:48:47 +01:00
Marco Bonardo
0aa4a85c3a Bug 705509 - Crash in mozilla::places::Database::GetAsyncStatement.
r=dietrich
2011-11-29 14:13:09 +01:00
Marco Bonardo
26f5648ef9 Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Marco Bonardo
8b16f1b1d4 Bug 700296 (Interfaces) - Remove dynamic containers implementation from Places.
r=dietrich sr=gavin
2011-11-29 02:22:49 +01:00
Marco Bonardo
e187760b66 Bug 630549 - Intermittent browser_tabMatchesInAwesomebar.js | Registered open page found in autocomplete.
r=dietrich
2011-11-29 02:22:45 +01:00
Nicholas Nethercote
f102556f32 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
3c9e0f567d Bug 702761 - AsyncGetFaviconURLForPage should not warn on missing icons.
r=dietrich
2011-11-24 17:08:41 +01:00
Marco Bonardo
374c8bedd0 Bug 703592 - Useless warning in FetchItemInfo.
r=dietrich
2011-11-24 17:08:39 +01:00
Paolo Amadini
7dccb2fc59 Bug 679314 - Cleanup test_download_history.js. r=mak 2011-11-19 14:34:28 +01:00
Doug Turner
9a38269ada Bug 702037 - Merge Android History into mozilla-central. r=marco 2011-11-18 14:42:52 -08:00
Marco Bonardo
f5aa1bdd81 Bug 702765 - Remove unused method nsNavBookmarks::IsRealBookmark().
r=dietrich
2011-11-17 12:12:20 +01:00
Marco Bonardo
d399502172 Bug 673017 - Intermittent segfault while running test_IHistory.cpp
r=dietrich
2011-11-11 22:39:24 +01:00
Marco Bonardo
cd07a799ad Bug 692487 - Decrease Storage connections default cache_size.
r=sdwilsh
2011-11-09 15:06:40 +01:00
Marco Bonardo
44882916fa Bug 700314 - Remove nsNavHistory nsICharsetResolver implementation.
r=bz
2011-11-08 00:29:40 +01:00
Marco Bonardo
10ce09ec82 Bug 700417 - Further reduce cache_size in Places.
r=dietrich
2011-11-08 00:29:38 +01:00
Marco Bonardo
b0a26189a7 Bug 658303 - mozIStorageConnection::Clone() should copy over pragmas.
r=sdwilsh
2011-10-03 21:55:03 +02:00
Ed Morley
345c2b06c0 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5 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
976181352a 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
44e36af0d8 Bug 619623 - Try to fix some intermittent failures in test_IHistory.cpp.
r=dietrich
2011-11-05 01:01:38 +01:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Matthew Noorenberghe
5df9d8121b 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
6bf016eada Bug 658305 - Use journal_size_limit on places.sqlite.
r=dietrich
2011-09-01 12:01:59 +02:00
Mark Banner
cbd25443a2 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Felix Fung
2cf4846b2b Bug 697856 - Removed Unused Function Definitions in nsFaviconService.h; r=mak 2011-10-27 18:12:30 -07:00
Felix Fung
917def7281 Bug 697670 - Remove FaviconLoadListener References.
r=mak
2011-10-27 00:44:51 -07:00
Marco Bonardo
a71a238431 Bug 696900 - Avoid any shutdown work in Places when possible.
r=dietrich
2011-10-27 11:11:47 +02:00
Marco Bonardo
aed26ded66 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
7279ff22e3 Bug 696159 - Remove some deprecated Places code.
r=dietrich sr=rstrong
2011-10-27 11:11:43 +02:00
Marco Bonardo
d5bdd788f6 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
Marco Bonardo
9c96d8c248 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
Benjamin Smedberg
22f2972acb Merge the electrolysis branch to mozilla-central. 2011-08-19 10:15:52 -04:00
Olli Pettay
2705184e88 Bug 669640 - Fix the message manager API to work with multiple content processes, r=bsmedberg
--HG--
extra : rebase_source : bdb66e3f1a9a956d80b2e01869a7ed15b3710c0e
2011-08-02 15:57:48 -04:00
Benjamin Smedberg
9432e1edba Bug 666748 - Optionally support a pool of content processes instead of a single one. r=jdm The followup patch for 669640 must land together with this one. 2011-08-02 15:35:42 -04:00
Philipp von Weitershausen
d25de6f9f5 Merge services-central with mozilla-central 2011-08-02 12:01:42 -07:00
Marco Bonardo
20c6595348 Bug 675878 - intermittent failure in toolkit/components/places/tests/unit/test_telemetry.js 2011-08-02 10:50:41 +02:00
Richard Newman
9d0322788a Merge mozilla-central to services-central. 2011-07-29 11:35:03 -07:00
Matheus Kerschbaum
e7cc82ef30 Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz 2011-08-18 12:07:43 +02:00
Matheus Kerschbaum
7f90747951 Bug 679617 - Don't define TOPIC_FRECENCY_UPDATED twice. r=mak 2011-08-18 11:57:32 +02:00
Richard Newman
b501098228 Bug 674238 - Part 0: eliminate unnecessary OR REPLACE INTO from favicon insertion query. r=mak 2011-07-27 20:00:39 -07:00
Marco Bonardo
f1fa1f8538 Bug 674486 - browser_410196_paste_into_tags.js leaks places.xul
r=dietrich
2011-08-01 23:09:22 +02:00
Marco Bonardo
2d60c84142 Bug 671001 - Use telemetry to collect common Places stats.
r=dietrich
2011-08-01 23:09:20 +02:00
Marco Bonardo
8d6aab9a9d Merge mozilla-central to mozilla-inbound 2011-07-27 14:11:49 +02:00
Asaf Romano
dbb4de36d4 Bug 670463 - PlacesAggregatedTransaction arrays prevent chrome windows from being destroyed. r=mak 2011-07-27 09:43:37 +02:00
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Paolo Amadini
5bcf37a7bd Bug 591289 - Save chosen download file name and other metadata in Places history [r=sdwilsh, ui-r=limi] 2011-08-15 18:08:48 -07:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Richard Newman
7becc04d84 Merge mozilla-central to services-central prior to merge back. 2011-08-09 09:17:42 -07:00
Richard Newman
5e08f95fca Merge mozilla-central to services-central. 2011-08-08 08:16:57 -07:00
Allison Naaktgeboren
88796dd9ee Bug 636603 - Part 1: mozIAsyncHistory: only call mozIVisitInfoCallback on failure; API change. sr=rstrong, r=mak 2011-08-04 16:50:17 -07:00
Edgar Flores
0380eaa1df Bug 624742 - Places shouldn't use nsDependentString. r=mak 2011-08-04 11:34:00 -04:00
Matheus Kerschbaum
942485f53d Bug 669040 part 2: Nuke mork and morkreader. r=mak 2011-08-06 17:25:21 +02:00
Matheus Kerschbaum
5692e9c245 Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
Robert Sesek
6a70e0ff21 Bug 448168 - Apply |s/entires/entries/g|; r=roc 2011-08-04 09:04:29 +02:00
Marco Bonardo
02e07b974c Bug 658242 - Search in bookmarks doesn't find javascript: bookmarks.
r=dietrich
2011-07-26 15:12:38 +02:00
Michael Wu
706be3a5e8 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
arno renevier
5388ac92cf Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Marco Bonardo
2e8a66a0a9 Bug 668245 - r=bz 2011-07-13 14:28:37 -07:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Steve Fink
b5b601df06 Bug 668906 - Do not call openUnsharedDatabase with a null file (r=sdwilsh)
--HG--
extra : rebase_source : fbd0febc77e9972d10409ce09c73759f7d156ad1
2011-07-01 15:53:41 -07:00
Jeff Muizelaar
cb92f6ff06 Bug 660662. Eliminate NS_(ceil|floor). r=roc
These just called the system versions.
2011-05-30 15:08:55 -04:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Geoff Brown
cf4a559f2b Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Chris Leary
679a65fe47 Merge mozilla-central and tracemonkey. 2011-07-05 17:30:35 -07:00
Kyle Huey
7ee7dacb0b Bug 578268: Eliminate the last vestiges of mork from Firefox. r=mak 2011-07-02 12:16:45 -07:00
Marco Bonardo
613c7be98e bug 662806 - follow-up - revert dumb change. 2011-07-02 14:19:24 +02:00
Marco Bonardo
e1678f1592 Bug 662806 - nsINavHistoryObserver: pass GUID to onPageChanged.
r=philikon sr=rstrong
2011-06-30 22:06:56 +02:00
Marco Bonardo
f7be880d3b Bug 662806 - nsINavHistoryObserver: pass GUID to onTitleChanged.
r=dietrich sr=rstrong
2011-06-30 22:05:49 +02:00
Marco Bonardo
9a02cdb748 Bug 660109 - Allow to distinguish history removals caused by expiration from those requested by the user.
r=dietrich sr=rstrong
2011-06-30 15:34:10 +02:00
Marco Bonardo
186c73cf42 Bug 416459 - Implement proper cut action for bookmarks.
r=dietrich
2011-06-30 15:34:02 +02:00
Jeff Walden
1a51bb7cb1 Bug 645922 - Remove nsIJSON.encode/decode, because their functionality is subsumed by JSON.parse and JSON.stringify, and their idiosyncrasies are hindering code improvements. Also remove js_TryJSON and JS_TryJSON, which are no longer used after these changes and have no clear use cases. r=brendan, r=jst 2011-03-28 19:27:15 -07:00
Marco Bonardo
fcea44f18f Bug 666709 - One or more places xpcshell tests modify in-tree default.sqlite.
r=ted
2011-06-24 18:00:07 +02:00
Marco Bonardo
290c00097d Bug 664986 - Fix random timeouts in livemarks tests.
r=dietrich
2011-06-17 17:05:46 +02:00
Marco Bonardo
1d29bc67a9 Bug 663344 - Maintenance may cause history loss.
r=dietrich
2011-06-16 12:04:14 +02:00
Marco Bonardo
4acb6c380a Merge Places and mozilla-central 2011-06-16 11:55:54 +02:00
Marco Bonardo
cf5abeec84 Bug 303567 - In live bookmarks, entries not having a <link> element should use the <link> child of root.
r=dietrich
2011-06-15 01:54:35 +02:00
Marco Bonardo
73b6651998 Bug 661445 - Refactor Livemarks service for future schema changes.
r=dietrich
2011-06-15 01:54:33 +02:00
Marco Bonardo
908a60c4c3 Bug 663269 - Handle null livemarks siteURIs.
r=dietrich
2011-06-15 01:54:31 +02:00
Marco Bonardo
69b8d5b058 Bug 556721 - Avoid deprecated octal warnings in head_common.js DONTBUILD
rs=places-team
2011-06-10 02:58:43 +02:00
Marco Bonardo
3636b50e36 Bug 556721 - Close custom Places tests connection when it's used.
rs=places-team
2011-06-10 00:33:00 +02:00
Marco Bonardo
f6fa75c63f Bug 593566 - Bookmarks with blank names are exported as garbage.
r=dietrich
2011-06-08 22:55:49 +02:00
Philipp von Weitershausen
396ff23f45 Bug 633266 - nsINavHistoryObserver: also pass in GUID whenever we pass in a URI. r=mak
Part 3: Implementation
2011-06-08 17:10:29 +02:00
Philipp von Weitershausen
41c630cdf8 Bug 633266 - nsINavHistoryObserver: also pass in GUID whenever we pass in a URI. r=mak sr=rstrong
Part 2: IDL changes
2011-06-08 17:10:29 +02:00
Philipp von Weitershausen
7aef33b5ec Bug 633266 - nsINavHistoryObserver: also pass in GUID whenever we pass in a URI. r=mak
Part 1: Tests
2011-06-08 17:10:28 +02:00
Marco Bonardo
4451f196fe Merge Places and mozilla-central 2011-06-08 12:21:07 +02:00
Marco Bonardo
69ad611285 Merge Places and mozilla-central 2011-06-02 13:34:44 +02:00
Marco Bonardo
4e62a95895 Bug 661135 - Minor performance improvements to autocomplete queries.
r=sdwilsh
2011-06-02 02:52:25 +02:00
Matt Brubeck
e9f85ae1c1 Bug 660036 - Work around garbage values from PR_GetPhysicalMemorySize in Android 2.2 [r=mak] 2011-06-01 17:09:03 -07:00
Marco Bonardo
b4d2516095 Bug 659740 - Frecency update causes SQL sort warning.
r=sdwilsh
2011-06-01 03:33:45 +02:00
Boris Zbarsky
e167b0caba Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04:00
Marco Bonardo
3a4685cc78 Bug 556721 - Cleanup test_update_frecency_after_delete.js and test_412132.js
rs=places-team
2011-05-26 23:26:02 +02:00
Matt Brubeck
8721631cfa Bug 661351 - Clean up code that worked around bad values from PR_GetPhysicalMemorySize [r=mak] 2011-06-03 07:00:08 -07:00
Michael Ventnor
139a40b9ed Bug 566489 - Enable inline autocomplete again, but make it smarter for URLs r=sdwilsh sr=gavin a=sheriff 2011-05-24 15:47:25 +10:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Dão Gottwald
d0986b9f70 remove redundant jsm imports from browser chrome tests
--HG--
extra : rebase_source : 3eee5463d514dfe1f62cd59a9c317e31903e7313
2011-06-10 11:58:45 +02:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Justin Lebar
110b9f1823 Bug 655270 - push/replaceState should update the favicon. r=mak, sr=gavin 2011-05-20 08:37:02 -04:00
Marco Bonardo
b0bc1f276a Merge Places and mozilla-central 2011-05-17 15:40:41 +02:00