Commit graph

12705 commits

Author SHA1 Message Date
The Dlang Bot
17fbc92d59
Merge pull request #6032 from RazvanN7/Issue_18230
Fix Issue 18230 - multiwayUnion sets wrong pred lambdas
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-01-16 23:10:54 +01:00
The Dlang Bot
9fe884ddaf
Merge pull request #6016 from wilzbach/fix-18214
Fix Issue 18214 - TemplateOf should return void for non-templated symbols
merged-on-behalf-of: MetaLang <MetaLang@users.noreply.github.com>
2018-01-16 23:03:26 +01:00
The Dlang Bot
1a5bb7a64f
Merge pull request #6037 from JackStouffer/put-docs
Make the Behavior of put with Slices Clearer
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-01-16 19:48:57 +01:00
Andrei Alexandrescu
6465d6ea5a
Add duplicates to test data 2018-01-16 12:10:13 -05:00
Andrei Alexandrescu
1ed73fa969
Use UFCS throughout 2018-01-16 12:09:24 -05:00
The Dlang Bot
4f8d010f1a
Merge pull request #6026 from JackStouffer/format-guess-length
Optimized format with compile time format strings
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-16 16:59:04 +01:00
Jack Stouffer
6909455910 Make the behavior of put with slices clear 2018-01-16 10:57:21 -05:00
Jack Stouffer
6527cbe107 Optimized compile time formatstring format overloads
Added function to std.format to make an educated guess at the length of the resulting string,
use that data to reserve capacity in the appender before anything is written to it.
2018-01-16 09:30:03 -05:00
The Dlang Bot
76d0ddaff6
Merge pull request #6036 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-16 08:24:45 +01:00
Martin Nowak
3a8300a9f6 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-01-16 04:59:35 +01:00
The Dlang Bot
11cd2c212e
Merge pull request #6000 from kinke/tempCString
Slightly simplify std.internal.cstring realloc logic
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-16 02:56:31 +01:00
growlercab
347b5a3164 Update searching.d
Minor change to minElement example to remove ambiguity between min element value and min element index.
2018-01-16 02:02:31 +01:00
The Dlang Bot
1932f66e1f
Merge pull request #6028 from quickfur/doc-codepointTrie
Document actual codepointTrie function.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-16 01:46:35 +01:00
RazvanN7
a4cd3a6542 Fix Issue 18230 - multiwayUnion sets wrong pred lambdas 2018-01-15 16:07:18 +02:00
The Dlang Bot
9785804d71
Merge pull request #5936 from WalterBright/chainTogether
std.parallelism: replace explicit code with Throwable.chainTogether()
merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
2018-01-15 09:08:52 +01:00
The Dlang Bot
be225cff9b
Merge pull request #6030 from MartinNowak/rm_stale_comment
remove stale comment
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-15 06:31:00 +01:00
Martin Nowak
e31e7293ff remove stale comment 2018-01-14 22:25:32 +01:00
The Dlang Bot
937b38cf9a
Merge pull request #6025 from markus-oberhumer/fix-bigint-mod-uint
Fix issue 18224 - BigInt modulo uint must return long.
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-13 16:24:32 +01:00
H. S. Teoh
fe1cad26bb Also document second overload.
Ditto with CodepointTrie type.
2018-01-13 06:03:00 -08:00
H. S. Teoh
4b56e349ac Document actual codepointTrie function.
Since the containing template is already ddoc'd.
2018-01-12 15:21:00 -08:00
Basile Burg
f9058bce61 fix issue 7054 - format() aligns using code units instead of graphemes 2018-01-13 00:20:44 +01:00
Sebastian Wilzbach
639c07e942 Fix Issue 16017 - package functions show up in std.experimental.allocator.common docs 2018-01-12 23:01:54 +01:00
Markus F.X.J. Oberhumer
1115ccb219 Fix issue 18224 - BigInt modulo uint must return long. 2018-01-12 18:37:16 +01:00
Martin
4b56139f70 Slightly simplify std.internal.cstring realloc logic 2018-01-11 20:39:56 +01:00
The Dlang Bot
6fe220f6f2
Merge pull request #6021 from n8sh/rndGen-seeding
Fix Issue 18217: Don't repeatedly call unpredictableSeed to initialize rndGen
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-09 23:30:30 +01:00
The Dlang Bot
e2fe7051e6
Merge pull request #6019 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-09 21:58:14 +01:00
Nathan Sashihara
befc9896d0 Fix Issue 18217: Don't repeatedly call unpredictableSeed to initialize rndGen
Explanation: https://github.com/dlang/phobos/pull/5788#discussion_r146110307
2018-01-09 15:08:11 -05:00
Sebastian Wilzbach
6f0aa28dcb Remove unused primitiveTypeInfo and deprecate unused Mangle 2018-01-09 20:36:26 +01:00
Sebastian Wilzbach
66b522979e Merge remote-tracking branch 'upstream/stable' into merge_stable
https://github.com/dlang/phobos/pull/6017 back to `master`

