Commit graph

5569 commits

Author SHA1 Message Date
monarch dodra
3d7e9b5d21 Merge pull request #1394 from 9rnsr/enforceProp
Supplemental change for dmd/pull/2305
2013-08-05 10:41:17 -07:00
monarch dodra
1086f29554 Merge pull request #1296 from M-frankied/readln-nonbmp
fix Issue 10125 Unicode non-BMP decoding to dchar in stdio readln

Merged.
2013-08-04 23:59:36 -07:00
Lars T. Kyllingstad
d0c56dfe38 Allow non-immutable input strings in std.process
`string` has been replaced by `in char[]` or similar where possible.
2013-08-04 14:23:13 +02:00
Tomoya Tanjo
fc3414d18f Fix for array.array 2013-08-04 12:16:19 +09:00
Tomoya Tanjo
7b5730478d Make a unittest for std.conv.toImple for char* to string conversion system 2013-08-04 00:23:03 +09:00
Tomoya Tanjo
f4002a5a63 Fix array.array 2013-08-03 22:21:37 +09:00
Tomoya Tanjo
9760ee864a Fix unittests 2013-08-03 20:43:10 +09:00
Tomoya Tanjo
b059f51751 Update unittests 2013-08-03 20:16:46 +09:00
Tomoya Tanjo
f6b41a55eb Fix array to make it surely safe for some cases 2013-08-03 20:03:01 +09:00
Nick Treleaven
6c1aa8d1cc Improve byChunk, lockingTextWriter doc
Make byChunk, lockingTextWriter return opaque types (but keep those
types public for backward compatibility).
Add byChunk range example.
Also document that ByLine's primitives can throw StdioException.
2013-08-02 17:48:38 +01:00
monarch dodra
f7a593fe9c Merge pull request #1436 from jmdavis/10717
Fix issue# 10717.

Merged.
2013-08-02 01:49:49 -07:00
monarch dodra
07c3c84555 Merge pull request #1446 from tom-tan/add-conv-toImpl-comment
Add document for memory safety of toImpl for char* to string conversion.

Merged.
2013-08-01 10:35:13 -07:00
Tomoya Tanjo
323e736062 Add document for memory safety of std.conv.toImpl for char* to string conversion 2013-08-01 21:29:16 +09:00
Lars T. Kyllingstad
58cbee5ec7 More improvements to buildPath()
Re: @monarchdodra's review
2013-08-01 08:22:48 +02:00
Jonathan M Davis
87a2ee7f4d Merge pull request #1443 from 9rnsr/CTFEablePhobos
Make std.utf module CTFEable
2013-07-31 17:15:39 -07:00
Lars T. Kyllingstad
d6ce714d20 Pre-allocate 255 bytes, not 256, in buildPath()
...as recommended by @monarchdodra.
2013-07-31 19:42:59 +02:00
Lars T. Kyllingstad
3e2574a001 Minor buildPath DDOC style issue 2013-07-31 19:09:46 +02:00
Lars T. Kyllingstad
23a1fe9ae0 Added unittests for issue 10348 2013-07-31 19:04:11 +02:00
Lars T. Kyllingstad
e78e55558d Minor buildPath() style issues 2013-07-31 18:15:07 +02:00
k-hara
6b75278389 Make std.utf module CTFEable 2013-07-31 19:24:21 +09:00
k-hara
5490f90f06 [trivial] unittest code clean up 2013-07-31 19:24:20 +09:00
k-hara
f04efad55a [trivial] Use ddoc unittest 2013-07-31 19:24:20 +09:00
k-hara
be7e1b0cee [trivial] fix code style 2013-07-31 19:23:53 +09:00
k-hara
a5ee921f7d fix Issue 10732 - Example code for std.utf.toUTFindex does not work 2013-07-31 19:23:43 +09:00
Lars T. Kyllingstad
b6757581d3 Added range version of std.path.buildPath() 2013-07-30 20:50:00 +02:00
Andrej Mitrovic
dcd065e2e5 Merge pull request #1162 from andralex/5224
Fix Issue 5224 - std.algorithm.remove!(SwapStrategy.unstable) doesn't work
2013-07-30 05:50:27 -07:00
Lars T. Kyllingstad
f2bd29cb97 Merge pull request #1409 from quickfur/issue10601
Fix issue 10601.
2013-07-29 08:30:53 -07:00
Jonathan M Davis
46419713a1 Merge pull request #1438 from kyllingstad/kill-warning
Fix Issue 10216 - Bad warning in std.process.kill
2013-07-28 14:45:56 -07:00
jmdavis
28c1a8480a Fix issue# 10717.
This makes it so that if you're operating on chars or wchars with
std.ascii functions, you don't have to cast the return values back to
char or wchar, but it still allows you to operate on dchars without
mangling any Unicode values.
2013-07-28 14:37:30 -07:00
H. S. Teoh
5685e9a862 Simplify unittest. 2013-07-28 13:13:04 -07:00
H. S. Teoh
e43433f566 Fix issue 10601.
If extension is empty, std.path.setExtension should be equivalent to
std.path.stripExtension. This special case is useful in generic code
that needs to alternate between, e.g., .exe on Windows and no executable
extension on Posix.
2013-07-28 13:13:04 -07:00
Lars T. Kyllingstad
690bb868ed Fix Issue 10216 - Bad warning in std.process.kill 2013-07-28 17:28:04 +02:00
monarch dodra
1d2b780268 Merge pull request #1435 from CyberShadow/std-process-rangeerror
std.process: Remove incorrect usage of file RangeError ctor parameter
2013-07-27 14:08:26 -07:00
Vladimir Panteleev
b30c347f50 std.process: Remove incorrect usage of file RangeError ctor parameter
The code attempted to construct a RangeError object with a
"Command line is empty" string as the first parameter. However,
the first parameter specifies the source file (and defaults to
__FILE__), not the reason (which is always "Range violation").
2013-07-26 23:46:15 +00:00
monarch dodra
c5008f2c6f Merge pull request #1431 from tom-tan/fix-array-sameHead-and-sameTail
Fix the arguments of sameTail and make sameHead and sameTail @safe

