Commit graph

127 commits

Author SHA1 Message Date
Sebastian Wilzbach
5a8988c149 style fix: add space after for operator 2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
amaury
196418a8b3 Change taggedClassRef and taggedPointer so that the bitfield appear as a void* in the parent 2016-03-24 17:20:27 -07:00
amaury
3a9bb9363b Remove FUD warning 2016-03-20 01:29:41 -07:00
Jonathan M Davis
c3cd933131 Moving deprecations along.
This is mostly just putting dates on existing deprecations that were
missing dates, but it does remove a few things that have been deprecated
long enough to be removed.
2016-02-10 16:43:25 -08:00
Martin Nowak
3b417a98f6 Merge remote-tracking branch 'upstream/stable' into merge_stable 2016-01-27 21:17:17 +01:00
Martin Nowak
861c1c5b39 fixup for #3822
- keep ptr and len as deprecated (unsafe) properties
2016-01-24 23:38:06 +01:00
tsbockman
9da546b2a6 core.bitop bsr(), bsf(), and popcnt() now support ulong inputs even on a 32-bit arch.
This also fixes a few small issues:
* In std.numeric, `Ulong union` didn't consider endianness, and
* in `roundDownToPowerOf2()`, this expression: (1 << bsr(num)) is always 32-bit,
    whereas it should, at a minimum, match the bit-ness of num.
* ilogb() supports integer inputs, but this was undocumented.
2016-01-13 13:54:27 -08:00
Jonathan M Davis
0899d9403f Move deprecations along.
This includes deprecating std.c.*, which apparently was marked as
scheduled for deprecation in 2.068 but never actually deprecated (though
it looks like it was previously removed from the documentation build,
since it doesn't show up on dlang.org).
2015-12-30 00:18:53 -08:00
Brian Schott
40b2e45e33 Merge pull request #3838 from jmdavis/deprecations
Move some deprecations along.
2015-11-29 11:57:28 -08:00
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