k-hara
cb122aeea8
Cleanup ddoc
2011-10-02 18:43:48 +09:00
k-hara
baaae771e6
Change to use *W functions
2011-10-02 18:43:48 +09:00
k-hara
adbb5a58eb
Change private function names more generic.
2011-10-02 18:43:47 +09:00
k-hara
a50c08acae
Add file and line in Win32Exception and RegistryException
2011-10-02 18:43:47 +09:00
jmdavis
bf852fb575
Attempt to fix circular dependency on Mac OS X.
2011-10-01 21:44:31 -07:00
jmdavis
429f5b4155
Disabled some locale-dependent tests in std.datetime.
2011-09-30 23:59:05 -07:00
Jonathan M Davis
9b411851ba
Merge pull request #278 from Abscissa/splitLinesKeepTerm
...
Add optional KeepTerminator param to splitLines.
2011-09-29 21:49:16 -07:00
k-hara
8d97eb3b21
Add std.random import for debug.
2011-09-29 07:29:19 +09:00
k-hara
78a2d8abdc
Reduce module dependencies.
2011-09-29 07:09:16 +09:00
Abscissa
e63a66cd13
Kill some trailing whitespace.
2011-09-28 05:56:22 -04:00
Abscissa
085f1fd3de
splitLines cleanup suggestions.
2011-09-28 05:43:41 -04:00
Abscissa
bb8ff27256
std.stdio.File.KeepTerminator and std.string.KeepTerminator should be the same type.
2011-09-27 14:00:39 -04:00
Abscissa
62cc5e9c87
Add optional KeepTerminator param to splitLines.
2011-09-27 13:53:26 -04:00
jmdavis
5a3739f92d
Made std.utf use enforce and enforceEx where applicable.
2011-09-26 22:40:22 -07:00
jmdavis
ea2da771d0
Applied some of the suggestions from the review comments.
2011-09-26 22:18:18 -07:00
jmdavis
b9b8337ccd
Renamed UtfException to UTFException to match other uses of UTF.
...
I created an alias for UtfException and scheduled it for deprecation
(with a fairly short time to deprecation given that it's a simple
renaming).
2011-09-26 22:18:18 -07:00
jmdavis
37ed7a8c25
Fixed UtfException's sequence so that it's uint[4] again.
2011-09-26 22:18:18 -07:00
jmdavis
2ecabfce51
Cleaned up std.utf.
...
The main purpose of these changes was to make as much as possible in
std.utf pure (other than toUTFx, which I'll be replacing with toUTF in a
future pull request), but I also ended up doing a fair bit of
documentation cleanup. Almost everything in std.utf is pure now though,
which should help considerably in making it possible to make
string functions pure.
2011-09-26 22:18:18 -07:00
jmdavis
824f441382
Temporarily disable test so that tests pass on FreeBSD.
2011-09-26 02:05:28 -07:00
Andrei Alexandrescu
2899a9481b
Merge pull request #257 from jmdavis/datetime
...
Fixed DST issues in std.datetime.
2011-09-24 22:01:44 -07:00
Andrei Alexandrescu
3e3f19c37b
Merge pull request #275 from 9rnsr/convover
...
Add file and line in ConvOverflowException constructor
2011-09-24 21:46:14 -07:00
Andrei Alexandrescu
cb3e372eb7
Reduced tr unittest to keep test time under control
2011-09-24 23:43:21 -05:00
k-hara
5a6c0a5a07
Change line
's types receives __LINE__ into size_t in std.exception
2011-09-24 18:26:48 +09:00
k-hara
b0ef1a5508
Add file and line in ConvOverflowException constructor
2011-09-24 12:05:26 +09:00
k-hara
9ed1d7ac3c
Add @safe and pure to enforce family.
2011-09-23 06:48:58 +09:00
k-hara
2e8f771201
Fix std.file unittest in Windows
2011-09-23 02:43:16 +09:00
Andrei Alexandrescu
2399de49d8
Merge pull request #267 from rainers/issue6634
...
Issue6634
2011-09-22 08:11:22 -07:00
Andrei Alexandrescu
e51fb3e6da
Merge pull request #270 from 9rnsr/fix6258
...
Issue 6258 - std.conv.to!real("-") fetches the front of an empty array.
2011-09-22 08:06:25 -07:00
Andrei Alexandrescu
285e87ef67
Merge pull request #273 from CyberShadow/std-file-20110922
...
std.file improvements
2011-09-22 08:05:00 -07:00
k-hara
e1a3962e5b
More descriptive unittest
2011-09-22 22:00:52 +09:00
k-hara
c64c3134da
Use else static
if instead of static if
2011-09-22 21:23:48 +09:00
k-hara
fcacf2060e
More exhaustive test cases
2011-09-22 21:21:53 +09:00
k-hara
5b81181700
Support conversions between class and interface
2011-09-22 21:21:52 +09:00
k-hara
1ef1c5cb7e
Fix wrong spelling
2011-09-22 21:21:52 +09:00
k-hara
659ce6262f
Issue 6288 - std.conv.to removes const/immutable when converting a class
2011-09-22 21:21:52 +09:00
k-hara
48a1f81166
Issue 6258 - std.conv.to!real("-") fetches the front of an empty array.
2011-09-22 21:16:30 +09:00
Vladimir Panteleev
59e4fd4842
std.file: Add (query-only) support for symlinks on Windows
...
This includes followSymlink support, which is crucial for correct
rmdirRecurse behavior.
2011-09-22 14:13:31 +03:00
Jonathan M Davis
5c5be44adc
Merge pull request #269 from 9rnsr/fix6160
...
Issue 6160 - std.conv.to: Ignore _ to match the rest of D
2011-09-22 02:37:39 -07:00
Vladimir Panteleev
c79366f287
std.file: Fix followSymlink behavior in subdirectories
2011-09-22 12:33:18 +03:00
Vladimir Panteleev
a8b1b9eba7
std.file: Add dirEntries with glob filter
2011-09-22 12:24:57 +03:00
Vladimir Panteleev
32fb75c3e2
std.file: Grammar (it's -> its)
2011-09-22 11:54:46 +03:00
Vladimir Panteleev
e180ef4caa
std.file: Fix incorrect deprecation message for "listdir" alias
2011-09-22 11:27:59 +03:00
rainers
d037f84c3c
BUG -> issue
2011-09-21 09:34:42 +02:00
rainers
9944ae1638
ad comment
2011-09-21 07:46:02 +01:00
rainers
6055e57caa
fix assert in globMatch and fnmaitch
2011-09-20 07:45:32 -07:00
k-hara
53f3776c92
Issue 6160 - std.conv.to: Ignore _ to match the rest of D
2011-09-20 21:38:02 +09:00
David Simcha
68ec117d9b
Merge pull request #252 from andralex/master
...
Added partition3 and multiSort to sort ranges by multiple keys
2011-09-19 19:41:05 -07:00
rainers
3b33f91183
add tests for issue 6634
2011-09-19 09:39:20 -07:00
jmdavis
d087bac970
Fixed DST issues in std.datetime.
...
1. I fixed some issues surrounding DST switches and added much more
thorough unit tests for testing what happens when a DST switch occurs.
2. I also added utcOffsetAt to TimeZone and utcOffset to SysTime to give
the total UTC offset at a specific time.
3. And last but not least, since the unit tests seem to no longer cause
dmd to run out of memory on Windows, std.datetime's unit tests have been
enabled on Windows.
This also fixes Bug# 6181: http://d.puremagic.com/issues/show_bug.cgi?id=6181
2011-09-17 16:51:41 -07:00
Andrei Alexandrescu
32011d18f8
Merge pull request #158 from redstar/registryclean
...
Cleanup of std.windows.registry
2011-09-17 10:03:36 -07:00