GitHub user oprudkyi opened a pull request:

    https://github.com/apache/thrift/pull/1045

    THRIFT-3876 haxe js/nodejs client

    - only http transport is supported 
    - testing of browser js made via phantomjs 
    - tutorial of browser js uses haxe-php web server for files delivery 
    - default implementation of haxe's HttpClient reimplemented/patched:
        - browser js implemented to support binary encoding (avoid any utf8 
conversions)
        - for nodejs implemented non-async client (via ChildProcess.spawnSync 
and it's slow) 
    - makefile for tests updated to avoid sleeps (it kills server when client 
stops) 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/oprudkyi/thrift THRIFT-3876

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1045.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1045
    
----
commit 32509306e459fb5b1c69c0f15610f06f495b3e52
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-04T21:20:59Z

    basic tests for haxe-js-node (without servers)

commit fab278ed4d21db87b9ca024708ada38661f49b2e
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-06T14:18:25Z

    tutorial for haxe-js-node client (json only)
    
    - use third-party lib https://www.npmjs.com/package/xmlhttprequest
    for emulation of XMLHttpRequest
    - use non-async call
    - php server uses json protocol via url /json

commit dbc56b8e08aac968ac60fea105a41a13d7c02359
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-06T14:21:35Z

    tutorial for haxe-js-node - fix makefile

commit 44c9b211c0fff321c4ece0acd5c69c3559e47779
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-08T12:39:25Z

    tutorial for haxe-js-browser client (json/binary)

commit 0523e36fda71095c45d56e28fe5662018d58757f
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-08T20:39:21Z

    tutorial for haxe-js-node client (supports binary)
    
    patched version of 
https://github.com/oprudkyi/node-XMLHttpRequest/tree/encoding_support is used
    to provide binary support

commit de4ffd156dfec99d87a00f05910d59335eac8f05
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-08T23:39:44Z

    tutorial for haxe-js-node client (supports binary)
    
    - reimplemented without need of third-party library
    based on 
https://github.com/oprudkyi/node-XMLHttpRequest/blob/encoding_support/lib/XMLHttpRequest.js

commit c120acb6f3e5a6b81bc429e43bf39ac4b42ed336
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-09T00:31:54Z

    tutorial for haxe-js
    
    - clearance
    - readme

commit 4cc714b96dfb80c1c4c352fbc37cc9eed11c308d
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-10T13:37:54Z

    haxe-nodejs client tests

commit ab2262a76611e40b0497085bfed342ede20d0dec
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-10T16:21:00Z

    tests for haxe-web-js
    
    - use phantomjs for tesing
    - use js.html.Uint8Array for sending (phantomjs complaints about 
ArrayBuffer)
    - improve makefile to fast stop background servers

commit a5acae7f3a08af7f8e333c56c76916ad6be5935f
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-10T16:36:33Z

    haxe-js - update docs

commit 7fba4d9409214cc8c7b2310e60ab44180a3fd186
Author: Oleksii Prudkyi <oleksii.prud...@gmail.com>
Date:   2016-07-10T16:56:51Z

    fix tabs

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to