Commit graph

3362 commits

Author SHA1 Message Date
Don Clugston
399e811eb3 Undo workaround for bug 7898
Undo commit 12a866f03, which was a fix for
7898 [CTFE] std.algorithm:copy fails when used with two arrays.
The workaround is unnecessary now that
8216 CTFE should allow 'pointer is inside range' comparisons
has been implemented in the compiler.
2012-07-18 07:07:36 +02:00
k-hara
07ec7ce34f fix Issue 8386 - writeln stopped working with wstring 2012-07-17 01:58:39 +09:00
Andrei Alexandrescu
534d44c979 Merge pull request #696 from alexrp/add-author
Adding myself as author to the modules I have contributed to.
2012-07-15 21:28:37 -07:00
Andrei Alexandrescu
70dcb958ea Merge pull request #661 from jmdavis/popFront
Performance improvements for popFront and narrow strings.
2012-07-15 20:35:09 -07:00
alexrp
85c1f161c0 Adding myself as author to the modules I have contributed to.
This is just me committing to maintain my code additions to
these modules. We should, in general, use these author lists
more so we know who's responsible for the various modules.
2012-07-16 05:31:09 +02:00
Andrei Alexandrescu
afdf742ddc Merge pull request #670 from jmdavis/benchmark
Attribute inferrence should solve the @safe problem for benchmark now.
2012-07-15 20:31:00 -07:00
Andrei Alexandrescu
acc8c7dc08 Merge pull request #692 from nazriel/runnable-examples
Runnable examples - std.array, std.base64, std.concurreny
2012-07-15 19:48:41 -07:00
Andrei Alexandrescu
4f8c154aef Merge pull request #693 from alexrp/std-string-table
Remove the move notice table in std.string.
2012-07-15 19:44:38 -07:00
Jonathan M Davis
8b08e96313 Merge pull request #695 from jmdavis/file
Deprecated std.file.listDir.
2012-07-15 18:20:01 -07:00
nazriel
dc408e6ff4 runnable examples - std.concurrency 2012-07-15 21:50:31 +00:00
nazriel
ec591d4d50 Runnable examples - std.base64 2012-07-15 21:26:32 +00:00
jmdavis
723d93221b Deprecated std.file.listDir. 2012-07-15 14:15:40 -07:00
alexrp
98677c4ed8 Remove the move notice table in std.string. 2012-07-15 22:32:50 +02:00
nazriel
f942906396 Runnable examples - std.array 2012-07-15 20:07:32 +00:00
Jonathan M Davis
52b5058d06 Merge pull request #685 from donc/bigint7993div
Fix issue 7973 BigInt %= long/ulong gives wrong value
2012-07-14 03:55:27 -07:00
jmdavis
b574aa170c Make Cycle const-correct.
I also had to make the dummy range stuff const-correct (since it's used
to test Cycle). I cleaned up Cycle's documentation as well.
2012-07-13 00:05:26 -07:00
Don Clugston
8af55597ac Fix typo 2012-07-12 09:21:32 +02:00
Denis Shelomovskij
64f93b970a Replace typeof(<type>.init[0]) with templates
* ElementEncodingType (12)
* ElementType(1)
2012-07-11 12:58:40 -07:00
jmdavis
02931eb501 Revert "Merge pull request #664 from denis-sh/add-ArrayTarget-template"
This reverts commit f4d0a49493, reversing
changes made to 3cb69914c5.

