Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Apr 1, 2012
2 parents 953cc0a + 5f0d545 commit 63b0fcf
Show file tree
Hide file tree
Showing 25 changed files with 833 additions and 244 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -6,6 +6,7 @@ GNUmakefile
!howtos.html
!language-reference.html
*.html

Thumbs.db

# CHM
Expand All @@ -16,3 +17,5 @@ chm
*.hhp
*.exe
*.obj

dlangspec.d
8 changes: 4 additions & 4 deletions arrays.dd
Expand Up @@ -215,7 +215,7 @@ int* p;
int[] b = p[0..8];
---------

<h2>$(LNAME2 array-copying, Array Copying)</a></h2>
<h2>$(LNAME2 array-copying, Array Copying)</h2>

$(P When the slice operator appears as the lvalue of an assignment
expression, it means that the contents of the array are the
Expand Down Expand Up @@ -264,7 +264,7 @@ s[] = 3; // same as s[0] = 3, s[1] = 3, s[2] = 3
p[0..2] = 3; // same as p[0] = 3, p[1] = 3
---------

<h2>$(LNAME2 array-concatenation, Array Concatenation)</a></h2>
<h2>$(LNAME2 array-concatenation, Array Concatenation)</h2>

$(P The binary operator ~ is the $(I cat) operator. It is used
to concatenate arrays:
Expand Down Expand Up @@ -642,13 +642,13 @@ array.length = 7;
$(P This causes the array to be reallocated in place, and the existing
contents copied over to the new array. If the new array length is
shorter, the array is not reallocated, and no data is copied. It is
equivalent to slicing the array:
equivalent to slicing the array:)

---------
array = array[0..7];
---------

If the new array length is longer, the remainder is filled out with the
$(P If the new array length is longer, the remainder is filled out with the
default initializer.
)

Expand Down
2 changes: 1 addition & 1 deletion changelog.dd
Expand Up @@ -259,7 +259,7 @@ $(VERSION 058, Feb 14, 2012, =================================================,

$(WHATSNEW
$(LI Add new => lambda syntax.)
$(LI Allow 1.userproperty syntax)
$(LI Allow 1.userproperty syntax. NOTE: 1.f is no longer a float literal, add a 0.)
$(LI Convert to -shared dmd switch instead of -dylib)
$(LI Better use of XMM registers in OS X 32 bit target.)
$(LI Add inline assembler support for AVX instructions (64 bit targets only).)
Expand Down
3 changes: 1 addition & 2 deletions class.dd
Expand Up @@ -1212,15 +1212,14 @@ new ($(I ArgumentList)) $(I Identifier) ($(I ArgumentList));
)

$(V2
$(SECTION3 <a name="ConstClass">Const Immutable and Shared Classes</a>,
$(SECTION3 $(LNAME2 ConstClass, Const, Immutable and Shared Classes))
$(P If a $(I ClassDeclaration) has a $(CODE const), $(CODE immutable)
or $(CODE shared) storage class, then it is as if each member of the class
was declared with that storage class.
If a base class is const, immutable or shared, then all classes derived
from it are also const, immutable or shared.
)
)
)

)
)
Expand Down
2 changes: 1 addition & 1 deletion const3.dd
Expand Up @@ -525,7 +525,7 @@ void foo(const int* x, int* y)
}
...
int i = 3;
foo(&i, &i);
foo(&amp;i, &amp;i);
)
)
)
Expand Down
73 changes: 63 additions & 10 deletions css/style.css
Expand Up @@ -409,30 +409,83 @@ div#translate

div#tools
{
margin: -1.5em;
margin-bottom: 0;
margin-right: 0;
display: inline;
float: right;
margin: 0;
margin-top: -15px;
margin-right: -18px;
text-align: right;
}

div#tools span
div#tools > a.button
{
padding-left: 0.5em;
font-size: 0.8em;
font-style: italic;
color: #666;
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
background-color:#ededed;
border:1px solid #dcdcdc;
display:inline-block;
color:#777777;
font-family:arial;
font-size:10px;
font-weight:bold;
padding:0px 6px;
text-decoration:none;
text-shadow:1px 1px 0px #ffffff;
}

