Commit graph

10897 commits

Author SHA1 Message Date
Rainer Schuetze
1573b98304 fix isDir for alias this'd strings 2015-10-22 08:13:02 +02:00
Dmitry Olshansky
bf955ecb6c Merge pull request #3758 from MartinNowak/string_type_of
consistently handle StringTypeOf overloads
2015-10-22 08:58:39 +03:00
k-hara
1df5afebe4 fix Issue 15039 - Algebraic cannot store a Typedef along with Typedef'ed type 2015-10-22 11:39:10 +09:00
k-hara
6008df7804 Fix ReplaceType bug[3] - distinguish variadic function style - support typesafe variadic 2015-10-22 11:37:48 +09:00
k-hara
c8ac6c29db Fix ReplaceType bug[2] - support function local types 2015-10-22 11:33:21 +09:00
k-hara
c37ad2dadd Fix ReplaceType bug[1] - don't touch non-type template arguments on instantiated type 2015-10-22 11:26:14 +09:00
Brian Schott
2912059e12 Merge pull request #3760 from jamadagni/format_floating_char_msg
std.format: give a proper message when a floating point value is not given a compatible format character
2015-10-21 10:45:50 -07:00
Shriramana Sharma
9faf41e770 std.format: give a proper message when a floating point value is not given a compatible format character 2015-10-21 20:22:52 +05:30
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
Martin Nowak
8c06b41288 Merge pull request #3740 from burner/std.string.soundexer_alias_string_fix
std.string.soundexer_alias_string_fix
2015-10-21 12:13:17 +02:00
AndrejMitrovic
48701fcd1f Merge pull request #3624 from quickfur/enforce_doc2
[dox] Revise confusing wording of "if !value is false" in std.exception.enforce
2015-10-19 23:18:22 +02:00
Brian Schott
c33306d2ca Merge pull request #3750 from WalterBright/sha_SSSE3
sha_SSSE3.d: small optimization
2015-10-19 11:30:58 -07:00
Robert Schadek
17632c30b6 Merge pull request #3749 from WalterBright/biguintcore
biguintcore: eliminated unnecessary divides
2015-10-19 20:04:33 +02:00
Walter Bright
7fe9cc897c sha_SSSE3.d: small optimization 2015-10-19 07:12:27 -07:00
Walter Bright
db53e3b153 biguintcore: eliminated unnecessary divides 2015-10-19 07:00:42 -07:00
Walter Bright
3b7b38b9ca bitmanip: don't reinvent unsignedToTempString 2015-10-19 06:11:52 -07: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
Brian Schott
60e69567dc Merge pull request #3693 from andrewwvc/newmaster
Modified allocateEligible to prevent memory stomping
2015-10-19 02:20:31 -07: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
Dmitry Olshansky
e7eb322ccd Merge pull request #3730 from AndrejMitrovic/fix-assert
Avoid strict equality check on assert message
2015-10-19 08:35:54 +03:00
AndrejMitrovic
e23ec60851 Merge pull request #3714 from CyberShadow/pull-20151013-014236
fix Issue 15198 - evenChunks - std.range.chunks variant which slices …
2015-10-18 19:02:07 +02:00
Vladimir Panteleev
e500230f2e std.range.package: Document evenChunks retuned chunk size implementation 2015-10-18 15:25:48 +00:00
AndrejMitrovic
3612fdab0e Merge pull request #3727 from CyberShadow/pull-20151018-004338
fix Issue 15220 - [REG2.065] std.getopt parses -o=value as "=value"
2015-10-18 15:17:39 +02:00
Andrej Mitrovic
710e05d2e0 Avoid strict equality check on assert message
Required for https://github.com/D-Programming-Language/dmd/pull/5189
2015-10-18 13:34:21 +02:00
Brian Schott
06506e407a Merge pull request #3725 from CyberShadow/pull-20151017-003315
fix Issue 15212 - BigInt should implement opCast!long and opCast!int
2015-10-17 21:43:36 -07:00
Brian Schott
05ed573f3b Merge pull request #3729 from CyberShadow/pull-20151018-025718
std.getopt: Documentation fixes and improvements
2015-10-17 20:47:28 -07:00
jibal
dd34ae8757 std.getopt: Documentation fixes and improvements 2015-10-18 03:04:31 +00:00
Vladimir Panteleev
ca01aeeb83 Merge pull request #3708 from kinke/variant
std.variant: don't assert that target address != null if type size is 0
2015-10-18 02:09:50 +00:00
Vladimir Panteleev
3c7c3ecfd6 fix Issue 15220 - [REG2.065] std.getopt parses -o=value as "=value" 2015-10-18 00:44:23 +00:00
Brian Schott
6ee65f477c Merge pull request #3709 from jmdavis/isTimePoint
Code reduction and clean-up for std.datetime.isTimePoint.
2015-10-16 22:40:32 -07:00
Brian Schott
c5c87895a8 Merge pull request #3716 from CyberShadow/pull-20151014-040843
Remove declarations already declared by the new Windows headers
2015-10-16 22:00:44 -07:00
Brian Schott
5a2d290de9 Merge pull request #3722 from Abscissa/for-issue-14413
Doc formatting fixes for DMD PR 4745
2015-10-16 21:27:46 -07:00
Brian Schott
67c95e6de2 Merge pull request #3715 from dcarp/AliasSeq
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Vladimir Panteleev
9bb4da2456 fix Issue 15212 - BigInt should implement opCast!long and opCast!int 2015-10-17 03:51:52 +00:00
Steven Schveighoffer
3904b17cdf Merge pull request #3726 from CyberShadow/pull-20151017-010456
Fix test race condition in phobos std.net.curl
2015-10-16 21:51:31 -04:00
Vladimir Panteleev
28abd12631 Fix test race condition in phobos std.net.curl 2015-10-17 01:05:07 +00:00
Dmitry Olshansky
a26d37bd06 Merge pull request #3721 from burner/std.string.indexOf_rangifed_fixup
std.string.indexOf_rangifed_fixup
2015-10-16 15:32:09 +03:00