3 Commits
Author SHA1 Message Date
Vladimir Panteleev 950f16fd23 Update Changelog 2012-02-29 14:01:22 +02:00
Vladimir Panteleev 0dd9dcdb2f Escape empty path segments 2012-02-29 13:56:37 +02:00
Vladimir Panteleev 5e69e44c17 Fix compilation with latest DMD 2012-02-27 21:54:51 +02:00
3 changed files with 16 additions and 3 deletions
+5
View File
@@ -1,6 +1,11 @@
RABCDAsm Changelog
==================
RABCDAsm v1.10 (2012.02.29)
---------------------------
* Fixed escaping of paths with empty segments
RABCDAsm v1.9 (2012.02.07)
--------------------------
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2010, 2011 Vladimir Panteleev <vladimir@thecybershadow.net>
* Copyright 2010, 2011, 2012 Vladimir Panteleev <vladimir@thecybershadow.net>
* This file is part of RABCDAsm.
*
* RABCDAsm is free software: you can redistribute it and/or modify
@@ -48,7 +48,7 @@ template AutoCompare()
int opCmp(ref const typeof(this) s) const { return _AutoDataCmp(&s); }
}
private hash_t _AutoDataHash() const
@trusted private hash_t _AutoDataHash() const
{
HashDataHandler handler;
handler.hasher.Begin();
+9 -1
View File
@@ -591,7 +591,15 @@ final class RefBuilder : ASTraitsVisitor
result ~= format("%%%02X", c);
else
result ~= c;
return result;
auto pathSegments = result.split("/");
if (!pathSegments.length)
pathSegments = [""];
foreach (ref pathSegment; pathSegments)
if (pathSegment == "")
pathSegment = "%";
return arrayJoin(pathSegments);
}
string[] strings = new string[segments.length];