liujisi@google.com
295a096023
Remove extra semicolon in primitive repeated field init code.
2011-07-05 06:16:40 +00:00
liujisi@google.com
7a6de0008a
Update comments for globally unique extension number for custom options.
2011-05-25 06:25:24 +00:00
liujisi@google.com
02d7015ba8
Allow String to be used as message names.
2011-05-04 06:15:22 +00:00
liujisi@google.com
5c24564811
Update mainline version to 2.4.2-pre.
2011-05-03 07:06:03 +00:00
liujisi@google.com
23f42ceaf8
Define serailVersionUID for generated java class.
2011-04-29 01:57:30 +00:00
liujisi@google.com
9cf65b7dd2
Use fully qualified java.lang.Object in protoc java code.
2011-04-08 03:40:29 +00:00
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)
2011-02-07 19:03:53 +00:00
liujisi@google.com
c345db7d6b
Update version number to 2.4.1 in common.h.
2011-02-03 07:22:32 +00:00
liujisi@google.com
57014ffa52
Use Subprocess::Win32ErrorMessage() in command_line_interface_unittest to make the it OS locale independent.
2010-12-21 05:56:35 +00:00
liujisi@google.com
5c20ca1fcc
Escape C++ Trigraphs.
2010-12-21 05:33:13 +00:00
liujisi@google.com
6f2c3b8734
Boost version number to 2.4.0-pre, add more test cases for text_format.py about unicode field.
2010-12-09 08:59:21 +00:00
liujisi@google.com
9b7f6c544a
Fix issues: 223 224 242.
2010-12-08 03:45:27 +00:00
liujisi@google.com
1fd96c43a0
Add new files for vcprojs, fix issues: 165, 211, 228, 240
2010-12-07 06:23:55 +00:00
liujisi@google.com
5d8d2b0542
Fix issues: 200 202 211 215 237 246.
2010-12-06 06:20:14 +00:00
liujisi@google.com
2726e7a6eb
Fix issues: 166 167 172 175 181 188 192 194 195.
2010-12-03 09:12:33 +00:00
liujisi@google.com
0acafda8f4
Fix byte encoding macros.
2010-12-01 04:13:50 +00:00
kenton@google.com
baac9c39fe
Add some explicit casts to eliminate some warnings as described in issue 83 comment 17.
2010-11-30 23:54:03 +00:00
liujisi@google.com
33165fe0d5
Submit recent changes from internal branch. See CHANGES.txt for more details.
2010-11-02 13:14:58 +00:00
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.
2010-09-17 23:20:04 +00:00
kenton@google.com
15b675eea5
add cast to avoid compiler warning
2010-04-23 19:15:05 +00:00
kenton@google.com
d09ab8538d
Allow services with lite runtime when using rpc generator plugin.
2010-04-19 19:15:12 +00:00
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.
2010-04-05 23:19:54 +00:00
kenton@google.com
6793c1af26
Use full paths when writing MSVS-style errors. Patch from Oleg Smolsky.
2010-04-05 21:45:45 +00:00
kenton@google.com
eeb8fd7dc8
Fix bug with permanent callbacks that delete themselves when run. Patch from Evan Jones.
2010-02-16 21:59:09 +00:00
kenton@google.com
203637497a
Remove comment referring to non-protobuf code.
2010-02-10 00:13:33 +00:00
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.
2010-02-09 02:09:08 +00:00
kenton@google.com
c65c04195d
Fix issue 162: generated code should #include <algorithm> for std::swap().
2010-02-01 20:35:34 +00:00
kenton@google.com
daee05168e
Optimize Java string serialization. Patch from Evan Jones.
2010-02-01 17:41:59 +00:00
kenton@google.com
ab6950d75d
More Java warning tweaks from Evan Jones.
2010-01-28 01:09:11 +00:00
kenton@google.com
4844368346
Add missing include (that apparently didn't break anything on most platforms).
2010-01-20 01:59:22 +00:00
kenton@google.com
08e9036f61
Fix obvious syntax error that somehow works fine on MSVC and GCC 3.x-win32.
2010-01-20 01:54:38 +00:00
kenton@google.com
529a843f2d
Fix issues with Windows build: Always use ASCII version of CreateProcess (even if UNICODE is defined) and move GetMessage macro work-around to common.h so that it covers extension_set.h as well. Patch from Nick Carter.
2010-01-15 02:28:48 +00:00
kenton@google.com
c25f833baf
Fixes compile on GCC 3.2 according to Sergey Tihansky.
2010-01-13 23:43:19 +00:00
kenton@google.com
2113840aa0
Fix bogus sign-compare warnings in header at request of user.
2010-01-11 18:38:22 +00:00
kenton@google.com
ea75323710
Update version number in trunk to 2.3.1.
2010-01-09 01:02:25 +00:00
kenton@google.com
f9fa0590bc
Fix memory leak in CommandLineInterface, not that it really matters.
2010-01-08 05:47:13 +00:00
kenton@google.com
38fcd39227
Minor compatibility tweaks for FreeBSD.
2010-01-08 04:48:19 +00:00
kenton@google.com
7b7a80eae4
Tweak doc comments.
2010-01-08 03:56:03 +00:00
kenton@google.com
2773bdf239
Add missing file to dist.
2010-01-07 04:14:34 +00:00
kenton@google.com
535301894e
Address comments from various code reviews.
2010-01-07 02:08:03 +00:00
kenton@google.com
2429e3a0de
Monty Taylor claims this helps the drizzle compile for some reason.
2010-01-05 22:30:28 +00:00
kenton@google.com
d78ca9c74f
Fixed DLL compile under MSVC.
2010-01-04 21:15:47 +00:00
kenton@google.com
c619a3da2a
Fix syntax of function definition in shell script so that it hopefully works on Solaris.
2010-01-04 20:03:09 +00:00
kenton@google.com
d2fcbba230
Improve zip/jar support:
...
- Don't support par or war since par is not a standard format and outputting to
war doesn't make sense.
- Add boilerplate manifest when outputting to Jar.
- Remove "XXX check conversion" comments because I don't care.
- Add a test.
2010-01-04 19:47:18 +00:00
kenton@google.com
5066322074
Allow protoc to output directly to zip/jar/par/war files.
2009-12-24 02:12:15 +00:00
kenton@google.com
5f12164f54
Refactor the way output is handled in CommandLineInterface -- now it will be stored in-memory until all code generators have completed, then dumped to disk all at once. While this means that protoc uses more memory, the code is much simpler, and handles insertions much faster. Also, this made it easier to implement a useful feature: insertions will be indented to match the insertion point line. Therefore, when inserting into Python code, you don't have to figure out how much to indent your inserted code. The refactoring should also make it easier to implement output-to-jar at some point.
2009-12-23 07:03:06 +00:00
kenton@google.com
46ed74e8d4
Actually, that last revision can be simpler -- we don't need to parse strings at all, as simply entering 1e1000 as a float literal in Python will be evaluated as infinity.
2009-12-23 02:08:05 +00:00
kenton@google.com
d0047c43d9
In Python, avoid relying on float('inf') and float('nan') as these don't work on Windows with Python pre-2.6.
2009-12-23 02:01:01 +00:00
kenton@google.com
6e8b9e4a4a
Make extension identifiers final. This improves security when untrusted code is present in the same class loader. In order to get around initialization ordering issues, I simply made the constructor for extension identifiers take no arguments and deferred initialization to an internalInit() method, which generated code will always call during init.
2009-12-22 23:51:20 +00:00
kenton@google.com
7f4938b244
Mark plugins as experimental for now.
2009-12-22 22:57:39 +00:00