Merged.
2013-07-26 08:22:31 -07:00
monarch dodra
ffe080e908 Merge pull request #1428 from 9rnsr/fix10686
[REG2.064a] Issue 10686 - No [] operator overload for immutable Tuple

MERGED.
2013-07-25 01:04:22 -07:00
Tomoya Tanjo
1f016bbcc0 Some fixes according to the comments by @ monarchdodra 2013-07-23 23:37:14 +09:00
Hara Kenji
fc12f98267 Merge pull request #1402 from quickfur/bigint_hash
Fix issues 8435, 10118.
2013-07-22 17:44:24 -07:00
Hara Kenji
8c2f4c512f Merge pull request #1378 from yazd/fix9967
Fix for issue #9967 - ParameterIdentifierTuple broken for setters
2013-07-22 17:34:28 -07:00
Andrej Mitrovic
e7f4f715d6 Merge pull request #1429 from Kozzi11/toWithLetterCase
Add LetterCase to to!
2013-07-22 13:40:27 -07:00
Jonathan M Davis
3a154382c0 Merge pull request #1432 from dawgfoto/fixup1407
add missing constructor declarations for -version=StdDdoc
2013-07-22 10:15:04 -07:00
Martin Nowak
f6daed7e8c add missing constructor declarations for -version=StdDdoc 2013-07-22 16:17:50 +02:00
Kozzi11
923b79998f Add LetterCase to to! 2013-07-22 15:29:34 +02:00
Tomoya Tanjo
c5218dd33b Fix the arguments of sameTail and make sameHead and sameTail @safe 2013-07-22 21:48:35 +09:00
Yazan S. Dabain
735d0e33c8 Fixes issue #9967 - ParameterIdentifierTuple broken for setters 2013-07-22 09:19:22 +03:00
Hara Kenji
e9e43e09ed Merge pull request #1422 from quickfur/filter_docs
Fix issue 10660.
2013-07-21 05:44:49 -07:00
Hara Kenji
a10b66143c Merge pull request #1424 from dawgfoto/versionWindows
add version (Windows): too all windows only sources
2013-07-21 05:42:30 -07:00
Hara Kenji
4e9063b959 Merge pull request #1427 from jmdavis/10680
Fix for issue# 10680.
2013-07-21 05:40:07 -07:00
k-hara
d61085c375 fix Issue 10686 - No [] operator overload for immutable Tuple 2013-07-21 21:22:16 +09:00
Martin Nowak
54e91f266c add version (Windows): too all windows only sources 2013-07-21 03:34:56 +02:00