Joshua Haberman
3eae44bada
Refine the exception type when assigning improper attributes.
3 years ago
Joshua Haberman
1c37c488d4
Refined error message.
3 years ago
Joshua Haberman
8af637bcd2
Added extension field numbers.
3 years ago
Joshua Haberman
c75b39fc4d
Accept bytes object as field name.
3 years ago
Joshua Haberman
61d6eff5c4
Throw the proper errors for message initialization failure.
3 years ago
Joshua Haberman
4984a22e75
Fixed error message when serializing with required fields missing.
3 years ago
Joshua Haberman
bca2688f3a
Implemented weird behavior when a field contains invalid UTF-8.
3 years ago
Joshua Haberman
3b25e6fde3
Implemented msg.<NAME>_FIELD_NUMBER attributes.
3 years ago
Joshua Haberman
4993f7a73a
Sort ListFields() results.
3 years ago
Joshua Haberman
cbe314d91e
Implemented IsInitialized(), fixing several more tests.
3 years ago
Joshua Haberman
586f84cd30
Properly check type of integers when converting.
3 years ago
Joshua Haberman
7de3052fbb
Implemented reverse().
3 years ago
Joshua Haberman
4447d87695
Fixed tests that were missing enum type wrapper class.
3 years ago
Joshua Haberman
a2e280e865
Fixed slice assignment of unequal length.
3 years ago
Joshua Haberman
71bfff27cf
Added an extension iteration test that does pass.
3 years ago
Joshua Haberman
2fea0ea19d
Implemented iteration over extension dict.
...
Unfortunately this didn't make the test pass, because it relies on
a specific iteration order.
3 years ago
Joshua Haberman
1be47593f0
Fixed disconnecting before Clear().
3 years ago
Joshua Haberman
075f4a2aec
Merge pull request #482 from haberman/python-fixes3
...
Fixed several more tests by implementing missing functionality
3 years ago
Joshua Haberman
c2053d2bc2
Addressed PR comment.
3 years ago
Joshua Haberman
00c106f551
Addressed PR comments.
3 years ago
Joshua Haberman
6c2eeb1f41
Added C escaping in def_to_proto.
3 years ago
Joshua Haberman
7a24340a26
Fixed some more tests.
3 years ago
Joshua Haberman
a754a370a9
Added beginnings of support for descriptor DB.
3 years ago
Joshua Haberman
fc725be5bc
Implemented proper unescaping of bytes defaults.
3 years ago
Joshua Haberman
8f0a2cd603
Implemented the behavior of ignoring duplicate added filenames.
3 years ago
Joshua Haberman
89ff28cead
Fixed a few tests: extensions are not fields.
3 years ago
Joshua Haberman
b13fc03095
Merge pull request #481 from haberman/wrapping-upb-doc
...
First version of a doc describing how to wrap upb
3 years ago
Joshua Haberman
f0673715fd
Fixed some typos and wordsmithing.
3 years ago
Joshua Haberman
eb8d8c5c16
Removed transparent backgrounds to be viewable on GitHub dark mode.
3 years ago
Joshua Haberman
5832e8038b
Grudgingly moved to separate files for SVGs.
3 years ago
Joshua Haberman
8716432bfa
Added off-line renderer that invokes dot.
3 years ago
Joshua Haberman
11c9468759
WIP.
3 years ago
Joshua Haberman
107032d2ff
Merge pull request #478 from haberman/python-fixes2
...
Fixed a handful of unit tests
3 years ago
Joshua Haberman
e5d8d28b0f
Addressed PR comments.
3 years ago
Joshua Haberman
54b775d4f4
WIP.
3 years ago
Joshua Haberman
edf9f63800
Merge pull request #479 from fmeum/main
...
Build tools in the exec configuration
3 years ago
Fabian Meumertzheim
5ea5b05530
Build tools in the exec configuration
...
Bazel has deprecated the host configuration and replaced it with the
exec configuration, which has proper support for transitions and remote
build execution.
3 years ago
Joshua Haberman
7260346e30
Fixed validation of extension field descriptors.
3 years ago
Joshua Haberman
0549fc0ce1
Fixed several tests.
3 years ago
Joshua Haberman
69d948a9cb
Implemented deep copy for repeated fields.
3 years ago
Joshua Haberman
257da205fb
Merge pull request #477 from haberman/python-message-fixes
...
Fixed or accounted for nearly all errors in message_test
3 years ago
Joshua Haberman
de2d7e345b
Addressed PR comments.
3 years ago
Joshua Haberman
5b3447ebd3
Addressed PR comments.
3 years ago
Joshua Haberman
1437245d41
Fixed or accounted for nearly all errors in message_test.
3 years ago
Joshua Haberman
0dca22a426
Merge pull request #476 from haberman/python-fixes
...
Two small Python fixes
3 years ago
Joshua Haberman
33b6049871
Fixed test_util.py so that golden data can be found.
3 years ago
Joshua Haberman
c2209d1a29
Enabled custom options.
3 years ago
Joshua Haberman
6ce7701509
Merge pull request #474 from haberman/python-extdict
...
Added ExtensionDict for Python
3 years ago
Joshua Haberman
0606564fd5
Addressed PR comments.
3 years ago
Joshua Haberman
480a33f2a4
Fixed message equality for extensions.
3 years ago