Valentin Gosu
88bf2bd0fd
Bug 1426501 - Change C++ code to use NS_MutateURI when changing URI r=mayhemer
...
MozReview-Commit-ID: 4VzZlhWrtSJ
2018-01-08 15:20:35 +01:00
Andrea Marchesini
93901ebca1
Bug 1402888 - Remove nsIInputStreamPump::Init() offset and limit params, r=smaug
2017-09-26 07:21:44 +02:00
Masatoshi Kimura
c0943e4f30
Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
...
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Marco Bonardo
77c6ad3ff9
Bug 1360891 - Places default favicon should supports hi-dpi. r=dao,standard8
...
MozReview-Commit-ID: 1b0gnDIQJIQ
2017-05-03 09:31:05 +02:00
Kershaw Chang
beb6dbcaf0
Bug 1352176 - Part2: Pass an event target when calling nsInputStreamPump::Create, r=mayhemer
2017-05-09 20:05:00 +02:00
Marco Bonardo
0938ab7f9a
Bug 977177 - Add size ref fragment to icon protocols. r=adw
...
Both page-icon: and moz-anno:favicon: should support a simple #size=NNN ref
fragment to allow consumers to request a specific sized icon (if available).
The service will do its best to satisfy the request, but it's not guaranteed.
If no size hint is found, it will default to the biggest icon payload available.
It's currently not possible to test the fragment on moz-anno:favicon: since that
requires imagelib support to extract payloads from ico files. Thus a test will
be added at a later time.
MozReview-Commit-ID: G221MKY7rfs
2017-03-15 16:08:28 +01:00
Marco Bonardo
c536e58644
Bug 977177 - Update favicons API consumers. r=adw
...
Updates consumers to the new behavior.
Some consumers are changed to use the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.
The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.
Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.
Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.
The system only supports square icons, so icons are resized based on their larger side.
This doesn't include new tests, those will be in a following changeset.
MozReview-Commit-ID: JUkpquhpS8y
2016-09-28 16:14:30 +02:00
Kris Maglione
200c31ef0b
Bug 1351163: Part 4 - Don't start moz-anno: requests until the channel is opened. r=bz
...
MozReview-Commit-ID: HbaNUqLRtK6
2017-04-07 22:36:01 -07:00
Nicholas Nethercote
887efe04d5
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
2016-09-01 15:01:16 +10:00
Drew Willcoxon
c4e95293f3
Bug 798223 - Increase optimized favicon dimension in Places database from 16 to 32. r=mak
...
MozReview-Commit-ID: HTLPQR66HOn
2016-08-02 18:00:07 -07:00
Marco Bonardo
270696b2ca
Bug 1283825 - Add a page-icon protocol to fetch the best icon for a url. r=adw
...
MozReview-Commit-ID: 3exDniH8Hkm
2016-06-30 18:17:44 +02:00
Christoph Kerschbaumer
b3c660bf43
Bug 1196013 - Use channel->ascynOpen2 in toolkit/components/places. r=billm r=sicking r=mak
2016-05-23 23:57:31 +02:00
Christoph Kerschbaumer
ad9aa1b5d2
Bug 1119386 - Part 4: Use document's principal for favicons in toolkit (r=gijs,mak)
2015-11-24 13:32:22 -08:00
Christoph Kerschbaumer
0e075876c3
Bug 1048048 - add preload content policy types for images (r=seth)
2015-09-20 14:55:59 -07:00
Wes Kocher
7e27875d2c
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
46f476eda8
Bug 1048048 - add preload content policy types for images (r=seth)
2015-09-20 14:55:59 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Mike Hommey
4d93988786
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Christoph Kerschbaumer
9e8bf9f5da
Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - callsite updated (r=sicking)
2015-02-19 11:47:59 -08:00
Christoph Kerschbaumer
a4a3d29c9d
Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in toolkit/ (r=mmc,mak)
2015-02-17 10:09:50 -08:00
Ehsan Akhgari
cb3c3961e2
Bug 1118413 - Mark virtual overridden functions as MOZ_OVERRIDE in places; r=mak
2015-01-24 14:51:35 -05:00
Christoph Kerschbaumer
5d4279c9c0
Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - toolkit/ changes (r=gcp)
2014-12-12 09:07:48 -08:00
Phil Ringnalda
6c35b711bb
Backed out 15 changesets (bug 1087442)
...
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
fcfecf8e18
Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - toolkit/ changes (r=gcp)
2014-12-11 20:46:59 -08:00
Christoph Kerschbaumer
3c130f420e
Bug 1067471 - Add newChannel2 to nsIProtocolHandler that takes a loadinfo as an argument (r=sicking)
2014-10-22 17:16:57 -07:00
Christoph Kerschbaumer
2dca2ad7fe
Bug 1063197 - Callsites of NS_NewInputStreamChannel in /toolit/ (r=mak77)
2014-10-16 11:17:22 -07:00
Christoph Kerschbaumer
0cd3fe25da
Bug 1038756: Callsites creating a channel in /toolkit/components/places/ (r=mak)
2014-09-21 09:42:47 -07:00
Benoit Jacob
852db05276
Bug 1035394 - Fix dangerous public destructors in toolkit/components - r=ehsan
2014-07-08 17:23:18 -04:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Asaf Romano
d22bebd8c5
Bug 895839 - Remove support for binary annotations. r=mak. sr=gavin.
2013-08-03 14:06:47 +03:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26
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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Marco Bonardo
50a7797537
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
Ehsan Akhgari
478ad1a412
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
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Mitchell Field
8969bddd5d
Bug 595513 - Reduce makefile recursion in toolkit. r=khuey
2011-03-08 14:58:46 +11:00