Jan Tattermusch
187977649b
Merge pull request #1163 from jskeet/more-json
...
Fix mistakes in highest-representable float64 integers
2016-01-21 15:49:08 -08:00
Feng Xiao
f2b6dbb8b3
Merge pull request #1162 from brian-peloton/master
...
Avoid upcasting uninitialized pointers
2016-01-21 11:19:40 -08:00
Jon Skeet
3878d84662
Fix mistakes in highest-representable float64 integers
2016-01-21 10:49:57 +00:00
Brian Silverman
96c2dd5dfc
Avoid upcasting uninitialized pointers
...
Fixes google/protobuf#693
msan flags this as being undefined behavior. I think it's triggering
because the compiler has to insert a branch to avoid changing the
pointer's value if it starts out NULL. I can't figure out if this is
actually undefined behavior or not, but it definitely seems to be a gray
area of the standard which is best avoided.
2016-01-20 23:05:25 -05:00
Feng Xiao
fe066bd514
Merge pull request #789 from motahan/solaris64_fix
...
Fixing compile errors on Solaris in 64-bit mode
2016-01-20 16:57:01 -08:00
Jan Tattermusch
8c5260b21b
Merge pull request #1096 from jskeet/custom-to-string
...
Introduce ICustomDiagnosticMessage to allow for custom string formatting
2016-01-19 19:38:16 -08:00
Feng Xiao
6794d17c94
Merge pull request #1155 from jcburke14/jb-intcast
...
Fix compiler warning from repeated_field.h
2016-01-19 16:57:10 -08:00
John Burke
3937dedbff
Fix compiler warning from repeated_field.h
2016-01-19 15:13:25 -08:00
Feng Xiao
91427fe075
Merge pull request #1147 from jcanizales/patch-1
...
Update podspec version to 3.0.0-beta-2
2016-01-19 11:28:15 -08:00
Feng Xiao
bbe6e430f6
Merge pull request #896 from jhump/jh/fix-ioexception-vs-invalidprotobuf-exception
...
throw IOException instead of InvalidProtocolBufferException when appropriate
2016-01-16 20:54:31 -08:00
Jon Skeet
d522479aa0
Merge pull request #1145 from jskeet/conformance
...
JSON Conformance improvements
2016-01-16 18:28:13 +00:00
Joshua Haberman
1e113df20a
Merge pull request #1146 from haberman/pycppfix
...
Fixed Python 3.x C++ build, and updated conformance failure lists.
2016-01-15 23:52:33 -08:00
Jorge Canizales
b40e125f0b
Update podspec version to 3.0.0-beta-2
...
It's already submitted.
2016-01-15 20:21:46 -08:00
Joshua Humphries
248557e73a
move test file (was in wrong place after rebasing on java module refactor)
2016-01-15 21:51:20 -05:00
Joshua Humphries
60654349e7
fully qualify invocations of static methods on GeneratedMessage
2016-01-15 21:51:19 -05:00
Joshua Humphries
f3c75580e4
throw IOException instead of InvalidProtocolBufferException when appropriate
2016-01-15 21:51:19 -05:00
Josh Haberman
06fd6fa850
Fixed Python 3.x C++ build, and updated conformance failure lists.
2016-01-15 17:26:44 -08:00
Feng Xiao
9a5d892e2a
Merge pull request #1143 from xfxyjwf/fix_java
...
Fix tests broken by the Java directory change.
2016-01-15 10:43:51 -08:00
Jon Skeet
030c268489
Fix broken test
2016-01-15 17:34:10 +00:00
Jon Skeet
5ee055d53d
Remove now-fixed conformance errors.
2016-01-15 14:43:17 +00:00
Jon Skeet
b1ea15f7a5
Make sure that
...
"valueField": null
is parsed appropriately, i.e. that it remembers that the field is set.
2016-01-15 14:18:16 +00:00
Jon Skeet
8866d6a80e
Reject JSON containing the same oneof field twice
2016-01-15 13:54:17 +00:00
Jon Skeet
52db5139c4
Change handling of unknown enums: we now write out the value as a number.
2016-01-15 13:45:53 +00:00
Jon Skeet
f437b67f60
Extra strictness for FieldMask conversion
2016-01-15 12:02:07 +00:00
Jon Skeet
022a9b2675
Allow the original field name (rather than camel-cased) when parsing JSON
2016-01-15 11:39:54 +00:00
Jon Skeet
1fc485928f
Fixes to JSON timestamp/duration representations
2016-01-15 11:39:27 +00:00
Jon Skeet
c74676f070
Report serialization errors in conformance tests
2016-01-15 10:55:57 +00:00
Jon Skeet
888e71bdfc
Prohibit null values in repeated and map fields in JSON
2016-01-15 10:55:36 +00:00
Jon Skeet
1a34ac03be
Throw a better exception when invalid base64 is detected in JSON
2016-01-15 10:43:06 +00:00
Jon Skeet
730c38ad8c
Support (and test) numeric enum parsing in JSON
2016-01-15 10:41:56 +00:00
Jon Skeet
f262611ff6
Fix handling of repeated wrappers
...
Previously we were incorrectly packing wrapper types.
This also refactors FieldCodec a bit as well, using more C# 6-ness.
2016-01-15 10:13:56 +00:00
Feng Xiao
ea956761cc
Fix tests broken by the Java directory change.
...
Change-Id: I39c4eadbd28164cfd83aa2d1d8b6dfe8286db803
2016-01-14 14:29:51 -08:00
Feng Xiao
b6ef4015d7
Merge pull request #1121 from nmittler/restructure
...
Restructuring protobuf to multiple modules
2016-01-13 11:22:18 -08:00
nmittler
49efe9d7db
Restructuring protobuf to multiple modules
...
protobuf/java will become a parent pom that will contain two modules:
core - contains all of the code for the protobuf-java artifact
util - contains all of the code for the protobuf-java-util artifact
Also cleaned up various Maven warnings.
2016-01-13 08:15:15 -08:00
Jon Skeet
f2fe50bfc5
JSON conformance test fixes
...
- Spot an Any without a type URL
- In the conformance test runner, catch exceptions due to generally-invalid JSON
2016-01-13 14:05:06 +00:00
Jon Skeet
5dba7d7b4c
Introduce ICustomDiagnosticMessage to allow for custom string formatting
...
This fixes issue #933 , effectively.
2016-01-13 10:58:49 +00:00
Jan Tattermusch
73c003c309
Merge pull request #1089 from jskeet/map-null
...
Prohibit null values in maps
2016-01-12 20:55:47 -08:00
Joshua Haberman
937ef23acd
Merge pull request #1080 from haberman/conformance-crashes
...
Allow conformance test runner to tolerate crashes, and re-enable conformance tests
2016-01-12 15:30:35 -08:00
Feng Xiao
da2eb68dd3
Merge pull request #1129 from dongjoon-hyun/fix_typos_in_README_and_CHANGES
...
Fix typos in README.md/CHANGES.txt
2016-01-12 10:54:44 -08:00
Josh Haberman
7e74a02b17
Don't generate Objective C WKT for conformance tests to avoid dupliate defs.
2016-01-12 08:56:17 -08:00
Thomas Van Lenten
af8e7ef9a3
Merge pull request #1131 from thomasvl/fix_sem_leak
...
Release the semaphore in dealloc, fixing leak.
2016-01-12 09:05:50 -05:00
Thomas Van Lenten
4d663376e2
Release the semaphore in dealloc, fixing leak.
2016-01-12 09:04:08 -05:00
Josh Haberman
043ca2b84b
Conformance: Update C# failure list to reflect which tests currently pass.
2016-01-12 02:48:00 -08:00
Josh Haberman
fc7f8d9cd0
Fixed Ruby conformance tests by running them under rvm Ruby.
2016-01-11 21:16:42 -08:00
Josh Haberman
bf50ec4ac9
Added debugging output to debug type= problem on Travis.
2016-01-11 16:15:46 -08:00
Josh Haberman
ea909a57e4
Updated C#'s failure list, and added missing file.
2016-01-11 16:15:46 -08:00
Josh Haberman
e891c29f9b
Allow conformance test runner to tolerate crashes, and re-enable conformance tests.
2016-01-11 16:15:46 -08:00
Dongjoon Hyun
7b08d49e9d
Fix typos in README.md/CHANGES.txt
2016-01-11 14:52:01 -08:00
Feng Xiao
c64146f195
Merge pull request #1046 from peternewman/patch-1
...
Add the docs claimed define for HAVE_UNORDERED_MAP
2016-01-11 11:16:35 -08:00
Jon Skeet
9e4f354f14
Prohibit null values in map fields
...
On deserialization, missing values for message types
are replaced with a "default" message.
2016-01-11 09:34:43 +00:00