1. 30 Jan, 2017 1 commit
  2. 09 Jan, 2017 1 commit
  3. 25 Nov, 2016 1 commit
  4. 18 Nov, 2016 1 commit
  5. 17 Nov, 2016 1 commit
  6. 14 Nov, 2016 2 commits
  7. 11 Nov, 2016 1 commit
  8. 10 Nov, 2016 2 commits
  9. 09 Nov, 2016 2 commits
  10. 08 Nov, 2016 1 commit
  11. 03 Nov, 2016 1 commit
  12. 01 Nov, 2016 1 commit
  13. 28 Oct, 2016 1 commit
  14. 27 Oct, 2016 3 commits
  15. 26 Oct, 2016 3 commits
  16. 17 Oct, 2016 3 commits
  17. 14 Oct, 2016 1 commit
  18. 13 Oct, 2016 1 commit
    • Deomid Ryabkov's avatar
      Change from using #ifdef to #if for features tests · bafc30be
      Deomid Ryabkov authored
      "#if FOO" still works with simple -DFOO, but gives more flexibility.
      Specifically, if user expressed no preference (FOO is not defined),
      we can apply reasonable defaults (this is the legitimate use of ifdef).
      
      In short, from now on, please use
      
       #if MG_ENABLE_FOO
      
      instead of
      
       #ifdef MG_ENABLE_FOO
      
      Since we are all used to #ifdef, this change also adds a precommit check
      to police this. Specifically, in *.h and *.c files that are Copyright Cesanta,
      "ifdef" and "if defined()" are not allowed to be used with macros that contain
      ENABLE or DISABLE, unless the like also contains "ifdef-ok".
      
      Hence, if you are sure you want to use ifdef, use this:
      
       #ifdef MG_ENABLE_FOO /* ifdef-ok */
      
      PUBLISHED_FROM=9be829448f53cff575d6cae8b9945fb12531c15a
      bafc30be
  19. 04 Oct, 2016 1 commit
    • Deomid Ryabkov's avatar
      Add MG_EV_SSI_CALL_CTX · f9a6403b
      Deomid Ryabkov authored
      This is the variant of MG_EV_SSI_CALL with context of the SSI call being
      processed in addition to the tag argument. Specifically, call handler
      now gets access to the HTTP request and the name of the file being processed.
      
      MG_EV_SSI_CALL is preserved for backward compatibility.
      
      PUBLISHED_FROM=eeea7487c062505abdb23b6f64994ff7a6b60ff8
      f9a6403b
  20. 30 Sep, 2016 2 commits
  21. 28 Sep, 2016 1 commit
  22. 13 Sep, 2016 3 commits
  23. 12 Sep, 2016 2 commits
  24. 05 Sep, 2016 1 commit
  25. 01 Sep, 2016 1 commit
  26. 09 Aug, 2016 1 commit
    • Deomid Ryabkov's avatar
      Make mg_http_serve_file public · 5fa544fc
      Deomid Ryabkov authored
      A way to serve a single, specific file as opposed to the hairy monster
      that is mg_serve_http.
      
      PUBLISHED_FROM=6ed1bc487b9d41d212a5907337182f23b040aecf
      5fa544fc
  27. 26 Jul, 2016 1 commit
    • Dmitry Frank's avatar
      Bring back JS precompilation to CC3200 · e5da7440
      Dmitry Frank authored
      We haven't actually _fixed_ evaluation of precompiled bcode from
      non-mmapped memory: we just never free it. For sane use case (do not
      evaluate the same file more than once) it should be acceptable.
      
      PUBLISHED_FROM=a9ca2d8fa72e9c40c93415d060ee8db697caa225
      e5da7440