1. 09 Nov, 2012 7 commits
    • Martin Pitt's avatar
      Fix marshalling of GByteArrays · b800a690
      Martin Pitt authored
      In _pygi_marshal_from_py_array(), set the array length after copying the data
      in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays), otherwise it
      will always come out as zero length.
      Enable the TestGByteArray.test_bytearray_none_in() test case as that works now.
    • Martin Pitt's avatar
      Fix marshalling of ssize_t to smaller ints · fa568949
      Martin Pitt authored
      Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
      TestArray.test_array_in test, so drop the expected failure.
    • Martin Pitt's avatar
      test_gi: Enable GByteArray constructor tests · 5a5940a0
      Martin Pitt authored
      GByteArray annotations have been fixed in GLib now, enable the test case.
      Drop the redundant disabled_test_bytearray_none_in_from_bytes() test, as this
      is the same as disabled_test_bytearray_none_in().
    • Martin Pitt's avatar
      test_gi: Enable GBytes test cases · e2c54589
      Martin Pitt authored
      GBytes annotations are fixed in GLib now, enable the test case and add more
      for g_bytes_new_take() and g_bytes_{compare,equal}().
      Please note that calling unref_to_array() on a GBytes object that we created
      ourselves currently causes a double free crash, so disable that part for now.
    • Martin Pitt's avatar
      test_gi: Add missing data type tests from GIMarshallingTests · 1ba4e201
      Martin Pitt authored
      Add tests for types time_t, GBytes, GByteArray, and various variants of passing
      around GValues, flags, enums, arrays, and boxed structs. This tests API which
      is provided by GIMarshallingTests, but which we did not cover yet.
      This detects a number of bugs in annotations and our marshalling. These have
      been marked as expected failure, or disabled completely for the cases where
      they cause crashes.
    • Martin Pitt's avatar
      autogen.sh: Only enable code coverage if lcov is installed · 0456d9c8
      Martin Pitt authored
      Otherwise we break minimal build environments.
    • Martin Pitt's avatar
      Lower autoconf dependency to 2.68 again · 76a3aceb
      Martin Pitt authored
  2. 08 Nov, 2012 1 commit
    • Martin Pitt's avatar
      Add support for lcov code coverage · f1a5f1b9
      Martin Pitt authored
      Use gnome-common's new code coverage flags. Default to enabling code coverage
      in autogen.sh (but not for dist).
      To use this, run "make check-code-coverage" after building.
  3. 07 Nov, 2012 10 commits
  4. 06 Nov, 2012 9 commits
  5. 05 Nov, 2012 10 commits
  6. 03 Nov, 2012 3 commits