368 Commits

Author SHA1 Message Date
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
lahiker42
c5ae90eb85 ...
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@177 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-08 14:35:12 +00:00
lahiker42
fc428c1200 Prepare for release.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@176 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-06 02:10:10 +00:00
lahiker42
fd50e6ae89 ..
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@175 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-05 04:03:33 +00:00
lahiker42
d59521b812 note change
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@174 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-05 03:57:17 +00:00
lahiker42
ad4442f388 Tests to handle allocation errors gracefully.
Based on patch by Jason Lunz.



git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@173 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-05 03:56:01 +00:00
lahiker42
b4cc67234a some comments, since who knows if this'll work.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@172 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-05 03:23:41 +00:00
lahiker42
0fdda692b7 ...
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@171 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-05 03:22:38 +00:00
lahiker42
fd6ce14043 Bugs with making TCP connections.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@170 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-05 03:22:05 +00:00
lahiker42
2ace60a2bd Add comments.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@169 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-05 03:21:26 +00:00
lahiker42
74d76532c7 check for protobuf..
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@168 00440858-1255-0410-a3e6-75ea37f81c3a
2009-03-04 22:12:52 +00:00
lahiker42
6a95f7b765 git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@167 00440858-1255-0410-a3e6-75ea37f81c3a 2009-02-10 01:45:41 +00:00
lahiker42
b826c3c569 git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@166 00440858-1255-0410-a3e6-75ea37f81c3a 2009-02-10 01:28:33 +00:00
lahiker42
df40d89ca0 rename autoretry to autoreconnect
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@165 00440858-1255-0410-a3e6-75ea37f81c3a
2009-02-10 01:28:10 +00:00
lahiker42
ff61b79287 noticed this bug... services not sorted alphabetically.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@164 00440858-1255-0410-a3e6-75ea37f81c3a
2009-02-09 23:52:18 +00:00
lahiker42
5df45e9165 try to fix cygwin build issue
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@163 00440858-1255-0410-a3e6-75ea37f81c3a
2009-02-09 03:31:13 +00:00
lahiker42
70b8bf87e8 done item
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@162 00440858-1255-0410-a3e6-75ea37f81c3a
2009-02-09 03:28:45 +00:00
lahiker42
b334510f67 note issue #
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@161 00440858-1255-0410-a3e6-75ea37f81c3a
2009-02-09 03:27:57 +00:00
lahiker42
498abd7b35 git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@153 00440858-1255-0410-a3e6-75ea37f81c3a 2009-01-29 15:42:14 +00:00
lahiker42
461901905b git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@152 00440858-1255-0410-a3e6-75ea37f81c3a 2009-01-29 15:41:41 +00:00
lahiker42
cbb017615c git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@151 00440858-1255-0410-a3e6-75ea37f81c3a 2009-01-29 15:41:30 +00:00
lahiker42
bc25e66e25 add example
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@150 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-29 15:41:16 +00:00
lahiker42
001a4bd3d7 unlink on unix-domain server destroy
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@148 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-29 04:30:46 +00:00
lahiker42
1f0a4127eb misc
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@133 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-29 02:57:17 +00:00
lahiker42
3dbfdf90bf rpc works!
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@126 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-28 15:16:11 +00:00
lahiker42
d2995318bd hangs waiting for timer..
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@125 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-28 05:29:56 +00:00
lahiker42
b4675f4474 rpc work.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@124 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-28 04:57:49 +00:00
lahiker42
70d37e825c rpc builds...
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@123 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-26 18:09:52 +00:00
lahiker42
4349899e34 more rpc fun
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@122 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-26 17:29:24 +00:00
lahiker42
ccdeb8b892 git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@121 00440858-1255-0410-a3e6-75ea37f81c3a 2009-01-26 01:16:45 +00:00
lahiker42
f30d66f01d git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@120 00440858-1255-0410-a3e6-75ea37f81c3a 2009-01-25 14:19:46 +00:00
lahiker42
26be472294 git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@119 00440858-1255-0410-a3e6-75ea37f81c3a 2009-01-25 13:59:55 +00:00
lahiker42
f4e009d4bf ...
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@118 00440858-1255-0410-a3e6-75ea37f81c3a
2009-01-25 13:51:30 +00:00