Dicebot
82f54a38d3
TypeTuple -> MetaList inside Phobos
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Gary Willoughby
4699b0c16d
Updated documentation to remove unnecessary symbol highlights in descriptions.
2015-04-21 10:56:50 +01:00
Gary Willoughby
c117523c10
Updated some missing params and return sections in the documentation.
2015-04-19 19:33:43 +01:00
John Colvin
1bf629ac7c
make std.system.Endian public from std.bitmanip
2015-03-26 12:36:30 +00:00
majiang
e2539e9719
Unmark BitArray.this() for deprecation
2015-03-05 09:50:01 +09:00
H. S. Teoh
25ac0482ac
Mark BitArray.init() for deprecation.
2015-01-22 11:04:49 -08:00
Robert burner Schadek
60dad6b9de
documentation updates
...
* moved comment examples to unittests
* removed examples from comments as following unittest was used to verify
example
whitespace
2015-01-20 11:34:05 +01:00
H. S. Teoh
5c44b01c4c
Reverse sense of >>= and <<= to be consistent with bt().
2015-01-05 14:12:31 -08:00
H. S. Teoh
2b5615dc54
Don't use symmetric bit pattern in unittest.
2015-01-05 09:35:54 -08:00
H. S. Teoh
0fc127182a
Templatize rollRight and rollLeft.
2015-01-04 13:39:40 -08:00
H. S. Teoh
d86e971d25
Implement >>= and <<= for BitArray.
...
Bugfixes.
2014-12-13 07:41:42 -08:00
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Dmitry Olshansky
ce97f324be
Merge pull request #2739 from deadalnix/taggedref
...
Add the capability to create tagged pointer and classes in bitmanip
2014-11-22 15:18:51 +03:00
Ilya Yaroshenko
c8d9afedea
clean scope imports
...
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
deadalnix
182548e4da
Add the capability to create tagged pointer and classes in bitmanip
2014-11-19 21:12:22 -08:00
Ilya Yaroshenko
e15920e8b7
std.bitmanip: clean imports
2014-11-13 03:20:58 +03:00
Ilya Yaroshenko
4dc264c9e4
std.bitmanip: clean imports
...
revert some changes
2014-11-10 15:26:01 +03:00
Geod24
0fb95b8c27
Usage of WEB macro for License everywhere
2014-10-15 11:30:42 +02:00
sinkuu
8244f494eb
Add @nogc to bitfields accessors
2014-09-04 09:50:21 +09:00
Denis Shelomovskij
d63035003a
Fix some property enforcements.
2014-09-01 18:01:16 +04:00
sinkuu
3f30d2d3b6
Add @nogc
to endian related functions in std.bitmanip
2014-08-22 14:31:24 +09:00
safety0ff
c8ec6ace7c
std.bitmanip BitArray: add function attributes
2014-08-03 16:15:06 -04:00
safety0ff
782afe659f
std.bitmanip BitArray refactor and various fixes
2014-08-03 13:52:39 -04:00
safety0ff
00c552dd09
std.bitmanip: BitArray.opcmp unittest improvements by MartinNowak
2014-06-13 17:31:40 -04:00
Nikolay Belov
d0ef5ae5d1
Fix out of bounds.
2014-06-13 17:30:04 -04:00
Nikolay Belov
877ea3ebf2
Use core.bitop.bsf in BitArray.opCmp for more efficient
2014-06-13 17:19:05 -04:00
Nikolay Belov
60111117f5
Fix code review comment: repcace some ifs to one expression
2014-06-13 17:14:22 -04:00
Nikolay Belov
8fbdedee97
Fix codestyle code review comment
2014-06-13 17:14:22 -04:00
Nikolay Belov
16511ad919
Fix BitArray.opCmp
2014-06-13 17:14:22 -04:00
Johannes Bblume
9211f1aad1
fix Issue 10948 - BitArray.opEquals is invalid
...
https://issues.dlang.org/show_bug.cgi?id=10948
Implemented the fix as proposed by nbelov on Bugzilla. Included are unit tests which would have triggered this bug and also fixed it in opCmp.
The issue was that the 32 bit expression "(1 << n)" was treated as being of size_t, which lead to incorrect bit patterns on 64 bit environments.
2014-05-27 13:47:03 +02:00
Gio Borje
6a747f2237
Update bitmanip.d documentation
...
Fixed all spelling errors of "Params" from "Parems"
2014-04-29 15:45:40 -07:00
Andrej Mitrovic
ccd1e20d49
Fix Issue 12477 - std.bitmanip should emit informative diagnostics.
2014-04-23 21:49:18 +02:00
k-hara
6f80f6aa03
Add more local imports
2014-03-13 13:13:04 +09:00
Dmitry Olshansky
c78cfd97fb
Merge pull request #1901 from Poita/bug12027
...
Fix Issue 12027 - Iterate set bits in BitArray.
2014-03-01 23:28:51 +03:00
Peter Alexander
5111daa384
Mark countBitsSet and countTrailingZeroes as private for now
2014-02-25 21:52:01 +00:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
Peter Alexander
cb55aa8fca
Refine BitArray.init requirements and docuemntation.
2014-02-06 21:17:02 +00:00
Peter Alexander
34a892c63e
Reimplement countTrailingZeros using bsf.
2014-02-03 21:25:26 +00:00
Peter Alexander
e8eae7de8d
Performance improvements for dense BitArray.bitsSet.
2014-02-02 15:08:10 +00:00
Peter Alexander
08820e2f14
Fix Issue 12027 - Iterate set bits in BitArray.
...
Also adds:
- countTrailingZeros(v)
- countBitsSet(v)
- bitsSet(v)
Notes:
- There is a `popcnt` function in `core.bitops`, but it only works with `int`.
- `bitsSet(v)` could be a bidirectional and possibly even random access range, but I'll leave that for future work for now.
2014-02-02 12:59:28 +00:00
Daniel Murphy
a656f26e9e
Remove use of automatic adjacent string literal concatenation from phobos
2014-01-20 03:42:21 +11:00
monarchdodra
44fe3d88f7
Remove tabs
2014-01-08 08:37:52 +01:00
safety0ff
282e88bc60
Add unittests for bugs which seem to have been fixed over time.
2013-10-03 10:14:24 -04:00
safety0ff
d2b6f04f2f
Support degenerate bitfields with fields of length 32 and 64 to match documented constraints.
2013-10-03 10:06:55 -04:00
Hackerpilot
9ecbfa6bc7
Reverted implicit string concatienation changes
2013-07-13 19:42:50 +00:00
Hackerpilot
ae1dcaa3e1
Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace
2013-07-13 19:34:37 +00:00
Andrej Mitrovic
4f5079e4f8
Fixes Issue 4124 - Implement toString for BitArray.
2013-06-01 15:40:01 +02:00
Andrej Mitrovic
bd2d3e5fea
Detab and strip std.bitmanip.
2013-06-01 04:03:37 +02:00
Diggory Blake
be6f984726
Fixed std.bitmanip unit test so that the intended behaviour of checking both endian types is the actual behaviour
2013-05-27 11:26:48 +01:00