Commit Graph

923 Commits

Author SHA1 Message Date
Jake Farrell
5b0c590968 THRIFT-1856: different comments generated
Patch: Jake Farrell

Fix different comments being generated on OSX vs Linux/Windows.
2013-02-17 19:31:04 -05:00
Jake Farrell
1af57289f2 THRIFT-1856: different comments generated
Patch: Jake Farrell

Fix different comments being generated on OSX vs Linux/Windows
2013-02-17 14:44:46 -05:00
Jens Geyer
3a67c2f834 THRIFT-1603 Thrift IDL allows for multiple exceptions, args or struct member names to be the same
Patch: Kamil Sałaś
2013-02-03 22:30:41 +01:00
Roger Meier
814d4c7fb9 THRIFT-1843 Get rid of annoying comma in python function signatures
Patch: Volodymyr Krestiannykov
2013-01-24 23:16:54 +01:00
Roger Meier
d34bea0c04 THRIFT-1837 Deploy and use cxxfunctional.h in cpp code generated in cob_style mode
Patch: Nate Rosenblum
2013-01-22 21:36:42 +01:00
Jens Geyer
a1e36f6ee5 THRIFT-1832 C# async generator assumes all methods have arguments
Patch: Kevin Radloff
2013-01-17 22:46:57 +01:00
Roger Meier
d536424633 THRIFT-1831 Bug in list deserializer
Patch: Satheesh Velmurugan
2013-01-16 22:46:10 +01:00
Roger Meier
e3da768367 THRIFT-1826 update c_glib source header paths
Patch: Simon South
2013-01-11 11:41:53 +01:00
Jens Geyer
945537c1fc THRIFT-1815 Code generators line buffer output
Patch: Andrew Gaul
2013-01-04 19:33:29 +01:00
Roger Meier
6df4f3bbc7 THRIFT-1779 Missing process_XXXX method in generated TProcessor implementation for all 'oneway' service functions
Patch: Luis Laugga
2012-12-27 02:32:44 +01:00
Jens Geyer
63e3c63078 THRIFT-1800 Documentation text not always escaped correctly when rendered to HTML
Patch: Jens Geyer
2012-12-24 10:32:58 +01:00
Jens Geyer
c880b44c5d THRIFT-1799 Option to generate HTML in "standalone mode"
Patch: Jens Geyer
2012-12-21 23:07:29 +01:00
Jens Geyer
5bcf32bfa8 THRIFT-1788 C#: Constants static constructor does not compile
Patch: Carl Yeksigian
2012-12-18 22:35:04 +01:00
Jens Geyer
a58a9cb99f THRIFT-1767 unions can't have required fields (Delphi)
Patch: Kenjiro Fukumitsu, Jens Geyer
2012-12-17 23:24:13 +01:00
Jens Geyer
04f70976ac THRIFT-1768 unions can't have required fields (Compiler)
Patch: Jens Geyer
2012-12-17 22:41:21 +01:00
Jens Geyer
59a884b739 THRIFT-1794 C# asyncctp broken
Patch: Carl Yeksigian
2012-12-16 20:04:19 +01:00
Jens Geyer
716454e36e Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2012-12-16 19:04:52 +01:00
Jens Geyer
65d83ecf3e THRIFT-1783 C# doesn't handle required fields correctly
Patch: Carl Yeksigian
2012-12-16 19:00:27 +01:00
Roger Meier
e7b0b69246 THRIFT-1630 Equivalent objects that contain sets and maps can serialize differently
Patch: Kamil Salas
2012-12-16 15:44:48 +01:00
Jens Geyer
b030392080 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2012-12-15 03:18:26 +01:00
Jens Geyer
0ab273abdf THRIFT-1782 async only defined in silverlight
Patch: Carl Yeksigian
2012-12-14 00:09:15 +01:00
Jens Geyer
ad4467e9db THRIFT-1780 Add option to generate nullable values
Patch: Carl Yeksigian
2012-12-14 00:08:24 +01:00
Jens Geyer
7740739b79 THRIFT-1765 Incorrect error message printed for null or negative keys 2012-12-11 23:38:12 +01:00
Todd Lipcon
2b2560e836 THRIFT-1773. Revert "Thrift-1604:Python exxception handeling for changes from PEP3110"
This reverts commit 6c5ee6ad20.

This commit is being reverted since it broke compatibility with
Python 2.4, which is the latest version included in RHEL5 releases.
2012-12-10 14:29:59 -08:00
Roger Meier
a212369383 THRIFT-1422 async_server.skeleton.cpp include TEventServer.h, but there isn't corresponding file in deed
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410139 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 01:22:47 +00:00
Roger Meier
3e5e9d0901 THRIFT-1494 Python generated "Service-remote" script doesn't honor service inheritance
Patch: Nathaniel Cook


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410130 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 00:51:59 +00:00
Roger Meier
32104d71bd THRIFT-1752 structs do not implement Comparable and have a redundant cast
Patch: Andrew Gaul


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410061 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 22:20:44 +00:00
Roger Meier
3806a743c8 THRIFT-1747 Generated Python code incorrect when declaring constants of a struct type declared in an included thrift file
Patch: Justin Judd


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410038 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 21:46:01 +00:00
Roger Meier
e854206180 THRIFT-1724 HTML generator doesn't identify unions in output
Patch: Kevin Radloff


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1400519 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 21:29:02 +00:00
Roger Meier
cc6ea425b7 THRIFT-1731 error: expected identifier before ';' token
Patch: Martin Vogt


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1400518 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 21:18:43 +00:00
Jake Farrell
7c7a5e05ba Thrift-1721:Dist broken due to 0.8.0 to 0.9.0 changes
Client: build
Patch: Jake Farrell

Fix dist build to create the 0.9.0 release



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1396880 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 00:29:11 +00:00
Roger Meier
061d4a2cb4 THRIFT-1695 allow warning-free compilation in VS 2012 and GNU 4.6
Patch: Ben Craig & James K Lowden


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1395277 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 11:51:00 +00:00
Jake Farrell
2fd8a15fc4 Thrift-1680:Make install requires GNU make
Client: build
patch: Jake Farrell

Updates boost and libevent configure messages, updates thrift help to display error and smaller message, moves help to --help or -help and takes care of // TODO(dreiss): Delete these when everyone is using the new hotness. Welcome to the new hotness everyone.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1391705 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 00:26:36 +00:00
Henrique Mendonca
6e283a0e6d Thrift-1703:Add leading :: to cpp names
Client: c++
Patch: Jochen Topf


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1390983 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 12:58:40 +00:00
Henrique Mendonca
ffb031d74e Thrift-1696:Compiler fails if namespace of an unknown language is present in the IDL
Patch: Abhishek Kona

print warning instead of throwing an exception


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1389509 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 18:36:16 +00:00
Roger Meier
3d37fba206 THRIFT-1694 Re-Enable serialization for WP7 Silverlight
Patch: Jens Geyer


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1387715 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 19:30:36 +00:00
Roger Meier
3087738f28 THRIFT-1651 Support annotations on all elements
Patch: Benjy Weinberger



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1386848 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:18:05 +00:00
Roger Meier
5cac98c659 THRIFT-1686 t_php_generator.cc uses "and" instead of "&&", and causes compiler errors with Visual Studio
Patch: Ben Craig


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381696 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 17:59:55 +00:00
Roger Meier
21c0a85079 THRIFT-1615 PHP Namespace (was Thrift for Symfony 2)
Patch: Xavier HAUSHERR


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381323 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 19:47:14 +00:00
Jake Farrell
e06e8b7e99 Thrift-1671:Cocoa code generator does not put keywords into generated method calls
Client: cocoa
Patch: Jan Brauer

Adds keywords into generated method calls.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1370855 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 17:38:39 +00:00
Bryan Duxbury
d62032850c THRIFT-1624. java: Isset Generated differently on different platforms
This patch initializes is_union_ to a specific value to try and avoid the issue.

Patch: Brian Bloniarz

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1353784 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 00:32:57 +00:00
Jake Farrell
16b764196f THRIFT-1438: lib/cpp/src/windows/config.h should read version from configure.ac rather than a #define
Client: compiler
Patch: Jake Farrell

Converts compiler/cpp/src/windows/version.h to a template and automates uses of configure.ac version rather than a random #define version string.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1352767 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 03:51:38 +00:00
Jake Farrell
f42ae012aa Thrift-1567:Thrift/cpp: Allow alternate classes to be used for strings
Client: cpp
Patch: dreiss

The goal of this diff is to allow Thrift strings to be used without
depending on std::string, since it looks like we're starting to move
away from std::string instead of moving to a better implementation.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1352765 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 03:22:53 +00:00
Roger Meier
122803bade THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Patch: Peace
add pipe crossplatform example to contrib

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351477 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 20:23:58 +00:00
Bryan Duxbury
6edb27a5af THRIFT-1622. cpp: Incorrect size returned on read
This patch adds a missing 'xfer +=' in a few spots.

Patch: NN

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1350268 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 14:36:18 +00:00
Roger Meier
9212e79b3d THRIFT-1627 compiler built using compilers.vcxproj cannot be used to build some test .thrift files
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1349524 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 21:01:06 +00:00
Roger Meier
febe845f05 THRIFT-1621 Delphi Memory leaks
Patch: Jens Geyer

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346814 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 10:32:24 +00:00
Jake Farrell
d11c8bc4be Thrift-1611:Improved code generation for typedefs
Client: delphi
Patch: Jens Geyer

Currently, IDL typedefs are translated into their base types and do not appear in the generated code at all



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340873 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 00:07:14 +00:00
Roger Meier
6849f2014d THRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
Patch: Itai Zukerman

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340014 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 07:35:19 +00:00
Jake Farrell
6c5ee6ad20 Thrift-1604:Python exxception handeling for changes from PEP3110
Client: py
Patch: Jake Farrell

Python PEP 3110 changed exception handling by replacing the ',' with 'as'. This was initially introduced in python 2.6 and in 3.0 the ',' usage is no longer suppported. Since exception handling through out the py lib uses the ',' it will need to be converted over to using the 'as' syntax for exceptions



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339941 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 01:00:39 +00:00