Commit graph

153 commits

Author SHA1 Message Date
Walter Bright
fd69d85c6e bitmanip - inure against integral promotion changes 2017-07-24 20:10:24 -07:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7 Sort selective imports 2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
H. S. Teoh
6111a6cb37 Fix issue 17247. 2017-03-08 12:36:13 -08:00
Sebastian Wilzbach
62249e99ec [BOOKTABLES]: Add BOOKTABLE to std.bitmanip 2017-03-01 22:20:08 +01:00
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595 Unify Phobos by ensuring there's always a space after cast(...)
Command:

sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Jonathan M Davis
130714acdd Move deprecations along. 2017-01-24 03:08:10 -08:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
Sebastian Wilzbach
0c822434cb Merge pull request #4509 from JohanEngelen/outofboundshift
Fix undefined behavior of BitsSet.popFront() upon aggressive optimization
2017-01-04 13:16:58 +01:00
Walter Bright
18396218f0 bitmanip: missing a 'return' attribute 2016-08-24 22:06:03 -07:00
Jack Stouffer
f30c6a106c Enable always true assert checks in Travis 2016-07-31 10:47:26 -04:00
Johan Engelen
46f0d65358 Fix undefined behavior of BitsSet.ctor() and BitsSet.popFront() upon aggressive optimization.
The bug is triggered by the `assert(bitsSet(1).equal([0]));` unittest already present, with LDC+aggressive inlining and optimization.
2016-07-29 16:02:08 +02:00
Jack Stouffer
6f5f20bd93 Added const and immutable to several variables in std.bitmanip 2016-07-19 12:03:09 -04:00
Atila Neves
b543043a87 Add @system and @safe to std.bitmanip unit tests 2016-07-05 09:35:47 +02:00
Jack Stouffer
8b18cc082b Fixed std.algorithm imports in std.bitmanip to not be package wide 2016-07-02 23:37:46 -04:00
Jack Stouffer
3be598effc Fixed local imports in std.bitmanip 2016-06-30 17:54:13 -04: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
501de1d59f add missing comma to authors of std.bitmanip 2016-06-14 04:31:23 +02:00
Sebastian Wilzbach
ca098c57d2 manual allman brace fixup 2016-05-31 13:07:53 +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
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Jack Stouffer
caba6dab6d Fixed long lines in std/bitmanip.d 2016-05-10 20:51:39 -04:00
Jonathan M Davis
43227b12c4 Move some deprecations along. 2016-05-05 12:44:06 +02:00
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