500 Commits

Author SHA1 Message Date
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
lahiker42
17bdf7caf5 Remove printouts.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@282 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-15 18:03:03 +00:00
lahiker42
88620efbba Remove incorrect assertion.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@281 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-15 18:00:15 +00:00
lahiker42
ddabb041b3 upgrade
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@278 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-10 19:15:44 +00:00
lahiker42
831accbd62 Add cmake support.
Minor cleanups to dispatch, set "has_idle" correctly.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@276 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-10 19:12:35 +00:00
lahiker42
8c7d949744 Make "has_idle" accurate.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@275 00440858-1255-0410-a3e6-75ea37f81c3a
2011-03-10 19:00:08 +00:00
lahiker42@gmail.com
4e281490cd Various cleanups, mostly due to Pop Stelian.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@269 00440858-1255-0410-a3e6-75ea37f81c3a
2010-12-18 23:51:37 +00:00
lahiker42
e03c352fa2 Do not crash if def_bd == NULL (!)
Patch by Andrei Nigmatulin.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@266 00440858-1255-0410-a3e6-75ea37f81c3a
2010-11-01 18:38:31 +00:00
lahiker42
3695444f6a ...
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@262 00440858-1255-0410-a3e6-75ea37f81c3a
2010-09-17 14:17:41 +00:00
lahiker42
00b5c56f69 make protobuf_c_message_init() into a function (Issue #49)
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@257 00440858-1255-0410-a3e6-75ea37f81c3a
2010-09-15 15:05:53 +00:00
lahiker42
e9cfa2dd98 git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@249 00440858-1255-0410-a3e6-75ea37f81c3a 2010-09-03 21:21:08 +00:00
lahiker42
6c49e55c61 ..
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@248 00440858-1255-0410-a3e6-75ea37f81c3a
2010-09-03 20:38:57 +00:00
lahiker42
56f2af6435 .
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@247 00440858-1255-0410-a3e6-75ea37f81c3a
2010-09-01 04:30:30 +00:00
lahiker42
0057cd3adc "typo"
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@246 00440858-1255-0410-a3e6-75ea37f81c3a
2010-08-27 02:32:29 +00:00
lahiker42
d9b6f6566f release 0.14
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@245 00440858-1255-0410-a3e6-75ea37f81c3a
2010-08-26 04:22:11 +00:00
lahiker42
7806546457 Finish up ChangeLog
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@243 00440858-1255-0410-a3e6-75ea37f81c3a
2010-08-26 04:15:51 +00:00
lahiker42
e30ec5f71e protobuf_c_unpack_message():
Insist that required fields be represented in the packed message.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@242 00440858-1255-0410-a3e6-75ea37f81c3a
2010-08-25 21:16:10 +00:00
lahiker42
45d9ee4679 Support for deprecation annotations (Andrey Nigmatulin).
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@241 00440858-1255-0410-a3e6-75ea37f81c3a
2010-08-12 19:38:03 +00:00
lahiker42
e9acaa580e ...
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@240 00440858-1255-0410-a3e6-75ea37f81c3a
2010-06-29 02:44:30 +00:00
lahiker42
a2f6403f7d one attempt at a windowsy solution
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@239 00440858-1255-0410-a3e6-75ea37f81c3a
2010-06-29 02:33:38 +00:00
lahiker42
f74d5f6c18 random old commits
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@238 00440858-1255-0410-a3e6-75ea37f81c3a
2010-06-18 14:46:53 +00:00
lahiker42
4af0161167 Mention recent bug fix.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@236 00440858-1255-0410-a3e6-75ea37f81c3a
2010-05-26 01:27:39 +00:00
lahiker42
aa8adec266 Fix: change_index wasn't being cleared by deallocate.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@235 00440858-1255-0410-a3e6-75ea37f81c3a
2010-05-26 01:25:38 +00:00
lahiker42
f24915d09c ....
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@224 00440858-1255-0410-a3e6-75ea37f81c3a
2010-05-05 14:12:01 +00:00
lahiker42
5beac76ca7 Support for packed-repeated fields.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@223 00440858-1255-0410-a3e6-75ea37f81c3a
2010-05-05 12:52:38 +00:00
lahiker42
8814c03e33 typo
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@222 00440858-1255-0410-a3e6-75ea37f81c3a
2010-04-30 17:49:28 +00:00
lahiker42
b0031f8db5 Add generation / installation of pkg-config files. (Bobby Powers)
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@221 00440858-1255-0410-a3e6-75ea37f81c3a
2010-04-30 15:34:36 +00:00
lahiker42
9ead2436e5 Add generation / installation of pkg-config files. (Bobby Powers)
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@220 00440858-1255-0410-a3e6-75ea37f81c3a
2010-04-30 15:33:38 +00:00
lahiker42
58c9d0a1a2 .
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@219 00440858-1255-0410-a3e6-75ea37f81c3a
2010-04-25 00:27:44 +00:00
lahiker42
6b70f1c011 fix build
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@218 00440858-1255-0410-a3e6-75ea37f81c3a
2010-04-24 22:39:57 +00:00
lahiker42
12a6ac4dae Add a dep on test-full.pb.h
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@217 00440858-1255-0410-a3e6-75ea37f81c3a
2010-04-24 22:35:49 +00:00
lahiker42
6f7323d018 Misc cleanups
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@212 00440858-1255-0410-a3e6-75ea37f81c3a
2010-04-20 01:51:37 +00:00
lahiker42
3a5f994e20 bug fix from wyh2007.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@211 00440858-1255-0410-a3e6-75ea37f81c3a
2010-04-18 16:37:58 +00:00
lahiker42
a7726296e0 mention set_error_handler methods
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@210 00440858-1255-0410-a3e6-75ea37f81c3a
2010-03-17 18:30:40 +00:00
lahiker42
c1a1a36e61 Use GOOGLE_PROTOBUF_VERSION instead of computing PROTOC_VERSION ourselves
from its --version option.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@209 00440858-1255-0410-a3e6-75ea37f81c3a
2010-03-17 18:29:36 +00:00
lahiker42
af30e97e8e Add set_error_handler methods
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@208 00440858-1255-0410-a3e6-75ea37f81c3a
2010-03-17 18:29:07 +00:00
lahiker42
b791a2c61b suppress const-string warnings
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@207 00440858-1255-0410-a3e6-75ea37f81c3a
2010-03-17 18:28:39 +00:00
lahiker42
3a97180293 optimziation
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@206 00440858-1255-0410-a3e6-75ea37f81c3a
2010-02-10 18:04:17 +00:00
lahiker42
10d3195d3a point out that dispatch can be NULL
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@205 00440858-1255-0410-a3e6-75ea37f81c3a
2010-02-10 04:19:40 +00:00
lahiker42
1a99061480 fix bsearch
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@204 00440858-1255-0410-a3e6-75ea37f81c3a
2010-02-10 00:33:45 +00:00
lahiker42
c255a6fa0b Binary search fix.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@203 00440858-1255-0410-a3e6-75ea37f81c3a
2010-02-10 00:30:52 +00:00
lahiker42
69bf014a41 give myself credit!
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@202 00440858-1255-0410-a3e6-75ea37f81c3a
2010-02-05 00:32:17 +00:00
lahiker42
0ad716a8a3 Attempt to indulge those who do not want protoc_c
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@201 00440858-1255-0410-a3e6-75ea37f81c3a
2010-02-05 00:31:29 +00:00
lahiker42
1ff01655b7 Another patch from Leszek Swirski regarding the messy notifies_desired
situation.  See issue 32.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@200 00440858-1255-0410-a3e6-75ea37f81c3a
2010-02-05 00:06:43 +00:00
lahiker42
54aa2a09cb Bug fix for rpc with a lot of file-descriptors
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@199 00440858-1255-0410-a3e6-75ea37f81c3a
2010-01-24 17:09:48 +00:00
lahiker42
a0398bd106 -pthread required
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@198 00440858-1255-0410-a3e6-75ea37f81c3a
2010-01-24 16:51:53 +00:00
lahiker42
7dad08957f - Fix to compile with latest prtobuf.
- Fix for big-endian platforms.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@197 00440858-1255-0410-a3e6-75ea37f81c3a
2010-01-24 16:42:14 +00:00
lahiker42
42abd6d706 correction
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@196 00440858-1255-0410-a3e6-75ea37f81c3a
2009-11-01 01:20:16 +00:00
lahiker42
bcde9c0a95 notes.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@195 00440858-1255-0410-a3e6-75ea37f81c3a
2009-10-28 04:27:17 +00:00
lahiker42
40f1eaea6f - Add protobuf_c_message_init(). changes the format of descriptor.
Support for not generating pack/unpack.  (Andrei Nigmatulin)

- Misc cleanups.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@194 00440858-1255-0410-a3e6-75ea37f81c3a
2009-10-28 04:25:43 +00:00
lahiker42
aab90f4a32 Use reserved word in string within descriptor (from Andrei Nigmatulin).
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@193 00440858-1255-0410-a3e6-75ea37f81c3a
2009-10-18 15:50:40 +00:00
lahiker42
eeed9c2b7a git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@192 00440858-1255-0410-a3e6-75ea37f81c3a 2009-06-11 13:05:23 +00:00
lahiker42
9b2f4d9ef1 Add -lpthread when linking against protobuf
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@191 00440858-1255-0410-a3e6-75ea37f81c3a
2009-06-11 13:00:50 +00:00
lahiker42
44f46742de needs stdio on c++
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@190 00440858-1255-0410-a3e6-75ea37f81c3a
2009-06-11 12:53:32 +00:00
lahiker42
f3ae05f9e1 misc.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@189 00440858-1255-0410-a3e6-75ea37f81c3a
2009-06-11 12:50:42 +00:00
lahiker42
03e11c4fa6 Issue 20: Update for UnknownField API change (by dcreager).
See:
  http://code.google.com/p/protobuf-c/issues/detail?id=20


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@188 00440858-1255-0410-a3e6-75ea37f81c3a
2009-06-11 12:49:24 +00:00
lahiker42
38d89f78ba comments
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@187 00440858-1255-0410-a3e6-75ea37f81c3a
2009-06-11 12:47:52 +00:00
lahiker42
6769a5ecd2 add 'static' where needed. minor packaging stuff.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@186 00440858-1255-0410-a3e6-75ea37f81c3a
2009-05-13 15:21:05 +00:00
lahiker42
5621b79adc Too lazy to split into separate patches
- allow CFLAGS=-DPRINT_UNPACK_ERRORS=0 to suppress
  unpack warnings from being printed at compile time (Andrei Nigmatulin)
- give error if an unknown wire-type is encountered (Andrei Nigmatulin)
- fix technically possible overflows during unpack of very
  large messages (Andrei Nigmatulin)
- [UNFINISHED] windows RPC work
and other junk, sorry


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@185 00440858-1255-0410-a3e6-75ea37f81c3a
2009-04-21 14:08:14 +00:00
lahiker42
86c23f2bb0 work on windows port (blech)
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@184 00440858-1255-0410-a3e6-75ea37f81c3a
2009-04-21 14:07:21 +00:00
lahiker42
57b9a4d246 ugh
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@183 00440858-1255-0410-a3e6-75ea37f81c3a
2009-04-05 14:06:45 +00:00
lahiker42
8b62c213f4 release 0.10
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@182 00440858-1255-0410-a3e6-75ea37f81c3a
2009-04-04 23:08:33 +00:00
lahiker42
df4ccc669d Fix crashes on corrupt data. (Issue 16)
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@181 00440858-1255-0410-a3e6-75ea37f81c3a
2009-04-04 22:53:39 +00:00
lahiker42
cb95ca9c64 i guess this is too rude
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@180 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-10 02:51:10 +00:00
lahiker42
73f34af0d7 reverse log
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@179 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-08 14:37:11 +00:00
lahiker42
2881e56b97 git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@178 00440858-1255-0410-a3e6-75ea37f81c3a 2009-03-08 14:36:16 +00:00