Nathan Froyd
|
6807863306
|
Bug 965783 - part 2 - remove {Min,Max}Int; r=ehsan
|
2014-01-30 09:56:12 -05:00 |
|
Neil Rashbrook
|
465a600b29
|
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
|
2014-01-08 20:51:38 +00:00 |
|
Alessio Placitelli
|
71d2d8d004
|
Bug 950762 - Add fallible AppendUTF16toUTF8 and make DOMParser::ParseFromString fallible. r=jst, r=bsmedberg
|
2014-01-07 10:18:30 -05:00 |
|
Carsten "Tomcat" Book
|
15546f37d1
|
Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE
|
2014-01-07 15:18:43 +01:00 |
|
Jacek Caban
|
40790e8807
|
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
|
2014-01-07 14:54:52 +01:00 |
|
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 |
|
Henri Sivonen
|
75c00eb15b
|
Bug 951110 - Make AssertValidDepedentString() more informative. r=bsmedberg.
|
2013-12-19 10:15:34 +02:00 |
|
Jacek Caban
|
e2cd5ba18b
|
Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
|
2013-12-04 13:19:09 +01:00 |
|
Jacek Caban
|
12b4d7fd02
|
Bug 928351 - Char16.h and xpcom/strings/public parts r=ehsan,Waldo
|
2013-11-27 14:40:54 +01:00 |
|
Mike Hommey
|
822b855a64
|
Bug 943197 - Remove useless -DIMPL_LIBXUL. r=mshal
|
2013-11-27 17:13:05 +09:00 |
|
Benjamin Smedberg
|
9950de3641
|
Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj
--HG--
extra : rebase_source : f84278dfbba92c6d75458b525a559b6f8598500f
|
2013-11-25 15:06:17 -05:00 |
|
Ehsan Akhgari
|
5ae04a9cf8
|
Bug 941739 - Print the current process and thread information on XPCOM assertions and string leaks stats; r=froydnj
|
2013-11-21 14:17:35 -05:00 |
|
Ehsan Akhgari
|
e19377c4a9
|
Bug 936912 - Build xpcom in unified mode; r=froydnj
|
2013-11-18 21:34:00 -05:00 |
|
Mike Hommey
|
2812d11fce
|
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
|
2013-11-19 11:50:54 +09:00 |
|
Mike Hommey
|
e80e877ab7
|
Bug 939044 - Remove most definitions of MODULE. r=mshal
|
2013-11-19 11:47:39 +09:00 |
|
Mike Hommey
|
dda5b915fe
|
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
|
2013-11-19 11:47:28 +09:00 |
|
Mike Hommey
|
ffe0380912
|
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
|
2013-11-19 11:47:14 +09:00 |
|
Nathan Froyd
|
0cdfeef8f7
|
Bug 608915 - part 2 - use MFBT's double-conversion code in nsString::AppendFloat; r=bz,gps
|
2013-09-24 13:36:55 -04: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 |
|
Cykesiopka
|
d2f6b7333c
|
Bug 914270 - Part 1: Simple/Automated moves. r=joey
|
2013-10-24 18:51:00 +01:00 |
|
Mike Hommey
|
b000a846c2
|
Bug 929905 - Consolidate sources in moz.build. r=gps
|
2013-10-25 08:23:05 +09:00 |
|
Mike Hommey
|
59a17d0f20
|
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
|
2013-10-24 08:05:43 +09:00 |
|
Birunthan Mohanathas
|
6b14b1ac9d
|
Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan
|
2013-10-10 16:42:16 -04:00 |
|
Daniel Holbert
|
52e8bb0e2f
|
Bug 925066: Remove unused "#include nsDebug.h" from nsAlgorithm.h. r=jst
|
2013-10-09 17:13:49 -07:00 |
|
Daniel Holbert
|
9fc9f8ca72
|
Bug 925129: Remove VC9-and-earlier chunk from nsAlgorithm.h, since we don't support building with VC9 and earlier. r=ehsan
|
2013-10-09 17:03:34 -07:00 |
|
Ehsan Akhgari
|
769424ae11
|
Bug 918923 - Part 1: Fix the include-what-you-use pragmas in the string headers; r=bsmedberg
|
2013-09-23 13:23:56 -04:00 |
|
Joshua Cranmer
|
9a8d14b011
|
Bug 904985 - Use Char16.h in favor of NS_LL, Part 3: kill NS_LL. r=dbaron
--HG--
extra : rebase_source : bc105a8cbb87cc9b6b2db0734d9841fe599e794b
|
2013-09-17 22:43:21 -05:00 |
|
Joshua Cranmer
|
69250ebe86
|
Bug 904985, part 2: Use char16_t for NS_LITERAL_STRING, r=glandium, dbaron.
--HG--
extra : rebase_source : b4c9def93d907724fb4a1bc3f6279db87a11fb1f
|
2013-09-17 22:43:12 -05:00 |
|
Mike Hommey
|
f8bc7fa754
|
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
|
2013-09-05 09:01:46 +09:00 |
|
Boris Zbarsky
|
85316040d3
|
Bug 910795 part 1. Add a way to Rebind() an nsString to be a dependent string. r=bsmedberg
|
2013-09-04 16:43:12 -04:00 |
|
Nathan Froyd
|
122242a163
|
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg,jlebar
|
2013-08-22 11:14:42 -04:00 |
|
Ms2ger
|
bdfaa84f5b
|
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
|
2013-08-22 08:56:01 +02:00 |
|
Ms2ger
|
18cd92e9b4
|
Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey
|
2013-08-22 08:31:21 +02:00 |
|
Ryan VanderMeulen
|
cc2065da2b
|
Backed out changeset d389df23ffc9 (bug 884281) for OSX crashes.
CLOSED TREE
|
2013-08-21 13:27:00 -04:00 |
|
Nathan Froyd
|
3800160bd1
|
Bug 907728 - use function overloading instead of defaulted arguments for nsTSubstring::Assign; r=jlebar
|
2013-08-20 16:32:54 -04:00 |
|
Nathan Froyd
|
edd84bd0e5
|
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg
|
2013-08-20 11:21:31 -04:00 |
|
Ehsan Akhgari
|
2824b29025
|
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
|
2013-07-18 13:59:53 -04:00 |
|
Gregory Szorc
|
5cf35af589
|
No Bug - Removing empty Makefile.in files; r=me
|
2013-07-18 09:09:28 -07:00 |
|
Benoit Girard
|
be559fe75a
|
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium
|
2013-07-12 08:56:54 -04:00 |
|
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 |
|
Brian O'Keefe
|
11bcc1cd9e
|
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
|
2013-06-17 15:21:01 -04:00 |
|
Masatoshi Kimura
|
e3cf780dae
|
Bug 883436 - Remove prtypes.h #include from nsString.h. r=ehsan
|
2013-06-18 07:21:06 +09:00 |
|
Mike Shal
|
5169c0a913
|
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
|
2013-04-23 17:54:15 -04:00 |
|
Ted Mielczarek
|
3cfd62c3d2
|
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
|
2013-05-16 09:33:26 -04: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 |
|