Commit Graph

182 Commits

Author SHA1 Message Date
Jake Farrell
d6d3e37103 Thrift-1661:Add --with-qt4 configure option
Client: cpp
Patch: Blair Zajac

Adds ability to enable/disable qt4 support.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1366428 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 16:01:33 +00:00
Jake Farrell
c9c972b3ee Thrift-1655: Configure still trying to use thrift_generators in output
Client: build
Patch: Jake Farrell

Remove thrift_generators line from configure.ac



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1365183 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 17:28:24 +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
Roger Meier
6bb0a7a34a THRIFT-1589 configure.ac should require at least boost 1.41
Build slaves at Apache need 1.40.0

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337107 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 10:44:32 +00:00
Roger Meier
6ad473ff64 THRIFT-1589 configure.ac should require at least boost 1.41
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332827 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 21:03:41 +00:00
Roger Meier
321772340b enable c_glib per default
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332618 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 11:19:53 +00:00
Jake Farrell
b95b0ffa72 THRIFT-1500: d programming language support
Client: D
Patch: David Nadlinger

D program language library and additions



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1304085 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 21:49:10 +00:00
Anthony F. Molinaro
efa2fcf325 THRIFT-1520 : embed version number in .app file for easier integration with rebar
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1292474 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 19:44:50 +00:00
Roger Meier
86e8986587 THRIFT-1348 C++ Qt bindings
Patch: Doug Rosvick and Vitali Lovich

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1242900 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 19:53:20 +00:00
Roger Meier
33b720a958 THRIFT-1478 TJSONProtocol in PHP
Patch: Greg Fodor, Andrew Grumet, Roger Meier

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1235403 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 18:42:46 +00:00
Roger Meier
b33967be76 THRIFT-847 Test Framework harmonization across all languages
add php TestClient to the testsuite

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1234292 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 09:18:05 +00:00
Roger Meier
eaa61d8fda THRIFT-1267 Node.js can't throw exceptions
Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1230797 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 21:38:29 +00:00
Roger Meier
01b568cb5d THRIFT-847 Test Framework harmonization across all languages
perl fixes:
- generate Makfile for perl tests
- add inc path to test

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1229745 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 21:30:02 +00:00
Roger Meier
12d705390d THRIFT-1461 Recent TNonblockingServer changes broke --enable-boostthreads=yes, Windows
Patch: Alexandre Parenteau

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1214547 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:35:28 +00:00
Roger Meier
6e96965fdb THRIFT-1462 add more strict compiler flags
FIX: check for MINGW and use reduced compiler flag set for mingw

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213523 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 00:36:01 +00:00
Jake Farrell
9901069442 Updating trunk to 0.9.0 version.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1208214 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 02:09:46 +00:00
Roger Meier
38315786e5 THRIFT-1361 Optional replacement of pthread by boost::thread
Patch: Alexandre Parenteau
rev3

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198339 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 11:29:41 +00:00
Jake Farrell
7ae13e10f7 Thrift-1366: Delphi generator, lirbrary and unit test.
Client: delphi
Patch: Kenjiro Fukumitsu

Adding delphi XE generator, lib and unit tests.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185688 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:35:26 +00:00
Roger Meier
3faaedf46b THRIFT-1361 Optional replacement of pthread by boost::thread
Patch: alexandre parenteau

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178176 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:51:45 +00:00
Jake Farrell
dec8c54f8e Thrift-857: tests run by "make install" fail if generators are disabled
Client: build
Patch: jfarrell

removes --enable-gen* from configure and adds all generators by default.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1173436 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 00:15:27 +00:00
Jake Farrell
627f1a0088 Thrift-1345: Allow building without test cases
Client: build env
Patch: Vitali Lovich

Adds --without-tests to configure to omit processing/building the test directories.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1170426 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 03:43:49 +00:00
Roger Meier
6869112f5e THRIFT-1296 SSL detection is broken
mingw toolchain used to build "Thrift Compiler for Windows"
does not support libcrypto, so we just check if we building the cpp library

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1167013 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 06:19:35 +00:00
Roger Meier
2fa9c31e06 THRIFT-1320 Consistency of configure generated config.h
Patch: Alexandre Parenteau

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1165400 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 19:15:53 +00:00
Jake Farrell
9c39f7765e Thrift-1286: Modernize the Thrift Ruby Library Dev Environment
Client: Ruby
Patch: jfarrell

