Commit graph

321 commits

Author SHA1 Message Date
Andrei Alexandrescu
b6a61d9e71 Merge pull request #3288 from nordlow/struct-returned-findSplit
Struct Returned findSplit*() with implicit bool conversion
2015-10-29 14:37:39 -04:00
Martin Nowak
0e95f6723a Merge remote-tracking branch 'upstream/stable' into merge_stable 2015-10-27 15:55:59 +01:00
Martin Nowak
0a9f9ccc3e fixup for string-like overloads
- undocument overloads for aliased/static strings
- make std.traits helpers phobos internal
- rename isStringLike to isConvertibleToString for clearer documentation
- rename peelStringLike to convertToString
- fix a few staticMap!(selectString) uses in std.path
2015-10-26 19:50:08 +01:00
Martin Nowak
f8af54dce7 fix levenshteinDistance for string-like types 2015-10-25 19:06:01 +01:00
Steven Schveighoffer
325715024d Merge pull request #3717 from MartinNowak/fixFlag
fix casing for Flag name
2015-10-22 10:20:08 -04:00
Martin Nowak
1050e282d5 fix casing for Flag name 2015-10-22 14:58:54 +02:00
Brian Schott
67c95e6de2 Merge pull request #3715 from dcarp/AliasSeq
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
H. S. Teoh
758e6f2f9e Merge pull request #3723 from CyberShadow/pull-20151015-184625
fix Issue 15133 - Error message is incomprehensible
2015-10-15 12:28:29 -07:00
Vladimir Panteleev
91b34d9c70 fix Issue 15133 - Error message is incomprehensible 2015-10-15 18:46:36 +00:00
Martin Nowak
f127643ed7 Merge remote-tracking branch 'upstream/stable' into merge_stable 2015-10-14 15:29:12 +02:00
Martin Nowak
96bc6da667 missing docs for moveEmplace 2015-10-14 13:56:37 +02:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Martin Nowak
8d9d606ef8 Merge pull request #3700 from CyberShadow/pull-20151007-105521
Use canonical links to forum.dlang.org
2015-10-07 16:01:04 +02:00
Vladimir Panteleev
52d6930daf Use canonical links to forum.dlang.org
http://forum.dlang.org/help#canonical
2015-10-07 10:55:51 +00:00
Per Nordlöw
100e7a485b Struct returned findSplits with bool conversion 2015-10-05 21:56:33 +02:00
Dmitry Olshansky
8aca364e7e Merge pull request #3652 from JackStouffer/docs
Fixed some docs in std.algorithm
2015-10-05 20:14:01 +03:00
Jack Stouffer
3706811991 fixed docs 2015-10-05 09:16:19 -04:00
Matt Kline
dae8f5e993 Mention lambda predicates in std.algorithm 2015-09-24 17:12:28 -07:00
Steven Schveighoffer
edc405cacd Merge pull request #3649 from DmitryOlshansky/poita--issue14817
[REG master] Issue14817 std.algorithm.copy/std.file.copy conflict
2015-09-18 09:22:01 -04:00
Steven Schveighoffer
403947bede Merge pull request #3574 from JackStouffer/issue12752
Fixed Issue 12752: std.algorithm.isPermutation
2015-09-17 16:29:44 -04:00
Jack Stouffer
6daa283986 fixed issue 12752 2015-09-17 13:03:09 -04:00
Peter Alexander
1e7246b201 Fix Issue 14817 - std.algorithm.copy/std.file.copy conflict
https://github.com/D-Programming-Language/phobos/pull/2799 introduced a regression, which prevented module that imported both std.algorithm and std.file to use unqualified calls to copy(string, string). The regression was caused by the removal of template constraints, which were preventing the std.algorithm copy from being considered for overload resolution.

