Fix and improve arm64 atomic operations in protobuf stubs (patch from rmcilroy@).

https://codereview.appspot.com/86030044/



git-svn-id: http://protobuf.googlecode.com/svn/trunk@523 630680e5-0e50-0410-840e-4b1c322b438d
Fix a bug in Arm64 atomicops. (https://codereview.appspot.com/88800045/)



git-svn-id: http://protobuf.googlecode.com/svn/trunk@524 630680e5-0e50-0410-840e-4b1c322b438d
Down-integrate pending changes from internal repository after previous release.


git-svn-id: http://protobuf.googlecode.com/svn/trunk@525 630680e5-0e50-0410-840e-4b1c322b438d
down integrate to svn


git-svn-id: http://protobuf.googlecode.com/svn/trunk@530 630680e5-0e50-0410-840e-4b1c322b438d
add printUnicode methods in TextFormat


git-svn-id: http://protobuf.googlecode.com/svn/trunk@531 630680e5-0e50-0410-840e-4b1c322b438d
delete unused variable


git-svn-id: http://protobuf.googlecode.com/svn/trunk@532 630680e5-0e50-0410-840e-4b1c322b438d
Add iostream in message.cc. Remove unused in coded_stream_unittest.cc


git-svn-id: http://protobuf.googlecode.com/svn/trunk@533 630680e5-0e50-0410-840e-4b1c322b438d
add LazyFieldLite.java


git-svn-id: http://protobuf.googlecode.com/svn/trunk@534 630680e5-0e50-0410-840e-4b1c322b438d
use decimal constants to avoid casting error with visual c /W4
"unary minus operator applied to unsigned type, result still unsigned"


git-svn-id: http://protobuf.googlecode.com/svn/trunk@535 630680e5-0e50-0410-840e-4b1c322b438d
Increase the allocated_size_ should be after allocation. Otherwise there might have segmentation fault if allocation throws an exception.



git-svn-id: http://protobuf.googlecode.com/svn/trunk@536 630680e5-0e50-0410-840e-4b1c322b438d
1, Remove unkown field support in jave TextFormat
2, Verifies the EnumValueDscriptor for DynamicMessage.Builder#setField


git-svn-id: http://protobuf.googlecode.com/svn/trunk@537 630680e5-0e50-0410-840e-4b1c322b438d
stick gtest to r629


git-svn-id: http://protobuf.googlecode.com/svn/trunk@538 630680e5-0e50-0410-840e-4b1c322b438d
Change MemoryBarrier() to MemoryBarrierInternal(). Resolve name conflict in mingw gcc 4.8.1


git-svn-id: http://protobuf.googlecode.com/svn/trunk@539 630680e5-0e50-0410-840e-4b1c322b438d
change some files to pass MSVC 2013


git-svn-id: http://protobuf.googlecode.com/svn/trunk@541 630680e5-0e50-0410-840e-4b1c322b438d
add one file for VC 2013


git-svn-id: http://protobuf.googlecode.com/svn/trunk@542 630680e5-0e50-0410-840e-4b1c322b438d
add  #ifdef _MSC_VER


git-svn-id: http://protobuf.googlecode.com/svn/trunk@543 630680e5-0e50-0410-840e-4b1c322b438d
make changes to pass Cygwin


git-svn-id: http://protobuf.googlecode.com/svn/trunk@544 630680e5-0e50-0410-840e-4b1c322b438d
Remove AM_PROG_AR.
With AM_PROG_AR may report "error: possibly underfined macro: AM_PROG_AR" (mingw, autoreconf-2.68).
Without AM_PROG_AR may report warning "archiver requires 'AM_PROG_AR' in 'configure.ac'" (cygwin, automake-1.12).
They do not affect the tests and install


git-svn-id: http://protobuf.googlecode.com/svn/trunk@545 630680e5-0e50-0410-840e-4b1c322b438d
Cygwin doesn't work well if we try to capture stderr and stdout at the same time. Comment one test tempraly for Cygwin. Need to figure out why and add the test back for Cygwin.



git-svn-id: http://protobuf.googlecode.com/svn/trunk@546 630680e5-0e50-0410-840e-4b1c322b438d
use #undef instead of change the name of MemoryBarrier


git-svn-id: http://protobuf.googlecode.com/svn/trunk@547 630680e5-0e50-0410-840e-4b1c322b438d