Commit graph

15485 commits

Author SHA1 Message Date
Andrei Alexandrescu
ee034e203a
Merge pull request #5596 from wilzbach/substitute
Add substitute for lazy replacements
2018-01-25 22:25:53 -05:00
The Dlang Bot
ce572de9a0
Merge pull request #6070 from wilzbach/fix-circleci2
Update DScanner to 6ba40537532fd795e83db0a7c8609512decdefc5
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-26 03:48:22 +01:00
Sebastian Wilzbach
3d42badd2a Update DScanner to 6ba40537532fd795e83db0a7c8609512decdefc5 2018-01-25 23:52:01 +01:00
Andrei Alexandrescu
adee662094
Merge pull request #5987 from JackStouffer/issue17249
Fix Issue 17249: Added BigInt.getDigit
2018-01-25 16:59:51 -05:00
The Dlang Bot
23c9601770
Merge pull request #6060 from JackStouffer/date-tostring
Partially Fix Issue 10828 - Add output range version of toString functions to std.datetime.Date
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-25 17:12:55 +01:00
The Dlang Bot
758cba2cf2
Merge pull request #6062 from JackStouffer/date-fromISOExtString
Optimized std.datetime.date.Date.fromISOExtString
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-25 15:44:38 +01:00
Jack Stouffer
54708e10df Optimized std.datetime.date.Date.fromISOExtString 2018-01-25 09:14:28 -05:00
The Dlang Bot
82ad5c0a78
Merge pull request #6063 from marler8997/removeOneAtomicLoad
Removed unnecessary atomicLoad inside initOnce
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-25 10:49:32 +01:00
Jonathan Marler
3c420b5f09 Removed unnecessary atomicLoad inside initOnce 2018-01-25 09:43:33 +01:00
Sebastian Wilzbach
15835daa7c Fix DAutotest 2018-01-25 09:32:54 +01:00
Sebastian Wilzbach
33cf85fdb4 Address review 2018-01-25 09:30:33 +01:00
Sebastian Wilzbach
41d158f4c7 Add substitute for lazy replacements 2018-01-25 09:30:33 +01:00
Sebastian Wilzbach
1c27510b3a Make empty of std.range.take const if possible 2018-01-25 09:30:33 +01:00
Jack Stouffer
1eeadc82d3 Work On Issue 10828 - datetime toString functions should accept sink 2018-01-24 19:27:43 -05:00
The Dlang Bot
5033d1e5ae
Merge pull request #6061 from wilzbach/regex-testssplitup
Split-up regex tests to please auto-tester
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-24 23:39:17 +01:00
The Dlang Bot
3784831e30
Merge pull request #6029 from BBasile/issue-14767
fix issue 14767 - Support CTFE of BigInt under x86
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-24 22:39:54 +01:00
Andrei Alexandrescu
2174695151
Merge pull request #6056 from n8sh/algorithm-cmp
Fix Issue 18280 - std.algorithm.comparison.cmp for non-strings should call opCmp only once per item pair
2018-01-24 13:05:24 -05:00
Sebastian Wilzbach
a60fd0c1a5 Splitup regex tests to please auto-tester 2018-01-24 17:59:40 +01:00
The Dlang Bot
9b4cb5f61c
Merge pull request #6009 from wilzbach/ascending_page
Expose AscendingPageAllocator on dlang.org
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-24 17:27:09 +01:00
The Dlang Bot
c07b09e214
Merge pull request #5968 from wilzbach/searching-findSplit
findSplit: return named tuples instead of an anonymous tuple
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-24 17:10:43 +01:00
The Dlang Bot
48b3d0914a
Merge pull request #5991 from JackStouffer/format-tostring
[RFC] Make Output Ranges Using Methods The Preferred toString Option
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-24 05:41:23 +01:00
Jack Stouffer
eb983d10b5 reworded the changelog entry 2018-01-23 22:50:06 -05:00
The Dlang Bot
af40e8dbf3
Merge pull request #6058 from wilzbach/remove-hexstrings
Replace deprecated hexstrings with std.conv.hexString
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-01-24 02:48:22 +01:00
Nathan Sashihara
7f59e5ad52 Fix Issue 18280 - std.algorithm.comparison.cmp for non-strings should call opCmp only once per item pair
split cmp into two overloads per @andralex

https://github.com/dlang/phobos/pull/6056#pullrequestreview-90687092

Minor adjustments, again

cmp should return auto and let opCmp drive

https://github.com/dlang/phobos/pull/6056#issuecomment-359665184

Fix Issue 18285 - std.algorithm.comparison.cmp for strings with custom predicate compares lengths wrong

Test std.algorithm.comparison.cmp when opCmp returns float

Promotions should not use cast

Optimize cmp's endgame

There are some redundant tests when the end of the ranges is reached. Eliminated that, and improved threeWayByPred.

