Commit graph

101 commits

Author SHA1 Message Date
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
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
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
Petar Kirov
fd0ceb2b39 Make iotaSlice implementation easier to understand 2016-07-31 15:18:50 +03: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
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
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
Vladimir Panteleev
38a6370788 Merge pull request #4303 from wilzbach/mref_phobos
use mref macro instead of link2
2016-05-24 03:12:08 +03:00
Brian Schott
1565a3243e Merge pull request #4324 from wilzbach/extend_whitespace_list
enforce: whitespace after catch
2016-05-16 19:04:43 -07:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
ZombineDev
f4333fa2cc Remove ref from the Slice.this parameters
This allows passing rvalues directly.
2016-05-14 21:42:15 +03:00
Sebastian Wilzbach
484f7bfbe0 enforce: whitespace after catch 2016-05-14 15:28:43 +03:00
Vladimir Panteleev
3636733dcc Merge pull request #4299 from JackStouffer/patch-6
Prepare for long line checks in travis
2016-05-11 04:36:15 +03:00
Jack Stouffer
8559ba93ed Fixed long lines in std/experimental/ndslice/iteration.d 2016-05-10 20:51:39 -04:00
Ilya Yaroshenko
4c8980efc9 Trivial Fix Issue 16010 2016-05-10 20:06:37 +02:00
Petar Kirov
9e2268ca19 Use iotaSlice instead of iota in one more place 2016-05-08 14:57:33 +03:00
Ilya Yaroshenko
b4d933d9ef Merge pull request #4260 from wilzbach/ndslice_fix_and_doc
[ndslice] allow init elem for slice()
2016-05-02 09:05:48 +02:00
Sebastian Wilzbach
30f6319b7d [ndslice] allow init elem for slice() 2016-05-02 01:56:25 +03:00
Sebastian Wilzbach
e3f35b9c7a [ndslice]: document exposure of ptr + doc fix 2016-04-29 16:57:51 +03:00
Sebastian Wilzbach
8fa0ffc92a std.experimental.ndslice: improve docs 2016-04-28 21:07:40 +03:00
Dmitry Olshansky
c1027f1970 Merge pull request #4246 from wilzbach/sed_spaces_part_2
style fix: add space after 'for' operator
2016-04-27 16:17:18 +04:00
Brian Schott
5b1f524b2e Merge pull request #4237 from 9il/mir
Add ptr method for Slice
2016-04-26 16:12:25 -07:00