Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
3ebc4ec
Move TimeOfDay to std.datetime.date.
jmdavis May 6, 2017
7c18f68
Move DateTime to std.datetime.date.
jmdavis May 6, 2017
6027d7b
Move stray functionality in std.datetime.common to std.datetime.date.
jmdavis May 6, 2017
10a7292
Remove uses of common, datetime, and timeofday.
jmdavis May 6, 2017
3042d4f
Remove std.datetime.common,datetime,timeofday.
jmdavis May 6, 2017
b7bb3bc
Fix links in std.datetime.
jmdavis May 6, 2017
75213fd
Update changelog entry for splitting std.datetime.
jmdavis May 6, 2017
10380f3
Merge pull request #5359 from jmdavis/std_datetime_split
schveiguy May 6, 2017
3d6b8bb
Fix Ddoc links in std.datetime
wilzbach May 6, 2017
4788143
Merge pull request #5366 from wilzbach/fix-links-datetime
dlang-bot May 6, 2017
ac62197
Add the MonoTime equivalents of std.datetime.StopWatch/benchmark.
jmdavis May 6, 2017
55dffcf
Update the changelog entry for splitting std.datetime.
jmdavis May 6, 2017
dfd7de8
Update changelog entry to use MREF instead of LINK2.
jmdavis May 6, 2017
9097179
Warn about impending deprecation of functions in std.datetime.package.
jmdavis May 6, 2017
7d7ce4a
Logger sharedLog comment on thread-safety
burner May 7, 2017
07fddbb
Move deprecations along.
jmdavis May 7, 2017
29273f2
remove .deps file generation
MartinNowak May 7, 2017
b3e4e76
Merge pull request #5369 from jmdavis/deprecations
dlang-bot May 7, 2017
9c61193
Merge pull request #5364 from wilzbach/split-up-circleci
dlang-bot May 7, 2017
1e7327b
posix.mak: Discard DDoc output of DDoc warning test
CyberShadow May 7, 2017
76c6dcc
Allow ignoring individual lines for coverage analysis
CyberShadow May 7, 2017
522952b
Fix std.datetime autotester failure for FreeBSD 10.3/11.
jmdavis May 7, 2017
c45c55a
Merge pull request #5377 from jmdavis/freebsd
dlang-bot May 7, 2017
39eaa6e
Merge pull request #5376 from CyberShadow/pull-20170507-142108
dlang-bot May 8, 2017
7488da5
Merge pull request #5372 from MartinNowak/rm_ut_deps
dlang-bot May 8, 2017
2d04d43
Merge pull request #5368 from burner/loggersharedcomment
dlang-bot May 8, 2017
3a367d3
Test positional width/precision
ntrel May 8, 2017
25fc16f
Removed level of indirection from internal std.xml.ElementParser code
JackStouffer May 8, 2017
4f527ac
Allow parallel execution of public unittests
wilzbach May 8, 2017
a980f66
Check for an existent tools repository on more files
wilzbach May 8, 2017
8807639
Make behavior of environment.opIndexAssign on Posix to match the beha…
FreeSlave Apr 5, 2017
d052675
Merge pull request #5324 from FreeSlave/Issue_15783
dlang-bot May 8, 2017
93b569c
Add @safe to two common functions in std.xml
JackStouffer May 8, 2017
2ac9ad7
Debugger target for posix
burner May 4, 2017
4d766ff
Merge pull request #5381 from JackStouffer/xml-safe
dlang-bot May 9, 2017
73ef3cb
Fixed some typos in std.string docs
JackStouffer May 9, 2017
3d8058a
Merge pull request #5383 from JackStouffer/string-typo
dlang-bot May 9, 2017
0b916c9
Merge pull request #5380 from JackStouffer/xml-pointer
dlang-bot May 11, 2017
578d630
Merge pull request #5360 from burner/posixdebuggertarget
dlang-bot May 11, 2017
275390f
Merge pull request #5363 from wilzbach/allow-parallel-publictests-exe…
dlang-bot May 11, 2017
c6819e2
[Static if] replace overload constraints with static if (mutation.d)
wilzbach Feb 18, 2017
4511381
Deprecate obsolete pattern matching functions in std.string
JackStouffer May 7, 2017
7031ed1
Merge pull request #5378 from JackStouffer/pattern
dlang-bot May 12, 2017
3559366
Merge pull request #5149 from wilzbach/static_if_mutation
dlang-bot May 12, 2017
4e8cab7
Fix some bad/slangy English in std.getopt.
jmdavis May 13, 2017
e50531d
Fix issue 17394 - mkdirRecurse isn't @safe
wilzbach May 12, 2017
4b8b6b7
Merge pull request #5388 from jmdavis/dunno
dlang-bot May 13, 2017
21c09f1
Issue 16053: Fix it so that SysTime's from*String supports more than …
jmdavis May 13, 2017
b96c926
Add changelog entry for deprecation of pattern functions
JackStouffer May 13, 2017
6ff81f1
Fix issue 16246 - cannot call iota with 3 [u]bytes or 3 [u]shorts
andralex May 14, 2017
0e441a9
Fix Issue 16326 - filter is not lazy enough & has weird save behavior
andralex May 14, 2017
d6b55f8
Merge pull request #5392 from andralex/16326
WalterBright May 14, 2017
74514bc
Improve behavior on overflow
andralex May 14, 2017
df0770a
Merge pull request #5367 from jmdavis/stopwatch
dlang-bot May 14, 2017
43d0c05
Merge pull request #5390 from dlang/JackStouffer-patch-1
dlang-bot May 14, 2017
79edc62
Merge pull request #5391 from andralex/16246
dlang-bot May 15, 2017
6dbcf46
std.datetime.stopwatch: Fix random test failure on Win32
CyberShadow May 15, 2017
c33c670
Merge pull request #5394 from CyberShadow/pull-20170515-042609
dlang-bot May 15, 2017
f92adce
Merge branch 'master' into pairwise
JackStouffer May 15, 2017
e872190
Merge pull request #4027 from wilzbach/pairwise
dlang-bot May 15, 2017
49ee158
Fix Issue 15720 - iota(long.max, long.min, step) does not work properly
andralex May 16, 2017
cc44bc4
Small clean-up for PR #4027
JackStouffer May 15, 2017
41578f7
Rename slides to slide
JackStouffer May 16, 2017
a240041
Rename slideWithLessElements to withFewerElements
JackStouffer May 16, 2017
4dab22e
Merge pull request #5395 from JackStouffer/slides-clean-up
dlang-bot May 16, 2017
5ada634
Fixed spelling mistakes in std.range
JackStouffer May 16, 2017
138d9b9
Merge pull request #5397 from andralex/15720
dlang-bot May 16, 2017
50bdbff
std.datetime.stopwatch: Fix another random test failure on Win32
CyberShadow May 17, 2017
3da3855
Merge pull request #5399 from CyberShadow/pull-20170517-001335
dlang-bot May 17, 2017
9be83b1
Merge pull request #5398 from JackStouffer/range-spelling
dlang-bot May 17, 2017
2a0560e
Merge pull request #5389 from jmdavis/issue_16053
dlang-bot May 17, 2017
fabf19a
Defer addition of template until we need it for ranges.
schveiguy May 17, 2017
22799ff
Merge pull request #5386 from wilzbach/safe-file
dlang-bot May 17, 2017
a45dc66
Merge pull request #5342 from tsbockman/issue_15645
dlang-bot May 17, 2017
99ccc95
Removed unsafe pointer access and marked some functions as @safe in s…
JackStouffer May 18, 2017
bf43110
Add asOriginalType function for enums
andralex May 19, 2017
46a3cda
Merge pull request #5401 from andralex/enum-representation
dlang-bot May 19, 2017
c6f694d
Revert "[Static if] replace overload constraints with static if (muta…
wilzbach May 19, 2017
f52fa2d
Merge pull request #5402 from dlang/revert-5149-static_if_mutation
dlang-bot May 19, 2017
eade7d3
Optimized std.datetime.date.fromISOString
JackStouffer May 19, 2017
5e49643
Add top documentation for asOriginalType and move its definition appr…
andralex May 19, 2017
b239354
Merge pull request #5375 from CyberShadow/pull-20170507-152516
dlang-bot May 19, 2017
d15abe6
Merge pull request #5405 from andralex/asOriginalType-dox
dlang-bot May 19, 2017
784a547
Further improvements
JackStouffer May 20, 2017
cc8bd1c
Fix it so that dirName does not use isConvertibleToString.
jmdavis May 20, 2017
edc049d
Fix it so that using convertible types with baseName is @safe.
jmdavis May 20, 2017
c0403e1
path.d: add overflow checks
WalterBright Aug 4, 2016
6af2c7c
std.conv.toTextRange(): don't reinvent ToTempString()
WalterBright Feb 8, 2017
fcf17a6
Merge pull request #4713 from WalterBright/path-overflow
dlang-bot May 20, 2017
54385cd
Merge pull request #5101 from WalterBright/use-ToTempString
WalterBright May 20, 2017
fc3ab2b
reimplement toUTF8/16 in terms of encode()
WalterBright May 20, 2017
75744e0
Merge pull request #5406 from jmdavis/path
WalterBright May 21, 2017
2ffe350
Replace deprecated functions from std_conv and std_uri
edi33416 May 21, 2017
90afbc0
Merge pull request #5409 from edi33416/cleanup_deprecations
WalterBright May 21, 2017
d3e00ae
Add crc64 support
deadalnix Jan 18, 2017
a4d9b57
Add ECMA and ISO CRC64 variations
deadalnix Jan 19, 2017
0ea46ff
Make the CRC struct public. It seems like one can't alias a private s…
deadalnix Jan 23, 2017
6d4be23
Add more doc
deadalnix Mar 8, 2017
05a4c06
Remove unittests which makes circle unhappy.
deadalnix Mar 14, 2017
976eb43
Merge pull request #5047 from deadalnix/crc64
dlang-bot May 21, 2017
308ad14
Added Changelog Entry For 64 Bit CRC
JackStouffer May 22, 2017
e0865f5
Optimized std.datetime.date.TimeOfDay.fromISOString
JackStouffer May 22, 2017
36a02d3
Moved ddoc unittest block back to its proper position in std.digest.crc
JackStouffer May 22, 2017
dac8f3b
Merge pull request #5414 from JackStouffer/crc-docs
dlang-bot May 22, 2017
ce9f311
Merge pull request #5412 from dlang/JackStouffer-patch-2
dlang-bot May 22, 2017
4a2b94e
Unmarkdownify the secureCompare changelog entry
wilzbach May 22, 2017
745d930
Merge pull request #5415 from wilzbach/unmarkdownify-changelog
dlang-bot May 22, 2017
e743942
Added example to SysTime.isoWeek
JackStouffer May 22, 2017
9d6420e
reimplement std.traits.functionLinkage using __traits
WalterBright May 23, 2017
21a76ac
Merge pull request #5417 from JackStouffer/systime-doc
dlang-bot May 23, 2017
a5de7d5
Merge pull request #5418 from WalterBright/functionLinkage
dlang-bot May 23, 2017
b940d0c
Merge remote-tracking branch 'upstream/stable' into merge_stable
MartinNowak May 23, 2017
099fa37
Get rid of static this for initializing std{in,out,err}
andralex May 23, 2017
fa4d134
reimplement std.traits.VariadicFunctionStyle()
WalterBright May 23, 2017
78b3328
Get rid of static this for initializing encoding
andralex May 23, 2017
a854092
Make it less fun
andralex May 23, 2017
9a66a6a
Merge pull request #5423 from andralex/no-more-durn-encodingInit
dlang-bot May 24, 2017
99659e6
Removed unnessesary auto-decoding from the single argument version of…
JackStouffer May 23, 2017
825ad38
Removed auto-decoding from the single needle version of endsWith
JackStouffer May 23, 2017
41e5681
Merge pull request #5420 from JackStouffer/startsWith-decoding
dlang-bot May 24, 2017
699a45a
Merge pull request #5382 from JackStouffer/xml-safe
dlang-bot May 24, 2017
38ebccd
initOnce is slow, use double checking
andralex May 24, 2017
ee31837
Alternative implementation that doesn't use initOnce
andralex May 24, 2017
3f58324
Use explicit atomic loading for the double-checked variable
andralex May 25, 2017
d66e18a
Add atomicLoad to the uint-based solution
andralex May 25, 2017
8295a59
Merge pull request #5407 from WalterBright/redo-toUTF8
dlang-bot May 25, 2017
3d80936
Fix Issue 16108: tostrings fails on struct with disabled postblit
JackStouffer May 24, 2017
bd80096
Merge pull request #5422 from JackStouffer/endsWith-decoding
dlang-bot May 25, 2017
946d79d
Merge pull request #5352 from ntrel/format-switch
dlang-bot May 25, 2017
b32e2bd
Merge pull request #5413 from JackStouffer/time-fromISOString
dlang-bot May 26, 2017
9e67599
fix issue 15945, 16256, 17328
burner May 7, 2017
86d5009
Merge pull request #5373 from burner/issue17328
dlang-bot May 26, 2017
32e50bd
Reenable publictests checking on CircleCi
wilzbach May 26, 2017
3fd1bc6
std.stdio.makeGlobal: Fixup double-checked pattern
dnadlinger May 27, 2017
5a3b007
std.stdio.makeGlobal: Add explanatory comment
dnadlinger May 27, 2017
1842655
std.stdio.makeGlobal: Optimize fast path, MemoryOrder.seq is overkill
dnadlinger May 27, 2017
a051dfa
Merge pull request #5428 from wilzbach/fix-publictests
dlang-bot May 27, 2017
d3dcbc6
Fixed circular reference bug in fullyQualifiedName.
marler8997 May 28, 2017
ef15d6e
Merge pull request #5430 from marler8997/FixFullyQualifiedNameBug
dlang-bot May 29, 2017
27b6122
fix Issue 15517
burner May 7, 2017
4b440f7
Track errors that may happen in forked process on Posix
FreeSlave May 29, 2017
07e0293
Merge pull request #5371 from burner/issue15517
dlang-bot May 29, 2017
e162658
Fix Issue 17452 - Undefined references in std.container.array
wilzbach May 29, 2017
9187726
Add unittest for using malformed executable in spawnProcess
FreeSlave May 29, 2017
d4cb5e6
Merge pull request #5432 from wilzbach/fix-17452
dlang-bot May 29, 2017
4b727ed
Merge pull request #5326 from MartinNowak/merge_stable
dlang-bot May 29, 2017
44e584e
Remove pipe errors ignoring in spawnProcess. Add assert(0) instead of…
FreeSlave May 30, 2017
8bc0ab6
Improve coverage for failed chdir in spawnProcess
FreeSlave May 30, 2017
a2e63b0
final switch on spawnProcess child errors
FreeSlave May 30, 2017
a5263c3
Removed extra string allocation in std.conv.to
JackStouffer May 30, 2017
81f1c58
document std.complex .im 0 initialization
John-Colvin May 31, 2017
7eafb6d
fix im 0 init placement info for complex
John-Colvin May 31, 2017
3bedadf
Merge pull request #5434 from John-Colvin/patch-10
dlang-bot May 31, 2017
c46fe4b
Merge remote-tracking branch 'upstream/stable' into merge_stable
MartinNowak Jun 1, 2017
23c4f0f
errors with getSymbolsByUDA to get a private members (#5344)
sysint64 Jun 1, 2017
b5ffc88
Remove debug writelns
JackStouffer Jun 1, 2017
ee8b4e2
Merge pull request #5437 from JackStouffer/algorithm-debug
dlang-bot Jun 1, 2017
e04dfb8
Merge pull request #5435 from MartinNowak/merge_stable
dlang-bot Jun 1, 2017
f3183f5
Merge pull request #5433 from JackStouffer/conv-patch
dlang-bot Jun 1, 2017
76d3a41
Merge pull request #5421 from andralex/no-more-durn-stdiobase
dlang-bot Jun 1, 2017
f2ff352
opChecked: use "overflow" consistently in code & dox
andralex Jun 3, 2017
bbe675d
Merge pull request #5438 from dlang/overflow
dlang-bot Jun 3, 2017
825a974
ieeeMean: Fix weird indentation
dnadlinger Jun 6, 2017
ec15b75
ieeeMean: Fix for 128 bit reals
dnadlinger Jun 6, 2017
3cc37a2
std.math.nextUp: Fix 128 bit real implementation
dnadlinger Jun 6, 2017
e401ca1
std.math: Fix frexp() for 128 bit reals by aligning EXPBIAS with othe…
dnadlinger Jun 6, 2017
c35287d
std.math.lrint: Implement for 128 bit reals
dnadlinger Jun 6, 2017
01dc3ea
Merge pull request #5404 from JackStouffer/date-fromISOString
dlang-bot Jun 6, 2017
9a09fbc
Eliminate redundant `static` in `static __gshared`
andralex Jun 7, 2017
f036ef1
Merge pull request #5444 from klickverbot/quad-lrint
dlang-bot Jun 7, 2017
1741f51
Merge pull request #5445 from klickverbot/quad-frexp
dlang-bot Jun 7, 2017
3db6623
Merge pull request #5443 from klickverbot/quad-nextup
dlang-bot Jun 7, 2017
89bf88f
Merge pull request #5442 from klickverbot/quad-ieeemean
dlang-bot Jun 7, 2017
09e5a3c
Fix bracing style.
Jun 7, 2017
79cf4ab
Use OpaquePointer as a safe support for region based allocators
edi33416 May 19, 2017
5cc9d8b
Eliminate failing assert on 32 bit platforms
andralex Jun 4, 2017
dfe45f3
Remove free_list faulty dtor
edi33416 Jun 6, 2017
00777cc
Merge pull request #5403 from edi33416/fix_allocate_from_safe_regions
andralex Jun 7, 2017
71ca4c5
Partial Fix For Issue 16615 - convert os pid to std.process Pid
edi33416 Feb 3, 2017
1e7f7a1
Revert "Use OpaquePointer as a safe support for region based allocators"
wilzbach Jun 8, 2017
e715695
Merge pull request #5451 from dlang/revert-5403-fix_allocate_from_saf…
andralex Jun 8, 2017
8bb9c3c
Merge pull request #5449 from quickfur/std_traits_style
andralex Jun 8, 2017
15a5a48
Merge pull request #5086 from edi33416/process_enhancement
dlang-bot Jun 8, 2017
41a8b4d
Merge pull request #5447 from dlang/andralex-patch-1
dlang-bot Jun 8, 2017
c2fbe42
Fix wrong parens in std.range ddoc.
Jun 8, 2017
442cd24
Hide bugfix unittest from ddoc.
Jun 8, 2017
4935fff
Merge pull request #5452 from quickfur/std_range_parens
dlang-bot Jun 9, 2017
0f55a72
Merge pull request #5453 from quickfur/std_meta_ddoc
dlang-bot Jun 9, 2017
3caa34f
fix Issue 17472 - typeof(stdin) is no longer a File
MartinNowak Jun 9, 2017
ff3c3df
Merge pull request #5454 from MartinNowak/fix17472
dlang-bot Jun 9, 2017
07602da
Revert "Partial Fix Issue 16615 - convert os pid to std.process Pid"
CyberShadow Jun 9, 2017
0415721
DList: popFirstOf and popLastOf
Boris-Barboris Jun 9, 2017
9bfc821
Merge pull request #5456 from dlang/revert-5086-process_enhancement
dlang-bot Jun 9, 2017
2c79fbf
extended moduletests coverage
Boris-Barboris Jun 9, 2017
1757660
reimplement std.traits.ParameterStorageClassTuple()
WalterBright May 26, 2017
7ea0f6a
Merge pull request #5427 from WalterBright/ParameterStorageClassTuple
WalterBright Jun 10, 2017
f9409cb
Merge pull request #5424 from WalterBright/VariadicFunctionStyle
dlang-bot Jun 10, 2017
afd0135
std.xml: make work with -dip1000
WalterBright May 12, 2017
6f57e01
Merge pull request #5387 from WalterBright/xml-scope
dlang-bot Jun 10, 2017
3662b6f
std.mathspecial: erf*() for quad-precision reals
dnadlinger Jun 10, 2017
0c870f0
std.math: Implement transcendental functions for quad-precision reals
dnadlinger Jun 10, 2017
6df570a
Merge pull request #5459 from klickverbot/quad-math
dlang-bot Jun 10, 2017
455daf2
Merge pull request #5458 from klickverbot/quad-errorfunction
dlang-bot Jun 11, 2017
4f2d89b
Merge pull request #5425 from JackStouffer/issue16108
dlang-bot Jun 11, 2017
44a3be4
Remove std.concurrencybase
andralex Jun 11, 2017
1cdd07b
Eliminate shared this for allocators
andralex Jun 11, 2017
739d08b
Eliminate shared static this() from std.experimental.logger
andralex Jun 11, 2017
3b83cfd
Merge pull request #5464 from andralex/sharedstaticzisbegone
dlang-bot Jun 11, 2017
dba38b5
Revert "reimplement std.traits.ParameterStorageClassTuple()"
andralex Jun 11, 2017
994dbce
Eliminate redundant __gshared, immutable data is shared already
andralex Jun 11, 2017
60bcc3e
Merge pull request #5469 from dlang/revert-5427-ParameterStorageClass…
WalterBright Jun 12, 2017
c42e594
Re-enable linting tests at CircleCi
wilzbach Jun 12, 2017
052fcda
Style fix: no space after assert(
wilzbach Jun 12, 2017
9392b4d
Style fix: space after cast(..)
wilzbach Jun 12, 2017
d686929
Style fix: use space between a .. b
wilzbach Jun 12, 2017
c5fde07
Fix Ddoc warnings
wilzbach Jun 12, 2017
3afbd28
Fix Dscanner errors
wilzbach Jun 12, 2017
39647a8
has_public_examples: Fix Makefile target
wilzbach Jun 12, 2017
d47f9f1
has_public_example: Add missing public examples to std/digest/crc.d
wilzbach Jun 12, 2017
0af23bd
Merge pull request #5471 from andralex/noredundantgshared
dlang-bot Jun 12, 2017
5a96d04
Merge pull request #5475 from wilzbach/fix-circle
dlang-bot Jun 12, 2017
61717ec
Sort imports
wilzbach Jun 12, 2017
998ad51
Sort selective imports
wilzbach Jun 12, 2017
2070d86
Sort multiple packages within one line
wilzbach Jun 12, 2017
0553161
Merge pull request #5478 from wilzbach/sort_imports
dlang-bot Jun 12, 2017
60e8209
doc unittest, syntax refining
Boris-Barboris Jun 12, 2017
641fc71
work around range consistency checks
Boris-Barboris Jun 12, 2017
a5fbc4d
shring range too to keep it in consistent state
Boris-Barboris Jun 12, 2017
8b09ce3
no return value
Boris-Barboris Jun 12, 2017
16cb987
errata
Boris-Barboris Jun 12, 2017
863a3f6
Merge pull request #5457 from Boris-Barboris/dlist_remove
dlang-bot Jun 12, 2017
72f3950
Fix Issue 16566 - hasLength should enforce that length has type size_t
andralex Oct 1, 2016
9b5a541
Merge pull request #5463 from andralex/allocatorhassharedstaticzisnomore
dlang-bot Jun 13, 2017
d0b9555
Revert "Sort selective imports"
CyberShadow Jun 13, 2017
7f9f0aa
Merge pull request #5481 from CyberShadow/pull-20170613-175151
dlang-bot Jun 13, 2017
9a91e25
Merge pull request #5431 from FreeSlave/track_child_errors
kyllingstad Jun 13, 2017
f5fed3d
std.process: Fix brace style
CyberShadow Jun 13, 2017
30ff7ac
Merge pull request #5482 from CyberShadow/pull-20170613-214902
dlang-bot Jun 14, 2017
e7111d4
Fix invalid undefined Ddoc macros
wilzbach Jun 15, 2017
2f16ae7
Eliminate shared this from std/process.d
andralex Jun 11, 2017
442a94a
std.process: Correct indentation of private block
CyberShadow Jun 11, 2017
3b3cd77
Adjust private
andralex Jun 11, 2017
857fdc1
Merge pull request #5486 from wilzbach/fix-ddoc
dlang-bot Jun 15, 2017
9713d71
Revert "Removed level of indirection from internal std.xml.ElementPar…
aG0aep6G Jun 15, 2017
c7b6b87
test against regression
aG0aep6G Jun 15, 2017
878d5e9
Merge pull request #5489 from aG0aep6G/std.xml-regression
dlang-bot Jun 15, 2017
f91f8e2
Merge pull request #5466 from andralex/nononosharedstaticzisinprocess
andralex Jun 16, 2017
625dfee
Merge pull request #4827 from andralex/length
wilzbach Jun 16, 2017
abfffae
Merge pull request #5462 from andralex/concurrencybasesux
dlang-bot Jun 17, 2017
32bb098
Merge remote-tracking branch 'upstream/master' into merge_master
MartinNowak Jun 17, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def clone (repo_url, git_ref = "master") {
def pipeline
node {
dir('dlang/ci') {
clone 'https://github.com/Dicebot/dlangci.git', 'master'
clone 'https://github.com/dlang/ci.git', 'master'
}
pipeline = load 'dlang/ci/pipeline.groovy'
}
Expand Down
10 changes: 10 additions & 0 deletions changelog/pattern-deprecate.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Several functions in `std.string` have been deprecated

The functions $(REF inPattern, std, string), $(REF countchars, std, string),
$(REF removechars, std, string), $(REF squeeze, std, string), and
$(REF munch, std, string), have all been deprecated. These functions are
obsolete, as their functionality is better covered by the functions in
$(MREF std, regex) and $(MREF std, algorithm). They will be removed from
$(MREF std, string) on May 2018.

If you still need to use these, please see $(LINK2 https://github.com/dlang/undeaD, undeaD).
54 changes: 54 additions & 0 deletions changelog/split-std-datetime.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
std.datetime has been split into a package.

std.datetime is now a package containing the following modules:

$(UL
$(LI $(MREF std,datetime,date))
$(LI $(MREF std,datetime,interval))
$(LI $(MREF std,datetime,stopwatch))
$(LI $(MREF std,datetime,systime))
$(LI $(MREF std,datetime,timezone))
)

$(MREF std,datetime,package) publicly imports all of those modules. So, it
should be the case that no existing code will break, as everything in
std.datetime will still be imported by importing std.datetime. New code can
choose to import the modules individually or to import the entire package.

$(MREF std,datetime,date) contains Date, TimeOfDay, DateTime, and the related
free functions. It also contains DateTimeException.

$(MREF std,datetime,interval) contains the *Interval and *IntervalRange types
as well as the related free functions.

$(MREF std,datetime,systime) contains SysTime and the related free functions.

$(MREF std,datetime,timezone) contains the time zone types.

$(MREF std,datetime,package) contains StopWatch and the benchmarking functions
(so, they can only be imported via std.datetime and not via a submodule). As
those functions use $(REF TickDuration,core,time) (which is being replaced by
$(REF MonoTime,core,time), they are slated for deprecation.

$(MREF std,datetime,stopwatch) has been added. It contains versions of
StopWatch and benchmark which have almost the same API as the existing symbols,
but they use $(REF MonoTime,core,time) and $(REF Duration,core,time) instead of
$(REF TickDuration,core,time). In the next major release, the old functions in
std.datetime.package will be deprecated, so code which uses the old
benchmarking functions should be updated to use std.datetime.stopwatch.

However, note that in order to avoid irreconcilable symbol conflicts between
the new and old versions, std.datetime.stopwatch will not be publicly imported
by std.datetime.package until the old symbols have been removed. So, for the
time being, code using $(REF StopWatch,std,datetime,stopwatch) or
$(REF StopWatch,std,datetime,benchmark) will need to import
std.datetime.stopwatch directly. Code which imports both std.datetime and
std.datetime.stopwatch will need to either use selective imports or fully
qualified symbols to reconcile the symbol conflicts, but no code will be
affected by the changes until it's updated to import std.datetime.stopwatch,
and when the old symbols are finally removed, the selective imports and fully
qualified paths to the new symbols will continue to work and won't break
(though at that point, simply importing std.datetime will work, since
std.datetime.package will have been updated to publicly import
std.datetime.stopwatch). Code that simply imporst std.datetime.stopwatch without
importing std.datetime will not have to worry about symbol conflicts.
16 changes: 16 additions & 0 deletions changelog/std-digest-crc64.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Added support for 64 bit CRC

Support for both ISO and ECMA 64 bit CRC was added to $(MREF std, digest, crc).

-------
import std.digest.crc;

void main()
{
ubyte[8] hash64ecma = crc64ECMAOf("abc");
assert(crcHexString(hash64ecma) == "2CD8094A1A277627");

ubyte[8] hash64iso = crc64ISOOf("abc");
assert(crcHexString(hash64iso) == "3776C42000000000");
}
-------
29 changes: 29 additions & 0 deletions changelog/std-digest-digest-secureCompare.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Added a constant time comparison function for cryptographic hashes

Added a new function to $(REF secureEqual, std, digest, digest) that compares
two ranges that represent hashes in a secure manner. The comparison is done in
constant time regardless of the equality of the two ranges in order to protect
against timing attacks. For more information on the attack, please refer to
the docs on $(REF secureEqual, std, digest, digest).

-----
import std.digest.digest : secureEqual, toHexString;
import std.digest.hmac : hmac;
import std.digest.sha : SHA1;
import std.string : representation;

void main()
{
// a typical HMAC data integrity verification
auto secret = "A7GZIP6TAQA6OHM7KZ42KB9303CEY0MOV5DD6NTV".representation;
auto data = "data".representation;

string hex1 = data.hmac!SHA1(secret).toHexString;
string hex2 = data.hmac!SHA1(secret).toHexString;

string hex3 = "data1".representation.hmac!SHA1(secret).toHexString;

assert( secureEqual(hex1, hex2));
assert(!secureEqual(hex1, hex3));
}
-----
8 changes: 8 additions & 0 deletions changelog/std-range-has-length.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
`hasLength` now enforces that `length` has type `size_t`

Historically `hasLength!R` yielded `true` for types whereby
`R.length` returns other types convertible to `ulong`, such as `int`, `ushort`,
`const(size_t)`, user-defined types using `alias this`, or notably `ulong` on
32-bit systems. This behavior has been deprecated. After December 2017,
$(REF hasLength, std, range, primitives) will yield `true` only if `R.length`
yields the exact type `size_t`.
33 changes: 33 additions & 0 deletions changelog/std-range-slides.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
`std.range.slide` (a fixed-size sliding window range) was added

$(REF slide, std, range) allows to iterate a range in sliding windows:

---
import std.array : array;
import std.algorithm.comparison : equal;

assert([0, 1, 2, 3].slide(2).equal!equal(
[[0, 1], [1, 2], [2, 3]]
));
assert(5.iota.slide(3).equal!equal(
[[0, 1, 2], [1, 2, 3], [2, 3, 4]]
));

assert(iota(7).slide(2, 2).equal!equal([[0, 1], [2, 3], [4, 5]]));
assert(iota(12).slide(2, 4).equal!equal([[0, 1], [4, 5], [8, 9]]));

// set a custom stepsize (default 1)
assert(6.iota.slide(1, 2).equal!equal(
[[0], [2], [4]]
));

assert(6.iota.slide(2, 4).equal!equal(
[[0, 1], [4, 5]]
));

// allow slide with less elements than the window size
assert(3.iota.slide!(No.withFewerElements)(4).empty);
assert(3.iota.slide!(Yes.withFewerElements)(4).equal!equal(
[[0, 1, 2]]
));
---
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ dependencies:
test:
override:
- ./circleci.sh setup-repos
- ./circleci.sh style
- ./circleci.sh style_lint
- ./circleci.sh has_public_example
- ./circleci.sh publictests
- ./circleci.sh coverage:
parallel: true
timeout: 1200
Expand Down
25 changes: 22 additions & 3 deletions circleci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ setup_repos()
}

# verify style guide
style()
style_lint()
{
# dscanner needs a more up-to-date DMD version
source "$(CURL_USER_AGENT=\"$CURL_USER_AGENT\" bash ~/dlang/install.sh dmd-$DSCANNER_DMD_VER --activate)"
Expand All @@ -105,7 +105,7 @@ style()
# fix to a specific version of https://github.com/dlang/tools/tree/master/styles
git -C ../tools checkout 60583c8363ff25d00017dffdb18c7ee7e7d9a343

make -f posix.mak style DUB=$DUB
make -f posix.mak style_lint DUB=$DUB
}

# run unittest with coverage
Expand All @@ -121,11 +121,30 @@ coverage()

# instead we run all tests individually
make -f posix.mak $(find std etc -name "*.d" | sed "s/[.]d$/.test")

# Remove coverage information from lines with non-deterministic coverage.
# These lines are annotated with a comment containing "nocoverage".
sed -i 's/^ *[0-9]*\(|.*nocoverage.*\)$/ \1/' ./*.lst
}

# extract publictests and run them independently
publictests()
{
make -f posix.mak -j$N publictests DUB=$DUB
}

# check modules for public unittests
has_public_example()
{
make -f posix.mak -j$N has_public_example DUB=$DUB
}

case $1 in
install-deps) install_deps ;;
setup-repos) setup_repos ;;
coverage) coverage ;;
style) style ;;
publictests) publictests ;;
has_public_example) has_public_example;;
style_lint) style_lint ;;
*) echo "Unknown command"; exit 1;;
esac
2 changes: 1 addition & 1 deletion etc/c/curl.d
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

module etc.c.curl;

import core.stdc.time;
import core.stdc.config;
import core.stdc.time;
import std.socket;

// linux
Expand Down
2 changes: 0 additions & 2 deletions index.d
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ $(COMMENT
$(TR
$(TDNW
$(LINK2 core_sync_config.html, core.sync.config)$(BR)
$(LINK2 std_concurrencybase.html, std.concurrencybase)$(BR)
$(LINK2 std_container_util.html, std.container.util)$(BR)
$(LINK2 std_regex_internal_backtracking.html, std.regex.internal.backtracking)$(BR)
$(LINK2 std_regex_internal_generator.html, std.regex.internal.generator)$(BR)
Expand All @@ -470,7 +469,6 @@ $(COMMENT
$(LINK2 std_regex_internal_parser.html, std.regex.internal.parser)$(BR)
$(LINK2 std_regex_internal_tests.html, std.regex.internal.tests)$(BR)
$(LINK2 std_regex_internal_thompson.html, std.regex.internal.thompson)$(BR)
$(LINK2 std_stdiobase.html, std.stdiobase)$(BR)
)
$(TD
Internal modules.
Expand Down
Loading