Mike Hommey
924c9eb636
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
b6ae7d5d90
Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk
2015-04-28 18:29:22 +03: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
Jacek Caban
50943d7672
Bug 1142584 - Fixed nsEscape.cpp compilation on mingw GCC 4.8. r=nfroyd
2015-03-19 14:29:54 +01:00
Valentin Gosu
f561749154
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
93a86d1a91
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
e7f3e5289f
Bug 415491, part 2 - Implement a char16_t version of NS_EscapeURL. r=bzbarsky
2014-11-08 02:42:04 +00:00
Valentin Gosu
04a675301a
Bug 473822 - Square brackets not percent-encoded in URI's query-part. r=jduell
2014-09-06 01:32:04 +03:00
Birunthan Mohanathas
488f6b602e
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
51bcf8d525
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
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