Chris Fallin
5ce69e991a
Support Ruby code generation only for proto3.
10 years ago
Feng Xiao
044e095a9b
Add missing header files in src/Makefile.am
10 years ago
Chris Fallin
91473dcebf
Rename protobuf Ruby module to google/protobuf and rework its build
...
system. The Ruby module build now uses an amalgamated distribution of
upb, and successfully builds a Ruby gem called 'google-protobuf' with
module 'google/protobuf'.
10 years ago
Krishna
2e9f5e3bac
Reverting the space at the end for both files changed
10 years ago
Krishna
91552adb77
Reverting the space at the end
10 years ago
Krishna
22f96a713c
Returned print_indent and print_outdent back to printservicestub and printserviceclass in python generator
10 years ago
Krishna
060a2096a3
Reverted changes to cpp_helpers.cc and made code reviews to python_geenerator.cc
10 years ago
Krishna
7654f78029
Fixed bugs
10 years ago
Krishna
a761f061f4
Source code refactoring. Extracted common functionality in cpp_helpers.cc and python/python_generator.cc
10 years ago
Feng Xiao
8d5d7cc6d0
Fix LIBPROTOBUF_PROTOBUF annotations for buliding protobuf as DLLs.
10 years ago
Chris Fallin
973f425725
Provide a Ruby extension.
...
This adds a Ruby extension in ruby/ that is based on the 'upb' library
(now included as a submodule), and adds support for Ruby code generation
to the protoc compiler.
10 years ago
Feng Xiao
496d47c27f
Remove map_field.cc from lite-runtime.
10 years ago
Feng Xiao
be20ae0b69
Fix compile issues and test failures in VS2008.
10 years ago
Feng Xiao
d77877808f
Fix thread local annotatoin and add back type traits is_convertable for MSVC
10 years ago
Feng Xiao
0eaae1e6ce
Replace is_enum with is_proto_enum because is_enum is not supported on some platforms.
10 years ago
Feng Xiao
137dd0f17f
Delete some globals in ShutdownProtobufLibrary().
10 years ago
Feng Xiao
58dfce9384
Update version number in descriptor.pb.h and plugin.pb.h. Protect death
...
tests with macro PROTOBUF_HAS_DEATH_TEST.
10 years ago
Feng Xiao
81a630c66e
Update version number to v3.0.0-alpha-1
10 years ago
Nobuaki Sukegawa
2413cb57ef
Make C++ string oneof field compatible with C++11
...
string oneof field was generated into "const ArenaStringPtr" field inside
"default_oneof_instance_" struct (of name "<class name>OneofInstance").
On the other hand, in C++11, const field of type with trivial default
constructor causes enclosing type's implicit default constructor to be deleted.
Since ArenaStringPtr has tirvial default constructor, this caused default
constructor of "default_oneof_instance_" struct to be deleted, making the
constructor call inside generated code invalid and fail to compile.
10 years ago
Nobuaki Sukegawa
4470dcba6c
Display element name in test error log
10 years ago
Nobuaki Sukegawa
8ba0e35764
Make test code runnable with C++11
...
Preprocessor token right after string literal without whitespace results
in parse failure in C++11.
10 years ago
Feng Xiao
9173ba22a9
Get rid of some build warnings.
10 years ago
Feng Xiao
c25d9feb4d
Down-integrate from internal code base.
10 years ago
Nobuaki Sukegawa
e5a17998cc
Fix typo
10 years ago
Jisi Liu
e9bbfbcd38
Link Java Nano generator into protoc.
10 years ago
Feng Xiao
6ae3bde73d
Fix issue 99.
10 years ago
Łukasz Twarduś
dd449e1c79
Fix "anonymous types declared in an anonymous union are an extension"
...
warning when using clang with -pedantic switch
10 years ago
Feng Xiao
99aa0f9e8f
Down-integrate from internal code base.
10 years ago
Feng Xiao
cd980d1c13
Prepare nano proto code to be merged into protobuf repository.
10 years ago
Tres Seaver
4113685cdd
Fix testcase compile failure under gcc 4.6:
...
google/protobuf/map_test.cc:88:16: error: expected ‘;’ at end of member declaration
google/protobuf/map_test.cc:88:18: error: ‘override’ does not name a type
.
10 years ago
Tres Seaver
0fab06062f
Fix 'error: a class-key must be used when declaring a friend' compile error.
10 years ago
Tres Seaver
8b2aafe7d3
Use 'kint32min'/'kint32max' constants, rather than defining locally.
...
Incorporates feedback from @xfxyjwf :
https://github.com/google/protobuf/pull/84#discussion_r20474781 .
10 years ago
Tres Seaver
83671c0514
Don't rely on non-standard 'INT32_MAX' / 'INT32_MIN'.
...
Define safe constants to use when padding enums.
Fixes #80 .
10 years ago
Feng Xiao
3eb55df6a4
Report a warning if the proto file doesn't have a syntax statement.
10 years ago
Feng Xiao
f157a5651c
Down-integrate from internal code base (C++ maps support).
10 years ago
Andrew Paprocki
af88ccb5fc
Modify tests to compile on AIX with xlC compiler.
...
- `int64` typedef collision with `sys/inttypes.h`
- `xlC` complains about `int` and pointer comparisons without casts
10 years ago
Andrew Paprocki
ebb41981c8
Add atomicops for AIX/POWER + IBM xlC compiler.
10 years ago
Feng Xiao
6ef984af4b
Down-integrate from internal code base.
10 years ago
Veres Lajos
c76807211a
typo fixes - https://github.com/vlajos/misspell_fixer
10 years ago
Feng Xiao
baca1a8a1a
Adds more checks before deleting temporary files.
10 years ago
acidtonic
2ba455f20c
Corrected code example in coded_stream.h
...
There is an example at the top of the page which contains code that appears to show a user how to create and serialize a message to a file. However the flags to open the file lack the O_CREAT flag which allows creating the file if it doesn't exist. I was troubleshooting a situation where this snippet was used and compiled, but never created a file.
10 years ago
Fabrice de Gans-Riberi
98db4958f0
Change references to `vector` to use `std::vector`
...
Upstreaming patch used by Chromium in
https://codereview.chromium.org/693773003/
10 years ago
abyss7
717f807499
Silence -Wsign-compare warning on Mac
10 years ago
Austin Schuh
ec71d5d319
Fixed Unused Parameter warning in compiler headers.
10 years ago
Austin Schuh
918e3ee8b4
Fixed Unused Parameter warning in headers.
10 years ago
Andrew Paprocki
4eaa16f7a9
Fixed IBM xlC compiler error due to missing prefix.
10 years ago
Feng Xiao
53d202f587
Add the missing solaris atomics header file.
10 years ago
Feng Xiao
df5481c6b3
Update version number to 2.6.2-pre.
10 years ago
Feng Xiao
8c12b1af76
Update version number in generated files.
10 years ago
Antoni Buszta
e670b67032
DestroyDefaultRepeatedFields is registered using OnShutdown.
10 years ago