Fix Issue 18286 - std.algorithm.comparison.cmp for string with custom predicate fails if distinct chars can compare equal

Fix Issue 18288 - std.algorithm.comparison.cmp for wide strings should be @safe

re-apply remove cast in promotions
2018-01-23 19:54:58 -05:00
The Dlang Bot
a1dd63a62b
Merge pull request #6046 from FeepingCreature/reduce-getUDAs-memory-usage
std.traits: move isDesiredUDA out of getUDAs, since it depends only on attribute and uda.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-23 23:45:12 +01:00
Sebastian Wilzbach
ec3f5e017c Replace deprecated hexstrings with std.conv.hexString
Basically `s/x"/hexString!"/`
2018-01-23 22:37:10 +01:00
The Dlang Bot
ea1aa71a19
Merge pull request #6057 from RazvanN7/Fix_imports
Fix erroneous imports in unittests
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-23 13:04:09 +01:00
RazvanN7
fa52c3f709 Fix erroneous imports in unittests 2018-01-23 13:10:34 +02:00
The Dlang Bot
52042cf2f4
Merge pull request #6052 from wilzbach/static_iota_std_regex_internal_backtracking
Remove staticIota: std_regex_internal_backtracking
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-23 02:47:37 +01:00
The Dlang Bot
d4a2581c0a
Merge pull request #6050 from wilzbach/static_iota_std_experimental_typecons
Remove staticIota: std_experimental_typecons
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-01-22 23:51:53 +01:00
The Dlang Bot
d11a3d0a5d
Merge pull request #6051 from wilzbach/static_iota_std_getopt
Remove staticIota: std_getopt
merged-on-behalf-of: MetaLang <MetaLang@users.noreply.github.com>
2018-01-22 22:54:02 +01:00
The Dlang Bot
2b8850ed4f
Merge pull request #6053 from wilzbach/static_iota_std_regex_internal_tests
Remove staticIota: std_regex_internal_tests
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-22 19:59:47 +01:00
The Dlang Bot
8555215aba
Merge pull request #6054 from wilzbach/static_iota_std_uni
Remove staticIota: std_uni
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-22 18:28:01 +01:00
Mathis Beer
2d4d1be4bf std.traits: move isDesiredUDA out of getUDAs, since it depends only on attribute and uda.
This conserves memory, since isDesiredUDA instances can be reused between symbols.
2018-01-22 18:16:30 +01:00
Sebastian Wilzbach
46c379a14e Remove staticIota: std_uni 2018-01-22 17:19:14 +01:00
Sebastian Wilzbach
3ad744d351 Remove staticIota: std_regex_internal_tests 2018-01-22 17:19:06 +01:00
Sebastian Wilzbach
252a322315 Remove staticIota: std_regex_internal_backtracking 2018-01-22 17:18:59 +01:00
Sebastian Wilzbach
44735dd39f Remove staticIota: std_getopt 2018-01-22 17:18:53 +01:00
Sebastian Wilzbach
236e7ad299 Remove staticIota: std_experimental_typecons 2018-01-22 17:18:36 +01:00
Andrei Alexandrescu
617f6b0e59
Merge pull request #6048 from RazvanN7/Issue_17630
Fix erroneous imports
2018-01-22 10:14:41 -05:00
RazvanN7
281fe177ac Fix erroneous imports 2018-01-22 16:37:22 +02:00
The Dlang Bot
976cb990f1
Merge pull request #6014 from wilzbach/complex
Start to move away from complex and imaginary types
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-01-18 22:34:40 +01:00
The Dlang Bot
0666fc6e21
Merge pull request #6043 from quickfur/issue17440b
Fix issue 17440: do not call .destroy on class instances in Nullable.nullify
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2018-01-18 18:27:11 +01:00
The Dlang Bot
6415314097
Merge pull request #6045 from wilzbach/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-18 08:55:25 +01:00
Sebastian Wilzbach
9aeb953411 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-01-17 23:56:25 +01:00
The Dlang Bot
382a8ea922
Merge pull request #6044 from edi33416/fix_allocator_obj
Fix Issue 18259 - allocatorObject's CAllocatorImpl should store the passed allocator within
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-01-17 23:55:50 +01:00
Eduard Staniloiu
7220c57286 Fix Issue 18259 - allocatorObject's CAllocatorImpl should store the passed allocator within 2018-01-17 22:04:55 +00:00
Sebastian Wilzbach
f760414f76
Merge pull request #6034 from n8sh/fillWithMemcpy-memset
Fix Issue 18239: fillWithMemcpy use memset when T.sizeof == 1
2018-01-17 22:36:32 +01:00
H. S. Teoh
04c5935140 Add changelog. 2018-01-17 13:09:48 -08:00
The Dlang Bot
adf23cc864
Merge pull request #6042 from JackStouffer/put-example
Added more examples to std.range.put
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-17 20:37:28 +01:00