Updates to ruby build process with the following changes:
 - Removes dependency on echoe for spec generation
 - Adds gemfile for bulider and uses thrift.gemspec for dependency management.
 - Adds checks in configure for builder and only calls if available (make check-local on ci servers)
 - Adds checks in configure for Ruby and rake (bundler as well but this is optional for check-local and auto dependency management)
 - Still allows for rake to do its thing if all dependencies are in place
 - Removed Manifest and setup.rb
 - Adds a install task which will generate a gem and then install that gem to locally configured ruby path (no more prefix or destdir with this client)



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1163341 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 19:12:10 +00:00
Jake Farrell
012dfdab4c Thrift-1296: SSL detection is broken
Patch: jfarrell

Updated configure to check for crypto and then ssl and error along the way if unavailable.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1162925 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 18:18:55 +00:00
Jake Farrell
9c76258564 updating trunk from 0.7.0-dev to 0.8.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1157426 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 21:29:36 +00:00
Roger Meier
d3b9dca285 THRIFT-457 test/cpp makefiles do not honor --prefix configuration setting
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1139309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 14:01:10 +00:00
Anthony F. Molinaro
917d89825f THRIFT-892 - refactor erlang library to build using rebar, move tests into lib/erl/test directory and run several via make check
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1137870 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 06:20:18 +00:00
Jake Farrell
3ad8081af4 Thrift-1102: typo in configure.ac: "==" operator in 'test' (instead of "=")
Fixed incorrect operator check for have_cpp in configure.ac



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1134046 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 19:14:22 +00:00
Jake Farrell
210d766d89 Thrift-731: configure doesn't check for ant >= 1.7
Client: java, build process
Patch: Harlan Lieberman-Berg, Jake Farrell

Adds a configure check to verify that the current version of ant is >= 1.7 otherwise sets WITH_JAVA to no.




git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1127686 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 21:07:29 +00:00
Jake Farrell
05e0cdb454 Thrift-1104: INSTALLDIRS should be included in configure script
Client: perl, build process
Patch: Dmitriy Kargapolov

Adds INSTALLDIRS to configure to be able to specify a specific install location for perl since it does not use --prefix.




git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1099799 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 13:45:26 +00:00
Roger Meier
f2100be15b THRIFT-1074 .keystore and .truststore are missing from the 0.6.0 distribution
- new tar format for dist files: tar-ustar POSIX 1003.1-1988
- adds .XYZ files not in the excluded build list to the dist tar.gz file
Patch: Jake Farrell


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084724 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 20:36:20 +00:00
Roger Meier
f2495760fe THRIFT-1091 integrate JavaScript Test into Testsuite via make check
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1082649 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 19:13:36 +00:00
Roger Meier
9d9c4b9039 THRIFT-1071 configure.ac checks for openssl
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073930 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 20:27:54 +00:00
Christian Lavoie
afc6d8f650 THRIFT-625: Add support for 'Go'; provided by Aalok Shah.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072478 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 02:39:19 +00:00
Bryan Duxbury
b005c1f456 THRIFT-1054. build: explicit call to PKG_PROG_PKG_CONFIG is missing and first use of PKG_CHECK_MODULES may not happen, causes mono detection to fail
Uh, yeah, what the description says. 

Patch: Chris Morgan

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068976 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 17:05:11 +00:00
T Jake Luciani
03ec1e4696 revert accidental commit
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063967 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 02:53:57 +00:00
T Jake Luciani
7070aaa23b THRIFT-904: disable nagle and linger
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063966 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 02:51:51 +00:00
Bryan Duxbury
c216556bd6 update version numbers to 0.7.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1056453 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:45:29 +00:00
Roger Meier
c101092ea7 THRIFT-1003 Polishing c_glib code
Patch: Anatol Pomozov


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1039299 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 10:17:48 +00:00
Roger Meier
213a664798 THRIFT-582 C(c_glib) implementation of Thrift
Patch: Anatol Pomozov and Michael Lum


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1027933 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 12:30:11 +00:00
Roger Meier
50e4349463 THRIFT-581 Add a testsuite for txThrift (Twisted) / py.twisted
Patch: Esteve Fernandez



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005923 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 17:46:06 +00:00
David Reiss
5ddabb8e3f THRIFT-923. cpp: Implement a fully nonblocking server and client
There are three major parts of this:
1/ New callback-style interfaces for for a few key Thrift components:
   TAsyncProcessor for servers and TAsyncChannel for clients.
2/ Concrete implementations of TAsyncChannel and a server for
   TAsyncProcessor based on evhttp.
