Permalink
Switch branches/tags
Commits on Jun 24, 2014
  1. Extract basic API info from docs.

    Shadowfiend committed Jun 24, 2014
    Not extracting the members yet, just the item type, its name,
    and its signature.
  2. Adjust path to search.js based on file depth.

    Shadowfiend committed Jun 24, 2014
    We do this by tracking a nestLevel during our recursive
    descent and including it in the information describing each file.
    We also wrap all that info in a FileInfo case class, which
    replaces the old tuple.
  3. Recursively add search to API docs.

    Shadowfiend committed Jun 24, 2014
    The “search” that’s being added is still wrong, but the
    recursion is alllll riiiiiight.
Commits on Jun 23, 2014
  1. First pass at adding (better) search to API docs.

    Shadowfiend committed Jun 23, 2014
    Right now we mostly just have the API docs builder script
    run through a documentation helper that adds a JS file to
    HTML files.
    
    For now, we’re only doing the HTML files at the root of the
    documentation directory, which isn’t terribly useful, but it does
    work. More to come.
Commits on Jun 22, 2014
  1. Properly copy API docs to output directory.

    Shadowfiend committed Jun 22, 2014
    This should also let us do further processing on the API docs.
  2. Retarget API docs off of the base docs dir.

    Shadowfiend committed Jun 22, 2014
    The build-api-docs script now puts the API docs in the
    api/scala-<version> under the docs/ directory in the dexy
    working directory.
Commits on Jun 21, 2014
  1. Handle API docs for multiple scala versions.

    Shadowfiend committed Jun 21, 2014
    Before, the copying part of the build-api-docs task was failing
    because built API docs go to target/scala-<version>/api, not
    just target/api. We now properly copy all versions into the
    working directory.
  2. Make build-api-docs script work standalone.

    Shadowfiend committed Jun 21, 2014
    Running docs/scripts/build-api-docs.sh should now properly
    send the resulting API documentation to target/docs/api.
  3. Add dexy target/script for building API docs.

    Shadowfiend committed Jun 21, 2014
    Right now this doesn’t work because json-scalaz.
  4. Produce CSS selector example specs for 2.11.

    Shadowfiend committed Jun 21, 2014
    We need to mix in XmlMatchers to the Specification for the appropriate version
    of specs2 to take.
  5. Merge remote-tracking branch 'origin/master' into so-you-can-dexy-whi…

    Shadowfiend committed Jun 21, 2014
    …le-you-dexy
    
    Conflicts:
    	project/Build.scala
  6. Drop lift-json-scalaz.

    Shadowfiend committed Jun 21, 2014
    We’re only building on 2.11, so we’re only building
    lift-json-scalaz7.
Commits on Jun 20, 2014
  1. Merge branch 'master' into so-you-can-dexy-while-you-dexy

    Shadowfiend committed Jun 20, 2014
    Conflicts:
    	.gitignore
  2. Merge branch 'master' into lift_30

    Shadowfiend committed Jun 20, 2014
    Conflicts:
    	build.sbt
    	core/markdown/src/main/scala/net/liftweb/markdown/BaseParsers.scala
    	core/markdown/src/test/scala/net/liftweb/markdown/LineTokenizerTest.scala
    	core/util/src/test/scala/net/liftweb/util/BindHelpersSpec.scala
    	core/util/src/test/scala/net/liftweb/util/CssSelectorSpec.scala
    	core/util/src/test/scala/net/liftweb/util/TimeHelpersSpec.scala
    	core/util/src/test/scala/net/liftweb/util/VCardParserSpec.scala
    	persistence/mapper/src/main/scala/net/liftweb/mapper/MetaMapper.scala
    	persistence/mongodb/src/main/scala/net/liftweb/mongodb/Mongo.scala
    	persistence/mongodb/src/test/scala/net/liftweb/mongodb/MongoDirectSpec.scala
    	persistence/mongodb/src/test/scala/net/liftweb/mongodb/MongoDocumentExamplesSpec.scala
    	persistence/record/src/test/scala/net/liftweb/record/RecordSpec.scala
    	project/Build.scala
    	project/Dependencies.scala
    	web/webkit/src/main/scala/net/liftweb/http/CometActor.scala
    	web/webkit/src/main/scala/net/liftweb/http/LiftRules.scala
    	web/webkit/src/main/scala/net/liftweb/http/LiftSession.scala
