Commit graph

11114 commits

Author SHA1 Message Date
Andrei Alexandrescu
dcd00a7609 Add medianOf 2016-09-29 16:20:11 -04:00
Robert Schadek
81c09ed1c1 Merge pull request #4811 from JackStouffer/file-const
[trivial] Added const to varibles in std.file that aren't modified
2016-09-29 17:12:51 +02:00
e-y-e
befa0bfb6e Updated Flag uses to Yes/No structs 2016-09-29 14:45:20 +01:00
e-y-e
46824b631f Changed yes/no enums to Flags in std.datetime, updating uses to Yes/No structs. 2016-09-29 14:45:19 +01:00
Andrei Alexandrescu
a5e935370f Merge pull request #4781 from 9il/mapSlice
add mapSlice and fix  Issue 16501
2016-09-29 00:09:09 +02:00
Vladimir Panteleev
d63572fd77 Fix Issue 16544 - Add File.reopen 2016-09-27 15:37:03 +00:00
Mathias Lang
e43a3a12a3 Remove last use of implicit string concatenation
This feature will hopefully be deprecated soon.
2016-09-26 14:35:41 +02:00
Andrei Alexandrescu
dd5ebbfe77 Merge pull request #4816 from andralex/sort
Optimized sort, 4%-8% speed improvements
2016-09-25 18:58:33 +02:00
Andrei Alexandrescu
a4393248ba Tighter loop for insertion sorting 2016-09-25 18:13:58 +02:00
Ilya Yaroshenko
644fa8248f Merge pull request #4813 from JackStouffer/xml-const
[trivial] Added some immutable to varibles that aren't modified in std.xml
2016-09-25 17:05:47 +03:00
Martin Nowak
97f58eac9d don't preincrement j index to match else branch
- was confusing to use different index flavours for the 2 "memmoves"
2016-09-25 11:51:53 +02:00
Martin Nowak
a0eec9d86b dedicated sort5 unittest
- test all permutations of 5 integers
- remove scope success assertion in sort5
- move shortSort test below shortSort as it now tests only one function
2016-09-25 11:26:16 +02:00
Martin Nowak
5901459850 replace a-e indices w/ 0-4 2016-09-25 11:12:39 +02:00
Walter Bright
e06ee589b9 add 'return' annotation to Tuple.rename() 2016-09-24 17:52:55 -07:00
Jacob Jensen
a702432a94 Removed unused import symbol.
Removed an imported symbol that isn't used.
2016-09-24 23:44:51 +02:00
Andrei Alexandrescu
25418edb06 Merge pull request #4798 from aG0aep6G/FreeTree
std.experimental.allocator: fix FreeTree issues 16506 and 16507
2016-09-24 15:45:41 -04:00
ZombineDev
8dd953827c Fix issue 16534 - RefRange should define opDollar if it defines length 2016-09-24 20:12:48 +03:00
Andrei Alexandrescu
56f511c020 Workaround for https://issues.dlang.org/show_bug.cgi?id=16534 2016-09-24 11:46:47 -04:00
Andrei Alexandrescu
9e84e1a247 Optimized sort, 4%-8% speed improvements 2016-09-24 11:10:42 -04:00
Andrei Alexandrescu
bf14b1897e Merge pull request #3797 from Cauterite/issue11135
Issue 11135 - Nullable(T, T nullValue) does not support NaN
2016-09-23 16:24:52 -04:00
Andrei Alexandrescu
c940f5a418 Merge pull request #4789 from JackStouffer/package2
[trivial] Either make private or document undocumented public symbols in stdio
2016-09-23 15:56:02 -04:00
Ilya Yaroshenko
99532a8f41 fix issue 16503 : add fast math bridge for LDC 2016-09-23 20:29:28 +02:00
Ilya Yaroshenko
a3f205a19e fix 16501 and fix issue 16501 2016-09-23 20:29:15 +02:00
Jack Stouffer
b3a8f49ca0 Added some const to varibles that aren't modified 2016-09-23 12:41:19 +01:00
Jack Stouffer
e65d6da725 Added some immutable to varibles that aren't modified in std.xml 2016-09-23 10:52:06 +01:00
e-y-e
669fa67b1d Change yes/no enum SortOutput to a Flag 2016-09-23 10:32:43 +01:00
e-y-e
004bc507df Change yes/no enum CheckDns to a Flag 2016-09-23 10:27:49 +01:00
e-y-e
ad2563f8e7 Change yes/no enum OpenRight to a Flag 2016-09-23 10:08:46 +01:00
Martin Nowak
1ecc4d68da Merge pull request #4801 from burner/remove_stream
Remove stream from phobos
2016-09-22 18:52:36 +02:00
Ilya Yaroshenko
abdc4870cf Merge pull request #4806 from JackStouffer/algorithm-import
Remove all package wide std.algorithm imports from Phobos
2016-09-22 11:36:23 +03:00
Ilya Yaroshenko
4020810799 Merge pull request #4201 from andralex/better-overlap
Simplify overlap
2016-09-22 10:46:20 +03:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
Jack Stouffer
971da6a37b Remove some global imports from std.concurrency 2016-09-21 16:10:10 +01:00
Robert burner Schadek
871145fd4c Remove stream from phobos
did went through the deprecation cycle and is scheduled to be remove Oct 2016

