Commit graph

897 commits

Author SHA1 Message Date
Sebastian Wilzbach
ed4404399f Propagate attributes in std.experimental.allocator.make 2016-08-15 12:09:23 +02:00
Sebastian Wilzbach
9c7bd0e24e std.experimental.allocator: Add attributes to makeArray - part 3 2016-08-15 10:17:40 +02:00
Andrei Alexandrescu
a5c8440bc6 Merge pull request #4681 from wilzbach/allocator_safe_4
Add attributes to makeArray - part 1 (length)
2016-08-15 01:56:42 -04:00
Andrei Alexandrescu
c8e0c6ea08 Merge pull request #4679 from wilzbach/allocator_safe_1
Add attributes to GCAllocator and theAllocator
2016-08-15 01:26:11 -04:00
Andrei Alexandrescu
098e52ec1b Merge pull request #4682 from wilzbach/allocator_safe_5
Add attributes to makeArray - part 2 (length + init)
2016-08-15 00:24:14 -04:00
Andrei Alexandrescu
accf8d540e Merge pull request #4705 from wilzbach/test_alloc
[trivial] Extend reallocate test for all Allocators
2016-08-14 23:44:16 -04:00
Dmitry Olshansky
488b399c8a Merge pull request #4693 from 9il/iota3
add iotaSlice variant with step
2016-08-09 20:05:48 +02:00
Dmitry Olshansky
31ef7f7c44 Merge pull request #4698 from 9il/zl
relax length constraints
2016-08-09 19:32:44 +02:00
David Nadlinger
1efdcd5ebb Merge pull request #4700 from Cauterite/patch-1
Windows is supported; docs said otherwise
2016-08-07 15:23:24 +01:00
Ilya Yaroshenko
bd33e92935 remove object file 2016-08-04 11:04:27 +02:00
Dmitry Olshansky
fba7339893 Merge pull request #4639 from 9il/mm3
fix Issue 16311 - toHash for Slice is not defined
2016-08-04 11:00:45 +02:00
Ilya Yaroshenko
15c04beabd remove pragma(inline, false) 2016-08-03 16:22:33 +02:00
Sebastian Wilzbach
b0e5a1b7da std.experimental.allocator: Add attributes to makeArray - part 2 2016-08-03 03:39:34 +02:00
Sebastian Wilzbach
6d9918e183 std.experimental.allocator: Add attributes to makeArray - part 1 2016-08-03 03:35:44 +02:00
Sebastian Wilzbach
a5b0016ebb Add attributes to GCAllocator and theAllocator 2016-08-03 03:16:31 +02:00
Sebastian Wilzbach
d331a5d176 Extend reallocate test for all Allocators 2016-08-03 03:10:41 +02:00
Cauterite
a12690a2e6 [trivial] Windows is supported; docs said otherwise 2016-08-01 04:50:34 +10:00
Ilya Yaroshenko
4866f6c79d add Slice.toHash 2016-07-31 18:07:42 +02:00
David Nadlinger
eb9e676783 Merge pull request #4647 from 9il/assign
fix Issue 16315 and optimise arithmetic operations for Slice
2016-07-31 15:50:26 +01:00
Ilya Yaroshenko
a92618b3a3 relax length constraints 2016-07-31 16:45:30 +02:00
Ilya Yaroshenko
04b45d1deb Merge pull request #4697 from ZombineDev/patch-6
Make iotaSlice implementation easier to understand
2016-07-31 15:50:13 +02:00
David Nadlinger
50ad274826 Merge pull request #4678 from llucenic/patch-1
Typos corrections for logger
2016-07-31 13:47:52 +01:00
Petar Kirov
fd0ceb2b39 Make iotaSlice implementation easier to understand 2016-07-31 15:18:50 +03:00
Ilya Yaroshenko
7cfac7d3f0 Merge pull request #4696 from ghost91-/std_experimental_allocator_building_blocks_nullallocator_doc_fix
[trivial] Fix docs for NullAllocator
2016-07-31 13:49:08 +02:00
Johannes Loher
7f16265ab6 Commented out documentation for the commented out function goodAllocSize in NullAllocator"
Previously, the docs showed the additional line "Returns n.". This documentation comment belongs to the goodAllocSize function, which is commented out, so commented out the doc comment, too.
2016-07-31 11:23:35 +02:00
Ilya Yaroshenko
3e0a93325b fix Issue 16315, optimise arithmetic operations for Slice 2016-07-31 11:11:47 +02:00
Ilya Yaroshenko
c58e3fadc9 Issue 16308 - [ndslice] should always has save primitive
The reason is that Slice never calls front/popFront and others
primitives of underlaying range.

