Commits on Aug 15, 2016
  1. Release marker

    njuneau committed Aug 15, 2016
Commits on Aug 14, 2016
  1. Documentation fixes

    njuneau committed Aug 14, 2016
  2. Added documentation generation scripts

    njuneau committed Aug 14, 2016
    Documentation can now be generated using Dox
Commits on Aug 11, 2016
Commits on Apr 18, 2016
Commits on Apr 9, 2016
  1. Renamed Controller's handleRequest and handlePostRequest

    njuneau committed Apr 9, 2016
    The method names were ambiguous. handleRequest is meant to do any
    pre-dispatch logic while handlePostRequest is meant to do any
    after-dispatch logic. The actual names could be confused with GET/POST
    request handling.
    The methods have therefore been renamed "beforeRequest" and
    "afterRequest", which have a clearer meaning.
  2. Renamed "addMapping" to "addERegURLMapping"

    njuneau committed Apr 9, 2016
    This was done to have 2 methods for adding URL mappings : one for the
    default EReg implementation, the other for all non-EReg implementations.
  3. Removed the server package

    njuneau committed Apr 9, 2016
    The "harfang.server" package has been replaced by the top-level "harfang"
    package. This has been done to shorten some names as the "server"
    package was redundant.
Commits on Mar 22, 2016
  1. Reworked the URL mapping API for statelessness

    njuneau committed Mar 22, 2016
    The original URL mapping implementation was not stateless because it
    stocked the EReg as an attribute. EReg is a stateful class.
    Since the filtering API was not yet solidified, everything has been
    moved into the URL mapping's "resolve" method to simplify things out.
Commits on Feb 8, 2016
  1. Corrected release script

    njuneau committed Feb 8, 2016
  2. AbstractServerConfiguration and HTTPException API changes

    njuneau committed Feb 8, 2016
    AbstractServerConfiguration no longer implements the ServerEventListener
    interface as the same behavior can be implemented as an independent
    HTTPException's "errorCode" was renamed to "statusCode"
Commits on Dec 9, 2015
  1. Fixed regression in URLMappingFactoryTest

    njuneau committed Dec 9, 2015
    HTTP method metadata tag was missing
  2. Adjusted test classpath, updated README

    njuneau committed Dec 9, 2015
    Unit2 is now available on haxelib. Updated build files.
Commits on Sep 12, 2015
  1. Fixed HTTP method filtering in URL mapping factory

    njuneau committed Sep 12, 2015
    Macro-based URL mapping factories were not correctly detecting the
    presence of any given HTTP method metadata due to a weak field
    The HTTP method metadata is now extracted in a way that does not require
    any class field comparison.
    Test cases have been updated to take ERegURLMapping's new filtering
    capabilities into account.
Commits on Aug 14, 2015
  1. Changed the name of some URL mapping macros

    njuneau committed Aug 14, 2015
    An API change introducing the new optional http method filter could
    break existing code. The new API will place the http method filter where
    the old API would place the URL prefix. Since both parameters are
    optional, the API break could go unnoticed. The function name has
    therefore been changed to reflect the API change.
Commits on Jul 15, 2015
  1. Separated the URL mapping factories

    njuneau committed Jul 15, 2015
    Due to the recent changes to the URLMappingFactory, the class was
    becoming too big to maintain and its API was becoming unclear.
    ERegURLMappingFactory has been created to isolate any factory method
    concerning ERegURLMapping.
    URLMappingFactory contains the generic controller-scanning logic and
    generic factory methods.
Commits on May 21, 2015
  1. HTTP methods can now be defined in ERegURLMapping

    njuneau committed May 21, 2015
    ERegURLMapping now supports filtering by HTTP method. This has been
    reflected both in the ERegURLMapping's constructor and in the factory.
    The implementation has to be further tested and the interface change has
    to be validated.
Commits on Apr 6, 2015
  1. Separated classpaths for main and test sources

    njuneau committed Apr 6, 2015
    Main sources and test sources now reside in their own dedicated
    directories to ease development. All build scripts have been adjusted
Commits on Apr 5, 2015
  1. URL slash appending working with accents (#13)

    njuneau committed Apr 5, 2015
    Some strings may be encoded using UTF-8 and the current slash appending
    mechanism would sometimes yield incorrect results (see issue #13). This
    commit Fixes the issue by using standard Haxe methods to detect the last
    character of a string instead of manually using substring.
    Slash appending has also be moved from the ERegURLMapping class to the
    RequestInfo class so that all URL mappings may use the same URL
    information. It should also speed up the process of URL matching a bit
    since now URLs will have their slash appended once per run instead of
    one per URL mapping.
    Fixes #13
Commits on Dec 1, 2014
  1. Moved MacroConfigurator to URLMappingFactory (#10)

    njuneau committed Dec 1, 2014
    The MacroConfigurator has been moved to the URLMappingFactory class.
    This was made to prevent the MacroConfigurator from becoming a macro dumping
    ground. The URLMappingFactory contains all of the remaining
    MacroConfigurator's macros (which are all related to URL mappings
    Fixes #10.
Commits on Oct 19, 2013
  1. Moved server configuration macros out of MacroConfigurator (#10)

    njuneau committed Oct 19, 2013
    setServerConfigurationClass and getServerConfigurationConstructorCall
    have been moved from MacroConfigurator to ServerMain as only ServerMain
    needs this functionnality. It will also be simpler when writing an
    application's build file as the user will only need to know the
    existence of the ServerMain class.
Commits on Sep 14, 2013
  1. Merge branch '0.4' into 0.5

    njuneau committed Sep 14, 2013
Commits on Aug 7, 2013
Commits on Jul 30, 2013
  1. Removed request method class

    njuneau committed Jul 30, 2013
Commits on Jun 2, 2013
  1. Merge branch '0.4' into 0.5

    njuneau committed Jun 2, 2013
  2. Updated Unit2 dependency

    njuneau committed Jun 2, 2013