mirror of https://github.com/adamdruppe/arsd.git
Merge 168895801e
into d944083fe9
This commit is contained in:
commit
43cca9632e
4
cgi.d
4
cgi.d
|
@ -1764,8 +1764,8 @@ version(fastcgi) {
|
||||||
/* Helpers for doing temporary files. Used both here and in web.d */
|
/* Helpers for doing temporary files. Used both here and in web.d */
|
||||||
|
|
||||||
version(Windows) {
|
version(Windows) {
|
||||||
import core.sys.windows;
|
import core.sys.windows.windows;
|
||||||
extern(Windows) DWORD GetTempPathW(DWORD, LPTSTR);
|
extern(Windows) DWORD GetTempPathW(DWORD, LPWSTR);
|
||||||
alias GetTempPathW GetTempPath;
|
alias GetTempPathW GetTempPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,6 @@ string convertToUtf8(immutable(ubyte)[] data, string dataCharacterEncoding) {
|
||||||
switch(encoding) {
|
switch(encoding) {
|
||||||
default:
|
default:
|
||||||
throw new Exception("I don't know how to convert " ~ dataCharacterEncoding ~ " to UTF-8");
|
throw new Exception("I don't know how to convert " ~ dataCharacterEncoding ~ " to UTF-8");
|
||||||
break;
|
|
||||||
// since the input is immutable, these are ok too.
|
// since the input is immutable, these are ok too.
|
||||||
// just want to cover all the bases with one runtime function.
|
// just want to cover all the bases with one runtime function.
|
||||||
case "utf16":
|
case "utf16":
|
||||||
|
|
6
dom.d
6
dom.d
|
@ -1754,7 +1754,7 @@ class DocumentFragment : Element {
|
||||||
}
|
}
|
||||||
|
|
||||||
///.
|
///.
|
||||||
string writeToAppender(Appender!string where = appender!string()) const {
|
override string writeToAppender(Appender!string where = appender!string()) const {
|
||||||
return this.innerHTML(where);
|
return this.innerHTML(where);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1967,7 +1967,7 @@ class RawSource : Element {
|
||||||
}
|
}
|
||||||
|
|
||||||
///.
|
///.
|
||||||
string writeToAppender(Appender!string where = appender!string()) const {
|
override string writeToAppender(Appender!string where = appender!string()) const {
|
||||||
where.put(source);
|
where.put(source);
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
@ -4402,7 +4402,7 @@ class CssStyle {
|
||||||
case "outline-left":
|
case "outline-left":
|
||||||
case "outline-right":
|
case "outline-right":
|
||||||
|
|
||||||
default: ;
|
default: {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue