Commit Graph

2705 Commits

Author SHA1 Message Date
Benoit Jacob
6d7beedec6 Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Josh Matthews
f07cac3737 Bug 723005 - Remove all checks for global privacy status in history-related code, and add them to callers when appropriate. r=mak sr=gavin 2012-02-18 01:40:10 -05:00
Paolo Amadini
2ad6db2cbe Bug 775495 - Replace waitForClearHistory and waitForAsyncUpdates with versions that return promises, and remove waitForFrecency. r=mak 2012-11-11 14:01:49 +01:00
Marco Bonardo
1206805572 Bug 799609 - Disable Places in B2G - Part 4 - Disable Places in Firefox for Android.
Move Android history implementation to the mobile folder, use the newly
exposed NotifyVisited API, disable Places.
r=blassey

--HG--
rename : toolkit/components/places/nsAndroidHistory.cpp => mobile/android/components/build/nsAndroidHistory.cpp
rename : toolkit/components/places/nsAndroidHistory.h => mobile/android/components/build/nsAndroidHistory.h
2012-11-09 10:55:59 +01:00
Marco Bonardo
63752889cd Bug 799609 - Disable Places in B2G - Part 1 - Remove Android history from Places
r=paolo
2012-11-09 10:55:48 +01:00
Ehsan Akhgari
af490f020d Bug 809383 - replace PR_TRUE in AsyncFaviconHelpers.h 2012-11-07 16:55:39 -05:00
Andrew Quartey
d21a5d8004 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Matt Joras
613e229e93 Bug 798033 - Removes 'using namespace' from toolkit headers - r=bsmedberg 2012-11-01 18:09:22 -04:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Jacek Szpot
761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Ehsan Akhgari
8e702f60c5 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Wes Johnston
8aa266dd12 Bug 790305 - Don't add history entries for redirects or error pages. r=mfinkle 2012-10-24 09:04:44 -07:00
Jacek Szpot
6a6b45d771 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-23 13:31:22 +02:00
Ehsan Akhgari
2c1575558e Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression 2012-10-22 16:44:09 -04:00
Jacek Szpot
057be630c0 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-19 10:33:33 +02:00
Isaac Aggrey
c984edf823 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
ee902c51f9 Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Jacek Szpot
06b915eb2e Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Ehsan Akhgari
d8813e04de 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
486d2e7a8a Bug 794386 - do not store blob: URIs in global history, r=gavin.sharp 2012-10-08 12:59:22 -07:00
Ed Morley
44b97aef8e Merge mozilla-central to mozilla-inbound 2012-10-06 21:47:07 +01:00
Ed Morley
24678699d7 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
45210419d5 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
2671292ec9 Bug 788792 - Fix two tautological compare warnings in nsNavHistoryResult.cpp; r=mak 2012-10-04 10:48:54 -04:00
Ehsan Akhgari
69275f30ab Bug 797224 - Remove Database::mCurrentJournalMode; r=mak 2012-10-03 16:33:30 -04:00
Andrew Quartey
54074fe47f Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Cameron Kaiser
6aedfb8f1b Bug 793523 - Fix bookmarks search on big-endian platforms.
r=mak
2012-09-24 21:28:51 +02:00
Bobby Holley
8188b09b4e 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
ddb1de2bb4 Bug 781617 - autoFill should respect user's input.
r=unfocused
2012-09-21 16:56:20 +02:00
Ehsan Akhgari
8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Adam Dane [:hobophobe]
b6f4fdb364 Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Ehsan Akhgari
145e6f9783 Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak 2012-09-06 00:34:50 -04:00
Ehsan Akhgari
0c56f15dbc 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
e3438d76b6 Bug 751813 - Stop spewing to the console about Places Maintenance.
r=paolo
2012-09-12 12:02:07 +02:00
Makoto Kato
1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Aryeh Gregor
869e32586e Bug 782616 - Use more appropriate return types than nsresult; r=mak 2012-08-14 12:10:42 +03:00
Aryeh Gregor
91ce311a84 Bug 782616 - Don't treat SetJournalMode's return type as nsresult; r=mak 2012-08-14 12:10:42 +03:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil
0d77648cc1 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
3f08ff498e Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Ben Turner
7370f46298 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
f978d43865 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Nathan Froyd
dd6713627b Bug 764190 - fix PLACES_EXPIRATION_STEPS_TO_CLEAN telemetry; r=taras,mak 2012-08-07 15:46:39 -04:00
Tim Taubert
ab35ee90b7 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Blair McBride
cb597dd0a3 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
e368dc9c85 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
3bb0d3dde1 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
38befa6972 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
15daadba69 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
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Matt Brubeck
2c28708624 Back out b77834cb31ad (bug 580794) because of mochitest-browser-chrome timeouts 2012-07-25 16:19:02 -07:00
David Keeler
548a9d9654 bug 580794 - strip userpass from favicon uri (r=filipc,ctalbert) 2012-07-24 10:48:42 -07:00
David Zbarsky
318249425e Bug 765364 - Remove unneeded function SyncChannelStatus r=mak77 2012-07-24 12:12:11 -07:00
Asaf Romano
d97abefe07 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
65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Jonas Sicking
23c9838514 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
David Zbarsky
1cec106e6c 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
89f14406ab 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
4984997def 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
7d3cff2d3a 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
bfff055672 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
dc33d2c38d 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
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Christopher Finke
ef74541f92 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
0cac3e9a43 Bug 758193 - Remove more Places stuff in Native Fennec. r=mak 2012-06-11 08:52:45 +02:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Marco Bonardo
7f803e4aac 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
d203ecbd62 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Asaf Romano
8f86773f20 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
0ae6a40262 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
bd231d7523 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
f55f83fa8d Bug 720081 - Part 2: inline autocomplete should respect protocol and www prefix
r=dietrich
2012-06-01 14:38:39 +02:00
Ed Morley
6cf4e96cb1 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Marco Bonardo
556a8b5dde Bug 758201 - Fix usage of PlacesUtils for LMANNO constants.
r=Mano
2012-05-30 16:11:35 +02:00
Gervase Markham
68d38d677f 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
6f0021b7e9 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
6d73d84e79 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
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487 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
c3b59eb94a Bug 739213 - Kill AddPageWithDetails. r=mak 2012-05-14 20:42:29 +02:00
Benjamin Smedberg
dd1b0e7adc 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
828240f03b Bug 615213 - Remove nsIGlobalHistory.
r=bsmedberg
2012-05-09 21:30:41 +02:00
Marco Bonardo
89ee332300 Bug 740076 - Disable autoFill when autocomplete is disabled.
r=dietrich
2012-05-05 14:26:42 +02:00
Marco Castelluccio
544e344cb8 Bug 739221 - Remove nsIBrowserHistory::count.
r=mak sr=gavin
2012-05-05 14:26:25 +02:00
Marco Castelluccio
27cf793bdc Bug 751608 - Remove the never implemented nsIBrowserHistory::hidePage method.
r=mak sr=gavin
2012-05-05 14:25:31 +02:00
Asaf Romano
66b90a8522 Bug 750269 - Fix places transactions leak with cpg (r=mak,a=not-in-libxul) 2012-05-02 15:06:07 -07:00
Nicholas Nethercote
43f329dbbd 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
4ccd1d2fbb 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
c8f0ae083f 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
692998f4d8 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
0bfd44989d 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
70cac11c64 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
1e2be0784b 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
1bb5c0078e 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
ebce66b3b2 Bug 743490 - Frequent test_redirects.js | test failed.
r=dietrich
2012-04-12 10:37:54 +02:00
Marco Bonardo
3b4530759b 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
775e71c940 Bug 737841 - Part 2: tests
r=dietrich
2012-04-07 01:17:51 +02:00
Marco Bonardo
8c24d8bd54 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
9bb1156b94 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
24003908e0 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
2231b2fb05 Bug 680727 - Part 1: IHistory::VisitURI should accept a reloaded URI. r=mak 2012-03-28 21:50:59 +02:00
Marco Bonardo
c07c613fcc Bug 737846 - followup: fix typo in test.
--HG--
extra : rebase_source : 14b5abf42bc25cb54eaf490988fb9814abe6dc66
2012-03-27 16:29:42 +02:00
Marco Bonardo
00c5a4d4d9 Bug 737846 - Ensure favicons service doesn't add unwanted pages to history.
r=dietrich
2012-03-27 15:28:14 +02:00
Henri Sivonen
f1d63ee370 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
c2b04a653b 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
0da751d790 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
7ac19d776f Bug 738209 - Cleanup a usages of NS_Convert*to*() in places. r=mak 2012-03-23 13:18:59 +09:00
Mark Banner
e544bd9c40 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
bdcf891941 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
e2604bf75a 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
8c0c6ddc30 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
89a71837ec Bug 730668 - Clean up test_placesTXN.js r=mak 2012-03-16 15:16:12 -07:00
Marco Bonardo
ad304c263e Bug 735625 - Get rid of ImportHTMLFromFileToFolder.
r=dietrich sr=gavin
2012-03-16 00:12:49 +01:00
Marco Bonardo
bdbd0a6430 Bug 732755 - Intermittent test_mozIAsyncLivemarks.js | false == true.
r=dietrich
2012-03-12 21:50:26 +01:00
Marco Bonardo
f1cca39bed 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
e9e35b8a85 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
8080ee171d 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
baf76b6247 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
0822e24e67 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
fb07fe8847 Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Nicholas Nethercote
3b808f9c61 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
50b9af5ff9 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
d03567ecf9 Bug 731968 - AddLivemark callback should wait for all the writes.
r=dietrich
2012-03-02 18:05:33 +01:00
Marco Bonardo
6880870df8 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
c1f1f25ea1 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
5bcf8993dd 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
8cff28c7f2 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
79626124b2 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
c39bb54077 Bug 714261 - TransactionManager used as a service r=mak 2012-02-25 07:46:00 -05:00
Mark Capella
a131c16792 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
5822c4f029 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - mop up uses that slipped through; r=mak 2012-02-26 11:34:25 +13:00
David Mandelin
ec012300ff Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
f35da5b2e3 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
80fdf887df Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Marco Bonardo
2c3db1bc42 Bug 702639 - Kill excludeItemsIfParentHasAnnotation query option.
r=dietrich sr=gavin
2012-02-24 23:43:49 +01:00
Marco Bonardo
3f265f4b54 Bug 613588 (Tests) - Load-on-demand livemarks.
r=dietrich
2012-02-24 13:42:30 +01:00
Marco Bonardo
f304c7d357 Bug 613588 (Backend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:24 +01:00
Marco Bonardo
95959043fb Bug 613588 (Interfaces) - Load-on-demand livemarks.
r=dietrich,mano sr=gavin
2012-02-24 13:42:21 +01:00
Marco Bonardo
4e4249f3aa 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
4f7533cd78 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
52771dd69e Bug 728653 - Crash in mozilla::storage::Connection::stepStatement. r=mak. 2012-02-22 09:00:28 -05:00
Marco Bonardo
ad87cc26c2 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
f924c03fa4 Bug 720258 - Inline autocomplete should only autocomplete URLs you've typed.
r=dietrich
2012-02-17 14:24:58 +01:00
Marco Bonardo
bfe5d70ad6 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
f738baa87b 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
e8f57a8f44 Bug 715133 - Automated tests for inline auto complete.
r=mak
2012-02-16 00:15:40 +01:00
Marco Bonardo
dbe83c1cce Bug 706420 - intermittent failure in test_annos_expire_session.js
r=standard8
2012-02-15 14:21:24 +01:00
Geoff Lankow
a825a1156c 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
170e169dff Bug 717575 - Places should fallback to default cache size, excluding autocomplete.
r=dietrich
2012-02-13 16:47:21 +01:00
Marco Bonardo
a1be08b67e Bug 723924 - Telemetry for time needed for a single frecency update.
r=dietrich
2012-02-07 16:01:07 +01:00
Marco Bonardo
143e82564e Bug 723925 - Telemetry for number and size of annotations.
r=dietrich
2012-02-07 16:00:55 +01:00
Marco Bonardo
f14216b075 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
9123491fcd Bug 724805 - Bug 723126 broke PlacesDBUtils add-ons compatibility.
r=dietrich
2012-02-07 15:59:07 +01:00
Marco Bonardo
ae9b10638c 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
9c7dfb9706 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
2e94025104 Bug 723126 - Telemetry for time needed for idle maintenance.
r=dietrich
2012-02-04 15:12:46 +01:00
Marco Bonardo
4b5dca6c6f Bug 723124 - Telemetry for time needed for idle frecency update.
r=dietrich
2012-02-04 15:12:42 +01:00
Paolo Amadini
2506701a69 Bug 722242 - Avoid thread contention on idle maintenance. r=mak 2012-02-02 11:33:33 +01:00
Rafael Ávila de Espíndola
def12c94ca 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
05dec4f9af Bug 718449 - History may dispatch events that use the database after asyncClose. r=mak. 2012-02-01 11:59:27 +01:00
Marco Bonardo
7857cfe044 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
b55bd08499 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
7559a70a04 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Marco Bonardo
a8611d3d04 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
18bba88e1b Backout 691af0af89da (bug 720501) for test failures 2012-01-26 02:21:44 +01:00
Marco Bonardo
1a8665ade3 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
97967af56e Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
a98525ac10 Bug 720124 - Remove dead code from HTMLContentSink: AddComment; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
c1e941dcc3 Bug 720124 - Remove dead code from HTMLContentSink: AddProcessingInstruction; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
2a1d41ff0a Bug 720124 - Remove dead code from HTMLContentSink: IsFormOnStack; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
b51f11201d Bug 720124 - Remove dead code from HTMLContentSink: AddDocTypeDecl; r=hsivonen 2012-01-25 08:50:02 +01:00
Mark Banner
a93a0c33a9 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
5c4bd88710 Bug 712767: Send profile shutdown topics to cpp tests requesting a profile.
r=waldo
2012-01-20 14:47:51 +01:00
Paolo Amadini
70fdd3f42f Bug 672681 - Make nsIDownloadHistory::addDownload asynchronous. r=mak 2012-01-20 13:48:20 +01:00
Henri Sivonen
3bd56d1ff6 Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Michael Ventnor
5c706d5982 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
ce713fe857 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
19d31dec25 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
d50ac745e9 Bug 720066 follow-up, fix a typo that causes test failures (luckily). 2012-01-24 21:46:18 +01:00
Marco Bonardo
544c791dbc Bug 720110 - URL autocomplete breaks keyword bookmarks.
r=gavin
2012-01-24 20:37:46 +01:00
Marco Bonardo
b318c63448 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
98b67885ca 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
3aa150e837 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
e18b95dabf 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
fdae31faf7 Bug 711914 - Fetching bookmarks information during onBeforeItemRemove may break the bookmarks cache.
r=dietrich
2012-01-12 17:04:09 +01:00
Felix Fung
0f378d3069 Bug 713269 - Use Asynchronous Favicons API for PlacesUtils.jsm. r=mak 2012-01-11 00:04:01 -05:00
Matthew Noorenberghe
638846efd5 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
c9149bf1f8 Bug 712427 - provide more information in SQL PRAGMA queries; r=mak 2012-01-05 18:46:35 -05:00
Marco Bonardo
a658c410cf 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
0089711fa7 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
cb96a0d29e 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
00473f960b Bug 508760 - Remove VC6 workaround. r=mano 2011-12-18 20:19:34 +01:00