mfbt/Result.h
c5d47bafb1c39e8798a9f10d81e92e887455e7b5
created 2020-10-06 09:03 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1669421 - Make andThen accept a function that accepts a rvalue reference. r=emilio
069d780699dab01a1b27d14d0916fe782615714c
created 2020-09-29 08:09 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1667019 - Simplify moving of Results for PackingStrategy NullIsOk. r=emilio
3626dc4de7382149cde4dbf7418864f3c285d067
created 2020-09-22 11:24 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1666416 - Allow conversion from Result with convertible error type. r=emilio
2e6e0bb6e9db912d3dc86fe42e976664234615bf
created 2020-09-22 08:52 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1666422 - Add missing include for cstdint. r=sylvestre
a0f69c8fbae7aaaa54a00f11d152ec5fbda9efb1
created 2020-09-21 13:15 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1666200 - Support in-place construction of Result success value. r=emilio
353266aee10db0d338da0488bb62d54b6ad58e7f
created 2020-09-21 13:14 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1665927 - Use free LSB optimization for empty types with mozilla::Result. r=emilio
20263215e165943d2b334dcd5f7837a2f297752b
created 2020-09-21 13:14 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1665850 - Remove specifics for reference error types from mozilla::Result. r=emilio,jandem
db58462a88663ea787a32d00b825770866e23467
created 2020-09-21 13:14 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1665850 - Switch JS to use non-reference errors with mozilla::Result. r=jandem
86aaae024a42d69514bd09bacf5f94d072e63107
created 2020-09-21 13:12 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1665614 - Make mozilla::Result work with non-copyable/non-param error types. r=emilio,jandem
b510575b3f7ddc80a543f3311f6ecc095857a765
created 2020-09-21 15:55 +0300
pushed 2020-10-19 16:06 +0000
Bogdan Tara Bogdan Tara - Backed out changeset a1e4531f2091 (bug 1666200) for TestResult.cpp related bustage CLOSED TREE
a1e4531f209134225fbf35f9eccffbc24831b495
created 2020-09-21 11:47 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1666200 - Support in-place construction of Result success value. r=emilio
32d03662a363850006f648c22e825b3e886b29bc
created 2020-09-21 15:25 +0300
pushed 2020-10-19 16:06 +0000
Butkovits Atila Butkovits Atila - Backed out 5 changesets (bug 1665927, bug 1665614, bug 1665850) for causing bustage on Result.h. CLOSED TREE
1467e76399e88bfdb0d78770366613d782d1477a
created 2020-09-21 11:09 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1665927 - Use free LSB optimization for empty types with mozilla::Result. r=emilio
5e23340e3b3919d18a0b541fd6a972604a07826a
created 2020-09-21 11:09 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1665850 - Remove specifics for reference error types from mozilla::Result. r=emilio,jandem
5bc547e7a7730d9e811a0c8abdeea023e8a4d1b0
created 2020-09-21 11:11 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1665850 - Switch JS to use non-reference errors with mozilla::Result. r=jandem
8d88afb85a785433adb9f643d37c8639b152b343
created 2020-09-21 10:38 +0000
pushed 2020-10-19 16:06 +0000
Simon Giesecke Simon Giesecke - Bug 1665614 - Make mozilla::Result work with non-copyable/non-param error types. r=emilio,jandem
5e135aab7380b72e83cc7e14956e8758620e8d9c
created 2020-09-16 13:58 +0000
pushed 2020-09-21 13:41 +0000
Simon Giesecke Simon Giesecke - Bug 1663902 - Avoid gcc emitting lots of static constructors for UnusedZero<T&>::defaultValue. r=dmajor
0257bf99bb841833d9bce0e09bd4f578cd351d5b
created 2020-09-08 14:39 +0000
pushed 2020-09-21 13:41 +0000
Jan Varga Jan Varga - Bug 1663648 - Fix mozilla::Result::map's return type definition; r=dom-workers-and-storage-reviewers,sg
8e008c82f9a6c732459d4831ce9e108ae51a435f
created 2020-09-03 14:14 +0000
pushed 2020-09-21 13:41 +0000
Simon Giesecke Simon Giesecke - Bug 1661428 - Support PackingVariant::NullIsOk also with non-trivially-default-constructible V. r=froydnj
37a26293a149238292a7e4d7dfbce214b736fbc9
created 2020-09-02 17:56 +0000
pushed 2020-09-21 13:41 +0000
Simon Giesecke Simon Giesecke - Bug 1661502 - Make Result move-only. r=froydnj,jandem
82c1cec384318991c6e19e7e03954d90387c9e9a
created 2020-09-02 17:55 +0000
pushed 2020-09-21 13:41 +0000
Simon Giesecke Simon Giesecke - Bug 1661428 - Use CompactPair instead of Variant for trivially default-constructible V and UnusedZero E. r=froydnj
603459fd7f347a9f5b2fb9dc52ab058188dd48d8
created 2020-09-02 19:44 +0300
pushed 2020-09-21 13:41 +0000
Razvan Maries Razvan Maries - Backed out 5 changesets (bug 1661457, bug 1661428, bug 1661497, bug 1661502) for build bustages on Result.h. CLOSED TREE
fbf42b3b51f3656119647ed6c613b02018ea7e54
created 2020-09-02 16:31 +0000
pushed 2020-09-21 13:41 +0000
Simon Giesecke Simon Giesecke - Bug 1661428 - Support PackingVariant::NullIsOk also with non-trivially-default-constructible V. r=froydnj
8a9dce0d08ce806a5ded605cc4dc016b89f7a555
created 2020-09-02 16:23 +0000
pushed 2020-09-21 13:41 +0000
Simon Giesecke Simon Giesecke - Bug 1661502 - Make Result move-only. r=froydnj,jandem
fca770fc0956525d8b1809e7b95c5d5717bceb9e
created 2020-09-02 16:22 +0000
pushed 2020-09-21 13:41 +0000
Simon Giesecke Simon Giesecke - Bug 1661428 - Use CompactPair instead of Variant for trivially default-constructible V and UnusedZero E. r=froydnj
52ef06111f208b63073ea7836920975699031eff
created 2020-08-28 14:16 +0000
pushed 2020-09-21 13:41 +0000
Simon Giesecke Simon Giesecke - Bug 1661476 - Prevent Result<const V, E> or Result<V, const E> from being instantiated. r=froydnj
5bc49a803fcf7c95ae64efed8de6d4b9e23e4125
created 2020-08-24 14:44 +0000
pushed 2020-09-21 13:41 +0000
Jan Varga Jan Varga - Bug 1659673 - Add the `mozilla::Result::orElse` method; r=froydnj,dom-workers-and-storage-reviewers,sg
b88e7ec74c5a5e8dc14aa922e1f9fa44583c46a9
created 2020-08-20 11:04 +0000
pushed 2020-08-24 12:51 +0000
Jan Varga Jan Varga - Bug 1659660 - Improve documentation and testing for mozilla::Result::map and mozilla::Result::mapErr; r=froydnj,dom-workers-and-storage-reviewers,sg
25c926bdf3466958ce094e54b4b653e786087233
created 2020-08-20 13:57 +0300
pushed 2020-08-24 12:51 +0000
Butkovits Atila Butkovits Atila - Backed out 3 changesets (bug 1658874, bug 1658324, bug 1659660) for bustage at ActorsParent.cpp. CLOSED TREE
b69e256013a32e1b2917d42b3ede6825e6b4bbfa
created 2020-08-20 09:22 +0000
pushed 2020-08-24 12:51 +0000
Jan Varga Jan Varga - Bug 1659660 - Improve documentation and testing for mozilla::Result::map and mozilla::Result::mapErr; r=froydnj,dom-workers-and-storage-reviewers,sg
8ed46d7477e1c6f5439e37e64bc3fb93e705857a
created 2020-08-04 08:50 +0000
pushed 2020-08-24 12:51 +0000
Simon Giesecke Simon Giesecke - Bug 1654564 - Fix documentation of requirements on target in MOZ_TRY_VAR. r=froydnj
d469a49a225cf895badc29c0ab377afb9d6eefa3
created 2020-05-13 15:44 +0000
pushed 2020-06-01 09:52 +0000
Simon Giesecke Simon Giesecke - Bug 1637599 - Rephrase documentation referring to copies of errors. r=froydnj
dbe6c4ba7987433a84404c8f9bb7c227405fbc41
created 2020-05-13 15:44 +0000
pushed 2020-06-01 09:52 +0000
Simon Giesecke Simon Giesecke - Bug 1637599 - Simplify propagation of error results. r=froydnj
6105eab934d46662f19671205afb915bfaf0a20c
created 2020-04-01 15:53 +0000
pushed 2020-04-06 13:49 +0000
Simon Giesecke Simon Giesecke - Bug 1626267 - Added transformation algorithms with error handling. r=froydnj
29693da8f9587d1d8ff2fa4d359558c8c4faec91
created 2020-03-28 16:00 +0000
pushed 2020-04-06 13:49 +0000
André Bargull André Bargull - Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj
d1c40df1a74bf303f3f31079c4d48c0432904bb8
created 2020-03-28 13:57 +0000
pushed 2020-04-06 13:49 +0000
André Bargull André Bargull - Bug 1625138 - Part 35: Replace mozilla::TrueType with std::true_type. r=froydnj,jgilbert
215f8c06c6d7bce336f36145b644029622036909
created 2020-03-28 13:57 +0000
pushed 2020-04-06 13:49 +0000
André Bargull André Bargull - Bug 1625138 - Part 34: Replace mozilla::FalseType with std::false_type. r=froydnj
cf661f4a8c9542066964b7aef5ae756abe106460
created 2020-03-28 13:35 +0000
pushed 2020-04-06 13:49 +0000
André Bargull André Bargull - Bug 1606962: Replace mozilla::EnableIf with std::enable_if. r=froydnj,jgilbert
c12439823ae9afa969e8a6471625583a9eb247e4
created 2020-03-28 13:57 +0000
pushed 2020-04-06 13:49 +0000
André Bargull André Bargull - Bug 1625138 - Part 26: Replace mozilla::Conditional with std::conditional. r=froydnj
d9345db452b35b3c871c49f6ad50379bc8d15b03
created 2020-03-28 13:57 +0000
pushed 2020-04-06 13:49 +0000
André Bargull André Bargull - Bug 1625138 - Part 24: Replace mozilla::IsConvertible with std::is_convertible. r=froydnj
847189efca00b25f3b6ed8b268df0201f6a45b1b
created 2020-03-28 13:57 +0000
pushed 2020-04-06 13:49 +0000
André Bargull André Bargull - Bug 1625138 - Part 5: Replace mozilla::IsDefaultConstructible with std::is_default_constructible. r=froydnj
f1c42129fb0b4bdbf11db9c1a41b00375e32c77e
created 2020-03-28 13:57 +0000
pushed 2020-04-06 13:49 +0000
André Bargull André Bargull - Bug 1625138 - Part 3: Replace mozilla::IsEmpty with std::is_empty. r=froydnj
cb607bf4c55f687bfbf3e298dc4073ddcd10a945
created 2020-01-29 21:22 +0000
pushed 2020-02-10 10:43 +0000
Simon Giesecke Simon Giesecke - Bug 1612135 - Allow Result<V, E> to be used with a MOZ_NON_PARAM_TYPE E. r=emilio,froydnj
01862196080a8155c6300278166b40ce9169976a
created 2019-10-10 23:46 +0000
pushed 2019-10-14 16:59 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1585585 - Add {MOZ_LIKELY,MOZ_UNLIKELY} to Result::{isOk,isErr} consumers. r=jwalden
8cb90c97dddbe98e8071e72e60fa0d58f4a486d6
created 2019-10-04 20:44 +0000
pushed 2019-10-14 16:59 +0000
Doug Thayer Doug Thayer - Bug 1550108 - Add mapErr method to Result r=froydnj
f43fd233453d0ffdf1a866e0d4061a2c5a9e7f46
created 2019-09-29 01:14 +0300
pushed 2019-10-14 16:59 +0000
Cosmin Sabou Cosmin Sabou - Backed out 10 changesets (bug 1550108) for causing build bustages on StartupCache.cpp.
f950e30afd90617bfe284e7b239858c72666244c
created 2019-09-27 22:15 +0000
pushed 2019-10-14 16:59 +0000
Doug Thayer Doug Thayer - Bug 1550108 - Add mapErr method to Result r=froydnj
42bfc2bc78eab122e06478c0cd6b347320093a1c
created 2019-09-20 01:18 +0000
pushed 2019-10-14 16:59 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1582358 - Fix move semantics for Result where the error is non-copiable. r=froydnj
9bc4747798bcdef658b12251d7381bc6bd8a7175
created 2019-08-13 08:26 +0000
pushed 2019-08-26 19:26 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1418624 - Allow mozilla::Result to be moved, make unwrap{,Err}() move, and add inspect() APIs that return references. r=froydnj
921eab31ab8eaa9c381d5c44b65fc2045c97845a
created 2019-07-05 23:50 +0000
pushed 2019-07-08 18:18 +0000
Jim Blandy Jim Blandy - Bug 1563065: Use const& in mozilla::Result constructors. r=froydnj
66eb1f485c1a3ea81372758bc92292c9428b17cd
created 2018-12-01 04:52 +0900
pushed 2018-12-03 16:23 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
e4712449ba4303cef134ba0b3f1bea13fbd50c4a
created 2018-11-30 16:39 +0100
pushed 2018-12-03 16:23 +0000
Benjamin Bouvier Benjamin Bouvier - Bug 1511383: Update vim modelines after clang-format; r=sylvestre
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-12-03 16:23 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
853889cec3ab4718caf3d291bce3374f1f54ce96
created 2018-11-19 23:56 +0000
pushed 2018-12-03 16:23 +0000
Aaron Klotz Aaron Klotz - Bug 1508460: Add specialization for void* to HasFreeLSB; r=froydnj
bb85c5ee5afc151be0d07ecc48318dc69cfef446
created 2018-06-01 18:30 +0200
pushed 2018-06-18 21:43 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
631ba17b09cf52a064e74aac243f191a2c41e69a
created 2018-03-23 17:38 +0100
pushed 2018-04-26 21:04 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1448387: Use alignof() in HasFreeLSB. r=froydnj
1dc61d2e904d5b2c1299436b52ebda7f43942859
created 2017-11-22 17:14 +0800
pushed 2018-01-11 21:05 +0000
Alfredo.Yang Alfredo.Yang - Bug 1419682 - add unwrap_or() for Result. r=Waldo
d75df8f79607ba713e4e41a78eb57e265c927856
created 2017-08-29 21:28 -0700
pushed 2017-09-15 00:19 +0000
Kris Maglione Kris Maglione - Bug 1366511: Part 3 - Add mozilla::ToResult() to convert other result types to equivalent Result. r=nbp,ehsan
88629182740457e16a97c55bc2d99a2c94960566
created 2017-08-31 16:01 -0700
pushed 2017-09-15 00:19 +0000
Kris Maglione Kris Maglione - Bug 1366511: Part 1 - Allow packing Result<T, nsresult> values into a single word. r=ehsan,nbp
3ec4fd0c06c9eb85ca3960be1244188008fc4df7
created 2017-03-08 13:33 +0000
pushed 2017-06-12 13:08 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 1325073 - Rename mozilla::MakeGenericErrorResult to mozilla::Err. r=Waldo
f8643ee1df78bfe91b4413905ab1be4e9f172358
created 2017-02-07 18:57 +0000
pushed 2017-04-18 12:07 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 1318677 part 3 - mozilla::Result: Add a new packing strategy to pack small enumerated values in a single word. r=Waldo
9d73f44230343ca5a667f24e6d8b949635c46cd3
created 2017-02-07 18:57 +0000
pushed 2017-04-18 12:07 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 1318677 part 2 - mozilla::Result: Use a single enum to dispatch to the Result implementation. r=Waldo
2d01a306f0f424783e36b79cbb83662243569af8
created 2017-02-07 18:57 +0000
pushed 2017-04-18 12:07 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 1318677 part 1 - Use a smaller mask to remove the error tag. r=jandem
ba0c8f91cc85279768f4a7cdbff16879535a2509
created 2016-12-21 13:05 -0800
pushed 2017-03-06 20:48 +0000
Nick Fitzgerald Nick Fitzgerald - Bug 1324829 - Add the `mozilla::Result::andThen` method; r=froydnj
261f9a8cc0fa4c253964b82597fa92eb578cc711
created 2016-12-21 13:05 -0800
pushed 2017-03-06 20:48 +0000
Nick Fitzgerald Nick Fitzgerald - Bug 1324828 - Add the `mozilla::Result::map` method; r=froydnj
97a18aee3431325081d138ab9bf514be28cbaec3
created 2016-11-21 12:52 +0100
pushed 2017-03-06 20:48 +0000
Jan de Mooij Jan de Mooij - Bug 1283562 - Add mozilla::Result<V, E> for fallible return values. r=jwalden
less more (0) tip