Commit Graph

13 Commits

Author SHA1 Message Date
Kengo Seki
46554d0a4c THRIFT-5051: Fix Python tutorials to address THRIFT-4002
Client: Python
Patch: Kengo Seki

This closes #1968
2020-01-19 22:18:52 +01:00
James E. King III
3ec4031a4c THRIFT-4405: fix cygwin on appveyor 2019-02-01 11:13:49 -05:00
Thomas Petazzoni
1744cdcb67 configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation
The thrift build system currently assumes that the thrift compiler is
always available in $(top_builddir)/compiler/cpp/thrift. However, in a
cross-compilation context, this location contains the thrift compiler
built for the target... which obviously will not run on the build
machine.

In order to support such cross-compilation situation, we introduce the
THRIFT variable as a an argument for the configure script (using
AC_ARG_VAR). If not specified, it defaults to the existing value of
using compiler/cpp/thrift from the build directory, but it can be
overridden when calling ./configure.

Note that $(top_builddir) cannot be used within the configure script,
so we simply use `pwd`, which is the same as the top_builddir.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

This closes #1336
This closes #1350
2017-09-09 07:50:54 -07:00
Nobuaki Sukegawa
7e286b0d14 THRIFT-3540 Make python tutorial more in line with PEP8
This closes #786
2016-01-13 20:25:19 +09:00
Nobuaki Sukegawa
760511f59b THRIFT-1857 Python 3 Support
Client: Python
Patch: Thomas Bartelmess, Eevee (Alex Munroe), helgridly, Christian Verkerk, Jeroen Vlek, Nobuaki Sukegawa

This closes #213 and closes #680
2015-11-06 21:24:16 +09:00
Konrad Grochowski
3b115dfa61 THRIFT-727 - C++: what() method of generated exceptions will provide more information
Patch: Anna Dymek <aadymek@gmail.com>
Client: C++

This closes #469
2015-05-18 19:47:23 +02:00
Jens Geyer
79f988c27a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am)
Patch: Jens Geyer

Reverted makefile.am - tabs are not optional there
2014-10-03 20:42:54 +02:00
Jens Geyer
aaa8947f3a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer

DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
2014-10-03 20:30:38 +02:00
jfarrell
102c600bbb Thrift-2124: .o, .so, .la, .deps, .libs, gen-* files left tutorials, test and lib/cpp when making DIST
Client: build
Patch: jfarrell

Fixing all the missing files and dist build issues that have been ignored.
2013-08-15 21:20:19 -04:00
Roger Meier
c9ce87fb02 THRIFT-1735 remove generated files with make clean
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1404820 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 23:02:07 +00:00
Roger Meier
1d66d061b7 THRIFT-1735 integrate tutorial into regular build
python and python twisted


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1402680 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 21:46:18 +00:00
Jake Farrell
47f5ab3f06 Thrift-1303: Twisted tutorial client does not include correct generated path
Client: tutorial

Updated path in python client to include correct generated code.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1162866 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 15:27:41 +00:00
Roger Meier
cd9bc46ebd THRIFT-1024 Add Python Twisted example to the Tutorial
Patch: Michael



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1054733 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 20:19:07 +00:00