3/ Async-style code generation for C++

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005127 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 17:09:37 +00:00
Bryan Duxbury
c657447e0e THRIFT-932. hs: Haskell tests need to be run through 'make check' (and probably 'cabal check') too
Tests are now self-contained and correctly exit after running. There's a single run script which has improved error messages and defaults to the thrift binary compiled in the current source directory instead of those in PATH. And as a bonus hooks both cabal check and running the tests to make check. 

Patch: Christian Lavoie

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1004861 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 00:12:33 +00:00
Anthony F. Molinaro
ddcf32ab9c disable php extension if php-config is missing
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1004707 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 16:45:50 +00:00
Bryan Duxbury
e1ae6b45d5 bump versions to 0.6.0
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1002294 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 17:44:45 +00:00
Anthony F. Molinaro
a5df7c7b0e THRIFT-905: hook haskell into autoconf
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001823 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 17:22:17 +00:00
Bryan Duxbury
1237dcb099 THRIFT-880. javame: JavaME code generator and runtime library
This patch adds a new generator and library that produces code suitable for use in JavaME environments.

Patch: David Engberg

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999022 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 17:49:09 +00:00
Anthony F. Molinaro
ef16420d54 THRIFT-698 - fix .app file, remove unused parts of build system, updated LICENSE to reflect changes
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@993207 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 03:35:30 +00:00
David Reiss
79db3e16ec THRIFT-874. Disable AX_SIGNED_RIGHT_SHIFT for cross-compiles
When cross-compiling, we cannot run test programs, so
AX_SIGNED_RIGHT_SHIFT won't work.  That macro is only needed for the
runtime library, not the compiler, so we can just skip it if we are
cross-compiling the compiler.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991256 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 16:51:31 +00:00
David Reiss
ef5e81b1ac THRIFT-507. Only use Boost for building the C++ library
- Make AX_BOOST_BASE warn instead of fataling if Boost is not found.
- If Boost is not found, disable compilation of the C++ library.
- Do not use CPPFLAGS or LDFLAGS from Boost when building the compiler.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991253 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 16:51:28 +00:00
David Reiss
dcc7e9b333 THRIFT-850. Use AX_PROG_PERL_MODULES to test for Bit::Vector
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991249 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 16:51:22 +00:00
David Reiss
ea4c9816fc THRIFT-506. Allow Thrift to be built without the C++ library
Currently, this is only possible by explicitly passing --without-cpp.
It might be better to name it --without-cxx, but it is probably more
important to keep consistency with the "cpp" generator and "lib/cpp".

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991248 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 16:51:21 +00:00
David Reiss
5cc3ba83fd THRIFT-505. Make configure give a summary of the enabled components
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991247 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 16:51:20 +00:00
David Reiss
351e22b52a THRIFT-503. cpp: Move the tests built by "make check" under lib/cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991246 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 16:51:19 +00:00
Bryan Duxbury
89200e1c9d THRIFT-854. php: Provide configure option and make rules to build/install php extension
This patch adds a make target in lib/php that builds the php extension. By default configure will attempt to build this, but it can be disabled with --without-php_extension.

Patch: Anthony Molinaro

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@989226 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 17:09:02 +00:00
David Reiss
31e1b6e988 THRIFT-646. erlang: Fix build on machines without Erlang
AC_ERLANG_SUBST_LIB_DIR aborts configure if erlc cannot be found.  Just
skip that and all of the other install stuff if we don't have Erlang.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@988720 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 20:45:24 +00:00
Bryan Duxbury
5d742622e6 THRIFT-858. build: Have bootstrap.sh check for a suitable autoconf version before running
A slightly better version of the same functionality as contributed by David Reiss.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@987312 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 21:02:19 +00:00
David Reiss
1ee2001d03 THRIFT-646. erlang: Install into the detected Erlang directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@987224 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 16:29:52 +00:00
Bryan Duxbury
1237369cfc THRIFT-850. build: Perl runtime requires Bit::Vector which may not be installed by default, but configure does not fail
Attached patch should do the following:

    * check for the existence of the Perl Bit::Vector module
    * warn the user that the Perl library won't be built if Bit::Vector doesn't exist
    * have the WITH_PERL conditional also require Bit::Vector (e.g. don't built the perl libs if the module isn't there)

Patch: Michael Lum

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@987020 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 05:23:59 +00:00
Bryan Duxbury
184d26237a THRIFT-851. php: php extension fails to compile on centos 5.x
This patch introduces an approach that is compatbile with both centos and Mac.

