Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 7fea7a947502e8ed9cad90011583aa1da148ab65 1 parent 3971f1c
@mrmonday authored
View
2  serenity/core/Controller.d
@@ -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;
View
4 serenity/core/Dispatcher.d
@@ -4,7 +4,7 @@
* 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;
@@ -12,7 +12,7 @@ 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
3  serenity/core/Request.d
@@ -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 serenity/core/Response.d
@@ -4,7 +4,7 @@
* 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;
@@ -12,7 +12,7 @@ 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
2  serenity/core/Router.d
@@ -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
2  serenity/document/Form.d
@@ -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;
View
4 serenity/document/HtmlDocument.d
@@ -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;
View
6 serenity/core/Util.d → serenity/util/Misc.d
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.