Nathan Froyd
e715be2383
No bug - fix a comment in Move.h; irc-rs=Waldo DONTBUILD because comment fixes can't break anything...right?
2014-02-07 08:08:08 -05:00
Viktor Stanchev
3d5e397bfe
Bug 965837 - Add bool support to mozilla::Atomic. r=froydnj
2014-02-06 14:57:30 -05:00
Wes Kocher
f7eedc6c76
Backed out changeset ec696ad6ff10 (bug 963056) for build bustage on a CLOSED TREE
2014-02-05 16:19:06 -08:00
Birunthan Mohanathas
c0cd3833c6
Bug 963056 - Make MOZ_ARRAY_LENGTH a typesafe compile-time constant on compilers without constexpr support. r=Waldo
2014-02-05 17:46:05 -05:00
Kartikaya Gupta
2af12fb550
Bug 948984 - Add functions to fuzzily compare float numbers. r=bjacob, r=Waldo
2014-02-05 17:04:42 -05:00
Jeff Walden
6e9368251c
Fix obvious typo in 89e06a821ad5 (bug 963029) to reopen a CLOSED TREE. r=typo
2014-01-23 14:16:27 -08:00
Marcin Juszkiewicz
0ce0ec2548
Bug 963029 - AArch64 support for MFBT. r=froydnj
2014-01-23 16:34:31 -05:00
Nathan Froyd
48a604eace
Bug 961394 - update MOZ_ASAN_BLACKLIST to work with recent versions of GCC; r=ehsan
2014-01-21 12:51:03 -05:00
Nathan Froyd
54ee4b8229
Bug 961222 - fix documentation and indentation in Compiler.h; r=Waldo
2014-01-17 16:25:30 -05:00
Mike Hommey
5cb8d003cb
Bug 958404 - Recurse mfbt from top-level when building js standalone. r=gps
2014-01-20 09:11:45 +09:00
Luke Wagner
7afb79bd7c
Bug 960367 - OdinMonkey: compress source stored in in cache file (r=sstangl)
...
--HG--
extra : rebase_source : 0b4036078a28630f04ddb2e232f587d6268b8209
2014-01-17 17:34:33 -06:00
Ehsan Akhgari
225866570a
Bug 957358 - Restrict everything in Char16.h to C++; r=jcranmer
2014-01-12 14:55:02 -05:00
Benoit Jacob
cbe6d85e71
Bug 958375 - 2/9 - Add a variant of MOZ_ENUM_CLASS_ENUM_TYPE that works on template parameters - r=Waldo
2014-01-10 13:55:24 -05:00
Ehsan Akhgari
5d891337de
Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer
...
--HG--
extra : rebase_source : 372ddaf10a7c65fb6d0c0c44181c61fc93577a01
2014-01-07 22:16:17 -05:00
Ehsan Akhgari
309feacc21
Backed out changeset 07a4682a75f2 (bug 956507) because it has bitrotten
...
Landed on a CLOSED TREE
2014-01-07 23:02:23 -05:00
Ehsan Akhgari
cdb329adca
Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer
2014-01-07 22:16:17 -05:00
Jeff Walden
27874984d9
Bug 953296 - Implement mozilla::IsArray. r=froydnj
...
--HG--
extra : rebase_source : 3eb6fff774f28c39374f1e7c148f472d95e538c0
2013-12-30 01:07:32 -06:00
Jeff Walden
e8f647be21
Bug 953296 - Implement mozilla::IsRvalueReference and mozilla::IsReference. r=froydnj
...
--HG--
extra : rebase_source : 39cf8fa339f1ea640681fda0d0cda536e5228709
2013-12-30 01:07:25 -06:00
Jeff Walden
8127b4e199
Bug 953296 - Implement mozilla::IsClass and mozilla::IsEmpty. r=jcranmer
2013-12-30 01:07:39 -06:00
Jeff Walden
b01c238639
Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
...
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer. (Examples are provided in NullPtr.h comments.) The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes. This problem is unavoidable without true nullptr. Currently, the only valid use for NullptrT is believed to be in operator overloads. All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.
--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Ehsan Akhgari
58ee2029fd
Merge m-c into inbound
2014-01-04 12:14:57 -05:00
Ehsan Akhgari
ebd358dfd7
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
Robert O'Callahan
519f4983f1
Bug 944291. Part 1: Add SplayTree::find. r=waldo
2013-12-13 16:12:07 +13:00
Ms2ger
3d7c430460
Backout changeset 1e13634eceb2 for failures in R6/R10 on B2G ICS Emulator Opt.
2013-12-24 13:47:08 +01:00
Nathan Froyd
6133682d1c
Bug 952785 - relax GCC version requirements for MOZ_ENUM_TYPE; r=Waldo
2013-12-21 18:52:41 -05:00
Daniel Holbert
9f875dcacc
Bug 945121: Use DebugOnly to fix opt-only 'unused variable' build warning in TestCeilingFloor.cpp. r=Waldo
2013-12-20 13:41:48 -08:00
Terrence Cole
2e679fb1a1
Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke
2013-12-03 12:51:02 -08:00
Bobby Holley
f9aa149cb5
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-11 17:51:57 -08:00
Dan Gohman
0c22273d01
Bug 941715 - SpiderMonkey: Don't use DebugOnly in struct fields when size is relevant. r=jorendorff
2013-12-10 18:27:13 -08:00
Terrence Cole
7f6fe020bb
Backout changeset 70e76314c8a7 for build bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : 83e1e8a5a4802ef0b7b1d6f7dc0df6595bc9f00f
2013-12-10 15:26:05 -08:00
Jeff Walden
cc18c8cc79
Bug 946382 - Make RangedPtr::operator* assert that the pointer is in its range. r=Ms2ger
...
--HG--
extra : rebase_source : 86fcafaa38f9cd9dbf4b299a39e854e9da51c33a
2013-12-04 11:10:25 -08:00
Terrence Cole
1ba90fd085
Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke
2013-12-03 12:51:02 -08:00
Jeff Walden
4ff31eefe1
Move IsLvalueReference to the correct place, slightly beef up its documentation. No bug, r=trivial
...
--HG--
extra : rebase_source : 5998289e3993cd0384efe0ab7d21b8097dedac2f
2013-11-20 14:37:14 -08:00
Birunthan Mohanathas
759ab69b0a
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Phil Ringnalda
e2e1627d17
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Joshua Cranmer
2864f1b299
Bug 929200, part 1: Add MOZ_HEAP_ALLOCATOR to stack-only/non-heap analyses, r=Waldo.
...
--HG--
extra : rebase_source : 1ea94cf7a8ab7207d238c65877001549f3f828be
2013-12-06 21:23:06 -06:00
Bobby Holley
f5cb1b3082
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-06 12:01:41 -08:00
Carsten "Tomcat" Book
8eed12cc2f
Backed out changeset 004fa11e352a (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:40 +01:00
Bobby Holley
95ee5b5404
Bug 937317 - Implement basic script settings stack machinery. r=bz
2013-12-05 21:34:16 -08:00
Jacek Caban
e133be0275
Bug 946127 - Don't mark inline function as dllimport. r=Waldo
2013-12-05 10:55:52 +01:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
52ea70ff3d
Bug 943719 - Build MFBT in unified mode; r=froydnj,djvj
2013-11-27 18:59:50 -05:00
Ehsan Akhgari
de5477711e
Backed out changeset ea3392e0018f (bug 943719) because of build bustage on a CLOSED TREE
2013-11-27 19:50:02 -05:00
Ehsan Akhgari
813eabe121
Bug 943719 - Build MFBT in unified mode; r=froydnj,djvj
2013-11-27 18:59:50 -05:00
Anthony Jones
82d76badf0
Bug 888084 - Rolling mean for MFBT; r=waldo
2013-09-24 15:56:55 +12:00
Jacek Caban
db001e45e0
Bug 928351 - Char16.h and xpcom/strings/public parts r=ehsan,Waldo
2013-11-27 14:40:54 +01:00
Nicholas Nethercote
4d49232050
Bug 893857 (part 1) - Add LinkedList::SizeOf{In,Ex}cludingThis(). r=Waldo.
...
--HG--
extra : rebase_source : 1b170f930eb28127502b70c7b0b3d0181c11c2df
2013-11-24 15:20:12 -08:00
Bobby Holley
2c38d58f16
Bug 928636 - Whitespace changes. r=Waldo
2013-11-25 09:37:16 -08:00
Bobby Holley
cd4f39907e
Bug 928636 - Implement MOZ_RELEASE_ASSERT. r=Waldo
2013-11-25 09:37:15 -08:00
Benoit Jacob
21d9f061c3
Bug 924382 - Allow getting the integer type corresponding to a MOZ_BEGIN_ENUM_CLASS - r=Waldo
2013-11-23 21:20:38 -05:00
Jim Blandy
f0a0296f91
Bug 896100: Convert all uses of OldMove and MoveRef to true rvalue references and the modern Move and Forward. r=luke, r=waldo
2013-11-19 09:05:36 -08:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
57a2dfcb91
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
d7b6f95761
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
Joshua Cranmer
a63b835a52
Bug 935789, part 2: Implement RotateLeft/RotateRight in MFBT and use them, r=Waldo.
...
--HG--
extra : rebase_source : efda8cfde4ec1b8cee007f528d682830f43f9111
2013-11-12 18:24:56 -06:00
Jim Chen
da081c4f7c
Bug 935089 - Make ArrayLength, ArrayEnd, and PodArrayZero accept mozilla::Array argument; r=Waldo
2013-11-12 17:31:15 -05:00
Nathan Froyd
19ffd38bd1
Bug 608915 - part 1 - extend ToPrecision to tell use whether exponential notation was used; r=Waldo
2013-11-07 12:46:05 -05:00
Chris Peterson
b821bac13d
Bug 935370 - Inline all the Pod functions. r=waldo
...
--HG--
extra : rebase_source : 289cbc836eead85e5b7feac94c1c6d6ee5cd68de
2013-11-04 18:52:51 -08:00
Jeff Muizelaar
df3077c1c3
Bug 932454. Make Atomics.h compilable with clang on Windows. r=nfroyd,jwalden
...
MSVC is sloppy with typedefs leaking. Clang is more strict.
--HG--
extra : rebase_source : e8000f43391f8a32fbde96d54ff11e09e49345f9
2013-10-29 17:55:38 -04:00
Karl Tomlinson
3637d636de
b=856850 add PodMove r=Waldo
...
--HG--
extra : transplant_source : %27%04%F0%2B%96%1B0%A7%DB%81D%26%81%A0u%C9j%3E%A2%B0
2013-11-05 13:02:54 +13:00
Dan Gohman
c0da77c4d5
Bug 930708 - IonMonkey: Factor out a DoubleEqualsInt32 from DoubleIsInt32 and use it when negative zero is to be treated as zero. r=nbp
2013-11-02 14:29:44 -07:00
Masatoshi Kimura
b54404c0c1
Bug 933586 - Define MOZ_HAVE_CXX11_DELETE for MSVC 12+. r=waldo
2013-11-02 17:57:40 +09:00
Brian O'Keefe
74d92c2d28
Bug 870401 - Fix up the MFBT exports and the sources. r=mshal
2013-10-28 10:21:29 -04:00
Cykesiopka
a3710e5c11
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Benjamin Bouvier
733919732e
Bug 913282: IsFloat32Representable function in mfbt; r=Waldo
...
--HG--
extra : rebase_source : 0d4d6f02b880c37d29e3e41e9d105365d9f941b0
2013-10-22 14:55:35 +02:00
Benjamin Bouvier
04a6f84917
Bug 913282: More Float32 operators: Abs; p=dougc,bbouvier; r=jonco,sstangl
...
dougc for the ARM parts, bbouvier for the rest.
2013-10-22 14:53:12 +02:00
Masatoshi Kimura
610685c38b
Bug 928210 - Get rid of MOZ_INLINE
2013-10-22 06:34:24 +09:00
Ehsan Akhgari
df142464b8
Bug 928091 follow-up: Rewrite the comment in English
...
--HG--
extra : rebase_source : 9b8c45128f10aa00e0a8e1ab17156c2a42e812db
2013-10-18 20:34:49 -04:00
Ehsan Akhgari
8dd4ae958c
Bug 928091 - Fix builds for VS2012 and VS2013 to deal with our char16_t machinery; pending r=Waldo
...
Landing on a CLOSED TREE because this is blocking multiple people. My apologies!
2013-10-18 18:49:22 -04:00
Till Schneidereit
c160cdb8ef
Bug 888658 - Add LZ4 compression to mfbt. r=jwalden,vlad
...
--HG--
extra : rebase_source : e92051145948cd3c1e6f95596563d8c13e231ee3
2013-10-18 20:25:30 +02:00
Vladimir Vukicevic
479e7c4efb
Bug 888658 - Assertions.h fixup for windows. r=jwalden
...
--HG--
extra : rebase_source : 7e7fb741860c2603aa1b838eff7761ddcd50e867
2013-10-15 09:07:00 +02:00
Reuben Morais
e98ada57a9
Bug 921871 - Fix -Wunitialized warning in Vector.h. r=Waldo
...
--HG--
extra : rebase_source : 117d37c7a44c79c6a3b446f3828e5464fc9e391f
2013-10-17 18:29:46 -03:00
Christian Holler
29ea66c471
Bug 847350 - Add/Update MOZ_ASAN/TSAN_BLACKLIST macros. r=waldo
...
--HG--
extra : rebase_source : c4c58d30ff0b46ca57093cc0b3bbc37af56f2095
2013-10-17 16:29:11 +02:00
Ehsan Akhgari
eb82766684
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Phil Ringnalda
b6be4e4a2d
Back out ee100983f921 (bug 895047) for build bustage
...
CLOSED TREE
2013-10-16 21:51:55 -07:00
Ehsan Akhgari
2d5e8722de
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Ehsan Akhgari
76272a36ed
Bug 923554 - Backout the atomic weak pointer implementation because it's neither atomic nor thread-safe; r=froydnj
2013-10-16 13:48:34 -04:00
Ehsan Akhgari
12d0a13b3c
Bug 926083 - Only #include Compiler.h in NullPtr.h if needed; r=froydnj
2013-10-15 17:13:39 -04:00
Ehsan Akhgari
738f5fd13e
Bug 924014 - Do not rely on std::numeric_limits<char16_t> being available; r=Waldo
2013-10-15 11:55:37 -04:00
Ehsan Akhgari
aa977286d4
Bug 924012 - Provide a HashString version for char16_t if needed; r=Waldo
2013-10-15 11:54:08 -04:00
Ehsan Akhgari
5867b7e895
Bug 923886 - Remove the Assertions.h #include from Char16.h; r=Waldo
2013-10-05 21:23:07 -04:00
Dan Gohman
5d9cc1f359
Bug 924637 - Document a somewhat counterintuitive case in ExponentComponent, and add test coverage for it. r=waldo
2013-10-09 06:41:42 -07:00
Gian-Carlo Pascutto
4338131444
Bug 923170 - Require GCC 4.6.x before enabling strong enum support. r=Waldo
2013-10-08 15:25:13 -04:00
Birunthan Mohanathas
a3a95ea5c8
Bug 918436 - Make the type argument of MOZ_BEGIN(_NESTED)_ENUM_CLASS optional and add tests. r=Waldo
2013-10-04 13:17:13 -04:00
Jim Blandy
0a4f6d7144
Bug 919337: Use static_assert in double_conversion::BitCast. r=waldo
2013-09-29 21:18:26 -07:00
Bobby Holley
4a41eab060
Bug 917593 - Don't assert for zero-length strings. r=Waldo
2013-09-27 18:34:24 +02:00
Mike Hommey
0f42ae96d7
Bug 919832 - Remove EXPORTS related rules from rules.mk. r=gps
2013-09-26 16:43:52 +09:00
Ryan VanderMeulen
6977513694
Backed out changeset 74459407359a (bug 917593) for Windows debug checktest asserts.
2013-09-24 16:20:15 -04:00
Bobby Holley
43d3b4a447
Bug 917593 - Don't assert for zero-length strings. r=Waldo
2013-09-24 08:03:22 -07:00
Benjamin Bouvier
bcf0b47126
Bug 913282: Add mfbt Float32 asserts and constants; r=Waldo
2013-09-20 12:08:49 -07:00
Dan Gohman
e79a8b021c
Bug 918350 - Change UnspecifiedNaN's bit pattern to be the all-ones NaN. r=waldo
2013-09-19 18:47:55 -07:00
Dan Gohman
463a7c338e
Bug 918350 - SpiderMonkey: Remove js_NaN in favor of a new mozilla::GenericNaN() function. r=waldo
2013-09-19 18:42:56 -07:00
Joshua Cranmer
4a4a5f9a8d
Bug 904985, part 1: Add better support for char16_t in type traits, r=Waldo.
...
--HG--
extra : rebase_source : 45cb9155312ead0b8164e1e460c9fd2e39f0d6fc
2013-09-17 22:43:04 -05:00
Jonathan Watt
e7681d121b
Bug 909467 - HTMLInputElement crash loading 8bit.js test (consistantly link against the correct StringBuilder). r=Waldo
2013-09-17 13:24:35 +01:00
Seth Fowler
11f1b0d393
Bug 912299 - Make RefCounted's refcount field mutable. r=waldo
2013-09-06 13:32:55 -07:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00