Feng Xiao
6ef984af4b
Down-integrate from internal code base.
10 years ago
Feng Xiao
baca1a8a1a
Adds more checks before deleting temporary files.
10 years ago
Feng Xiao
ad7f41bd57
Merge pull request #50 from dlitz/compat-py3k
...
setup.py fixes for Python 3
10 years ago
Feng Xiao
a270576f53
Merge pull request #71 from abyss7/master
...
Silence -Wsign-compare warning on Mac
10 years ago
Feng Xiao
3e0ec8de2b
Merge pull request #70 from AustinSchuh/master
...
Fixed Unused Parameter warning in headers.
10 years ago
Feng Xiao
11e6e9a3b0
Merge pull request #72 from Steelskin/master
...
Change references to `vector` to use `std::vector`
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
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
f9e623b167
Merge changes from 2.6.1 release branch.
10 years ago
Feng Xiao
bba83652e1
Update version number to 2.6.1.
10 years ago
John Beard
2853cd4a10
Add .gitignore file
...
Includes files generated by each of:
* autogen.sh
* configure
* make
10 years ago
Dwayne Litzenberger
b460610b69
Omit google-apputils dependency under Python 3
...
Temporary change until a py3k-compatible google-apputils is released.
10 years ago
Dwayne Litzenberger
0fd260eae7
Use 2to3 when building under Python 3.
10 years ago
William Orr
20e0a61ff6
Don't test for sched_yield on Windows
10 years ago
Feng Xiao
419c94b6e0
Update CHANGES.txt to include a bug fix.
10 years ago
Feng Xiao
8c12b1af76
Update version number in generated files.
10 years ago
Feng Xiao
57b86729f2
Update CHANGES.txt for 2.6.1rc1.
10 years ago
Feng Xiao
5ac39f34ae
Merge remote-tracking branch 'origin/master' into 2.6.1
10 years ago
Feng Xiao
5452bd6e39
Merge pull request #43 from abuszta/bugfix
...
Release objects allocated by InitializeDefaultRepeatedFields()
10 years ago
Antoni Buszta
e670b67032
DestroyDefaultRepeatedFields is registered using OnShutdown.
10 years ago
Feng Xiao
d9d1da95c6
Update version number to 2.6.1rc1
10 years ago
Feng Xiao
3b8dadf581
Avoid using the macro name again in macro definitions.
10 years ago
Feng Xiao
06e6690bf2
Fix the memory leak of GetEmptyString().
10 years ago
Antoni Buszta
e83ba13a6f
InitializeDefaultRepeatedFields() allocates memory but does not release it.
10 years ago
Feng Xiao
0971bb0d57
Down-integrate from internal branch.
10 years ago
Feng Xiao
c1d16457db
Merge pull request #35 from dsrosario/fix_warning
...
Fix "warning C4018: '<' : signed/unsigned mismatch"
10 years ago
Feng Xiao
56aa52d986
Merge pull request #38 from xfxyjwf/fix17
...
Fix a bug that causes DynamicMessage.setField() to not work for repeated enum fields.
10 years ago
Feng Xiao
84731a111f
Down-integrate from internal branch.
10 years ago
Feng Xiao
725326f1ee
Update verification methods' names.
10 years ago
Feng Xiao
0dd3fef843
Merge pull request #39 from xfxyjwf/fix24
...
Fix descriptor validation logic for packed enum fields.
10 years ago
Feng Xiao
eb223ed4f7
Merge pull request #3 from dhirschfeld/pyext-fix
...
Explicitly specify pyext/cpp_message.py in py_modules list
10 years ago
Feng Xiao
f5691a617e
Fix descriptor validation logic for packed enum fields.
10 years ago
Feng Xiao
345d49a51e
Fix a bug that causes DynamicMessage.setField() to not work for repeated
...
enum fields.
10 years ago
xfxyjwf
6147768171
Merge pull request #37 from google/fix_links
...
Replace links to code.google.com/protobuf with developers.google.com/protocol-buffers
10 years ago
Feng Xiao
e428862450
Replace links to code.google.com/protobuf with developers.google.com/protocol-buffers
10 years ago
xfxyjwf
a9155b8d3c
Merge pull request #32 from worr/bug/solaris-atomicops
...
Add support for solaris atomicops
10 years ago
Dinis Rosário
bb7d210c2a
Fix "warning C4018: '<' : signed/unsigned mismatch" at wire_format_lite_inl.h
10 years ago
William Orr
195f01719e
Update CONTRIBUTORS.txt
10 years ago
William Orr
a27b329084
Update copyright notice and remove first line
10 years ago
xfxyjwf
a48c08aa9a
Merge pull request #31 from worr/bug/autoconf-sched-yield
...
Add check for sched_yield in librt
10 years ago
William Orr
2d7786cfc3
Add support for solaris atomicops
...
This patch adds support for atomic operations on Solaris, on any platform.
It makes use of the atomic functions made available in Solaris' atomic.h
header.
10 years ago
William Orr
38b8494647
Add check for sched_yield in librt
...
In Solaris, sched_yield lives in librt, rather than libc. This patch adds a
check which will link in librt if necessary.
10 years ago
xfxyjwf
7d50120316
Merge pull request #30 from edmonds/branches/fix_generic_atomicops_memory_models
...
generic atomicops: promote Acquire_Store() and Release_Load() to use SEQ_CST fence
10 years ago
Robert Edmonds
cc0a047384
generic atomicops: promote Acquire_Store() and Release_Load() to use SEQ_CST fence
...
__atomic_store_n() cannot take a memory model argument of
__ATOMIC_ACQUIRE, and __atomic_load_n() cannot take a memory model
argument of __ATOMIC_RELEASE, per the GCC documentation:
https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/_005f_005fatomic-Builtins.html
On Clang this generates a -Watomic-memory-ordering warning.
Promote the fences in Acquire_Store() and Release_Load() to the stronger
__ATOMIC_SEQ_CST memory model, which ought to be safe.
Note that there are no actual uses of Acquire_Store() or Release_Load()
in protobuf, though.
This follows the TSAN atomicops implementation, which also uses SEQ_CST
fences for these functions.
(Fixes #25.)
10 years ago
xfxyjwf
dce98a8d4c
Merge pull request #29 from edmonds/branches/undef_GOOGLE_PROTOBUF_PLATFORM_ERROR
...
platform_macros.h: #undef GOOGLE_PROTOBUF_PLATFORM_ERROR once it's no longer needed
10 years ago