Skip to content

Commit

Permalink
Merge pull request #1187 from aG0aep6G/Ivan-Smirnov's-redesign
Browse files Browse the repository at this point in the history
Ivan Smirnov's redesign
  • Loading branch information
andralex committed Jan 10, 2016
2 parents 2aeacd0 + a12d663 commit 910c4f6
Show file tree
Hide file tree
Showing 54 changed files with 1,989 additions and 1,760 deletions.
163 changes: 163 additions & 0 deletions articles.dd
@@ -0,0 +1,163 @@
Ddoc

$(D_S Articles,
$(P
More articles can be found on the corresponding
$(LINK2 http://wiki.dlang.org/Articles, wiki page).
)

$(DIVC boxes,
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)faq.html, FAQ))
$(P Frequently answered questions about D.)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)const-faq.html, const(FAQ)))
$(P Frequently answered questions about D's $(D const) and
$(D immutable).)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)d-floating-point.html, Floating Point))
$(P Don Clugston goes into detail about floating point
numbers in D and the pitfalls one may encounter.)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)warnings.html, Warnings))
$(P This is about compiler warnings in general, and dmd's
warnings in particular.)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)rationale.html, Rationale))
$(P Questions about the reasons for various design decisions for
D often come up. This addresses many of them.)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)builtin.html, Builtin Rationale))
$(P D offers several capabilities built in to the core language
that are implemented as libraries in other languages. This
article answers why.)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)ctod.html, C to D))
$(P Coming from C? Here are various examples comparing $(I the D
way) to $(I the C way).)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)cpptod.html, C++ to D))
$(P Coming from C++? Here are various examples comparing $(I the
D way) to $(I the C++ way).)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)pretod.html, C Preprocessor vs D))
$(P D doesn't have a preprocessor. This article shows how to do
in D what would be a task for the preprocessor in C.)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)code_coverage.html, Code coverage analysis))
$(P D compilers come with a builtin code coverage analyzer.
This article explains why and how to use it.)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)exception-safe.html, Exception Safety))
$(P This article is about exceptions and how RAII and scope
guard statements relate to them.)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)hijack.html, Hijacking))
$(P Function hijacking is when old code accidentally calls
a newly added or changed function because it shadows the
intended one. This article is about how D prevents
different kinds of hijacking.)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)intro-to-datetime.html, Introduction to
std.datetime))
$(P Jonathan M Davis presents $(D std.datetime) which was added
in version 2.052 (Jul 10, 2011), and compares it to the
superseded $(D std.date).)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)lazy-evaluation.html, Lazy Evaluation))
$(P Walter Bright goes into the details of lazy parameters in
D.)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)migrate-to-shared.html, Migrating to Shared))
$(P Since version 2.030 (May 11, 2009) D uses thread local
storage (TLS) by default for static and global variables.
The article shows the alternatives to TLS that are available
in D.)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)mixin.html, Mixins))
$(P A short article about D's $(D mixin) statement which allows
to insert arbitrary code from a string, and how it compares
to the C preprocessor.)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)regular-expression.html, Regular Expressions))
$(P Dmitry Olshansky shows how to use regular expressions in D
with $(D std.regex).)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)safed.html, SafeD))
$(P Bartosz Milewski writes about SafeD, the memory-safe
subset of D.)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)templates-revisited.html, Templates Revisited))
$(P Walter Bright writes about how D improves upon C++
templates.)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)ctarguments.html, Compile-time Argument
Lists))
$(P A compile-time list is a list of compile-time entities -
types, symbols (names) and expressions (values). This
article shows how to work with them.)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)variadic-function-templates.html,
Variadic Templates))
$(P This article is about the D idiom of implementing variadic
functions with variadic templates.)
)
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)d-array-article.html, D Slices))
$(P Steven Schveighoffer writes about slices and dynamic arrays
in D. Unfortunately, this article uses slightly different
terminology than the language reference: What the article
calls a $(I slice) is a $(I dynamic array) in the language
reference, and what the article calls a $(I dynamic array)
is not named specifically by the language reference. Still,
the article is a great help in getting a good understanding
of D's array semantics.)
)
)
)
)

Macros:
TITLE=Articles
SUBNAV=$(SUBNAV_ARTICLES)
9 changes: 0 additions & 9 deletions articles.html

This file was deleted.

19 changes: 8 additions & 11 deletions bugstats.php.dd
Expand Up @@ -2,24 +2,21 @@ Ddoc

$(D_S Bug tracker,

$(LI
$(P
We use $(B Bugzilla) to track the issues for the D programming language.
$(P The home of the D issue tracker is: $(B $(LINK http://issues.dlang.org)))
$(BR)
The home of the D issue tracker is: $(B $(LINK http://issues.dlang.org))
)

$(LI
You can browse through the existing bugs for D projects $(LINK2 https://issues.dlang.org/describecomponents.cgi?product=D, $(B here).)
$(P
You can browse through the existing bugs for D projects $(LINK2 https://issues.dlang.org/describecomponents.cgi?product=D, $(B here)).
)

$(BR)

$(LI
If you want to search for a specific bug, you can use the $(LINK2 https://issues.dlang.org/query.cgi?format=specific, $(B search page).)
$(P
If you want to search for a specific bug, you can use the $(LINK2 https://issues.dlang.org/query.cgi?format=specific, $(B search page)).
)

$(BR)

$(LI
$(P
And if you want to file a new bug, you can use $(LINK2 https://issues.dlang.org/enter_bug.cgi?product=D, $(B this page)).
)

Expand Down
1 change: 1 addition & 0 deletions builtin.dd
Expand Up @@ -174,4 +174,5 @@ $(SECTION2 Please Note,
Macros:
TITLE=D Builtin Rationale
WIKI=builtins
SUBNAV=$(SUBNAV_ARTICLES)

1 change: 1 addition & 0 deletions code_coverage.dd
Expand Up @@ -228,3 +228,4 @@ $(LINK2 https://en.wikipedia.org/wiki/Code_coverage, Wikipedia)
Macros:
TITLE=Code Coverage Analysis
WIKI=Dcover
SUBNAV=$(SUBNAV_ARTICLES)
6 changes: 6 additions & 0 deletions community.dd
@@ -0,0 +1,6 @@
Ddoc

$(D_S Community, $(NAVIGATION_COMMUNITY))

Macros:
TITLE=Community
5 changes: 0 additions & 5 deletions comparison.dd
Expand Up @@ -108,8 +108,3 @@ $(ITEMIZE

Macros:
TITLE=Features Overview
NO=<td class="compNo">No</td>
NO1=<td class="compNo"><a href="$1">No</a></td>
YES=<td class="compYes">Yes</td>
YES1=<td class="compYes"><a href="$1">Yes</a></td>

1 change: 1 addition & 0 deletions const-faq.dd
Expand Up @@ -295,3 +295,4 @@ Macros:
WIKI=constFAQ
ITEMR=$(LI $(RELATIVE_LINK2 $1, $+))
ITEM=<hr>$(H3 <a name="$1">$+</a>)
SUBNAV=$(SUBNAV_ARTICLES)
1 change: 1 addition & 0 deletions cpptod.dd
Expand Up @@ -826,3 +826,4 @@ void test()
Macros:
TITLE=Programming in D for C++ Programmers
WIKI=CPPtoD
SUBNAV=$(SUBNAV_ARTICLES)

0 comments on commit 910c4f6

Please sign in to comment.