Paul Yang
a8a0bc73b9
Allow bytes field to be longer than 16000 bytes ( #157 )
6 years ago
Bo Yang
3c4f0347f9
Replace strptime with custom implementation
6 years ago
Paul Yang
56fefe2a50
Fix parsing repeated well known type value ( #153 )
...
* Fix parsing repeated well known type value
* Fix generated file
* Fix comment
6 years ago
Josh Haberman
71ec01e34b
Fix for Windows.
6 years ago
Bo Yang
da8d1392c1
Fix the issue for strptime
...
* Define _XOPEN_SOURCE
* Exclude usage on windows
6 years ago
Shahid
17db372267
Removing the 'byteswap.h' header which is not portable
...
Incorporating code review changes:
https://github.com/google/upb/pull/151#discussion_r257529497
6 years ago
Josh Haberman
ad905b08f5
Fixed amalgamation to properly include stdint.h first for UPB_SIZE().
6 years ago
Josh Haberman
32e3f394b4
A few small API tweaks.
...
- Foo_parsenew() -> Foo_parse().
- parse function takes plain (const char*, size_t) instead of
upb_strview. The latter is mainly useful for strings inside
message objects.
6 years ago
Shahid
e223001916
Update table.c
6 years ago
Shahid
33cd3cfa1d
Update varint.int.h
6 years ago
Josh Haberman
b07fcde013
Fix for C++ inclusion of decoder.int.h.
6 years ago
Josh Haberman
22ad7121c2
Fixes for google3.
6 years ago
Josh Haberman
8e737d4f9a
Discard extensions since current symtab can't handle them.
6 years ago
Josh Haberman
c1706e0a7c
Added a few more missing functions.
6 years ago
Josh Haberman
afdd4698ba
Added missing fielddef function implementations for C++.
6 years ago
Josh Haberman
865876895d
Fixed tests and code.
6 years ago
Josh Haberman
0dbbfd1f80
Added missing functions.
6 years ago
Josh Haberman
c4327e55ac
A few more fixes.
6 years ago
Josh Haberman
8980f6db5c
text_printer.h now successfully compiles.
6 years ago
Josh Haberman
c358bb42fd
A few more Google fixes.
6 years ago
Josh Haberman
76033b3a65
Correct TextPrinterPtr.
6 years ago
Josh Haberman
2719bcff0d
Fixes for Google-internal tests.
6 years ago
Joshua Haberman
9bc7973e38
Fixes for Google import.
6 years ago
Joshua Haberman
f4532ab273
Properly align the arena.
6 years ago
Joshua Haberman
315c167bed
Some more fixes for PHP.
6 years ago
Joshua Haberman
04923fc26e
Some fixes for PHP.
6 years ago
Bo Yang
12a5297740
Fix empty FieldMask json encoding
6 years ago
Joshua Haberman
8cd3b9dfa9
Moved some definitions to def.h
6 years ago
Paul Yang
c7870e0f77
Supprot FieldMask json encoding/decoding. ( #147 )
6 years ago
Joshua Haberman
01557462cc
upb_symtab_add() returns upb_filedef* instead of bool.
6 years ago
Joshua Haberman
84fb01ad0f
Removed the JIT. Nobody was actually using it, and table-driven should achieve 80-90% of the perf.
6 years ago
Joshua Haberman
2c26f60dbb
Added some comments and reversed upb_arena_cleanup() args.
6 years ago
Joshua Haberman
9349b703a3
Fixed a few bugs surfaced by Ruby.
6 years ago
Joshua Haberman
f30c7f4acb
Take sinks by value.
6 years ago
Joshua Haberman
1508648f30
Build & fix the JIT.
6 years ago
Joshua Haberman
754b9f1cfd
All tests pass again!
6 years ago
Joshua Haberman
cb26d883d1
WIP.
6 years ago
Joshua Haberman
a9c375f8ea
Partway through refactoring of Arena.
6 years ago
Joshua Haberman
ef7c50223a
All tests pass again!
6 years ago
Joshua Haberman
48863ea0be
A lot more tests are working now.
6 years ago
Joshua Haberman
d2f9bec5c6
Removed old-style C++ handlers that relied on UB in favor of more normal ones.
6 years ago
Joshua Haberman
0553eff64a
upb_refcounted is gone! Some tests still to fix.
6 years ago
Josh Haberman
9ea6bb4678
Renamed upb_stringview -> upb_strview for C terseness.
6 years ago
Joshua Haberman
31e0997c1a
Some bugfixes.
6 years ago
Joshua Haberman
0ce9b81815
Fixed bugs in array accessors.
6 years ago
Joshua Haberman
d0c8bb84f4
WIP.
6 years ago
Joshua Haberman
c3011c1548
Fixed bug: make proto2 setters set hasbit.
6 years ago
Joshua Haberman
bc916f1d0f
Added "add" accessors for repeated fields.
6 years ago
Joshua Haberman
8afe0b03a3
Some fixes for Ruby.
6 years ago
Bo Yang
18563bee4c
Fix comments
6 years ago