Josh Haberman
b796c1b317
Update copyright to be Google Inc.
...
This doesn't reflect any material change in
how I will be working on upb, and I have no
problem making this change. It's still open
source under the BSD license, and I'll still
be working on it well beyond the hours that
constitute a normal job.
14 years ago
Joshua Haberman
65b57a2813
Added escaping for text output.
14 years ago
Joshua Haberman
a75a305c77
Implemented upb_stringsink, upb_msgtotext, and exposed the latter to Lua.
14 years ago
Joshua Haberman
3a758132b4
Added proper support for enum default values.
14 years ago
Joshua Haberman
6b574175dd
Prevent the default message from getting mutated.
...
If a Lua program references the default message, it will
be copied into a mutable object.
14 years ago
Joshua Haberman
fd184f0df2
Major work on Lua extension and default values.
...
Default values are now supported, and the Lua extension
can now create and modify individual protobuf objects.
14 years ago
Joshua Haberman
1e972d40f1
Bring lua extension up to date with new symtab APIs.
14 years ago
Joshua Haberman
7af638ff2d
Revive Lua extension.
...
It builds and you can inspect a symtab.
Still need to expose streaming and message
based interfaces.
14 years ago
Joshua Haberman
672f4617e2
Lua support for fielddefs and getting their properties.
15 years ago
Joshua Haberman
d3d939ab7f
Fix the case where no def is found for lookup.
15 years ago
Joshua Haberman
21ee24a730
Updated Lua extension to handle fielddefs.
15 years ago
Joshua Haberman
71ac83fe7a
Make object cache weak.
15 years ago
Joshua Haberman
4a38d38f96
Use a weak table to cache objects.
...
This simplifies things considerably, and is more
in line with common practice.
15 years ago
Joshua Haberman
904a79cec3
Fix bugs in lookup and getdefs.
15 years ago
Joshua Haberman
5871ed0d02
First go at Lua bindings.
15 years ago
Joshua Haberman
9e3f5e343b
Make upb_msgdef own all its data.
...
This is in anticipation of making upb_msgdef's easy
to dup. This involved removing all traces of any
descriptors from the defs.
15 years ago
Joshua Haberman
7cde43ea0a
Renamed upb_msg_fielddef -> upb_fielddef, upb_enum -> upb_enumdef.
15 years ago
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
Joshua Haberman
4b47002198
Update Python C extension for new upb_array API.
15 years ago
Joshua Haberman
b276aa78b6
Updated/corrected comments in pb.c.
15 years ago
Joshua Haberman
bf2082acaa
Add .py files for Python extension (they are just shells).
15 years ago
Joshua Haberman
040f7e6ba2
Significant memory-management refactoring any Python extension.
15 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