1. 14 Oct, 2016 1 commit
  2. 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
  3. 22 Aug, 2016 1 commit
  4. 07 Jun, 2016 1 commit
    • rojer's avatar
      Fix compilation with MG_DISABLE_HTTP_WEBSOCKET · 04a38b44
      rojer authored
      Make restful_server and netcat examples compilation tests:
       - netcat doesn't use HTTP, compile it with MG_DISABLE_HTTP
       - restful_server doesn't use websocket, compile it with
         MG_DISABLE_HTTP_WEBSOCKET
      
      h/t @labourcier, cesanta/mongoose#665
      
      PUBLISHED_FROM=4494ac3cbd81e8314beb557ab301b4b44c4afb89
      04a38b44
  5. 26 Apr, 2016 1 commit
  6. 10 Mar, 2016 1 commit
  7. 30 Nov, 2015 1 commit
  8. 16 Oct, 2015 1 commit
  9. 12 Oct, 2015 1 commit
  10. 22 Sep, 2015 1 commit
  11. 21 Sep, 2015 2 commits
  12. 08 Sep, 2015 1 commit