Commit Graph

51 Commits

Author SHA1 Message Date
jfarrell
384647d290 Version 0.12.0 2018-12-18 20:24:34 -05:00
Alex Volanis
7004a61e44 THRIFT-(1418|1507|3983|4120|4178|4259|4294): Multiple issues
Client: java

THRIFT-4294: Java Configure Fails for Ant >= 1.10
THRIFT-4259: Thrift does not compile due to Ant Maven task errors
THRIFT-4178: Java libraries missing from package when using cmake
THRIFT-3983: libthrift is deployed on central with pom packaging
             instead of jar
THRIFT-1507: Maven can't download resource from central when behind
             a proxy and won't use local repository
THRIFT-1418: Compiling Thrift from source: Class
             org.apache.tools.ant.taskdefs.ConditionTask doesn't
             support the nested "typefound" element

Refactor CMake install hook to allow using "sudo make install/fast"
which avoids the THRIFT-1507 and THRIFT-1418 issues.

New Gradle based build system for Thrift Java Library

* Add Gradle 4.4.1 Wrapper artifacts to enable builds
Using the Gradle Wrapper helps normalize the builds on all platforms
so we use a consistent build tool independent of package managers.

The Gradle build logic was partitioned into multiple specific
scripts to simplify understanding and maintenance of the build.

This is now hooked into CMake and Autoconf processing steps
and can build/test/publish to Maven. The README.md was updated
to illustrate the new build options and add some documentation
on the requirements for Maven publication.

Cleaned up the CMake files to reduce reliance on file globbing
which is known to cause confusion when multiple users contribute.

* Fix two minor issues in Javadoc and unit test

Return values were undeclared in Javadoc
Test was asserting on the wrong test object instance

* Create simple runner scripts for cross-check

Using Gradle as a java execution wrapper is too heavy.
I simplified the test client/server execution by using a
three generated scripts in the build directory direcly
callable by the cross-check test harness.

* Cleanup the remaining Ant build scripts

Pulled the Maven Ant task properties out of the Java build
since they are no longer used there.
Deleted the no longer used build.xml and build.properties
files from the Java build.
Made each Ant build own the Maven Ant task details in their
build.properties file.

* Fix the build issue with Java SSL in the ubuntu-trusty container

The latest Trusty JDK7 builds seem to have encountered this issue
because the OpenJDK removed the SunEC algorithms.

* Update the developer info as requested in review

Use the generic Apache Thrift developer list for contact information

* Add Clover Code coverage for easy access by developers

Clover plugin for Gradle was applied and configured which enables
code coverage reports to be available on demand via a command line
option. The documentation in the README.md was enhanced to give
the details of this change and how to take advantage of it.
2018-01-24 12:28:55 -05:00
James E. King, III
2590988c02 THRIFT-4417: Fix broken fb303 build, that occurred after conversion to stdcxx::shared_ptr
Patch: Stanislav Korolev

This closes #1439
2017-12-09 12:25:00 -05:00
cclauss
4bd3682c79 THRIFT-4309: Python print() function
Client: py

This closes #1339
2017-09-24 06:04:15 -07:00
Dome Geszler
177b5691b6 THRIFT-4185: (scribe ctrl counters) fix encoding in name of counter avoiding outage in monitoring
Client: fb303

This closes #1257
2017-04-27 09:53:07 -04:00
Volodymyr Gotra
b587a12a11 THRIFT-3933 Microsoft .Net Core library port and generator for this library
Client: .NET Core
Patch: Volodymyr Gotra <vgotra@gmail.com> PR #1088, with significant improvements by Jens Geyer <jensg@apache.org> PR #1149

This closes #1088
This closes #1149
2017-01-04 19:40:30 +01:00
Nobuaki Sukegawa
10308cb975 THRIFT-3596 Better conformance to PEP8
This closes #832
2016-02-04 14:28:24 +09:00
Roger Meier
71f2d8a714 THRIFT-3067 C++ cppcheck performance related warnings
Patch: Arijit Chattopadhyay <arijitnit06@gmail.com>

This closes #444
2015-04-26 17:00:04 +02:00
Konrad Grochowski
3b5dacba44 THRIFT-2849: spelling errors fixed using codespell tool
Client: All
Patch: Anatol Pomozov

