liujisi@google.com
1d32532ead
Update gtest to 1.6; Disable death tests when exceptions are enabled.
12 years ago
liujisi@google.com
e719489061
Make PROTOBUF_USE_EXCEPTIONS configurable from CPPFLAGS.
12 years ago
xiaofeng@google.com
caa66db018
Merge from tags/2.5.0rc1 to trunk
12 years ago
xiaofeng@google.com
eaaef0b39b
Fix issues: 342, 424, 428, 430, 436
12 years ago
liujisi@google.com
ef9acc464d
Update version to 2.5.0-pre
12 years ago
xiaofeng@google.com
9c1c31ff16
Fix compile issues under GCC 3.4.6
12 years ago
xiaofeng@google.com
a4491ea142
Fix issue 412: update protobuf for 64-bit compatibility on Mac OS X - patch from Mark Mentovai
12 years ago
pliard@google.com
75575df086
Generate missing inclusion of common.h.
...
FileGenerator::GenerateBuildDescriptors() emits
"::google::protobuf::internal::OnShutdown(&$shutdownfilename$);" which is
declared in common.h.
Although Protobuf is very well tested a compilation error was triggered while
rolling Protobuf r423:426. There might be something wrong in the Chromium roll
(still in progress).
It seems safer anyway not to rely on indirect headers inclusion.
13 years ago
xiaofeng@google.com
3d46dad1d2
Use string::size_type instead of int for results of string.find() etc. -- patch from hans
13 years ago
xiaofeng@google.com
fcb8a50b50
Update MSVC project files and fix compilation issues in MSVC.
13 years ago
xiaofeng@google.com
b55a20fa2c
Down-integrate from internal branch
13 years ago
pliard@google.com
daced74d77
Add support for NaCl in atomicops.
...
This does additionally a significant cleanup in platform_macros.h (initially
pulled from v8).
It implemented some subtleties that we don't use like the HOST/TARGET arch
distinction.
Changes related to NaCl support come from Chromium's build/build_config.h.
BUG=392
13 years ago
liujisi@google.com
e7881e8e12
Update atomicops to support new platforms where intptr_t = long.
...
Fix license headers.
13 years ago
liujisi@google.com
aabd7cf8f8
Fix a NULL/bool conversion.
13 years ago
xiaofeng@google.com
2072421124
Fix issue 378
13 years ago
pliard@google.com
a269a2c48b
Update outdated use of GoogleOnceType.
13 years ago
pliard@google.com
6103d4ed13
Don't call AddDesc() at static init time in LITE_RUNTIME mode.
...
This patch makes the generation of StaticDescriptorInitializer_$filename$
depend on whether LITE_RUNTIME is enabled. Note that this works only when
extensions are not used.
This lets us significantly decrease the number of static initializers generated
by protoc in LITE_RUNTIME mode (used in Chromium).
In LITE_RUNTIME mode, $adddescriptorsname$() is called the first time that
default_instance() is called (rather than being called during static init).
To benefit from this patch in LITE_RUNTIME mode without extensions, compile
with -DGOOGLE_PROTOBUF_NO_STATIC_INIT.
BUG=351
13 years ago
pliard@google.com
7cc257673c
Improve GoogleOnceInit() in Protocol Buffers.
...
It is based on V8's new CallOnce(): http://codereview.chromium.org/9447052/ .
This patch includes the following changes:
- POD (no static initializer generated) and faster implementation on Windows.
- GoogleOnceInit() can now take an additional parameter which is forwarded to
the function provided by the user.
This patch is part of the static initializers removal initiative.
13 years ago
pliard@google.com
6a10204df6
Add missing guard in atomicops MSVC cc file
13 years ago
pliard@google.com
72afe6ee3f
Fix build error in Mac atomicops.
13 years ago
pliard@google.com
324779ad70
Remove static initializer in wire_format_lite.cc.
13 years ago
pliard@google.com
f5de486b53
Add atomicops from V8.
13 years ago
liujisi@google.com
cb6dd4ef5f
A workaround for MSVC 2010 x64 platform bug,
...
which affects proto compiler in generating field has_bit mask.
14 years ago
liujisi@google.com
2a89d0022d
Add missing dll export macros.
14 years ago
liujisi@google.com
295a096023
Remove extra semicolon in primitive repeated field init code.
14 years ago
liujisi@google.com
7a6de0008a
Update comments for globally unique extension number for custom options.
14 years ago
liujisi@google.com
02d7015ba8
Allow String to be used as message names.
14 years ago
liujisi@google.com
5c24564811
Update mainline version to 2.4.2-pre.
14 years ago
liujisi@google.com
23f42ceaf8
Define serailVersionUID for generated java class.
14 years ago
liujisi@google.com
9cf65b7dd2
Use fully qualified java.lang.Object in protoc java code.
14 years ago
liujisi@google.com
17d57dbbcd
Add an intermediate method to propagate the friendship access to nested classes as a workaround for old compilers (e.g. gcc 3.4)
14 years ago
liujisi@google.com
c345db7d6b
Update version number to 2.4.1 in common.h.
14 years ago
liujisi@google.com
57014ffa52
Use Subprocess::Win32ErrorMessage() in command_line_interface_unittest to make the it OS locale independent.
14 years ago
liujisi@google.com
5c20ca1fcc
Escape C++ Trigraphs.
14 years ago
liujisi@google.com
6f2c3b8734
Boost version number to 2.4.0-pre, add more test cases for text_format.py about unicode field.
14 years ago
liujisi@google.com
9b7f6c544a
Fix issues: 223 224 242.
14 years ago
liujisi@google.com
1fd96c43a0
Add new files for vcprojs, fix issues: 165, 211, 228, 240
14 years ago
liujisi@google.com
5d8d2b0542
Fix issues: 200 202 211 215 237 246.
14 years ago
liujisi@google.com
2726e7a6eb
Fix issues: 166 167 172 175 181 188 192 194 195.
14 years ago
liujisi@google.com
0acafda8f4
Fix byte encoding macros.
14 years ago
kenton@google.com
baac9c39fe
Add some explicit casts to eliminate some warnings as described in issue 83 comment 17.
14 years ago
liujisi@google.com
33165fe0d5
Submit recent changes from internal branch. See CHANGES.txt for more details.
15 years ago
kenton@google.com
a4a9ef8c8b
Roll back revision 313. A similar but far more exensive change was made in our internal branch, which will be integrated soon.
15 years ago
kenton@google.com
15b675eea5
add cast to avoid compiler warning
15 years ago
kenton@google.com
d09ab8538d
Allow services with lite runtime when using rpc generator plugin.
15 years ago
kenton@google.com
b3f6a15806
Improve coded_stream.h handling on MSVC. Avoid a bogus runtime check and enable little-endian optimization. Based on patch from Nathan McDaniel.
15 years ago
kenton@google.com
6793c1af26
Use full paths when writing MSVS-style errors. Patch from Oleg Smolsky.
15 years ago
kenton@google.com
eeb8fd7dc8
Fix bug with permanent callbacks that delete themselves when run. Patch from Evan Jones.
15 years ago
kenton@google.com
203637497a
Remove comment referring to non-protobuf code.
15 years ago
kenton@google.com
769ab6ff03
Fix missing header issue -- INT_MAX is defined in limits.h. I chose to use a different constant rather than add the #include.
15 years ago