Commit graph

540 commits

Author SHA1 Message Date
Basile Burg
722ecd878c
fix issue 12470 - std.array.replace does not work with inout(char)[] 2017-09-13 20:08:01 +02:00
RazvanN7
3a4f83577e Get rid of unused variables in std/algorithm 2017-08-02 17:30:16 +03:00
RazvanN7
30c5430181 Get rid of unused variables in std/algorithm/iteration 2017-08-02 09:21:32 +03:00
RazvanN7
dc648c5b38 Add documentation and unittests regarding multisets 2017-07-21 10:12:16 +03:00
The Dlang Bot
be29450475 Merge pull request #5628 from jmdavis/deprecations
Move some deprecations along
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-18 18:36:35 +02:00
Jonathan M Davis
8ef2b195f1 Move some deprecations along. 2017-07-18 06:04:40 -06:00
The Dlang Bot
739c40957c Merge pull request #5151 from wilzbach/static_if_sorting
[Static if] replace overload constraints with static if (sorting.d)
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-07-17 21:40:42 +02:00
The Dlang Bot
bdae5f08f3 Merge pull request #5620 from RazvanN7/Issue_6718
[WIP] Fix Issue 6718 - nWayUnion => nWayMerge, plus true nWayUnion
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-07-17 21:08:25 +02:00
The Dlang Bot
fedab334e8 Merge pull request #5575 from wilzbach/unify-find-step1
Unify needle overloads of std.algorithm.searching.find
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-07-17 20:03:31 +02:00
RazvanN7
9efa504bdc Fix Issue 6718 - nWayUnion => nWayMerge, plus true nWayUnion 2017-07-17 16:41:49 +03:00
RazvanN7
e471b222ce Rename nWayUnion => multiwayMerge and NWayUnion => MultiwayMerge 2017-07-17 15:05:10 +03:00
Sebastian Wilzbach
350300b585 Fix docs for std.algorithm.remove (avoid Ddoc auto-escape) 2017-07-11 20:02:16 +02:00
Sebastian Wilzbach
8180178986 has_public_example: std.algorithm.mutation 2017-07-09 02:28:29 +02:00
Sebastian Wilzbach
334642bbb6 has_public_example: std.algorithm.comparison 2017-07-08 23:52:27 +02:00
Sebastian Wilzbach
a6dd949717 Unify needle overloads of std.algorithm.searching.find 2017-07-08 00:24:44 +02:00
Sebastian Wilzbach
e3c91711a1 Fix random coverage in std.algorithm.sorting 2017-07-07 21:40:59 +02:00
The Dlang Bot
2317f975c9 Merge pull request #5564 from MartinNowak/fix17616
fix 17616 - makeIndex cannot fully use range of index type
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2017-07-07 15:14:49 +02:00
Sebastian Wilzbach
b4e1043a96 makeIndex: Remove the explicit casting from the foreach loop 2017-07-07 14:45:50 +02:00
Sebastian Wilzbach
2267cf2620 makeIndex: fix special case for uint 2017-07-07 14:37:50 +02:00
Martin Nowak
54bda1e5bc fix Issue 17616 - makeIndex cannot fully use range of index type 2017-07-07 14:13:48 +02:00
The Dlang Bot
37d15a89c5 Merge pull request #5543 from RazvanN7/Issue_17525
Fix Issue 17525 - std.algorithm.searching.skipOver should have a single argument with pred version
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-07 08:35:05 +02:00
RazvanN7
734641b4df Optimize count with an overload which calls walkLength 2017-07-06 22:05:20 +03:00
The Dlang Bot
e0fc939e38 Merge pull request #5546 from wilzbach/deprecation-halt
Trigger a hard error on deprecation messages
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2017-07-06 01:41:02 +02:00
H. S. Teoh
8b4dc6c7b4 Improve docs for std.algorithm.remove.
Rationale: the most common use for this function is to remove an element
from an array. Therefore, the first example the user should see in the
docs is how to achieve this.  All the rest of the complications, like
`remove` not changing the length of the array and what-not, should be
discussed *afterwards*, not smack in the user's face.  The current first
example is a poor choice for a first example from a user's POV, because
it throws a complicated case out there without first telling the reader
(presumably someone new to the language, since seasoned D coders
wouldn't be needing to read the docs for `remove`) how to accomplish the
simplest, and most common, use case.
2017-07-05 10:34:45 -07:00
Sebastian Wilzbach
16b9188b4a Fix deprecations 2017-07-05 18:28:51 +02:00
RazvanN7
1d1b42f413 Fix Issue 17525 - std.algorithm.skipOver should have a single argument with pred version 2017-07-05 12:56:23 +03:00
Sebastian Wilzbach
5facd9b674 Remove unused label 2017-06-19 13:37:55 +02:00
The Dlang Bot
857fdc1312 Merge pull request #5486 from wilzbach/fix-ddoc
Fix invalid undefined Ddoc macros
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2017-06-15 17:39:23 +02:00
Sebastian Wilzbach
e7111d4fd0 Fix invalid undefined Ddoc macros 2017-06-15 11:00:47 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
2070d867dd Sort multiple packages within one line 2017-06-12 08:18:25 +02:00
Sebastian Wilzbach
998ad51fd7 Sort selective imports 2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Jack Stouffer
b5ffc889ca Remove debug writelns 2017-06-01 11:13:04 -04:00
The Dlang Bot
4b727ed11d Merge pull request #5326 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-05-30 01:02:05 +02:00
The Dlang Bot
bd80096e44 Merge pull request #5422 from JackStouffer/endsWith-decoding
Removed auto-decoding from the single needle version of endsWith
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-05-25 21:53:15 +02:00
Jack Stouffer
825ad38183 Removed auto-decoding from the single needle version of endsWith 2017-05-24 09:27:41 -04:00
Jack Stouffer
99659e6076 Removed unnessesary auto-decoding from the single argument version of startsWith 2017-05-24 09:14:31 -04:00
Martin Nowak
b940d0c1c7 Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-05-23 20:37:35 +02:00
Sebastian Wilzbach
c6f694d633 Revert "[Static if] replace overload constraints with static if (mutation.d)" 2017-05-19 12:03:54 +02:00
Andrei Alexandrescu
0e441a9d9e Fix Issue 16326 - filter is not lazy enough & has weird save behavior 2017-05-14 08:58:18 -04:00
The Dlang Bot
355936643a Merge pull request #5149 from wilzbach/static_if_mutation
[Static if] replace overload constraints with static if (mutation.d)
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-05-12 21:22:59 +02:00
Sebastian Wilzbach
c6819e2d6e [Static if] replace overload constraints with static if (mutation.d) 2017-05-12 15:05:23 +02:00
Vladimir Panteleev
113502af74 std.algorithm.iteration: Add test for issue 17264
Fixes Issue 17264 - [REG2.073] uniq fails with const elements
2017-05-10 22:33:24 +00:00
Vladimir Panteleev
1e61c5cb6e Revert "Merge pull request #4961 from edi33416/uniq_consistency"
This reverts commit 428217b317, reversing
changes made to 7c2dc1ccba.
2017-05-10 22:33:24 +00:00
Jonathan M Davis
07fddbb388 Move deprecations along. 2017-05-07 11:27:48 +02:00
Sebastian Wilzbach
59508c4949 [Static if] replace overload constraints with static if (sorting.d) 2017-05-05 12:13:16 +02:00
The Dlang Bot
57a0bf930a Merge pull request #5148 from wilzbach/static_if_iteration
[Static if] replace overload constraints with static if (iteration.d)
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-03-16 21:24:23 +01:00
Dmitry Olshansky
54da39a2df Make std.algo.copy CTFE-able 2017-03-16 16:58:26 +01:00
The Dlang Bot
c6aa7b8ada Merge pull request #5128 from BBasile/issue-16342
fix issue 16342 - add std.algorithm.mutation.fill fallback for mutable strings
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-03-13 19:21:12 +01:00