Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
950f16fd23 | ||
|
|
0dd9dcdb2f | ||
|
|
5e69e44c17 |
@@ -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
@@ -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
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user