This closes #281
2014-11-24 10:55:31 +01: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
0cb870bac1 Thrift-2467: Unable to build contrib/fb303 on OSX 10.9.2
Client: build
Patch: jfarrell

Updates fb303 build to use ax_cxx macros to detect and add std cflags.
2014-06-30 22:45:28 -04:00
Roger Meier
16fcad0b25 THRIFT-2407 use markdown (rename README => README.md)
Patch: Roger Meier
2014-03-19 06:47:47 +01:00
Jens Geyer
111d8f2615 Add jensg to dev list 2013-06-03 16:49:55 +02:00
Carl Yeksigian
350860fca3 Add carl to developer list 2013-06-01 22:48:52 -04:00
Jake Farrell
64924b8781 Thrift-1984: namespace collision in python
Client: py
Patch: Jake Farrell

Updates fb303 to to be package thrift_fb303.
2013-05-29 23:15:37 -04:00
Jake Farrell
60723b88ff Thrift-1715: Allow excluding libraries in fb303 configure
Client: fb303
Patch: Harsh J

Updated patch to allow for excluding all avaliable lang libraries using the
--without-<lib> configure flag. Configure output added to notify user of
result

Building C++ Library ......... : yes
Building Java Library ........ : yes
Building Python Library ...... : yes
Building PHP Library ......... : yes
2013-03-23 22:38:48 -04:00
Roger Meier
565517a16c subversion, thanks and good bye
;-r
2013-03-22 21:08:39 +01:00
Jake Farrell
6fcecd45a7 Updating Thrift trunk version to 1.0.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397293 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 20:34:25 +00:00
Jake Farrell
f5bae90076 Thrift-1326:on some platforms, #include <stdint.h> is necessary to be included in Thrift.h
Client: contrib/fb303
Patch: Jake Farrell

Adding check for needed headers to fb303 configure.ac



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339969 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 04:14:45 +00:00
Jake Farrell
eccbe4d08d THRIFT-1539:Build and distribute the fb303 python libraries along with thrift
Client: contrib/fb303 - py
Patch: Jake Farrell

Updated build file so dist egg will include project headers, will publish with py client lib to pypi as part of release process.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339967 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 03:57:07 +00:00
Jake Farrell
970c86a5f2 Thrift-1607:Incorrect file modes for several source files
Client: build
Patch: Andrew Cox

File modes of some non-script text files (e.g. .xml, .java, .cc) in the source tree include execute permissions (because these files have the svn:executable property).



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 05:41:09 +00:00
Roger Meier
49ff8b123a THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/'
To ensure there are no include path collisions the C and C++ header
include paths should include 'thrift' as the root leaf. This will
prevent having to place /usr/include/thrift into the compilers include
header search path, which might otherwise result in the compiler
accidentally picking up headers that it shouldn't.

e.g. #include <foo/bar.h> should be #include <thrift/foo/bar.h>

Change-Id: I48f2b0f549bda0fc81e85506ac857adc800b98a1

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325674 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 09:12:31 +00:00
Bryan Duxbury
4e98a258b2 THRIFT-1237. contrib: Java fb303 missing some methods
Added counters to FacebookBase.

Patch: Ionel Corneliu Gog 

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146484 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 21:17:26 +00:00
Jake Farrell
c023d90e3b Thrift-1174: Publish as3 client implementation via Maven for use by flex-mojos users
Client: as3

Adds the ability to publish the as3 client to maven central repo along side the java and fb303 libs.




git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1125511 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 19:04:13 +00:00
Jake Farrell
680114defb Thrift-1109: Deploy fb303 along side libthrift to maven repo
patch: jfarrell
client: contrib fb303 java
depends on: Thrift-363

Adding the ability to publish the fb303 java library as an artifact alongside libthrift to the apache maven repository. 



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1095218 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 21:15:17 +00:00
Roger Meier
5f9614cf9a THRIFT-916 long long becomes int64_t
Patch: Christian Lavoie



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1037500 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 16:59:05 +00:00
David Reiss
2324871334 THRIFT-928. cpp: Thrift Server Client Stats
Add the ability for Thrift servers to monitor client connections.  It is
activated by #including server/TClientInfo.h and creating 1) a
TClientInfoCallHandler passed to the processor with setEventHandler()
and 2) a TClientInforServerHandler passed to the server with
setServerEventHandler().

