Jake Farrell
9901069442
Updating trunk to 0.9.0 version.
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1208214 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 02:09:46 +00:00
Jake Farrell
b03a59cc5c
Thrift-1427: PHP library uses non-multibyte safe functions with mbstring function overloading
...
Client: php
Patch: Bryan Alves
Fixes issue with php overloaded mbstring to be binary-safe for strlen and substr.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1207960 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 16:45:51 +00:00
Jake Farrell
828789580b
Thrift-1421: Debian Packages can not be built
...
Removing Erlang package from debian rules and control
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1207553 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:00:10 +00:00
Jake Farrell
a1b671dba7
Thrift-1330: PHP Namespaces no longer generated
...
Client: php
Patch: Mike Riley
Fixes namespaces in PHP generator to with with php >= 5.3.x
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1206532 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 18:24:43 +00:00
Jake Farrell
a0dd75d7c8
Thrift-386: Make it possible to build the Python library without the extension
...
Client: py
Patch: Jake Farrell
patch for py lib which will attempt to build the C extension and if it fails falls back to just building the library without any extensions.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1206398 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 05:23:09 +00:00
Roger Meier
94519b3943
THRIFT-1434 Node.js Thrift compiler fails to generate server code using inheritance
...
Patch: Wade Simmons
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1205592 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 21:02:46 +00:00
Roger Meier
289cbb2e4c
THRIFT-1431 Rename 'sys' module to 'util'
...
Patch: David Worms
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1205576 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 20:44:09 +00:00
Jake Farrell
ac10256fcc
Thrift-1435: make TException.Message property conformant to the usual expectations
...
Client: delphi
Patch: Jens Geyer
Make delphi exceptions act like standard TException within other languages
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1205415 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 14:30:41 +00:00
Jake Farrell
a6c031ad41
Thrift-1432: Javascript struct constants declared in the same file as their struct definition will cause an error
...
Client: js
Patch: Mike Riley
Flips print out of constants and structs within the generator to allow for use of constants within the structs.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1204495 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 13:52:51 +00:00
Jake Farrell
e34009b76c
Thrift-1391: Improved Delphi XE test cases
...
Client: delphi
Patch: Jens Geyer
Improved TestClient:
- collects test results and reports errors
- added or completed a number of tests, like listTest, mapmapTest, multiExceptionTest and others
- exception content test also included
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202948 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 00:17:29 +00:00
Roger Meier
1b533e9177
THRIFT-1387 Build MSVC libraries with Boost Threads instead of Pthreads
...
Minor Fix: add PDB files to vcxproj files
Patch: Peace C
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202843 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:11:34 +00:00
Jake Farrell
e0c5316736
Thrift-1426: Dist package missing files for release 0.8
...
Client: build
Patch: Jake Farrell
Cleans up dist target and removes extra folders.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202686 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:58:36 +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
Bryan Duxbury
02357f29e8
THRIFT-1411. java: java generator does not provide type parameter for TBaseProcessor
...
Patch: Jake Douglas
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1201961 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 23:12:20 +00:00
Jake Farrell
e24ba11cbb
Thrift-1425:The Node package is incompatible with latest node (0.6) & npm (1.0.27)
...
Client: nodejs
Patch: David Worms
Changes web to url within bug stanza for nodejs packaging
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1201270 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 14:18:30 +00:00
Jake Farrell
29defeb6a7
Thrift-1401: JSON-protocol for Delphi XE Libraries
...
Client: delphi
Patch: Jake Farrell
Fixing windows newlines removed incorrectly.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1200551 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 21:11:46 +00:00
Jake Farrell
2727422951
Thrift-1401: JSON-protocol for Delphi XE Libraries
...
Client: delphi
Patch: Jens Geyer
Adds support for the JSON protocol to the existing Delphi XE libraries.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1200538 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 20:32:44 +00:00
Jake Farrell
8941458f72
Thrift-1424:Ruby specs fail when run with rake
...
Client: ruby
Patch: Peter Sanford
Fixes specs failing to load the spec_helper in ruby 1.9.2
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1200070 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 00:53:17 +00:00
Jake Farrell
5d85bbcabe
Thrift-1421: Debian Packages can not be built
...
Client: debian
Patch: Jake Farrell
Commenting out erlang from debian build until jsx can be fixed.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1199792 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 15:24:25 +00:00
Jake Farrell
34e1db48db
Thrift-184: Add OSGi Manifest headers to the libthrift java library to be able to use Thrift in the OSGi runtime
...
Client: java
Patch: Jake Farrell
Updated manifest to add OSGI support.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1199047 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 01:39:47 +00:00
Jake Farrell
d889d8ddfa
Removing trailing quote in java build.properties file.
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198592 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 23:40:07 +00:00
Jake Farrell
c965dda2dd
Thrift-1421: Debian Packages can not be built (ruby build fails)
...
Client: deb
Patch: Jake Farrell
Removing ruby from deb as it is now available as a gem.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198549 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 20:29:26 +00:00
Jake Farrell
9e7a88267c
Thrift-1382: Bundle install doesnot work because thrift crashes
...
Client: ruby
Fixing strlcpy header.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198543 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 19:58:32 +00:00
Jake Farrell
d5df77a906
Thrift-1382: Bundle install doesnot work because thrift crashes
...
Client: ruby
Adding header for strlcpy.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198503 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 17:43:44 +00:00
Jake Farrell
ceead00409
Thrift-1382: Bundle install doesnot work because thrift crashes
...
Client: ruby
Patch: Jake Farrell
Fixes strlcpy header include issue with ruby 1.9.x.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198394 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 16:07:45 +00:00
Jake Farrell
605c760ba6
Thrift-1251: Generated java code should indicate which fields are required and which are optional
...
Client: java
Patch: Jake Farrell
Fixes optional/required comments on fields.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198386 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 15:02:30 +00:00
Roger Meier
6f7681f91d
THRIFT-1361 revert compiler/cpp/src/thrifty.yy change
...
=> breaks mingw build
=> memleak fixes reported by cppcheck
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198347 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 12:04:28 +00:00
Roger Meier
38315786e5
THRIFT-1361 Optional replacement of pthread by boost::thread
...
Patch: Alexandre Parenteau
rev3
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198339 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 11:29:41 +00:00
Roger Meier
1b6153bdd1
THRIFT-1277 Node.js serializes false booleans as null
...
revert patch => breaks js
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198334 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 10:37:11 +00:00
Jake Farrell
28459dc9c5
Thrift-1415: delphi: add version Info to the library
...
Client: delphi
Patch: Jens Geyer
Adding versioning to delphi library
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1197957 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 13:36:27 +00:00
Jake Farrell
48bb0e2ad4
Thrift-1277: Node.js serializes false booleans as null
...
Client: js
Patch: Hans Duedal
When serializing boolean types, false booleans are serialized as null instead of false switching to using loose compare instead
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1197955 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 13:16:34 +00:00
Roger Meier
17b8469d16
THRIFT-1335: Add accept timeout to TServerSocket
...
Client: cpp
Patch: Dave Watson
FIX: add accTimout_ Initialization to DomainSocket Constructor
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1197523 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 11:55:49 +00:00
Bryan Duxbury
df971daf37
THRIFT-1420. java: Nonblocking and HsHa server should make sure to close all their socket connections when the selector exits
...
This patch makes the selector threads close out all of their open sockets before completely exiting. In testing, this appears to alleviate issues with hanging clients.
Patch: Thomas Kielbus
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1197370 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 00:23:30 +00:00
Bryan Duxbury
e7bdf70dab
THRIFT-1419. java: AbstractNonBlockingServer does not catch errors when invoking the processor
...
This patch changes the invoke() method to catch Throwables instead of just Exceptions.
Patch: Thomas Kielbus"
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1196848 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:40:01 +00:00
Roger Meier
61188a4797
THRIFT-1416 Python Unit test is broken on ci
...
remove repr from TestSuite
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1196273 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 21:03:33 +00:00
Jake Farrell
aad3d1d63e
Thrift-1409: Name conflict check does not work properly for exception object(Delphi).
...
Client: delphi
Patch: Kenjiro Fukumitsu
Delphi compiler's naming check does not work properly with exception object in the function that generates struct writer.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1195747 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 01:08:46 +00:00
Jake Farrell
601bb5e87f
THRIFT-1413: Generated code does not read MapEnd / ListEnd / SetEnd
...
Client: delphi
Patch: Jens Geyer
The generated code lacks calls to ReadMapEnd, ReadListEnd and ReadSetEnd. Although actually no problem occurs with the BinaryProtocol, other protocols (like JSON) do some important things there.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1195466 13f79535-47bb-0310-9956-ffa450edef68
2011-10-31 14:13:13 +00:00
Jake Farrell
73a921f85c
Thrift-1408: Delphi Test Server: Exception test case fails due to naming conflict with e.message
...
Client: delphi
Patch: jens Geyer
Fix name comflict with e.message
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1195461 13f79535-47bb-0310-9956-ffa450edef68
2011-10-31 14:07:14 +00:00
Jake Farrell
1290d42162
THRIFT-1407: Typo in Python socket server causes Thrift to fail when we enable a global socket timout
...
Client: py
Patch: adalc
Fixes typo in python socket server timeout
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189170 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 12:36:17 +00:00
Jake Farrell
f55f33bfba
THRIFT-1405: Delphi compiler does not generates container serializer properly
...
Client: delphi
Patch: Kenjiro Fukumitsu
Fixess a bug in the function that generates serializer of containers
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189009 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 02:40:14 +00:00
Jake Farrell
806d298042
THRIFT-1399: One of the TServerImpl.Create CTORs lacks implementation
...
Client: delphi
Patch: Jens Geyer
Adding delphi test server missing constructor.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189007 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 02:33:31 +00:00
Jake Farrell
d2b3bb4e23
THRIFT-1406: Build error after applying THRIFT-1395
...
Client: delphi
Patch: Jens Geyer
Fixes build failure due to t_delphi_generator.cc:780: error: integer constant is too
large for 'long' type
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189006 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 02:29:48 +00:00
Jake Farrell
d09362c5c7
THRIFT-1404: Delphi compiler generates struct reader code with problem.
...
Client: delphi
Patch: Kenjiro Fukumitsu
After recieved STOP,it calls additional ReadFieldEnd, which is different from the implementation of other language compiler.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189005 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 02:25:07 +00:00
Jake Farrell
0c0f651e10
Thrift-1395: Patch to prevent warnings for integer types in some cases
...
Client: delpi
Patch: Jens Geyer
Constants such as i32 = 0x80000000 produce a Delphi warning. The current code renders such values as positive integer, which needs an explicit typecast to satisfy the Delphi compiler.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1188494 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 02:20:26 +00:00
Bryan Duxbury
bcbf6d6fcd
THRIFT-1400. rb: Ruby native extension aborts with __stack_chk_fail in OSX
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1188248 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 17:29:16 +00:00
Jake Farrell
8514755daf
THRIFT-1397: CI server fails during build due to unused parameters in delphi generator
...
Client: delphi
Patch: Kenjiro Fukumitsu
Cleans up unused parameters in delphi generator.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186794 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 13:30:08 +00:00
Jake Farrell
3b54621793
Thrift-1396: Dephi generator has dependacy on boost 1.42 later.
...
Client: delphi
Patch: Kenjiro Fukumitsu
Patch to fully remove boost uuid within the delphi generator.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186603 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 02:49:48 +00:00
Jake Farrell
c92b65311c
Thrift-1390L Debian package build fix for squeeze
...
Client: build
Patch: Jake Farrell
Fix debian build deps for libmomo-system-web2.0-cil.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186602 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 02:11:02 +00:00
Roger Meier
266a6b5c11
THRIFT-1361 Optional replacement of pthread by boost::thread
...
revert boost changes
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186049 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19 09:27:01 +00:00
Roger Meier
0dab3832c7
THRIFT-1361 Optional replacement of pthread by boost::thread
...
Patch: Alexandre Parenteau
Remark: lib/cpp/src/concurrency/BoostMutex.cpp is unmodified
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185904 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 22:19:30 +00:00