Ehsan Akhgari
29dee5fb33
Bug 1114979 - Annotate some strong and weak references in MFBT; r=froydnj
...
--HG--
extra : rebase_source : 63d9ca59f8f6be06efd087600c8fd5c5f52e5cd1
2014-12-23 17:26:28 -05:00
Dan Gohman
ad1ced437b
Bug 1113445 - SpiderMonkey: Handle -0 properly in SIMD.float32x4.signMask r=bbouvier,waldo
2014-12-23 13:52:49 -08:00
Ehsan Akhgari
2968daa4a4
Bug 1114696 - Add MOZ_STRONG_REF and MOZ_WEAK_REF annotations; r=froydnj
2014-12-22 18:16:55 -05:00
Ehsan Akhgari
c102783127
Bug 1114267 - Part 2: Add MOZ_TRIVIAL_CTOR_DTOR to MOZ_ONLY_USED_TO_AVOID_STATIC_CONSTRUCTORS in non-debug builds; r=jrmuizel
2014-12-22 18:16:16 -05:00
Ehsan Akhgari
e66c428356
Bug 773014 - Part 2: Mark Static{Auto,Ref}Ptr as global-only; r=jrmuizel
2014-12-22 18:10:44 -05:00
Jacek Caban
91512e330e
Bug 1114368 - Use GCC builtins in MathAlgorithms.h on mingw. r=froydnj
2014-12-22 12:38:41 +01:00
Ehsan Akhgari
f18ffaa363
Bug 1114351 - Use mozilla::IsNaN() in DOUBLE_TO_JSVAL(); r=Waldo
...
Note that this requires making sure that IsNaN is constexpr because it
needs to be passed to the constexpr IMPL_TO_JSVALUE() function in
DOUBLE_TO_JSVAL().
--HG--
extra : amend_source : dbd8bb0659b53e7d36d2600ac97f0a753ef772c7
2014-12-21 19:16:49 -05:00
Ehsan Akhgari
76e3eddf4f
Clarify the MakeUnique documentation (comment only change, no bug)
...
DONTBUILD, CLOSED TREE
--HG--
extra : amend_source : 92e8482f1dfb6f9f47acdec1e570d62887257122
2014-12-19 17:51:10 -05:00
Benjamin Peterson
46e70d4001
No bug - fix typo r=me
2014-12-19 12:40:30 -06:00
Ehsan Akhgari
85b0d6dac6
Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel,cpearce
...
Note that the analysis currently just looks at the AST subtree of the
function call site and is therefore unable to correctly deal with cases
such as the last two hunks of the change to OggCodecState.cpp. Fixing
the analysis to deal with that would be very difficult, so we currently
adjust the code so that it compiles. The first hunk in that file though
is a real bug that this analysis found.
2014-12-18 15:27:05 -05:00
Ryan VanderMeulen
c51c7d8b9a
Backed out changesets acb4dd16755c and 40768f723990 (bug 867348) for static analysis bustage.
...
CLOSED TREE
2014-12-18 15:59:51 -05:00
Ehsan Akhgari
eef6ef9805
Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel
...
Note that the analysis currently just looks at the AST subtree of the
function call site and is therefore unable to correctly deal with cases
such as the last two hunks of the change to OggCodecState.cpp. Fixing
the analysis to deal with that would be very difficult, so we currently
adjust the code so that it compiles. The first hunk in that file though
is a real bug that this analysis found.
--HG--
extra : rebase_source : b44bb6d90d95551d860e0b5a1afcf2bb35cde084
2014-12-18 15:27:05 -05:00
Ehsan Akhgari
6459c43ef8
Bug 1111255 - Remove some code specific to MSVC7 from MFBT; r=froydnj
...
--HG--
extra : amend_source : 3662850820de462e108212626dc7bc1c9e22122e
2014-12-14 14:58:13 -05:00
Ehsan Akhgari
0bf99c7386
Bug 1111247 - Treat C++11 enum types as available on all MSVC versions; r=froydnj
...
Since we don't support anything older than MSVC2005...
--HG--
extra : amend_source : 80ad15c08f19448f8e896989392c78f1437e982d
2014-12-14 14:56:23 -05:00
Nicholas Nethercote
8f6ce9cbe4
Bug 1109407 - Give SegmentedVector a default segment size. r=froydnj.
...
--HG--
extra : rebase_source : 0ceae77c9fec06bbd8c3231434f62fc0e83d9bf1
2014-12-11 14:11:43 -08:00
Ehsan Akhgari
c13155ecb9
Bug 1109729 - Fix more bad implicit constructors in mfbt; r=froydnj
2014-12-10 17:47:42 -05:00
Nicholas Nethercote
af3f96aef4
Bug 1102525 (part 2) - Add SegmentedVector to MFBT. r=froydnj.
...
This is based on the SegmentedArray type from nsCycleCollector.cpp.
--HG--
extra : rebase_source : 06d2feea3233e5ddd3c47d18c53a661de8a06bb2
2014-12-08 14:45:13 -08:00
Nicholas Nethercote
a380fc6e28
Bug 1102525 (part 1) - Add InfallibleAllocPolicy to mozalloc. r=glandium.
...
--HG--
extra : rebase_source : a79162fb7f73e52c5c8df29c8229efc64c3451e5
2014-12-08 14:45:10 -08:00
Jeff Walden
f70bb237d7
Bug 1105261 - Revert fresh vectors to not prereserving their inline allocation space, because the guaranteed extent of that space is an implementation detail. r=nbp
2014-11-26 16:01:19 -05:00
Phil Ringnalda
b978aefc5b
Backed out 2 changesets (bug 1052139, bug 1105261) for b2g desktop crashes
...
CLOSED TREE
Backed out changeset 72c672d91f9c (bug 1052139)
Backed out changeset e3ce0e3a147c (bug 1105261)
2014-12-01 18:25:53 -08:00
Jeff Walden
3ed70b1ec9
Bug 1105261 - Revert fresh vectors to not prereserving their inline allocation space, because the guaranteed extent of that space is an implementation detail. r=nbp
...
--HG--
extra : rebase_source : ec5431786f504651b1f8a4a019da6e537b6ac175
2014-11-26 16:01:19 -05:00
Masatoshi Kimura
23528b292d
Bug 1094012 - Assume Win7 or later on Win64. r=jimm
2014-11-24 22:18:10 +09:00
Nathan Froyd
ea5de74f9c
Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc
2014-11-14 13:12:51 -05:00
Matthew Gregan
002c42bb98
Bug 1097512 - Allow using compound operators where the LHS and RHS are both CheckedInt<T>. r=jwalden+bmo
2014-11-14 16:13:23 +13:00
Tom Tromey
b8851f5955
Bug 1093823 - Avoid valgrind report from ThreadLocal<bool>. r=froydnj
2014-11-07 08:41:00 -05:00
Dan Gohman
9f02beb859
Bug 1094052 - IonMonkey: Fix range analysis for Math.sign(-0) r=nbp,h4writer
2014-11-05 08:38:40 -08:00
Nicholas Nethercote
3b6982b11b
Bug 1091986 (part 1) - Remove an over-zealous assertion in Vector.h.
2014-10-30 19:48:10 -07:00
Jim Blandy
c85a880032
Bug 1091882: Simplify some uses of mozilla::PointerRangeSize, and clarify comment. r=waldo
2014-11-03 15:55:59 -08:00
Jacek Caban
16e6545e3d
Bug 1091594 - Added explicit integer casts to char16ptr_t. r=jmathies
...
--HG--
extra : rebase_source : b351ddfcd263c8dfee436f00ab8a917d8bfc36e2
2014-11-03 14:09:48 +01:00
Mike Hommey
21ec48314e
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
David Rajchenbach-Teller
5ef5b3acf4
Bug 1075134 - MOZ_LSAN macros. r=froydnj
2014-10-21 13:00:54 +02:00
Ehsan Akhgari
4db1e110ea
Bug 1080968 - Add support for constexpr and explicit conversions on clang-cl; r=froydnj
...
--HG--
extra : rebase_source : ef22967d83577e70d5e6e122bf5322f31eeb97d0
2014-10-10 18:29:56 -04:00
Ehsan Akhgari
e39bb4d04e
Bug 1080946 - Don't mark ASAN poisoning functions as dllexport on Windows; r=njn
...
--HG--
extra : rebase_source : da03e54614b995138ecaead7ae1ef7b35daf3961
2014-10-10 10:33:16 -04:00
David Major
daedbda5ae
Bug 1080297 - Use native inttypes.h on VS2013. r=glandium
2014-10-09 21:06:30 +13:00
Dan Gohman
2180277e21
Bug 1077720 - IonMonkey: Optimize MPhi's addInput and addInputSlow r=nbp
2014-10-08 15:04:12 -07:00
Nicholas Nethercote
7145b4a22b
Bug 1074591 (part 3) - Fix unbounded growth in JSONWriter's vectors(!). r=froydnj.
...
--HG--
extra : rebase_source : 364c0295c0b86e0f29dac3772acadbd0e1ab9d9f
2014-10-02 18:01:41 -07:00
Nicholas Nethercote
f322a5675d
Bug 1074591 (part 2) - Remove Pointer{Element,Property}() from JSONWriter. r=froydnj.
...
--HG--
extra : rebase_source : db07aa93df880e201eba866cb791ccaa245f0ef8
2014-10-02 18:01:32 -07:00
Nicholas Nethercote
d18635e7ce
Bug 1074591 (part 1) - Allow JSON collections to be printed on a single line. r=froydnj.
...
--HG--
extra : rebase_source : d576a70d2d1ff83311ab8cce849ec0b5a6b3fa80
2014-10-02 18:01:19 -07:00
Jan Beich
a3ad22f376
Bug 1073709 - Disable C++11 <atomic> when using GCC with libc++. r=waldo
2014-09-26 15:15:00 +02:00
Ehsan Akhgari
7cf0370b09
Bug 1071575 - Fix more bad implicit constructors in MFBT; r=froydnj
...
--HG--
extra : rebase_source : 2bbcb50e44f59f23dbccc949b917ca3b73c1617f
2014-09-23 21:30:36 -04:00
Chris Peterson
df0925ad6d
Bug 990764 - Remove MOZ_ASSUME_UNREACHABLE and MOZ_NIGHTLY_ASSERT macros. r=Waldo
2014-06-29 19:21:50 -07:00
Masayuki Nakano
1c6bd23296
Bug 1069726 Don't use non-ASCII characters in cpp files for avoiding bustage with Visual Studio in some locales r=njn
2014-09-19 20:34:13 +09:00
Nicholas Nethercote
4f913989b7
Bug 1067699 (part 2) - Add mfbt/JSONWriter.h and use it for memory reporting. r=froydnj.
...
--HG--
extra : rebase_source : 7eb21c4c20c0434b3b236d1c53cbef9cb6a4759c
2014-09-14 23:36:18 -07:00
Nicholas Nethercote
9a8bee0c06
Bug 1067699 (part 1) - Export double-conversion.h normally from MFBT. r=froydnj.
...
--HG--
extra : rebase_source : 14c3d827f4d8015d8326612e82782c52dcf7335d
2014-09-16 23:33:05 -07:00
Christian Holler
ac0ab82770
Bug 1058500 - Add MSan support to the build system. r=ted,waldo
2014-09-11 23:21:46 +02:00
Kearwood (Kip) Gilbert
7d4f4b04ca
Bug 1062406 - Part 1 - Change x and y parameters of window.scroll* CSSOM-View DOM calls from double to unrestricted double. r=bz
...
- WebIDL updated so that x and y parameters of window.scroll, window.scrollTo,
and window.ScrollBy are changed from "double" to "unrestricted double".
- Implemented mozilla::ToZeroIfNonfinite
- Updated nsGlobalWindow::Scroll, ScrollTo, and ScrollBy methods so that they
replace non-finite numbers with 0.
2014-09-09 12:02:00 +02:00
Jed Davis
7837137d14
Bug 1059038 - Move mozilla::unused from xpcom/glue to mfbt. r=Waldo
...
--HG--
rename : xpcom/glue/unused.cpp => mfbt/unused.cpp
rename : xpcom/glue/unused.h => mfbt/unused.h
2014-08-29 10:11:00 +02:00
Jeff Walden
0e97ceb06f
Bug 1064451 - Convert assertion-expression-type checking code to not perform a function call. r=froydnj
...
--HG--
extra : rebase_source : d88adf94137dca875444c4aa8c7b3e9ce9c7dedd
2014-09-07 01:04:09 -07:00
Hannes Verschore
a027299d54
Bug 1061764 - Atomic<bool, Relaxed> should mean no synchronization on windows x86, r=froydnj
2014-09-04 11:08:00 +02:00
Ehsan Akhgari
9ccddf16ac
Bug 1062073 - Mark BinarySearchDefaultComparator's constructor as explicit; r=froydnj
...
--HG--
extra : rebase_source : 373682d496f5e4bcf528593dc8cdff55fe9f9698
2014-09-03 18:25:13 -04:00
Mike Hommey
c2a27deef9
Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal
2014-09-03 14:16:37 +09:00
Mike Hommey
8fd95ad480
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Georg Fritzsche
e1bff79b5b
Bug 1059179 - Add BinarySearchIf(). r=waldo
2014-09-01 19:26:16 +02:00
Ehsan Akhgari
d1451fb2a2
Bug 1060375 - Mark the Maybe(Nothing) constructor as implicit; r=froydnj
2014-08-29 18:13:04 -04:00
Botond Ballo
5c4c5a99ec
Bug 965022 - Introduce a PRIuSIZE macro for printing std::size_t. r=jrmuizel
...
--HG--
extra : rebase_source : 7994c75e65da7506938bb2746e9e86607bc32792
2014-08-25 18:28:04 -04:00
Seth Fowler
d4f04102f2
Bug 1057840 (Part 2) - Expand MSVC version bounds for decltype scope operator workaround. r=waldo
2014-08-26 13:57:45 -07:00
Seth Fowler
7a1f1d7f38
Bug 1057840 (Part 1) - Expand GCC version bounds for decltype scope operator workaround. r=waldo
2014-08-26 13:57:43 -07:00
Ryan VanderMeulen
dc257cd65c
Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
...
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
f1575bf2db
Bug 965022 - Introduce a PRIuSIZE macro for printing std::size_t. r=jrmuizel
2014-08-25 18:28:04 -04:00
Birunthan Mohanathas
d41e6af583
Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo
2014-08-25 12:17:32 -07:00
Seth Fowler
5fb14cfb03
Bug 913586 (Part 9) - Add more useful features to the Maybe<T> API. r=waldo
...
* * *
Bug 913586 (Part 10) - Add a test for Maybe<T>. r=waldo
2014-08-22 00:43:02 -07:00
Ehsan Akhgari
2e2cc017a6
Bug 1055001 - Make Maybe's constructor explicit; r=froydnj
2014-08-18 15:18:30 -04:00
Terrence Cole
3fbb2fe80f
Bug 1033442 - Remove non-pod realloc from MallocProvider and AllocPolicy; r=jonco
...
--HG--
extra : rebase_source : 507ab10313127ffcbf905c42438882aa9074c38a
2014-08-05 14:06:35 -07:00
Jeff Gilbert
b346b9fbd8
Bug 1049957 - Increase MakeUnique max params to 8. - r=waldo
2014-08-15 17:38:06 -07:00
Terrence Cole
7a1e954358
Bug 1033442 - Remove non-pod malloc from MallocProvider and AllocPolicy; r=jonco
2014-08-08 13:22:39 -07:00
Seth Fowler
6e99591666
Bug 913586 (Part 1) - Revamp Maybe<T> to be usable in many more situations. r=waldo
...
--HG--
extra : rebase_source : 33326a59f0458dbda493b1f90b88481507b7a46b
2014-08-13 15:39:40 -07:00
Terrence Cole
5bb53b0708
Bug 1033442 - Remove non-pod calloc from MallocProvider and AllocPolicy; r=jonco
2014-08-05 14:06:35 -07:00
Mike Hommey
cbe32e4bb3
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Ehsan Akhgari
026387b47f
Bug 1048013 - Fix some bad implicit constructors in MFBT; r=froydnj
2014-08-05 09:21:12 -04:00
Nicholas Nethercote
f81deab8e6
Bug 1047195 - MFBT: Convert UniquePtr module to Gecko style. r=Ms2ger.
2014-07-31 20:34:17 -07:00
Eric Rahm
f605107f86
Bug 1047176 - Part 3: Cast to unsigned char in HashString. r=froydnj
...
--HG--
extra : rebase_source : c670d0ffb3edb5aee5932660a6be3fd3459033fa
2014-08-04 11:29:33 -07:00
Jeff Walden
13e75b8cb5
Bug 1037103 - Remove ScopedDeleteArray from Scoped.h. r=jcranmer
2014-07-10 17:43:59 -07:00
Nicholas Nethercote
393807e624
Bug 980934 (part 2) - MFBT: Remove the excessively frequent coherency checks from SplayTree. r=froydnj.
...
--HG--
extra : rebase_source : 4d0bd8e2d56771ee8ee4612ce3536bbdc23e958e
2014-07-30 16:21:06 -07:00
Nicholas Nethercote
ad45f192b2
Bug 980934 (part 1) - Add mfbt/tests/TestSplayTree.cpp. r=froydnj.
...
--HG--
extra : rebase_source : 2fa739b40d6b6f136002abc875a7c558cb4dd4ed
2014-07-30 15:53:40 -07:00
Benoit Jacob
b03e16f849
Bug 1044668 - 2/2 - let WebGLFramebufferAttachable::AttachmentPoint use WeakPtr instead of a raw pointer - r=kamidphish
2014-07-30 15:52:08 -04:00
Benoit Jacob
9e2a0396af
Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj
2014-07-30 15:52:05 -04:00
Benoit Jacob
5ac8fe2fa9
Bug 1044658 - 4/6 - remove the need for asWeakPtr, and make asWeakPtr just return 'this' - r=froydnj
2014-07-30 15:52:04 -04:00
Benoit Jacob
66ed6cab6a
Bug 1044658 - 3/6 - make WeakPtr<const T> work - r=froydnj
2014-07-30 15:52:03 -04:00
Benoit Jacob
9ce739bcbf
Bug 1044658 - 2/6 - remove useless base classes around WeakPtr - r=froydnj
2014-07-30 15:52:02 -04:00
Benoit Jacob
22b3a85762
Bug 1044658 - 1/6 - remove useless template parameters around WeakPtr - r=froydnj
2014-07-30 15:52:01 -04:00
Nicholas Nethercote
bfaa4d6c8a
Bug 1045920 (part 2) - Add mfbt/tests/TestRefPtr.cpp. r=froydnj.
2014-07-30 06:59:52 -07:00
Jeff Walden
d271199796
Bug 1040830 - Add documentation overview comments for mozilla::MakeUnique. r=jcranmer
...
--HG--
extra : rebase_source : 22eb26bb8c984a28352db0329da786c419e32dc7
2014-07-18 12:24:47 -04:00
Nicholas Nethercote
9ea0bb6b8a
Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger.
...
--HG--
extra : rebase_source : 588fa9c0d1e819e1826835c4ef4a1428a927bf93
2014-07-22 20:54:41 -07:00
Mike Hommey
5659a611dd
Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Mike Hommey
af37eab57f
Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps
2014-07-23 13:29:44 +09:00
Jeff Walden
6982116a5b
Bug 1037103 - Add deprecation notice/comments to Scoped.h. r=jcranmer
...
--HG--
extra : rebase_source : dabef0b6f8631ac2103039026b8cef8af1271c01
2014-07-10 17:45:45 -07:00
Jim Chen
7d32347ee4
Bug 1007824 - Add mfbt/LinuxSignal.h; r=snorp r=Ms2ger
2014-07-15 12:45:40 -04:00
Till Schneidereit
cb04dd761f
Bug 1031414 - Update LZ4. r=Ms2ger
2014-07-10 14:56:26 +02:00
Jeff Muizelaar
c46d13fd4d
Bug 1037461. mfbt: Add a MakeUnique variant that takes 5 arguments.
2014-07-11 11:01:47 -04:00
Nicholas Nethercote
ab815d0c3b
Bug 1036789 - Convert the third quarter of MFBT to Gecko style. r=Ms2ger.
...
--HG--
extra : rebase_source : 668cd394806203ddfa34bd4f226335ff26c846b5
2014-07-10 19:10:17 -07:00
Ehsan Akhgari
fa23995e95
Bug 1036215 - Use MOZ_EXPORT in MemoryChecking.h; r=njn
2014-07-08 22:58:26 -04:00
Jeff Walden
ab85b11336
Bug 953296 - Properly condition function-deleter tests on SHOULD_TEST_FUNCTION_REFERENCE_DELETER. r=bustage
2014-07-08 11:37:45 -07:00
Jeff Walden
4d61c6f309
Bug 953296 - Implement mozilla::MakeUnique. r=jcranmer
...
--HG--
extra : rebase_source : 6e25d80e697f1b00e1525f6b11221f4ed9cf965e
2014-06-10 17:42:58 -07:00
Jeff Walden
5322819749
Bug 953296 - Implement mozilla::UniquePtr. r=jcranmer
...
--HG--
extra : rebase_source : 76dadc240c40d1ffbd2f3a0414c3667ff2d6706d
2013-12-30 13:34:15 -06:00
Luke Wagner
dac420dee3
Bug 1030446 - Build a list of code ranges and use this instead of CallSite for describing functions (r=dougc)
...
--HG--
extra : rebase_source : 6cb5cff2c3192f7d40315afe8007f7bd68549fec
2014-06-25 17:34:23 -05:00
Phil Ringnalda
16fc4405c3
Back out 4 changesets (bug 1030446) on suspicion of setting up random patches to break asmjs tests on Android Armv6
...
CLOSED TREE
Backed out changeset 4bc102bd4067 (bug 1030446)
Backed out changeset c11c8733e76a (bug 1030446)
Backed out changeset addc1a7459a7 (bug 1030446)
Backed out changeset 457b38b8094c (bug 1030446)
2014-06-29 09:52:26 -07:00
Luke Wagner
02b486e509
Bug 1030446 - Build a list of code ranges and use this instead of CallSite for describing functions (r=dougc)
2014-06-25 17:34:23 -05:00
Wes Kocher
717a1c8217
Backed out 4 changesets (bug 1030446) for b2g non-unified build bustage on a CLOSED TREE
...
Backed out changeset d925c77d4b3f (bug 1030446)
Backed out changeset 988f19a5ea1f (bug 1030446)
Backed out changeset 6e87a7cf7eac (bug 1030446)
Backed out changeset 1c761a455bbf (bug 1030446)
2014-06-27 17:34:19 -07:00
Luke Wagner
035f29de92
Bug 1030446 - Build a list of code ranges and use this instead of CallSite for describing functions (r=dougc)
...
--HG--
extra : rebase_source : 842f64b989e6be4a8e530c219ffe6eec6701c49f
2014-06-25 17:34:23 -05:00
Jeff Walden
4f3739000f
Bug 953296 - Introduce an EBO-performing Pair class to mfbt. r=jcranmer
...
--HG--
extra : rebase_source : a5d4ad52736a66656aaf3947b31ce8087b859491
2014-06-09 08:49:18 -07:00
Jeff Walden
9d9c0bb5b1
Bug 1030515 - Make IsSigned and IsUnsigned usable with user-defined types. r=froydnj
...
--HG--
extra : rebase_source : f74d5c0b9f05a56c4d56aba1ebbdb944a3464b30
2014-06-25 18:47:04 -07:00
Jeff Walden
7b18894ab6
Bug 1029132 - Add mozilla::IsInRange method to write out in-range tests more simply. r=froydnj
...
--HG--
extra : rebase_source : b57c74750e4db2bc5ffe4655069f3597fab5a6b2
2014-06-23 14:14:26 -07:00
Marty Rosenberg
4a5bce6b05
Bug 991153: Make the types for sets of registers a per-type quantity (r=jandem)
2014-06-25 12:54:34 -04:00
Birunthan Mohanathas
620e8b1390
Bug 836073 - Add MOZ_MSVC_VERSION_AT_LEAST() macro to mfbt/Compiler.h. r=Waldo
2014-06-20 09:19:35 -07:00
Jan de Mooij
50ff3e13a4
Bug 1027528 part 7 - Make Range mStart/mEnd const, fix operator[]. r=Waldo
2014-06-20 17:39:42 +02:00
Jeff Walden
0efd0405c6
Bug 953296 - Add IsLvalueReference and IsVoid. r=jcranmer
...
--HG--
extra : rebase_source : 53def7d45901da43ffbcfef3adbbea3a3e6bb329
2014-01-09 10:09:14 -06:00
Jeff Walden
4f1fa063ff
Bug 953296 - Implement mozilla::RemoveExtent. r=jcranmer
...
--HG--
extra : rebase_source : 97d4f055fc80074265bd5c8b1b0a565d8e994e7b
2014-06-10 12:58:17 -07:00
Nicholas Nethercote
b408c9c462
Bug 1026319 - Convert the second quarter of MFBT to Gecko style. r=froydnj.
...
--HG--
extra : rebase_source : 98d2557c7fe4648d79143c654e7e31767fca2e65
2014-06-12 23:34:08 -07:00
Ehsan Akhgari
c15df0ae2d
Bug 1026718 - Expand MOZ_DECLARE_REFCOUNTED_TYPENAME unconditioanlly in order to make it available outside of libxul as well; r=Waldo
2014-06-18 20:11:21 -04:00
Jed Davis
eabd9062d2
Bug 1011350 - Use TaggedAnonymousMemory to distinguish our various mmap call sites. r=njn
...
We can probably get more granular information than this, given that we
can re-tag memory after the initial mapping, or tag subregions of an
individual mmap() call differently. But this is a start.
2014-06-17 17:55:00 +02:00
Jed Davis
e7deffe201
Bug 1011350 - Add mfbt support for PR_SET_VMA_ANON_NAME. r=njn r=froydnj
...
This is a Linux kernel feature present in newer Android and B2G devices
which allows attaching an arbitrary name to an anonymous memory regions,
thus tagging it for the purposes of procfs mapping lists and causing it
to be reported separately from adjacent regions with different names.
2014-06-17 17:54:00 +02:00
Ehsan Akhgari
812dd4b759
Bug 1025900 - #include intrin.h directly in Atomics.h instead of declaring functions manually from it; r=froydnj
...
This is basically more of bug 1022049.
--HG--
extra : rebase_source : 39cf2745d47d90ba1684c2c26a38f9781a4d179e
2014-06-16 18:19:49 -04:00
Chris Peterson
d491e08015
Bug 1024318 - Fix warnings in mfbt/tests/ and mark as FAIL_ON_WARNINGS. r=Waldo
2014-06-14 12:47:01 -07:00
Ehsan Akhgari
ab5a5cc474
Bug 1025143 - Fix a compilation error in TestTypedEnum.cpp with clang-cl; r=bjacob
...
This makes the code more correct since if we don't have constexpr
support in the compiler, the CastableTypedEnumResult type would
actually not be a literal type, so we should not assert that here.
2014-06-13 15:22:16 -04:00
Jan de Mooij
6f6bc288c7
Bug 1023778 part 3 - Make AtomizeChars and js_NewStringCopyN accept Latin1 chars. r=luke
2014-06-13 20:51:05 +02:00
Jan de Mooij
b7107e992b
Bug 1024688 - Add a MaybeOneOf class to MFBT. r=luke
2014-06-13 14:26:01 +02:00
Ehsan Akhgari
5d9319da87
Bug 1023449 - Try to check for MSVC before clang so that we live in the clang-cl world when building with that compiler; r=froydnj
...
--HG--
extra : rebase_source : dbfcf19afa0aa030d4fc769f29ede4c957af669d
2014-06-10 16:33:39 -04:00
Jeff Muizelaar
f7c610d4d2
Bug 1022049. Switch to <intrin.h>. r=nfroyd
...
Instead of declaring these ourselves just use intrin.h
This has the advantage of allowing them to work with clang-cl
--HG--
extra : rebase_source : b78c756edb5dcdf1fd9127ad5e1a7ae183e72e3c
2014-06-09 17:26:55 -04:00
Ehsan Akhgari
570bcb4788
Bug 1021290 - More Atomics.h build fixes for clang-cl. r=froydnj
...
This is basically more of bug 932454
2014-06-09 14:49:34 -04:00
Ehsan Akhgari
d0ca596588
Bug 1013662 - Fix bad implicit conversion constructors in MFBT; r=froydnj,Waldo
2014-06-06 23:17:06 -04:00
Ehsan Akhgari
247c93a42e
Bug 1022050 - Disable the SEH block used in TestPoisonArea.cpp on clang-cl until it grows SEH support; r=froydnj
2014-06-06 23:11:58 -04:00
Nathan Froyd
7905be6fef
Bug 1020118 - fix atomic add/sub for pointer types on Win64; r=jcranmer
2014-06-04 15:19:51 -04:00
Ms2ger
3fe68e5b68
Bug 1020165 - Remove empty makefiles; r=mshal
2014-06-06 10:06:24 +02:00
Chris Peterson
3ac370688a
Bug 945029 - Fix up Android's broken [u]intptr_t inttype macros. r=Waldo
2014-05-12 22:27:14 -07:00
Wes Kocher
676b8051d8
Backed out changeset 34f371b1024b (bug 1021290) for Windows build bustage on a CLOSED TREE
2014-06-05 17:35:47 -07:00
Jeff Muizelaar
f3a94f181e
Bug 1021290. More Atomics.h build fixes for clang-cl. r=froydnj
...
This is basically more of bug 932454
--HG--
extra : rebase_source : 0f9a5d43164efb6940d17e406f41691cb3d26435
2014-06-05 19:48:52 -04:00
Benoit Jacob
615f6fa6df
Bug 1018239 - Make WebGLContext::GetExtensionString fool-proof and remove a dangerous EnumeratedArrayConstructor - r=jgilbert
2014-05-30 16:21:23 -04:00
Brian Smith
90eef2f5d9
Bug 1010634, Part 2: Fix compiler warnings in MFBT and XPCOM, r=ehsan
...
--HG--
extra : rebase_source : 8839297479ce2ade7a7e6cb5099178e799a0e516
2014-05-29 20:18:29 -07:00
Nicholas Nethercote
eea4b77322
Bug 1014377 - Convert the first quarter of MFBT to Gecko style. r=froydnj.
...
--HG--
extra : rebase_source : b3b2da775e2c0e8a6ecbed70e7bd0c8f7af67b47
2014-05-29 22:40:33 -07:00
Nathan Froyd
74d657df0e
Bug 1010317 - remove unnecessary includes from RollingMean.h; r=Ms2ger
2014-05-14 11:46:29 -04:00
Dan Gohman
3fd6d9a5d9
Bug 1012971 - Fix compiler warnings in mfbt r=nbp
2014-05-22 11:15:06 -07:00
Ehsan Akhgari
ccbf0f329d
Fix a typo in a comment, no bug, DONTBUILD
2014-05-22 09:28:06 -04:00
Ehsan Akhgari
a5e1d3edf7
Bug 1013662 - Part 1: Add MOZ_IMPLICIT to Attributes.h; r=froydnj
...
--HG--
extra : rebase_source : 4654de918e6f73f40c34a19cfd1b457ba2c734f1
2014-05-21 21:31:29 -04:00
Dan Gohman
c7d6078a3a
Bug 1012964 - IonMonkey: Optimize LiveInterval::addRange. r=bhackett
2014-05-20 13:36:40 -07:00
Nicholas Nethercote
71e55c99d7
Bug 983538 (part 2) - Update mfbt/STYLE. r=froydnj.
...
--HG--
extra : rebase_source : dac8a5683794cc838966afaf8c037aa466d44410
2014-03-13 22:42:59 -07:00
Nicholas Nethercote
9ad68cf065
Bug 983538 (part 1) - Convert mfbt/SplayTree.h to Mozilla style. r=froydnj.
...
--HG--
extra : rebase_source : 9143ee56f94e7c6e0b1e1a70c4dc26c90c69d84a
2014-03-13 22:35:45 -07:00
Botond Ballo
809118e132
Bug 961289 - Add a ToString utility to MFBT. r=froydnj
...
--HG--
extra : source : 26bd00a6d34fa88b8a16862e5b96a6717386f9f7
2014-05-07 14:54:45 -04:00
Matt Woodrow
41d4a92470
Bug 950312 - Part 4: Create active layers for nsDisplayMixBlendMode and nsDisplayBlendContainer if the layer manager supports all contained blend mode. r=roc
2014-05-09 21:49:27 +12:00
Matt Woodrow
f1253774f4
Bug 950312 - Part 3: Add Layers API to see what blend modes are supported. r=roc
2014-05-09 21:48:32 +12:00
Chris Peterson
f64aca0a01
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in mfbt. r=Waldo
2014-04-13 23:01:08 -07:00
Chris Peterson
314cc438bf
Bug 990764 - Add MOZ_ASSERT_UNREACHABLE and MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE. r=Waldo
2014-04-05 18:07:09 -07:00
Sylvestre Ledru
d2af9270e2
Bug 997145 - Add a attribute in order to silent a Clang static analyzer check r=nfroyd
...
--HG--
extra : amend_source : 9ef01d8df4e8797981f770621a3885d456db5801
2014-05-06 16:23:08 +02:00
Ehsan Akhgari
968ba73f9a
Bug 1005730 - Print assertion stacks for MOZ_ASSERT and MOZ_CRASH for code that lives inside libxul; r=froydnj
...
The hyphenation changes are necessary because hnjalloc.h #defines FILE to
a custom data structure, which clashes with using |stderr| in Assertions.h.
2014-05-05 22:02:04 -04:00
Ehsan Akhgari
ef0b7d19aa
Bug 1004564 - Move AtomicRefCounted to mozilla::external and outlaw it in Gecko code; r=froydnj
2014-05-01 14:33:20 -04:00
Benoit Jacob
f23b1789f1
Bug 920292 - Check the types of assert conditions - r=froydnj
2014-04-30 22:39:13 -04:00
Birunthan Mohanathas
56b3169a4d
Bug 1001987
- Make MOZ_STATIC_ASSERT_VALID_ARG_COUNT compatible with ICC. r=Waldo
2014-04-28 07:48:00 +02:00
Benoit Jacob
fa47581249
Bug 987290 - Work around a GCC 4.6.3 ICE - no review, bustage fix
2014-04-28 12:27:13 -04:00
Benoit Jacob
a24a270b5d
Bug 987290 - Follow-up: fix TestTypedEnum to avoid requiring behavior that relies on explicit conversions, when they are not available. Fixes the build on MSVC 2012 - no review, bustage fix
2014-04-27 22:46:40 -04:00
Benoit Jacob
e84e3cadeb
Bug 987290 - Allow using MFBT Typed Enums as bitwise flags - r=Waldo
2014-04-25 22:34:04 -04:00
Blair McBride
64d3a32d11
Backed out 2 changesets (bug 987290). r=sheriff
...
Backed out changeset 4ad1f662f521 (bug 987290)
Backed out changeset 080ff1f86465 (bug 987290)
2014-04-27 20:41:58 +12:00