Tristan Bourvon
05742206d8
Bug 1383002 - Fix UAF in nsMIMEHeaderParamImpl::DecodeRFC5987Param. r=mcmanus
...
MozReview-Commit-ID: 2tk9WwUCpsw
2017-07-21 15:23:38 +02:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Nicholas Nethercote
3e439bb4f8
Bug 1376638 - Minimize uses of prmem.h. r=glandium.
...
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)
This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
--HG--
extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
2017-06-30 19:05:41 -07:00
Nicholas Nethercote
fe9268c4cd
Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsAFlatString --> nsString
- nsAFlatCString --> nsCString
--HG--
extra : rebase_source : b37350642c58a85a08363df2e7c610873faa6e41
2017-06-20 19:19:05 +10:00
Masatoshi Kimura
838ccc4108
Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
...
MozReview-Commit-ID: 5O5WtxbmATQ
--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Jan Keromnes
57720f1ea5
Bug 1372853 - Use nullptr in /netwerk (clang-tidy: modernize-use-nullptr). r=valentin
2017-06-16 01:35:00 -04:00
Henri Sivonen
432653453a
Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
...
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Milan Sreckovic
725d1c193f
Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj
...
MozReview-Commit-ID: 5ugh3Ma0OtH
--HG--
extra : rebase_source : 956a7a0535c3b7433fadfa65d0cfc26d9915f61a
2017-05-10 13:12:36 -04:00
Wes Kocher
6d6d039d43
Backed out 4 changesets (bug 1358297) for hazard build failures a=backout
...
Backed out changeset 95211a496191 (bug 1358297)
Backed out changeset 3c1b426a5cce (bug 1358297)
Backed out changeset 9201d345a1d5 (bug 1358297)
Backed out changeset c926817dea60 (bug 1358297)
MozReview-Commit-ID: 874DF43K7Dp
2017-05-05 12:45:46 -07:00
Milan Sreckovic
196fb1a3bc
Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj
...
MozReview-Commit-ID: 3p97cCGfy6i
--HG--
extra : rebase_source : a91d9a5e6e61495cfe78b06959b200e48ca16535
2017-05-05 13:37:13 -04:00
Andi-Bogdan Postelnicu
204bb10a86
Bug 1311669
- replace string literals containing escaped characters with raw string literals. r=valentin
...
MozReview-Commit-ID: 2e9j55eNTop
--HG--
extra : rebase_source : e633f6731ebabbca1a128fcc995b2dbf5d7c6a0b
2016-11-01 14:44:09 +02:00
Andi-Bogdan Postelnicu
702a3fbf63
Bug 1311669
- replace default bodies of special member functions with = default; r=valentin
...
MozReview-Commit-ID: YxHWVHUyDq
--HG--
extra : rebase_source : 24dbb81862770d82a3dc139ba8041bb576cf7cc4
2016-11-01 14:44:09 +02:00
Andrew Sutherland
2ed9444a3c
Bug 345580 - Problem decoding quoted-printable question mark in subject r=biesi
...
--HG--
extra : rebase_source : 37f27948211ee70c5f4a133eefee6c275ebc3fc8
2016-01-28 14:25:46 -05:00
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Birunthan Mohanathas
5f1fde8824
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
Ehsan Akhgari
6fedf6801d
Bug 928052 - Remove some prtypes.h inclusions from netwerk/; r=mcmanus
2013-10-18 10:45:29 -04:00
Birunthan Mohanathas
33b5286d45
Bug 784739 - Switch from NULL to nullptr in netwerk/ (2/2); r=ehsan
2013-09-19 15:29:27 -04:00
Julian Reschke
2b3690735e
Bug 875615: re-enable RFC2047 decoding (disable bug 601933) until we have telemetry r=jduell
2013-06-14 15:52:36 -07:00
Makoto Kato
eada8e34f0
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Ms2ger
669cc4360c
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Zane U. Ji
cd157a82c9
Bug 833028 - Subjects with mixed ASCII and MIME words are incorrectly displayed. r=smontagu
2013-03-07 22:16:52 +08:00
Julian Reschke
1c6c1757dc
Bug 601933: remove RFC 2047 encoding support for HTTP header field parameters. r=jduell
2013-02-21 05:36:00 -08:00
Zane U. Ji
ecdc94030a
Bug 493544 - Don't decode the encoded text until it ends. r=smontagu
2012-12-22 17:54:00 +09:00
Masatoshi Kimura
f11dbe9a73
Bug 638379 - Part 2: Fix nsMIMEHeaderParamImpl. r=hsivonen
2012-12-10 09:10:51 -05:00
Jason Duell
188bd6e8c6
Bug 777687 - Followup to replace NSPR types with stdint. r=jduell DONTBUILD
2012-12-03 21:38:29 -08:00
Julian Reschke
aad44d7880
Bug 777687: make handling of broken %-escapes in RFC2231/5987 encoding more draconian. r=jduell
2012-11-28 06:48:00 -08:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
julian.reschke@gmx.de
592ec87d72
Bug 783502. r=jduell
2012-08-29 15:37:07 -07:00
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
05d997c6df
Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell
2012-08-25 11:19:00 -07: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
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Julian Reschke
cd2692eeff
Bug 776399 - Fix IDL compat problem introduced by changes for bug 663057. r=bz
2012-07-24 21:37:32 -04:00
Julian Reschke
5bdcbbf5ea
Bug 732369 - Content-Disposition parser does not require presence of ";" between params. r=jduell
2012-06-07 22:57:00 -07:00
julian.reschke@gmx.de
5fcdbb550a
Bug 730574: handle quoted-string unescaping in RFC 2231 continuation parameters. r=jduell
2012-05-28 16:14:04 -04:00
julian.reschke@gmx.de
dc686f0a90
Bug 663057 - support RFC2231/5987 encoding for title parameter in HTTP link header fields. r=hsivonen
2012-05-21 06:31:00 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
julian.reschke@gmx.de
8ec547df35
Bug 693806: RFC2231/5987 encoding: charset information should be treated as authoritative. r=jduell
2012-04-29 13:40:00 -07:00
Ms2ger
4af44f872a
Bug 605180 - Fix build warnings in netwerk/. r=jduell
2012-04-07 14:25:00 -07:00
julian.reschke@gmx.de
5510563e68
Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order. r=jduell
2012-03-20 14:08:30 -07:00
Jason Duell
5f425f90fa
Backed out changeset cd5ac132e763
2012-03-15 23:35:51 -07:00
julian.reschke@gmx.de
be32749df7
Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order r=jduell
2012-03-04 14:12:00 -08:00
Makoto Kato
d3414772c0
Bug 717121 - crash nsMIMEHeaderParamImpl::DoParameterInternal. r=bz
2012-02-03 15:09:40 +09:00
julian.reschke@gmx.de
14ebb50971
Bug 704989: add workaround for broken Outlook Web APP (OWA) attachment handling (and specifically for it sending broken headers only to Firefox). r=bzbarsky
2011-11-28 07:40:08 -05:00
julian.reschke@gmx.de
7eb2828513
Bug 703015 - Revert change for bug 651185 - allow double-quotes for RFC 2231/5987 encoding again; r=bz
2011-11-20 11:13:40 +00:00
Ehsan Akhgari
92064e6d3f
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
Julian Reschke
2b59e05d5d
Bug 685192 - In RFC2231/5987 encoding, a missing charset field should be treated as error; r=bz
2011-10-15 21:07:09 +01:00
Julian Reschke
07d0d35b47
Bug 692574 - RFC2231/5987 decoding should not tolerate missing single quotes. r=bz
2011-10-14 11:29:13 +02:00
julian.reschke@gmx.de
57488d2e17
Bug 610054 - Clean up MIME header parsing (allow different behavior for HTTP and EMail); r=bz
2011-10-10 15:27:05 +01:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00