div#tools a
div#tools > a.button:hover
{
color: #666;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
background-color:#dfdfdf;
}

div#tools > a.button:active
{
position: relative;
top: 1px;
}

div#tools img
{
vertical-align: middle;
}

a.tip {
position: relative;
}

a.tip span {
display: none;
position: absolute;
top: 25px;
left: auto;
right: 0;
width: 200px;
padding: 8px !important;
z-index: 100;
background: #000;
color: #eee !important;
font-style: normal !important;
font-size: 10px;
text-align: left;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;

/* undo inherited attributes */
text-shadow: none;
}

a:hover.tip span {
display: block;
}


div#content li
{
Expand Down
254 changes: 254 additions & 0 deletions d-array-article.dd

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions ddoc.dd
Expand Up @@ -866,6 +866,11 @@ $(P
$(TD $(B DOCFILENAME))
$(TD Set to the name of the generated output file.)
)
$(TR
$(TD $(B SRCFILENAME))
$(TD Set to the name of the source file the documentation is being
generated from.)
)
)

<h2>Using Ddoc for other Documentation</h2>
Expand Down
5 changes: 2 additions & 3 deletions declaration.dd
Expand Up @@ -574,8 +574,7 @@ void func() {
}
--------------------

$(P
There are $(V1 two) $(V2 three) special cases:
$(P There are $(V1 two) $(V2 three) special cases: )
$(OL
$(LI $(B typeof(this)) will generate the type of what $(B this)
would be in a non-static member function, even if not in a member
Expand All @@ -590,7 +589,7 @@ $(V2
)
)
)
)


--------------------
class A { }
Expand Down
21 changes: 20 additions & 1 deletion doc.ddoc
Expand Up @@ -100,7 +100,21 @@ $(FOOTER)
PAGE_TOOLS=
<div id="tools">
<!--span id="lastupdate">Last update $(DATETIME)</span-->
<span id="wiki"><a href="http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/$(WIKI)">Comment on this page</a></span>
<a href="https://github.com/D-Programming-Language/d-programming-language.org/edit/master/$(SRCFILENAME)" class="tip button">
Improve this page
<span>
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
</span>
</a>
<a href="http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/$(WIKI)" class="tip button">
Page wiki
<span>
View or edit the community-maintained wiki page associated with this page.
</span>
</a>
</div>

GOOGLE_TRANSLATE=
Expand Down Expand Up @@ -331,6 +345,7 @@ $(NAVBLOCK
$(TOCENTRYT templates-revisited.html, D takes a fresh look at template design, Templates Revisited)
$(TOCENTRYT tuple.html, What tuples are and how to use them, Tuples)
$(TOCENTRYT variadic-function-templates.html, Variadic arguments to templates, Variadic Templates)
$(TOCENTRYT d-array-article.html, D Slices, D Slices)
)

