Commit Graph

118 Commits

Author SHA1 Message Date
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
710440f95a Add a working RPM .spec file to contrib.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666501 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 01:19:12 +00:00
David Reiss
218c11f701 Move some top-level files into more sensible directories.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666499 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 01:19:02 +00:00
David Reiss
28f298dd5d Memory-based transport rewrite.
The old implementations of the memory-based transports (TBufferedTransport,
TFramedTransport, and TMemoryBuffer) shared very little code and all worked
a bit differently.  This change unifies them all as subclasses of a single
base (TBufferBase) which handles the fast-path operations (when requests
can be satisfied by the buffer) with inline methods (that will eventually
be made nonvirtual in the template branch) and calls out to pure-virutal
methods to handle full/empty buffers.  All of the buffer-management is now
done in terms of "base and bound" pointers rather than "pos" integers.

These classes were moved to TBufferTransports.{h,cpp}.  The .h is included
in TTransportUtils for backwards compatibility.

Also added a "TShortReadTransport" to assist testing transports.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665676 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:17:36 +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
David Reiss
bbdb06eb24 Add thrift_dump.cpp to contrib.
thrift_dump is a simple program for converting data from TBinaryProtocol to
TDebugProtocol.  Throw it in contrib because it is pretty primitve.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665645 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 05:07:14 +00:00
pwyckoff
99b000b484 add fb303 to thrift contrib
Summary: Add clean version of fb303 to thrift contrib readying for open sourcing scribe

Reviewed By: dreiss

Test Plan: bootstrap.sh, make, make install on a fresh machine and then try compiling and running scribe open source version.

Revert: OK

TracCamp Project: Thrift

DiffCamp Revision: 10841


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665634 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 19:30:55 +00:00