Chris Peterson
c35faf4632
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Nicholas Nethercote
26b6e79d96
Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
...
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.
MozReview-Commit-ID: 1VS4Dney4WX
2016-04-27 14:16:50 +10:00
Ralph Giles
dc3aac9e1e
Bug 1262663 - Clean up UniquePtr return documentation. r=Waldo
...
The prohibition against returning a UniquePtr was based on
bugs in older compilers which required an explicit Move()
to properly transfer ownership. This is no longer the case
since we now have code returning this type directly.
2016-04-11 14:36:29 -07:00
Ehsan Akhgari
5d87775c90
Bug 1255857 - Allow mozilla::UniquePtr's deleter template argument to customize the pointer type; r=froydnj
2016-03-11 15:35:43 -05:00
Bobby Holley
2b44dda035
Bug 1251496 - Introduce a servo-side data structure to represent the style set. r=heycam
2016-02-28 00:25:33 -08:00
Ehsan Akhgari
df7d18d91b
Bug 1250196 - Part 2: Rename UniquePtr::getDeleter() to get_deleter() in order to make it compatible with std::unique_ptr; r=froydnj
2016-02-22 15:51:59 -05:00
Xidorn Quan
e5a99ca0bd
Bug 1248851 part 4 - Mark UniquePtr::release() MOZ_WARN_UNUSED_RESULT. r=Waldo
...
MozReview-Commit-ID: FH7t5gZ0nVG
2016-02-20 11:06:25 +08:00
James Cheng
f130a554e2
Bug 1204790 - Prefer deleted function with public access specifiers instead of private in UniquePtr. r=nfroyd
2015-09-15 19:18:00 +02:00
Ehsan Akhgari
c910cbd9c5
Bug 1188204 - Fix more constructors in MFBT; r=froydnj
2015-07-28 12:24:39 -04:00
Jim Blandy
718b3067e3
NO BUG: Remove incorrect comment about not being able to use variadic templates. DONTBUILD r=waldo
2015-04-23 16:48:19 -07:00
Birunthan Mohanathas
7f80d25ce3
Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo
2015-02-03 18:52:36 +02:00
Masatoshi Kimura
1ac9001f06
Bug 1120062 - Part 2: Remove use of IsNullPointer. r=waldo
2015-01-15 02:09:11 +09:00
Xidorn Quan
033ad0d8d1
Bug 1119199 - Rewrite UniquePtr with variadic template. r=waldo
2015-01-13 10:48:10 +11:00
Ehsan Akhgari
a7f747ec15
Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
f910733e8a
Clarify the MakeUnique documentation (comment only change, no bug)
...
DONTBUILD, CLOSED TREE
2014-12-19 17:51:10 -05:00
Jeff Gilbert
cc3853db83
Bug 1049957 - Increase MakeUnique max params to 8. - r=waldo
2014-08-15 17:38:06 -07:00
Nicholas Nethercote
ea05a6d51f
Bug 1047195 - MFBT: Convert UniquePtr module to Gecko style. r=Ms2ger.
2014-07-31 20:34:17 -07:00
Jeff Walden
90cbc41104
Bug 1040830 - Add documentation overview comments for mozilla::MakeUnique. r=jcranmer
2014-07-18 12:24:47 -04:00
Nicholas Nethercote
c0e8a3e8c5
Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger.
2014-07-22 20:54:41 -07:00
Jeff Muizelaar
318c988682
Bug 1037461. mfbt: Add a MakeUnique variant that takes 5 arguments.
2014-07-11 11:01:47 -04:00
Jeff Walden
4e40dc7888
Bug 953296 - Implement mozilla::MakeUnique. r=jcranmer
2014-06-10 17:42:58 -07:00
Jeff Walden
d48004c333
Bug 953296 - Implement mozilla::UniquePtr. r=jcranmer
2013-12-30 13:34:15 -06:00