Commit graph

6034 commits

Author SHA1 Message Date
Tomoya Tanjo
ae1a24ecfb Mark std.stdio.LockingTextWriter.this, ~this and this(this) as @trusted 2014-05-31 22:31:12 +09:00
Dmitry Olshansky
c496463339 Merge pull request #2203 from monarchdodra/isSomeString
Constrain isSomeString
2014-05-31 04:10:42 -07:00
Dmitry Olshansky
66fcbadf4d Merge pull request #2053 from monarchdodra/maxTweak
Tweak min and max for yet more efficiency
2014-05-31 04:10:15 -07:00
Dmitry Olshansky
9636c31eb0 Merge pull request #2111 from AndrejMitrovic/Fix12600
Issue 12600 - Variant should support coercion to bool
2014-05-31 03:48:02 -07:00
Dmitry Olshansky
f6eefc9f67 Merge pull request #2061 from monarchdodra/DListFinal
Give DList correct reference semantics
2014-05-31 03:38:48 -07:00
Dmitry Olshansky
48afca0253 Merge pull request #2204 from jblume/issue-10948
fix Issue 10948 - BitArray.opEquals is invalid
2014-05-31 03:37:09 -07:00
Tomoya Tanjo
e7ada48604 Mark std.stdio.File.tmpfile, wrapFile and size as @safe 2014-05-31 03:35:34 +09:00
Walter Bright
dcbd56d000 Merge pull request #2210 from dymk/bignum-nothrow
Make BigInt nothrow where possible
2014-05-30 10:52:37 -07:00
Tomoya Tanjo
f6eb0ad97f Mark std.stdio.File.seek as @trusted 2014-05-30 12:07:16 +09:00
k-hara
f2d8ef6874 fix import declarations 2014-05-29 15:58:41 +09:00
Dylan Knutson
a9552611af more operators nothrow 2014-05-28 11:57:22 -07:00
Dylan Knutson
ace6a6076d Make BigInt nothrow where possible 2014-05-27 23:29:52 -07:00
Ben Grabham
b462d98887 fix Issue 7822 - lseek cast(int)offset should be lseek cast(off_t)offset 2014-05-28 01:32:59 +01:00
David Nadlinger
cdd33698a1 Merge pull request #2030 from WalterBright/add-BitBucket2
add BitBucket output range
2014-05-27 20:57:30 +02:00
Walter Bright
eceb175e03 add NullSink output range 2014-05-27 10:35:41 -07: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
jmdavis
a00adccc41 Converted more of std.datetime's examples to ddoc-ed unit tests.
The ones at the end which are removed from the docs are removed because
they're private, so there's no point in having an example in their
documentation.
2014-05-26 21:07:59 -07:00
monarch dodra
ee5e6684ea Merge pull request #2200 from jmdavis/datetime
Some cleanup of std.datetime.
2014-05-26 11:50:28 +02:00
monarchdodra
e2e3a70a62 Constrain isSomeString 2014-05-25 17:43:42 +02:00
monarch dodra
850f0e76ae Merge pull request #2201 from AndrejMitrovic/TraitsDocs
Add some missing docs to std.traits.
2014-05-25 10:42:36 +02:00
jmdavis
a5a4d98ea1 Some cleanup of std.datetime.
This is mostly some cleanup which takes advantage of some stuff like
format being pure now, but it also removes the long month name and
case-insensitive months for simple time. I don't know why it was there
(probably idiocy on my part), and it violates the format for simple time
as defined by the documentation.
2014-05-24 16:05:41 -07:00
Andrej Mitrovic
2955301d81 Add some missing docs to std.traits. 2014-05-24 22:19:48 +02:00
Dmitry Olshansky
0ae323dc6f Merge pull request #2167 from monarchdodra/pointsTo
Fix issues 9975 & 12479
2014-05-23 22:44:25 +04:00
Iain Buclaw
f67a30cdf1 Merge pull request #2199 from yebblies/valisttype
Do not make assumptions about the type of va_list (win64 edition)
2014-05-23 10:23:37 -07:00
Daniel Murphy
6782f44f71 va_list fix for win64 2014-05-23 09:03:46 -07:00
Andrej Mitrovic
7ac188b0ef Avoid double lookup in opIndex for std.json. 2014-05-23 11:50:21 +02:00
Andrej Mitrovic
8d5686aa12 Merge pull request #2186 from Yoplitein/master
std.json: throw exception if a key does not exist
2014-05-23 03:11:46 +02:00
Andrej Mitrovic
5bdf1dd447 Merge pull request #2196 from jmdavis/ascii
Some minor cleanup in std.ascii
2014-05-23 01:31:52 +02:00
jmdavis
64a8ad9cef Minor stylistic cleanup in std.ascii. 2014-05-22 16:08:27 -07:00
jmdavis
c8b472c526 Small code reduction in std.ascii.
We can have the comment only once, and it will still show up in the
docs.
2014-05-22 16:06:43 -07:00
Daniel Murphy
765ffb7a3c Merge pull request #2185 from WalterBright/fix-parse
std.conv: parse not handling some cases
2014-05-22 11:07:31 -07:00
Steven Dwy
13fbd451bc std.json: ensure objects contain keys 2014-05-22 11:05:00 -07:00
monarch dodra
61a4d7e7fa Merge pull request #2189 from jmdavis/datetime_ddoc_tests
Convert std.datetime.Datetime to use ddoc-ed unit tests.
2014-05-22 18:17:04 +02:00
monarch dodra
0b262ec918 Merge pull request #2182 from WalterBright/annotate-biguint
add annotations to biguint
2014-05-22 11:31:35 +02:00
monarch dodra
9744c9198b Merge pull request #2184 from WalterBright/annotate-stdio
std.stdio: annotate C functions
2014-05-22 10:47:36 +02:00
monarch dodra
d1dc1abb4e Merge pull request #2170 from DmitryOlshansky/issue-12747
Fix issue 12747 std.regex bug in the parser allows reference to open gro...
2014-05-22 10:36:57 +02:00
Daniel Murphy
5a6b03a974 Merge pull request #2194 from markisaa/jsonValueInOp
Issue 12784: Added an in operator to std.json.JSONValue. Tested when const/non-const
2014-05-21 18:40:51 -07:00
Mark Isaacson
f457e4781c Added an in operator to std.json.JSONValue. Tested when const/non-const 2014-05-21 17:54:58 -07:00
Daniel Murphy
24c232ecfd Merge pull request #2192 from yebblies/valisttype
Don't assume va_list is void*
2014-05-21 13:49:35 -07:00
Andrej Mitrovic
d30f75ca27 Fixup spelling mistake. 2014-05-21 22:18:07 +02:00
Daniel Murphy
76878d8c43 Don't assume va_list is void* 2014-05-21 12:19:23 -07:00
Orvid King
42172e1ca5 Moved note.md into the right directory 2014-05-21 13:55:50 -05:00
Orvid King
3b0a7280ff Added std.experimental 2014-05-21 11:48:57 -05:00
jmdavis
020c3a06bf Reformat some ddoc-ed examples so that they're not so long. 2014-05-20 04:27:10 -07:00
jmdavis
99dfa7fd15 Convert std.datetime.Datetime to use ddoc-ed unit tests. 2014-05-20 04:10:15 -07:00
jmdavis
7125352a32 Make std.datetime.Date use ddoc-ed unittests. 2014-05-19 20:02:03 -07:00
Walter Bright
231f8b664e std.conv: parse not handling some cases 2014-05-19 11:59:38 -07:00
Walter Bright
0732a612be std.stdio: annotate C functions 2014-05-19 10:35:56 -07:00
monarch dodra
dbf108b451 Merge pull request #2145 from WalterBright/nogc-complex
@nogc for std.complex
2014-05-19 15:57:52 +02:00
monarch dodra
bf45388626 Merge pull request #2181 from WalterBright/annotate-math
annotate mathspecial functions
2014-05-19 15:48:55 +02:00