remove constraints for `save` in ndslice.selection
2016-07-31 10:43:26 +02:00
Ilya Yaroshenko
945feb73c5 add iotaSlice variant with step 2016-07-30 23:41:31 +02:00
Ľudovít Lučenič
d1064467a0 Typos corrections
Sole improvements of documentation.
2016-07-29 23:35:54 +02:00
Ilya Yaroshenko
52b694570c Merge pull request #4631 from jmh530/patch-1
[ndslice] Change pack example to something simpler
2016-07-27 21:08:56 +02:00
jmh530
4fbfeb6855 Changing enums to static immutable
Changing enums to static immutable because that is what Travis CI is telling me to do
2016-07-26 21:54:58 -04:00
jmh530
97efba121f Adding enums to avoid risk of GC allocation
Adding enums to avoid risk of GC allocation
2016-07-26 21:50:43 -04:00
jmh530
5b14ca79c3 Removing extra line between blocks
Removing extra line between blocks
2016-07-26 21:47:53 -04:00
jmh530
bdac4d2a93 Fixing white space on line 107
Fixing white space on line 107
2016-07-26 21:45:12 -04:00
jmh530
7ebce43896 Fixing white space
Trying to fix white space so that Travis CI passes.
2016-07-26 21:35:03 -04:00
jmh530
623d5b116e Fixing space after std.range
Adding a space after std.range to pass Travis CI.
2016-07-26 21:31:04 -04:00
jmh530
c84e8098b8 Fixing indentation and template parameters
Changing indentation to tab from 5 spaces for b. Also, change the formatting for template parameter to remove parentheses.
2016-07-26 21:12:22 -04:00
jmh530
56eb71c871 Update changes to have only one blank line
Was asked to have only one blank line. I assume this meant to split variables from asserts.
2016-07-26 18:43:53 -04:00
jmh530
f21cf84d99 Update changes to modify [0][0] to [0, 0]
Addressing comments to change [0][0] to [0, 0]
2016-07-26 18:41:56 -04:00
Brian Schott
3cf5e9a7fb Merge pull request #4638 from 9il/spec
add specialisation for byElement & byElementInStandardSimplex in case of 1D
2016-07-26 03:25:11 -07:00
Ilya Yaroshenko
dc996eb49c add specialisation for byElement & byElementInStandardSimplex in case of 1D 2016-07-26 09:55:56 +02:00
Ilya Yaroshenko
9a00cb53e7 Merge pull request #4263 from wilzbach/infer_type_for_make_array_with_ranges
infer elementType for ranges in makeArray,makeSlice
2016-07-23 08:57:42 +02:00
Sebastian Wilzbach
f35efe42f0 infer ElementType for ranges in makeArray and makeSlice 2016-07-23 01:21:34 +02:00
Sebastian Wilzbach
9a05cab46f [ndslice]: rename mod -> replaceWithArray 2016-07-21 19:48:25 +02:00
jmh530
1ab23fa70b Change pack example to something simpler
The original example for pack has too much stuff going on. Replacing it with a slimmer version that makes it a bit more clear what the impact of pack is. In particular, I feel like the asserts for shapes are necessary to make it obvious.
2016-07-21 10:53:53 -04:00
Brian Schott
48db636e9e Merge pull request #4606 from 9il/9il-patch-1
Simple fix for ndslice
2016-07-20 15:19:57 -07:00
H. S. Teoh
f9f99c116a Merge pull request #4625 from 9il/9il-patch-1
remove unused import
2016-07-20 11:46:18 -07:00
Ilya Yaroshenko
7af9336f03 simple docs fix 2016-07-20 18:26:29 +02:00
Ilya Yaroshenko
2bf9766c9a remove unused import 2016-07-20 18:18:51 +02:00
Ilya Yaroshenko
ee929f0a21 Update slice.d 2016-07-16 22:56:44 +02:00