Commit Graph

1836 Commits

Author SHA1 Message Date
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