jmdavis
e169f5dfae
Fix for issue# 8362.
...
"std.traits.isSafe doesn't work with unsafe lamdba functions"
2012-07-27 13:06:58 -07:00
jmdavis
d283d5735c
Move August removals to September.
...
Several deprecated items were listed for removal in August, but it's
looking likely that 2.060 will come out in August, and I'd prefer not to
have them removed for 2.060 given how many items are already in the
changelog, and they're already deprecated, so it'll only affect people
compiling with -d either way. So, I'm changing the ddoc comments to say
September instead of August. They'll be removed in 2.061.
2012-07-23 23:11:07 -07:00
Ellery Newcomer
6e81ceb1b4
moveBack moves back, not front
2012-07-23 16:43:35 -07:00
k-hara
4c4c35c922
Revert "Merge pull request #707 from eco/real-lambdas"
...
Because of the auto-tester breaking.
This reverts commit d5319fcfb6
, reversing
changes made to 5313288dd1
.
2012-07-23 14:25:38 +09:00
Andrei Alexandrescu
9d91e1de2f
Merge pull request #702 from 9rnsr/rev_const
...
Minimal reverting of Issue 1824 - Object not const correct
2012-07-22 21:47:09 -07:00
Andrei Alexandrescu
d5319fcfb6
Merge pull request #707 from eco/real-lambdas
...
Switch std.algorithm/.range to lambda syntax
2012-07-22 21:10:12 -07:00
Andrei Alexandrescu
5313288dd1
Merge pull request #704 from ibuclaw/issue8191
...
Fix cstream.printf() on x86_64.
2012-07-22 21:07:15 -07:00
Andrei Alexandrescu
812077114c
Merge pull request #686 from jmdavis/cycle
...
Make Cycle const-correct.
2012-07-22 20:12:41 -07:00
Andrei Alexandrescu
92335506d3
Merge pull request #654 from dawgfoto/fix8314
...
fix issue 8314
2012-07-22 19:50:22 -07:00
jmdavis
c290caf71f
Quick fix to example in std.datetime.
2012-07-22 14:14:02 -07:00
jmdavis
ed22f41ec2
Fix for issue# 8398.
2012-07-22 00:40:25 -07:00
k-hara
9940579f73
Minimal reverting of Issue 1824 - Object not const correct
2012-07-22 15:21:51 +09:00
jmdavis
6c289a8969
Fix unnecessary template bloat in enforce.
...
The version of enforce which takes the file and line number as template
arguments has been scheduled for deprecation and has been replaced with
one which takes them as function arguments. The only code that this will
effect is code which explicitly passes the file or line number to
enforce.
2012-07-21 20:00:36 -07:00
Brad Anderson
32eb03a983
Switch std.algorithm/.range to lambda syntax
...
String lambdas are, of course, still supported.
2012-07-21 13:50:26 -06:00
Hara Kenji
17ba4bb594
Merge pull request #708 from jmdavis/6277
...
Changes required for issue# 6277.
2012-07-21 03:17:21 -07:00
jmdavis
735c2adbda
Changes required for issue# 6277.
2012-07-21 01:57:28 -07:00
Hara Kenji
edcb304618
Merge pull request #706 from mylodon/container_slice_gaff
...
c[a, b] should be c[a .. b]
2012-07-20 21:51:58 -07:00
Ellery Newcomer
5d7148bf31
c[a, b] -> opIndex but we want call to go to opSlice
2012-07-20 16:26:03 -07:00
Martin Nowak
aa896e08cc
set random generator in constructor
...
- Bug 8314 was already fixed by adding a _first flag
2012-07-20 16:34:49 +02:00
Iain Buclaw
acf76f2a4f
Add unittest to TArrayStream to test printf does not SEGV
2012-07-19 18:27:44 +01:00
Iain Buclaw
7688e08b03
Fix cstream.printf() on x86_64.
2012-07-19 12:56:07 +01:00
Don Clugston
9881071c9d
Fix example in BigInt docs
...
The example didn't compile.
2012-07-19 10:55:44 +02:00
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
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