Commit graph

590 commits

Author SHA1 Message Date
Martin Nowak
287d483645 Merge pull request #3742 from burner/std.string.stripRight_alias_string_fix
std.string.stripRight_alias_string_fix
2015-10-21 13:27:07 +02:00
Martin Nowak
2b0251a322 Merge remote-tracking branch 'upstream/pr/3747' into stable 2015-10-21 12:47:00 +02:00
Martin Nowak
bc14b18f6f add is(StringTypeOf!S) for better error msgs 2015-10-21 12:44:38 +02:00
Martin Nowak
805710c951 Merge pull request #3746 from burner/std.string.splitLines_alias_string_fix
std.string.splitLines_alias_string_fix
2015-10-21 12:20:50 +02:00
Martin Nowak
f7951817a8 Merge pull request #3744 from burner/std.string.entab_alias_string_fix
std.string.entab_alias_string_fix
2015-10-21 12:18:13 +02:00
Martin Nowak
3ecea836cb Merge pull request #3743 from burner/std.string.stripLeft_alias_string_fix
std.string.stripLeft_alias_string_fix
2015-10-21 12:17:39 +02:00
Martin Nowak
9e3589e0cb Merge pull request #3741 from burner/std.string.strip_alias_string_fix
std.string.strip_alias_string_fix
2015-10-21 12:16:51 +02:00
Robert burner Schadek
8dc29bff62 std.string.capitalize_alias_string_fix
make capitalize take custom types again that have an alias this to string
2015-10-19 11:33:11 +02:00
Robert burner Schadek
3a5872cae4 std.string.splitLines_alias_string_fix
make splitLines take custom types again that have an alias this to string
2015-10-19 11:32:14 +02:00
Robert burner Schadek
d06e6277e4 std.string.entab_alias_string_fix
make entab take custom types again that have an alias this to string as auto
ref
2015-10-19 11:29:55 +02:00
Robert burner Schadek
eac977ab85 std.string.stripLeft_alias_string_fix
make stripLeft take auto ref custom types with to string alias

