Commit Graph

49 Commits

Author SHA1 Message Date
Andi-Bogdan Postelnicu
9b72d8be64 Bug 1311669 - replace string literals containing escaped characters with raw string literals. r=valentin
MozReview-Commit-ID: 2e9j55eNTop
2016-11-01 14:44:09 +02:00
Andi-Bogdan Postelnicu
15794c143e Bug 1311669 - replace default bodies of special member functions with = default; r=valentin
MozReview-Commit-ID: YxHWVHUyDq
2016-11-01 14:44:09 +02:00
Andrew Sutherland
81e2e29447 Bug 345580 - Problem decoding quoted-printable question mark in subject r=biesi 2016-01-28 14:25:46 -05:00
Mike Hommey
338d086ead 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
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
Ehsan Akhgari
e4eca05943 Bug 928052 - Remove some prtypes.h inclusions from netwerk/; r=mcmanus 2013-10-18 10:45:29 -04:00
Birunthan Mohanathas
935a9d49ef Bug 784739 - Switch from NULL to nullptr in netwerk/ (2/2); r=ehsan 2013-09-19 15:29:27 -04:00
Julian Reschke
0828b8d400 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
efb7bf25b2 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Ms2ger
75ed76faf6 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Zane U. Ji
5216e7ff08 Bug 833028 - Subjects with mixed ASCII and MIME words are incorrectly displayed. r=smontagu 2013-03-07 22:16:52 +08:00
Julian Reschke
c9412a855d 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
b4611e4fa5 Bug 493544 - Don't decode the encoded text until it ends. r=smontagu 2012-12-22 17:54:00 +09:00
Masatoshi Kimura
3272d4c1d7 Bug 638379 - Part 2: Fix nsMIMEHeaderParamImpl. r=hsivonen 2012-12-10 09:10:51 -05:00
Jason Duell
bb0f9a5e3b Bug 777687 - Followup to replace NSPR types with stdint. r=jduell DONTBUILD 2012-12-03 21:38:29 -08:00
Julian Reschke
a53af987ee 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
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
075ceb7645 Bug 783502. r=jduell 2012-08-29 15:37:07 -07:00
Valentin Gosu
c2124622b0 Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07: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
691ef24b2a Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Julian Reschke
49f6361b52 Bug 776399 - Fix IDL compat problem introduced by changes for bug 663057. r=bz 2012-07-24 21:37:32 -04:00
Julian Reschke
09ac2634b5 Bug 732369 - Content-Disposition parser does not require presence of ";" between params. r=jduell 2012-06-07 22:57:00 -07:00
df8fc54933 Bug 730574: handle quoted-string unescaping in RFC 2231 continuation parameters. r=jduell 2012-05-28 16:14:04 -04:00
b7fbbc55a7 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
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
31a2210860 Bug 693806: RFC2231/5987 encoding: charset information should be treated as authoritative. r=jduell 2012-04-29 13:40:00 -07:00
Ms2ger
1127c1998c Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
dee616aa7b Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order. r=jduell 2012-03-20 14:08:30 -07:00
Jason Duell
bdf3a06655 Backed out changeset cd5ac132e763 2012-03-15 23:35:51 -07:00
7a9f35b1cb Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order r=jduell 2012-03-04 14:12:00 -08:00
Makoto Kato
c5573b4bff Bug 717121 - crash nsMIMEHeaderParamImpl::DoParameterInternal. r=bz 2012-02-03 15:09:40 +09:00
60b4596590 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
a3ca513083 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
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
Julian Reschke
bf2698e0b2 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
dd070ee3e0 Bug 692574 - RFC2231/5987 decoding should not tolerate missing single quotes. r=bz 2011-10-14 11:29:13 +02:00
0d7423e2ea 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
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
d510a8276f Bug 272541: Empty disposition type treated as 'attachment'. r=jduell 2011-09-12 20:14:16 -07:00
Julian Reschke
32ff890b2b Bug 670333. Make sure that when parsing MIME header params we check for the actual presence of a '=' between the name and the value. r=bzbarsky 2011-07-11 15:27:26 -04:00
Julian Reschke
8379201901 Bug 651185. Only process RFC 2231 and RFC 5987 syntax when the value comes from a token (as opposed to a quoted-string). r=bzbarsky 2011-07-05 17:33:04 -04:00
Julian Reschke
8cbc7c106b Bug 588389 - content-disposition: escaped characters in quoted-string give funny results; r=bzbarsky 2011-04-14 12:08:10 -07:00
Boris Zbarsky
ad86bd5f08 Backed out changeset 4cadb299e5ef (bug 588389) to fix orange. 2011-04-08 14:07:07 -07:00
Julian Reschke
107dfc0bc5 Bug 588389 - content-disposition: escaped characters in quoted-string give funny results; r=bzbarsky 2011-04-05 09:36:00 -07:00
Jason Duell
ac69f19bb6 Bug 588781 - Content-Disposition: suboptimal fallback behavior when both "filename" and "filename*" params are present; r=biesi 2011-03-23 23:35:30 -04:00
Jonathan Kew
6d9faf6a88 bug 635705 - reorder code in GetParameterInternal. r+a=bzbarsky 2011-02-23 07:29:26 +00:00
Mitchell Field
bc63774d7e Bug 542222 - Reduce recursion in netwerk makefiles. 2010-06-05 21:18:12 -04:00