Christopher Piro
860b8c9cfb
fix tutorial python server
...
the port in TServerSocket's constructor should be passed by keyword; the first positional param is actually the hostname
Reviewed By: dreiss
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333163 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 19:33:47 +00:00
Roger Meier
b70e04cab0
THRIFT-1586 Two small D issues
...
Patch: David Nadlinger
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1331810 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 19:20:23 +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
Roger Meier
5c85461995
THRIFT-1555 Delphi version of the tutorial code
...
Patch: Jens Geyer
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1311313 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 16:31:42 +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
Jake Farrell
2a266cb595
Thrift-1428: shared.thrft does not include namespace for php, so thrift compiler generate incorrect name
...
Client: test
Patch: Ruslan Shevchenko
shared.thrft does not include namespace for php, so thrift compiler generate incorrect name
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202653 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:12:37 +00:00
Anthony F. Molinaro
a653067e8c
THRIFT-1227 - erlang implementation of thrift json protocol
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1172199 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 04:57:50 +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
Jake Farrell
9623fc5476
updating java tutorial readme
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1150692 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 13:22:14 +00:00
Roger Meier
5fc6973bdf
THRIFT-1133 Java and JavaScript tutorial is broken since we have Java maven deployment
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090454 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 21:28:50 +00:00
Roger Meier
3f067a86eb
THRIFT-1084 Typo fixes
...
Patch: Bruce Mitchener
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1077939 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 13:35:05 +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
Anthony F. Molinaro
f8bf0d69c5
add a little README
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1071150 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 06:00:10 +00:00
Anthony F. Molinaro
10a8743f6a
Fix the erlang tutorial
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1071148 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 05:54:17 +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
Roger Meier
5aaa02166e
change URL's to TLP
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1030901 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 12:20:05 +00:00
Roger Meier
e5e50dec48
THRIFT-893 JavaScript Tutorial: dynamic part
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1030018 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 12:36:52 +00:00
Roger Meier
b942d57a79
THRIFT-969 Java Tutorial broken, move CalculatorHandler to a separate file
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1028079 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 19:39:56 +00:00
Bryan Duxbury
1b13083def
THRIFT-106. java: TSSLServerSocket
...
This patch adds support for SSL-encrypted client and server sockets.
Patch: Nirmal Ranganathan
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1024328 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 17:20:57 +00:00
Roger Meier
f04cfca797
THRIFT-893 add JavaScript to the tutorial example (html only)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1023077 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 19:24:32 +00:00
Todd Lipcon
4abfb288ab
THRIFT-890. java: Add README missing from previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001970 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 00:01:31 +00:00
Todd Lipcon
515c2381b7
THRIFT-890. java: Fix tutorial to build and run in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001856 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 18:26:07 +00:00
Bryan Duxbury
833ae49290
THRIFT-920. cpp: C++ Test and Tutorial does not compile anymore due to the change within Enum handling
...
Patch: Roger Meier and Christian Lavoie
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001826 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 17:26:02 +00:00
Bryan Duxbury
96b2ccc0d4
THRIFT-881. csharp: add csharp to the tutorial
...
This patch adds a tutorial for CSharp. It also moves the 'test' client and server into the tutorial, because they were not being used by the tests.
Patch: Roger Meier
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1000953 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 16:47:59 +00:00
David Reiss
3f660a4266
erlang: Client refactor, part 1
...
- Client is no longer a separate process.
- Simplified constructors moved into another module.
- All functions and exceptions return the new client,
to allow for future statefulness in the client.
NOTE: With the new library and old gen-code, attempting to call a
nonexistent function will result in an exit.
TODO: fix docs and tests (tether test is not meaningful)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990979 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 22:05:29 +00:00
David Reiss
f32d0fb900
Rollback a few recent Erlang changes to fix blame data
...
My combined patch for THRIFT-599 was committed, but it is preferable
commit the individual patches to preserve the more detailed log and
blame data. I'll recommit r987018 as a sequence of patches and r988722
as its own rev.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990957 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 22:05:00 +00:00
Bryan Duxbury
d3879f80c6
THRIFT-599. erl: Don't use unnecessary processes in the Erlang transports and clients
...
The only user-visible changes are to the client. Every thrift call now returns {NewClient, Result} instead of just Result.
Patch: David Reiss (assist to Anthony Molinaro)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@987018 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 05:06:02 +00:00
Bryan Duxbury
23f2348fae
add ASL to a handful of files
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@980145 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 18:23:22 +00:00
David Reiss
68f8c389bd
THRIFT-560. haskell: Add tutorial
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@898015 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:13:18 +00:00
David Reiss
7834ccbdac
THRIFT-592. php: Make the tutorial work properly after r815878
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@888929 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 19:29:48 +00:00
T Jake Luciani
0c5c234b58
THRIFT-619: Perl server and example
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@835206 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 03:01:33 +00:00
Bryan Duxbury
b7b8af9e61
THRIFT-486. rb: ruby tutorial needs updated require statements
...
Fixed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@771969 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 18:59:49 +00:00
Bryan Duxbury
def30a6072
THRIFT-387. Add appropriate Apache header to all code files
...
This hits all the documentation and some misc code files that have avoided the license up to this point.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@763048 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 00:19:37 +00:00
Bryan Duxbury
07f38ff531
THRIFT-430. rb: ruby tutorials and ruby tests require deprecated files and class names
...
This patch cleans all this up.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@762618 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 04:37:28 +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
f33c7c670b
cpp: Eliminate a buffer overflow in the tutorial server
...
Negative numbers can have 11 characters :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@758529 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 06:15:26 +00:00
David Reiss
755c8156e8
THRIFT-405. php: Create a tutorial server
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@758528 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 06:15:05 +00:00
David Reiss
4438ca5759
Fix the arguments in tutorial/README
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@758525 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 06:14:17 +00:00
David Reiss
d1c8682558
Update tutorial/README now that Thrift files don't support shebang
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@758453 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 22:15:18 +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
David Reiss
c51986f438
THRIFT-136. s/async/oneway/ in comments
...
This is an internal-only change.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757990 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 20:01:25 +00:00
David Reiss
e0a11c44ab
Make .thrift files non-executable since we removed the shebangs
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@753610 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 07:37:28 +00:00
David Reiss
b139f64448
THRIFT-325. Remove a bunch of uses of the old command line format
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745242 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 20:28:46 +00:00
David Reiss
554ea6f936
Make the PHP generator use non-hardcoded namespaces.
...
- Make the PHP generator use program->get_namespace("php")
instead of program->get_php_namespace()
- Eliminate the explicit "php_namespace" in t_program.
- Deprecate the php_namespace token.
- Update example .thrift files and syntax files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745241 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 20:28:37 +00:00
Bryan Duxbury
7003f876ed
THRIFT-299. doc: binary type isn't documented nor demonstrated in the tutorial
...
The existence of the "binary" type is now documented in the relevant places.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739702 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 06:21:13 +00:00
T Jake Luciani
b5e6221eb5
THRIFT-270: change cpp namespaces from facebook::thrift to apache::thrift
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739644 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 22:36:20 +00:00
David Reiss
8bb593e69a
THRIFT-284. python: Update tutorial files to use repr
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@737424 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 19:37:41 +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
T Jake Luciani
41687fc6cf
THRIFT-193: Patch for proper namespace support in perl compiler
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@728863 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 03:45:43 +00:00
David Reiss
5ff21a4df6
THRIFT-85. Include an example of an optional field in tutorial.thrift
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@679501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 19:13:54 +00:00