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