Matt Hauck
2130feadcf
Fix map_field_inl.h for gcc 4.1
8 years ago
Laszlo Csomor
e05e777d46
Windows: support long paths
...
Add implementations of open(2), mkdir(2), stat(2),
etc. that support long paths under Windows (paths
longer than MAX_PATH in <windows.h>, which is 260
characters).
The implementations are in a separate namespace
(google::protobuf::internal::win32), so they won't
collide with the standard implementations in
<io.h>, but after importing them with `using` they
can be drop-in replacements.
Fixes https://github.com/bazelbuild/bazel/issues/2634
Fixes https://github.com/google/protobuf/issues/2891
8 years ago
Matt Hauck
9ab7c73f7c
Fix missing std::tr1::hash on GCC 4.1 ( #2907 )
...
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
8 years ago
tanderson-google
126082c371
Add std:: namespace prefix to set and map ( #3332 )
...
* Remove using std::{set,map}
8 years ago
Paul Yang
b9c4daadf7
Uncomment php tests ( #3301 )
8 years ago
Harvey Tuch
f6ff32cd79
Use consistent hash across NDEBUG/!NDEBUG builds.
...
Fixes #3322 .
8 years ago
Adam Cozzette
bd5ab154da
Merge pull request #2482 from andreaseger/fix_ruby_timestamp_accuracy
...
[Ruby] fix floating point accuracy problem in Timestamp#to_f
8 years ago
Eric Anderson
a9e7a1572b
protoc-artifacts: Bump JDK to 8u131
...
The update 45 download process no longer works, as it requires a login
to access the old build.
8 years ago
Yilun Chong
bceb830c39
add comments in makefile.am
8 years ago
MaDuo
6bd51a59df
add Grpc Protobuf validation ( #3311 )
...
* add Grpc Protobuf validation
8 years ago
Yilun Chong
32c8ed3b44
change csharp failure list
8 years ago
Yilun Chong
30b4194488
Merge branch 'ConformanceTestYilunChong' of github.com:BSBandme/protobuf into ConformanceTestYilunChong
8 years ago
Yilun Chong
7339c25d12
delete backup files
8 years ago
Yilun Chong
cbf7dfb323
fix php failing list and csharp generated proto
8 years ago
Thomas Van Lenten
e264b20e69
Merge pull request #3315 from thomasvl/mutate_unknowns
...
Expose the initializer for unknown fields.
8 years ago
Thomas Van Lenten
b30dee3ea6
Expose the initializer for unknown fields.
8 years ago
Jon Skeet
cdd524a0bd
Ensure leaveOpen is true when writing to a buffer
...
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 .
8 years ago
Jon Skeet
62d7fe5697
Make Any easier to work with in C#
...
- 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 .
8 years ago
Yilun Chong
e82ba0b802
Merge branch 'master' into ConformanceTestYilunChong
8 years ago
Yilun Chong
726ba33d98
changed php's failing list
8 years ago
Yilun Chong
5085102d96
remove backup files
8 years ago
Yilun Chong
3adb054bbf
add some test proto2 supported, add js proto2 supported, fixed some error
8 years ago
Paul Yang
ecca6ea95d
Add json encode/decode for php. ( #3226 )
...
* Add json encode/decode for php.
* Fix php conformance test on 32-bit machines.
* Fix conformance test for c extension.
* Fix comments
8 years ago
Yilun Chong
a7d5be6a91
change php objc nodejs csharp ruby
8 years ago
Yilun Chong
fcb9268255
change java to uniform message, revert TestValidDataForType's parameters
8 years ago
Yilun Chong
020a24dfdc
change cpp and python to uniform message
8 years ago
Thomas Van Lenten
5a52b3588d
Merge pull request #3287 from sergiocampama/initialized
...
Add initialized as a reserved keyword as that's the actual property name
8 years ago
Sergio Campama
e55782fa95
Add initialized as a reserved keyword as that's the actual property name
8 years ago
Yilun Chong
467c1ccd25
fix csharp conformance test
8 years ago
Yilun Chong
db379e6e69
fix csharp conformance test
8 years ago
Paul Yang
176bac6dac
Add scripts to build python wheel for linux. ( #2693 )
...
* Add scripts to build python wheel for linux.
Followed PEP513.
* Fix dist check for new added files.
* Update README for usage example.
8 years ago
Yilun Chong
ff773c1aaf
fix csharp
8 years ago
Yilun Chong
cd1dc3f0df
add csharp support
8 years ago
Yilun Chong
364502102a
add message set test case
8 years ago
Yilun Chong
06c9057cc3
add objec support
8 years ago
Yilun Chong
5e7e2d3bb8
revert ruby proto built files
8 years ago
Yilun Chong
cf7b6a46b2
delete backup files
8 years ago
Yilun Chong
6c59c25735
delete binary
8 years ago
Yilun Chong
91da852c50
update .gitignore
8 years ago
Yilun Chong
0255431ca7
revert .gitignore
8 years ago
Yilun Chong
696cf779d4
add java supported
8 years ago
Yilun Chong
0fa4e58525
change ignore
8 years ago
Yilun Chong
18a0c2c4d2
add proto2 supported for cpp,python,nodejs,ruby,php
8 years ago
Brent Shaffer
12acbc2678
adds PHPDoc @return and @param for getters and setters respectively ( #3131 )
...
* 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
8 years ago
Yilun Chong
2ad74e1606
add support for proto2
8 years ago
Feng Xiao
097bfb53d1
Merge pull request #3084 from lukaszx0/patch-1
...
Workaround the docker bug when compiling artifacts
8 years ago
Paul Yang
dd7265e1a2
Merge pull request #3264 from TeBoring/php-bug
...
Enusre public header and generated code have no implicit converion.
8 years ago
Bo Yang
e3c807d4e7
Fix more implicit type conversions in public headers and generated code.
8 years ago
Feng Xiao
1a7e49d462
Merge pull request #2968 from ngg/cpp-proper-fwd
...
C++: Do not forward-declare dependencies in generated .h files
8 years ago
Bo Yang
9c0b35cf62
Enusre public header and generated code have no implicit converion.
8 years ago