Commit Graph

1154 Commits

Author SHA1 Message Date
Feng Xiao
53c1029362 Merge pull request #84 from tseaver/fix_80-avoid_INT32_MAX_MIN
Don't rely on non-standard 'INT32_MAX' / 'INT32_MIN'.
2014-11-17 18:15:40 -08:00
Tres Seaver
113eb61e6b Avoid '**/' patterns for compat w/ git < 1.8.
Ignore generated test scaffolding files.

Exclude Python build artifacts.
2014-11-17 20:05:42 -05:00
Tres Seaver
8b2aafe7d3 Use 'kint32min'/'kint32max' constants, rather than defining locally.
Incorporates feedback from @xfxyjwf:
https://github.com/google/protobuf/pull/84#discussion_r20474781.
2014-11-17 19:35:04 -05:00
Tres Seaver
38a3dd502d Exclude Python build artifacts. 2014-11-17 16:17:33 -05:00
Tres Seaver
83671c0514 Don't rely on non-standard 'INT32_MAX' / 'INT32_MIN'.
Define safe constants to use when padding enums.

Fixes #80.
2014-11-17 11:26:45 -05:00
Tres Seaver
706690bddb Ignore generated test scaffolding files. 2014-11-17 11:22:59 -05:00
Tres Seaver
e8e3a5bf96 Compat w/ git < 1.8. 2014-11-17 11:20:19 -05:00
Feng Xiao
3eb55df6a4 Report a warning if the proto file doesn't have a syntax statement. 2014-11-14 12:41:10 -08:00
Feng Xiao
f157a5651c Down-integrate from internal code base (C++ maps support). 2014-11-14 11:50:31 -08:00
Feng Xiao
9ae3b0b07c Update LICENSE to list files that aren't copyrighted by Google Inc.
This is following what V8 does:
https://code.google.com/p/v8/source/browse/trunk/LICENSE
2014-11-11 15:13:58 -08:00
Feng Xiao
faf581d208 Merge pull request #69 from apaprocki/aix-atomicops
Add AIX/POWER atomicops and fix compilation with IBM xlC C++ compiler.
2014-11-11 14:24:28 -08:00
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
2014-11-11 15:36:23 -05:00
Andrew Paprocki
1ddf6937ee Added contributor and updated README to add AIX. 2014-11-11 15:36:21 -05:00
Andrew Paprocki
ebb41981c8 Add atomicops for AIX/POWER + IBM xlC compiler. 2014-11-11 15:36:21 -05:00
Dan Albert
6dc3924536 Merge "Add platform versions of the protobuf libraries." 2014-11-11 19:28:23 +00:00
Dan Albert
68e7e78257 Add platform versions of the protobuf libraries.
NDK libraries should not be linked in to platform code, so create a
separate version for the platform that is linked against libc++
instead of the NDK STLs.

Bug: 15193147
Change-Id: I3935e5dd3bd99676772a4b9681e275ef3601b855
2014-11-11 11:03:23 -08:00
Feng Xiao
643d09ac7d Merge branch 'typofixes-vlajos-20141108' of https://github.com/vlajos/protobuf into typo
Conflicts:
	src/google/protobuf/compiler/java/java_file.cc
2014-11-11 11:01:32 -08:00
Feng Xiao
6ef984af4b Down-integrate from internal code base. 2014-11-10 17:34:54 -08:00
Veres Lajos
c76807211a typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 22:59:34 +00:00
Feng Xiao
baca1a8a1a Adds more checks before deleting temporary files. 2014-11-08 02:40:18 -05:00
Feng Xiao
ad7f41bd57 Merge pull request #50 from dlitz/compat-py3k
setup.py fixes for Python 3
2014-11-08 02:25:53 -05:00
Behrooz Khorashadi
e214da2663 am dbb9c303: Merge "Added an API method in FieldData to allow access to the UnknownField data"
* commit 'dbb9c3033097e571e15c16d6e2e814be7e9d60bc':
  Added an API method in FieldData to allow access to the UnknownField data
