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.
14 years ago
kenton@google.com
b541e3c966
Use native line endings on VS project files (they are, in fact, text).
14 years ago
kenton@google.com
27028bcb97
Fix issue 208.
15 years ago
kenton@google.com
0c293def6c
Fix issue 207
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
kenton@google.com
c65c04195d
Fix issue 162: generated code should #include <algorithm> for std::swap().
15 years ago
kenton@google.com
daee05168e
Optimize Java string serialization. Patch from Evan Jones.
15 years ago
kenton@google.com
ab6950d75d
More Java warning tweaks from Evan Jones.
15 years ago
kenton@google.com
28c2ec0dbd
Fix some Java warnings. Patch from Evan Jones.
15 years ago
kenton@google.com
4844368346
Add missing include (that apparently didn't break anything on most platforms).
15 years ago
kenton@google.com
08e9036f61
Fix obvious syntax error that somehow works fine on MSVC and GCC 3.x-win32.
15 years ago
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.
15 years ago
kenton@google.com
c25f833baf
Fixes compile on GCC 3.2 according to Sergey Tihansky.
15 years ago
kenton@google.com
7db148f92a
Add makefile for extended tests to be run before release.
15 years ago
kenton@google.com
2113840aa0
Fix bogus sign-compare warnings in header at request of user.
15 years ago
temporal
d4e38c7fc9
Fix date in CHANGES.txt. Sigh.
15 years ago
kenton@google.com
ea75323710
Update version number in trunk to 2.3.1.
15 years ago
kenton@google.com
38b744eaa7
Update CHANGES.txt to reflect actual expected release date of 2.3.0.
15 years ago
kenton@google.com
f9fa0590bc
Fix memory leak in CommandLineInterface, not that it really matters.
15 years ago
kenton@google.com
38fcd39227
Minor compatibility tweaks for FreeBSD.
15 years ago
kenton@google.com
7b7a80eae4
Tweak doc comments.
15 years ago
kenton@google.com
83aba29ebe
Detect and avoid broken unordered_map on OSX 10.5 / GCC 4.0.1.
15 years ago
kenton@google.com
2773bdf239
Add missing file to dist.
15 years ago
kenton@google.com
535301894e
Address comments from various code reviews.
15 years ago
kenton@google.com
2429e3a0de
Monty Taylor claims this helps the drizzle compile for some reason.
15 years ago
kenton@google.com
0225b352ea
Mention zip/jar output in CHANGES.txt.
15 years ago
kenton@google.com
d78ca9c74f
Fixed DLL compile under MSVC.
15 years ago
kenton@google.com
c619a3da2a
Fix syntax of function definition in shell script so that it hopefully works on Solaris.
15 years ago
kenton@google.com
fe7314e0cc
Another Sun Studio fix from Monty Taylor.
15 years ago
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.
15 years ago
kenton@google.com
5066322074
Allow protoc to output directly to zip/jar/par/war files.
15 years ago
kenton@google.com
45258ff4e2
Fix 32/64-bit confusion on Solaris 10 x86. Patch from Oliver Jowett.
15 years ago
kenton@google.com
bf06bb24bc
Try again to fix build on Sun Studio -- Monty Taylor claims this will do it.
15 years ago
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.
15 years ago
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.
15 years ago
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.
15 years ago
kenton@google.com
eef5f8396d
Same as r275 except for Python.
15 years ago
kenton@google.com
35d2f017a7
In Java's TextFormat, correcty concatenate adjacent string literals, as C++ does. Also fix a bug in handling of single-quoted strings.
15 years ago
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.
15 years ago
kenton@google.com
7f4938b244
Mark plugins as experimental for now.
15 years ago
kenton@google.com
25cf9e3153
getExtension() on an empty repeated field should return an empty list, not a singular default value.
15 years ago
kenton@google.com
d6e84b3ed8
When serializing to an ostream, verify that there were no stream-level errors before returning success.
15 years ago
kenton@google.com
28e46df3e9
Clarify that pushLimit() does not limit the number of bytes CodedInputStream will read from the underlying InputStream.
15 years ago
kenton@google.com
6f12e3e29a
Accept form feeds as whitespace.
15 years ago