- 05 Sep, 2014 1 commit
-
-
Robert S. Edmonds authored
The travis-ci environment is based on Ubuntu 12.04 LTS, which has an older protobuf version (2.4.1). We need to depend on features that are only available in 2.5.0 (and, later, 2.6.0), so instead of satisfying the protobuf build dependencies from the Ubuntu repository, download and install our own copy of protobuf. The travis-ci build from this commit should succeed, since we are compatible with protobuf 2.5.0. Based on a patch from Ilya Lipnitskiy.
-
- 03 Sep, 2014 1 commit
-
-
Robert S. Edmonds authored
-
- 05 Aug, 2014 3 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
in the case that we are unpacking a 0-length byte string, we need to explicitly set bd->data to NULL, otherwise we may try to free() a stray pointer when protobuf_c_message_free_unpacked() is called on the containing message. (Issue #157.)
-
- 22 Jul, 2014 3 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
- 15 Jul, 2014 1 commit
-
-
Robert Edmonds authored
-
- 30 Jun, 2014 1 commit
-
-
Andrei Nigmatulin authored
added check that repeated fields vectors are not NULL fixed repeated field quantity type: it's "size_t", not "unsigned" cleaner code, no cast porn all covered with tests
-
- 27 Jun, 2014 4 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
This reverts commit e7dc76c5. i really dislike cluttering up files with editor-specific modelines, and anyway the //-comments run afoul of #124.
-
Ilya Lipnitskiy authored
-
- 19 Jun, 2014 2 commits
-
-
Ilya Lipnitskiy authored
-
Ilya Lipnitskiy authored
-
- 09 Jun, 2014 5 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
"protobuf_c_default_allocator" is the last bit of global data in libprotobuf-c, and it can be hidden with some relatively easy (though API/ABI-breaking) changes to ProtobufCBufferSimple. all exported functions that take a ProtobufCAllocator either use the provided allocator (if non-NULL), or switch to the default allocator (if NULL). there are now two relatively unambiguous choices when a ProtobufCAllocator is required by an exported function: 1) use NULL. the vast majority of callers should pick this option. 2) implement your own allocation functions, and enclose these in a ProtobufCAllocator struct. in previous versions of protobuf-c there were two other possibilities: 3) maybe use &protobuf_c_system_allocator? 4) maybe use &protobuf_c_default_allocator? this was relatively confusing, and by removing these latter two options we can avoid having global library state.
-
Robert Edmonds authored
-
Robert Edmonds authored
most of the relevant material has now been updated and incorporated into the doxygen documentation.
-
Robert Edmonds authored
-
- 07 Jun, 2014 3 commits
-
-
Robert Edmonds authored
based heavily on kevin lyda's work in PR #140.
-
Robert Edmonds authored
partially based on hunks split out of kevin lyda's PR #140.
-
Robert Edmonds authored
this also significantly reorganizes the header file. based heavily on kevin lyda's work in PR #140.
-
- 06 Jun, 2014 4 commits
-
-
Robert Edmonds authored
these identifiers aren't intended for use by client code. add a double underscore to indicate this.
-
Robert Edmonds authored
this identifier isn't intended for use by client code. add a double underscore to indicate this.
-
Robert Edmonds authored
these identifiers aren't intended for use by client code. add a double underscore to indicate this.
-
Andrei Nigmatulin authored
-
- 04 Jun, 2014 5 commits
-
-
Robert Edmonds authored
offsetof() conforms to the C89 standard, just call it directly.
-
Robert Edmonds authored
identifiers in any scope that begin with an underscore and a capital letter are reserved in C.
-
Robert Edmonds authored
these magic constants aren't intended for use by client code. add a double underscore to indicate this.
-
Robert Edmonds authored
assert() conforms to the C89 standard, just call it directly.
-
Robert Edmonds authored
this macro isn't used anywhere except in the libprotobuf-c implementation.
-
- 03 Jun, 2014 7 commits
-
-
Robert Edmonds authored
this avoids littering function definitions in the documentation with "PROTOBUF_C_API".
-
Robert Edmonds authored
identifiers that begin with an underscore are reserved. instead, use a double underscore in the *middle* of the identifier to indicate that it's an "internal" identifier.
-
Robert Edmonds authored
identifiers that begin with a double underscore are reserved.
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
this is the unmodified output from "doxygen -l DoxygenLayout.xml".
-