aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Merge 3.3.x into masterGravatar Bo Yang2017-07-18
|\
* | remove pass by reference for php setters (#3344)Gravatar Brent Shaffer2017-07-17
| | | | | | | | | | | | * remove pass by reference for php setters * comments out memory leak test
* | Fix Implicit Return Types (#3363)Gravatar Richard Fussenegger2017-07-17
| | | | | | | | | | Both native_slot_merge and native_slot_merge_by_array have no return type declared. GCC implicitly uses int as return type in such cases, however, these functions are actually void.
* | Initial value in generated code cannot be used by c extension. (#3367)Gravatar Paul Yang2017-07-14
| | | | | | | | | | | | | | | | | | | | In the generated code of previous versions, each php field is given an initial value. In c extension, it was assumed that the field order in the generated code is consistent with upb fields order, so that the correct initial value can be bound to the correct upb field. However, this may not be true. The order of fields in generated code is decided by proto compiler, while the order of upb fields is decided by the hash function used in c extension. This PR fixes the issue by reset the initial value at runtime.
* | removes an accidental newline in printing for the php generator (#3333)Gravatar Brent Shaffer2017-07-13
| |
* | Add map iterator for c extension (#3350)Gravatar Paul Yang2017-07-13
| |
* | Add space between arrow and casted type (#3353)Gravatar Paul Yang2017-07-13
| |
* | Merge pull request #3327 from htuch/fix-3322Gravatar Feng Xiao2017-07-13
|\ \ | | | | | | Use consistent hash across NDEBUG/!NDEBUG builds.
* | | Fix repository URL in C# project fileGravatar Jon Skeet2017-07-13
| | |
* | | C#: Implement IReadOnlyDictionary<K,V> in MapField<K,V>Gravatar Jean-Rémy Bancel2017-07-12
| | |
* | | Fix missing std::tr1::hash on GCC 4.1 (#2907)Gravatar Matt Hauck2017-07-10
| | | | | | | | | | | | | | | | | | | | | Rather than crashing on use (doh!) better to just declare this platform is missing a proper hash_map/hash_set implementation and use the std::map/std::set emulation. Fixes regression introduced by #1913
* | | Add std:: namespace prefix to set and map (#3332)Gravatar tanderson-google2017-07-09
| | | | | | | | | * Remove using std::{set,map}
* | | Uncomment php tests (#3301)Gravatar Paul Yang2017-07-09
| | |
| * | Use consistent hash across NDEBUG/!NDEBUG builds.Gravatar Harvey Tuch2017-07-07
|/ / | | | | | | Fixes #3322.
* | Merge pull request #2482 from andreaseger/fix_ruby_timestamp_accuracyGravatar Adam Cozzette2017-07-06
|\ \ | | | | | | [Ruby] fix floating point accuracy problem in Timestamp#to_f
* | | add Grpc Protobuf validation (#3311)Gravatar MaDuo2017-07-05
| | | | | | | | | * add Grpc Protobuf validation
* | | Merge pull request #3315 from thomasvl/mutate_unknownsGravatar Thomas Van Lenten2017-07-05
|\ \ \ | | | | | | | | Expose the initializer for unknown fields.
| * | | Expose the initializer for unknown fields.Gravatar Thomas Van Lenten2017-07-05
|/ / /
* | | Ensure leaveOpen is true when writing to a bufferGravatar Jon Skeet2017-07-04
| | | | | | | | | | | | | | | | | | | | | | | | Note that the compatibility tests have had to cahnge as well, to cope with internal changes. (The test project has access to internals in the main project.) Fixes #3209.
* | | Make Any easier to work with in C#Gravatar Jon Skeet2017-07-03
| | | | | | | | | | | | | | | | | | | | | - Add a TryUnpack method which doesn't throw if the type is wrong - Make GetTypeName public for easier determination of the message type Fixes #3294.
* | | Add json encode/decode for php. (#3226)Gravatar Paul Yang2017-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add json encode/decode for php. * Fix php conformance test on 32-bit machines. * Fix conformance test for c extension. * Fix comments
* | | Merge pull request #3287 from sergiocampama/initializedGravatar Thomas Van Lenten2017-06-29
|\ \ \ | | | | | | | | Add initialized as a reserved keyword as that's the actual property name
| * | | Add initialized as a reserved keyword as that's the actual property nameGravatar Sergio Campama2017-06-29
|/ / /
* | | Add scripts to build python wheel for linux. (#2693)Gravatar Paul Yang2017-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add scripts to build python wheel for linux. Followed PEP513. * Fix dist check for new added files. * Update README for usage example.
* | | adds PHPDoc @return and @param for getters and setters respectively (#3131)Gravatar Brent Shaffer2017-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds PHPDoc @return and @param for getters and setters respectively * addresses changes in PR review * adds documentation tests * Update php_generator: - Prepend \ to names where required - Remove <pre> tags - Update protobuf field comments * Updates class files with the protobuf changes * Addresses review comments * removes Protobuf Type line from PHP generated classes * fixes phpdoc test * adds array types to phpdoc
* | | Merge pull request #3084 from lukaszx0/patch-1Gravatar Feng Xiao2017-06-26
|\ \ \ | | | | | | | | Workaround the docker bug when compiling artifacts
* \ \ \ Merge pull request #3264 from TeBoring/php-bugGravatar Paul Yang2017-06-24
|\ \ \ \ | | | | | | | | | | Enusre public header and generated code have no implicit converion.
| * | | | Fix more implicit type conversions in public headers and generated code.Gravatar Bo Yang2017-06-24
| | | | |
* | | | | Merge pull request #2968 from ngg/cpp-proper-fwdGravatar Feng Xiao2017-06-23
|\ \ \ \ \ | | | | | | | | | | | | C++: Do not forward-declare dependencies in generated .h files
| | * | | | Enusre public header and generated code have no implicit converion.Gravatar Bo Yang2017-06-23
| |/ / / / |/| | | |
* | | | | Merge pull request #3266 from mbrickn/patch-1Gravatar Feng Xiao2017-06-23
|\ \ \ \ \ | | | | | | | | | | | | Updated links to use https
| * | | | | Updated links to use httpsGravatar Maxwell Paul Brickner2017-06-23
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Howdy! I just updated some links to use https instead of http. Thanks! ^ _ ^
* | | | | Merge pull request #3261 from thomasvl/super_oddcaseGravatar Thomas Van Lenten2017-06-22
|\ \ \ \ \ | | | | | | | | | | | | If we fail to get a descriptor just super the method resolving.
| * | | | | If we fail to get a descriptor just super the method resolving.Gravatar Thomas Van Lenten2017-06-22
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | This should never happen, but if someone is swizzling or do other hooking of methods, anything is possible, so this seems slighty safer than they returning NO.
| | | | * Merge pull request #3258 from TeBoring/3.3.xGravatar Paul Yang2017-06-21
| | | | |\ | | | | | | | | | | | | Update version number to 3.3.2
| | | | | * Update C++ generated code.Gravatar Bo Yang2017-06-21
| | | | | |
| | | | | * Update version number to 3.3.2Gravatar Bo Yang2017-06-21
| | | | |/
| | | | * Merge pull request #3255 from TeBoring/3.3.x-3Gravatar Paul Yang2017-06-20
| | | | |\ | | | | | | | | | | | | Cherry-pick bug fixes for php
| | | | | * Remove inclusion of ext/json/php_json.h. (#3241)Gravatar Jeff Ching2017-06-20
| | | | | | | | | | | | | | | | | | | | | | | | That implementation of json is not being used - this extension is using a json encoder/decoder provided by 'upb'.
| | | | | * Oneof field should be serialized even it's equal to default. (#3153)Gravatar Paul Yang2017-06-20
| | | | | |
| | | | | * Add ARRAY for reserved name (#3150)Gravatar Paul Yang2017-06-20
| | | | |/
* | | | | Switch to addEnumType to fix fatal error (#3225)Gravatar Ryan Gordon2017-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Switch to addEnumType to fix fatal error * Fixing more cases of HHVM incompatibility * Updating tests to be hhvm compatible * Fixing tests * Fixing merge * Don't use call_user_func, should hopefully fix tests * Fixing spelling * Fixing another misspelling in a test * Fixing placement of append and kvUpdate functions * Actually fix function helpers * Remove double addEnumType. How did this ever work? * Fixing a couple more tests * Only use the setter if the return value isn't an object
* | | | | Updated upb to fix JSON conformance issues. (#3206)Gravatar Joshua Haberman2017-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed a bunch of Ruby conformance errors. * Fixed some more Ruby conformance errors in JSON.
* | | | | Merge pull request #3243 from yjjnls/masterGravatar Feng Xiao2017-06-19
|\ \ \ \ \ | | | | | | | | | | | | replenish missed header files in install step
* \ \ \ \ \ Merge pull request #3244 from thomasvl/complete_docsGravatar Thomas Van Lenten2017-06-19
|\ \ \ \ \ \ | | | | | | | | | | | | | | ObjC: Document the exceptions on some of the writing apis.
| * | | | | | ObjC: Document the exceptions on some of the writing apis.Gravatar Thomas Van Lenten2017-06-19
|/ / / / / /
* | | | | | Merge pull request #3240 from thomasvl/float_funGravatar Thomas Van Lenten2017-06-19
|\ \ \ \ \ \ | | | | | | | | | | | | | | Raise the number of digits used for floats.
| | * | | | | replenish missed header files in install stepGravatar yjjnls2017-06-19
| |/ / / / / |/| | | | | | | | | | | | | | | | | install 'generated_message_table_driven.h' and 'metadata_lite.h', they are included when compiling the files generated using protoc.exe 3.3.0
* | | | | | Remove inclusion of ext/json/php_json.h. (#3241)Gravatar Jeff Ching2017-06-17
| | | | | | | | | | | | | | | | | | | | | | | | That implementation of json is not being used - this extension is using a json encoder/decoder provided by 'upb'.
| * | | | | Raise the number of digits used for floats.Gravatar Thomas Van Lenten2017-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | About 1.5% of all IEEE754 single-precision numbers require nine decimal digits to represent accurately.