Valentin Gosu
bdf24c6781
Bug 412457 - should unescape hostname first, then perform IDNA r=mcmanus
2015-11-18 15:25:27 +01:00
Valentin Gosu
5e80b5bd73
Bug 1163030 - URL: stop escaping ` in query r=mcmanus
2015-11-02 13:55:24 +01:00
Valentin Gosu
2c93e09d61
Bug 1163028 - URL: stop escaping [ and ] in path r=mcmanus
2015-11-02 13:54:10 +01:00
Chris Peterson
db45e51be4
Bug 1204403 - Fix -Wshadow warnings in xpcom. r=mccr8
2015-09-07 23:56:16 -07: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
Valentin Gosu
ff4abdaae2
Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk
2015-04-28 18:29:22 +03: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
Jacek Caban
e45d34d163
Bug 1142584 - Fixed nsEscape.cpp compilation on mingw GCC 4.8. r=nfroyd
2015-03-19 14:29:54 +01:00
Valentin Gosu
addea81904
Bug 1121826 - backout cc192030c28f - brackets shouldn't be automatically escaped in the Query r=mcmanus
2015-01-17 16:13:21 +02:00
Mats Palmgren
67174ffd3e
Bug 1101625 part 1 - Don't escape all non-ASCII characters when unsafe characters are found, just escape the unsafe characters. r=smontagu
2014-12-01 15:55:15 +00:00
Mats Palmgren
470972af4c
Bug 415491, part 2 - Implement a char16_t version of NS_EscapeURL. r=bzbarsky
2014-11-08 02:42:04 +00:00
Valentin Gosu
4e07b2ab1f
Bug 473822 - Square brackets not percent-encoded in URI's query-part. r=jduell
2014-09-06 01:32:04 +03:00
Birunthan Mohanathas
10838f95c7
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
b7e2587f32
Bug 995730 - Change xpcom/io/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
James Kitchener
5a8d6b4b4f
Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg
2014-02-03 22:57:56 +10:30
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
1b131491ff
Bug 941405 - Remove the usages of the register keyword from XPCOM; r=froydnj
2013-11-21 10:42:40 -05:00
Matt Brubeck
3966d92646
Bug 935376 - Back out 2e6063aa9b77 (bug 328755) on suspicion of causing a crash in ntdll
2013-11-05 21:12:56 -08:00
James Kitchener
fdaa9f45b3
Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg
2013-11-04 14:22:37 -05:00
Birunthan Mohanathas
d655a19190
Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan
2013-10-10 16:41:39 -04:00
Makoto Kato
efb7bf25b2
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Isaac Aggrey
990e90e88a
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05: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
Shriram Kunchanapalli
56634dd6f6
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Shriram Kunchanapalli
e50a15f2e2
Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt
2012-02-18 19:17:01 +05:30
Ryan VanderMeulen
1becc7707c
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
349ef2e799
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
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
Julian Reschke
4a35def1ca
Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup
2011-08-22 16:51:52 +02:00
Matheus Kerschbaum
44209e0bdf
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
a1ee370091
Bug 562528 - comparison between signed and unsigned integer expressions in nsEscapeHTML2, r=bsmedberg
2010-04-28 17:58:00 -07:00
Daniel Veditz
1c54554919
bug 464998 - r+sr=bsmedberg, a=beltzner
2008-11-19 11:55:59 -05:00
Daniel Veditz
18b03f7d32
bug 455987 crash fix, r/sr=bsmedberg
2008-10-24 16:15:33 -07:00
Michal Novotny
7bca4bd80d
Bug 367736 - make nsEscape more efficient and clean up some signed/unsigned issues to prevent theoretical overflow, r=bsmedberg+dveditz
2008-08-19 09:57:12 -04:00
1fd1fd3713
Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]
2007-10-19 16:26:52 -07:00
96a3ab5691
Backout taras's check-in for bug 398435 to help find Tp regression.
2007-10-16 17:31:01 -07:00
84afaf50ee
Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
2007-10-15 16:40:09 -07:00
58b0150420
add a comment explaining the 0x20..0x7f range
2007-07-23 20:30:00 -07:00
7cb36af6f8
bug 389106 escape spaces even for the OnlyNonASCII flag
...
r=bzbarsky sr=dveditz
2007-07-23 17:28:42 -07:00
42cbd68b18
Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <[email protected] >. r=benjamin, sr=cbiesinger.
2007-06-17 05:29:08 -07:00
[email protected]
263354dab2
Bug 288154 If the path has 0x7c in its name, firefox cannot open the file (Should encode 0x7c to %7C) r+sr=darin, a=benjamin
2005-07-28 14:51:17 +00:00
[email protected]
1d3d44346d
Bug 292908 r:/mozilla\intl\uconv\src\nsTextToSubURI.cpp(231) : warning C4309: 'argument' : truncation of constant value
...
r=dougt sr=darin a=shaver
2005-06-01 18:34:53 +00:00
[email protected]
3f56a910c2
bug 263462 : NS_UnescapeURL doesn't honor esc_OnlyNonASCII (r=darin, sr=jst)
2004-10-12 08:48:31 +00:00
[email protected]
a3a25b7454
bug 245399, part 2: use ' rather than ‘ for ' (single quote)
...
r+sr=jst
2004-06-08 10:47:09 +00:00
[email protected]
b461e3ac6f
Bug 245399: HTML-escape ' (single quote), too
2004-06-05 22:26:46 +00:00
[email protected]
7943a27fd5
bug 244911 nsEscape should document the meaning of the nsEscapeMask enum values
...
r+sr=darin
2004-06-01 19:55:01 +00:00
[email protected]
d109c836e0
fixes bug 240754 "Escape dots in the username and password when canonicalizing URIs" r=dougt sr=dveditz
2004-04-19 21:50:35 +00:00