97 Commits

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