Patch: Todd Lipcon

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@986410 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 17:43:58 +00:00
Bryan Duxbury
4c9f25c9a5 bump version number from 0.4.0-dev to 0.5.0-dev
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@985079 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 02:52:12 +00:00
Bryan Duxbury
38bab12298 Revert THRIFT-731 due to breakage on Ubuntu.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@984621 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 00:27:14 +00:00
Bryan Duxbury
f66525f56c THRIFT-731. configure doesn't check for ant >= 1.7
This patch makes configure check for ant version 1.7 or greater.

Patch: Harlan Lieberman-Berg

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@984207 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 20:59:00 +00:00
David Reiss
c07057e49f THRIFT-528. perl: add PERL_PREFIX to configure.ac
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@953796 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 17:57:32 +00:00
David Reiss
9e2fd7987d THRIFT-646. erlang: Misc build cleanups
- Use AC_ERLANG_PATH_ERLC to find erlc, instead of the generic
  AC_PATH_PROG.
- Also check for erl, just in case it is used internally by checks.
- Use AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR instead of manual hackery to
  find the location where Erlang libraries should be installed.  (This
  doesn't use the discovered version of Erlang, though.  See
  http://lists.gnu.org/archive/html/bug-autoconf/2010-05/msg00003.html .)
- Minor style changes in Makefile.am
- Remove some hacks we were using in the old makefile that were
  necessary because we were not using automake.
- Remove ebin in a "maintainer-clean-local" rule to avoid shadowing the
  default "maintainer-clean" rule which handles MAINTAINERCLEANFILES.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@945744 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 16:52:48 +00:00
Bryan Duxbury
3f0b526d2d THRIFT-459. Ruby installation always tries to write to /Library/Ruby/site
This patch adds a RUBY_PREFIX option similiar to JAVA_PREFIX or PY_PREFIX.

Patch: Matthieu Imbert

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@943698 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 21:31:58 +00:00
Bryan Duxbury
a1e268c54b THRIFT-770. build: Get 'make dist' to work without first compiling source code
This patch ditches the old print_version.sh method and instead generates the compiler's version.h via the Makefile.

Patch: Anthony Molinaro

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940630 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 21:33:00 +00:00
Bryan Duxbury
7173bd96bd THRIFT-646. erl: Erlang library is missing install target
This patch adds a new install target to the erlang makefile. It also converts the Makefile to Makefile.am

Patch: Anthony Molinaro

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940326 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 22:54:22 +00:00
Bryan Duxbury
6a68187338 THRIFT-647. php: PHP library is missing install target
This patch adds a 'make install' target to a new PHP makefile. 

Patch: Anthony Molinaro

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940325 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 22:39:31 +00:00
Bryan Duxbury
adf5f19c54 set the TRUNK version to 0.4.0-dev, instead of the ancient 20080411 datestamp
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939825 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 21:39:54 +00:00
Bryan Duxbury
321eb7a2bd THRIFT-518. as3: Add the AS3 generator and library
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@937067 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 21:17:39 +00:00
T Jake Luciani
322caa2f92 THRIFT-550: Added javascript support
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@910158 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 03:24:55 +00:00
David Reiss
9b90344445 THRIFT-606. cpp: Fix build on Solaris Nevada
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@827890 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 05:51:28 +00:00
Bryan Duxbury
c27cda57a0 THRIFT-558. java: Replace use of log4j by commons-logging in Java library and generated Java code
This patch switches Thrift to use slf4j instead of log4j. 



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@804349 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 20:04:15 +00:00
David Reiss
fff84d1466 THRIFT-450. java: Propagate CLASSPATH from ./configure to make and ant
- Put "AC_SUBST(CLASSPATH)" configure.ac so the CLASSPATH used to run
  ./configure is passed in to make.
- Put "export CLASSPATH" in lib/java/Makefile.am so that the CLASSPATH
  passed to make is passed to ant.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@777678 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 19:50:33 +00:00
David Reiss
fdfcebda52 THRIFT-450. java: Check for Apache Commons Lang also
I forgot that we use the hashcode option when building the tests.
We therefore need to check for HashCodeBuilder before disabling Ivy.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@777676 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 19:50:29 +00:00
David Reiss
e4ca1795ea cpp: Deal with systems without sched_get_priority_{min,max} (OpenBSD)
Also make a few tweaks to configure.ac:
- Check for clock_gettime in librt since it seems to be more
  widely available.
- Make it clear which AC_CHECK_FUNCS are optional.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@776927 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 02:28:19 +00:00
David Reiss
85a8f7b4c2 cpp: Deal with systems without AI_ADDRCONFIG (OpenBSD)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@776926 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 02:28:16 +00:00
David Reiss
4ca0c8eaee THRIFT-450. Don't use Ivy if log4j is already available
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@774132 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 23:16:55 +00:00
Bryan Duxbury
ec47358d23 THRIFT-175. Specs in Ruby library should be run during make check
This patch makes 'make check' run 'rake spec' in the appropriate scenarios. There is still another bug that will break the build though.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@762838 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 16:31:04 +00:00
David Reiss
e4d4ea0e83 THRIFT-333. cpp: Initial TCompactProtocol implementation
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761438 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 21:37:17 +00:00
David Reiss
feab773ae6 THRIFT-387. Add license to configure.ac
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760220 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 22:52:44 +00:00
David Reiss
d9cdf42ec5 THRIFT-300. A reimplementation of ax_java
Completely replace ax_java.m4 with ax_javac_and_java, which is
a clean-room implementation of an autoconf macro to detect Java.
It has some limitations compared to the ax_java macros in
The Autoconf Macro archive, but it has two key advantages.
It is not GPL-licensed.  It doesn't abort configure if Java is
not found.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@753428 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 21:25:29 +00:00
David Reiss
32272d9bd8 Allow the Thrift compiler to be built without the PHP generator.
- Use AX_THRIFT_GEN to make configure support --disable-gen-php
- Update the compiler Makefile.am to exclude the generator.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745240 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 20:28:30 +00:00
David Reiss
782cb67a3b Allow the Thrift compiler to be built without the XSD generator.
- Use AX_THRIFT_GEN to make configure support --disable-gen-xsd
- Update the compiler Makefile.am to exclude the generator.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745236 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 20:28:13 +00:00
David Reiss
f3b0db3735 Allow the Thrift compiler to be built without the Erlang generator.
- Use AX_THRIFT_GEN to make configure support --disable-gen-erl
- Update the compiler Makefile.am to exclude the generator.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745233 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 20:28:01 +00:00
David Reiss
d831a21773 THRIFT-309. Make Thrift's C# mapping .NET 2.0 (Mono 1.2.4) compatible
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@743963 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 03:09:52 +00:00
David Reiss
0b7d6fa5ee THRIFT-314. Purge reflection.limited
This was a feature designed to allow a Thrift server to report
information about its interface.  However, the feature has
significant design problems, and is presence is currently causing
confusion without doing any good.  Therefore, it is being removed.
It will always be in source control if and when we are ready to
come back to it.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741824 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 02:36:35 +00:00
T Jake Luciani
1952e5494d THRIFT-199: integrate perl into automake
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739697 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 04:47:30 +00:00
Bryan Duxbury
50119f15aa THRIFT-289. test: "make check" no longer runs the Java tests
Thanks to David for the changes that straighten the makefiles out.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739024 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 21:31:25 +00:00
David Reiss
dc0aada961 THRIFT-173. Commit the html generator
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@706466 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 00:09:23 +00:00
David Reiss
8d07e1d152 s/ENABLE_RUBY/WITH_RUBY/ for consistency.
This didn't happen in r666490 because the Ruby stuff was developed
in a separate branch.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@675857 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 08:04:12 +00:00
David Reiss
f0c21a72cd [THRIFT-70] Allow the Java install prefix to be configured.
Systems like Debian expect the thrift jar to be in /usr/share/java, not
the default /usr/local/lib This patch allows configure to be passed a
JAVA_PREFIX= flag.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@675821 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 01:26:16 +00:00
Kevin Clark
4bd8916b12 Merge branch 'fastbinary'
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@674688 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 00:47:49 +00:00
David Reiss
82c1bab8f3 Rename AM_CONDITIONALs from ENABLE_* to WITH_*.
This is to match the configure command-line options that define them.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666490 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 01:16:53 +00:00
David Reiss
1a14091adc Allow Thrift to be built without the Python library.
- Modify configure.ac to check for Python conditionally, like we do for
  Java, Mono, and Erlang.
- Modify Makefile.am to add "py" to SUBDIRS only if Python was detected.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666488 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 01:16:37 +00:00
David Reiss
33fc5adb2b Check for ptrdiff_t and fail if we don't have it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665682 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 07:17:34 +00:00
David Reiss
10a22bf1f6 Version bump to 20080411.
Also updated CONTRIBUTORS and NEWS.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665665 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 18:08:07 +00:00
David Reiss
847a294b4e Check for ssize_t in configure.ac.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665660 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 18:07:43 +00:00