Commit graph

2761 commits

Author SHA1 Message Date
k-hara
be181743c1 isMutable should return false for inout type 2012-03-12 14:13:40 +09:00
k-hara
bf7f4e5f1c ForeachType should support inout array type 2012-03-12 14:13:39 +09: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
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
H. S. Teoh
1c300c5cff More uniform format for docs; add links. 2012-02-24 20:55:15 -08:00
H. S. Teoh
dca0fb377f Improve docs for readf. 2012-02-24 20:43:20 -08:00
H. S. Teoh
167d0c99c1 Capitalize Unicode throughout. 2012-02-24 16:21:06 -08:00
H. S. Teoh
945cb72b11 Fix broken docs caused by ambiguity with Ddoc syntax when we wrap lines
containing "category:".
2012-02-24 14:40:59 -08:00
H. S. Teoh
a64261aea5 Add missing doc comments to uni.d. 2012-02-24 14:17:11 -08:00
Dmitry Olshansky
4fe48d2608 Fix issue 7111 - New regex engine cannot match beginning of empty string
Also added some missing bugs in a changelog,  including old regex reports.
2012-02-25 00:52:12 +04:00
Andrei Alexandrescu
97840bec88 Merge pull request #453 from AndrejMitrovic/findSplitDocs
Add better description to findSplit.
2012-02-23 16:00:49 -08:00
Andrej Mitrovic
7f25129260 Add better description to findSplit. 2012-02-24 00:03:55 +01:00
Andrei Alexandrescu
7d1ef0e9ba Merge branch 'master' of github.com:D-Programming-Language/phobos 2012-02-23 14:05:01 -06:00
Andrei Alexandrescu
94b21d38d1 Improve speed of byLine() on generic I/O 2012-02-23 14:03:50 -06:00
Brad Anderson
4b17d07b8e Just an adorable little typo I noticed in std.regex's documentation. 2012-02-23 01:42:23 -07:00
Vladimir Panteleev
f7e0387b6d std.algorithm: Fix the documentation of remove with pred
The description contradicted the example/unittest/actual behavior.
2012-02-22 17:37:56 +02:00
k-hara
66e13b2c27 Revert "Revert "Merge pull request #120 from 9rnsr/rvalue-struct-literal""
This reverts commit 8a6bfd2529.
2012-02-21 21:03:01 +09:00
Walter Bright
2d29da72d5 Merge branch 'master' of github.com:D-Programming-Language/phobos 2012-02-21 03:43:17 -08:00
k-hara
8283af10c1 Change opEquals signature to allow receiving rvalue. 2012-02-21 20:25:10 +09:00