Martin Nowak
fea8ee223f
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-12-28 22:25:14 +01:00
Thomas Mader
5279b34946
Add LibcurlPath version option
...
Adds possibility to specify absolute path to libcurl.
The TZDatabaseDir version option already does the same for the tzdata directory.
This commit enables the same fix for the path to libcurl. It's needed for Operating systems like NixOS without a search path for dynamic libs.
See https://issues.dlang.org/show_bug.cgi?id=15391 for more information.
Additionally I removed the Makefile part of the TZDatabaseDir solution
because the necessary compiler arguments can be easily given via DFLAGS, which is also compiler independent and doesn't use the /tmp dir which leads to problems on NixOS.
2018-12-27 14:55:09 +01:00
The Dlang Bot
2dfae3ff31
Merge pull request #6817 from dlang/schveiguy-patch-1
...
staticArray needs to appear in jump table.
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-27 02:02:36 +01:00
Steven Schveighoffer
072463511c
staticArray needs to appear in jump table.
2018-12-26 17:38:44 -05:00
Hiroki Noda
a9c4da88c0
Fix for lint
2018-12-26 10:16:44 +09:00
Hiroki Noda
03a39ede8e
[trivial] unittest: set pagesize by using sysconf(_SC_PAGESIZE) on posix platform
...
getpagesize is not defined but sysconf(_SC_PAGESIZE) can be used.
2018-12-26 10:10:10 +09:00
Martin Nowak
6804bf18cd
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-12-24 17:26:02 +01:00
The Dlang Bot
e034998317
Merge pull request #6810 from edi33416/issue_18913
...
Fix Issue 18913 - Cannot move static array of non-copyable type
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-12-23 20:55:27 +01:00
The Dlang Bot
d34c342604
Merge pull request #6814 from rainers/std_file_malloc
...
do not mix arrays and raw GC.realloc/free: base address of arrays are…
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-12-23 17:01:13 +01:00
The Dlang Bot
f8e620b271
Merge pull request #6813 from carun/logger-patch-1
...
logger: print log level string.
merged-on-behalf-of: Robert Schadek <rburners@gmail.com>
2018-12-23 16:09:07 +01:00
Rainer Schuetze
94e508905a
do not mix arrays and raw GC.realloc/free: base address of arrays are not necessarily the base of the allocation, realloc doesn't update array info
2018-12-23 14:04:02 +01:00
Sebastian Wilzbach
c7106f02b9
Merge pull request #6811 from edi33416/issue_13300
...
Fix Issue 13300 - pure function 'std.array.Appender!(T[]).Appender.en…
2018-12-23 11:23:05 +01:00
Arun Chandrasekaran
09c20ecb76
logger: print log level string.
...
Log message currently doesn't have log level, thread ID, etc. Log messages
without this information is mostly useless.
However, printing the thread ID requires std.concurrency to be @safe
which is not possible at the moment. So I've added only the log level to
the message string.
2018-12-20 20:18:44 -08:00
Eduard Staniloiu
6572e4abb3
Fix Issue 19213 - goto skips declaration of variable in std.algorithm.iteration.joiner
2018-12-20 16:40:55 +02:00
Eduard Staniloiu
a3fdf76c09
Fix Issue 18913 - Cannot move static array of non-copyable type
2018-12-19 16:04:06 +02:00
Eduard Staniloiu
fa19e3f5e7
Make ensureAddable and callers infer function attributes
2018-12-19 15:04:41 +02:00
Nathan Sashihara
d1df4f37d8
Fix NetBSD curStdTime error introduced by PR 6785
2018-12-18 18:29:14 -05:00
The Dlang Bot
5e6fe2f9c8
Merge pull request #6809 from n8sh/reduce-windows.d
...
Replace imports of core.sys.windows.windows to speed up compilation
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-12-19 00:22:11 +01:00
The Dlang Bot
deac4ed947
Merge pull request #6785 from n8sh/issue-19453
...
Fix Issue 19453 - Remove unnecessary error checks in std.datetime.systime.currStdTime()
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-12-18 18:29:36 +01:00
Eduard Staniloiu
c575e985b3
Fix Issue 13300 - pure function 'std.array.Appender!(T[]).Appender.ensureAddable' cannot call impure function 'test.T.__fieldPostBlit'
2018-12-18 19:27:54 +02:00
The Dlang Bot
c20df1e0e2
Merge pull request #6800 from TurkeyMan/isInnerClass
...
Simplify isInnerClass
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-12-18 17:18:01 +01:00
The Dlang Bot
b962752193
Merge pull request #6804 from edi33416/issue_18824
...
Fix Issue 18824 - [REG 2.080] Tuple's opBinaryRight takes precedence …
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-12-18 17:15:14 +01:00
Nicholas Wilson
e7cfc5c1f2
Merge pull request #6805 from edi33416/issue_19133
...
Fix Issue 19133 - core.exception.rangeerror@std/file.d(3812)
2018-12-18 19:46:37 +08:00
The Dlang Bot
43be36c179
Merge pull request #6790 from joakim-noah/stable
...
Android and AArch64: tweak tests that trip
merged-on-behalf-of: unknown
2018-12-18 03:26:39 +01:00
Nathan Sashihara
6ffd4e7f28
Replace imports of core.sys.windows.windows to speed up compilation
2018-12-17 21:03:31 -05:00
The Dlang Bot
4435abf27e
Merge pull request #6808 from edi33416/issue_18755
...
Fix Issue 18755 - std.typecons.Rebindable breaks @safe-ty
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-12-17 20:47:25 +01:00
Joakim
073ea406c6
Loosen two tests for IEEE Quadruple precision and make sure std.variant.VariantN is properly aligned for Quadruples.
2018-12-17 19:58:33 +05:30
Eduard Staniloiu
dbca8521b5
Fix Issue 18755 - std.typecons.Rebindable breaks @safe-ty
2018-12-17 16:15:00 +02:00
Petar Kirov
21afd40c42
Merge pull request #6807 from kubo39/patch-1
...
[trivial] Fix `dirEntries` docs
2018-12-17 09:45:52 +02:00
Hiroki Noda
fce262d1c2
[trivial] Fix dirEntries
docs
...
Use `std.process.executeShell` instead of old system function.
2018-12-17 06:02:46 +09:00
Vladimir Panteleev
e86df01f02
std.file: Use simpler dirent reading closer to C API
2018-12-14 15:18:35 +00:00
Eduard Staniloiu
cb1dd9fef6
Fix Issue 19133 - core.exception.rangeerror@std/file.d(3812)
2018-12-14 16:39:30 +02:00
Eduard Staniloiu
36a9dfaaf2
Fix Issue 18824 - [REG 2.080] Tuple's opBinaryRight takes precedence over appending a tuple to an array of tuples
2018-12-14 13:35:20 +02:00
The Dlang Bot
d262d06a14
Merge pull request #6796 from carun/master
...
canFind: added example to search for multiple needles in a hay stack.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-12-11 11:58:05 +01:00
Arun Chandrasekaran
744e15aed1
canFind: added example to search for multiple needles in an array of hay stacks.
2018-12-11 00:44:03 -08:00
Manu Evans
19e8ff244d
Simplify isInnerClass
2018-12-10 21:23:59 -08:00
Manu Evans
3ac8804df1
min/max shouldn't pull std.format
2018-12-10 01:03:28 -08:00
Manu Evans
655a818f13
simplify maxAlignment (because max is gigantic!)
2018-12-09 23:44:47 -08:00
The Dlang Bot
19f72cfe7f
Merge pull request #6789 from Biotronic/Issue-19456
...
Fix issue 19456 - ParameterIdentifierTuple incorrect for abstract met…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-09 13:05:12 +01:00
The Dlang Bot
2e2d5fc264
Merge pull request #6797 from rainers/win64_sha_ssse3
...
SHA on Win64: use SSSE3 version by adjusting register usage
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-09 09:30:53 +01:00
Rainer Schuetze
4cd43db1d8
SHA on Win64: use SSSE3 version by adjusting register usage
2018-12-08 15:46:12 +01:00
jsatellite
01784b0ee9
Fix for issue 19466
2018-12-05 10:13:11 +00:00
Walter Bright
f30f6b3ce1
inure against windows.d changes by casting to LPCWSTR
2018-12-04 22:56:29 -08:00
Martin Nowak
c60001a44f
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-12-04 19:43:30 +01:00
Joakim
a3e12db149
Android: much of /proc was made inaccessible since Oreo, but cpuinfo is still readable.
2018-12-04 17:10:00 +05:30
The Dlang Bot
c7f9179691
Merge pull request #6786 from rainers/gc_other_binsizes
...
gc_allocator.goodAllocSize: relax conditions for the actual GC
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-04 00:26:30 +01:00
Rainer Schuetze
1556befad7
gc_allocator.goodAllocSize: relax conditions for the actual GC to allow "good" sizes other than powers of 2
2018-12-03 23:17:52 +01:00
Simen Kjærås
9f9988bfeb
Fix issue 19456 - ParameterIdentifierTuple incorrect for abstract methods with unnamed parameters
2018-12-03 12:04:03 +01:00
Stanislav Blinov
c4324f405c
[deduplication] RefCounted
should use moveEmplace
...
...
...as per a comment in its implementation.
Not `@safe`, but `nothrow pure`; `calloc` if has pointers
2018-12-01 14:13:47 +03:00
Nathan Sashihara
0f20fa219c
Fix Issue 19453 - Remove unnecessary error checks in std.datetime.systime.currStdTime()
...
Posix gettimeofday called with a valid timeval address and a null second
parameter doesn't fail. Posix clock_gettime called with a valid clock_id
is only permitted to fail if the number of seconds does not fit in time_t.
2018-11-30 06:12:18 -05:00