2014-11-06 19:21:54 +00:00
Behrooz Khorashadi
0b6a8f70fd Merge "Added an API method in FieldData to allow access to the UnknownField data" 2014-11-06 18:46:18 +00:00
Feng Xiao
a270576f53 Merge pull request #71 from abyss7/master
Silence -Wsign-compare warning on Mac
2014-11-05 16:42:13 -05:00
Behrooz Khorashadi
5d6fc1921d Added an API method in FieldData to allow access to the UnknownField data
Change-Id: I2cd5cfc80dce2a297fcd2511074b2a9d23d39837
2014-11-05 11:15:07 -08:00
Feng Xiao
3e0ec8de2b Merge pull request #70 from AustinSchuh/master
Fixed Unused Parameter warning in headers.
2014-11-05 11:24:25 -05:00
Feng Xiao
11e6e9a3b0 Merge pull request #72 from Steelskin/master
Change references to `vector` to use `std::vector`
2014-11-05 11:20:53 -05:00
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.
2014-11-04 10:10:54 -05:00
Fabrice de Gans-Riberi
98db4958f0 Change references to vector to use std::vector
Upstreaming patch used by Chromium in
https://codereview.chromium.org/693773003/
2014-11-03 13:48:42 +01:00
abyss7
717f807499 Silence -Wsign-compare warning on Mac 2014-11-03 10:20:08 +03:00
Austin Schuh
ec71d5d319 Fixed Unused Parameter warning in compiler headers. 2014-10-31 19:15:54 -07:00
Austin Schuh
918e3ee8b4 Fixed Unused Parameter warning in headers. 2014-10-31 16:27:55 -07:00
Andrew Paprocki
4eaa16f7a9 Fixed IBM xlC compiler error due to missing prefix. 2014-10-31 16:47:24 -04:00
Jeff Davidson
e4e7f3a25d am 1ed1ec36: Merge "Move protobuf 2.3.0 to prebuilts."
* commit '1ed1ec3609812a7818689cde01b6ce92d3f2315a':
  Move protobuf 2.3.0 to prebuilts.
2014-10-29 12:32:26 +00:00
Jeff Davidson
59f2ff5856 Merge "Move protobuf 2.3.0 to prebuilts." 2014-10-28 18:14:12 +00:00
Feng Xiao
53d202f587 Add the missing solaris atomics header file. 2014-10-22 11:33:55 -07:00
Jeff Davidson
dac016786a Move protobuf 2.3.0 to prebuilts.
This will facilitate an upgrade to 2.6.0 and future versions without
breaking applications which have a hardcoded dependency on 2.3.0. The
existing make rules have been renamed to omit the version code.

The prebuilts were built from a tree at commit
9be7e7401174d75e87e21fdc5f43549594a714bb.

Change-Id: I90cf7f029217c8dc63a4b38252025c6b725d72a5
2014-10-22 10:00:30 -07:00
Feng Xiao
df5481c6b3 Update version number to 2.6.2-pre. 2014-10-21 16:47:33 -07:00
Feng Xiao
f9e623b167 Merge changes from 2.6.1 release branch. 2014-10-21 16:36:59 -07:00
Feng Xiao
bba83652e1 Update version number to 2.6.1. 2014-10-20 17:06:06 -07:00
John Beard
2853cd4a10 Add .gitignore file
Includes files generated by each of:
   * autogen.sh
   * configure
   * make
2014-10-16 12:57:15 +01:00
Dwayne Litzenberger
b460610b69 Omit google-apputils dependency under Python 3
Temporary change until a py3k-compatible google-apputils is released.
2014-10-14 13:50:52 -07:00
Dwayne Litzenberger
0fd260eae7 Use 2to3 when building under Python 3. 2014-10-14 13:47:11 -07:00
William Orr
20e0a61ff6 Don't test for sched_yield on Windows 2014-10-10 22:50:39 -07:00
Adal Chiriliuc
374b95146e Add __version__
Added __version__ attr to package so that scripts that check local
packages to see if newer versions are available can work.

Almost all Python packages have a version attr, and the vast majority of
them name it "__version__"
2014-10-10 22:00:39 +03:00
Adal Chiriliuc
6f7aa2f678 Revert "Add __version__"
This reverts commit 5337cf564f.
2014-10-10 21:59:22 +03:00
Adal Chiriliuc
5337cf564f Add __version__
Added __version__ attr to package so that scripts that check local
packages to see if newer versions are available can work.

Almost all Python packages have a version attr, and the vast majority of
them name it "__version__"
2014-10-10 21:58:43 +03:00
Feng Xiao
419c94b6e0 Update CHANGES.txt to include a bug fix. 2014-10-09 11:40:02 -07:00
Feng Xiao
8c12b1af76 Update version number in generated files. 2014-10-09 11:31:47 -07:00
Feng Xiao
57b86729f2 Update CHANGES.txt for 2.6.1rc1. 2014-10-09 11:20:08 -07:00