Commit graph

3362 commits

Author SHA1 Message Date
alexrp
f44bfa1bfe Make std.math compile on non-x86 by stubbing/asserting things out. 2012-07-08 00:38:50 +02:00
jmdavis
28781bfb9f Old deprecations which were not properly taken care of previously. 2012-07-07 02:03:49 -07:00
jmdavis
51824c5b18 Commented out the leap second test.
I may or may not re-add it later, but it's probably going to be broken
for a while, depending on how long it takes the various auto tester
boxes to be updated, since a new leap second was applied on 2012-06-30
right before midnight of 2012-07-01. The total is now 25, but some
machines will think that it's 24 for a while.
2012-07-07 01:32:08 -07:00
jmdavis
7514e0322a Fixed deprecations, since we had no release in June. 2012-07-06 22:15:53 -07:00
jmdavis
39c694c403 Fix some version(D_Ddoc) blocks so that they're version(StdDdoc). 2012-07-06 22:00:47 -07:00
Guillaume Chatelet
75f99e25c7 discarding variadic functions 2012-07-06 22:20:45 +02:00
Denis Shelomovskij
00c0d61403 Replace typeof(<type>.init[0]) with templates
* ArrayTarget (12)
2012-07-06 13:38:06 +04:00
Denis Shelomovskij
564dab300e Add ArrayTarget template 2012-07-06 13:31:48 +04:00
Denis Shelomovskij
ea6c9be477 Replace typeof(<type>.init[0]) with templates
* ElementEncodingType (12)
* ElementType(1)
2012-07-06 13:27:07 +04:00
Andrei Alexandrescu
7d36192797 Merge pull request #660 from jkm/master
Fix enforce in popBack
2012-07-05 09:35:55 -07:00
jkm
ccfc8b62ce Add public import for KeepTerminator
This commit creates a public import for std.string.KeepTerminator. This
way if you use e.g. byLine() you do not have to import it yourself.
2012-07-05 15:03:10 +03:00
jmdavis
cc1c2429ef Performance improvements for popFront and narrow strings. 2012-07-05 02:42:08 -07:00
jmdavis
121a69a04b Optimizations for startsWith and endsWith. 2012-07-02 21:55:07 -07:00
Revellian
61fa7c809c - Incorporate comments by andralex 2012-07-03 00:29:48 +02:00
Jens K. Mueller
3c2cbf02dd Fix wrong enforce in Zip's member popBack() 2012-07-02 14:27:48 +02:00
k-hara
9f5c180b66 Disable test for bug 8231 temporarily. 2012-07-02 14:12:03 +09:00
Andrei Alexandrescu
7c1ee23a1e Merge pull request #658 from 9rnsr/parameterTraits
Add ParameterIdentifierTuple and ParameterDefaultValueTuple.
2012-07-01 21:40:52 -07:00
Andrei Alexandrescu
190a7be000 Merge pull request #656 from 9rnsr/fix8321
Issue 8321 - std.range.put doesn't work with RefCounted output range
2012-07-01 21:32:42 -07:00
Andrei Alexandrescu
8ac3aea10b Merge pull request #651 from jpf91/std.uuid2
Add std.uuid module
2012-07-01 21:07:40 -07:00
Andrei Alexandrescu
609aefacf6 Merge pull request #642 from donc/bigint7993div
Bigint7993div
2012-07-01 19:50:17 -07:00
Andrei Alexandrescu
164afbcbe3 Merge pull request #638 from xammy/eb46d99217f2bf1e6d173964e2954248b08146d6
Several BitArray improvements
2012-07-01 19:48:48 -07:00
Andrei Alexandrescu
94cece63b5 Merge pull request #629 from donc/bigint8022div
Fix issue 8022 BigInt division bug (2)
2012-07-01 19:46:48 -07:00
Andrei Alexandrescu
9c7002b656 Merge pull request #567 from denis-sh/signals-fixes
Signals fixes
2012-07-01 19:22:16 -07:00
Andrei Alexandrescu
ae15e0ec14 Merge pull request #553 from WebDrake/master
Rewrite of RandomSample to use Jeffrey Scott Vitter's Algorithm D.
2012-07-01 19:14:52 -07:00
Andrei Alexandrescu
ec693afc67 Merge pull request #520 from NilsBossung/std.container.Array.replace
fix std.container.Array.replace
2012-07-01 19:04:54 -07:00
Jonathan M Davis
142051a12a Merge pull request #626 from jkm/master
Fix issue 7948
2012-07-01 18:27:07 -07:00
Jens K. Mueller
880edd1e6e Refactor to float literals with ending 0 2012-07-01 19:10:03 +02:00
Johannes Pfau
54658df5d8 Add std.uuid module 2012-07-01 14:44:36 +02:00
Hara Kenji
59c52b8fdd Merge pull request #657 from jmdavis/codeLength
Added codeLength which works with a full string.
2012-07-01 05:23:07 -07:00
k-hara
c8daf36623 Add ParameterIdentifierTuple and ParameterDefaultValueTuple. 2012-07-01 20:53:50 +09:00
jmdavis
d683d13e1c Added codeLength which works with a full string. 2012-06-30 22:39:13 -07:00
Hara Kenji
93d176eb6d Merge pull request #635 from ibuclaw/putAArray
Update putAArray for non-x86 architechtures.
2012-06-30 20:52:32 -07:00
Jonathan M Davis
6d95b36ceb Merge pull request #653 from dawgfoto/fasterInternalUniUT
reduce unittest runtime
2012-06-30 19:24:03 -07:00
Jonathan M Davis
6048cafc58 Merge pull request #612 from jmdavis/min
Fix for issue# 8158.
2012-06-30 19:23:08 -07:00
k-hara
abcc7e75fc Add comment for scheduled for replacement of std.string.format and sformat. 2012-07-01 06:15:55 +09:00
k-hara
2a1012a146 fix Issue 8321 - std.range.put doesn't work with RefCounted output range 2012-07-01 01:27:56 +09:00
jmdavis
6203835e5d Fix for issue# 8323.
I decided to improve the documentation for some of std.string's
functions and ended up optimizing their implementations as well (I
benchmarked the new versions against the old versions, so they should
definitely be faster). I also ran into bug# 8323, so I fixed it as well.
2012-06-30 01:12:08 -07:00
Hara Kenji
886c384ba9 Merge pull request #652 from 9rnsr/fix8310
Issue 8310 - writeln of Range of fixed size array
2012-06-27 23:57:48 -07:00
k-hara
6c781f1ecf fix Issue 8310 - writeln of Range of fixed size array 2012-06-28 15:57:17 +09:00
dawg
de237ec719 reduce unittest runtime
- use random sampling of codepoint sets
- save and print random seed for reproducibility
- add new unittest for ByCodepoint
- 12s => 4ms
2012-06-28 08:11:27 +02:00
Revellian
0cae7ca6af Added doubly-linked list (DList) to std.container 2012-06-25 21:32:51 +02:00
Revellian
64c5e3cffa Fix std.container.SList.linearRemove's TakeRange-bug (if the TakeRange starts at the
head of the SList, the whole list was removed instead of only the
specified number.)
2012-06-25 21:13:53 +02:00
jmdavis
940059bbc8 Revert "Deprecate crc32 and move it into std.hash.crc32."
This reverts commit d6c2ef0fb6.

