monarchdodra
0fcc5302f5
Re-implement "pointsTo" as "doesPointTo"
2014-05-14 21:56:30 +02:00
monarchdodra
0ed127124c
Implement "isUnionAliased"
2014-05-14 21:56:29 +02:00
monarchdodra
15a9ae7941
Duplicate pointsTo as "doesPointTo"
2014-05-14 21:56:22 +02:00
Andrej Mitrovic
20d91e6f3f
Fix Issue 6793 - Document that assumeUnique may not be necessary in some contexts.
2014-04-23 14:56:40 +02:00
Per Nordlöw
d701f90275
Issue 3882: Use cast(void) instead of value capture
2014-03-18 23:50:18 +01:00
Tomoya Tanjo
aa97c944c3
Mark std.exception.ErrnoException.this as @trusted
2014-03-12 15:03:43 +09:00
Per Nordlöw
275db682a5
Issue 3882: Explicitly capture return values for strictly pure functions returning non-void
2014-03-09 18:55:07 +01:00
Yazan S. Dabain
a81f6200cf
[Trivial] Fix documentation typos
2014-02-28 21:08:19 +02:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
Daniel Murphy
a656f26e9e
Remove use of automatic adjacent string literal concatenation from phobos
2014-01-20 03:42:21 +11:00
Brad Anderson
53c226c569
() should be used instead of {} for ddoc macro
2014-01-01 23:03:10 -07:00
Martin Nowak
c445f1c288
Merge pull request #1766 from jmdavis/deprecations
...
Move various deprecations along.
Conflicts:
std/algorithm.d
std/zip.d
2013-12-19 23:33:47 +01:00
Daniel Murphy
1818d190b5
More implicit array to bool
2013-12-15 19:55:34 +11:00
jmdavis
efd6ea0cbf
Move various deprecations along.
2013-12-11 23:44:12 -08:00
Daniel Murphy
13f343334c
Remove cases where an array is used in a boolean context
2013-11-27 18:23:07 +11:00
Andrej Mitrovic
c97904bf4f
Merge pull request #1571 from quickfur/assumeWontThrow
...
Implement assumeWontThrow.
2013-10-24 14:36:14 -07:00
Andrej Mitrovic
ed727e0cc4
assertThrown doesn't need to use a variable for a throw check.
2013-09-14 18:55:01 +02:00
H. S. Teoh
278a65a20f
Improve wording in docs.
2013-09-12 15:08:50 -07:00
H. S. Teoh
21ac3614e1
Implement assumeWontThrow.
2013-09-12 14:25:24 -07:00
Lionello Lunesu
b4074054ba
Fix issue 10893: added missing or renamed DDoc parameters (found by fix to 10236)
2013-08-31 15:36:29 +08:00
Andrej Mitrovic
62f6459b49
Fix Issue 10510 - enforce should take any callable function without regard for calling conventions.
2013-07-01 19:40:28 +02:00
k-hara
ed03c4af01
Fix trivial nitpicks
2013-06-20 10:54:20 +09:00
David Nadlinger
fcfc3220ff
Fix std.exception.ifThrown tests in release mode.
...
As the unit test is not @safe, bounds checking is disabled
when building with -release.
2013-06-17 13:35:08 +02:00
monarch dodra
dfb8c27bb2
Improve documentation/testing for pointsTo
2013-06-16 20:35:27 +02:00
monarch dodra
e44adcd9ed
Fix Issue 9975 - pointsTo asserts because of false pointer in union
2013-06-16 16:39:56 +02:00
Walter Bright
7b0a1219fd
Merge pull request #1329 from 9rnsr/fix10220
...
[REG2.064a] Issue 10220 - `array` doesn't work with disabled default construction
2013-06-04 22:30:00 -07:00
k-hara
e2d991b005
Move checkCTFEable to std.exception.assertCTFEable, and use it
2013-06-02 02:32:24 +09:00
k-hara
41ac032548
Remove undocumented structuralCast in std.exception
2013-05-27 21:01:09 +09:00
jmdavis
ce1b2294b0
Undocument some deprecated functions.
...
They were marked for removal in the docs (many of them were intended to
be removed in January), so now they've been removed from the docs and
marked for removal from the code in November.
2013-05-05 16:34:25 -07:00
Alex Rønne Petersen
3fd69b6ebc
Merge pull request #1090 from someboddy/add-ml-style-exception-handling
...
Add ML style exception handling
2013-03-08 15:23:51 -08:00
IdanArye
370b84f1d5
Added ML style functional exception handling.
...
Using the new "ifThrown" function in the std.exception module.
2013-03-09 00:13:48 +02:00
Andrej Mitrovic
e2831a5f2a
Fixes Issue 9265 - assertNotThrown should emit msg from thrown exception if available.
2013-03-02 16:16:53 +01:00
Andrej Mitrovic
aaa6854eb7
Fixes Issue 9373 - Add deprecation messages to Phobos.
2013-01-23 02:44:08 +01:00
k-hara
7062ce191a
fix Issue 2486 - taking address of slice rvalue is valid
2012-12-03 14:40:24 +09:00
k-hara
01df2f60be
Remove redundant parenthesis for getters, and use assignment syntax for setters
2012-11-23 15:07:17 +09:00
monarch dodra
706d109e0b
pointsTo unittests
2012-11-01 17:47:03 +01:00
monarch dodra
469bc6bda9
structs with embeded Static arrays
...
Because they can contain pointers...
2012-11-01 17:31:41 +01:00
monarch dodra
b5e14d654c
pointsTo support for static arrays
2012-11-01 17:31:40 +01:00
Dmitry Olshansky
7714a9c42e
Fix issue 8637
...
Compiler can and should deduce purity of templates
2012-09-11 11:31:29 +04:00
jmdavis
ed22f41ec2
Fix for issue# 8398.
2012-07-22 00:40:25 -07:00
jmdavis
6c289a8969
Fix unnecessary template bloat in enforce.
...
The version of enforce which takes the file and line number as template
arguments has been scheduled for deprecation and has been replaced with
one which takes them as function arguments. The only code that this will
effect is code which explicitly passes the file or line number to
enforce.
2012-07-21 20:00:36 -07:00
alexrp
adcac57526
Use errno instead of getErrno in Phobos.
2012-07-09 01:26:02 +02:00
jmdavis
8b6e9ea176
Deprecated the version of enforceEx which was scheduled for deprecation.
2012-03-10 19:09:35 -08:00
jmdavis
091609ca1e
Moved February deprecations to March.
...
Having the January deprecations and February deprecations in the same
month seems a bit much to me, since we managed to have both of those
months have quite a few, whereas the next few months have very few if
any. And we're close to release too, so I'd prefer to avoid causing
issues by deprecating them now.
2012-02-11 02:44:46 -08:00
k-hara
c121a5d836
Fix unpaired parentheses in ddoc.
2012-01-23 22:53:43 +09:00
k-hara
ed0cd25c66
Allow partial instantiation of enforceEx.
2012-01-23 22:53:42 +09:00
k-hara
d493815bfe
Supplemental changes for 3235 & 6714
2011-12-31 14:39:05 +09:00
k-hara
17e87a472d
Revert "Revert "Merge pull request #284 from 9rnsr/fix6208_on_inout""
...
This reverts commit fef20ede25
.
2011-12-15 17:34:09 +09:00
David Nadlinger
e312f9898b
Strict @property syntax compliance.
...
This enables the test suite to build with the -property switch enabled.
std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
jmdavis
256976dddd
Removed "scheduled for deprecation" pragmas.
...
The pragmas have not been as effective as we might have liked, since
they only work with templates and can't tell you where in your code you
need to make changes, and they seemed to have been more annoying to
programmers than helpful, so we're going to discontinue them. We'll
leave them in for stuff that's actually been deprecated until deprecated
has been improved enough to take a message, but we'll leave "scheduled
for deprecation" messages to the documentation and changelog.
2011-10-23 23:11:17 -07:00