1. 02 10月, 2016 3 次提交
  2. 30 5月, 2016 2 次提交
  3. 29 5月, 2016 5 次提交
  4. 23 4月, 2016 1 次提交
  5. 20 3月, 2016 5 次提交
  6. 07 3月, 2016 2 次提交
  7. 06 3月, 2016 1 次提交
  8. 17 2月, 2016 1 次提交
  9. 15 2月, 2016 2 次提交
  10. 12 2月, 2016 1 次提交
  11. 11 2月, 2016 1 次提交
  12. 10 2月, 2016 3 次提交
  13. 26 10月, 2015 4 次提交
    • K
      Merge pull request #24 from FSMaxB/fix_code_order · e95313ad
      Kevin Branigan 提交于
      Fix printing of empty string pointers
      e95313ad
    • M
      Fix printing of empty string pointers · 8222e9b8
      Max Bruckner 提交于
      Once the check if str is NULL is reached, str has already been
      derereferenced in the for loop, so in the case that the if clause would
      be entered, the program has already crashed due to a null pointer
      dereference.
      
      By checking the content of str before dereferencing, the code in the if
      clause is actually useful.
      
      for (ptr=str;*ptr;ptr++) flag|=((*ptr>0 && *ptr<32)||(*ptr=='\"')||(*ptr=='\\'))?1:0;
      
      ...
      
      if (!str)
      ...
      8222e9b8
    • K
      Merge pull request #23 from FSMaxB/format_fix · d4906be4
      Kevin Branigan 提交于
      Fix format problem with empty objects
      d4906be4
    • M
      Fix format problem with empty objects · 9cc37a28
      Max Bruckner 提交于
      When printing empty objects, the closing curly brace was missing one
      indentation level.
      
      Example from the output of test_utils:
      
      BEFORE FIX:
      {
      	"foo":	"bar",
      	"child":	{
      		"grandchild":	{
      	}
      	}
      }
      
      AFTER FIX:
      {
      	"foo":	"bar",
      	"child":	{
      		"grandchild":	{
      		}
      	}
      }
      9cc37a28
  14. 19 10月, 2015 3 次提交
  15. 16 10月, 2015 1 次提交
  16. 14 10月, 2015 2 次提交
  17. 06 10月, 2015 1 次提交
  18. 02 10月, 2015 1 次提交
  19. 01 10月, 2015 1 次提交