These changes are valuable, but after further discussion, we've decided
to review how std.hash looks in general and redesign it, so getting
people to switch from crc32 to std.hash.crc32 will only mean that
they'll have to change their code _again_ once we've sorted out the
std.hash redesign, and we don't want that. So, I'm reverting these
changes for now, and they can become part of the std.hash redesign.
2012-06-25 03:06:15 -07:00
Matthias Walter
cf08b3e51a Made BitArray.toHash pure. 2012-06-25 08:34:09 +02:00
cjoan
7f66504eb5 Make it clear that std.string.chomp consumes only one delimiter, and not as many as possible. 2012-06-24 17:29:31 -03:00
Guillaume Chatelet
34e998889a Adding arity traits 2012-06-22 23:26:05 +02:00
Don Clugston
944987d4eb Merge pull request #559 from kyllingstad/std-complex-update
std.complex update: moved some functions to module level
2012-06-21 23:55:25 -07:00
Matthias Walter
e99d6cf04a Reverted change in opCmp signature. 2012-06-22 08:42:42 +02:00
Don Clugston
2ab19e80a9 8165 BigInt opAssign return value 2012-06-22 07:24:53 +02:00
Don Clugston
15c655f1b5 Fix issue 8164 BigInt from char[] too 2012-06-22 07:05:06 +02:00