Joshua Haberman
73a48a46f8
Merge pull request #78 from haberman/axerefcount
...
Fixed amalgamated build and added test.
8 years ago
Josh Haberman
3b7dc27fb5
Fixed amalgamated build and added test.
8 years ago
Joshua Haberman
72ae34c28f
Merge pull request #77 from haberman/axerefcount
...
Simplify and remove some code from upb::SymbolTable
8 years ago
Josh Haberman
5aa01b46e4
A couple more fixes.
8 years ago
Josh Haberman
512130adf1
Remove another bit of obsolete code.
8 years ago
Josh Haberman
693b841ec6
Removed all code for adding extensions to upb_symtab.
...
This means extensions can't be used until we implement
the replacement APIs for accessing extensions from a
symtab.
8 years ago
Joshua Haberman
9a9a1097a7
Merge pull request #76 from haberman/movesymtab
...
Moved upb_symtab to def.h/def.c.
8 years ago
Josh Haberman
629b4ce621
Ripped out complicated and unused code for replacing defs in a symtab.
...
Also hid the dup() functions. We can't quite delete them yet
because our current approach for extensions depends on duplicating
defs.
8 years ago
Josh Haberman
47da2afd52
Make upb::SymbolTable no longer reference-counted.
...
This transitions it from shared ownership to unique
ownership.
8 years ago
Josh Haberman
c850bc0a4e
Moved upb_symtab to def.h/def.c.
...
This is in anticipation of removing refcounting and
making upb_symtab (soon to be upb_defpool) the unique
owner of all defs inside.
8 years ago
Joshua Haberman
d5d2eadee5
Merge pull request #75 from haberman/msg
...
Basic serialization for upb_msg and Lua.
8 years ago
Josh Haberman
6cccfe1649
Addressed PR comments.
8 years ago
Josh Haberman
ce1f63fde2
A few C++ fixes for BufferSink.
8 years ago
Josh Haberman
15c388b819
Basic serialization for upb_msg and Lua.
...
Doesn't yet include strings, submessages, maps,
or repeated fields.
8 years ago
Joshua Haberman
076a82ee7e
Merge pull request #74 from haberman/msg
...
Added upb_msg and Lua bindings for using it.
8 years ago
Josh Haberman
2b77da3da8
Update for final PR comments.
8 years ago
Josh Haberman
ba4e23f170
Added a few missing __gc metamethods.
8 years ago
Josh Haberman
949aeee3f1
Changes for PR comments.
8 years ago
Josh Haberman
3122535726
Fleshed out comments and removed some dead code.
8 years ago
Josh Haberman
62472c1161
Suppress warnings on 32-bit for this dead code for now.
8 years ago
Josh Haberman
e977c0af03
Fixed more bugs surfaced by Travis.
8 years ago
Josh Haberman
39c2414d68
Added descriptor.pb so we don't depend on protoc for tests.
8 years ago
Josh Haberman
ff99b3f46b
Fixed some bugs surfaced by Travis.
8 years ago
Josh Haberman
16ca9309b3
Removed some temporary code and fixed a few tests.
8 years ago
Josh Haberman
4b0c4ca7fb
New upb_msg code and Lua bindings around it.
...
There are still some things that are unfinished,
but we are at parity with what Lua had before.
8 years ago
Joshua Haberman
9a91f7bba8
Merge pull request #73 from apstndb/fix-va-copy
...
Fix musl libc incompatibility
8 years ago
HATATANI Shinta
1b4fc46f87
Fix glibc coupling in test
8 years ago
HATATANI Shinta
35e174bf0e
Fix C++11 incompatibility
8 years ago
HATATANI Shinta
5211caac97
Make upb compatible with musl libc
8 years ago
Joshua Haberman
77c97fd3f2
Merge pull request #70 from haberman/reffix
...
Some refcounting fixes.
8 years ago
Josh Haberman
5a49a33605
Responded to CR comments.
8 years ago
Josh Haberman
af79bfb919
Some refcounting fixes.
...
Clearly this stuff is too complex overall.
The plan is to move away from this and more towards
pools, like proto2 uses.
8 years ago
Joshua Haberman
b176b976a5
Merge pull request #69 from haberman/oneofdesc
...
Added support for loading oneofs from descriptors.
8 years ago
Josh Haberman
c387d372ee
Added descriptive comment about descriptor nesting.
8 years ago
Josh Haberman
bb872be0c0
Addressed CR comments: simplify slightly.
8 years ago
Josh Haberman
074a050bb1
Added support for loading oneofs from descriptors.
8 years ago
Joshua Haberman
0787643281
Merge pull request #68 from haberman/bugfixes
...
A small bugfix to upb_table and simplified some code.
8 years ago
Joshua Haberman
dd1b8dad6d
Merge pull request #67 from haberman/endstrhd
...
A few small fixes to the JSON parser.
8 years ago
Josh Haberman
cf22c890c9
Adjust PATH in .travis.yml instead of travis.sh.
8 years ago
Josh Haberman
7d1de129cd
Updated Travis to put protoc in a subdirectory for genfiles.
8 years ago
Josh Haberman
fd1e6a3805
Updated generated code.
8 years ago
Josh Haberman
b09c59cc05
A small bugfix to upb_table and simplified some code.
8 years ago
Josh Haberman
ea85066489
JSON: fix a couple cases of the wrong closure being passed to end handlers.
8 years ago
Joshua Haberman
dfc409618f
Merge pull request #66 from mortonfox/patch-1
...
Fix email links
8 years ago
Morton Fox
ea9aa962ef
Fix email links
8 years ago
Josh Haberman
8b6e2113b0
WIP.
8 years ago
Joshua Haberman
fa338b70a6
Added UPB_ASSERT() that helps avoid unused var warnings.
...
* Added UPB_ASSERT() that helps avoid unused var warnings.
* Addressed PR comments.
* Fixed assert in the JIT.
9 years ago
Josh Haberman
e16ed470be
Updated URL to Tarjan set union paper.
9 years ago
Joshua Haberman
d0c2479920
Fixed small omission: upb_env_init2(). ( #61 )
9 years ago
Joshua Haberman
ac2689cec7
Put oneofs in the same table as fields. ( #60 )
...
* Put oneofs in the same table as fields.
Oneofs and fields are not allowed to have names that conflict,
so we might as well put them all in the same table. This also
allows an efficient operation that looks for both fields and
oneofs in a single lookup.
Added support for OneofDef to Lua to allow testing of this.
* Addressed PR comments.
9 years ago