Commit graph

4508 commits

Author SHA1 Message Date
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
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
Hackerpilot
0c706b1560 Use @monarchdodra's suggestion to replace ; with {} 2013-07-15 10:10:51 -07:00
Tomoya Tanjo
b92432cb7a Fix Issue 10647 2013-07-15 23:08:38 +09:00
Robert burner Schadek
a66e5f8c29 bugfix for 10472
and some whitespace to follow code guidelines

unified lastIndexOf(string,dchar)

bugfix for 10472

and some whitespace to follow code guidelines

whitespace again

git is good, Im with stupid

forgot one to!dchar
2013-07-15 14:29:33 +02:00
Hara Kenji
50c7b20959 Merge pull request #1398 from monarchdodra/mapSlice
Better slicing for map
2013-07-15 05:24:06 -07:00
Hara Kenji
9b78a6f5e7 Merge pull request #1377 from jmdavis/10474
Fix for issue# 10474 -  takeExactly fails to propagate all relevant attributes
2013-07-15 05:05:26 -07:00
Hara Kenji
3095e8904a Merge pull request #1401 from tom-tan/fix_generateLogger
Fix Issue 10570 - Example of `how` function for AutoImplement should work for non-abstract class
2013-07-15 05:04:56 -07:00
Hackerpilot
27aa2c8a44 Don't move labeles while tired 2013-07-15 00:42:31 +00:00
Jonathan M Davis
ac6a6d8bc5 Merge pull request #1407 from monarchdodra/DirEntry
Fix DirEntry string construction and CopyContruction
2013-07-14 01:56:08 -07:00
unknown
af2f388569 Fix typo in xformat doc 2013-07-14 10:46:28 +02:00
monarch dodra
f7b417192a Fix Issue 10621 - dirEntry is (now) useless 2013-07-14 10:46:28 +02:00
Hackerpilot
9ecbfa6bc7 Reverted implicit string concatienation changes 2013-07-13 19:42:50 +00:00
Hackerpilot
230a655850 More empty declarations 2013-07-13 19:38:36 +00:00
Hackerpilot
6f9c22bfa9 Merge remote-tracking branch 'upstream/master' 2013-07-13 19:37:11 +00:00
Hackerpilot
ae1dcaa3e1 Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace 2013-07-13 19:34:37 +00:00
Andrei Alexandrescu
0478579e89 Merge pull request #1406 from 9rnsr/remove9578wa
Remove bug 9578 workaround
2013-07-13 08:57:41 -07:00
Andrei Alexandrescu
b2d2372438 Merge pull request #1408 from ntrel/byLine-doc
Improve byLine doc
2013-07-12 10:18:06 -07:00
Nick Treleaven
6824abda7f s/forward range/input range/ plus minor fixes 2013-07-12 17:49:32 +01:00
monarch dodra
c9f91c21e7 Fixing some un-necessary calls to text. Fix comment. 2013-07-12 14:18:48 +02:00
Andrei Alexandrescu
cea5bd77f7 Merge pull request #1385 from blackwhale/named-regex
Added namedGroups property to Regex struct.
2013-07-11 22:42:05 -07:00
monarch dodra
c140217d25 Fix Issue 10607 - DirEntry has no constructor
http://d.puremagic.com/issues/show_bug.cgi?id=10607

Fixes:
auto a = DirEntry("path"); //Correctly works

Simplified code a little bit (Axed _init)

Improved FileException usage
2013-07-11 19:12:03 +02:00
Nick Treleaven
1a2eaf8d09 Make byLine return an opaque type
File.ByLine is still visible for backwards compatibility, but no longer
documented.
2013-07-11 16:09:47 +01:00
Walter Bright
c85bb0fb83 Merge pull request #1405 from 9rnsr/fix10567
Add workaround to fix issue 10567
2013-07-11 01:03:19 -07:00
Nick Treleaven
a12ecdfaab Improve byLine doc
Move byLine examples from ByLine to byLine.
Fix LinesReader typo.
Explain that lines will not persist when using a mutable type for Char.
Document parameters.
2013-07-10 16:36:40 +01:00
k-hara
05538fe8fc Remove bug 9578 workaround
Because the compiler bug was fixed recently.

---
Revert "Merge pull request #1178 from denis-sh/add-Issue-9578-workaround-to-`std.algorithm.all`"

This reverts commit 8dbfc1a738, reversing
changes made to 93c724f2a3.
2013-07-10 19:54:43 +09:00
k-hara
206d6f7fe9 Add workaround to fix issue 10567
Currently VariantN does not support const objects comparison. So just add specialized opCmp member and use cast().
2013-07-10 01:33:21 +09:00
Joseph Rushton Wakeling
f323100217 Make Xorshift bit-related error messages more informative. 2013-07-09 10:48:06 +02:00
Joseph Rushton Wakeling
b03552d9ac Double safety check for Xorshift bit values. 2013-07-09 09:51:41 +02:00
Joseph Rushton Wakeling
c29e261268 Correct typo in Xorshift160 which was leading to non-uniform behaviour.
The original typo derives directly from George Marsaglia's paper
introducing the Xorshift RNGs.  The original checking values, derived
from that code, thus also reflect the typo.

A corrected version of the reference code is available from
https://github.com/WebDrake/xorshift/ and has been used to
generate the updated checking values.
2013-07-08 22:45:31 +02:00