James Kitchener
ee57f16151
Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg
2014-02-03 22:57:56 +10:30
Ehsan Akhgari
1b83407ce9
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
4fc038aac3
Bug 941405 - Remove the usages of the register keyword from XPCOM; r=froydnj
2013-11-21 10:42:40 -05:00
Matt Brubeck
3919e75e03
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
04bddc47a6
Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg
2013-11-04 14:22:37 -05:00
Birunthan Mohanathas
0cfca404c5
Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan
2013-10-10 16:41:39 -04:00
Makoto Kato
eada8e34f0
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05: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
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Shriram Kunchanapalli
5b9a95ea6a
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Shriram Kunchanapalli
86b1d55b6f
Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt
2012-02-18 19:17:01 +05:30
Ryan VanderMeulen
503ea93a8c
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
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
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
Julian Reschke
af0dfc9e86
Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup
2011-08-22 16:51:52 +02:00
Matheus Kerschbaum
8a4cb927fd
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
timeless@mozdev.org
9f31b3da5e
Bug 562528 - comparison between signed and unsigned integer expressions in nsEscapeHTML2, r=bsmedberg
...
--HG--
extra : rebase_source : 995cb88bc3bdb692ea154be2ebee597b0f777e58
2010-04-28 17:58:00 -07:00
Daniel Veditz
87eae8b89c
bug 464998 - r+sr=bsmedberg, a=beltzner
2008-11-19 11:55:59 -05:00
Daniel Veditz
3ab8ffe9cb
bug 455987 crash fix, r/sr=bsmedberg
2008-10-24 16:15:33 -07:00
Michal Novotny
70da375aea
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
reed@reedloden.com
59d2451ae9
Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]
2007-10-19 16:26:52 -07:00
reed@reedloden.com
b60e8823f4
Backout taras's check-in for bug 398435 to help find Tp regression.
2007-10-16 17:31:01 -07:00
tglek@mozilla.com
2145eeea65
Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
2007-10-15 16:40:09 -07:00
cbiesinger@gmx.at
cf5b0ddf59
add a comment explaining the 0x20..0x7f range
2007-07-23 20:30:00 -07:00
cbiesinger@gmx.at
a882eb62e4
bug 389106 escape spaces even for the OnlyNonASCII flag
...
r=bzbarsky sr=dveditz
2007-07-23 17:28:42 -07:00
kherron@fmailbox.com
46876b4cf8
Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger.
2007-06-17 05:29:08 -07:00
masayuki%d-toybox.com
8638a80595
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
timeless%mozdev.org
2c85cc0bd1
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
jshin%mailaps.org
5c19105292
bug 263462 : NS_UnescapeURL doesn't honor esc_OnlyNonASCII (r=darin, sr=jst)
2004-10-12 08:48:31 +00:00
mozilla.BenB%bucksch.org
c79957a8f9
bug 245399, part 2: use ' rather than ‘ for ' (single quote)
...
r+sr=jst
2004-06-08 10:47:09 +00:00
mozilla.BenB%bucksch.org
c9b08c0bc9
Bug 245399: HTML-escape ' (single quote), too
2004-06-05 22:26:46 +00:00
cbiesinger%web.de
13366b51ba
bug 244911 nsEscape should document the meaning of the nsEscapeMask enum values
...
r+sr=darin
2004-06-01 19:55:01 +00:00
darin%meer.net
c9f9e1f23c
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
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
jshin%mailaps.org
026e966b62
bug 228176 : in the previous checkin, missed the reviewer comment about the name change (exclude -> skip)
2004-01-07 04:17:40 +00:00
jshin%mailaps.org
8ea11801c8
bug 228176 exclude control characters from unescaping URLs for the UI : r=darin, sr=jst
2004-01-07 03:57:20 +00:00
dougt%netscape.com
0d2808c511
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
andreas.otte%debitel.net
0f9fa9ad78
fix bug 193477 [URL: colon ":" in URI is escaped in request (not scheme or port delimiter)] no longer escape the colon when it is part of the filename in urls, but force it's escape in links when building dir/index listings, r=bbaetz@acm.org, sr=darin@netscape.com
2003-02-27 13:15:19 +00:00
darin%netscape.com
f1a6738b6c
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
cathleen%netscape.com
8baf662f08
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
2002-02-20 06:38:38 +00:00
darin%netscape.com
e4ecaec549
fixes first part of bug 109179 "replace NS_EscapeURL with NS_EscapeURLPart"
...
r=andreas.otte@debitel.net
sr=alecf@netscape.com
2002-01-11 23:02:22 +00:00
andreas.otte%debitel.net
9269c5db81
Fix bug 108575 [rethink contents of escape matrix] Change escaping of
...
', ~ and @ to better reflect rfc 2396, r=dougt@netscape.com , sr=darin@netscape.com
2001-12-21 22:29:02 +00:00
darin%netscape.com
36a44ba4ac
landing standard url rewrite (bug 103916)
...
r=andreas.otte@debitel.net , sr=brendan,alecf
2001-11-16 02:09:13 +00:00
dbaron%fas.harvard.edu
8cd8d91750
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
2001-11-07 06:24:10 +00:00
andreas.otte%primus-online.de
a9bb735c64
fix bug 61269 ['%' will get URL-escaped to "%25" if not followed by 2
...
hexadecimal digits] We no longer escape an % which is not followed by
two hex characters, at least not until forced. This is more compatible
with current usage in other browsers. r=dougt@netscape.com ,
sr=darin@netscape.com
2001-11-03 14:55:57 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
andreas.otte%primus-online.de
96f6859891
fix bug 84409 [Incorrect request for page components if main page URL contains ";" character] Implementing param support according to RFC 2396, r=dougt, sr=rpotts
2001-08-21 20:35:01 +00:00