Commit graph

2364 commits

Author SHA1 Message Date
Maksim Zholudev
fe1c21d04d Fix issue 6888. 2011-11-04 08:23:42 +01:00
Andrei Alexandrescu
276c84c574 Merge pull request #304 from kyllingstad/path-improvements
std.path improvements
2011-11-03 08:54:40 -07:00
shoo
b3f5e396cf Fixed issue 6887
http://d.puremagic.com/issues/show_bug.cgi?id=6887
2011-11-03 23:35:46 +09:00
Lars T. Kyllingstad
2c682cf0c1 Remove unsafe casts in std.path 2011-11-01 08:04:18 +01:00
Lars T. Kyllingstad
4c4c46b578 Revert "Change basename() to @trusted until 6169 is fixed"
This reverts commit 081113c024.
2011-11-01 07:54:00 +01:00
Lars T. Kyllingstad
081113c024 Change basename() to @trusted until 6169 is fixed 2011-10-31 17:55:42 +01:00
Andrei Alexandrescu
3d68580149 Merge pull request #294 from jmdavis/file
Adjustments to std.file.readLink for issue 6814.
2011-10-30 17:20:05 -07:00
Andrei Alexandrescu
4d8c6a1f7f Merge pull request #260 from CyberShadow/new-std-socket
std.socket cleanup
2011-10-30 17:03:41 -07:00
Andrei Alexandrescu
85c3586e9c Merge pull request #236 from 9rnsr/common_format
to!SomeString should use formatValue
2011-10-30 17:01:40 -07:00
Andrei Alexandrescu
ce1501860f Merge pull request #301 from 9rnsr/fix_typeof_super
Supplemental changes of dmd/pull/475 - Issue 6847 & 6848 - Fix special cases of typeof(super)
2011-10-30 15:23:43 -07:00
David Simcha
c62c4d0ec1 Merge pull request #308 from dawgfoto/numeric
flag findRoot delegates as scope
2011-10-30 13:46:26 -07:00
dawg
2ab1f6d304 flag findRoot delegates as scope 2011-10-30 21:42:32 +01:00
David Simcha
376361dd9e Merge pull request #306 from 9rnsr/fix5193
Issue 5193 - SList cannot have struct elements that have immutable members.
2011-10-30 13:34:27 -07:00
dawg
f37038c586 spurious variable in StopWatch.start 2011-10-30 21:19:48 +01:00
k-hara
fd3184f88a Issue 5193 - SList cannot have struct elements that have immutable members. 2011-10-28 23:20:23 +09:00
Lars T. Kyllingstad
4ddeee1712 Failing CTFE tests still fail, but for new reasons 2011-10-27 22:28:10 +02:00
Lars T. Kyllingstad
bc3db761fa std.path: more @safe, pure and nothrow annotations
There are still a few left which cannot be enabled due to compiler bugs
or other parts of Phobos not being correctly annotated, but we're
getting there. ;) The remaining ones are all clearly marked with TODO
comments.
2011-10-27 22:10:25 +02:00
Lars T. Kyllingstad
8de508a968 Apply inout to std.path
Unfortunately, I was unable to do so for dirName() due to its
first statement:

    enum currentDir = cast(C[]) ".";