D_S = $(LAYOUT $(NAVIGATION),$1,$(ARGS $+))
Expand Down Expand Up @@ -461,5 +476,9 @@ DOLLAR=$
AMAZON= <iframe src="http://rcm.amazon.com/e/cm?t=classicempire&o=1&p=8&l=as1&asins=$0&fc1=000000&IS2=1&lt1=_blank&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
AMAZONLINK= $(LINK2 http://www.amazon.com/exec/obidos/ASIN/$1/classicempire, $+)

WEB = $(LINK2 http://$1,$2)
LUCKY = $(WEB
google.com/search?btnI=I%27m+Feeling+Lucky&amp;ie=UTF-8&amp;oe=UTF-8&amp;q=$0,$0)

FOO=FOO

13 changes: 13 additions & 0 deletions faq.dd
Expand Up @@ -57,6 +57,7 @@ $(D_S $(TITLE),
with many more questions answered)
$(LI $(LINK2 comparison.html, What does D have that C++ doesn't?))
$(ITEMR q1, Why the name D?)
$(ITEMR q1_1, Could you change the name? D is kind of hard to search for on search engines.)
$(LI $(LINK2 http://www.digitalmars.com/d/download.html, Where can I get a D compiler?))
$(ITEMR q1_2, Is there linux port of D?)
$(ITEMR gdc, Is there a GNU version of D?)
Expand Down Expand Up @@ -179,6 +180,18 @@ $(ITEM q1, Why the name D?)
$(LINK2 http://groups.google.com/group/comp.lang.c/browse_thread/thread/cb4b868fab477b61/d4b5407644d16806, thread).
)

$(ITEM q1_1, Could you change the name? D is kind of hard to search for on search engines.)

$(P No. We understand it can be frustrating but it's far too late for a
name change at this point. We recommend using "dlang", "d programming",
"d language", or "d programming language" in your search terms. Doing so
should yield substantially better search results.
)

$(P Most publically available D code has "// Written in the D programming
language" as its first comment.
)

$(ITEM q1_2, Is there a linux port of D?)

$(P Yes, the D compiler includes a $(LINK2 dmd-linux.html, linux version).
Expand Down
2 changes: 1 addition & 1 deletion float.dd
Expand Up @@ -141,7 +141,7 @@ $(V2
See $(DDSUBLINK expression, floating_point_comparisons, Floating point comparisons).
)

<h3><a name="floating-point-transformations">Floating Point Transformations</a></h2>
<h3><a name="floating-point-transformations">Floating Point Transformations</a></h3>

$(P An implementation may perform transformations on
floating point computations in order to reduce their strength,
Expand Down
4 changes: 2 additions & 2 deletions function.dd
Expand Up @@ -953,12 +953,12 @@ Bar
------

To protect against the vagaries of stack layouts on different
CPU architectures, use $(B std.stdarg) to access the variadic
CPU architectures, use $(B core.vararg) to access the variadic
arguments:

------
import std.stdio;
import $(B std.stdarg);
import $(B core.vararg);

void foo(int x, ...) {
writefln("%d arguments", _arguments.length);
Expand Down
69 changes: 69 additions & 0 deletions gsoc2012-template.dd
@@ -0,0 +1,69 @@
Ddoc

$(D_S D Programming Language $(VER),

$(HTMLTAG h2, Application template for the 2012 Google Summer of
Code program)

$(HTMLTAG h3, Personal Details)

$(P
$(UL
$(LI Name )
$(LI Email )
$(LI Personal website )
$(LI Skype/GTalk ID )
$(LI IRC nickname )
$(LI Phone number )
)
)

$(HTMLTAG h3, Skills)

$(P
$(UL
$(LI School )
$(LI Years completed )
$(LI Anticipated graduation )
$(LI Academic performance (list relevant coursework taken and grades) )
$(LI Programming experience level )
$(LI D experience level )
$(LI If you participated to past D projects or others (preferably open source), include a brief description of each)
$(LI Also list any specific skills in the specific project area (classes taken, research conducted, blogs and publications etc.))
$(UL References (names and emails of up to four relevant professors, employers or collaborators))
)
)

$(HTMLTAG h3, Your Project)

$(P
$(UL
$(LI One-sentence elevator pitch )
$(LI Detailed description )
$(LI How many hours per week do you expect to spend on the project? )
$(LI Your current progress on the idea&mdash;e.g. research, gathering information, concrete work if applicable )
$(LI Anticipated impact&mdash;if you implemented your idea to perfection, how will it have made the world a better place?)
$(LI Anticipated challenges)
$(LI Potential mentors)
)
)

$(HTMLTAG h3, Major Milestones)

$(P Put together a broad project plan. What are the major deliverables that would mark progress in your work, and when do you plan on delivering them? For example:)

$(UL
$(LI 06/01 Revise project plan with mentor, discuss strategy of approach)
$(LI 06/15 Mocks, small prototype available, finish research on the topic, begin coding)
$(LI 07/15 First reviewable code submitted implementing X, Y, and Z)
$(LI 08/15 Feature complete, review overall progress)
$(LI 09/01 Rule the world)
)

$(P Good luck!)
)

Macros:
TITLE=GSoC2012
WIKI=GSoC2012
HTMLTAG=<$1>$+</$1>

0 comments on commit 63b0fcf

Please sign in to comment.