See also: https://github.com/wilzbach/git-tools
2018-01-09 19:56:59 +01:00
Sebastian Wilzbach
7c0dab8d12 Fix Issue 18215 - std.array.replace throws a range violation if the from range is longer than the array 2018-01-09 18:51:34 +01:00
The Dlang Bot
6fc988fb02
Merge pull request #6012 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-09 03:12:25 +01:00
The Dlang Bot
34a3c923db
Merge pull request #6011 from JackStouffer/isInstanceOf-doc
Added note to isInstanceOf docs on template usage
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-09 02:44:35 +01:00
Sebastian Wilzbach
c94d93e121 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-01-09 02:19:50 +01:00
Jack Stouffer
faa7300361 Added note to isInstanceOf docs on template usage 2018-01-08 19:57:27 -05:00
The Dlang Bot
cfdc04a97b
Merge pull request #6013 from quickfur/ctfe_graphemestride
Unittest to ensure CTFE-ability for std.uni.graphemeStride.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-09 01:26:52 +01:00
Walter Bright
b8291f2d5d std.parallelism: replace explicit code with Throwable.chainTogether() 2018-01-09 00:57:16 +01:00
Sebastian Wilzbach
997f4fe64a Fix Issue 18214 - TemplateOf should return void for non-templated symbols 2018-01-09 00:20:25 +01:00
The Dlang Bot
1773f559c4
Merge pull request #6010 from JackStouffer/uni-trusted
Remove unsafe, indiscriminate '@trusted:' from std.uni
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-08 21:16:38 +01:00
Sebastian Wilzbach
ee612de84f Use a switch instead of a global dictionary for primitiveTypeInfo 2018-01-08 19:09:53 +01:00
H. S. Teoh
753424e97c Unittest to ensure CTFE-ability for std.uni.graphemeStride. 2018-01-08 09:22:44 -08:00
Jack Stouffer
c728e37be8 Remove indiscriminate '@trusted:' from std.uni 2018-01-08 09:37:59 -05:00
Sebastian Wilzbach
233e90bdc1 Add PHOBOSSRC urls to std.experimental 2018-01-08 02:52:50 +01:00
jmh530
dcbfb799c9 Fix Issue 15157: Adjust building blocks docs 2018-01-06 22:29:10 +01:00
The Dlang Bot
e3c6e4ef95
Merge pull request #5965 from jpf91/aaconv
std.conv: ieeeQuadruple (AArch64) support for parse!real
merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>
2018-01-06 15:53:18 +01:00
The Dlang Bot
66bb891239
Merge pull request #5998 from JackStouffer/bigint-pure-opcast
Made BigInt.opCast for ints pure
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-04 21:33:23 +01:00
Jack Stouffer
aa995a6ff9 Made BigInt.opCast pure 2018-01-04 15:05:25 -05:00
Jack Stouffer
dc291a16e4 Changed all instances of FormatSpec to const ref 2018-01-04 10:05:16 -05:00
The Dlang Bot
380b248b87
Merge pull request #5986 from wilzbach/replaceslice-safe
Fix Issue 18186 - std.array.replaceSlice should be usable in @safe
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-01-04 08:33:56 +01:00
Jack Stouffer
163b7db94b
Fix BigInt.toString overload
See https://github.com/dlang/phobos/pull/5991#issuecomment-355122818 for more information
2018-01-03 16:05:59 -05:00
Jack Stouffer
9d8a331e40 address Andrei's review 2018-01-03 14:40:10 -05:00