Permalink
Commits on Dec 3, 2010
Commits on Dec 1, 2010
Commits on Nov 12, 2010
  1. Merge branch 'rebarify-15688'

    David Reid committed Nov 12, 2010
  2. Remove trailing whitespace

    David Reid committed Nov 12, 2010
  3. remove things from the template that require mochierl_lib, template p…

    etrepum committed Nov 12, 2010
    …rojects should be copyright of the author not Mochi Media by default
  4. bump version to 1.4.1

    etrepum committed Nov 12, 2010
Commits on Nov 11, 2010
  1. If we're going to hide rebar from the user for make app we might as w…

    David Reid committed Nov 11, 2010
    …ell use slightly better variable name.
  2. Merge branch 'master' into rebarify-15688

    David Reid committed Nov 11, 2010
    Conflicts:
    	.gitignore
    	README
    	support/include.mk
    	support/make_app.escript
  3. Better rebar templating support. Including makefile target, readme do…

    David Reid committed Nov 11, 2010
    …cs and doesn't require you to make your own toplevel directory.
  4. Merge branch 'pu'

    etrepum committed Nov 11, 2010
  5. 5 minute default idle timeout

    kocolosk committed with etrepum Oct 26, 2010
Commits on Nov 10, 2010
  1. Merge branch 'pu'

    etrepum committed Nov 10, 2010
  2. Merge branch 'master' into pu

    etrepum committed Nov 10, 2010
  3. Added mochiweb_request:accept_content_type/1 function.

    fdmanana committed with etrepum Nov 8, 2010
    This function allows a caller to know if a request accepts a given media type.
    Examples:
    
          1) For a missing "Accept" header:
             accepts_content_type("application/json") -> true
    
          2) For an "Accept" header with value "text/plain, application/*":
             accepts_content_type("application/json") -> true
    
          3) For an "Accept" header with value "text/plain, */*; q=0.0":
             accepts_content_type("application/json") -> false
    
          4) For an "Accept" header with value "text/plain; q=0.5, */*; q=0.1":
             accepts_content_type("application/json") -> true
    
          5) For an "Accept" header with value "text/*; q=0.0, */*":
             accepts_content_type("text/plain") -> false
  4. edoc cleanup

    etrepum committed Nov 10, 2010
  5. Merge branch 'pu'

    etrepum committed Nov 10, 2010
  6. Merge branch 'master' into pu

    etrepum committed Nov 10, 2010
  7. Fix for error in parsing particular incorrect singletons.

    jkoops committed with etrepum Oct 20, 2010
    When the HTML parser attempts to parse tags that should be
    singletons but are not, AND they have content, an exception
    occurs:
    
      1> mochiweb_html:parse("<html><input><input>x</input></input></html>").
      ** exception error: no case clause matching
            	            {[],[{<<"input">>,[],[<<"x">>]},{<<"input">>,[],[]}]}
           in function  mochiweb_html:destack/2
           in call from mochiweb_html:tree/2
           in call from mochiweb_html:parse_tokens/1
    
    This patch provides a fix.
Commits on Nov 9, 2010
Commits on Nov 8, 2010
  1. Added mochiweb_request:accept_content_type/1 function.

    fdmanana committed Nov 8, 2010
    This function allows a caller to know if a request accepts a given media type.
    Examples:
    
          1) For a missing "Accept" header:
             accepts_content_type("application/json") -> true
    
          2) For an "Accept" header with value "text/plain, application/*":
             accepts_content_type("application/json") -> true
    
          3) For an "Accept" header with value "text/plain, */*; q=0.0":
             accepts_content_type("application/json") -> false
    
          4) For an "Accept" header with value "text/plain; q=0.5, */*; q=0.1":
             accepts_content_type("application/json") -> true
    
          5) For an "Accept" header with value "text/*; q=0.0, */*":
             accepts_content_type("text/plain") -> false
Commits on Nov 2, 2010
  1. {active, false} -> {active, once}

    doubleyou committed Nov 2, 2010
    Small refactoring
Commits on Nov 1, 2010
  1. run userdefined profile_fun for accept timing, handle state upgrade, …

    Emad El-Haraty committed Nov 1, 2010
    …document and test.
  2. this is going to be a lot of data, so we need to make sure our networ…

    Emad El-Haraty committed Nov 1, 2010
    …k and scribe can handle this
Commits on Oct 20, 2010
  1. Merge branch 'master' into pu

    etrepum committed Oct 20, 2010
  2. Fix for parsing broken processing instructions.

    jkoops committed with etrepum Oct 15, 2010
    Some HTML contains broken processing instructions, such as this one
    encountered in the wild: `<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com🏢office" />`.
    
    The parser crashes on this since it only accepts `?>` (or end-of-file) as
    the end of a processing instruction. This patch fixes it by also
    allowing `>` or `/>` to end a processing instruction.
Commits on Oct 18, 2010
  1. Lots of work on using rebar templates for creating new projects. New …

    David Reid committed Oct 18, 2010
    …projects will use rebar and automatically include mochiweb as a dep.