Joshua Haberman
33a68acb14
Use a status object for errors so a message can be returned.
...
Also delay deletion of subfields until the entire message is
deleted.
15 years ago
kenton@google.com
32f330f7a4
Detect whether zlib is new enough. Based on patch from Oliver Jowett.
15 years ago
kenton@google.com
f4c6e4b37e
Fix protobuf-mode on XEmacs.
15 years ago
kenton@google.com
721995d00a
Fix cross-compiling when building in a dedicated build directory. Fix pointed out by Pierre Kestener.
15 years ago
Jon Skeet
0aac0e4fe3
Regionify copyright statement
15 years ago
Jon Skeet
f29da03679
Can now at least *build* Silverlight2 assembly easily. Can't test though.
15 years ago
Jon Skeet
8a5c7e792a
Silverlight compatibility now working, although build files aren't ideal
15 years ago
Jon Skeet
3c80886fa9
Silverlight compatibility other than SortedList
15 years ago
Jon Skeet
79a8c01033
Ignore mono binaries
15 years ago
Jon Skeet
9dea1157ed
Merge branch 'master' of git@github.com:jskeet/dotnet-protobufs
15 years ago
Jon Skeet
1872d080f7
Fixed bug spotted by danielr
15 years ago
kenton@google.com
7fb9ae9df3
Make sure to quality calls to std::swap. Otherwise, if a google::swap() exists (e.g. because the user is using our own dense_hash_map implementation) it will be chosen instead, leading to a compile error.
16 years ago
kenton@google.com
b26684a900
Remove test that had undefined behavior and thus did not pass on some platforms.
16 years ago
Joshua Haberman
4b47002198
Update Python C extension for new upb_array API.
16 years ago
Joshua Haberman
1fe9414757
Change upb_msg to work with messages that have 0 fields.
16 years ago
Joshua Haberman
46fac0f58d
Tests use valgrind, chdir in test.
16 years ago
Joshua Haberman
d05eac2890
Properly free dynamic memory that has not been reused during parsing.
16 years ago
Joshua Haberman
a022e6ebdb
Fixes for more discerning compilers.
16 years ago
Joshua Haberman
00ba0d1ac1
Unit test comparing parsed results with proto2.
16 years ago
Joshua Haberman
75134e6f9d
Small stylistic improvements in benchmarks.
16 years ago
Joshua Haberman
9b67b322da
Small C++ header fixes.
16 years ago
Joshua Haberman
527a544b04
Small bugfix: enums are int32, not uint32.
16 years ago
Joshua Haberman
085aa44fcd
Small bugfix.
16 years ago
Joshua Haberman
cd2f77d392
Incremental improvements to cbparser, and a test.
16 years ago
Joshua Haberman
22dd1980f6
Added TODO.
16 years ago
Joshua Haberman
f6ee945409
Renamed upb_stream_parser -> upb_cbparser, and API cleanup.
16 years ago
Joshua Haberman
2bad79f721
Fix upbc for upb_array API change.
16 years ago
Joshua Haberman
f17ed90f77
Some cleanup and reformatting, fixed the benchmarks.
16 years ago
Joshua Haberman
b276aa78b6
Updated/corrected comments in pb.c.
16 years ago
Joshua Haberman
bf2082acaa
Add .py files for Python extension (they are just shells).
16 years ago
Joshua Haberman
040f7e6ba2
Significant memory-management refactoring any Python extension.
16 years ago
kenton@google.com
3aa7a0dafe
HPUX patch from Alexander Melnikov.
16 years ago
temporal
ad5672bad7
Update experimental SEBS file to support cross-compiling.
16 years ago
Joshua Haberman
a223f9af30
More work on Python extension, build libupb PIC.
16 years ago
Joshua Haberman
f00091f340
Beginnings of a Python extension.
16 years ago
Joshua Haberman
cfd67dda49
Various fixes.
16 years ago
Joshua Haberman
1e82f0ebd6
A few more thread-safety fixes.
16 years ago
Joshua Haberman
7fa19a3f95
Finish upb_context thread-safety.
16 years ago
Joshua Haberman
71d82d06d1
Add refcounting and thread-safety to message definitions.
16 years ago
kenton@google.com
0bcfeb9dcd
Don't use RTTI in down_cast if GOOGLE_PROTOBUF_NO_RTTI is defined. Patch from Chris Masone (of Google).
16 years ago
kenton@google.com
8169c7fcde
Set version number to 2.2.1 in trunk.
16 years ago
Joshua Haberman
2282d2489b
Refactoring: unify upb_msg.
...
The cost is that a upb_msg will now always have an overhead
of 2*sizeof(void*). This is comparable to proto2 overhead.
The benefit is that upb_msg is now self-describing, and
read-only algorithms can now operate on a upb_msg regardless
of the memory-management scheme.
Also, upb_array and upb_string now know inherently if they
own their associated memory, and upb_array has a generic
pointer for memory management purposes like upb_msg does.
16 years ago
kenton@google.com
201b9be95d
Set release date.
16 years ago
kenton@google.com
0f831dca74
Add new headers to extract_includes.bat.
16 years ago
kenton@google.com
8aae2a2137
Oops, unittest_enormous_descriptor.proto still needs to be in the dist.
16 years ago
kenton@google.com
e133abd01c
Don't build unittest_enormous_decsriptor.proto in C++ because it's very slow on older GCCs. This file was meant for testing Java anyway.
16 years ago
kenton@google.com
304b731da6
Hack to make gtest sub-package compile correctly on Sun Studio.
16 years ago
kenton@google.com
db0bf5a52f
Fix MSVC projects to ensure that protoc is built before lite-test attempts to use it and that lite-test and tests don't attempt to generate the same .pb.* files at the same time.
16 years ago
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