235 Commits

Author SHA1 Message Date
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