implicit.ly

Scala software, hot off the presses

treehugger 0.1.1

Function type contructors

Several ways were added to create function types.

typ1 TYPE_=> typ2
TYPE_FUNCTION(typ, ..., r)
TYPE_FUNCTION(typ :: Nil, r)

Now accepting Iterables

DSL was expanded to accept Iterable[A] where it accepted vararg of A. Also implicit conversions were expanded to handle iterables. These changes should minimize explicit conversions that were necessary in the previous version:

withTypeParams(sym.pipeParams map {TYPEVAR(_)})

Bug fixes and minor enhancements

  • Fixes param modifiers not printing. #1
  • Fixes passing args to parent constructors. #2
  • Adds withParams(...) to DEF(sym). #3

treehugger.scala is a library to code Scala programmatically.

Filed under  //   Scala 2.8.1   Scala 2.9.1   com.eed3si9n   treehugger  

lmxml 0.1.1

Optional submodules were added:

  • lmxml-html includes html shortcuts when parsing LMXML
  • lmxml-template includes file base template inheritance when parsing LMXML
  • lmxml-json includes the ability to template JSON data
  • lmxml-cache includes an interface and serialization utilities for storing the compiled LMXML source.

The wiki has more information about each module located under Extending.

Some library changes:

  • JSON style attributes can be made strict for key transforms
  • Small changes to signatures in LmxmlParsers trait, adding extensibility
  • Transforms now work against attributes and text nodes
  • Added a CommentNode which can be converted now
  • The Lmxml object has been refactored to DefaultLmxml as users can now define their own Lmxml with included modules.

Light Markup to XML (LMXML) is a library for quickly creating recursive decent markup without the necessary obligation of opening or closing tags.

Curious? Try the command-line app, or the GAE web-app.

treehugger 0.1.0

This is the initial release of treehugger.scala.

It's a library for generating Scala code by constructing Scala abstract syntax tree.

treehugger.scala is a library to code Scala programmatically.

Filed under  //   Scala 2.8.1   Scala 2.9.1   com.eed3si9n   treehugger  

scalaxb 0.6.8

bug fixes and minor enhancements

  • Fixes handling of cross-namespace extension. #135 reported by @psnively
  • Fixes parsing to reject extra elements at the end. #124
  • Relaxes wsdl parsing to handle out-of-order wsdls. #87
  • wsdl generates baseAddress as a def. #134 by @hedefalk

scalaxb is an XML data-binding tool for Scala that supports W3C XML Schema (xsd) as the input file.

Filed under  //   Scala 2.8.1   Scala 2.9.1   org.scalaxb   scalaxb  

Lift Shiro 0.0.5

This update moves the integration away from snapshot and milestone dependencies and onto the final releases of both Shiro 1.2.0 and Lift 2.4.

In addition to this, the published JARs no longer sit on scala-tools.org, but rather they live on oss.sonatype.org. Please update your SBT resolver configuration to:

libraryDependencies += "eu.getintheloop" %% "lift-shiro" % "0.0.5"

resolvers ++= Seq( "apache.repo" at "https://repository.apache.org/content/repositories/releases/" "sonatype.repo" at "https://oss.sonatype.org/content/repositories/public/" )

</code></pre>

Lift Shiro

This is an integration between Apache Shiro and the Lift Web framework. Specifically this integration does not use Shiro's built in web.xml resource filters to control access to URLs... it instead uses Lift's sitemap Locs. In addition it also has a range of snippets for conditionally displaying content based on rules and permissions.

Please see this README for more information on project setup and usage.

Filed under  //   Lift Shiro   Scala 2.8.1   Scala 2.9.0   Scala 2.9.0-1   Scala 2.9.1   eu.getintheloop  

loglady 1.0.0

This is the first public release of loglady, a very simple logging trait with an API similar to Python's logging library.

Example:

class MyClass extends Logging {

  log.warn("We all float (%.4f) down here", 3.141592)
  log.debug("Some random stuff: %d %s %x", 42, List(0, 1, 1, 2, 3, 5), -559038737)
  log.error("Formatted date: %1$tm %1$te,%1$tY", new java.util.Date)

  try {
    throw new Exception("Oops!")
  } catch {
    case exc: Exception => {
      log.error(exc, "Something bad happened")
    }
  }
}

loglady is a crazy simple logging API for Scala, wrapping slf4j.

Filed under  //   Scala 2.8.1   Scala 2.8.2   Scala 2.9.0-1   Scala 2.9.1   loglady   org.eintr.loglady  
Posted January 23, 2012 by dln 

scalatra 2.0.3

  • Add support for Scala 2.8.2.

scalatra-auth

  • Fix crash in BasicAuthStrategy when no auth header is present. (GH-143)

scalatra-fileupload

  • Create hook to customize ServletFileUpload, for instance to set maximum upload size.

scalatra-tests

Scalatra is a tiny, Sinatra-like web framework for Scala.

Filed under  //   Scala 2.8.1   Scala 2.8.2   Scala 2.9.0   Scala 2.9.0-1   Scala 2.9.1   org.scalatra   scalatra  

sff4s 0.1.1

bug fix

  • Fixes impicitly converted juc.Future getting stuck. #2 fixed by @seratch

sff4s (simple future facade for Scala) is a Scala wrapper around several future implementations.

Filed under  //   Scala 2.8.1   Scala 2.9.1   com.eed3si9n   sff4s  

imap-idle 2.4-0.92

  • Compiled against Lift 2.4 and Scala 2.8.1, 2.9.0-1 and 2.9.1
  • Upgraded to SBT 0.11.2

The IMAP IDLE external Lift Module provides push-like email facilities so your Lift web application can be notified when email arrives.

Use in your Boot like this:

ImapIdle.init { m: javax.mail.Message => 
  println("You've got mail: "+EmailUtils.dump(m))
  true // delete the email on the server
}

Filed under  //   Scala 2.8.1   Scala 2.9.0-1   Scala 2.9.1   imap-idle   net.liftmodules