Joshua Haberman
79d57263f5
Improvements to one-branch varint reading function.
16 years ago
Joshua Haberman
d1aa095cb3
High-level parsing interface written (not yet tested).
16 years ago
Jon Skeet
367217301d
Get the right warning number this time.
16 years ago
Jon Skeet
cb8644df88
Fixed a couple of warnings
16 years ago
Jon Skeet
c784be3149
Remove unused variable in static constructors
16 years ago
Joshua Haberman
0f50bcbceb
Small Makefile tweak.
16 years ago
Joshua Haberman
b04a376636
Alternative (optimized) implementations of varint parsing.
16 years ago
Joshua Haberman
24c14a3ad0
Increased robustness of 64-bit varint test.
16 years ago
Joshua Haberman
c419731462
Bring 'tests' back up to date and build it again.
16 years ago
Joshua Haberman
bc717d8402
Implement inlining that works with both C99 and all versions of GCC.
16 years ago
Joshua Haberman
ccca4d7136
Acknowledge authorship and fix warning in the eng() function.
16 years ago
Joshua Haberman
5ec762a600
Added TODO about experimenting with Cuckoo Hashing.
16 years ago
Joshua Haberman
f4c00fc979
More work on the table implementation.
...
It currently beats std::map and std::hash_map by >10x.
16 years ago
Adam Bliss
9ed5ba9170
am a67f19de: Adds a few utilities to ProtoBufUtil, integrating over from mainline
...
Merge commit 'a67f19deb0794784d1b841bc1900328103af03c5'
* commit 'a67f19deb0794784d1b841bc1900328103af03c5':
Adds a few utilities to ProtoBufUtil, integrating over from mainline
16 years ago
Adam Bliss
c1a443d486
Adds a few utilities to ProtoBufUtil, integrating over from mainline
16 years ago
Mitsuru Oshima
8a3fd8152c
am 7fea449b: Revert "ProtoBuf update"
...
Merge commit '7fea449b53848057686ac4266ee51853bda70e30'
* commit '7fea449b53848057686ac4266ee51853bda70e30':
Revert "ProtoBuf update"
16 years ago
Mitsuru Oshima
7e013cacd4
Revert "ProtoBuf update"
...
This reverts commit 9aaf507646c866ab131bf2bcd973882ff9f553cf.
16 years ago
Mitsuru Oshima
53a2e9d2b0
am 9aaf5076: ProtoBuf update * Added IntMap that uses Hashtable for larger keys * Chagned to use IntMap to allow larger tags * Changed to use autoboxing for int/longs.
...
Merge commit '9aaf507646c866ab131bf2bcd973882ff9f553cf'
* commit '9aaf507646c866ab131bf2bcd973882ff9f553cf':
ProtoBuf update
16 years ago
Mitsuru Oshima
babfb77851
ProtoBuf update
...
* Added IntMap that uses Hashtable for larger keys
* Chagned to use IntMap to allow larger tags
* Changed to use autoboxing for int/longs.
16 years ago
Jon Skeet
8729cf4628
Added the ability to use an IEnumerable<T> when adding to a list, so you can do:
...
new Foo.Builder {
RepeatedValue = { x.Select(y) }
};
... a bit like LINQ to XML.
16 years ago
Jon Skeet
d6dd0a4560
Add CLSCompliance.
16 years ago
Jon Skeet
0864d30b97
Include missing generated files
16 years ago
Jon Skeet
df67f1482b
Fix custom options behaviour
16 years ago
Joshua Haberman
0aedd1825f
Makefile: build descriptor.o.
16 years ago
Joshua Haberman
d1f78c88fa
A bunch more work, a fast table for field lookup.
16 years ago
kenton@google.com
f22943c7d0
Fix build problem with -std=gnu++0x.
16 years ago
Jon Skeet
6ef233d4ea
Updated todo list
16 years ago
Jon Skeet
c298c89229
New tests, double build errors, and a few miscellaneous fixes
16 years ago
Jon Skeet
a6afb7cd48
Update protoc.exe to 2.1 release
16 years ago
Jon Skeet
2e6dc12fa8
Write/Read delimited messages
16 years ago
Jon Skeet
43da7ae328
Fix equality of messages to include unknown fields
16 years ago
Jon Skeet
7ee85c4e9f
Added field constant generation
16 years ago
kenton@google.com
a5183461f8
Fixes to acx_check_suncc.m4 from Monty Taylor.
16 years ago
Joshua Haberman
0c80c38475
A flurry of activity. Doesn't compile yet.
...
- a descriptor.c that describes the data structures in
descriptor.proto using the data structures in descriptor.h.
- everything renamed pbstream -> upb.
- modularization rethought.
- Doesn't compile yet, but should once things settle back down.
16 years ago
kenton@google.com
b43727981c
Fix final leak (win32 only).
16 years ago
Joshua Haberman
fdcefd68b1
Rethought upb_struct and new descriptor.h.
...
This is the next step in bootstrapping. upb_struct defines the
in-memory layout that will be used by both compile-time and run-time
defintions of protobufs. descriptor.h describes the proto format
using this format.
The next step is to create a descriptor.c that can parse descriptor
protos into this format. Then real run-time reflection can begin.
16 years ago
kenton@google.com
1fb3d394e5
Update version number in trunk.
16 years ago
Jon Skeet
d33bff04b3
Fixed i18n issues with numbers
16 years ago
kenton@google.com
1d4df6caa4
Fix compile error on Cygwin, where int32 is typedefed to long instead of int, and the compiler can't figure out which overload of this method to use in that case.
16 years ago
kenton@google.com
e21c5734ec
Make sure examples link properly.
16 years ago
kenton@google.com
63e646b7ad
Provide ShutdownProtobufLibrary() which frees all startup-allocated objects.
16 years ago
kenton@google.com
9824eda6b5
enable cross-compiling
16 years ago
kenton@google.com
42c81e1a76
Set better default CXXFLAGS and don't use optimization when compiling tests
...
(takes too long).
16 years ago
kenton@google.com
3d694ad2d8
Fix test failure on 64-bit python.
16 years ago
kenton@google.com
a8923cdd9a
More Sun CC hacks. Contributed by Monty Taylor.
16 years ago
kenton@google.com
2fd1208b34
Hopefully make autogen.sh run on solaris.
16 years ago
kenton@google.com
2cdba5baee
Add Emacs editor mode. Contributed by Alexandre Vassalotti.
16 years ago
temporal
1589b1d8c1
Fix startup crash when statically linking on Mac.
16 years ago
kenton@google.com
c5ff06cc74
Add second run of cpp_unittest which verifies that descriptors are constructed lazily. This is accomplished by avoiding any use of descriptors while testing a bunch of other operations, then checking at the end that descriptors have not been constructed.
16 years ago
kenton@google.com
503a4dd705
Convert some \u escape sequences to UTF-8 because MSVC interprets them differently.
16 years ago