Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
4f6eeaf
documents the limitation of attributes on overridden functions
Feb 26, 2017
ac6742f
Avoid auto-hyphenation of code in the dpldocs documentation.
s-ludwig Mar 23, 2017
d8fc6e3
Embed module links in /library/ overview in code tags.
s-ludwig Mar 24, 2017
936310c
Merge pull request #1614 from MartinNowak/merge_stable
MartinNowak Mar 24, 2017
8f3db88
Merge pull request #1613 from s-ludwig/master
andralex Mar 25, 2017
3039c73
Merge pull request #1584 from BBasile/overridden-attribs-limit
wilzbach Mar 26, 2017
56ddea1
Fix busted link with Internet archive
rharriso Mar 31, 2017
230e8b9
Merge pull request #1618 from rharriso/patch-1
dlang-bot Mar 31, 2017
b5ee413
Merge remote-tracking branch 'upstream/stable' into merge_stable
MartinNowak Apr 3, 2017
b42172b
Merge pull request #1620 from MartinNowak/merge_stable
MartinNowak Apr 3, 2017
ec74400
Add D foundation address (#1619)
andralex Apr 3, 2017
2708b06
Merge remote-tracking branch 'upstream/stable' into merge_stable
MartinNowak Apr 8, 2017
4dbac37
Merge pull request #1622 from MartinNowak/merge_stable
MartinNowak Apr 8, 2017
b648589
Remove gratuitous "empty" clause.
rainers Apr 8, 2017
8cd57e5
make Parameters optional in TypeFunction
rainers Apr 8, 2017
f3f173b
Fix Issue 17303 - type error in the href url under the link Systems P…
alouanchi Apr 8, 2017
048ba72
Merge pull request #1623 from alouanchi/patch-1
dlang-bot Apr 8, 2017
d74200d
document -mv compiler switch
WalterBright Apr 9, 2017
8f3d8de
Merge pull request #1628 from WalterBright/mv-switch
CyberShadow Apr 10, 2017
2e2ae43
Merge remote-tracking branch 'upstream/stable' into merge_stable
MartinNowak Apr 10, 2017
19a9dd8
Merge pull request #1629 from MartinNowak/merge_stable
MartinNowak Apr 10, 2017
4df8095
FuncAttrScope is now mangled as Nl
rainers Apr 11, 2017
4ec6665
fix Issue 17293 - 'Using C++ Classes From D' example no longer works
WalterBright Apr 11, 2017
7e6fc61
Merge pull request #1630 from dlang/rainers-patch-4
dlang-bot Apr 12, 2017
9e07514
Merge pull request #1624 from dlang/rainers-patch-1
dlang-bot Apr 12, 2017
eb515eb
Merge pull request #1625 from dlang/rainers-patch-2
dlang-bot Apr 12, 2017
25ce0d1
abi: Template symbol parameters are either qualified or mangled.
ibuclaw Apr 13, 2017
77b142d
Terminix renamed to tilix
minas1 Apr 13, 2017
74e1a70
Merge pull request #1633 from minas1/patch-1
MartinNowak Apr 13, 2017
ebea990
Merge pull request #1632 from ibuclaw/abi-templateargs
MartinNowak Apr 13, 2017
95c0e8b
Allow function parameter types in QualifiedName
rainers Apr 13, 2017
8e3c419
allow 'M' for context pointer in QualifiedName
rainers Apr 14, 2017
eb35fd7
Remove invalid colon
FatalCatharsis Apr 24, 2017
d581bd3
Remove special casing for `objc.d` from the Posix makefile (#1636)
jacob-carlborg Apr 25, 2017
38aa012
synchronize grammar for ModuleDeclaration with module.dd
Apr 26, 2017
d027a09
Update dstyle.dd
insideoutclub Apr 28, 2017
3c1deb2
Merge pull request #1641 from insideoutclub/patch-1
dlang-bot Apr 29, 2017
9dda536
allow TypeModifiers for member functions
rainers May 1, 2017
f7ed706
Merge pull request #1635 from rainers/rainers-patch-3
dlang-bot May 1, 2017
167ede6
Merge pull request #1640 from BBasile/module-def
dlang-bot May 1, 2017
f92b28c
Merge pull request #1638 from FatalCatharsis/patch-1
dlang-bot May 1, 2017
2ee84e5
grammar: Remove dangling closing parenthesis
ibuclaw May 1, 2017
2887e6d
Merge pull request #1642 from ibuclaw/extern-cpp
dlang-bot May 1, 2017
42b4fdb
Update LDC platform info
joakim-noah May 3, 2017
e1ed7f7
Merge pull request #1643 from joakim-noah/ldc
dlang-bot May 3, 2017
6814f58
Fixed typo
tivervac May 3, 2017
5d3453b
Merge pull request #1644 from tivervac/patch-1
dlang-bot May 4, 2017
2e1ec1d
Remove SH64 predefined version condition.
ibuclaw May 6, 2017
7e0799f
added arabiaweather to orgs-using-d
May 6, 2017
5d214d4
Merge pull request #1646 from AlQurashi/orgs-aw
CyberShadow May 7, 2017
4d69c1a
Fix Issue 17391 - SECURITY: XSS through DDOC comments
CyberShadow May 10, 2017
6e1bdb1
Ensure that the directory phobos-stable exists
wilzbach May 10, 2017
76d95f9
index.dd: Update DConf news
CyberShadow May 11, 2017
9a4f9b2
Merge pull request #1652 from CyberShadow/pull-20170511-115332
wilzbach May 11, 2017
c1d57d6
Merge pull request #1649 from CyberShadow/pull-20170510-220714
dlang-bot May 13, 2017
737dd48
posix.mak: Fix default target
CyberShadow May 13, 2017
f9f509d
Add high-resolution logo for OpenGraph
CyberShadow May 17, 2017
f575f4c
Add OpenGraph meta tags to the front page
CyberShadow May 17, 2017
aace249
Explain behavior of member=expr inside constructors
andralex May 22, 2017
de325df
Merge pull request #1653 from CyberShadow/pull-20170513-225636
dlang-bot May 22, 2017
982eb85
Merge remote-tracking branch 'upstream/stable' into merge_stable
MartinNowak May 23, 2017
876a38b
Merge pull request #1656 from CyberShadow/pull-20170517-192405
MartinNowak May 23, 2017
fbe6593
Merge pull request #1660 from MartinNowak/merge_stable
MartinNowak May 23, 2017
9b4b83d
dpl-docs: Disable SSL
CyberShadow May 13, 2017
45793f8
add __traits(getParameterStorageClasses(f, i)
WalterBright May 25, 2017
909fe36
document __traits(getFunctionVariadicStyle, f)
WalterBright May 24, 2017
72ba79b
Merge pull request #1661 from WalterBright/getFunctionVariadicStyle
dlang-bot May 25, 2017
0fb416d
Set bottom subnav to a single pix
May 28, 2017
821a019
Merge remote-tracking branch 'upstream/stable' into merge_stable
MartinNowak Jun 1, 2017
0cc0d84
Merge pull request #1666 from MartinNowak/merge_stable
MartinNowak Jun 1, 2017
da87ad5
Add DMD to the release pages of Ddoc and Ddox
wilzbach Jun 5, 2017
d40ea48
Merge pull request #1671 from wilzbach/add-dmd-to-released-pages
andralex Jun 6, 2017
7e635f7
Fix DMDSRC and allow a PROJECT_SOURCE_DIR to be set by DMD
wilzbach Mar 5, 2017
dc1c2b3
Fix DMD source links for DDox
wilzbach Mar 5, 2017
7fcd7db
Merge pull request #1601 from wilzbach/update-dmd-link
dlang-bot Jun 6, 2017
695fea1
Deprecation: .sort and .reverse props were removed in 2.075
wilzbach Jun 6, 2017
40a2ba3
Merge pull request #1672 from wilzbach/sort-reverse-error
andralex Jun 6, 2017
58e2743
Add labels to spec
wilzbach Jun 7, 2017
0548d3a
Move generated docs{,-prerelease}.json to $GENERATED
wilzbach Jun 7, 2017
3647a5f
Add labels to spec/statement.dd
wilzbach Jun 7, 2017
7b1e803
Issue 17419 - add __traits(getLinkage, s) to the the linkage of symbol s
WalterBright May 23, 2017
01845f5
Merge pull request #1663 from WalterBright/getParameterStorageClasses
wilzbach Jun 7, 2017
14954e3
Merge pull request #1654 from CyberShadow/pull-20170513-230652
wilzbach Jun 7, 2017
db60ee3
Merge pull request #1659 from WalterBright/getLinkage
wilzbach Jun 7, 2017
e544828
Merge pull request #1631 from WalterBright/fix17293
wilzbach Jun 7, 2017
c2f0d89
Merge pull request #1645 from ibuclaw/rm-sh64
wilzbach Jun 7, 2017
cb9cf68
Update orgs-using-d.dd
Laeeth May 25, 2017
9f1f015
Merge pull request #1662 from Laeeth/patch-1
wilzbach Jun 7, 2017
38d2956
Merge pull request #1678 from wilzbach/move-docs-json-to-generated
CyberShadow Jun 7, 2017
0fb9485
Merge pull request #1665 from BBasile/bottom-nav
CyberShadow Jun 7, 2017
1468d0c
Add labels to spec/expressions.dd
wilzbach Jun 7, 2017
64e53a2
Deprecate.dd: clear error column for sort/remove deprecation
wilzbach Jun 7, 2017
23d4c1c
Add labels to SECTION2 in spec/cpp_interface
wilzbach Jun 7, 2017
fa0d96e
Merge pull request #1677 from wilzbach/add-labels-to-expression
CyberShadow Jun 7, 2017
353c407
Rename DMD_REL to DMD_STABLE
wilzbach Jun 5, 2017
2b0ca63
Ignore empty files (i.e. from publictests) in the assert-rewrite pipe…
wilzbach Jun 5, 2017
a76812b
Upgrade DUB dependencies for dpl-docs
wilzbach Jun 5, 2017
d020457
Fix Issue 17469 - View source code for object.d is broken
wilzbach Jun 5, 2017
e22a90e
Merge pull request #1680 from wilzbach/sort-remove-clean-error-column
dlang-bot Jun 7, 2017
f9fe084
Merge pull request #1676 from wilzbach/add-labels-to-other
CyberShadow Jun 7, 2017
7e86ce7
Merge pull request #1668 from wilzbach/fix-17469
dlang-bot Jun 7, 2017
7e3b118
Merge pull request #1670 from wilzbach/rename-dmd-rel
dlang-bot Jun 7, 2017
333c99e
Merge pull request #1650 from wilzbach/ensure-phobos-stable
CyberShadow Jun 7, 2017
1898884
Revert "Rename DMD_REL to DMD_STABLE"
CyberShadow Jun 7, 2017
05ebca4
Revert "Move generated docs{,-prerelease}.json to $GENERATED"
CyberShadow Jun 7, 2017
f0d4325
Revert "Add DMD to the release pages of Ddoc and Ddox"
CyberShadow Jun 7, 2017
7b8b5d8
Merge pull request #1682 from CyberShadow/pull-20170607-233420
CyberShadow Jun 7, 2017
d5dadfd
Add new __traits to the D grammar spec
wilzbach Jun 8, 2017
0c589a5
Rename DMD_REL to DMD_STABLE v2
wilzbach Jun 5, 2017
12fbc71
Move generated docs{,-prerelease}.json to $GENERATED v2
wilzbach Jun 7, 2017
ba2baee
Merge pull request #1684 from wilzbach/rename-dmd-rel2
dlang-bot Jun 8, 2017
e19f135
Merge branch 'master' into move-docs-json-to-generated2
CyberShadow Jun 8, 2017
7f07c07
Merge pull request #1685 from wilzbach/move-docs-json-to-generated2
CyberShadow Jun 8, 2017
a349d9e
Merge pull request #1683 from wilzbach/add-traits-updates-to-grammar
andralex Jun 8, 2017
4129e45
Unify DDoc Makefile build variables
wilzbach Jun 9, 2017
670e3c5
Merge pull request #1687 from wilzbach/unify_ddoc_vars
dlang-bot Jun 9, 2017
57c3e9b
Use generated/$(OS)/release/$(MODEL)/dmd as a location for the DMD bi…
wilzbach Jun 9, 2017
0dcad05
Add ddmd to the library's left menu
wilzbach Jun 9, 2017
abf0c63
Ddoc: enable DMD at the release pages
wilzbach Jun 9, 2017
b91c964
Ddox: enable DMD at the release pages
wilzbach Jun 9, 2017
083a966
Merge pull request #1658 from andralex/spec-ctors
WalterBright Jun 10, 2017
5d2d478
Merge pull request #1686 from wilzbach/add-dmd-to-released-pages2
CyberShadow Jun 10, 2017
a09d844
Add documentation for uClibc and musl C libraries.
ibuclaw Jun 10, 2017
c0b4b2a
Merge pull request #1691 from ibuclaw/alt-cruntime
dlang-bot Jun 11, 2017
d27a81f
Merge pull request #1675 from wilzbach/add-labels-to-statement
dlang-bot Jun 13, 2017
d3569b3
Fix trailing whitespace
wilzbach Jun 15, 2017
eae2ed4
Fix Issue 17501 - Runnable unittest problem with AST rewrite
wilzbach Jun 15, 2017
a2004ee
Add assert_writeln_magic unittest to the Makefile test target
wilzbach Jun 15, 2017
1f66c69
Use Travis to check the target
wilzbach Jun 15, 2017
cf67d16
Add STABLE_DMD as dependency to the assert_writeln targets
wilzbach Jun 15, 2017
4f7e8d8
Upgrade DUB build target to use $DMD instead of $DC
wilzbach Jun 15, 2017
5bebaa7
Merge pull request #1693 from wilzbach/enable-tests
dlang-bot Jun 15, 2017
1cfece0
Use only one instance for the Travis build
wilzbach Jun 15, 2017
0da8084
Merge pull request #1695 from wilzbach/travis-only-dmd
dlang-bot Jun 15, 2017
cc78807
Fix Issue 8107 - Float literals are not specified as they are impleme…
wilzbach Jun 15, 2017
999cbfb
Fix invalid undefined Ddoc macros
wilzbach Jun 15, 2017
02a7c29
Merge pull request #1707 from wilzbach/fix-ddoc
dlang-bot Jun 15, 2017
d1fbda3
Allow runnable examples anywhere
wilzbach Jun 15, 2017
44cbc93
Remove the MD5-hashing approach to save STDIN and ARGS
wilzbach Jun 15, 2017
69b9033
Merge pull request #1705 from wilzbach/fix-8107
andralex Jun 16, 2017
084a7e2
Frontpage: D foundation -> D Language Foundation
wilzbach Jun 16, 2017
945a898
Use a OS-independent link to the DMD manual
wilzbach Jun 16, 2017
6797d9e
Merge pull request #1709 from wilzbach/allow-runnable-examples-anywhere
andralex Jun 17, 2017
ab9f404
Merge pull request #1715 from wilzbach/frontpage-nits
andralex Jun 17, 2017
3670e67
Merge pull request #1716 from wilzbach/dmd-universal
andralex Jun 17, 2017
2d1846b
revert/comment out #1658 for now
MartinNowak Jun 17, 2017
36ff9d1
Merge pull request #1719 from MartinNowak/comment_out_1658
wilzbach Jun 17, 2017
f8b08c6
Merge remote-tracking branch 'upstream/master' into merge_master
MartinNowak Jun 17, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ css/cssmenu.css
*.min.*

deleteme.*
docs-prerelease.json
docs.json
.dub/
dpl-docs/dpl-docs
modlist-release.ddoc
Expand Down
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dist: trusty
sudo: false

language: d
os:
- linux

script:
- make -f posix.mak test
6 changes: 3 additions & 3 deletions areas-of-d-usage.dd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $(DIVC page-contents quickindex,
$(LI $(RELATIVE_LINK2 web, Web applications))
$(LI $(RELATIVE_LINK2 gui, GUI applications))
)
$(LI $(RELATIVE_LINK2 system_programming, Systems Programming)) $(OL
$(LI $(RELATIVE_LINK2 system-programming, Systems Programming)) $(OL
$(LI $(RELATIVE_LINK2 operating_systems, Operating systems))
$(LI $(RELATIVE_LINK2 compilers, Compilers))
$(LI $(RELATIVE_LINK2 embedded, Embedded applications))
Expand All @@ -30,7 +30,7 @@ $(DIVC page-contents quickindex,

$(DIVC start-icons,
$(START_ICONS_ENTRY Industry, industry, industry)
$(START_ICONS_ENTRY Systems Programming, gears, systems-programming)
$(START_ICONS_ENTRY Systems Programming, gears, system-programming)
$(START_ICONS_ENTRY Research, flask, cutting-edge)
$(START_ICONS_ENTRY Academia, graduation-cap, academia)
)
Expand Down Expand Up @@ -114,7 +114,7 @@ $(AREA_SECTION3 $(LNAME2 gui, GUI Applications), $(ARTICLE_FA_ICON desktop),
D's high productivity is also beneficial when creating GUI applications.

Some examples are the Linux tiling terminal emulator
$(HTTP github.com/gnunn1/terminix, terminix),
$(HTTP github.com/gnunn1/tilix, tilix),
the D development environment
$(HTTPS github.com/buggins/dlangide, DLangIDE), which is itself based
on the cross-platform D library $(HTTPS github.com/buggins/dlangui, dlangui).
Expand Down
108 changes: 93 additions & 15 deletions assert_writeln_magic.d
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@ private string formatNode(T)(const T t)
return writer.data;
}

class TestVisitor : ASTVisitor
class TestVisitor(Out) : ASTVisitor
{
import dparse.lexer : tok, Token;

this(string fileName, string destFile)
this(Out fl)
{
this.fileName = fileName;
fl = FileLines(fileName, destFile);
this.fl = fl;
}

alias visit = ASTVisitor.visit;
Expand All @@ -77,6 +76,10 @@ class TestVisitor : ASTVisitor
if (inFunctionCall)
return;

// only look at `a == b` within the AssertExpression
if (typeid(expr.assertion) != typeid(CmpExpression))
return;

lastAssert = expr;
inAssert = true;
expr.accept(this);
Expand Down Expand Up @@ -172,31 +175,40 @@ private:
Rebindable!(const AssertExpression) lastAssert;
Rebindable!(const EqualExpression) lastEqualExpression;

string fileName;
FileLines fl;
Out fl;
}

void parseFile(string fileName, string destFile)
void parseString(Visitor)(ubyte[] sourceCode, string fileName, Visitor visitor)
{
import dparse.lexer;
import dparse.parser : parseModule;
import dparse.rollback_allocator : RollbackAllocator;
import std.array : uninitializedArray;

auto inFile = File(fileName);
if (inFile.size == 0)
warningf("%s is empty", inFile.name);

ubyte[] sourceCode = uninitializedArray!(ubyte[])(to!size_t(inFile.size));
inFile.rawRead(sourceCode);
LexerConfig config;
auto cache = StringCache(StringCache.defaultBucketCount);
const(Token)[] tokens = getTokensForParser(sourceCode, config, &cache).array;

RollbackAllocator rba;
auto m = parseModule(tokens, fileName, &rba);
auto visitor = new TestVisitor(fileName, destFile);
visitor.visit(m);
}

void parseFile(string fileName, string destFile)
{
import std.array : uninitializedArray;

auto inFile = File(fileName);
if (inFile.size == 0)
warningf("%s is empty", inFile.name);

ubyte[] sourceCode = uninitializedArray!(ubyte[])(to!size_t(inFile.size));
if (sourceCode.length == 0)
return;

inFile.rawRead(sourceCode);
auto fl = FileLines(fileName, destFile);
auto visitor = new TestVisitor!(typeof(fl))(fl);
parseString(sourceCode, fileName, visitor);
delete visitor;
}

Expand All @@ -208,6 +220,7 @@ string rebasePath(string path, string oldBase, string newBase)
return buildPath(newBase, path.absolutePath.relativePath(oldBase.absolutePath));
}

version(unittest) { void main(){} } else
void main(string[] args)
{
import std.file;
Expand Down Expand Up @@ -321,3 +334,68 @@ struct FileLines
lines[i] = line;
}
}

version(unittest)
{
struct FileLinesMock
{
string[] lines;
string opIndex(size_t i) { return lines[i]; }
void opIndexAssign(string line, size_t i) {
lines[i] = line;
}
}
auto runTest(string sourceCode)
{
import std.string : representation;
auto mock = FileLinesMock(sourceCode.split("\n"));
auto visitor = new TestVisitor!(typeof(mock))(mock);
parseString(sourceCode.representation.dup, "testmodule", visitor);
delete visitor;
return mock;
}
}


unittest
{
"Running tests for assert_writeln_magic".writeln;

// purposefully not indented
string testCode = q{
unittest
{
assert(equal(splitter!(a => a == ' ')("hello world"), [ "hello", "", "world" ]));
assert(equal(splitter!(a => a == 0)(a), w));
}
};
auto res = runTest(testCode);
assert(res.lines[3 .. $ - 2] == [
"assert(equal(splitter!(a => a == ' ')(\"hello world\"), [ \"hello\", \"\", \"world\" ]));",
"assert(equal(splitter!(a => a == 0)(a), w));"
]);
}

unittest
{
string testCode = q{
unittest
{
assert(1 == 2);
assert(foo() == "bar");
assert(foo() == bar);
assert(arr == [0, 1, 2]);
assert(r.back == 1);
}
};
auto res = runTest(testCode);
assert(res.lines[3 .. $ - 2] == [
"writeln(1); // 2",
"writeln(foo()); // \"bar\"",
"writeln(foo()); // bar",
"writeln(arr); // [0, 1, 2]",
"writeln(r.back); // 1",
]);

"Successfully ran tests for assert_writeln_magic".writeln;
}
6 changes: 3 additions & 3 deletions changelog/2.072.0.dd
Original file line number Diff line number Diff line change
Expand Up @@ -372,13 +372,13 @@ $(BUGSTITLE Library Changes,
or program may malfunction due to changed call order of module static construction/destruction.
In order to preserve the program behaviour without the need to specify `--DRT-oncycle` command line argument,
it is possible to instruct the linker by declaring the following array in the source code:)

---
extern(C) __gshared string[] rt_options = [ "oncycle=ignore" ];
---

($P For more information, please consult the D language specification, section Overriding Cycle Detection Abort in chapter 4
and chapter 28.7 Configuring the Garbage Collector.)
and chapter 28.7 Configuring the Garbage Collector.)
)

$(LI $(LNAME2 std-digest-murmurhash, Implementation of `std.digest.murmurhash`).
Expand Down
2 changes: 1 addition & 1 deletion changelog/2.073.0.dd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $(BUGSTITLE Compiler changes,
$(LI $(LNAME2 mscrtlib-option,New command line option $(B -mscrtlib=$(I libname)) for Windows MS-COFF object files.)
$(P
If building MS-COFF object files with -m64 or -m32mscoff, this option
specifies the reference to the C runtime library $(I libname) that is
specifies the reference to the C runtime library $(I libname) that is
embedded into the object file containing `main`,
`DllMain` or `WinMain` for automatic linking. The default is $(TT libcmt)
(release version with static linkage), the other usual alternatives are
Expand Down
4 changes: 2 additions & 2 deletions code_coverage.dd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ and is integrated into gcc.)
$(P The D code coverage analyser is built in as part of the D compiler.
Therefore, it is always in perfect synchronization with the language
implementation. It's implemented by establishing a counter for each
line in each module compiled with the $(DDSUBLINK dmd-windows,switch-cov, $(B -cov)) switch.
line in each module compiled with the $(DDSUBLINK dmd,switch-cov, $(B -cov)) switch.
Code is inserted
at the beginning of each statement to increment the corresponding counter.
When the program finishes, the runtime collects all
Expand Down Expand Up @@ -215,7 +215,7 @@ $(H3 Controlling the Coverage Analyser)
$(COMMENT The behavior of the coverage analyser can be controlled through
the $(DRUNTIMESRC rt/cover.d) module.)

$(P When the $(DDSUBLINK dmd-windows,switch-cov, $(B -cov)) switch is thrown,
$(P When the $(DDSUBLINK dmd,switch-cov, $(B -cov)) switch is thrown,
the $(DDSUBLINK spec/version, PredefinedVersions, version identifier)
$(B D_Coverage) is defined.)

Expand Down
4 changes: 4 additions & 0 deletions css/ddox.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ h1 code a {
border-bottom: 1px dashed #CCC;
}

.hyphenate code {
hyphens: manual;
}

col.caption {
min-width: 170pt;
}
Expand Down
8 changes: 7 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ span#search-submit span /* hide 'go' */
{
background: #F5F5F5;
border: 0 solid #CCC;
border-width: 0 1px;
border-width: 0 1px 1px;
padding-left: 1em;
padding-right: 1em;
width: 15em;
Expand Down Expand Up @@ -1723,6 +1723,12 @@ input.resetButton{display: none}
.d_example_buttons {
text-align: left;
}
.runnable-examples-stdin {
display: none;
}
.runnable-examples-args {
display: none;
}
/* Runnable-examples css -end */

.page-contents
Expand Down
12 changes: 11 additions & 1 deletion dcompiler.dd
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,9 @@ dmd -cov -unittest myprog.d
)

$(SWITCH $(SWNAME -D),
generate $(LINK2 spec/ddoc.html, documentation) from source
$(P Generate $(LINK2 spec/ddoc.html, documentation) from source.)

$(P Note: mind the $(LINK2 spec/ddoc.html#security, security considerations).)
)

$(SWITCH $(SWNAME -Dd)$(I docdir),
Expand Down Expand Up @@ -665,6 +667,14 @@ dmd -cov -unittest myprog.d
)
)

$(SWITCH $(SWNAME -mv)=$(I package.module)=$(I path/filename),
Use $(I path/filename) as the source file for $(I package.module).
This is used when the source file path and names are not the same
as the package and module hierarchy.
The rightmost components of the $(I path/filename) and $(I package.module)
can be omitted if they are the same.
)

$(WINDOWS
$(SWITCH $(SWNAME -mscrt)=$(I libname),
if building MS-COFF object files with -m64 or -m32mscoff, embed a reference to
Expand Down
2 changes: 1 addition & 1 deletion deprecate.dd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $(SPEC_S Deprecated Features,
$(TROW $(DEPLINK scope for allocating classes on the stack), future,  ,  ,  )
$(TROW $(DEPLINK Imaginary and complex types), future,  ,  ,  )
$(TROW $(DEPLINK Implicit catch statement), 2.072, 2.072, future, future )
$(TROW $(DEPLINK .sort and .reverse properties for arrays), ?, 2.072;,  ,  )
$(TROW $(DEPLINK .sort and .reverse properties for arrays), ?, 2.072,  , 2.075)
$(TROW $(DEPLINK C-style array pointers), ?, 2.072;,  ,  )
$(TROW $(DEPLINK Floating point NCEG operators), ?, 2.066, 2.072,  )
$(TROW $(DEPLINK clear), 2.060, 2.066,  , 2.068 )
Expand Down
10 changes: 8 additions & 2 deletions dlang.org.ddoc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ DDOCKEYVAL2=$(DIVC keyval $1, $(SPANC key key$1, $2:) $(DIVC val val$1, $(TAIL $
DDSUBLINK=$(LINK2 $(ROOT_DIR)$1.html#$2, $3)
_=

DMDSRC=$(HTTPS github.com/D-Programming-Language/dmd/blob/master/src/$0, $0)
DMDSRC=$(HTTPS github.com/dlang/dmd/blob/master/src/dmd/$0, $0)
DOT_PREFIXED=.$1$(DOT_PREFIXED $+)
DOT_PREFIXED_SKIP=$(DOT_PREFIXED $+)
DRUNTIMESRC=$(HTTPS github.com/dlang/druntime/blob/master/src/$0, $0)
Expand Down Expand Up @@ -282,7 +282,7 @@ $(DIVID tools, $(DIV,
)
)
$(DIVC tip smallprint,
<a href="https://github.com/dlang/$(PROJECT)/edit/master/$(SRCFILENAME)">Improve this page</a>
<a href="https://github.com/dlang/$(PROJECT)/edit/master/$(PROJECT_SOURCE_DIR)$(SRCFILENAME)">Improve this page</a>
$(DIV,
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
Expand Down Expand Up @@ -351,6 +351,10 @@ _=
RELATIVE_LINK2=$(ALOCAL $1, $+)
_=

RUNNABLE_EXAMPLE=$(DIVC runnable-examples, $1)
RUNNABLE_EXAMPLE_STDIN=<code class="runnable-examples-stdin">$0</code>
RUNNABLE_EXAMPLE_ARGS=<code class="runnable-examples-args">$0</code>

SAMPLESRC=$(SPANC sample_src, $(AHTTPS github.com/dlang/dmd/blob/master/samples/$0, /dmd/samples/d/$0))
SCINI=$(TC pre, scini notranslate, $0)
SCRIPTLOAD=<script type="text/javascript" src="$1"$+></script>
Expand Down Expand Up @@ -486,4 +490,6 @@ _=

YELLOW=$(SPANC yellow, $0)
YES=$(CHECKMARK)

PROJECT_SOURCE_DIR=
_=
8 changes: 4 additions & 4 deletions download.dd
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ $(TABLEC download-compilers,
$(UL
$(LI $(LINK2 http://llvm.org/, LLVM)-based D compiler)
$(LI Strong optimization)
$(LI Alpha support for mobile:
$(LINK2 https://github.com/smolt/ldc-iphone-dev/releases, iOS),
$(LINK2 https://github.com/joakim-noah/android/releases, Android)
$(LI Mobile support:
$(LINK2 https://github.com/smolt/ldc-iphone-dev/releases, iOS alpha),
$(LINK2 https://github.com/joakim-noah/android/releases, Android beta)
)
$(LI Architectures: i386, amd64, armel, $(LINK2 https://wiki.dlang.org/Compilers#Comparison,others))
$(LI Architectures: i386, amd64, armel, armhf, $(LINK2 https://wiki.dlang.org/Compilers#Comparison,others))
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion dpl-docs/dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"dependencies": {
"ddox": "~>0.15.0"
},
"versions": ["VibeCustomMain"]
"versions": ["VibeCustomMain", "VibeNoSSL"]
}
9 changes: 4 additions & 5 deletions dpl-docs/dub.selections.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
"ddox": "0.15.18",
"experimental_allocator": "2.70.0-b1",
"hyphenate": "1.1.1",
"libasync": "0.7.9",
"libdparse": "0.7.0-beta.2",
"libasync": "0.8.3",
"libdparse": "0.7.0",
"libev": "5.0.0+4.04",
"libevent": "2.0.2+2.0.16",
"memutils": "0.4.8",
"openssl": "1.1.4+1.0.1g",
"vibe-d": "0.7.30"
"memutils": "0.4.9",
"vibe-d": "0.7.31"
}
}
Loading