[commit: packages/filepath] master: Reformat and make everything consistent, don't quote \, or it gets too confusing (95ed27b)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:35:55 UTC 2015


Repository : ssh://git@git.haskell.org/filepath

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/95ed27b131017eaf6b3a77b0a256dfb2e3af3688

>---------------------------------------------------------------

commit 95ed27b131017eaf6b3a77b0a256dfb2e3af3688
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Tue Oct 28 21:42:36 2014 +0000

    Reformat and make everything consistent, don't quote \, or it gets too confusing


>---------------------------------------------------------------

95ed27b131017eaf6b3a77b0a256dfb2e3af3688
 changelog.md | 39 +++++++++++++++------------------------
 1 file changed, 15 insertions(+), 24 deletions(-)

diff --git a/changelog.md b/changelog.md
index ec5f0c0..83ff2a5 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,43 +1,34 @@
 # Changelog for [`filepath` package](http://hackage.haskell.org/package/filepath)
 
+_Note: below all `FilePath` values are unquoted, so `\\` really means two backslashes.
+
 ## 1.3.0.3  *TBA*
 
   * Bundled with GHC 7.10.1
 
-  * Semantic change: `joinDrive "/foo" "bar"` now returns `"/foo/bar"`,
-    instead of `"/foobar"`.
+  * Semantic change: `joinDrive /foo bar` now returns `/foo/bar`,     instead of `/foobar`
 
-  * Bug fix, on Posix systems, `normalise "//home"` now returns `"/home"`,
-    instead of `"//home"`.
+  * Bug fix: on Posix systems, `normalise //home` now returns `/home`, instead of `//home`
 
-  * Bug fix, `normalise "/./"` now returns "/" on Posix and "\\" on Windows,
-    instead of "//" and "\\\\".
+  * Bug fix: `normalise /./` now returns `/` on Posix and `\` on Windows, instead of `//` and `\\`
 
-  * Bug fix: `isDrive ""` now retuns `False`, instead of `True`.
+  * Bug fix: `isDrive ""` now returns `False`, instead of `True`
 
-  * Bug fix: on Windows, `dropTrailingPathSeparator "/"` now returns `"/"`
-    unchanged, instead of the normalised `"\\"`.
+  * Bug fix: on Windows, `dropTrailingPathSeparator /` now returns `/` unchanged, instead of the normalised `\`
 
-  * Bug fix: on Windows, `equalFilePath "C:\\" "C:"` now retuns `False`,
-    instead of `True`.
+  * Bug fix: on Windows, `equalFilePath C:\ C:` now returns `False`, instead of `True`
 
-  * Bug fix: on Windows, `isValid "\\\\\\foo"` now returns `False`, instead
-    of `True`.
+  * Bug fix: on Windows, `isValid \\\foo` now returns `False`, instead of `True`
 
-  * Bug fix: on Windows, `isValid "\\\\?\\D:file"` now returns `False`,
-    instead of `True`.
+  * Bug fix: on Windows, `isValid \\?\D:file` now returns `False`, instead of `True`
 
-  * Bug fix: on Windows, `normalise "\\"` now retuns `"\\"` unchanged,
-    instead of `"\\\\"`.
+  * Bug fix: on Windows, `normalise \` now returns `\` unchanged, instead of `\\`
 
-  * Bug fix: on Windows, `normalise "C:.\\"` now retuns `"C:"`, instead of
-    `"C:\\"`.
+  * Bug fix: on Windows, `normalise C:.\` now returns `C:`, instead of `C:\\`
 
-  * Bug fix: on Windows, `normalise "//server/test"` now retuns
-    `"\\\\server\\test"`, instead of `"//server/test"` unchanged.
+  * Bug fix: on Windows, `normalise //server/test` now returns `\\server\test`, instead of `//server/test` unchanged
 
-  * Bug fix: on Windows, `makeRelative "/" "//"` now returns `"//"`, instead
-    of `""`.
+  * Bug fix: on Windows, `makeRelative / //` now returns `//`, instead of `""`
 
 ## 1.3.0.2  *Mar 2014*
 
@@ -59,4 +50,4 @@
 
   * Add support for SafeHaskell
 
-  * Fix `normalise "/"` to result in `"/"` rather than `"/."`
+  * Bug fix: `normalise /` now returns `/`, instead of `/.`



More information about the ghc-commits mailing list