Andrei Alexandrescu
31111228e5
Typos - thanks Paul D. Anderson
2012-03-17 11:37:22 -05:00
David Simcha
8ed20feaf7
Merge pull request #481 from blackwhale/regex-fix-parser
...
fix unreported bug in std.regex parser
2012-03-15 19:13:48 -07:00
Dmitry Olshansky
9ce1020904
fix Issue 7679 - std.regex.split and splitter don't work w/ ctRegex
2012-03-15 12:20:57 +04:00
Walter Bright
7cecf0090f
Merge pull request #493 from donc/bug6681
...
Supplemental change required by regression bug 6681
2012-03-14 20:15:48 -07:00
David Simcha
17079d8913
Merge pull request #494 from jmdavis/toUTFz
...
Changed toUTF16z to use toUTFz
2012-03-14 18:55:58 -07:00
David Simcha
6d782c6efd
Merge pull request #491 from blackwhale/issue-1772
...
fix Issue 1772 - regexp.split behavior with captures needs to be documen...
2012-03-14 18:45:52 -07:00
jmdavis
69a221b9ee
Changed toUTFz to use an outer template.
...
It's easier to define aliases this way. I created two templates though
so that you can still pass both template arguments if you want to, and
it'll avoid breaking any code.
2012-03-14 00:28:48 -07:00
jmdavis
a58e19bc27
Change toUTF16z to use toUTFz.
2012-03-13 21:54:16 -07:00
Don Clugston
94b7a1a3c7
Supplemental change required by 6681
...
A unittest in std.format has been relying on a CTFE bug.
Setting one field of a union, and then reading from another, is not
currently supported in CTFE.
2012-03-12 18:53:59 +01:00
Dmitry Olshansky
62b464b48d
fix Issue 1772 - regexp.split behavior with captures needs to be documented
...
A documentation clarification, the report itself is largely outdated.
2012-03-12 14:26:51 +04:00
Johannes Pfau
00f2470eed
Need to check ret != -1, not ret == 0
...
See http://linux.die.net/man/3/pclose
2012-03-11 11:56:51 +01:00
Walter Bright
17fd52dc00
make it pure, etc.
2012-03-11 00:36:49 -08:00
Damian Ziemba
067088b278
Allow use of UnixAddress on Unix-like platforms.
...
In current state static if check fails even if platform is
Linux, FreeBSD etc. As we noticed with CyberShadow the check for
struct existance should have form of is(StructName).
2012-03-09 16:34:15 +01:00
jmdavis
a27e872f2c
Disable Chile test.
...
It looks like testing America/Santiago just isn't going to work, since
it's failing on FreeBSD. Bleh. Getting a timezone to test in South
America which actually has DST and works on all OSes is a pain (and
seemingly impossible at the moment). All of the other Chile tests were
disabled anyway.
2012-03-08 23:10:40 -08:00
jmdavis
cbda4a0c57
Quick fix for a timezone change.
...
Chile is screwing with its DST again, and I made the mistake
of leaving one of the tests using a 2012 date instead of a 2011
date (since 2011 has already happened whereas 2012 is still subject
to change).
2012-03-08 22:52:06 -08:00
Vladimir Panteleev
7d493bdfe6
std.regex: Fix unicode.org link in DDoc
2012-03-08 22:51:06 -08:00
dsimcha
7b62989568
Get rid of Bug 2443 workaround in InputRangeObject.
2012-03-08 22:51:06 -08:00
k-hara
5a29b03e28
Rename: ProxyOf to Proxy, and TypeDef to Typedef.
2012-03-08 22:51:06 -08:00
k-hara
a0dbea1d2c
Remove workaround for issue 5525
2012-03-08 22:51:05 -08:00
k-hara
8751299b79
Add test for indexing/slicing operator overloading.
2012-03-08 22:51:05 -08:00
David Herberth
1c1e5887b2
added tests for bug 7628
2012-03-08 22:51:05 -08:00
David Herberth
7e92b35efa
fixed formatValue conflict
2012-03-08 22:51:05 -08:00
Daniel Kolesa
d2388cd39a
Fix a bug with shadowing declaration in std.concurrency.
2012-03-08 22:51:05 -08:00
dawg
e782771008
code review changes
2012-03-08 22:51:05 -08:00
dawg
8599d6b4ac
optimize std.utf.stride
...
- templatize functions so that short paths can be inlined
- replace table lookup with bit scan
2012-03-08 22:51:05 -08:00
k-hara
dd89d37fd2
Eliminate code duplication
2012-03-08 22:51:05 -08:00
David Herberth
346871df2c
std.stream.EndianStream readStringW fix
2012-03-08 22:51:05 -08:00
k-hara
12571977d8
fix Issue 6892 - Formatted write with specified length of enum member
2012-03-08 22:51:04 -08:00
dawg
627c48f00c
fix documented precondition of moveAll
2012-03-08 22:51:04 -08:00
dawg
f72c840be8
allow to construct scoped with qualified classes
2012-03-08 22:51:04 -08:00
dawg
8240295df1
use inout for accessing Scoped's payload
2012-03-08 22:51:04 -08:00
dawg
74e7a6536c
scoped allows to bypass class constructor
2012-03-08 22:51:04 -08:00
Vladimir Panteleev
635400bcec
std.socket: Improve parseAddress example
...
Make it clear that parseAddress can be used to validate IP addresses,
and fix incorrect toHostNameString usage (it returns null when the
reverse was not found, and not throw an exception).
http://stackoverflow.com/q/9403297/21501
2012-03-08 22:51:04 -08:00
Vladimir Panteleev
bd913cc535
std.socket: SocketSet.max should be a @property
2012-03-08 22:51:04 -08:00
Vladimir Panteleev
3443cc8670
std.socket: Explicitly mark body-less methods in abstract class as abstract
...
I recall someone was having linker errors while trying to subclass
Address. This chance turns it into a compiler error.
2012-03-08 22:51:04 -08:00
k-hara
7331e0388b
Reduce code redundancy in ProxyOf
2012-03-08 22:51:03 -08:00
k-hara
50d80bf9bc
Apply review result to TypeDef
...
- Add third template parameter 'cookie'.
- Rename internal payload variable.
2012-03-08 22:51:03 -08:00
k-hara
eee42e3978
Add TypeDef
2012-03-08 22:51:03 -08:00
k-hara
8f80d6a6fe
Add ProxyOf
2012-03-08 22:51:03 -08:00
Dmitry Olshansky
9d91c1e7fb
fix unreported bug in std.regex parser
...
lookaround opcodes have size > 1, that was not accounted for in IR generation for naked | option.
2012-03-06 19:56:06 +04:00
Andrei Alexandrescu
b5256c57f6
Merge pull request #465 from 9rnsr/fix6892
...
Issue 6892 - Formatted write with specified length of enum member
2012-03-01 09:20:20 -08:00
k-hara
723a57e2c5
Eliminate code duplication
2012-03-01 10:44:38 +09:00
David Herberth
afa00e0564
std.stream.EndianStream readStringW fix
2012-02-29 15:31:07 +01:00
k-hara
4749a8d96d
fix Issue 6892 - Formatted write with specified length of enum member
2012-02-29 10:09:46 +09:00
Andrei Alexandrescu
c9175dc687
Merge pull request #464 from dawgfoto/moveAllDoc
...
fix documented precondition of moveAll
2012-02-26 22:37:27 -08:00
dawg
a34c7e0699
fix documented precondition of moveAll
2012-02-27 06:33:02 +01:00
Andrei Alexandrescu
2ac9d1e319
Merge pull request #459 from quickfur/docfix_stdio
...
Improve documentation in std.stdio
2012-02-25 12:06:05 -08:00
H. S. Teoh
4319df0814
Fix docs for issue 5964.
2012-02-25 10:58:02 -08:00
Jonathan M Davis
a5128eba77
Merge pull request #455 from blackwhale/regex-fixes
...
Fix issue 7111 - New regex engine cannot match beginning of empty string
2012-02-24 22:22:23 -08:00
H. S. Teoh
9ddfafa336
Improve documentation of File.fread and File.fwrite.
2012-02-24 21:07:47 -08:00