implicit.ly

Scala software, hot off the presses

Dispatch 0.7.6

  • Enabled redirect handling for all request methods
  • Dropped compilation for Scala 2.7.5, 2.7.6
  • dispatch-lift-json depends lift-json 2.1-M1
  • Support for Google ClientLogin authorization by Chris Lewis
  • Optional Json extractor ?? contributed by musk
  • Added the optional "oauth_version" parameter to the OAuth Authorization header, because stream.twitter.com requires it.

Databinder Dispatch is a library for HTTP interaction, from asynchronous GETs to multi-part OAuth-enticated POSTs.

Filed under  //   Dispatch   net.databinder   Scala 2.7.7   Scala 2.8.0  

giter8 0.1.1

  • Write to current directory when the "name" parameter is absent.

giter8 is a command line tool for templates published to github.

Filed under  //   giter8 project   net.databinder   Scala 2.8.0  

knockoff 0.7.3-15

  • Fix where CRLF sequences would break the empty space matcher.
  • First pass at a markdown generator for testing.

Knockoff is a markdown processor library for converting Markdown documents to XHTML and experimentally other formats.

Filed under  //   com.tristanhunt   knockoff   Scala 2.7.4   Scala 2.7.5   Scala 2.7.6   Scala 2.7.7   Scala 2.8.0  

Unfiltered 0.1.4

library

  • The parameter extractor abstract class Params.Named is now called Params.Extract
  • A new QParams object facilitates fine-grained error reporting for arbitrarily many failing parameters. See example usage in ParamsSpec. Special thanks to league for rewriting it, twice.
  • Support for multi-valued request headers (simplistic tokenization on comma) contributed by chrislewis

uploads

Multipart file upload extractors

json

  • Jsonp callback extractors
  • JsonBody extractor which extracts the body of an accepts application/json request and parses the result with lift-json

scalate

Unfiltered is a toolkit for serving HTTP requests in Scala.

Filed under  //   net.databinder   Scala 2.7.7   Scala 2.8.0   Unfiltered Web Toolkit  

scalasti 0.5

  • Added makeBeanAttribute() methods, which automatically map Scala objects to Java Beans for use with StringTemplate. Addresses Scalasti Issue #1.
  • Moved isOfType method to the ClassUtil library.
  • Updated to released 1.2 version of ScalaTest and updated the dependency to be a test, rather than runtime, one.
  • Moved unit testers into package-specific subdirectories.

The Scalasti library is a Scala interface to the StringTemplate Java template library. It provides most of the features of StringTemplate, plus a few capabilities not found in StringTemplate, using a more Scala-friendly syntax.

Filed under  //   org.clapper   Scala 2.8.0   scalasti  

classutil 0.2.2

  • Added ClassUtil utility module, with some useful utility methods, including: isPrimitive() methods that test objects and classes to see if they represent primitives; an isOfType method that uses a Scala Manifest to allow runtime tests against generic types; and a loadClass method that simplifies loading a class from its bytes.
  • Added ScalaObjectToBean, which takes a Scala object and creates a Java bean that wraps it, at runtime.
  • Added ClassNameGenerator, which generates class names automatically.
  • Refactored various internal implementation details, for ease of re-use.
  • Updated to released 1.2 version of ScalaTest and converted its dependency in SBT to a test-time, not run-time, dependency.

The org.clapper.classutil (ClassUtil) library is a Scala package that provides various class location and class generation capabilities, including:

  • Methods to locate and filter classes quickly, at runtime--more quickly, in fact, than can be done with the JVM's runtime reflection capabilities.
  • Methods for converting Scala maps into Java Beans, on the fly--which can be useful when generating data for use with APIs (e.g., template APIs) that accept Java Beans, but not maps.

Filed under  //   classutil   org.clapper   Scala 2.8.0  

sxr-publish 0.2.0

In order to work with the App Engine blobstore we had to change the sxr publishing API. You must upgrade to this version to continue to push annotated sources to implicit.ly sourced.

  • Can publish sources larger than 1 MB
  • Publishes test sources in additon to main sources

sxr-publish is a plugin for Simple Build Tool to publish source files annotated by Scala X-Ray.

Filed under  //   net.databinder   sbt plugin   Scala 2.7.7   sxr-publish  

Grizzled Scala 0.7.4

  • Added grizzled.reflect module and grizzled.reflect.isOfType() method, which uses scala.reflect.Manifest to simplify erasure-proof type tests. e.g.:

    def test(v: Any) =
    {
        import grizzled.reflect._
        if (isOfType[List[Int]](v))
            ...
        else if (isOfType[List[Char]](v))
            ...
        ...
    }
  • Moved grizzled.parsing.markup to the new, separate MarkWrap library. Among other things, this move keeps the Grizzled Scala library more focused and reduces transitive dependencies.
  • Removed most explicit matches against Some and None, making better use of the Scala API.
  • Updated to released 1.2 version of ScalaTest.
  • Changed dependency on ScalaTest to be a test-only dependency.

The Grizzled Scala Library contains a variety of miscellaneous utility classes and objects. Basically, whenever I find myself writing something that's general-purpose, I put it in here, so I can easily use it in multiple projects.

Filed under  //   Grizzled Scala   org.clapper   Scala 2.8.0  

metrics 1.0.7

More Timer metrics:

  • Added median to Timer.
  • Added p95 to Timer (95th percentile).
  • Added p98 to Timer (98th percentile).
  • Added p99 to Timer (99th percentile).

Metrics is a Scala library for exposing application metrics via JMX.

Filed under  //   com.yammer   metrics   Scala 2.8.0  

markwrap 0.1

The MarkWrap library (pronounced "mark wrap" or "more crap", depending on your preference) is a Scala library that provides a unified API for using various underlying lightweight markup APIs. Currently, it supports:

  • Markdown, via the Knockoff parser.
  • Textile, via the Eclipse Mylyn wikitext parser API.
  • An internal handler that wraps plain text in <pre> and </pre> tags.
  • An internal handler that simply passes HTML straight through.

See the MarkWrap web site for more details.

Filed under  //   markwrap   org.clapper   Scala 2.8.0