Jon Skeet
aa431a0481
Improve number handling in JSON parsing
...
- Tighten up on Infinity/NaN handling in terms of whitespace handling (and test casing)
- Validate that values are genuinely integers when they've been parsed from a JSON number (ignoring the fact that 1.0000000000000000001 == 1 as a double...)
- Allow exponents and decimal points in string representations
9 years ago
Thomas Van Lenten
df4e4d8717
Fix up the conformance tests
...
- Update all the new runner cases to handle a skip result as a skip and not a failure.
- Make ObjC use the new serialize_error result if it fails to generate the data.
9 years ago
Thomas Van Lenten
d19c26f2c8
Merge pull request #1093 from thomasvl/fix_objc
...
Update objectivec/google/protobuf/Type.pbobjc.m
9 years ago
Thomas Van Lenten
fcce7842fc
Update objectivec/google/protobuf/Type.pbobjc.m
...
commit e841bac4fc
seems to have updated the
generated .pbobjc.h but not the .pbobjc.m to match.
9 years ago
Thomas Van Lenten
de99998218
Merge pull request #1092 from thomasvl/fix_conformance
...
Fix conformance test to only report skips in verbose mode.
9 years ago
Thomas Van Lenten
de3c56a0d1
Fix conformance test to only report skips in verbose mode.
...
commit e841bac4fc
seems to have mis-merged the
change to reporting skipped tests.
I didn't check if there were other merge issues.
9 years ago
Thomas Van Lenten
d7183b0abd
Merge pull request #1091 from thomasvl/objc_tests_use_autocreators
...
Have the tests rely on the autocreator behaviors.
9 years ago
Thomas Van Lenten
ca428c1bc9
Have the tests rely on the autocreator behaviors.
...
Incase developers look at the tests for examples, have them rely on the
autocreators also.
9 years ago
Jon Skeet
9f10c4576a
Remove unused method in FieldCodec.
...
(The method was last used a very long time ago, if ever.)
9 years ago
Jon Skeet
2f15b8f50c
Merge pull request #1085 from jskeet/fix-generation
...
Fix C# source generation shell script and remove out of date notes
9 years ago
Jon Skeet
d49b9c81ec
Fix C# source generation shell script and remove out of date notes
...
The conformance tests now use types which are part of src/google/protobuf, so we need to include src in the proto path.
The notes around "fix-ups" have been out of date for some time now.
9 years ago
Joshua Haberman
77831c076d
Merge pull request #1081 from haberman/fix-py3
...
Fixes for Python 3.
9 years ago
Josh Haberman
e1abdf2c76
Fixed compile for Python 3. There are still some crashes though.
9 years ago
Feng Xiao
d5fb408ddc
Add changelog for v3.0.0-beta-2.
...
[skip ci]
Change-Id: Id383944dd3c999ad1008345ef34c9bdae24abc7c
9 years ago
Feng Xiao
17347e3d0d
Fix for Visual Studio 2008.
9 years ago
Feng Xiao
283c40c897
Require six>=1.9 for Python.
...
We use six sub-modules that aren't available in old versions. Not specifying
this requirement in the setup will lead to much less readable runtime errors.
It's particuarlly problematic for Mac OSX users because the system comes with
an old six version 1.4.1 by default.
[skip ci]
9 years ago
Feng Xiao
ef6c72b46b
Update BUILD/cmake files.
...
Change-Id: I6fa9f1b65d6c06b891aabf3f3d868364d74d727d
9 years ago
Feng Xiao
c5147e3d51
Fix a misplaced macro.
...
Change-Id: Ife609e073bd142d328b680c753f543bb18f4f66d
9 years ago
Feng Xiao
9dcd24df10
Add js to post_process_dist.sh.
...
Change-Id: I1ee87c49481bcc545939745ccf0a53d766a01a4c
9 years ago
Feng Xiao
7a9d5825e2
Fix a compiler warning.
...
Change-Id: I4c4e2a4a248e4336fef735f75ff5648d8d33627e
9 years ago
Feng Xiao
b7610f129d
Add missing files to EXTRA_DIST.
...
Also delete some unused files.
9 years ago
Feng Xiao
7f82325998
Merge pull request #1071 from haberman/js-tests
...
Enabled JavaScript tests and added README.md.
9 years ago
Josh Haberman
0d2d8bc108
Fixed test command for JS tests.
9 years ago
Josh Haberman
d4315ca348
Fixed version number and testing command.
9 years ago
Josh Haberman
e9cf31e68b
Added README and enabled JavaScript tests on Node.js
9 years ago
Feng Xiao
27b2423d6a
Disable python conformnace tests as well.
...
The testee program crashes on some inputs.
Change-Id: Iab27b80e29b7a56c5bd7cb4724531ecf9bb2823a
9 years ago
Feng Xiao
a0b8fd52b9
Fix Python 2.6 test failures.
...
Change-Id: Ia9e2795b1ff1abb30410ffb3ef96ba6f46dd99d0
9 years ago
Feng Xiao
8675989bf7
Disable conformance tests for csharp and ruby.
...
The testee program of these two languages crashes on some test input.
9 years ago
Feng Xiao
aa7e17a6f6
Update version numbers.
...
Version number for beta languages is updated to v3.0.0-beta-2.
Version number for alpha languages is updated to v3.0.0-alpha-5.
9 years ago
Feng Xiao
9e5fb55ed6
Build Java conformance tests for JDK7 only.
...
The Java conformance test class uses JDK7+ only syntaxes and can't compile with JDK6.
[skip ci]
9 years ago
Feng Xiao
d272cef23d
Exclude failing objc conformance tests.
...
[skip ci]
9 years ago
Feng Xiao
9125863ac0
Only try to install GCC 4.8 on Linux.
9 years ago
Feng Xiao
af81dcfc2c
Fix Java travis tests.
9 years ago
Feng Xiao
d217808417
Merge branch master into v3.0.0-beta-2
9 years ago
Feng Xiao
1e2fece3e0
Configure conformance tests to build with C++11 (require GCC 4.8)
...
[skip ci]
9 years ago
Feng Xiao
b27f2893b2
Merge pull request #1062 from rinatz/master
...
Fix static non-pod type problem with dlopen
9 years ago
Kenichiro IDA
674e92d314
Initialize singleton instance by GoogleOnceInit()
9 years ago
Jan Tattermusch
43f9cb1e6f
Merge pull request #1059 from jtattermusch/add_refgen_dependency
...
Add reference generator dependency
9 years ago
Thomas Van Lenten
6b228f3532
Merge pull request #1060 from thomasvl/drop_spinlocks
...
Drop all use of OSSpinLock
9 years ago
Thomas Van Lenten
d6590d6534
Drop all use of OSSpinLock
...
Apple engineers have pointed out that OSSpinLocks are vulnerable to live locking
on iOS in cases of priority inversion:
. http://mjtsai.com/blog/2015/12/16/osspinlock-is-unsafe/
. https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20151214/000372.html
- Use a dispatch_semaphore_t within the extension registry.
- Use a dispatch_semaphore_t for protecting autocreation within messages.
- Drop the custom/internal GPBString class since we don't have really good
numbers to judge the locking replacements and it isn't required. We can
always bring it back with real data in the future.
9 years ago
Feng Xiao
9e1777f4b0
Merge pull request #1052 from tswast/master
...
Add region tags to the Go protobuf examples.
9 years ago
Jan Tattermusch
00ace95ae3
add reference generator dependency
9 years ago
Jon Skeet
afbc89a263
Merge pull request #1049 from jskeet/any-format
...
Handle Any formatting for diagnostic purposes
9 years ago
Tim Swast
7df1d773b7
Improves readability of Go example test.
9 years ago
Feng Xiao
a0cecfd31a
Make conformance tests build for C++ and Java.
...
Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433
9 years ago
Jan Tattermusch
33106681a5
Merge pull request #1051 from jtattermusch/support_coreclr
...
Make nuget package support coreCLR
9 years ago
Jan Tattermusch
637102cf38
Merge pull request #1026 from jskeet/any-conformance
...
Add JSON parsing to conformance tests.
9 years ago
Jan Tattermusch
52139f9fde
make nuget package support CoreCLR
9 years ago
Kenichiro IDA
894d18fba4
Alter FileDescriptorTables::kEmpty to GetEmptyInstance()
9 years ago
Jon Skeet
a4dc5968b1
Add JSON parsing to conformance tests.
9 years ago