forgot some places

another tiny fix

fixing win32/64 I hope

another unittest file removed
2016-09-21 14:44:03 +02:00
Jack Stouffer
9f3cb8c2ff Remove all global imports from std.xml 2016-09-20 22:17:00 +01:00
Andrei Alexandrescu
764c7b5633 Merge pull request #4805 from JackStouffer/xml-attributes
Add function annotations to most of std.xml
2016-09-20 16:48:40 -04:00
Andrei Alexandrescu
f91c7a1e08 Merge pull request #4803 from JackStouffer/algorithm-import
[trivial] Remove some package wide std.algorithm imports
2016-09-20 16:09:02 -04:00
Jack Stouffer
cebeaa2669 Add function annotations to most of std.xml 2016-09-20 21:01:06 +01:00
Ilya Yaroshenko
2e58653d70 Merge pull request #4797 from mleise/std-random-nogc
Make most random number generator methods @nogc.
2016-09-20 22:30:35 +03:00
Andrei Alexandrescu
a251536bc8 Merge pull request #4800 from JackStouffer/uni-units
[trivial] Removed some redundant code from std.uni
2016-09-20 14:52:41 -04:00
Ilya Yaroshenko
384d042793 Merge pull request #4799 from crimaniak/master
Fix mistake in std.experimental.logger.multilogger unit test
2016-09-20 21:00:21 +03:00
Andrei Alexandrescu
ca39f61132 Merge pull request #4780 from 9il/all
add uninitializedSlice
2016-09-20 13:24:48 -04:00
Jack Stouffer
4cad2fc326 Remove package wide std.algorithm imports from std/json.d 2016-09-20 11:08:21 +01:00
Jack Stouffer
34ed5350a2 Remove package wide std.algorithm imports from std/xml.d 2016-09-20 11:06:50 +01:00
Jack Stouffer
f10e3fd608 Remove package wide std.algorithm imports from std/typecons.d 2016-09-20 11:05:17 +01:00
Jack Stouffer
f82611ad19 Remove package wide std.algorithm imports from std/container/rbtree.d 2016-09-20 11:01:28 +01:00
Robert burner Schadek
2bf7601825 csv catch warning fix 2016-09-20 11:32:50 +02:00
Andrei Alexandrescu
b97f0050be Merge pull request #4043 from John-Colvin/named
Add std.typecons.Tuple.rename
2016-09-19 20:23:35 -04:00
nmtigor
92eb635479 fix issue 16249 - std.signals: disconnect() is unsafe during emit() 2016-09-20 01:43:52 +02:00
John Colvin
657a0ff30f make sure Tuple method unittests aren't massively duplicated 2016-09-19 18:27:06 +02:00