Mike Hommey
d01870f66f
Bug 892401 - Remove NEW_H. r=ted
2013-07-12 09:16:41 +09:00
Joey Armstrong
250777fa49
bug 883350: move SDK_HEADERS to mozbuild (file batch #1 ) r=mshal
2013-07-01 17:24:53 -04:00
Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Masatoshi Kimura
e3cf780dae
Bug 883436 - Remove prtypes.h #include from nsString.h. r=ehsan
2013-06-18 07:21:06 +09:00
Aryeh Gregor
b8a4c64af3
Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz
2013-04-22 14:13:22 +03:00
Jeff Walden
9fdc0b1be6
Bug 866988 - Remove the HAVE_CPP_PARTIAL_SPECIALIZATION autoconf define, and the test for template specialization working at all. Any compiler not supporting either of these is so incredibly doomed it's not worth the pain of testing them. Plus we use both features liberally without testing these defines first, so they're basically pointless. r=ted
2013-04-13 19:04:38 -07:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Joshua Cranmer
c8f20f3eb1
Bug 856108 - Port static analyses to clang, part 2f: use MOZ_STACK_CLASS in xpcom. r=bsmedberg
2013-04-11 22:21:40 -05:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Hommey
347a7c2d09
Bug 852950 - Kill libxpcom. r=bsmedberg
...
Also refactored the xpcom standalone glue to reside in a single file and
removed its use of realpath().
--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Hommey
8cf8cff7ce
Backout changeset f12e5c87adf6 (bug 852950) because it breaks running from dist/bin
2013-03-20 23:59:45 +01:00
Mike Hommey
fa1c295631
Bug 852950 - Kill libxpcom. r=bsmedberg
...
--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Ms2ger
669cc4360c
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Benjamin Smedberg
01e6561a72
Bug 863263 part A - Modify some code in nsReadableUtils to support fallible and infallible variations of AppendUTF8toUTF16, r=jlebar
2013-03-08 12:27:58 -05:00
Gregory Szorc
45faa95b04
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
8958bacc6e
Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted
2013-02-25 13:20:02 -08:00
Cykesiopka
5679cd4a46
Bug 326317 - Fix issues with comments in nsTSubstring.h. r=dbaron
2013-02-25 09:07:15 -05:00
Jeff Muizelaar
4523940a3b
Bug 835470. Add operator== for char_type. r=bsmedberg
...
Just a matter of hooking it up to Equals().
QString, std::string, WTFString all have these.
--HG--
extra : rebase_source : b6046c6fafc4224132462cdbf88f8e72e701b333
2013-01-29 14:51:46 -05:00
Nils Maier
f469f05bf8
Bug 761552 - Part 1: Provide UTF8ToUnicode functions accepting a buffer. r=jlebar
...
UTF8ToUnicode does not let the caller specify the buffer to use, but allocates
the buffer on it's own. Hence the caller cannot choose which allocator to use.
Rectify this by providing new APIs.
1. Split UTF8ToNewUnicode into:
- CalcUTF8ToUnicodeLength
- UTF8ToUnicodeBuffer
2. Rebuild UTF8ToNewUnicode using the new functions
2013-01-29 10:50:04 -05:00
Nicholas Nethercote
59b1ac9057
Bug 826521 (part 1) - Add SizeOfIncludingThisEvenIfShared() for strings. r=bz.
...
--HG--
extra : rebase_source : 5c10fc346ba0c5fa76d947a97254e9ebc49353e1
2013-01-17 21:21:35 -08:00
Jeff Muizelaar
656d4aaa63
Bug 786533. Add a comment about the purpose of XPCOM_MIN/MAX. r=ehsan
...
--HG--
extra : rebase_source : 97ed3b670dee51b929344e1222be0d61ce18b3af
2013-01-15 11:26:58 -05:00
Mats Palmgren
5f5d30eb5b
Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan
2013-01-15 13:22:03 +01:00
Boris Zbarsky
a6929b0c24
Bug 820909. Make LowerCaseEqualsASCII and LowerCaseEqualsLiteral actually do ASCII-case-insensitive matching instead of doing odd things with KELVIN SIGN and LATIN CAPITAL LETTER I WITH DOT ABOVE. r=bsmedberg, sr=dbaron
2012-12-26 13:42:39 -08:00
Neil Rashbrook
41d5c4cd99
Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron
2012-12-22 20:40:37 +00:00
Robert Longson
325705cd2f
Bug 818391 - Add std::abs(long long) for VC9 since it lacks this C++11 signature. r=mats,jlebar
2012-12-05 23:26:28 +01:00
Chris Peterson
5bb411c865
Bug 796948 - Part 4: Remove unused USE_CPP_WCHAR_FUNCS and literal_string code. r=ehsan
2012-10-29 22:30:19 -07:00
Mats Palmgren
924e59e0d0
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Ehsan Akhgari
42ca01163b
Bug 800106 - Drop inline annotations in nsUTF8Utils.h; r=dbaron
2012-11-07 14:14:27 -05:00
Rafael Ávila de Espíndola
855e1fdf1f
Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
2012-10-24 15:42:54 -04:00
Justin Lebar
822f4ea0b7
Bug 802469 - Make misuse of NS_LITERAL_{C,}STRING a compile error. r=bsmedberg
2012-10-24 12:53:22 -04:00
Phil Ringnalda
76826e4d74
Back out 46e58a7ec55e and 597981ef2ef5 (bug 777122) for Windows build failures
2012-10-24 07:38:20 -07:00
Rafael Ávila de Espíndola
25461f7b40
Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
...
Record late writes to disk and unique them with sha1.
2012-10-24 09:27:49 -04:00
Ehsan Akhgari
4139eb035b
Backout the nsUTF8Utils.h part of changeset 531b7f4293e9 (bug 800106) because of Kraken regressions on Windows XP
2012-10-23 21:10:34 -04:00
Jacek Szpot
6a6b45d771
Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan
2012-10-23 13:31:22 +02:00
Ehsan Akhgari
2c1575558e
Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression
2012-10-22 16:44:09 -04:00
Jacek Szpot
057be630c0
Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan
2012-10-19 10:33:33 +02:00
Ehsan Akhgari
ee902c51f9
Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP
2012-10-15 14:19:55 -04:00
Jacek Szpot
06b915eb2e
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Nathan Froyd
2a14d9b274
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Ehsan Akhgari
bd2885b68c
Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms
2012-10-02 23:16:36 -04:00
Nathan Froyd
c2fddb8f07
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Makoto Kato
3acf1dcf48
Bug 786579 - Remove old MSVC (<=2003) support. r=khuey
2012-09-28 16:02:40 +09:00
Steve Workman
08b092b0f9
Bug 790807: Add 64 bit nsAString::ToInteger; r=bsmedberg
2012-09-17 21:10:50 -04:00
Ehsan Akhgari
f4a93b7422
Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
...
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04: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