1. 29 5月, 2016 5 次提交
  2. 23 4月, 2016 1 次提交
  3. 20 3月, 2016 5 次提交
  4. 07 3月, 2016 2 次提交
  5. 06 3月, 2016 1 次提交
  6. 17 2月, 2016 1 次提交
  7. 15 2月, 2016 2 次提交
  8. 12 2月, 2016 1 次提交
  9. 11 2月, 2016 1 次提交
  10. 10 2月, 2016 3 次提交
  11. 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
  12. 19 10月, 2015 3 次提交
  13. 16 10月, 2015 1 次提交
  14. 14 10月, 2015 2 次提交
  15. 06 10月, 2015 1 次提交
  16. 02 10月, 2015 1 次提交
  17. 01 10月, 2015 5 次提交
  18. 26 9月, 2015 1 次提交