std.algorithm.copy has two paths: an path for array copies, and a path for all other copies. Previously they were forked using static if inside function. Now the decision is made using template constraints.
2015-09-12 14:10:40 +03:00
H. S. Teoh
754a259c93 Add Params:, Returns:, to minPos(). 2015-09-10 21:16:25 -07:00
H. S. Teoh
14bb8ad2f5 Add Params:, Returns:, to minCount(). 2015-09-10 21:15:17 -07:00
Robert Schadek
e5c3d756eb Merge pull request #3638 from quickfur/min_doc
[dox] Improve docs for std.algorithm.comparison.min
2015-09-10 12:22:41 +02:00
H. S. Teoh
4ac555c870 Add Params:, Returns:, to findSplitxx(). 2015-09-09 21:21:45 -07:00
H. S. Teoh
89d9653f77 Add Params:, Returns: to count(). 2015-09-09 20:48:48 -07:00
H. S. Teoh
44264b30d0 Add Params:, Returns: to balancedParens. 2015-09-09 20:37:45 -07:00
H. S. Teoh
6452bf89e6 Turn min() unittest into ddoc'd example. 2015-09-08 22:00:25 -07:00
H. S. Teoh
f827ffaa24 Add Params:, Returns: to std.algorithm.comparison.min. 2015-09-08 21:56:21 -07:00
Robert Schadek
7d1961a13d Merge pull request #3630 from quickfur/setops_doc
[dox] Add Params, Returns, to std.algorithm.setops
2015-09-08 10:27:51 +02:00
Hara Kenji
bb7e5fb3cc Merge pull request #3634 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2015-09-08 01:46:43 +09:00
H. S. Teoh
9534a996a7 Add Params: to completeSort().
Params: and Returns: for isSorted.

Params:, Returns:, for partition and isPartitioned.

Params: and Returns: for partition3.

Params: for makeIndex().

Add Params: and Returns: for various sorting functions.

Add Params: and Returns: to the topNxxx() functions.

Add Params:, Returns: to the nextPermutation functions.
2015-09-06 22:02:23 -07:00
Martin Nowak
18c5b270e0 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	std/internal/cstring.d
	win64.mak
2015-09-07 00:44:29 +02:00
H. S. Teoh
9c2643b31e Add Params:, Returns:, for setUnion. 2015-09-04 23:12:08 -07:00
H. S. Teoh
a86d838cba Add Params, Returns, See_also, to setSymmetricDifference. 2015-09-04 23:09:56 -07:00
H. S. Teoh
a7cafe1334 Add Params:, Returns: to setIntersection. 2015-09-04 23:08:01 -07:00
H. S. Teoh
a5f56f5716 Add Params:, Returns:, See_also: for setDifference. 2015-09-04 23:05:08 -07:00
H. S. Teoh
7f261f7eb8 Add Params: and Returns: for nWayUnion. 2015-09-04 23:02:00 -07:00
H. S. Teoh
6f0fbeb7d7 Add Params: for largestPartialIntersection. 2015-09-04 22:58:41 -07:00
H. S. Teoh
7acb9eac80 Add Params: and Returns: to cartesianProduct docs. 2015-09-04 22:51:06 -07:00
Dmitry Olshansky
f2220c2139 Merge pull request #3022 from ivan-timokhin/totalOrder
Total ordering for floating-point values.
2015-09-02 12:39:55 +03:00
Dmitry Olshansky
09d5b511f4 Merge pull request #3528 from vladdeSV/format-return-correct-type
format() returns the correct type
2015-08-30 22:57:57 +03:00
Vladimir Panteleev
8f5a37f174 Merge pull request #3542 from luismarques/fix_issue_14884
Fix Issue 14884 - `among` docs broken link to `find` and `canFind`
2015-08-26 03:18:46 +00:00
k-hara
6579c574bb fix Issue 14904 - bad error message in reduce: 'Incompatible function/seed/element'
The verbose message is shown only when the given `fun` is actually valid.
2015-08-25 13:38:24 +09:00
H. S. Teoh
17e240b051 Fix typo in chunkBy cheatsheet. 2015-08-20 10:33:36 -07:00
H. S. Teoh
03eac95230 Add missing cheatsheet links for ordered and strictlyOrdered. 2015-08-19 22:21:20 -07:00
vladdeSV
9097c7bc0b assert message is converted to string 2015-08-10 17:47:41 +02:00
Luís Marques
4b7976bc27 Fix Issue 14884 2015-08-10 14:55:21 +01:00
Luís Marques
3730d77c04 Fix issue 14880 2015-08-10 14:38:22 +01:00