David Soria Parra
496454a4b0
THRIFT-3514: Add PHP 7 version of php_thrift_protocol
...
This is an initial port of php_thrift_protocol to PHP7. However as
we deal with zval's all over the place, we opt for separating
the C files completely leading to some overhead. However this
is a good start to see the differences in the implementation. From
there we should follow up with a more unified approach by refactoring
parts of the zval handling to be more generic so we can plug it
into PHP 7 and PHP 5 extensions.
Tested this by running with TestClient.php against a CPP server
and using TBinaryProtocolAccelerated.
2016-01-07 20:40:07 +01:00
Atsushi Takayama
aede97523d
THRIFT-3318 PHP: SimpleJSONProtocol Implementation
...
Client: PHP
Patch: Atsushi Takayama
This closes #602
2015-12-02 02:03:53 +09:00
Roger Meier
a43063caac
THRIFT-3451 thrift_protocol PHP extension missing config.m4 file
...
This closes #718
2015-11-28 13:41:30 +01:00
Maxime Mouial
622ef03f1b
THRIFT-3309: Missing TConstant.php in /lib/php/Makefile.am
...
The file lib/php/lib/Thrift/Type/TConstant.php is missing from the php
Makefile. Therefore "make install" don't copy the TConstant.php file.
This closes #689
2015-11-14 11:04:01 +01:00
Phongphan Phuttha
90ea4f64c1
THRIFT-2779: Always write unescaped JSON unicode string.
...
Client: PHP
Patch: Phongphan Phuttha
This closes #666
2015-11-11 00:32:55 +09:00
Stig Bakken
d6ca81b2cc
PHP Compiler: always cast scalar types in jsonSerialize()
2015-10-29 23:01:37 +02:00
jfarrell
f13e431bab
THRIFT-3305: Missing dist files for 0.9.3 release candidate
...
Client: build
Patch: jfarrell
Adds missing files to dist
2015-08-25 00:39:29 -04:00
Nobuaki Sukegawa
113b638790
THRIFT-3148 Markdown links to coding_standards are dead
...
This closes #491
2015-05-13 21:40:26 +02:00
Jens Geyer
89cffc6f76
THRIFT-3126 PHP JSON serializer converts empty or int-indexed maps to lists
...
Client: php/test/Test/Thrift/JsonSerialize/JsonSerializeTest.php
Patch: Stig Bakken <stig@zedge.net>
This closes #479
2015-05-05 21:10:50 +02:00
Konrad Grochowski
3bc6424c76
THRIFT-2724 - Coding standards template added all over project
...
Client: All
Patch: Konrad Grochowski
This closes #371
2015-02-05 12:15:19 +01:00
Jens Geyer
8bcfdd98ae
THRIFT-2886 Integrate binary type in standard Thrift cross test
...
Client: C_glib, C++, D, Erlang, Go, Haskell, Lua, Java/Me, JavaScript, Node, Ocaml, Perl, PHP, Python, Ruby
Patch: Jens Geyer
This closes #341
Minimal server-side implementations and TODO stubs for various languages to let "make check" succeeed.
Not contained in this patch and still TODO:
- client side implementations, i.e. calls to testBinary() and appropriate tests
- server side hex printout missing for some languages
2015-01-03 17:37:54 +01:00
Jens Geyer
4991574b5e
THRIFT-2884 Map does not serialize correctly for JSON protocol in Go library
...
Reverted commit 0a378709ab
See JIRA for details
2014-12-13 23:48:33 +01:00
Jens Geyer
119869a204
THRIFT-2779 PHP TJSONProtocol encode unicode into UCS-4LE which can't be parsed by other langurage bindings
...
Client: PHP
Patch: Liangliang He <lliang.he@gmail.com>
This closes #313
This closes #244
2014-12-10 20:54:14 +01: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
Roger Thomas
6fb5923711
THRIFT-2807 PHP CS Fix
...
This closes #252
Patch: Roger Thomas
2014-11-16 22:41:20 +01:00
Roger Meier
964082a8eb
THRIFT-2712 PHP: add "json" option to create JsonSerializable code
...
This patch adds a "json" option to PHP code generation that will
make generated classes implement JsonSerializable, so thrift
objects may be converted to json using json_encode() easily.
If the "validate" option is enabled, the object's write validator
will be called, beyond that the jsonSerialize() method only outputs
non-null fields in the JSON object (JSON parsers get grumpy if you
send them null where they expect to see a number).
Patch: Stig Bakken
Github Pull Request: This closes #219
2014-10-08 23:41:18 +02: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
Jens Geyer
eb393ac3cd
THRIFT-2701 Update TCompactProtocol.php
...
Client: PHP
Patch: GitHub-User anjz <anartzn@gmail.com>
This closes #212
Removed `strrev` from `readDouble` and `writeDouble` functions. I found problems reading a double that was generated with the python library.
2014-09-29 22:47:44 +02:00
Jens Geyer
a86886e77d
THRIFT-2704 - compiler: T_ONEWAY type used for oneway methods instead of T_CALL
...
Patch: Konrad Grochowski
This closes #216
2014-09-17 22:36:00 +02:00
Roger Meier
db8751b1bc
THRIFT-2673 PHP: generated Service_method_result code should not have validators
...
Patch: Stig Bakken
2014-09-01 21:58:07 +02:00
Roger Meier
6aacd4cc71
THRIFT-2394 TCurlClient: an HTTP transport implementation using libcurl
...
Client: PHP
Patch: Oran Kelly
2014-07-26 00:19:02 +02:00
Jens Geyer
577f407df9
THRIFT-2632 add "validate" option to generate read/write validation code
...
Client: PHP
Patch: Stig Bakken & Jens Geyer
Modifications made to the original pull request:
- moved TestValidators.* to lib/php/test
- created new TestValidators.thrift to house the UnionOfStrings union
- modified makefiles accordingly
This closes #159
2014-07-25 00:13:27 +02:00
jfarrell
30a472e04f
THRIFT-2602: Fix missing dist files
...
Client: build process
Patch: jfarrell
Add check for php extension to not build if phpize has not been run,
update Vagrantfile to update package list for haskell test deps, and
change bison min version to 2.4 to work with the current versions of
debian, ubuntu and centos.
2014-07-10 18:42:30 -04:00
jfarrell
4c8506e30d
Thrift-2602:Fix missing dist files
...
Client: build process
Patch: jfarrell
Introduced a bug in 8fd8c63
adding gen files to the dist, removing those
files from the EXTRA_DIST.
2014-07-10 14:17:49 -04:00
jfarrell
8fd8c6366d
THRIFT-2602:Fix missing dist files
...
Client: build process
Patch: jfarrell
Add all missing files to the dist package.
2014-07-10 09:14:51 -04:00
Roger Meier
f9fbda8f42
THRIFT-1926 PHP Constant Generation Refactoring
...
remove author tag
2014-07-06 12:33:38 +02:00
Jens Geyer
bc2ca4e5d7
THRIFT-1926 PHP Constant Generation Refactoring
...
Client: PHP
Patch: Xavier HAUSHERR
2014-07-04 21:45:55 +02:00
Jens Geyer
6d1a83aa48
THRIFT-2506 Update TProtocolException error codes to be used consistently throughout the library
...
Patch: Jens Geyer
2014-05-03 00:49:05 +02:00
jfarrell
26c68ea149
THRIFT-1908: Using php thrift_protocol accelerated transfer causes core dump
...
Client: php
Patch: Tyler Hobbs
Reverts THRIFT-1453 to fix issue with coe dumps seen in the php lib.
2014-04-11 00:15:16 -04:00
Jens Geyer
8001421b88
THRIFT-2434 Missing namespace import for php TMultiplexedProcessor implementation
...
Patch: Mauro Maggi
2014-04-01 21:24:27 +02:00
Jens Geyer
d21032ad40
THRIFT-2439 Bug in TProtocolDecorator Class causes parsing errors
...
Patch: Gianluca Bargelli
2014-03-31 19:21:27 +02:00
Jens Geyer
e8ca73f62f
THRIFT-2425 PHP: Server-side support for Multiplexing Services
...
Patch: Aldo Armiento
2014-03-24 21:41:12 +02: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
199833807f
THRIFT-1579 PHP Extension - function thrift_protocol_read_binary not working from TBinarySerializer::deserialize
...
Patch: Tobias Heintz
2014-02-22 17:34:29 +01:00
Jens Geyer
8c1779d671
THRIFT-2359 TBufferedTransport doesn't clear it's buffer on a failed flush call
...
Patch: Chris Trotman
2014-02-18 21:55:43 +01:00
Roger Meier
47b89b9584
THRIFT-2351 PHP TCompactProtocol has fails to decode messages
...
Patch: Paul Banks
2014-02-11 21:28:56 +01:00
Jens Geyer
b3e784994a
THRIFT-2310 PHP Client-side support for Multiplexing Services (Patch v1 ONLY)
...
Patch: Alexander Elyseev
2014-01-30 23:34:09 +01:00
Jens Geyer
7975950492
THRIFT-2285 TJsonProtocol implementation for Java/JavaMe/PHP doesn't allow a slash (/) to be escaped (\/)
...
Patch: Jens Geyer
2013-12-26 18:59:15 +01:00
jfarrell
16ff233a73
Thrift-2129: php ext missing from dist
...
Client: php
Patch: jfarrell
Adds php extension back to dist build.
2013-08-16 09:48:42 -04:00
jfarrell
102c600bbb
Thrift-2124: .o, .so, .la, .deps, .libs, gen-* files left tutorials, test and lib/cpp when making DIST
...
Client: build
Patch: jfarrell
Fixing all the missing files and dist build issues that have been ignored.
2013-08-15 21:20:19 -04:00
jfarrell
aa721610da
THRIFT-2111: typo in php readme
...
Client: php
Patch: Jeremy Thomerson
Fixes type in php readme.
2013-08-02 21:55:22 -04:00
Roger Meier
1e3c884636
THRIFT-1981 Not all PHP libraries are installed when building an installing a debian package
...
Patch: Ricky Cormier
2013-05-30 14:04:11 +02:00
jfarrell
6bdb10b592
Thrift-1942: Binary accelerated cpp extension does not use Thrift namespaces for Exceptions
...
Client: php
Patch: Tyler Hobbs
Adds namespaced TException to the accelerated php client lib.
2013-04-23 15:42:04 -05:00
Jake Farrell
de262dc77e
Thrift-1903: PHP namespaces cause binary protocols to not be used
...
Client: php
Patch: Tyler Hobbs
Resolves the issue by importing TBinaryProtocolAccelerated and checking if $this->output_ is an instance of that instead of using a static string in TProtocol.
2013-04-19 21:58:33 -04:00
Roger Meier
1f9717d192
THRIFT-1878 php: THttpClient - Add the possibility to send custom headers
...
Patch: Laurent Sarrazin
2013-03-23 16:03:38 +01:00
Roger Meier
9b2524415c
THRIFT-1861 PHP Makefile does not include TStringFuncFactory
...
Patch: Logan Owen
2013-03-22 17:05:53 +01:00
Roger Meier
87afaacb95
THRIFT-1822 PHP unit test does not work
...
Patch: Roger Meier
2013-01-06 20:10:42 +01:00
Roger Meier
0193149842
THRIFT-1801 Sync up TApplicationException codes across languages and thrift implementations
...
Patch: Andrew Cox
2012-12-22 21:31:03 +01:00
Jake Farrell
7c7a5e05ba
Thrift-1721:Dist broken due to 0.8.0 to 0.9.0 changes
...
Client: build
Patch: Jake Farrell
Fix dist build to create the 0.9.0 release
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1396880 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 00:29:11 +00:00