Skip to content

Commit

Permalink
Updated author email.
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Jan 3, 2014
1 parent c74c53a commit aaecd5f
Show file tree
Hide file tree
Showing 202 changed files with 202 additions and 205 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/AttributeValue.scala
@@ -1,7 +1,7 @@
package org.hyperscala

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait AttributeValue {
def value: String
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/Container.scala
Expand Up @@ -5,7 +5,7 @@ import org.jdom2.{Comment => JDOMComment, Text, Content, Element}
import scala.collection.JavaConversions._

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait Container[C <: XMLContent] extends MutableContainer[C] with Markup {
override def xmlChildren = contents
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/InclusionMode.scala
Expand Up @@ -3,7 +3,7 @@ package org.hyperscala
import org.powerscala.enum.{Enumerated, EnumEntry}

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class InclusionMode protected() extends EnumEntry

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/Markup.scala
Expand Up @@ -10,7 +10,7 @@ import org.powerscala.event.{Intercept, Listenable}
import org.powerscala.event.processor.InterceptProcessor

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait Markup extends XMLContent with Listenable with Logging {
private val _initialized = new AtomicBoolean(false)
Expand Down
Expand Up @@ -8,7 +8,7 @@ import org.powerscala.hierarchy.ChildLike
/**
* Convenience intercepting of actions in a page.
*
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class MarkupIntercepting(parentInterceptor: MarkupIntercepting) extends Listenable with ChildLike[MarkupIntercepting] {
protected def hierarchicalParent = parentInterceptor
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/Page.scala
Expand Up @@ -6,7 +6,7 @@ import module.{Module, Interface}
import org.powerscala.log.Logging

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait Page extends Listenable with Updatable with Logging {
protected def parentIntercept: MarkupIntercepting = null
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/PropertyAttribute.scala
Expand Up @@ -6,7 +6,7 @@ import persistence.ValuePersistence
import org.powerscala.event.Listenable

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class PropertyAttribute[T](val name: String,
default: T,
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/Tag.scala
Expand Up @@ -12,7 +12,7 @@ import org.powerscala.property.{Property, PropertyLike}
import org.powerscala.event.Listenable

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait Tag extends Markup with AttributeContainer[PropertyAttribute[_]] {
implicit val thisTag = this
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/TextMarkup.scala
@@ -1,6 +1,6 @@
package org.hyperscala

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait TextMarkup extends Markup
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/Textual.scala
Expand Up @@ -5,7 +5,7 @@ import org.jdom2.{Element, Content}
import persistence.StringPersistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait Textual extends Markup {
lazy val content = PropertyAttribute[String]("content", null, inclusion = InclusionMode.Exclude)(StringPersistence, this, implicitly[Manifest[String]])
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/Unique.scala
Expand Up @@ -3,7 +3,7 @@ package org.hyperscala
import java.util.UUID

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object Unique {
def apply(): String = UUID.randomUUID().toString.replace("-", "") match {
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/XMLAttribute.scala
Expand Up @@ -3,7 +3,7 @@ package org.hyperscala
import io.HTMLWriter

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait XMLAttribute {
def name: String
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/XMLContent.scala
Expand Up @@ -4,7 +4,7 @@ import io.HTMLWriter
import org.jdom2._

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait XMLContent extends org.powerscala.hierarchy.Element[Any] {
def write(writer: HTMLWriter): Unit
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/event/TagCreated.scala
Expand Up @@ -3,6 +3,6 @@ package org.hyperscala.event
import org.hyperscala.Tag

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
case class TagCreated(tag: Tag)
2 changes: 1 addition & 1 deletion core/src/main/scala/org/hyperscala/io/HTMLWriter.scala
Expand Up @@ -3,7 +3,7 @@ package org.hyperscala.io
import annotation.tailrec

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
case class HTMLWriter(writer: String => Unit, tab: String = " ", newLine: String = "\n") {
private var _tabs: Int = 0
Expand Down
@@ -1,7 +1,7 @@
package org.hyperscala.persistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object BooleanPersistence extends ValuePersistence[Boolean] {
def fromString(s: String, name: String, clazz: Class[_]) = s != null && s.nonEmpty
Expand Down
@@ -1,7 +1,7 @@
package org.hyperscala.persistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object CharPersistence extends ValuePersistence[Char] {
def fromString(s: String, name: String, clazz: Class[_]) = s.charAt(0)
Expand Down
Expand Up @@ -3,7 +3,7 @@ package org.hyperscala.persistence
import org.powerscala.Color

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object ColorPersistence extends ValuePersistence[Color] {
def fromString(s: String, name: String, clazz: Class[_]) = Color(s)
Expand Down
@@ -1,7 +1,7 @@
package org.hyperscala.persistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object DoublePersistence extends ValuePersistence[Double] {
def fromString(s: String, name: String, clazz: Class[_]) = s.collect {
Expand Down
Expand Up @@ -5,7 +5,7 @@ import org.powerscala.reflect._
import org.hyperscala.AttributeValue

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait EnumEntryPersistence[E <: EnumEntry with AttributeValue] extends ValuePersistence[E] {
def fromString(s: String, name: String, clazz: Class[_]) = {
Expand Down
@@ -1,7 +1,7 @@
package org.hyperscala.persistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object IntPersistence extends ValuePersistence[Int] {
def fromString(s: String, name: String, clazz: Class[_]) = s.collect {
Expand Down
Expand Up @@ -3,7 +3,7 @@ package org.hyperscala.persistence
import org.powerscala.Language

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
// TODO: use ISO codes instead
object LanguagePersistence extends ValuePersistence[Language] {
Expand Down
Expand Up @@ -3,7 +3,7 @@ package org.hyperscala.persistence
import scala.collection.immutable.ListSet

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object ListSetStringPersistence extends ValuePersistence[ListSet[String]] {
def fromString(s: String, name: String, clazz: Class[_]) = ListSet(s.split(" "): _*)
Expand Down
@@ -1,7 +1,7 @@
package org.hyperscala.persistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object ListStringPersistence extends ValuePersistence[List[String]] {
def fromString(s: String, name: String, clazz: Class[_]) = s.split(" ").toList
Expand Down
@@ -1,7 +1,7 @@
package org.hyperscala.persistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object SetStringPersistence extends ValuePersistence[Set[String]] {
def fromString(s: String, name: String, clazz: Class[_]) = s.split(" ").toSet
Expand Down
@@ -1,7 +1,7 @@
package org.hyperscala.persistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object StringPersistence extends ValuePersistence[String] {
def fromString(s: String, name: String, clazz: Class[_]) = s
Expand Down
@@ -1,7 +1,7 @@
package org.hyperscala.persistence

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait ValuePersistence[T] {
def fromString(s: String, name: String, clazz: Class[_]): T
Expand Down
Expand Up @@ -9,7 +9,7 @@ import org.hyperscala.jquery.jQuery172
import org.hyperscala.examples.Example

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class FormExample extends Example {
Webpage().require(jQuery172)
Expand Down
Expand Up @@ -7,7 +7,7 @@ import org.hyperscala.examples.Example
import org.powerscala.Color

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class FramedExample extends Example {
contents += new Framed(new InlinePage) {
Expand Down
Expand Up @@ -4,7 +4,7 @@ import org.hyperscala.html._
import org.hyperscala.examples.Example

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class HelloWorldPage extends Example {
contents += "Hello World!"
Expand Down
Expand Up @@ -9,7 +9,7 @@ import org.hyperscala.examples.Example
import language.reflectiveCalls

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class AutoCompleteExample extends Example {
Webpage().require(Autocomplete)
Expand Down
Expand Up @@ -6,14 +6,13 @@ import org.hyperscala.css.attributes._

import org.powerscala.property._
import org.powerscala.Country
import org.hyperscala.ui.widgets.visual.`type`.DateInputVisualType
import org.hyperscala.web.Webpage
import org.hyperscala.realtime.{RealtimeEvent, Realtime}
import org.hyperscala.examples.Example
import language.reflectiveCalls

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class VisualExample extends Example {
Webpage().require(Realtime)
Expand Down
2 changes: 1 addition & 1 deletion generator/src/main/resources/constraints.template
Expand Up @@ -4,6 +4,6 @@ import org.hyperscala.html.HTMLTag

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait %s extends HTMLTag
2 changes: 1 addition & 1 deletion generator/src/main/resources/enum.template
Expand Up @@ -6,7 +6,7 @@ import org.hyperscala.AttributeValue

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
sealed class %2$s(val value: String) extends EnumEntry with AttributeValue

Expand Down
2 changes: 1 addition & 1 deletion generator/src/main/resources/global.template
Expand Up @@ -8,7 +8,7 @@ import scala.collection.{Map => ScalaMap}

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
trait HTMLTag extends Tag with EventSupport {
%s
Expand Down
2 changes: 1 addition & 1 deletion generator/src/main/resources/instantiatableEnum.template
Expand Up @@ -6,7 +6,7 @@ import org.hyperscala.AttributeValue

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class %2$s(val value: String) extends EnumEntry with AttributeValue

Expand Down
2 changes: 1 addition & 1 deletion generator/src/main/resources/stylesheet.template
Expand Up @@ -9,7 +9,7 @@ import org.powerscala.Color

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class StyleSheet extends PropertyParent {
implicit val stringPersistence = StringPersistence
Expand Down
2 changes: 1 addition & 1 deletion generator/src/main/resources/tag.template
Expand Up @@ -7,7 +7,7 @@ import org.hyperscala.html.constraints._
%s
/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
class %s extends %s {
lazy val xmlLabel = "%s"
Expand Down
Expand Up @@ -6,7 +6,7 @@ import annotation.tailrec
import org.powerscala.IO

/**
* @author Matt Hicks <mhicks@powerscala.org>
* @author Matt Hicks <matt@outr.com>
*/
object HTMLCodeGenerator {
val BaseOutput = new File("core/src/main/scala/org/hyperscala")
Expand Down
Expand Up @@ -6,7 +6,7 @@ import org.hyperscala.AttributeValue

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
sealed class Alignment(val value: String) extends EnumEntry with AttributeValue

Expand Down
Expand Up @@ -6,7 +6,7 @@ import org.hyperscala.AttributeValue

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
sealed class Clear(val value: String) extends EnumEntry with AttributeValue

Expand Down
Expand Up @@ -6,7 +6,7 @@ import org.hyperscala.AttributeValue

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
sealed class Display(val value: String) extends EnumEntry with AttributeValue

Expand Down
Expand Up @@ -6,7 +6,7 @@ import org.hyperscala.AttributeValue

/**
* NOTE: This file has been generated. Do not modify directly!
* @author Matt Hicks <mhicks@hyperscala.org>
* @author Matt Hicks <matt@outr.com>
*/
sealed class Float(val value: String) extends EnumEntry with AttributeValue

Expand Down

0 comments on commit aaecd5f

Please sign in to comment.