Martin Nowak
4ee0a9df3c
Merge pull request #4100 from tmccombs/read-alloc-upto
...
Don't allocate more than upTo bytes in std.file.read
2016-03-21 00:40:48 +01:00
Thayne McCombs
832928adaf
Don't allocate more than upTo bytes in std.file.read
...
Fixes Issue 7972
2016-03-20 14:33:04 -06:00
Hara Kenji
fed12920a6
Merge pull request #4094 from MartinNowak/fix15782
...
fix Issue 15782 - Alias no longer strips qualifiers from user defined types
2016-03-21 03:47:26 +09:00
Johan Engelen
4b1f2f0147
std.math.pow: change type from double
to real
for internal variable.
...
This change fixes a unittest failure with LDC with optimizations on. Note that the return type of `impl` is `real` (not `Float`) and thus changing the type of `sign` to `real` should not matter / be more correct? I am not sure why `w` on line 6299 is of type `Float`.
2016-03-20 19:32:38 +01:00
Martin Nowak
5fb53481fc
fix Issue 15782 - Alias no longer strips qualifiers from user defined types
...
- introduce OldAlias for internal usage
- deprecate unqualifying of UDTs
- unfortunately deprecation message isn't shown in many use-cases
2016-03-20 16:49:42 +01:00
Dmitry Olshansky
7ebdd9354b
Merge pull request #4074 from 9rnsr/fix15791
...
Issue 15791 - Cannot get a stored nested struct object from Variant
2016-03-20 16:58:30 +04:00
Vladimir Panteleev
f467b4d9fc
std.file: Clarify documentation of mkdirRecurse when target exists
...
As verified by the unittest below.
2016-03-20 11:18:58 +00:00
amaury
3a9bb9363b
Remove FUD warning
2016-03-20 01:29:41 -07:00
Dmitry Olshansky
e29c39db03
Merge pull request #4095 from WalterBright/fix15457
...
fix Issue 15457 - Symbol Undefined __lseeki64
2016-03-20 11:09:23 +04:00
Walter Bright
1b6cf80232
fix Issue 15457 - Symbol Undefined __lseeki64
2016-03-19 21:58:06 -07:00
Hara Kenji
a034b67014
Merge pull request #4093 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/master' into stable
2016-03-20 11:16:45 +09:00
Dan Olson
b938a74628
Fix NaN payload unittest in errorfunction
...
For some platforms, math on a NaN may change the sign. This is
ok according to C99. Replaced with test that ignores signbit.
2016-03-19 15:29:00 -07:00
Dan Olson
fd10beb59c
Fix getNaNPayload for 64-bit reals
...
Shift was off-by-one.
2016-03-19 15:26:03 -07:00
Martin Nowak
5ac6e0410d
Merge remote-tracking branch 'upstream/master' into stable
2016-03-19 21:15:59 +01:00
Daniel Murphy
38020def28
Merge pull request #4092 from 9rnsr/fix_wintimezone
...
Cherry-pick #3945 to stable branch - [Windows] std.datetime: Add North Korean timezone
2016-03-19 15:40:27 +11:00
Ilya Yaroshenko
341b5f6fd4
Merge pull request #3945 from kinke/kimJongUn
...
[Windows] std.datetime: Add North Korean timezone
2016-03-19 12:10:40 +09:00
Brian Schott
f63523b1a8
Merge pull request #4065 from tsbockman/pr3969_fixup
...
Fixup for PR#3969
2016-03-18 16:58:13 -07:00
Steven Schveighoffer
f3e6c436b2
Merge pull request #4091 from dcarp/issue15807
...
Fix issue 15807
2016-03-18 12:07:01 -04:00
Steven Schveighoffer
1856b902ed
Merge pull request #4086 from greenify/rbtree_changelog
...
update changelog: range support for the convenience wrapper redBlackTree
2016-03-18 09:58:23 -04:00
k-hara
a86eeb1059
Merge two equivalent branches
2016-03-18 13:43:34 +09:00
k-hara
22c8065ffd
fix Issue 15791 - Cannot get a stored nested struct object from Variant
2016-03-18 13:43:31 +09:00
Dragos Carp
42a7855d29
Fix issue 15807
2016-03-18 02:06:29 +01:00
JakobOvrum
f12b78ec40
Merge pull request #4053 from greenify/stdio_doc
...
std.stdio: add unittest examples to doc output
2016-03-18 05:44:26 +09:00
Dmitry Olshansky
ba596549cc
Merge pull request #4042 from greenify/examples_to_unittest
...
convert docstring examples to unittests
2016-03-17 16:55:08 +03:00
JakobOvrum
d5df74c507
Merge pull request #4088 from klickverbot/applyleftright
...
meta: CamelCase apply{Left, Right}
2016-03-17 16:04:08 +09:00
Dmitry Olshansky
e46fb63158
Merge pull request #4034 from rainers/fix_allocator
...
enable and fix tests of std.experimental.allocator for Win64/Win32mscoff
2016-03-16 23:50:18 +03:00
David Nadlinger
de843d5299
meta: CamelCase apply{Left, Right}
...
They return general templates, not values.
2016-03-16 16:50:12 +00:00
Sebastian Wilzbach
1162949ef0
update changelog: range support for the convenience wrapper redBlackTree
2016-03-15 22:49:59 +02:00
H. S. Teoh
75702dc995
Merge pull request #4085 from JackStouffer/patch-6
...
Document improvements in the Change Log
2016-03-15 12:38:45 -07:00
Steven Schveighoffer
e41a799327
Merge pull request #4041 from greenify/docu-rbtree
...
add documentation example for RBTree
2016-03-15 13:39:04 -04:00
Jack Stouffer
9ddd455652
Document improvements in the Change Log
2016-03-15 12:35:28 -04:00
Dmitry Olshansky
7b3d744e8c
Merge pull request #4081 from JackStouffer/patch-4
...
Document #3755 in the Change Log
2016-03-15 18:41:15 +03:00
David Nadlinger
8db556f749
Merge pull request #4080 from BBasile/fix-doublestaticcheck-15772-15639
...
fix redundant static checking, keep the deeper one from 15772
2016-03-14 21:46:42 +00:00
Jack Stouffer
e5fc6c1290
Document #3755 in the Change Log
2016-03-14 17:35:01 -04:00
Ilya Yaroshenko
1fecd68a9a
Merge pull request #3755 from JackStouffer/pow2
...
Added nextPow2 and truncPow2
2016-03-14 22:46:31 +02:00
Sebastian Wilzbach
3209fe0bfb
add isStrictlySorted for ranges
2016-03-14 20:34:33 +02:00
Basile Burg
8533b6b532
fix redundant static checking, keep the deeper one from 15772
2016-03-14 15:58:33 +01:00
Hara Kenji
8221ff729a
Merge pull request #4057 from BBasile/issue-15772
...
fixed issue 15772 - emplace works with abstract classes but it shouldn't
2016-03-14 22:34:09 +09:00
Basile Burg
f8bde7f890
fixed issue 15772
2016-03-14 08:39:52 +01:00
Sebastian Wilzbach
afe493d3bd
std.stdio: add unittest examples to doc output
2016-03-13 19:50:05 +02:00
JakobOvrum
19ccbcf493
Merge pull request #4054 from greenify/docu_locksteep
...
std.range: explain difference between lockstep and zip
2016-03-13 22:29:04 +09:00
David Nadlinger
620334b9bf
Merge pull request #4076 from redstar/allocator
...
Allocator: Add stack direction for a lot of non-Intel architectures.
2016-03-13 00:42:41 +00:00
David Nadlinger
3145036f18
Merge pull request #4077 from redstar/ppcimport
...
Linux/PPC: Really fix the import for md.d/ripemd.d.
2016-03-12 23:43:18 +00:00
Kai Nacke
508987aca4
Linux/PPC: Really fix the import for md.d/ripemd.d.
...
The current import for version(BigEndian) is still wrong.
This finally fixes the import.
2016-03-12 20:19:33 +01:00
Kai Nacke
1e96d5d4bd
Allocator: Add stack direction for a lot of non-Intel architectures.
...
This should cover most architectures which D supports.
2016-03-12 20:04:40 +01:00
Sebastian Wilzbach
69346b1ea5
std.range: explain difference between lockstep and zip with new examples
2016-03-12 14:58:00 +02:00
Dmitry Olshansky
21bc321782
Merge pull request #4017 from 9il/mir2
...
[ndslice] fix issues 15714 and 15715
2016-03-12 00:45:02 +03:00
Dmitry Olshansky
1dc6ff97d6
Merge pull request #4014 from schveiguy/allocator_expand
...
Fix GCAllocator.expand to properly utilize GC.extend
2016-03-11 23:34:17 +03:00
Steven Schveighoffer
498d9b0b5e
use correct math
2016-03-11 11:33:12 -05:00
Jonathan M Davis
c08032edd4
Merge pull request #4068 from nrTQgc/netbsd_patch
...
netbsd patch
2016-03-10 22:04:53 -08:00