forgot a {
2015-10-19 11:25:41 +02:00
Robert burner Schadek
e1dfc3b331 std.string.stripRight_alias_string_fix
make stripRight take auto ref custom types with to string alias
2015-10-19 11:23:58 +02:00
Robert burner Schadek
2ef09b95a3 std.string.strip_alias_string_fix
make strip take custom types again that have an alias this to string

test stuff
2015-10-19 11:22:41 +02:00
Robert burner Schadek
a2b5fb5afa std.string.soundexer_alias_string_fix
make soundexer take custom types again that have an alias this to string
2015-10-19 11:19:57 +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
Robert burner Schadek
c6ea3e5efb std.string.indexOf_rangifed_fixup
make indexOf consistend and accept auto ref ranges

ditto
2015-10-15 10:49:07 +02:00
Rainer Schuetze
2f3b775518 Merge pull request #3705 from burner/std.string.entab_alias_fix
std.string.entab_alias_fix
2015-10-15 10:17:57 +02:00
Martin Nowak
f127643ed7 Merge remote-tracking branch 'upstream/stable' into merge_stable 2015-10-14 15:29:12 +02:00
Robert burner Schadek
7b3ca2e4db another try 2015-10-13 22:19:23 +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
Robert burner Schadek
ca724eb0f0 std.string.detab_alias_fix
make detab and detabber accept custom types with an alias this to a string
member of member function

rainers improvment

more rainer fixes and more testing

more rainer
2015-10-13 19:56:23 +02:00
Martin Nowak
6490f9f83c Merge pull request #3704 from burner/std.string.stripRight_string_alias_fix
std.string.stripRight_string_alias_fix
2015-10-07 15:54:45 +02:00
Martin Nowak
0b80a960ef Merge pull request #3703 from burner/std.string.stripleft_string_alias_fix
std.string.stripleft_string_alias_fix
2015-10-07 15:33:09 +02:00
Robert burner Schadek
dcec6a153a std.string.stripleft_string_alias_fix
make stripLeft accept types with an alias this to a string member(function)

small update
2015-10-07 14:40:37 +02:00
Robert burner Schadek
68f4373a6d std.string.stripRight_string_alias_fix
make stripRight accept custom types with alias this to string
member(functions)
2015-10-07 14:36:01 +02:00
Robert burner Schadek
a52d43e420 std.string.lineSplitter_string_alias_fix
lineSplitter used to accept struct and classes with an alias this to a string
returning function.
This PR add that feature again.

https://github.com/D-Programming-Language/phobos/pull/3694
2015-10-07 13:37:45 +02:00
Robert burner Schadek
7db1b9e65d indexOf used to accept user defined structs
this was broken by recent rangefing of indexOf.
This PR recreates this feature.
2015-09-27 21:35:58 +02:00
H. S. Teoh
ebe9f5824f Add Params: and Returns: for std.string.center. 2015-08-29 17:53:31 -07:00
H. S. Teoh
f9fd7e6362 Add Params: and Returns: to lastIndexOf overloads. 2015-08-29 17:46:53 -07:00
H. S. Teoh
46cb33d4bf Add Params:, Returns:, to std.string.indexOf(). 2015-08-29 17:30:31 -07:00
H. S. Teoh
a520b91f2d Add Params: and Returns: to fromStringz and toStringz. 2015-08-29 17:27:24 -07:00
H. S. Teoh
91910e9e1b Fix broken hyperlinks to std.algorithm submodules. 2015-08-24 07:20:50 -07:00
Walter Bright
f6ce5692ef Merge pull request #3446 from 9rnsr/fix14735
Supplemental fix for issue 14735 - Prevent self-recursive match
2015-06-29 15:25:54 -07:00
k-hara
cd77a9cdcb Supplemental fix for issue 14735 - Prevent self-recursive match
The slice expression `s[]` will match to T[n] by using compile-time length deduction.
2015-06-27 22:19:05 +09:00
Walter Bright
212968b2b4 Range-ify std.string.strip and stripRight() 2015-06-19 20:49:32 -07:00
anonymous
b28962635f fix package XREFs
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02:00
Hackerpilot
0b1e29cfa1 Rename ModifyTypePreservingSTC to ModifyTypePreservingTQ and make it public. 2015-06-03 16:10:35 -07:00
Lionello Lunesu
8fc047f277 Fixed DDoc warnings 2015-05-30 09:17:43 -06:00
Robert burner Schadek
c34574d4ac string: alias syntax update 2015-05-28 19:04:43 +02:00
Walter Bright
ae966fbf94 Range-ify std.string.chop 2015-05-21 20:33:58 -07:00
Walter Bright
f85101eea1 Range-ify std.string.center() with centerJustifier() 2015-05-19 21:07:47 -07:00
Martin Nowak
5c089bdc08 Merge pull request #3215 from WalterBright/rightJustifier
Range-ify std.string.rightJustify() with rightJustifier()
2015-05-15 14:42:43 +02:00
Walter Bright
8bfb7e716f Range-ify std.string.rightJustify() with rightJustifier() 2015-05-12 13:32:52 -07:00
Andrei Alexandrescu
587452ac45 Merge pull request #3214 from WalterBright/leftJustifier
Range-ify std.string.leftJustify() with leftJustifier()
2015-05-12 10:02:47 -07:00
Andrei Alexandrescu
9f3eee3e39 Merge pull request #3203 from WalterBright/addDetabber
Add std.string.detabber(), a range version of detab()
2015-05-12 09:16:46 -07:00
Martin Nowak
a52c3fc967 Merge pull request #3196 from WalterBright/chompPrefix
Range-ify std.string.chompPrefix
2015-05-12 18:06:18 +02:00
Walter Bright
313d06dcf1 Range-ify std.string.chompPrefix 2015-05-11 02:52:25 -07:00
Walter Bright
88c10396f1 Add std.string.detabber(), a range version of detab() 2015-05-11 02:44:11 -07:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
a76d90c927 Phobos should only mention tuple as std.typecons.Tuple 2015-05-05 22:22:11 +03:00