465 Commits

Author SHA1 Message Date
Robert Edmonds
43b94a4bc4 fix VPATH builds
this commit fixes VPATH builds where the build tree is separate from the
source tree. this will allow us to run "make distcheck".
2013-11-18 13:53:28 -05:00
Robert Edmonds
3128296851 t/test-full.proto: revert 'option allow_alias = true;'
this option is only supported by the upstream protobuf compiler starting
with version 2.5.0. this version is not yet widely available in the
debian/ubuntu repositories, and we would like to avoid breaking the
build on those platforms with the distribution version of protobuf
installed, so revert the following commits:

 - 5ee9c03478ea13bba03e7d7edacf723f324200c2
 - 84e41e7329f1f0fc09b41ee96e17b28a792cefcf
2013-11-18 13:00:44 -05:00
Ilya Lipnitskiy
2dfe54f2ed Add a README 2013-11-18 00:12:57 -08:00
Ilya Lipnitskiy
fce41f255e Add a travis-CI config file 2013-11-18 00:09:48 -08:00
Ilya Lipnitskiy
84e41e7329 Add version check for the protobuf package (needed for allow_alias option to work) 2013-11-17 23:31:39 -08:00
Robert Edmonds
0bba85ec4b gitignore: ignore output from the test suite 2013-11-16 18:09:47 -05:00
Robert Edmonds
5ee9c03478 t/test-full.proto: add 'option allow_alias = true;' to silence warnings from the protobuf compiler 2013-11-16 18:08:51 -05:00
Robert Edmonds
40f31f2aff new build system 2013-11-16 18:08:40 -05:00
Robert Edmonds
01831e4355 protobuf-c-rpc/t/test-rpc.c: fix include paths 2013-11-16 17:57:22 -05:00
Robert Edmonds
cd2c8a5835 t/: fix paths to generated protobuf code 2013-11-16 17:32:26 -05:00
Robert Edmonds
c4ae1c1432 t/: fix include paths 2013-11-16 17:13:21 -05:00
Robert Edmonds
6f7862963e protoc-c/c_file.cc: fix include path in generated output 2013-11-16 17:12:01 -05:00
Robert Edmonds
653c04ea2c protoc-c/: fix include paths 2013-11-16 17:11:48 -05:00
Robert Edmonds
d95640c924 protoc-c/: remove unused .cc files 2013-11-16 17:10:14 -05:00
Robert Edmonds
dcbf5367b9 rpc/ -> protobuf-c-rpc/ 2013-11-16 15:54:49 -05:00
Robert Edmonds
bbed775dae compiler/ -> protoc-c/ 2013-11-16 15:48:12 -05:00
Robert Edmonds
07b3a39c6c rpc/: move sctp-rpc and simplerpc here 2013-11-15 22:23:16 -05:00
Robert Edmonds
10ba5c5ce6 rpc/example/: move rpc example code here 2013-11-15 22:21:14 -05:00
Robert Edmonds
b198643a71 rpc/t/: move rpc test code here 2013-11-15 22:17:57 -05:00
Robert Edmonds
0ca43f594a t/: move test code here 2013-11-15 22:17:30 -05:00
Robert Edmonds
6211cec696 compiler/: move compiler code here 2013-11-15 22:12:02 -05:00
Robert Edmonds
d0e11c4438 protobuf-c/: move library code here 2013-11-15 22:09:25 -05:00
Robert Edmonds
1d3e264ee0 protobuf-c-parser.h: remove
as far as i can tell, this code is not used anywhere.
2013-11-15 22:08:02 -05:00
Robert Edmonds
3dafa86ddf rpc/: move rpc code here 2013-11-15 22:07:30 -05:00
Robert Edmonds
12215b4774 remove the current build system 2013-11-15 21:49:56 -05:00
lahiker42@gmail.com
1d1ad931df Add protobuf_c_message_check()
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@332 00440858-1255-0410-a3e6-75ea37f81c3a
2013-06-04 15:45:23 +00:00
lahiker42@gmail.com
925c567525 ok, try to be even more explicit
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@331 00440858-1255-0410-a3e6-75ea37f81c3a
2011-12-21 02:28:59 +00:00
lahiker42@gmail.com
a9542483a9 move time-sync to front of dispatch
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@330 00440858-1255-0410-a3e6-75ea37f81c3a
2011-12-09 03:18:09 +00:00
lahiker42@gmail.com
d6857c2e9c ensure enums are the size of ints
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@329 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-12 02:32:22 +00:00
lahiker42@gmail.com
4800e0fba0 include <limits.h>; comments
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@328 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-12 02:31:44 +00:00
lahiker42@gmail.com
ccfedab5d3 switch to using a fixed-size hash-table for detecting missing required fields,
it is only approximate now, but it should be good enough

git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@327 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 14:16:19 +00:00
lahiker42@gmail.com
b69033fd7e yeah.. not a bug
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@326 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 04:33:24 +00:00
lahiker42@gmail.com
248eae1d07 use an approximate hash for detecting required fields
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@325 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 04:22:53 +00:00
lahiker42@gmail.com
b0d7d4a023 Add version macros and library globals.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@324 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 03:45:35 +00:00
lahiker42@gmail.com
64fad6b7f3 attribute recent memory leak fix
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@323 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 03:16:25 +00:00
lahiker42@gmail.com
97f8f921fc Bugs: committed some Allocator brainstorming accidentally.
Fixed Issue #63, which was introduced when
"required" fields were verified. (Introduced in protobuf-c 0.14)



git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@322 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 03:11:53 +00:00
lahiker42@gmail.com
baba8cd71d Bug fix (srobbins, see Issue 68 Comment 1)
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@321 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 02:32:57 +00:00
lahiker42@gmail.com
b84162824e note bug fix.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@320 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 02:26:08 +00:00
lahiker42@gmail.com
eac0e3f4e2 - Handle POLLHUP correctly.
- Memory allocation bugs.
- Places where d->fd_map was cached onto the stack inappropriately.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@319 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 02:25:28 +00:00
lahiker42
6818e9371f Include license in tarball.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@316 00440858-1255-0410-a3e6-75ea37f81c3a
2011-04-21 16:45:02 +00:00
lahiker42@gmail.com
cc2fc7d38a Mistakenly set the wrong idle function.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@310 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-28 13:32:01 +00:00
lahiker42@gmail.com
ba8c7bee2e bug fix
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@293 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-24 15:13:03 +00:00
lahiker42@gmail.com
5fe8eb694a typo
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@292 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-24 02:12:31 +00:00
lahiker42
5787693b48 Add a way to support multiple threads.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@289 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-21 22:25:28 +00:00
lahiker42
75fa6665de reentrance guard fix
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@288 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-21 21:28:39 +00:00
lahiker42@gmail.com
16b1297cf3 ..
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@287 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-20 02:37:08 +00:00
lahiker42@gmail.com
c6b488d3e1 Clear changes isn't necessary b/c n_changes is cleared in dispatch_dispatch.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@286 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-16 03:31:09 +00:00
lahiker42
a3d8725340 Be more permissive in accepting packed data for non-packed repeated members.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@285 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-15 19:23:57 +00:00
lahiker42
0ec4e41507 Switch to New BSD license.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@284 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-15 19:14:43 +00:00
lahiker42
b9ad3cc11a Add --autoreconnect option.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@283 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-15 18:16:00 +00:00