summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rw-r--r--NEWS50
-rw-r--r--README6
-rwxr-xr-xbootstrap.sh1
-rwxr-xr-xcleanup.sh3
-rw-r--r--compiler/cpp/Makefile.am38
-rw-r--r--configure.ac2
-rw-r--r--if/Makefile.am1
-rw-r--r--lib/cpp/Makefile.am9
-rw-r--r--lib/py/Makefile.am2
10 files changed, 110 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 000000000..a71974d90
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,6 @@
+SUBDIRS = compiler/cpp lib/cpp lib/py if
+## Don't run make dist from a subversion working copy
+## because it will pull in your .svn directories.
+EXTRA_DIST = bootstrap.sh cleanup.sh doc test tutorial \
+ thrift.el thrift.vim thrift.bnf CONTRIBUTORS LICENSE \
+ lib/cocoa lib/erl lib/hs lib/java lib/ocaml lib/perl lib/php lib/rb
diff --git a/NEWS b/NEWS
new file mode 100644
index 000000000..eb15fd149
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,50 @@
+Release Notes for Thrift 20070917
+
+TBinaryProtocol now includes a protocol version number in messaged.
+This is a non-backwards-compatible change. Please see the
+TBinaryProtocol constructor for strictRead_ and strictWrite_.
+
+Add binary type to support non-text "strings" in Java.
+
+TSocketPool for C++ (developed by jsobel).
+
+Syntax highlighting for vim and emacs (developed by hzhao and martin).
+
+Perl support (contributed by Jake Luciani).
+
+Erlang support (developed by cpiro).
+
+Ruby API overhaul (contributed by Kevin Clark of Powerset).
+
+IPv6 support in C++ and Python (contributed by Paul Saab of Powerset).
+
+Read/Write locks (developed by boz).
+
+OCaml support (developed by iproctor).
+
+Human-readable strings from Thrift structures in C++ (developed by dreiss).
+
+Haskell support (developed by iproctor).
+
+Support for optional fields in C++ (contributed by Andy Lutomirsky).
+
+Support for operator== for Thrift structures (contributed by Andy Lutomirsky).
+
+Python/C module for fast (de)serialization (contributed by Ben Maurer).
+
+Limited reflection for C++ services (developed by dreiss).
+
+Python library installation defaults to /usr, override with PY_PREFIX.
+
+Support for Javabean-style Java classes (contributed by Dave Engberg).
+
+TDenseProtocol for C++ (experimental way to shrink structures)
+(developed by dreiss).
+
+Cocoa/Objective C support (contributed by Andrew McGeachie).
+
+Thrift now builds without libevent.
+
+TZlibTransport for C++ (compress serialized structures) (developed by dreiss).
+
+Tons of small improvements and bug fixes.
diff --git a/README b/README
index 5dc232e72..72062592e 100644
--- a/README
+++ b/README
@@ -63,6 +63,9 @@ http://www.boost.org/libs/smart_ptr/smart_ptr.htm
Some portions of Thrift also depend upon libevent, see:
http://monkey.org/~provos/libevent/
+Some portions of Thrift also depend upon zlib, see:
+http://www.zlib.net/
+
These libraries are open source and may be freely obtained, but they are not
provided as a part of this distribution.
@@ -82,7 +85,8 @@ Installation
============
If you are building from the first time out of the source repository, you will
-need to generate the configure scripts. From the top directory, do:
+need to generate the configure scripts. (This is not necessary if you
+downloaded a tarball.) From the top directory, do:
./bootstrap.sh
diff --git a/bootstrap.sh b/bootstrap.sh
index d2e240a21..c73e709da 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -3,7 +3,6 @@
subdirs="compiler/cpp lib/cpp lib/py if"
./cleanup.sh
-echo "SUBDIRS = ${subdirs}" > Makefile.am
aclocal
touch NEWS README AUTHORS ChangeLog
diff --git a/cleanup.sh b/cleanup.sh
index c7f50542f..0ffe31c3a 100755
--- a/cleanup.sh
+++ b/cleanup.sh
@@ -6,11 +6,9 @@ rm -rf \
AUTHORS \
ChangeLog \
INSTALL \
-Makefile.am \
Makefile \
Makefile.in \
Makefile.orig \
-NEWS \
aclocal.m4 \
autom4te.cache \
autoscan.log \
@@ -29,6 +27,7 @@ install-sh \
libtool \
ltmain.sh \
missing \
+ylwrap \
if/gen-*
for subdir in ${subdirs}; do
diff --git a/compiler/cpp/Makefile.am b/compiler/cpp/Makefile.am
index ae69de9ba..b65dbb184 100644
--- a/compiler/cpp/Makefile.am
+++ b/compiler/cpp/Makefile.am
@@ -19,12 +19,48 @@ thrift_SOURCES = src/thrifty.yy \
src/generate/t_ocaml_generator.cc \
src/generate/t_erl_generator.cc \
src/generate/t_hs_generator.cc \
- src/generate/t_cocoa_generator.cc
+ src/generate/t_cocoa_generator.cc \
+ src/globals.h \
+ src/main.h \
+ src/md5.h \
+ src/parse/t_doc.h \
+ src/parse/t_type.h \
+ src/parse/t_base_type.h \
+ src/parse/t_enum.h \
+ src/parse/t_enum_value.h \
+ src/parse/t_typedef.h \
+ src/parse/t_container.h \
+ src/parse/t_list.h \
+ src/parse/t_set.h \
+ src/parse/t_map.h \
+ src/parse/t_struct.h \
+ src/parse/t_field.h \
+ src/parse/t_service.h \
+ src/parse/t_function.h \
+ src/parse/t_program.h \
+ src/parse/t_scope.h \
+ src/parse/t_const.h \
+ src/parse/t_const_value.h \
+ src/generate/t_generator.h \
+ src/generate/t_oop_generator.h \
+ src/generate/t_cpp_generator.h \
+ src/generate/t_java_generator.h \
+ src/generate/t_php_generator.h \
+ src/generate/t_py_generator.h \
+ src/generate/t_rb_generator.h \
+ src/generate/t_xsd_generator.h \
+ src/generate/t_perl_generator.h \
+ src/generate/t_ocaml_generator.h \
+ src/generate/t_erl_generator.h \
+ src/generate/t_hs_generator.h \
+ src/generate/t_cocoa_generator.h
thrift_CXXFLAGS = -Wall -Isrc $(BOOST_CPPFLAGS)
thrift_LDFLAGS = -Wall $(BOOST_LDFLAGS)
thrift_LDADD = @LEXLIB@
+EXTRA_DIST = bootstrap.sh cleanup.sh LICENSE
+
clean-local:
rm -rf thriftl.cc thrifty.cc thrifty.h
diff --git a/configure.ac b/configure.ac
index 2605478c3..8591d087a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ(2.59)
-AC_INIT([thrift], [1.0])
+AC_INIT([thrift], [20070917])
AC_CONFIG_AUX_DIR([.])
diff --git a/if/Makefile.am b/if/Makefile.am
index 2f269f176..94b8929b4 100644
--- a/if/Makefile.am
+++ b/if/Makefile.am
@@ -1,3 +1,4 @@
thrift_ifdir = $(datadir)/thrift/if
dist_thrift_if_DATA = \
reflection_limited.thrift
+EXTRA_DIST = bootstrap.sh cleanup.sh regen.sh
diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am
index 7b1f1b017..6df9ab4e8 100644
--- a/lib/cpp/Makefile.am
+++ b/lib/cpp/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I ./aclocal
+
lib_LTLIBRARIES = libthrift.la
## We only build the extra libraries if we have the dependencies,
## but we install all of the headers unconditionally.
@@ -55,6 +57,7 @@ include_thriftdir = $(includedir)/thrift
include_thrift_HEADERS = \
config.h \
src/Thrift.h \
+ src/TReflectionLocal.h \
src/reflection_limited_types.h \
src/TProcessor.h \
src/TLogging.h
@@ -73,7 +76,7 @@ include_concurrency_HEADERS = \
include_protocoldir = $(include_thriftdir)/protocol
include_protocol_HEADERS = \
src/protocol/TBinaryProtocol.h \
- src/protocol/TDenseProtocol.cpp \
+ src/protocol/TDenseProtocol.h \
src/protocol/TDebugProtocol.h \
src/protocol/TOneWayProtocol.h \
src/protocol/TProtocolException.h \
@@ -105,7 +108,7 @@ include_processor_HEADERS = \
src/processor/PeekProcessor.h \
src/processor/StatsProcessor.h
-bin_PROGRAMS = concurrency_test
+noinst_PROGRAMS = concurrency_test
concurrency_test_SOURCES = src/concurrency/test/Tests.cpp \
src/concurrency/test/ThreadFactoryTests.h \
@@ -116,3 +119,5 @@ concurrency_test_LDADD = libthrift.la
concurrency_test_CXXFLAGS = $(common_cxxflags)
concurrency_test_LDFLAGS = $(common_ldflags)
+
+EXTRA_DIST = bootstrap.sh cleanup.sh LICENSE
diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am
index 7db5c3b92..7d4743013 100644
--- a/lib/py/Makefile.am
+++ b/lib/py/Makefile.am
@@ -6,3 +6,5 @@ DESTDIR ?= /
#$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)
install-exec-hook:
$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
+
+EXTRA_DIST = bootstrap.sh cleanup.sh setup.py LICENSE src