Skip to content

Conversation

@MartinNowak
Copy link
Member

Conflicts:
std/uni.d

jmdavis and others added 9 commits September 3, 2017 04:08
… strings.

The from*String functions in std.datetime did not have tests to make
sure that they worked with various character types or various levels of
constness, and some optimizations that were done to the from*String
functions on DateTime for 2.076 broke them for const strings. So, this
adds tests for all character types and levels of constness to each of
the from*String function in std.datetime, and fixes the functionality
for DateTime that then doesn't pass the tests.
Fix issue 17801: DateTime.fromISOExtString no longer works with const strings.
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
Fix issue 13348 - byGrapheme is not pure
merged-on-behalf-of: unknown
ddoc, add missing isSIMDVector to the index trait
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @MartinNowak!

Bugzilla references

Auto-close Bugzilla Description
13348 std.uni.Grapheme is impure due to using C malloc and friends
17801 Date.fromISOExtString broken in 2.076 because of changed type specifier

{
// TODO: Bidirectional access
static struct Result
static struct Result(R)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW this change from #5723 looks weird. The template parameter Range is the same and should be available. After all, it worked fine before ...

std/uni.d Outdated
import std.traits; // isConvertibleToString, isIntegral, isSomeChar,
// isSomeString, Unqual
import std.exception : enforce, collectException;
import core.memory: pureMalloc, pureRealloc, pureFree;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failing due to the missing space here -> appended a commit to fix this.

@dlang-bot dlang-bot merged commit be49754 into dlang:master Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants