kenton@google.com
|
45258ff4e2
Fix 32/64-bit confusion on Solaris 10 x86. Patch from Oliver Jowett.
|
16 лет назад |
kenton@google.com
|
bf06bb24bc
Try again to fix build on Sun Studio -- Monty Taylor claims this will do it.
|
16 лет назад |
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.
|
16 лет назад |
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.
|
16 лет назад |
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.
|
16 лет назад |
kenton@google.com
|
eef5f8396d
Same as r275 except for Python.
|
16 лет назад |
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.
|
16 лет назад |
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.
|
16 лет назад |
kenton@google.com
|
7f4938b244
Mark plugins as experimental for now.
|
16 лет назад |
kenton@google.com
|
25cf9e3153
getExtension() on an empty repeated field should return an empty list, not a singular default value.
|
16 лет назад |
kenton@google.com
|
d6e84b3ed8
When serializing to an ostream, verify that there were no stream-level errors before returning success.
|
16 лет назад |
kenton@google.com
|
28e46df3e9
Clarify that pushLimit() does not limit the number of bytes CodedInputStream will read from the underlying InputStream.
|
16 лет назад |
kenton@google.com
|
6f12e3e29a
Accept form feeds as whitespace.
|
16 лет назад |
kenton@google.com
|
f9c5978f5d
Hopefully fix build on Sun Studio.
|
16 лет назад |
kenton@google.com
|
c0ee4d2ed9
Build DLLs on Cygwin and MinGW.
|
16 лет назад |
kenton@google.com
|
94fd2ad771
Make sure test_plugin.vcproj is included in dist.
|
16 лет назад |
kenton@google.com
|
d1ce7a2839
Fix build on MSVC.
|
16 лет назад |
kenton@google.com
|
f2a732938e
Fix build on GCC 3.3/Linux.
|
16 лет назад |
kenton@google.com
|
0abe9c2143
Argh, this line was not supposed to be submitted.
|
16 лет назад |
kenton@google.com
|
ee7e9420e3
Use unordered_map when available. Changes to stl_hash.m4 provided by Oleg Smolsky.
|
16 лет назад |
temporal
|
8ee1474044
Add a code generator insertion point for Java builders.
|
16 лет назад |
kenton@google.com
|
684d45b2fe
Fix build on MinGW/Win32 (including implementing Subprocess using CreateProcess()).
|
16 лет назад |
temporal
|
bdbb863099
Ensure that 'once' objects are declared using the macro. This is either the third or fourth time I've screwed this up when down-integrating, because our internal code does not require the macro (it's not portable) and on Linux a pthread_once_t that is zero-initialized just happens to work. So, I only discover the problem when I test on Mac, then kick myself for making the same mistake yet again. No more! This time, I have renamed GoogleOnceType to ProtobufOnceType, thus making the type name differ from our internal code. As a result, if you don't update the decls to use the macros, they won't compile. Hah! Take that, future self!
|
16 лет назад |
kenton@google.com
|
91218afc67
Fix Cygwin build.
|
16 лет назад |
kenton@google.com
|
5e744ff961
Commit missing files from r251. Sigh.
|
16 лет назад |
kenton@google.com
|
afd32abb75
Set version to 2.3.0-pre.
|
16 лет назад |
kenton@google.com
|
83ad01e35f
Point test_plugin at the correct gtest headers.
|
16 лет назад |
kenton@google.com
|
fccb146e3f
Massive roll-up of changes. See CHANGES.txt.
|
16 лет назад |
kenton@google.com
|
d5cf7b55a6
Some sort of emacs protobuf mode fix.
|
16 лет назад |
kenton@google.com
|
b221008884
Fix UTF-8 validity checks to not do unaligned reads.
|
16 лет назад |