Permalink
Browse files

Move serenity.core.Util into its own package as 'Misc'.

  • Loading branch information...
1 parent 3971f1c commit 7fea7a947502e8ed9cad90011583aa1da148ab65 @mrmonday committed Apr 20, 2012
@@ -10,7 +10,7 @@
module serenity.core.Controller;
import serenity.core.Log;
-import serenity.core.Util;
+import serenity.util.Misc;
public import serenity.document.HtmlDocument;
public import serenity.core.Request;
@@ -4,15 +4,15 @@
* core/Dispatcher.d: Dispatch a request
*
* Authors: Robert Clipsham <robert@octarineparrot.com>
- * Copyright: Copyright (c) 2010, 2011, Robert Clipsham <robert@octarineparrot.com>
+ * Copyright: Copyright (c) 2010, 2011, 2012, Robert Clipsham <robert@octarineparrot.com>
* License: New BSD License, see COPYING
*/
module serenity.core.Dispatcher;
import serenity.core.Request;
import serenity.core.Response;
import serenity.core.Router;
-import serenity.core.Util;
+import serenity.util.Misc;
class Dispatcher
{
View
@@ -9,8 +9,7 @@
*/
module serenity.core.Request;
-//import serenity.core.Form;
-import serenity.core.Util;
+import serenity.util.Misc;
import std.conv;
import std.stream;
View
@@ -4,15 +4,15 @@
* core/Response.d: Represents a response to a request
*
* Authors: Robert Clipsham <robert@octarineparrot.com>
- * Copyright: Copyright (c) 2010, 2011, Robert Clipsham <robert@octarineparrot.com>
+ * Copyright: Copyright (c) 2010, 2011, 2012, Robert Clipsham <robert@octarineparrot.com>
* License: New BSD License, see COPYING
*/
module serenity.core.Response;
import serenity.document.HtmlDocument;
import serenity.document.HtmlPrinter;
import serenity.core.Request;
-import serenity.core.Util;
+import serenity.util.Misc;
import std.stream;
import std.string;
View
@@ -14,7 +14,7 @@ import std.string;
import serenity.core.Config;
import serenity.core.Controller;
-import serenity.core.Util;
+import serenity.util.Misc;
mixin SerenityException!("Router");
View
@@ -11,7 +11,7 @@ module serenity.document.Form;
import serenity.document.HtmlDocument;
import serenity.core.Request;
-import serenity.core.Util;
+import serenity.util.Misc;
import std.string;
@@ -4,14 +4,14 @@
* document/HtmlDocument.d: Represents an HTML document
*
* Authors: Robert Clipsham <robert@octarineparrot.com>
- * Copyright: Copyright (c) 2010, 2011, Robert Clipsham <robert@octarineparrot.com>
+ * Copyright: Copyright (c) 2010, 2011, 2012, Robert Clipsham <robert@octarineparrot.com>
* License: New BSD License, see COPYING
*/
module serenity.document.HtmlDocument;
public import serenity.document.Document;
-import serenity.core.Util;
+import serenity.util.Misc;
import std.array : split;
import std.algorithm;
@@ -1,13 +1,13 @@
/**
* Serenity Web Framework
*
- * core/Util.d: Utilities for Serenity
+ * util/Misc.d: Miscellaneous utilities for Serenity
*
* Authors: Robert Clipsham <robert@octarineparrot.com>
- * Copyright: Copyright (c) 2011, Robert Clipsham <robert@octarineparrot.com>
+ * Copyright: Copyright (c) 2011, 2012, Robert Clipsham <robert@octarineparrot.com>
* License: New BSD License, see COPYING
*/
-module serenity.core.Util;
+module serenity.util.Misc;
/**
* Quick and dirty hack for making the first character of a string lower case

0 comments on commit 7fea7a9

Please sign in to comment.