Commit Graph

2007 Commits

Author SHA1 Message Date
Ehsan Akhgari
fb83dd24c3 Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression 2012-10-22 16:44:09 -04:00
Jacek Szpot
67d97a59b9 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-19 10:33:33 +02:00
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Ehsan Akhgari
71927a786f Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Jacek Szpot
b848f67ec0 Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Ehsan Akhgari
3eff91e626 Bug 801151 - Make sure that favicon loads from tabs which are loading right near the end of a private browsing session do not into the non-private session; r=jdm
--HG--
extra : rebase_source : 50c8cc5fd90c907bb8fa00b2851c5f544f355505
2012-10-12 19:36:46 -04:00
Andrea Marchesini
ef8da16819 Bug 794386 - do not store blob: URIs in global history, r=gavin.sharp 2012-10-08 12:59:22 -07:00
Ed Morley
783c00c96e Merge mozilla-central to mozilla-inbound 2012-10-06 21:47:07 +01:00
Ed Morley
bd0d1f6c0a Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Ben Turner
c9e0d3f36f Bug 789059 - 'Assertion failure: false (All IPDL URIs must be serial
izable or an allowed scheme)'. r=cjones.
2012-10-05 13:11:08 -07:00
Ehsan Akhgari
41ded22d3a Bug 788792 - Fix two tautological compare warnings in nsNavHistoryResult.cpp; r=mak 2012-10-04 10:48:54 -04:00
Ehsan Akhgari
0e7ecd5bb6 Bug 797224 - Remove Database::mCurrentJournalMode; r=mak 2012-10-03 16:33:30 -04:00
Andrew Quartey
21f22f5076 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Cameron Kaiser
5ac3454662 Bug 793523 - Fix bookmarks search on big-endian platforms.
r=mak
2012-09-24 21:28:51 +02:00
Bobby Holley
c64d31c5e0 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Marco Bonardo
9793dac4c0 Bug 781617 - autoFill should respect user's input.
r=unfocused
2012-09-21 16:56:20 +02:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Adam Dane [:hobophobe]
fe6d81410d Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Ehsan Akhgari
c578fadd65 Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak 2012-09-06 00:34:50 -04:00
Ehsan Akhgari
dd7fefe23a Bug 741059 - Part 2: Use the nsIChannel::SetPrivate API to set the private bit on the favicon channel loads based on the knowledge of the caller of the favicon loading API; r=mak 2012-09-04 20:38:00 -04:00
Marco Bonardo
80d98fd960 Bug 751813 - Stop spewing to the console about Places Maintenance.
r=paolo
2012-09-12 12:02:07 +02:00
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Aryeh Gregor
d9fd9f6cd5 Bug 782616 - Use more appropriate return types than nsresult; r=mak 2012-08-14 12:10:42 +03:00
Aryeh Gregor
cc9de5984f Bug 782616 - Don't treat SetJournalMode's return type as nsresult; r=mak 2012-08-14 12:10:42 +03:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil
26986d4dea Bug 785738 Part 6: use PRTime where appropriate, and add reinterpret_casts to int64_t in corresponding GetInt64 calls. r=ehsan
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:
In member function 'bool nsNavHistory::FindLastVisit(nsIURI*, int64_t*,
PRTime*, int64_t*)':
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:619:
error: invalid static_cast from type 'PRTime*' to type 'int64_t*'
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:
In member function 'bool
nsNavHistory::CheckIsRecentEvent(nsDataHashtable<nsCStringHashKey, long
long int>*, const nsACString_internal&)':
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:4360:
error: invalid static_cast from type 'PRTime*' to type 'int64_t*'
2012-08-30 09:10:49 +02:00
Landry Breuil
d4d6157146 Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Ben Turner
2e0265c8ef Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Bobby Holley
d806bf9ec7 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Nathan Froyd
5a0bd9d7ca Bug 764190 - fix PLACES_EXPIRATION_STEPS_TO_CLEAN telemetry; r=taras,mak 2012-08-07 15:46:39 -04:00
Tim Taubert
5c6f1513a0 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Blair McBride
381797b2c1 Bug 775072 - Inline autocomplete munges URLs that contain characters that would normally be escaped. r=mak 2012-08-23 00:44:19 +12:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Andrew Hurle
97def80127 Bug 634139 - Add a service for finding the representative color in an image. r=MattN
--HG--
extra : rebase_source : 111c2a3e6b0abfd8b75b90afbe5e736f80ff2939
2012-08-03 14:18:00 -07:00
Mark Capella
d35354cd9e Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Toolkits, r=ted, f=gps 2012-08-14 10:06:12 -04:00
Honza Bambas
5fe7a22e2c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Matt Brubeck
484e4e066a Back out b77834cb31ad (bug 580794) because of mochitest-browser-chrome timeouts 2012-07-25 16:19:02 -07:00
David Keeler
cd124adc17 bug 580794 - strip userpass from favicon uri (r=filipc,ctalbert) 2012-07-24 10:48:42 -07:00
David Zbarsky
510caa84fe Bug 765364 - Remove unneeded function SyncChannelStatus r=mak77 2012-07-24 12:12:11 -07:00
Asaf Romano
f7516af9b1 Bug 760940 - Bookmarks and history menus behave incorrectly due to non-node weak map keys. r=mak 2012-07-24 17:20:57 +03:00
Aryeh Gregor
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Jonas Sicking
690071fc50 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
David Zbarsky
2d843e4532 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (toolkit/places); r=mak 2012-07-12 14:07:50 -04:00
David Zbarsky
8925cfeee8 Bug 757960 - GCC 4.6.3 build warnings in nsNavHistoryResult.cpp for unsigned >= 0 (or < 0) always returning the same value [-Wtype-limits] r=mak 2012-07-11 00:14:49 -07:00
Ehsan Akhgari
fa771541c8 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (places parts); r=mak 2012-06-19 23:58:39 -04:00
Brad Lassey
74c1973964 bug 765426 - nsAndroidHistory requires QI to be posted to the main thread as a runnable r=gavin 2012-07-09 16:20:12 -04:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
80e23482fd Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (toolkit parts); r=jrmuizel 2012-06-19 23:27:32 -04:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Christopher Finke
c568f362ee Bug 763139 - Add the "DEPRECATED_" prefix to the LS_createLivemark function name. r=mak77 2012-06-27 20:15:33 -04:00
Gian-Carlo Pascutto
7d7947433b Bug 758193 - Remove more Places stuff in Native Fennec. r=mak 2012-06-11 08:52:45 +02:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Marco Bonardo
090ab66929 Bug 720081 - Part 1: backportable solution for autocomplete controller to provide a different final defaultComplete value for typeAheadResults
r=gavin
2012-06-04 00:42:48 +02:00
Phil Ringnalda
5082a2ad9e Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Asaf Romano
6f61638700 Bug 730340 - Don't use expando properties for storing data on places nodes. Remove expandos support from result nodes. r=mak. 2012-06-03 15:50:08 +03:00
Gavin Sharp
22cd0f3898 Also back out the test changes from bug 720081 that depended on the autocomplete controller changes, a=backout 2012-06-02 16:37:12 -07:00
Asaf Romano
3724e41e1e 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
0cf113c7e3 Bug 720081 - Part 2: inline autocomplete should respect protocol and www prefix
r=dietrich
2012-06-01 14:38:39 +02:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Marco Bonardo
8806ee319a Bug 758201 - Fix usage of PlacesUtils for LMANNO constants.
r=Mano
2012-05-30 16:11:35 +02:00
Gervase Markham
638c878b13 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
2a53ba3242 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
6648a51cf0 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40 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
17d594fba3 Bug 739213 - Kill AddPageWithDetails. r=mak 2012-05-14 20:42:29 +02:00
Benjamin Smedberg
d1c11dffe5 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
e4a53a7c22 Bug 615213 - Remove nsIGlobalHistory.
r=bsmedberg
2012-05-09 21:30:41 +02:00
Marco Bonardo
cebcf5d40b Bug 740076 - Disable autoFill when autocomplete is disabled.
r=dietrich
2012-05-05 14:26:42 +02:00
Marco Castelluccio
b21408a63d Bug 739221 - Remove nsIBrowserHistory::count.
r=mak sr=gavin
2012-05-05 14:26:25 +02:00
Marco Castelluccio
63e41559c5 Bug 751608 - Remove the never implemented nsIBrowserHistory::hidePage method.
r=mak sr=gavin
2012-05-05 14:25:31 +02:00
Asaf Romano
d4d2f2074e Bug 750269 - Fix places transactions leak with cpg (r=mak,a=not-in-libxul) 2012-05-02 15:06:07 -07:00
Nicholas Nethercote
c33177f72e 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
15df25098f 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
ab271987fa 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
27bc796a63 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
d40ad60816 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
40158af9d5 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
3706e25e63 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
250a42fffb 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
cae7a3dc38 Bug 743490 - Frequent test_redirects.js | test failed.
r=dietrich
2012-04-12 10:37:54 +02:00
Marco Bonardo
98ac9c56b8 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
f83604f385 Bug 737841 - Part 2: tests
r=dietrich
2012-04-07 01:17:51 +02:00
Marco Bonardo
ef8bde9e54 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
56bc3cb5cc 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
6604b35d46 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
76e666fe0e Bug 680727 - Part 1: IHistory::VisitURI should accept a reloaded URI. r=mak 2012-03-28 21:50:59 +02:00
Marco Bonardo
6ea043acbc Bug 737846 - followup: fix typo in test.
--HG--
extra : rebase_source : 14b5abf42bc25cb54eaf490988fb9814abe6dc66
2012-03-27 16:29:42 +02:00
Marco Bonardo
bdb1945255 Bug 737846 - Ensure favicons service doesn't add unwanted pages to history.
r=dietrich
2012-03-27 15:28:14 +02:00
Henri Sivonen
2eb27ead85 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
98c2fd10a7 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
4dbc4331f0 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
8b0f0ddc19 Bug 738209 - Cleanup a usages of NS_Convert*to*() in places. r=mak 2012-03-23 13:18:59 +09:00
Mark Banner
da888d3e8c 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
00b4826f3d 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
3ee0f44360 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
c976f87096 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
0c5cfa68fa Bug 730668 - Clean up test_placesTXN.js r=mak 2012-03-16 15:16:12 -07:00
Marco Bonardo
9c9f4bbcf2 Bug 735625 - Get rid of ImportHTMLFromFileToFolder.
r=dietrich sr=gavin
2012-03-16 00:12:49 +01:00
Marco Bonardo
ea806ea8a8 Bug 732755 - Intermittent test_mozIAsyncLivemarks.js | false == true.
r=dietrich
2012-03-12 21:50:26 +01:00
Marco Bonardo
6e733cc348 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
c42f2255fe 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
43f18b6c06 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
359fdb663d 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
4b287e8788 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
77d336e566 Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Nicholas Nethercote
78363fbd82 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
5ba5232745 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
103596764d Bug 731968 - AddLivemark callback should wait for all the writes.
r=dietrich
2012-03-02 18:05:33 +01:00
Marco Bonardo
bc1d795cb6 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
f72c741a2b 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
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