Commit graph

217 commits

Author SHA1 Message Date
anonymous
6832caf0be use DDLINK/DDSUBLINK instead of LINK2 and raw HTML
DDLINK/DDSUBLINK use ROOT_DIR which is more robust than a relative path.
2015-11-26 16:04:44 +01:00
Jonathan M Davis
d34164a2ea Move some deprecations along. 2015-11-26 00:28:38 -08:00
anonymous
1c8467c676 update links to spec pages 2015-11-24 17:58:49 +01:00
Steven Schveighoffer
c254fecc48 Merge pull request #3822 from Blumerline/patch-privatearrayfield
fix issue 15364 - BitArray.len should be private
2015-11-19 10:50:57 -05:00
Blumerline
74fbb79087 fix issue 15364 - BitArray.len should be private 2015-11-19 14:14:06 +01:00
Lionello Lunesu
8e452d8dd4 [Issue 15305] bitfields! setter erroneously clears subsequent fields 2015-11-16 19:17:06 +08:00
Walter Bright
3b7b38b9ca bitmanip: don't reinvent unsignedToTempString 2015-10-19 06:11:52 -07:00
Andrej Mitrovic
710e05d2e0 Avoid strict equality check on assert message
Required for https://github.com/D-Programming-Language/dmd/pull/5189
2015-10-18 13:34:21 +02:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Marc Schütz
542a657916 Add warning about GC to taggedPointer and taggedClassRef docs 2015-06-13 14:50:03 +02:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
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