- 11 Jan, 2014 2 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
dave's original style drives me crazy. reformat the C code in protobuf-c/ with "indent -kr -i8" and manually reflow for readability. try to fit most lines in 80 columns, but due to the lengthy type and function names in protobuf-c, enforcing an 80 column rule would result in a lot of cramped statements, so try to fit lines in up to 100 columns if it would improve readability. (e.g., one <=100 column line is probably better than 3-4 <=80 column lines.) ultimately i'd like to adopt most of the recommendations in the linux coding style: https://www.kernel.org/doc/Documentation/CodingStyle. this commit gets us most of the kernel indentation and comment coding style recommendations. later commits will tackle style recommendations that require more intrusive changes: breaking up large functions, replacing macros that affect control flow (e.g., DO_ALLOC). this will hopefully facilitate review and make the code base easier to maintain. i ran the old and new versions of protobuf-c.c through something like: gcc -S -D__PRETTY_FUNCTION__=0 -D__FILE__=0 -D__LINE__=0 -Wall -O0 \ -o protobuf-c.S -c protobuf-c.c and reviewed the diffs of the assembly output to spot any functions that changed, and went back to make sure that any differences were functionally equivalent.
-
- 10 Jan, 2014 7 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
- 21 Dec, 2013 2 commits
-
-
Ilya Lipnitskiy authored
(fixes #26)
-
Nick Galbreath authored
(fixes #106)
-
- 17 Dec, 2013 1 commit
-
-
Ilya Lipnitskiy authored
protoc-c/c_enum.cc: fix compiler warnings protoc-c/c_field.cc: fix compiler warnings
-
- 09 Dec, 2013 2 commits
-
-
Robert Edmonds authored
Signed-off-by: Dave Benson <lahiker42@gmail.com>
-
Robert Edmonds authored
-
- 04 Dec, 2013 1 commit
-
-
Ilya Lipnitskiy authored
better compatibility with 8- and 16-bit platforms (integrate fixes from #47)
-
- 02 Dec, 2013 1 commit
-
-
Ilya Lipnitskiy authored
-
- 28 Nov, 2013 1 commit
-
-
Ilya Lipnitskiy authored
protobuf_c_dispatch_close_fd() (fixes #82)
-
- 27 Nov, 2013 3 commits
-
-
Ilya Lipnitskiy authored
-
Ilya Lipnitskiy authored
check for server closures (responses) to not crash the server in case of a malformed message (related to #76)
-
Ilya Lipnitskiy authored
protobuf_c_message_check
-
- 23 Nov, 2013 4 commits
-
-
Ilya Lipnitskiy authored
leave a dangling pointer to the parsed submessage
-
Ilya Lipnitskiy authored
-
Robert Edmonds authored
-
Ilya Lipnitskiy authored
test_field_merge
-
- 22 Nov, 2013 1 commit
-
-
Ilya Lipnitskiy authored
of the same field on the wire (Fixes #91) t/generated-code2/test-generated-code2.c: add a test case for merging messages t/test-full.proto: expand message definitions to test for merging nested messages
-
- 21 Nov, 2013 2 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
this simplifies the AC_C_BIGENDIAN invocation.
-
- 20 Nov, 2013 4 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
- 19 Nov, 2013 8 commits
-
-
Ilya Lipnitskiy authored
PACKAGE_STRING provided by autotools (fixes #52)
-
Ilya Lipnitskiy authored
in case the client has failed to connect and got destroyed (fixes #70) protobuf-c-rpc/t/test-rpc.c: add a test case for #70
-
Ilya Lipnitskiy authored
messages on the client side (fixes #78) protobuf-c-rpc/t/test-rpc.c: add a test case for #78
-
Ilya Lipnitskiy authored
-
Ilya Lipnitskiy authored
-
Ilya Lipnitskiy authored
-
Robert Edmonds authored
-
Robert Edmonds authored
per https://code.google.com/p/protobuf/source/detail?r=50, the license on google-originated protobuf code was switched from Apache-2.0 to BSD-3-Clause (so-called "New BSD" license). update any of the google license statements to use this new license. per email with dave, drop the third clause on his BSD-3-Clause license, so this now becomes BSD-2-Clause. make sure to use consistent indentation and wrapping throughout.
-
- 18 Nov, 2013 1 commit
-
-
Robert Edmonds authored
-