1. 15 Mar, 2017 1 commit
  2. 10 Mar, 2017 1 commit
  3. 09 Mar, 2017 1 commit
    • Adam Cozzette's avatar
      Ruby: wrap calls to memcpy so that gem is compatible with pre-2.14 glibc · a7e05be8
      Adam Cozzette authored
      This commit adds a __wrap_memcpy function and a linker flag to use that
      in place of memcpy for our Ruby gem C extension. This allows us to
      always use the 2.2.5 version of memcpy, making it possible to use the
      gem on distributions with pre-2.14 versions of glibc.
      
      Before this change:
      $ objdump -T protobuf_c.so | grep memcpy
      0000000000000000      DF *UND*  0000000000000000  GLIBC_2.3.4 __memcpy_chk
      0000000000000000      DF *UND*  0000000000000000  GLIBC_2.14  memcpy
      
      After:
      $ objdump -T protobuf_c.so | grep memcpy
      0000000000000000      DF *UND*  0000000000000000  GLIBC_2.2.5 memcpy
      0000000000000000      DF *UND*  0000000000000000  GLIBC_2.3.4 __memcpy_chk
      0000000000042450 g    DF .text  0000000000000005  Base __wrap_memcpy
      
      This is based on gRPC's solution to a similar problem:
      https://github.com/grpc/grpc/blob/5098508d2d41a116113f7e333c516cd9ef34a943/src/core/lib/support/wrap_memcpy.c
      
      This fixes issue #2783.
      a7e05be8
  4. 13 Feb, 2017 1 commit
  5. 06 Feb, 2017 1 commit
  6. 27 Jan, 2017 1 commit
  7. 23 Jan, 2017 1 commit
  8. 18 Jan, 2017 1 commit
  9. 11 Jan, 2017 1 commit
  10. 28 Dec, 2016 1 commit
  11. 07 Dec, 2016 1 commit
  12. 03 Dec, 2016 1 commit
    • Joshua Haberman's avatar
      Factored Conformance and Benchmark test messages into shared test schema. (#1971) · f1ce60e7
      Joshua Haberman authored
      * Factored Conformance test messages into shared test schema.
      
      * Updated benchmarks to use new proto3 message locations.
      
      * Fixed include path.
      
      * Conformance: fixed include of Python test messages.
      
      * Make maven in Rakefile use --batch-mode.
      
      * Revert changes to benchmarks.
      
      On second thought I think a separate schema for
      CPU benchmarking makes sense.
      
      * Try regenerating C# protos for new test protos.
      
      * Removed benchmark messages from test proto.
      
      * Added Jon Skeet's fixes for C#.
      
      * Removed duplicate/old test messages C# file.
      
      * C# fixes for test schema move.
      
      * Fixed C# to use the correct TestAllTypes message.
      
      * Fixes for Objective C test schema move.
      
      * Added missing EXTRA_DIST file.
      f1ce60e7
  13. 23 Nov, 2016 1 commit
    • Adam Cozzette's avatar
      Fixed Ruby tests for JRuby 1.7 · 65479cb7
      Adam Cozzette authored
      This makes a couple of changes to fix the tests for JRuby 1.7:
      - Avoid using assert_false since that assertion seems not to exist in
        older versions
      - Disable a test related to respond_to? for JRuby. It's hard to tell
        what is going wrong here but it looks like probably a JRuby bug that
        has been fixed in more recent versions.
      65479cb7
  14. 14 Nov, 2016 1 commit
  15. 03 Nov, 2016 2 commits
  16. 14 Oct, 2016 1 commit
  17. 10 Oct, 2016 3 commits
  18. 29 Sep, 2016 3 commits
  19. 23 Sep, 2016 1 commit
  20. 22 Sep, 2016 1 commit
    • Brendan Ribera's avatar
      Fix hash computation for JRuby's RubyMessage · 525c6327
      Brendan Ribera authored
      `System.identityHashCode` returns a hash that does not consider a
      Message's values. This means two Messages with identical values will not
      have identical hashCodes.
      
      This patch uses the pattern from RubyMap to combine the hashCodes from
      all values in a given message and produce a unique, consistent,
      value-based hash.
      525c6327
  21. 21 Sep, 2016 1 commit
  22. 20 Sep, 2016 2 commits
  23. 02 Sep, 2016 1 commit
  24. 30 Aug, 2016 3 commits
  25. 29 Aug, 2016 1 commit
  26. 26 Aug, 2016 1 commit
  27. 24 Aug, 2016 1 commit
  28. 01 Aug, 2016 1 commit
  29. 29 Jul, 2016 2 commits
  30. 25 Jul, 2016 2 commits