The result vector, showing active connections, provides client address
and the thrift call it is executing (or last executed), the time
connected, and the number of calls made since connection.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005139 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 17:10:08 +00:00
David Reiss
ca67b89959 contrib/fb303: use pure_enums in C++ for compatibility
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1002000 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 03:30:17 +00:00
Todd Lipcon
61934780c6 THRIFT-907. java: update fb303 to compile on trunk
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999520 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 18:01:43 +00:00
David Reiss
b6657f142e THRIFT-781. Install libfb303.so in the correct target lib directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@945318 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 19:13:23 +00:00
David Reiss
62a3fba792 THRIFT-470. fb303: Use a namespace in Perl gen-code
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@769653 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 04:54:24 +00:00
David Reiss
16f5cd177d THRIFT-387. Add license to a bunch of fb303 files
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760222 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 22:52:51 +00:00
David Reiss
ea2cba8ba8 THRIFT-387. Add license headers to a bunch of files
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 21:35:00 +00:00
David Reiss
cecbed81c8 THRIFT-136. s/async/oneway/ in the Thrift IDL
This is the real change.  The lexer now recognizes "oneway"
and warns on "async".  All example and test IDLs have been
updated, as have the syntax files.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757994 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 20:02:22 +00:00
Bryan Duxbury
13083d6d52 THRIFT-294. Remove @author tags
They're gone. Don't add any new ones!



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756307 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:19:46 +00:00
David Reiss
576dfdcda7 THRIFT-292. Install fb303.thrift in a more sensible location
thrift_home is the Thrift installation we are using.
We shouldn't be trying to install back into it.
Use $(prefix) instead.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741831 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 02:37:00 +00:00
David Reiss
4bec874d82 THRIFT-292. Auto-generate the Python gen-code in build.xml
r739384 deleted the generated Python code from the source tree.
With this change, it will be automatically generated when make is run.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741830 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 02:36:57 +00:00
David Reiss
cd5284c735 THRIFT-292. Auto-generate the Java gen-code in build.xml
r739384 deleted the generated Java code from the source tree.
With this change, it will be automatically generated when ant is run.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741829 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 02:36:54 +00:00
David Reiss
f6dffcdc65 THRIFT-292. Delete aclocal.m4, a generated file
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741828 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 02:36:52 +00:00
David Reiss
858519aac5 THRIFT-292. s/facebook::thrift/apache::thrift/ in contrib/fb303/cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741827 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 02:36:50 +00:00
David Reiss
f4335dfdbe THRIFT-292. Make the #includes in fb303 match the rest of Thrift
Specifically, by removing the "thrift/" prefix.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741826 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 02:36:46 +00:00
David Reiss
0b36a2d9c0 THRIFT-292. Restore fb303/FacebookBase.py
This file was deleted in r739384, but is is not generated code.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741825 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 02:36:43 +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
Greg Stein
c1eb2a71c3 THRIFT-292
Delete a number of generated artifacts. The build system should produce
these, rather than having them stored in version control.

* contrib/fb303/py/fb303/...: remove generated Python bindings

* contrib/fb303/java/FacebookService.java:
* contrib/fb303/java/fb_status.java:
* contrib/fb303/java/Constants.java:
  - remove generated Java bindings


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739384 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 19:19:45 +00:00
Bryan Duxbury
afa80ea73d THRIFT-34 Java libraries should be namespaced under org.apache.thrift, not com.facebook.thrift
Library classes and tests have been moved to the proper package and directory structure, and references to com.facebook.thrift where replaced with org.apache.thrift throughout the code. The fb303 contrib project still contains com.facebook packages.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734855 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 23:47:51 +00:00
Mark Slee
babaea2f0f THRIFT-183 let non-root issues run fb303 status commands
Reviewed By: mcslee



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@708364 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 22:45:26 +00:00
David Reiss
7c28b33194 contrib/fb303: Some changes to the build for the Scribe release
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@697294 13f79535-47bb-0310-9956-ffa450edef68
2008-09-20 00:14:01 +00:00
David Reiss
0ff213741c Delete a crazy line from fb303's build.xml.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665659 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 05:28:14 +00:00
David Reiss
99f193766f Remove some .pyc files from fb303.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665654 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 22:00:00 +00:00