Bryan Duxbury
160cbe6718
THRIFT-1271. cpp: missing namespace in generated local reflection
...
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1159734 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 18:32:51 +00:00
Bryan Duxbury
235f8b5899
THRIFT-1274. compiler: fail compilation if an unexpected token is encountered
...
This patch makes the lexer throw an exception when an unexpected token is encountered, as opposed to the standard behavior of just printing it out and doing nothing.
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1159733 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 18:27:47 +00:00
Bryan Duxbury
0b7eeb5975
THRIFT-1275. cpp: always prefix namespaces with ' ::'
...
Ensures no accidental namespace clashes.
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1159729 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 18:23:39 +00:00
Roger Meier
887ff756cb
THRIFT-1276 Add thrift compiler option to suppress warnings about
...
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1159593 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 11:25:39 +00:00
Roger Meier
b6af6dbf05
(void) unused parameters to reduce compiler warnings to zero!
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1159405 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 20:31:16 +00:00
Bryan Duxbury
5fc71fd56a
THRIFT-1167. java: Java nonblocking server with more than one thread for select and handling IO
...
This patch refactors the nonblocking server hierarchy and adds in a new server that has a threaded selector pool as well as a threaded invoker pool.
Patch: Steve Jiang
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1158977 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 00:02:50 +00:00
Bryan Duxbury
c7206a4011
THRIFT-1270. compiler: add --allow-neg-keys argument to allow
...
This switch allows the user to specify explicit negative field IDs in Thrift IDL in order to avoid breaking wire protocol.
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1158967 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:17:04 +00:00
Jake Farrell
ff1c69bc1c
Updating python setup.py for deploying client to pypi
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1158869 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 19:00:33 +00:00
Jake Farrell
74362e0e8a
Thrift-1263: Updating rb client Rakefile to add suport for publishing client to rubygems.org
...
Client: Ruby
Patch: Jfarrell
Updating Rakefile to remove deprecated functions and add support for publishing to rubgems.org
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1158383 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 17:13:41 +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
Jake Farrell
c5555a2801
Removing duplicate java client properties seen during release process
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1156747 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 19:11:26 +00:00
Bryan Duxbury
dfffdd8726
THRIFT-1205. java: port server unduly fragile with arbitrary input
...
Increase the default max frame size to 16MB.
Patch: Ryan King
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1156731 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 18:54:11 +00:00
Bryan Duxbury
1121b47c09
THRIFT-169. java: Pluggable Serializers
...
THRIFT-1239. java: TupleProtocol- An extremely compact, temporary protocol
This monster commit is the combination of the two above tickets, providing a new serialization framework and the first new consumer in one go.
Patch: Armaan Sarkar
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1156728 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 18:50:58 +00:00
Roger Meier
de8d1857e8
THRIFT-1241 php namespace generation
...
realization of THRIFT-777
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1154045 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 23:08:35 +00:00
Roger Meier
013b2e5538
THRIFT-916 do not mix declarations and code
...
issue detected with -Werror
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1154040 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 22:37:16 +00:00
Roger Meier
3075ffc563
fix memoryleak detected by cppcheck
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1154039 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 22:36:07 +00:00
Roger Meier
52e751d137
THRIFT-916 remove i64 => fix build and compile without warning on CI
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1154022 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 21:23:27 +00:00
Roger Meier
edf0d1dda0
THRIFT-1249 js-test-driver support (run unittests on multiple browsers and get XML test results)
...
additonal improvements
- unit test log in XML
- fetch local copy of jslibs to build/js/lib/
- remove unused json2.js
- some lint on test.js
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153673 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 21:21:43 +00:00
Roger Meier
184281c1a1
THRIFT-916 printf %lld for 32bit platform only by using __ia64__
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153638 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 20:12:32 +00:00
Roger Meier
9e0f0743f3
THRIFT-1256 Unit Test Logging Output for CI
...
pass BOOST environment variables to the test suite arguments and create a tests.xml with the results
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153594 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 17:36:55 +00:00
Roger Meier
345ecc739a
THRIFT-690 add new ApplicationExceptions (INTERNAL_ERROR, PROTOCOL_ERROR) to the following languages: as3, c_glib, cocoa, cpp, erl, hs, js, nodejs, ocaml, perl, py, rb
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153412 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 09:49:27 +00:00
Roger Meier
c190558787
THRIFT-1184 event_base memory freeing by class TNonblockingServer
...
adds option to use existing event base
Patch: Pavlin Radoslavov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153307 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 23:37:36 +00:00
Bryan Duxbury
b342ddf00b
THRIFT-1251. java: Generated java code should indicate which fields are required and which are optional
...
Patch: Takashi Yonebayashi
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153302 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 23:10:32 +00:00
Bryan Duxbury
4e0192f660
THRIFT-1255. javame: Mismatch of method name between JavaME's lib and generated code (compareTo/compareObjects)
...
Patch: Raphael Bartement
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153295 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 22:37:16 +00:00
Bryan Duxbury
d9b32835ea
THRIFT-1253. javame: Code generated for maps is not compiling
...
Fix a casting issue.
Patch: Raphael Bartement
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153270 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 20:51:55 +00:00
Roger Meier
472f9e190c
THRIFT-1252 Segfault in Ruby deserializer
...
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153093 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 10:55:47 +00:00
Roger Meier
bb267d48e0
THRIFT-1247 JavaScript unit test with phantomjs
...
update: unit test depends on init, move testcases from test.html to test.js
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1152486 13f79535-47bb-0310-9956-ffa450edef68
2011-07-30 15:10:42 +00:00
Roger Meier
0b26725ceb
THRIFT-1247 JavaScript unit test with phantomjs
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1152373 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 21:08:04 +00:00
Roger Meier
040b12483a
THRIFT-1233 Remove unused include in generated C++ code
...
Note: revert patch and include transport/TBufferTransports.h
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1151967 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 18:49:39 +00:00
Roger Meier
3da317bda1
THRIFT-1245 C# JSON Protocol uses culture-dependant decimal separator for double
...
Patch: Nacim Rahal
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1151959 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 18:35:51 +00:00
Roger Meier
d2f8da4bb8
THRIFT-1244 using 'using' to disambiguate between functions in different bases does not conform to C++ standard and will not compile on certain compilers
...
Patch: Anatoly Fayngelerin
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1151945 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 18:04:30 +00:00
Roger Meier
285cfaa199
THRIFT-1243 TAsyncChannel callbacks (use void instead of bool)
...
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1151940 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 17:51:36 +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
a8cef6e55b
THRIFT-916 gcc warnings in c++ header files
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1147700 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 18:55:59 +00:00
Roger Meier
1e20e9f589
THRIFT-1230 C# Library -- THashSet is not marked as Serializable which makes all Thrift classes that uses it unserializable
...
Patch: Maciek Weksej
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1147643 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 14:47:48 +00:00
Roger Meier
7e056e7572
THRIFT-1222 Unhandled exception for TEvhttpServer request
...
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1147542 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 07:28:28 +00:00
Roger Meier
a35944bfe2
THRIFT-1238 Thrift JS client cannot read map of structures(TestCase)
...
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1147301 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 20:16:43 +00:00
Jake Farrell
cdbf36c608
Thrift-1233: Remove unused include in generated C++ code
...
Client: c++
Patch: Diwaker Gupta
Removing unused include of TTransportUtils.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146901 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 21:25:08 +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
Bryan Duxbury
11dfc8bb73
THRIFT-1225. php: TCompactProtocol for PHP
...
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146185 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 18:15:41 +00:00
Bryan Duxbury
54df97c507
THRIFT-1208. py: Compact protocol always reads and writes booleans as true
...
Patch: liwei
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146180 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 18:11:29 +00:00
Bryan Duxbury
b7bd5626aa
THRIFT-1177. go: Update thrift to reflect changes in Go's networking libraries
...
Patch: Aalok Shah
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146167 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 17:58:05 +00:00
Anthony F. Molinaro
6e48e98580
THRIFT-1236 - adding reconnecting client
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1145719 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 18:56:15 +00:00
Jake Farrell
6462185074
Thrift-1234: thrift --help is missing doc on py:utf8strings
...
Client:python
Patch: Eric Rannaud
Updated displayed options for python help to print py:utf8strings availability.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1145175 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 13:47:25 +00:00
Jake Farrell
fd39193aa0
THRIFT-1231: Remove bogus include
...
Client: c++
Patch: Diwaker Gupta
Removing unused import TTransportUtils.h from TAsyncChannel.h.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1144395 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 17:32:44 +00:00
Roger Meier
9659d4d3b7
add jstest.jar to .gitignore
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1144297 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:51:15 +00:00
Roger Meier
6b0d456716
THRIFT-1232 JavaScript TException should be a constructor function
...
Patch: Pascal Bach
file: 1232-Improve-Exception-handling-and-make-error-hierarchy.patch
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1144292 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:44:29 +00:00
Roger Meier
30aae0ca87
THRIFT-1217 Use evutil_socketpair instead of pipe
...
Patch: alexandre parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1144286 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:23:31 +00:00
Roger Meier
0bb3db2eed
update .gitignore
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1142335 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 22:33:32 +00:00
Roger Meier
57a45ab3d3
svn:ignore binaries
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1142177 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 08:53:05 +00:00