1. 11 Nov, 2016 1 commit
  2. 10 Nov, 2016 1 commit
  3. 09 Nov, 2016 1 commit
  4. 08 Nov, 2016 1 commit
  5. 01 Nov, 2016 1 commit
  6. 26 Oct, 2016 1 commit
  7. 17 Oct, 2016 3 commits
  8. 14 Oct, 2016 1 commit
  9. 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
  10. 13 Sep, 2016 3 commits
  11. 12 Sep, 2016 2 commits
  12. 05 Sep, 2016 1 commit
  13. 01 Sep, 2016 1 commit
  14. 26 Jul, 2016 1 commit
  15. 22 Jul, 2016 21 commits