The merging of request #664 was accidental, and it should not have been
merged. See https://github.com/D-Programming-Language/phobos/pull/664
for details.
2012-07-11 11:49:28 -07:00
Brad Anderson
35c88bd7c3 Fix a link to TickDuration in std.datetime docs 2012-07-11 11:24:15 -06:00
Jonathan M Davis
35b4f1e0dc Merge pull request #681 from dawgfoto/fasterStride
Faster stride
2012-07-11 09:54:18 -07:00
Don Clugston
5e7b33383a Fix issue 7973 BigInt %= long/ulong gives wrong value
Previous fix only worked for const; this fixes immutable too.
2012-07-11 18:14:17 +02:00
jmdavis
8881a31541 Workaround for bug# 4789 removed.
The "workaround" for bug# 4789 was correct, because it _is_ illegal to
assign overlapping arrays, which assigning a static array to itself
does.
2012-07-11 01:36:58 -07:00
jmdavis
830f3b05a8 Removed tabs and trailing whitespace. 2012-07-10 23:27:21 -07:00
dawg
5b7033aef2 make stride trusted
- no bounds check in release mode
2012-07-11 06:08:05 +02:00
dawg
6baf866a95 use faster pass by ref for l-values 2012-07-11 06:07:13 +02:00
Andrei Alexandrescu
408496e160 Merge pull request #680 from 9rnsr/strict_const
Add const attribute more strictly
2012-07-10 11:18:46 -07:00
k-hara
d6ffbd1328 Add const attribute more strictly 2012-07-11 01:02:59 +09:00
dawg
01e4ee175a bsr can always be provided by core.bitop 2012-07-10 10:25:22 +02:00
Andrei Alexandrescu
9efd0ed4a4 Merge pull request #643 from gchatelet/traits_arity
Adding arity traits
2012-07-09 12:28:35 -07:00
Guillaume Chatelet
2271113a55 changing uint to size_t 2012-07-09 21:14:55 +02:00
alexrp
b31fe94548 Fix std.container build. 2012-07-09 06:04:00 +02:00
Andrei Alexandrescu
9382fe0891 Merge pull request #673 from darkstalker/master
fix for "some std.json improvements"
2012-07-08 20:56:44 -07:00
darkstalker
813dadfb47 fix for "some std.json improvements"
missing check for negative value
2012-07-08 23:51:18 -04:00
alexrp
a4220e3d79 An attempt to fix std.format build. 2012-07-09 05:48:48 +02:00
Andrei Alexandrescu
8c747b0aba Merge pull request #655 from jmdavis/string
Fix for issue# 8323.
2012-07-08 20:16:36 -07:00
Andrei Alexandrescu
e0757c5ded Merge pull request #650 from revellian/master
Fix std.container.SList.linearRemove's TakeRange-bug
2012-07-08 20:07:39 -07:00
Andrei Alexandrescu
865c7a6f9d Merge pull request #561 from darkstalker/master
some std.json improvements
2012-07-08 20:01:44 -07:00
Andrei Alexandrescu
99671b31ba Merge pull request #262 from 9rnsr/constApply
Supplemental changes of druntime/pull/72 - Issue 1824 - Object not const correct
2012-07-08 19:55:43 -07:00
Andrei Alexandrescu
5fa37c1ae4 Merge pull request #671 from alexrp/errno
Use errno property instead of setErrno in std.path.
2012-07-08 19:37:31 -07:00
alexrp
d27198beed Use errno property instead of setErrno in std.path. 2012-07-09 04:35:56 +02:00
Andrei Alexandrescu
0b4df6a57b Merge pull request #669 from alexrp/errno
Use errno instead of getErrno in Phobos.
2012-07-08 18:31:55 -07:00
jmdavis
c332a1c3f1 Attribute inferrence should solve the @safe problem for benchmark now. 2012-07-08 17:50:39 -07:00
alexrp
adcac57526 Use errno instead of getErrno in Phobos. 2012-07-09 01:26:02 +02:00
k-hara
9d1809206f Fix for const Object comparison 2012-07-09 07:38:48 +09:00
David Simcha
f4d0a49493 Merge pull request #664 from denis-sh/add-ArrayTarget-template
Add array target template
2012-07-08 13:08:27 -07:00
David Simcha
3cb69914c5 Merge pull request #665 from jmdavis/deprecations
Old deprecations which were not properly taken care of previously.
2012-07-08 12:26:22 -07:00
Don Clugston
03927df872 Merge pull request #667 from alexrp/std-math-exp
std.math.exp() should be @trusted because it can fall back to core.stdc.math.exp().
2012-07-08 00:17:38 -07:00
Don Clugston
4ce5d04376 Merge pull request #666 from alexrp/std-math-ieee
Make std.math compile on non-x86 by stubbing/asserting things out.
2012-07-08 00:08:22 -07:00
alexrp
3e2a071f79 std.math.exp() should be @trusted because it can fall back to core.stdc.math.exp(). 2012-07-08 03:48:20 +02:00