1. 02 Jul, 2017 1 commit
  2. 01 Jul, 2017 1 commit
  3. 20 Mar, 2017 1 commit
  4. 15 Mar, 2017 1 commit
  5. 11 Mar, 2017 1 commit
  6. 01 Mar, 2017 1 commit
  7. 15 Feb, 2017 1 commit
  8. 30 Jan, 2017 1 commit
  9. 09 Jan, 2017 1 commit
  10. 25 Nov, 2016 1 commit
  11. 14 Nov, 2016 1 commit
  12. 11 Nov, 2016 1 commit
  13. 10 Nov, 2016 1 commit
  14. 09 Nov, 2016 1 commit
  15. 08 Nov, 2016 1 commit
  16. 01 Nov, 2016 1 commit
  17. 26 Oct, 2016 1 commit
  18. 17 Oct, 2016 3 commits
  19. 14 Oct, 2016 1 commit
  20. 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
  21. 13 Sep, 2016 3 commits
  22. 12 Sep, 2016 2 commits
  23. 05 Sep, 2016 1 commit
  24. 01 Sep, 2016 1 commit
  25. 26 Jul, 2016 1 commit
  26. 22 Jul, 2016 10 commits