Commit graph

11578 commits

Author SHA1 Message Date
Vladimir Panteleev
5d4f4bce19 Merge pull request #3966 from aG0aep6G/symlink-documentation
fix documentation for symlink
2016-02-03 18:16:59 +00:00
ZombineDev
1c555f0d1f Handle all return codes of posix_memalign, such as EINVAL. 2016-02-03 17:33:24 +02:00
ZombineDev
ce938fe432 Add attributes to most functions in allocator.mallocator and allocator.common.
Also made the style more consistent.
2016-02-03 17:33:24 +02:00
anonymous
f1f00e190d fix documentation for symlink
The target path is actually relative to the link, not to the current
working directory. This is in line with the ln shell command, so changing
the documentation to match the behavior seems in order.

Also changing some wording, and un-highlighting "symlink" throughout as
it never refers to the function.
2016-02-03 15:25:33 +01:00
anonymous
81b15b7011 remove @safe from template setTimes
Letting attribute inference take care of things. Making a unittest @safe
to ensure that setTimes itself doesn't do anything unsafe.
2016-02-03 15:24:35 +01:00
Andrei Alexandrescu
4be6bc1418 Merge pull request #3962 from schveiguy/gc_goodAllocSize
Add goodAllocationSize to GCAllocator
2016-02-02 17:04:38 -05:00
Steven Schveighoffer
245977e3e7 Add more unit tests for GCAllocator.goodAllocSize 2016-02-02 15:11:55 -05:00
Jonathan M Davis
747135d6d6 Merge pull request #3954 from quickfur/canfind_docs
Add example of how to use a custom predicate with canFind.
2016-02-02 04:38:40 -08:00
Steven Schveighoffer
0c5e570360 Optimize use of bsr better. 2016-02-01 09:27:04 -05:00
Steven Schveighoffer
e9e52d9e05 Add goodAllocationSize to GCAllocator -- the GC has very well defined
behavior for this.
2016-01-31 14:50:53 -05:00
Brian Schott
33dbfa819f Merge pull request #3961 from tsbockman/math_import_fix
Don't use selective import in std.math due to DMD issue 314.
2016-01-30 16:37:35 -08:00
tsbockman
2b09b8b59c Fix Phobos issue #15586 - std.utf.toUTF8() halts on invalid dchar. 2016-01-29 15:35:14 -08:00
tsbockman
03ec7f38bd Don't use top-level selective import in std.math because of DMD issue 314. 2016-01-29 14:00:49 -08:00
Robert Schadek
c44e239ced Merge pull request #3958 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-01-29 14:54:39 +01:00
Jack Applegame
f790eeeb98 Fix imports. 2016-01-29 13:48:36 +03:00
Jack Applegame
b2e6ed320f Bucketizer unittest update 2016-01-29 13:31:46 +03:00
Ilya Yaroshenko
6ec96dd623 fix Issue 15532 and fix Issue 15540 2016-01-28 22:43:26 -08:00
Ilya Yaroshenko
b258aae620 fix unittests in ndslice.slice 2016-01-28 22:13:33 -08:00
Ilya Yaroshenko
85f72989cf fix unittests in ndslice.package 2016-01-28 22:13:33 -08:00
Ilya Yaroshenko
5cdf968c6d fix unittests in ndslice.selection 2016-01-28 22:13:33 -08:00
Ilya Yaroshenko
ceaa9e5b6f fix unittests in ndslice.iteration 2016-01-28 22:13:33 -08:00
JakobOvrum
eec7609314 Merge pull request #3956 from ZombineDev/patch-3
Fix makeArray for types with disabled this(this)
2016-01-29 08:27:06 +09:00
H. S. Teoh
c97a9b59e4 Merge pull request #3959 from QAston/patch-1
Fix a typo in stack allocator usage example
2016-01-28 10:07:30 -08:00
Dariusz Antoniuk
e9ef91d5d4 Fix a typo in stack allocator usage example
Objs should be deallocated by the same allocator used to allocate them.
2016-01-28 15:16:48 +01:00
H. S. Teoh
02c0083e1c Merge pull request #3942 from andralex/maxPos
Add maxCount and maxPos
2016-01-27 21:18:43 -08:00
Martin Nowak
3b417a98f6 Merge remote-tracking branch 'upstream/stable' into merge_stable 2016-01-27 21:17:17 +01:00
Petar Kirov
6615f6990e Fix makeArray for types with disabled this(this) 2016-01-27 17:39:59 +02:00
Jonathan M Davis
f408c81237 Merge pull request #3955 from AndrewEdwards/master
Remove deprecated modules and symbols scheduled for removal in 2015
2016-01-27 04:46:02 -08:00
AndrewEdwards
eba5621271 Remove deprecated modules and symbols scheduled for removal in 2015 2016-01-27 19:53:44 +09:00
AndrewEdwards
096480ecc3 Remove deprecated modules and symbols scheduled for removal in 2015 2016-01-27 18:34:07 +09:00
H. S. Teoh
6a98d6ba03 Better variable naming. 2016-01-26 16:47:43 -08:00
H. S. Teoh
5517fe1bcd Add example of how to use a custom predicate. 2016-01-26 15:52:45 -08:00
Martin Nowak
006c4221b7 Merge pull request #3939 from biozic/master
Updated sqlite3 to version 3.10.2
2016-01-25 09:47:07 +01:00
Jonathan M Davis
70d1b6f6fd Merge pull request #3950 from MartinNowak/fixup3822
fixup for #3822
2016-01-24 22:52:06 -08:00
Martin Nowak
581574e449 Merge pull request #3935 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-01-25 01:43:05 +01:00
Nicolas Sicard
186e7e5814 Removed trailing whitespace 2016-01-25 00:24:11 +01:00
Martin Nowak
861c1c5b39 fixup for #3822
- keep ptr and len as deprecated (unsafe) properties
2016-01-24 23:38:06 +01:00
Jack Applegame
a527393821 fix Bucketizer.owns 2016-01-24 10:04:43 +03:00
Martin Nowak
6be2087858 Merge pull request #3824 from jmdavis/issue15376
Fix for issue# 15376. Get time zone conversions at runtime.
2016-01-23 15:05:59 +01:00
Jonathan M Davis
635cecee55 Fix for issue# 15376. Get time zone conversions at runtime.
It's proven to be a maintenance problem to maintain the time zone
conversions between the IANA TZ database names and the Windows time zone
names in std.datetime. So, rather than compiling them in, this provides
a way to get them at runtime (which will also make it so in the future,
older releases can work properly on up-to-date Windows boxes, which is
not the case currently with regards to time zone conversions). The
current conversion functions can be deprecated after parseTZConversions
has been out for a release (so that it's possible for users to compile
their code for two releases in a row without getting deprecation
messages).
2016-01-23 04:43:26 -08:00
Andrei Alexandrescu
5fa89e9481 Merge pull request #3947 from eco/patch-15
Remove suggestion in documentation to add an alias to uses of Flag
2016-01-22 14:11:40 -05:00
Brad Anderson
7a3837095b Remove and explain Flag alias antipattern 2016-01-22 11:06:13 -07:00
Nicolas Sicard
153e78aefa The sqlite3 binding is valid up to version 3.10.2 2016-01-22 14:22:22 +01:00
Nicolas Sicard
57f84fe45d More whitespace fixes 2016-01-22 14:19:38 +01:00
Ilya Yaroshenko
0d639cc6ee Merge pull request #3945 from kinke/kimJongUn
[Windows] std.datetime: Add North Korean timezone
2016-01-21 15:09:00 -08:00
Andrei Alexandrescu
600aad231c Merge pull request #3946 from 9il/cawp
remove Flag alias
2016-01-21 17:11:30 -05:00
Ilya Yaroshenko
bbc2a9d9a2 remove Flag alias 2016-01-21 12:06:34 -08:00
Martin
756e406281 [Windows] std.datetime: Add North Korean timezone
MS recently added it with https://support.microsoft.com/en-us/kb/3093503
2016-01-21 20:57:03 +01:00
H. S. Teoh
5c124e1707 Merge pull request #3944 from aG0aep6G/patch-2
fix broken link
2016-01-20 19:23:48 -08:00
aG0aep6G
40a1713eeb fix broken link 2016-01-21 01:48:23 +01:00