Commit graph

16903 commits

Author SHA1 Message Date
The Dlang Bot
8faf4053e8
Merge pull request #6374 from wilzbach/bitmanip-examples
Add public examples to std.bitmanip + enable DScanner check
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-03-30 07:05:36 +02:00
The Dlang Bot
6941257e1a
Merge pull request #6338 from carblue/std_typecons
std.typecons: Fix a -dip1000 compilable issue
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-03-30 06:39:00 +02:00
Sebastian Wilzbach
f01eb93b28 Use assertThrown!FormatException in std.format 2018-03-30 06:33:15 +02:00
Sebastian Wilzbach
4754998365 Add public examples to std.bitmanip + enable DScanner check 2018-03-30 06:03:30 +02:00
carblue
83c02f21ea std.algorithm.iteration: Fix a -dip1000 compilable issue 2018-03-30 05:01:23 +02:00
The Dlang Bot
1db9cbedd8
Merge pull request #6307 from n8sh/zip-shortest
Fix Issue 18638 - The main override of std.range.zip could infer @nogc and nothrow
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-30 03:38:47 +02:00
Sebastian Wilzbach
9953f02fa0 Make std.socket DIP1000 compatible 2018-03-30 02:17:27 +02:00
The Dlang Bot
0372d48dc0
Merge pull request #6179 from aliak00/has-static-member
Fix issue 18438 - Handle T* in hasStaticMember like hasMember
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-03-30 01:52:58 +02:00
carblue
73ece51c47 std.typecons: Fix a -dip1000 compilable issue 2018-03-30 01:12:36 +02:00
The Dlang Bot
d588bcd3bf
Merge pull request #6383 from RazvanN7/delete_not_pure_tests
[Trivial] Delete test in free_tree
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-03-30 00:38:33 +02:00
The Dlang Bot
17a6e136c7
Merge pull request #6376 from wilzbach/digest-examples
Add more public examples to std.digest + add DScanner check
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-03-29 23:31:30 +02:00
Sebastian Wilzbach
21659561ef Add more public examples to std.digest + add DScanner check 2018-03-29 23:03:37 +02:00
RazvanN7
223ba57258 Delete test in free_tree 2018-03-29 23:03:17 +03:00
The Dlang Bot
5f56571fe1
Merge pull request #6381 from RazvanN7/Delete_allocatortest
Delete test in scoped_allocator
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-03-29 21:25:36 +02:00
RazvanN7
298286732f Delete test in scoped_allocator 2018-03-29 21:21:24 +03:00
Dmitry Olshansky
b602b5a3f4 Fix issue 18691 - memory errors in std.regex.Captures
Instead of a messy code that ended up with refcount at the wrong place
provide a clean fixed-size array with required semantics and
build on top of that.
2018-03-29 19:49:51 +03:00
The Dlang Bot
478955f74e
Merge pull request #6372 from rracariu/master
Use MIPS32 instead of MIPS
merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>
2018-03-29 13:40:14 +02:00
Radu Racariu
aefb272c81 fix wrong MIPS global identifier 2018-03-29 09:01:28 +03:00
The Dlang Bot
0750238e32
Merge pull request #6373 from wilzbach/split-to-list
Split DScanner's unused_variable_check check into multiple lines
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-29 03:24:09 +02:00
The Dlang Bot
88b088a5c7
Merge pull request #6368 from marler8997/fixEnumInit
Accomodate Enum init deprecation
merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
2018-03-29 02:25:52 +02:00
Sebastian Wilzbach
7d732d96d4 Split DScanner's unused_variable_check check into multiple lines 2018-03-29 00:38:01 +02:00
Sebastian Wilzbach
a858871481 Remove useless_initializer check 2018-03-29 00:36:12 +02:00
Sebastian Wilzbach
b4ba924db6 Split DScanner's assert_without_msg check into multiple lines 2018-03-29 00:32:05 +02:00
Sebastian Wilzbach
e27b0daaf9 Split DScanner's properly_documented_public_functions check into multiple lines 2018-03-29 00:30:04 +02:00
The Dlang Bot
db08cf995b
Merge pull request #6371 from JackStouffer/math-examples
Add public examples to many examples to std.math
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-28 22:15:05 +02:00
Jack Stouffer
bc61918f07 Add public examples to many examples to std.math 2018-03-28 15:24:00 -04:00
Nathan Sashihara
8777cbf355 Fix Issue 18223: use memset in uninitializedFillDefault(T[])
When we can statically determine that the representation of T.init
consists of nothing but zeroes or nothing but ones we use memset.
(The second case occurs for char and wchar.)
2018-03-28 13:59:19 -04:00
Harry T. Vennik
8d873b9ce7 Add unittest for dup
`dup` was only being tested through its usage in `opBinary`, so the
new implementation of `opBinary`, which doesn't use `dup` anymore,
left `dup` untested.
2018-03-28 19:28:57 +02:00
Harry T. Vennik
7e77124637 Forbid shared element types for SList
Did not work anyway, and would be bad usage of shared too.
2018-03-28 19:28:57 +02:00
Harry T. Vennik
da67f771c7 Put common logic of insert methods into new static method
Also optimize by avoiding allocation of temporary root Node.
2018-03-28 19:28:57 +02:00
Harry T. Vennik
8af8b86dd0 Optimize opBinary 2018-03-28 19:28:57 +02:00
Nathan Sashihara
e6e41d901c Add ASCII fast path to sicmp & icmp 2018-03-28 12:50:36 -04:00
Jack Stouffer
bbb7ba1b9c Add documentation example to FormatException and enable dscanner check 2018-03-28 12:28:55 -04:00
Jack Stouffer
e2d791bcf1 Fix Issue 18689 - std.format should throw FormatException on bad format spec 2018-03-28 12:28:54 -04:00
Jack Stouffer
2d8754661f
Merge pull request #6364 from JackStouffer/traits-examples7
Add examples for the rest of std.traits and enable the dscanner check
2018-03-28 12:04:25 -04:00
The Dlang Bot
ec862ff783
Merge pull request #6194 from edi33416/aff_alloc_shared
Update how AffixAllocator infers shared from parent
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-28 16:55:33 +02:00
The Dlang Bot
0ec625321d
Merge pull request #6344 from wilzbach/bitmanip-unittests
Make more unittests in std.bitarray public
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-28 16:06:12 +02:00
The Dlang Bot
162010b260
Merge pull request #6365 from JackStouffer/tohash-check
Skip unittests when dscanner is checking for toHash
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-03-28 16:04:04 +02:00
Jack Stouffer
9dc43d6ca2 Skip unittests when dscanner is checking for toHash 2018-03-28 09:34:27 -04:00
Eduard Staniloiu
b45f25b96b Update how AffixAllocator infers shared from parent 2018-03-28 13:25:56 +00:00
Sebastian Wilzbach
08233cab19 Split UDA public examples into smaller chunks 2018-03-28 15:08:16 +02:00
Sebastian Wilzbach
41dbe5cc57 Add a public example for unsigned integral to std.traits.Unsigned 2018-03-28 15:01:27 +02:00
Jack Stouffer
5df8f15280 Add examples for the rest of std.traits and enable the dscanner check 2018-03-28 08:20:08 -04:00
Jonathan Marler
2dd14c6445 Accomodate Enum init deprecation 2018-03-28 04:27:46 -06:00
The Dlang Bot
d9934a88b3
Merge pull request #6363 from carblue/dip1000_mak_1
dip1000.mak: Lift std.conv
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-03-28 11:58:23 +02:00
carblue
ed19e4e9cd dip1000.mak: Lift std.conv 2018-03-28 11:00:16 +02:00
The Dlang Bot
012395e4dc
Merge pull request #6357 from WalterBright/buildNormalizedPath
make buildNormalizedPath() @safe
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-28 06:51:23 +02:00
The Dlang Bot
ed319de35f
Merge pull request #6225 from DmitryOlshansky/faster-sicmp
Fix awfully slow sicmp
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-03-28 06:02:34 +02:00
The Dlang Bot
a6afdef932
Merge pull request #6355 from JackStouffer/issue18669
Fix Issue 18669 - isNestedFunction does not check if parameter is a f…
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-28 05:09:00 +02:00
Nathan Sashihara
6e435d4ae2 fix PR #6225 2018-03-27 22:37:18 -04:00