Feng Xiao
4600f789a2
Merge pull request #4587 from chronoxor/master
...
Appveyor MinGW build
7 years ago
Feng Xiao
6dda83dc8c
Merge pull request #4611 from anuraaga/remove-string-move
...
[Java] Remove unsafe no-copy String allocation since it's not useful in rece…
7 years ago
Warren Falk
e7eeb7004b
fix index out of range error in C# generation using msvc ( #1329 )
7 years ago
Yilun Chong
c3566c6861
Fix python install, cat java error log for kokoro build
7 years ago
Christian von Arnim
b9c0c5f526
cmake: Add parameter PROTOC_OUT_DIR to protobuf_generate
7 years ago
Christian von Arnim
e8ae76fbde
cmake: Use GENERATE_EXTENSIONS parameter in protobuf_generate
7 years ago
Paul Yang
b61dd9d9a2
Add file option php_metadata_namespace and ruby_package ( #4609 )
7 years ago
Feng Xiao
2213c1c1f6
Merge pull request #4538 from Mizux/patch-2
...
Add .proto files to extract_includes.bat
7 years ago
Anuraag Agrawal
92ac1ed6a5
Remove unsafe no-copy String allocation since it's not useful in recent Java versions.
7 years ago
Paul Yang
7377d81ca4
Throw error if user want to access message properties ( #4603 )
...
* Throw error if user want to access message properties
* Fix typo
7 years ago
Paul Yang
5f7334f5f3
Avoid direct check of class name ( #4601 )
...
* Avoid direct check of class name
So that subclasses are also ok
* Use type hint in function signature.
7 years ago
Jie Luo
5f9232b5e0
use brew install instead of easy_install in OSX ( #4537 )
...
use brew instead of easy_install in OSX (easy_install keep failing for a month)
7 years ago
Peter Marton
13f94b4092
Fix strict JS generator with import in a protofile
7 years ago
Peter Marton
3c4e368473
Test: cover import_style=commonjs_strict
7 years ago
Peter Marton
1062d985b9
Feat: add import-style=commonjs_strict option to the compiler
7 years ago
Fahrzin Hemmati
55962db9b7
Fix generated_protos_proto deps
7 years ago
Fahrzin Hemmati
2cfa7612b2
Fix moving generated files onto themselves
7 years ago
Fahrzin Hemmati
0d68b29ac4
Add unittest build rules
7 years ago
Fahrzin Hemmati
d1403e58d8
Only use realpath when in gendir, and use the original ctx.action if not in gendir
7 years ago
Fahrzin Hemmati
ae638966e5
Track outputs correctly
7 years ago
Fahrzin Hemmati
b3c2ec7073
Handle multiple outs per input (for plugins)
7 years ago
Fahrzin Hemmati
a6501e4a2b
Strip trailing / from path
7 years ago
Fahrzin Hemmati
800f8d66bf
Handle srcs in generated files by cd'ing in and out
7 years ago
Feng Xiao
25625b956a
Merge pull request #4590 from PetterS/undefined_fix
...
Fix error in Clang UndefinedBehaviorSanitizer
7 years ago
Petter Strandmark
d14cacd791
Fix error in Clang UndefinedBehaviorSanitizer
...
Pointer Arguments to memcpy can not be null in UndefinedBehaviorSanitizer.
In this case, both the memory and the size was zero. This change allows
protoc to run under UndefinedBehaviorSanitizer.
7 years ago
David Chennells
513b35dc4e
Add VS2017 optional component dependency details to the C# readme ( #4128 )
...
Add mention to the "Build" section of the ReadMe of the requirement of installing an optional component to VS2017.
7 years ago
Yilun Chong
4a09836e6c
Fix python ext build on kokoro ( #4527 )
7 years ago
Ivan Shynkarenka
feb183d895
Appveyor MinGW build
7 years ago
Feng Xiao
92898e9e9c
Merge pull request #4586 from chronoxor/master
...
Fix MinGW build
7 years ago
Ivan Shynkarenka
3474155371
MinGW build failed
7 years ago
Feng Xiao
b0403a7db8
Merge pull request #4583 from chronoxor/master
...
Fix CMake build on Cygwin.
7 years ago
Ivan Shynkarenka
f80a886bc1
Cygwin build failed
7 years ago
Stuart Campbell
05c2d01b61
Fix RepeatedField#delete_if ( #4292 )
...
Make RepeatedField#delete_if consistent with Array#delete_if.
7 years ago
Petar Dambovaliev
0869b1a0a7
Add space between class name and concat message ( #4577 )
...
The class name was linked to the next word in the sentence.
"User\UserRequestis not found in descriptor pool."
7 years ago
Feng Xiao
306f4e3774
Merge pull request #4581 from Yeolar/3rd_rpc_raster
...
Add a third-party RPC implementation: raster
7 years ago
Hiroshi Ichikawa
7d978084ca
[objectivec] Fix memory leak of exceptions raised by RaiseException() ( #4556 )
...
* Fix memory leak of exceptions raised by RaiseException()
Currently exceptions raised by RaiseException() is never deallocated because:
* ARC is disabled for this library: https://github.com/google/protobuf/blob/master/BUILD#L913
* It is constructed with `+alloc` but is never `-release`d.
This change fixes the issue by using `-[NSException exceptionWithName:...]` instead, which returns an autoreleased instance, so it is deallocated properly.
* Fix format.
7 years ago
Yeolar
35e4430ebe
Add third-party RPC implementation: raster - a network framework supports pbrpc by 'service' keyword.
7 years ago
Jozef Izso
8233d46207
Include version.rc.in in distribution package
7 years ago
Jozef Izso
b1fecd0dea
Include file information in all DLL and EXE outputs
7 years ago
Jozef Izso
3415201d1d
Add file information to Windows binaries
7 years ago
Feng Xiao
fc922d16ed
Merge pull request #4568 from hectim/master
...
fixed typo
7 years ago
Feng Xiao
fe773bfe97
Merge pull request #4572 from jozefizso/fix/4494_compilation_error_c4146
...
Using binary one's complement to negate an unsigned int
7 years ago
Jozef Izso
8a603ec411
Using binary one's complement to negate an unsigned int
...
This removes a Visual Studio warning C4146: unary minus operator applied to unsigned type, result still unsigned.
Original code: 24493eef93
7 years ago
Feng Xiao
7f2c3cec63
Merge pull request #4550 from Mizux/master
...
CMake: Update CXX Standard management
7 years ago
Jon Skeet
1b219a174c
Fix to allow AOT compilers to play nicely with reflection
...
With this fix, Unity using IL2CPP should work with one of two
approaches:
- Call `FileDescriptor.ForceReflectionInitialization<T>` for every
enum present in generated code (including oneof case enums)
- Ensure that IL2CPP uses the same code for int and any int-based
enums
The former approach is likely to be simpler, unless IL2CPP changes
its default behavior. We *could* potentially generate the code
automatically, but that makes me slightly uncomfortable in terms of
generating code that's only relevant in one specific scenario. It
would be reasonably easy to write a tool (separate from protoc) to
generate the code required for any specific set of assemblies, so
that Unity users can include it in their application. We can always
decide to change to generate it automatically later.
7 years ago
Brady Killeen
9ba2fd3039
typo
7 years ago
Jisi Liu
a21f225824
Merge pull request #4553 from pherl/ruby
...
Set ext.no_native = true for non mac platform
7 years ago
Jisi Liu
9972e1608e
Set ext.no_native = true for non mac platform
...
From:
https://github.com/rake-compiler/rake-compiler/issues/146#issuecomment-368539245
7 years ago
Corentin Le Molgat
2bd7f516e5
fix duplicate mkdir in update_file_lists.sh
...
- merge loop for .h and .proto includes
- fix shellcheck errors
7 years ago
Corentin Le Molgat
c3b152c7e0
CMake: Update CXX Standard management
7 years ago