kenton@google.com
a6de64aef3
setup.py shouldn't fail if protoc path contains whitespace.
16 years ago
kenton@google.com
9af2f4c50b
Update ez_setup.py to latest version, so it works with Python 2.6.
16 years ago
kenton@google.com
a8e8ccf29c
Improve performance of Python serialization. Patch from Will Pierce.
16 years ago
kenton@google.com
6dcd46c8d2
Fix initialization ordering problem in logging code. Based on patch from Wink Saville.
16 years ago
kenton@google.com
cfa2d8aa87
Generate field number constants. Patch from Michael Poole.
16 years ago
kenton@google.com
eb26a1efde
Commit Michael Poole's patch for explicitly constructing all class fields in
...
generated code.
16 years ago
kenton@google.com
e59427a62c
Commit Brian Olson's gzip stream implementations.
16 years ago
kenton@google.com
f663b1602d
Adds a flag to protoc called --error_format which specifies what
...
convention to use when printing errors. Default is GCC, but Microsoft
Visual Studio is another option. This allows errors to be clickable in
the MSVS error log.
16 years ago
The Android Open Source Project
42a1a5808d
Merge branch 'open_source_no_contributions' into google_internal
16 years ago
The Android Open Source Project
091ddeafa4
Merge commit 'korg/cupcake'
16 years ago
The Android Open Source Project
5a08423c59
auto import from //branches/cupcake_rel/...@140373
16 years ago
Jean-Baptiste Queru
d7af73ccec
Merge commit 'remotes/korg/cupcake' into merge
16 years ago
Joshua Haberman
d4f3e5a1af
Add descriptor.proto formats as C data.
...
This will be the bootstrapping strategy.
16 years ago
Joshua Haberman
894e7c6e58
Removed references to pbstruct from Makefile.
16 years ago
Joshua Haberman
0a1697f828
Removed pbstruct.
...
On more work/reflection, I don't think this is particularly
amenable to language-agnostic abstraction. Which is OK.
16 years ago
Jon Skeet
7a66a6d3f4
Benchmark data update.
16 years ago
jonathan.skeet
90bdae226e
Update benchmark data.
16 years ago
Jon Skeet
7de1aef848
Avoid creating UnknownFieldSets unless we really have to.
16 years ago
Jon Skeet
75f4268e60
Minor benchmarking changes
16 years ago
Jon Skeet
6678a73b0d
For some reason the build file didn't get pushed last time
16 years ago
Jon Skeet
bceed3c198
Commit earlier deletes
16 years ago
Jon Skeet
ae87cf6e5c
Moved benchmarking code around
16 years ago
jonathan.skeet
8604c745fc
Added copyright notice, made constants constant, added GC call before each test.
16 years ago
jonathan.skeet
ff9c9e4d93
Initial benchmarking.
16 years ago
Joshua Haberman
3c515a6ce9
Very rough (doesn't even compile) pbstruct.
16 years ago
Joshua Haberman
a714989094
Detect overflow (unlikely except for malicious input).
16 years ago
The Android Open Source Project
82155ace01
auto import from //depot/cupcake/@135843
16 years ago
The Android Open Source Project
778b51ced8
auto import from //depot/cupcake/@135843
16 years ago
The Android Open Source Project
a3cc5f1795
auto import from //depot/cupcake/@132589
16 years ago
Joshua Haberman
9f56ff3b5b
Fleshed out pbstruct a bit more.
16 years ago
The Android Open Source Project
bb7bbd7c9c
auto import from //depot/cupcake/@137055
16 years ago
Joshua Haberman
5f2344e480
Fixed off-by-one error in hashtable calculation.
16 years ago
Joshua Haberman
6e67cb48ef
Fixed bugs that lint caught.
16 years ago
Joshua Haberman
268bb50e80
Enabled more warnings, fixed the warnings.
16 years ago
Joshua Haberman
2d41d385f3
Add pbstream_lowlevel.h.
16 years ago
Joshua Haberman
c8d67b2686
More refactoring of structures.
...
pbstream_internal.h is now where even lower-level parsing
functions go.
16 years ago
Joshua Haberman
73ab650ad1
Added function for skipping data.
16 years ago
Joshua Haberman
14624e34d8
Added the first iteration of pbstruct.
16 years ago
Joshua Haberman
5a31f694a7
Implemented the array part of the fieldnum lookup.
16 years ago
Joshua Haberman
e195d5379d
Since the stack has a fixed size, don't allocate dynamically.
16 years ago
Joshua Haberman
eaa0cdd6a1
Oops, malloc(array[int]) didn't do what I thought.
16 years ago
Joshua Haberman
d351981f9e
Change to a fixed stack size.
...
Proto2 only allows a nesting depth of 64, so we follow suit.
16 years ago
Joshua Haberman
e67f5d5f02
Less code duplication, joy.
16 years ago
Joshua Haberman
47fb22194c
Another test, another bugfix.
16 years ago
Joshua Haberman
e6b461c84a
More tests and bugfixes -- parses its first proto!
16 years ago
Joshua Haberman
73978bfc74
API cleanup.
16 years ago
Joshua Haberman
1aa1627fc1
Implemented the _init_parser() function.
16 years ago
Joshua Haberman
afe132eb10
Remove DYNARRAY for the stack (wasn't buying much).
16 years ago
Joshua Haberman
446d7c27ee
Rip out more stuff that belongs in higher layers.
16 years ago
Joshua Haberman
537ca81ada
Credit where credit is due.
16 years ago