Andrei Alexandrescu
2cdb9c4eec
Merge pull request #3795 from JackStouffer/isNumeric
...
Add unittest examples to std.string.isNumeric
2015-11-11 23:14:05 -05:00
Robert burner Schadek
ba8d5e70ba
std.string.lineSplitter_unittest_example
...
* added unittest doc examples for indexOf lastIndexOf
fixup
fix
another version
2015-11-08 19:08:49 +01:00
Dmitry Olshansky
6b0aa3c349
Merge pull request #3781 from burner/std.string.leftJustify_unittest_example
...
std.string.leftJustify_unittest_example
2015-11-07 15:34:20 +03:00
Dmitry Olshansky
57facbbfed
Merge pull request #3782 from burner/std.string.rightJustify_unittest_example
...
std.string.rightJustify_unittest_example
2015-11-07 14:52:35 +03:00
Dmitry Olshansky
ce70770170
Merge pull request #3783 from burner/std.string.center_unittest_example
...
std.string.center_unittest_example
2015-11-07 14:29:10 +03:00
Jack Stouffer
71e54dbc47
add unittest examples to isNumeric
2015-11-06 10:00:25 -05:00
Jack Stouffer
016d5a0074
Add unittest example to wrap
2015-11-04 10:08:54 -05:00
Robert burner Schadek
86a9f25e78
std.string.center_unittest_example
...
* added unittest doc examples for center
2015-10-28 15:10:22 +01:00
Robert burner Schadek
434eb1248c
std.string.rightJustify_unittest_example
...
* added unittest doc examples for rightJustify
2015-10-28 15:01:52 +01:00
Robert burner Schadek
bcb492fcd7
std.string.leftJustify_unittest_example
...
added unittest doc examples for leftJustify
2015-10-28 14:57:26 +01:00
Martin Nowak
0e95f6723a
Merge remote-tracking branch 'upstream/stable' into merge_stable
2015-10-27 15:55:59 +01:00
Andrei Alexandrescu
44a9bd0c27
Merge pull request #3772 from burner/std.string.capitalize_unittest_example
...
std.string.capitalize_unittest_example
2015-10-27 09:53:29 -04: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
Robert burner Schadek
93511d5d22
std.string.capitalize_unittest_example
...
* added unittest doc example
some attributes
2015-10-26 15:03:30 +01:00
Robert burner Schadek
45dbe146ed
std.string.splitLines_unittest_example
...
* added unittest doc example
2015-10-26 14:02:24 +01:00
Martin Nowak
34097e8595
std.string fixes for string-like types
...
- consolidate tests
- add a few missing overloads
2015-10-25 19:28:08 +01:00
Martin Nowak
a089ec3ca9
Merge remote-tracking branch 'upstream/pr/3745' into stable
2015-10-22 15:02:49 +02:00
Robert burner Schadek
4ceef88236
std.string.column_alias_string_fix
...
make column take custom types again that have an alias this to string
forgot auto ref
2015-10-21 13:43:13 +02:00
Martin Nowak
d947b8190b
consistently handle StringTypeOf overloads
...
- use auto ref to avoid expensive copies
- leave the overloads undocumented
- move them below the real implementations
- use explict template instantiation to avoid casts
- had to factor out LineSplitter b/c of fwd
reference complaints by the compiler
2015-10-21 13:28:54 +02:00
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