Commit graph

4544 commits

Author SHA1 Message Date
Tomoya Tanjo
7b5730478d Make a unittest for std.conv.toImple for char* to string conversion system 2013-08-04 00:23:03 +09: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
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
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
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
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
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
jmdavis
668087adb7 Fix for issue# 10680.
unsigned was moved to std.conv (with a deprecated alias left in
std.traits), but std.bigint was not updated accordingly. This fixes
that.
2013-07-20 11:48:25 -07:00
Rainer Schuetze
1bd22b2e8b Merge pull request #1423 from WalterBright/fix10644
fix Issue 10644 - Win64: wrong code when passing arguments through ...
2013-07-19 23:22:53 -07:00
Andrei Alexandrescu
73c8b59bb5 Merge pull request #1412 from Hackerpilot/master
Code cleanup
2013-07-19 15:37:56 -07:00
Walter Bright
e16b2c81e5 fix Issue 10644 - Win64: wrong code when passing arguments through ... 2013-07-19 14:17:32 -07:00
H. S. Teoh
f071054f17 Fix wrong example in cheatsheet for filter(). 2013-07-19 08:10:01 -07:00
Andrei Alexandrescu
33913dbc54 Merge pull request #1420 from Kozzi11/digest
Add possibility to set letter case in toHexString helper function
2013-07-18 08:28:31 -07:00
Kozzi11
d3922ea6ab Add possibility to set letter case in toHexString helper function 2013-07-18 13:23:04 +02:00
Martin Nowak
f7dc61cb62 missing throw 2013-07-17 19:37:52 +02:00
Tomoya Tanjo
003798dec6 Add unittest 2013-07-17 21:19:32 +09:00
Tomoya Tanjo
30a67009e2 Merge branch 'master' into issue10647 2013-07-17 21:03:45 +09:00
k-hara
edcd51104d Make std.string module CTFEable 2013-07-17 10:09:03 +09:00
k-hara
74b29c478e [trivial] unittest code clean up 2013-07-17 10:06:06 +09:00
k-hara
2c5f454519 [trivial] Use ddoc unittest 2013-07-17 10:06:03 +09:00
k-hara
628c59bffd [trivial] fix code style 2013-07-17 10:06:01 +09:00
Martin Nowak
4bafa5735f fix Issue 10078 - std.string.indexOf fails at compile time 2013-07-16 21:05:06 +02:00
Andrei Alexandrescu
f423905c5b Merge pull request #1374 from burner/10472
bugfix for 10472 - lastIndexOf(string, string) does not find single character string at beginning of string
2013-07-15 23:29:25 -07:00
Andrej Mitrovic
443b54e30b Merge pull request #1362 from WebDrake/randomshuffle
Fix Issue 9607 - std.random.randomShuffle() and partialShuffle() don't work with Xorshift.
2013-07-15 15:16:04 -07:00
Hackerpilot
07a2e8e3ad Reverted some changes made to the math module 2013-07-15 10:20:26 -07:00
Hackerpilot
adc44adafd Revert "Use @monarchdodra's suggestion to replace ; with {}"
This reverts commit 0c706b1560.
2013-07-15 10:11:20 -07:00