The reason is that it is not possible to create an enum of an
inout type.
2011-10-27 21:47:12 +02:00
Lars T. Kyllingstad
41ee5a2cb8 Make std.traits.Unqual handle inout 2011-10-27 21:46:13 +02:00
Laurie Clark-Michalek
41c4d79a71 Fixed typo in documentation for dice function in std.random 2011-10-27 01:30:27 +02:00
k-hara
4bba7d6658 Fix for typeof(super) bug.
Related to: https://github.com/D-Programming-Language/dmd/pull/475
2011-10-25 15:07:49 +09:00
jmdavis
6fddf34157 Adjustments to std.file.readLink for issue 6814.
http://d.puremagic.com/issues/show_bug.cgi?id=6814
2011-10-23 23:34:49 -07:00
jmdavis
256976dddd Removed "scheduled for deprecation" pragmas.
The pragmas have not been as effective as we might have liked, since
they only work with templates and can't tell you where in your code you
need to make changes, and they seemed to have been more annoying to
programmers than helpful, so we're going to discontinue them. We'll
leave them in for stuff that's actually been deprecated until deprecated
has been improved enough to take a message, but we'll leave "scheduled
for deprecation" messages to the documentation and changelog.
2011-10-23 23:11:17 -07:00
Brad Roberts
364a349f07 revert removal of import.stdio, it's needed by parts of std.regex 2011-10-22 22:04:32 -07:00
jmdavis
f0af275440 Unscheduled toUTF16z for deprecation.
It's pretty clear from discussions on the newsgroup that we want to keep
toUTF16z, so it shouldn't be scheduled for deprecation anymore. That
change is part of https://github.com/D-Programming-Language/phobos/pull/279 ,
but for whatever reason that pull request hasn't been reviewed yet, let
alone merged in, and this change shouldn't need review, _and_ it should
be in before the next release, so I'm just making it and checking it in.
It's simply removing the "scheduled for deprecation" note in the
documentation and its associated pragma.
2011-10-22 15:24:39 -07:00
Andrei Alexandrescu
1d3a9d2276 Merge pull request #295 from donc/bigint6819
6819 BigInt ^^ fails for some big numbers (powers)
2011-10-20 10:57:35 -07:00
Don Clugston
1b6bb96de7 Add more comments for Biguint.pow
The memory usage calculation was complicated and deserved more explanation.
I've also rewritten it in a way which is clearer.
2011-10-20 15:13:50 +02:00
jmdavis
1d9e802a77 Updated link to TZ Database. 2011-10-19 20:25:48 -07:00
Andrei Alexandrescu
d4a9608f8a Merge pull request #297 from dsimcha/master
Make C'tor public again
2011-10-19 08:53:32 -07:00
Andrei Alexandrescu
bff5ea5cd5 Merge pull request #293 from dsimcha/makeIndex
Make makeIndex work with all integer widths.  Also, since finite random a
2011-10-19 08:53:15 -07:00
dsimcha
e7e12c0d57 Make c'tor public again 2011-10-19 09:25:57 -04:00
Jonathan M Davis
73ae774669 Merge pull request #290 from dsimcha/master
Add generator argument for RandomSample
2011-10-18 07:12:35 -07:00
Don Clugston
c0b25d0903 6819 BigInt ^^ fails for some big numbers (powers)
I've also greatly improved the comments for pow.
2011-10-18 15:00:24 +02:00
dsimcha
36a5a7373c Make makeIndex work with all integer widths. Also, since finite random access ranges are required to have a length now anyhow, use a more efficient method of filling the index range that doesn't require iterating over the range to be sorted. 2011-10-14 21:10:49 -04:00
dsimcha
8d1222b9ae Make c'tor private since people should use free functions. 2011-10-14 20:51:23 -04:00
Jonathan M Davis
f8bc59281d Merge pull request #292 from 9rnsr/fix6808
Issue 6808 - string to BigInt using std.conv.to
2011-10-13 23:33:48 -07:00
Jonathan M Davis
622cfb2b3a Merge pull request #288 from ckamm/isemailimports
Fix imports in isemail.d.
2011-10-13 23:28:53 -07:00
k-hara
b85e583ad6 Issue 6808 - string to BigInt using std.conv.to 2011-10-14 10:17:53 +09:00
Hara Kenji
e2ba3bd55a Merge pull request #268 from denis-sh/patch-6
integer `iota` is incorrect for negative `step`
2011-10-13 16:49:22 -07:00
k-hara
fef20ede25 Revert "Merge pull request #284 from 9rnsr/fix6208_on_inout"
This change will be required after finxing bug6208.

This reverts commit e669812d26, reversing
changes made to 5ffd5b34e8.
2011-10-13 12:44:45 +09:00
David Simcha
e669812d26 Merge pull request #284 from 9rnsr/fix6208_on_inout
Supplemental changes of dmd/pull/425 - Issue 6208 - Parameter storage classes are ignored in template function deducing.
2011-10-12 19:42:18 -07:00
dsimcha
2b04619816 Bug 6802: RandomSample should take a generator as an argument 2011-10-12 22:37:08 -04:00
Christian Kamm
de9eaaa3c8 Fix imports in isemail.d.
ElementType is defined in std.range.
2011-10-10 19:21:24 +02:00
Walter Bright
a83c651411 remove redundant 'you' from documentation 2011-10-08 13:13:29 -07:00
Walter Bright
11fa236f0f need fix for dmd pull 236 2011-10-07 23:37:35 -07:00
Walter Bright
27925dd666 Merge branch 'master' of github.com:D-Programming-Language/phobos 2011-10-07 23:32:49 -07:00
jmdavis
fba52fbeba Added link to "Introduction to std.datetime" to std.datetime. 2011-10-06 23:52:19 -07:00
Jonathan M Davis
11dbf95b87 Merge pull request #276 from 9rnsr/regwide
Improve std.windows.registry and fix datetime unit test
2011-10-06 23:40:07 -07:00
k-hara
469750227d Fix for issue 6695.
This fix never changes any behaviors.
2011-10-06 17:02:41 +09:00
Brad Roberts
e7961aa9b2 fix the osx std.process changes, environ shouldn't have been extern c 2011-10-04 10:58:44 -07:00