Commits on Jun 18, 2014
  1. Merge pull request #1568 from lift/bounded-binding

    Shadowfiend committed Jun 18, 2014
    Bounded Binding: Remove old bind strategy
    
    The PR blows away bind and most things that came with it. It preserves a few functions
    that were in BindHelpers that were related to more general HTML manipulation, which
    now live in an HtmlHelpers trait instead. It also rearranges the ToCssBindPromoter
    implicits so that they are implicit classes and in a single centralized place (a
    CssBindImplicits trait). These are mixed into HtmlHelpers and through there into
    Helpers, so importing Helpers._ will continue to import the appropriate implicit
    conversions.
    
    The second thing this does is rewrite few points where we were still leaning on
    the old binding strategy, particularly PaginatorSnippet, the Menu snippet, mapper
    view support stuff, LiftScreen, and lift-proto's Crudify and ProtoUser. The
    snippets themselves may not be optimal now; however, I made the rewriting function
    very similarly to how it functioned before (using CSS classes instead of the element
    names that the binding style was using), leaving decisions on whether the snippets
    should be further reworked for another time.
  2. Ignore vim swap files.

    Shadowfiend committed Jun 18, 2014
  3. Fix CSS selector example docs based on tests.

    Shadowfiend committed Jun 18, 2014
    First errors caught by test failures during documentation
    generation! :)
  4. Fix structure and matching in extracted tests.

    Shadowfiend committed Jun 18, 2014
    Because of how HTML parsing works, we need to guarantee
    a root node, so we wrap the input and output in a div. Then,
    we include the div in the comparison we do after the fact.
    
    We also compare rendered input to output ignoring
    whitespace.
  5. Add support for setup code for example extractor.

    Shadowfiend committed Jun 18, 2014
    This setup code is a code block marked with a .setup class.
  6. Dexy runs generated tests for selector examples.

    Shadowfiend committed Jun 18, 2014
    We rename the example-verification target to
    example-extraction, and make example-verification a target
    that runs its own shell script.
  7. Merge pull request #1583 from lift/diego-build-fix

    Shadowfiend committed Jun 18, 2014
    avoid double  tag in pom, which sonatype does not like
Commits on Jun 17, 2014
  1. Added squeryl back to the lift build

    fmpwizard committed Jun 17, 2014
    Updated to latest squeryl version
    Minor specs2 change so it compiles undder latest specs2 version
  2. Generate tests from documentation examples.

    Shadowfiend committed Jun 17, 2014
    We generate them as files in the documentation-helpers
    sbt sub-project, which can then be used to run them. Currently
    the examples don’t compile yet, more to come on that front.
Commits on Jun 16, 2014
  1. Drop extract-contents Ruby prototype.

    Shadowfiend committed Jun 16, 2014
    It was just getting started, but we’ll be doing things with Scala
    and Lift thanks ;)
  2. Fix dexy invocation of selector example extractor.

    Shadowfiend committed Jun 16, 2014
    We now want to be passed the directory that the built HTML
    is in, and we also have to compute it.
    
    Additionally, we make use of the DEXY_ROOT environment
    variable that dexy sets for us to know the project’s root
    directory for proper invocation of sbt (we were computing this
    in a somewhat brittle way before).
  3. Extract CSS selector examples.

    Shadowfiend committed Jun 16, 2014
    We’re not doing anything with them yet, but we’re extracting
    the input, output, and selector function.