kenton@google.com
09b9e99bd3
Make tests compile on Sun Studio. Patch from Monty Taylor.
16 years ago
temporal
bcb791a9d0
Experimental alternative build definition.
16 years ago
Joshua Haberman
89a6c6d71f
Whoops, re-add static to MurmurHash.
16 years ago
Joshua Haberman
eb67fb9109
Fixed memory leaks in upbc.
16 years ago
Joshua Haberman
8fa6a92f53
Major refactoring of upb_msg. Temporary functionality regression.
...
There is significant refactoring here, as well as some more trivial
name changes. upb_msg has become upb_msgdef, to reflect the fact
that a upb_msg is not *itself* a message, it describes a message.
There are other renamings, such as upb_parse_state -> upb_stream_parser.
More significantly, the upb_msg class and parser have been refactored
to reflect my recent realization about how memory management should
work. upb_msg now has no memory management, and a memory mangement
scheme (that works beautifully with multiple language runtimes) will
be layered on top of it.
This iteration has the new, read-only upb_msg. upb_mm_msg (a
memory-managed message class) will come in the next change.
16 years ago
kenton@google.com
323e6321c6
doc comment tweaks
16 years ago
kenton@google.com
75fcd790c4
Silence pedantic warning about unused parameter.
16 years ago
kenton@google.com
7ddfb4c3c7
Remove semi-broken Java thread-local builder freelist 'optimization'. Maybe bring back later in optional form.
16 years ago
kenton@google.com
68996fc874
Gigantic descriptors shouldn't overflow the Java string literal size limit.
16 years ago
kenton@google.com
445f1023e1
Update version number to 2.2.0-pre.
16 years ago
kenton@google.com
1a34c92e73
Make sure GeneratedMessageFactory is deleted on shutdown.
16 years ago
Joshua Haberman
1733b58257
Fix a few small compile warnings.
16 years ago
Joshua Haberman
f03c8bd7dd
Minor bugfix and makefile change.
16 years ago
kenton@google.com
58ebb1ccf8
Fix argument order -- I guess this macro is unused...
16 years ago
Joshua Haberman
946dcf4a5d
Fix tests (and src) such that all tests pass again.
16 years ago
Joshua Haberman
3fde2b26cd
Remove commented-out code that was moved to upb_msg.c.
16 years ago
Joshua Haberman
3149d2b372
Added a proper prototype for upb_serialize.
16 years ago
Joshua Haberman
62dbeee8f6
Add upb_serialize.c.
16 years ago
Joshua Haberman
e8c58eb78d
Sketches of serialization.
16 years ago
Joshua Haberman
a952e42e99
Fixed a bug in set_flags order in the compiler.
16 years ago
Joshua Haberman
85f6cecb80
Added calculation of sizes for serialization (untested).
16 years ago
temporal
43af40dcca
Remove @Override annotations that cause compiler errors on Java 1.5.
16 years ago
temporal
f837b0066d
Use the nice macro to declare once-init control objects, like good little coders should. Otherwise the initialization routines never run on Mac. TODO: Investigate how this was broken.
16 years ago
kenton@google.com
9270a99d2e
Make DLLs work again.
16 years ago
kenton@google.com
c3a24531d1
Hurr, some merge conflict was resolved poorly. Fixed.
16 years ago
kenton@google.com
253a850804
Allow compression level of GzipOutputStream to be configured.
16 years ago
kenton@google.com
1900c536cd
Fix compile for GCC 3.4.4.
16 years ago
Joshua Haberman
4bcdea25f0
More work on serialization.
16 years ago
Joshua Haberman
4240e0e598
Updated parser semantics to better support streaming.
16 years ago
Joshua Haberman
5fa6912da8
Fleshed out serialization functions a bit more.
16 years ago
kenton@google.com
c137750365
Remove two empty source files. This doesn't actually have any effect on code size but might as well get rid of them.
16 years ago
kenton@google.com
4f3491ee5f
Decouple strutil from C++ lite library for a further 23k reduction.
16 years ago
Joshua Haberman
cd3d737d5e
Add sketch of deserializing code.
16 years ago
Joshua Haberman
60e7933d4c
Tweak the prototype for the wvtov conversions.
16 years ago
Joshua Haberman
4f205f3dc3
Header file rearranging/prettifying.
16 years ago
kenton@google.com
858a22be11
Define libprotobuf-lite in Makefile.am.
...
TODO: Compile conditionally? Provide a way to omit ExtensionSet?
Should libprotobuf depend on libprotobuf-lite instead of being a
stand-alone lib?
16 years ago
kenton@google.com
80b1d62bfc
Submit recent changes from internal branch, including "lite mode" for
...
C++ and Java. See CHANGES.txt for more details.
16 years ago
Joshua Haberman
e373367fb7
Move parsing functions to header file in anticipation of code generation (want them inlined).
16 years ago
kenton@google.com
d2fd0638c3
Down-integrate some code from an internal branch. (More to come.)
16 years ago
Joshua Haberman
413ccaf6b9
Re-enable checks for set_flags now that upbc emits them.
16 years ago
Joshua Haberman
e58c871c19
upb is fully self-hosting (except for text->descriptor)!
16 years ago
Joshua Haberman
ee1ed1ccb8
Compiler finally works (except string arrays). Untested. Holy crap that was a lot of work.
16 years ago
Joshua Haberman
509fb80b46
Bugfix to upb_table.
16 years ago
Joshua Haberman
b2a890263f
Properly initialize the fqname member of upb_msg.
16 years ago
Joshua Haberman
c9105bbf58
Support for dumping protobufs in text format.
16 years ago
Joshua Haberman
40e8127a24
Abandon setjmp/longjmp, performance was not measurably increased.
16 years ago
Joshua Haberman
d7632d271c
Pass pointer to tag instead of by value.
16 years ago
Joshua Haberman
cbc05553c9
Cache callbacks in the local stack frame.
16 years ago
Joshua Haberman
cd109b3c94
Bugfix in upb_parse.
16 years ago
Joshua Haberman
babefc3c66
Bugfixes to parser.
16 years ago