Commit Graph

73 Commits

Author SHA1 Message Date
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
Randy Abernethy
5bde9f75b8 THRIFT-2970:grunt-jsdoc fails due to dependency issues
Client: JS Lib
Patch: Randy Abernethy
2015-01-31 06:19:21 -08:00
Konrad Grochowski
f9c4be80a5 line endings fix
git merge on linux can fail due to wrong line endings...
2015-01-09 11:32:26 +01:00
radekg
1d30558c8c THRIFT-2923 Initialise tpos and tstack in the Protocol constructor so writing to a protocol without a message does not fail.
This closes: #342
2015-01-04 13:55:52 +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
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
Randy Abernethy
8c16ed79c4 THRIFT-2823:grunt tests failing
Client: JS
Patch: Randy Abernethy

The lib/js/test/build.xml was copying thrift.js incorrectly.
2014-11-15 21:29:18 -08:00
Randy Abernethy
b2652300c0 THRIFT-2823: grunt jsjq test fail
Client: JS
Patch: Randy Abernethy

Node no longer supports loading thrift.js from
parent dir, moved to test/build
2014-11-15 12:02:57 -08:00
Roger Meier
275278e00c lib/js/test/test.html: fix thrift.js include 2014-10-09 01:28:31 +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
Randy Abernethy
5057b4cb5a THRIFT-2750: makes targets for get explicit
Client: Java and JavaScript Libs
Patch: Randy Abernethy

This fixes the build.xml for the Java server used to
test JavaScript. Older ants fail when get is used
with a target directory and not an explicit file name.
2014-09-30 17:34:44 -07:00
Liangliang He
5d6378f61e fix js list<map> support 2014-08-23 22:22:46 +02:00
Jens Geyer
329d59aab0 THRIFT-2576 Implement Thrift.Protocol.prototype.skip method in JavaScript library
Client: JavaScript
Patch: Hyungsul Kim

This closes #141
2014-06-19 22:11:53 +02:00
henrique
d0265c7052 THRIFT-2522 TypeScript extension for Thrift Compiler
add info and format js/README.md

    This closes #124

----
commit ada1016fdd
Author: Pascal Schweizer <pasci@hispeed.ch>
Date:   2014-03-21T16:18:59Z

    THRIFT-2522 TypeScript extension for Thrift Compiler

----
2014-05-19 19:31:09 +02:00
ra
a2e4e56598 THRIFT-2398:Improve Node Server Library
CLIENT: node
Patch: Randy Abernethy

Update node hello web example and line ending clean up.
2014-03-29 01:14:48 -07:00
Randy Abernethy
d60f9789db THRIFT-2398:Improve Node Server Library\nClient: Node\nPatch: Randy Abernethy\n\nGeneral server parameter harmonization and comments 2014-03-28 10:36:38 -07:00
Roger Meier
16fcad0b25 THRIFT-2407 use markdown (rename README => README.md)
Patch: Roger Meier
2014-03-19 06:47:47 +01:00
Roger Meier
52744eed7b THRIFT-2397 Add CORS and CSP support for JavaScript and Node.js libraries
Patch: Randy Abernethy
2014-03-12 09:38:42 +01:00
henrique
2a7dccc8a0 THRIFT-2355 Add SSL and Web Socket Support to Node and JavaScript
Patch: Randy Abernethy
2014-03-07 22:16:51 +01:00
henrique
2f51f327e3 THRIFT-2350 Add async calls to normal JavaScript
Patch: Randy Abernethy
2014-02-09 11:21:33 +01:00
henrique
a2de410531 THRIFT-2350 Add async calls to normal JavaScript
Patch: Randy Abernethy
2014-02-07 14:12:56 +01:00
henrique
5ba91f23bd THRIFT-2271 JavaScript: Support for Multiplexing Services
Patch: David Sautter
+ jslint fixes
2013-12-20 22:37:20 +01:00
Henrique Mendonça
095ddb7ff8 THRIFT-2190 Add the JavaScript thrift.js lib to the Bower registry
Client: nodejs
Patch: Randy Abernethy

plus path changes
2013-09-20 19:38:03 +02:00
henrique
452dd5b42b THRIFT-1893 HTTP/JSON server/client for node.js
Client: nodejs
Patch: Phillip Campbell
2013-08-28 11:10:09 +02:00
Roger Meier
e9248743a8 THRIFT-2120 js: Qunit URL is broken Patch: Roger Meier 2013-08-15 01:22:35 +02:00
Roger Meier
565517a16c subversion, thanks and good bye
;-r
2013-03-22 21:08:39 +01:00
Roger Meier
8ebe0d917c THRIFT-1594 Java test clients should have a return codes that reflect whether it succeeds or not.
Patch: Kamil Salas and  Roger Meier
2013-01-06 14:33:39 +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
Roger Meier
741e715e81 THRIFT-1763 jquery ajax code should send application/json content-type
Patch: Kevin Radloff
rogerr: my first git commit on Apache Thrift!
;-r
2012-12-11 21:21:00 +01:00
Jake Farrell
6fcecd45a7 Updating Thrift trunk version to 1.0.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397293 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 20:34:25 +00:00
Henrique Mendonca
6af2ec09b3 Client: JS
Extend QUnit test cases


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1390990 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 13:14:36 +00:00
Jake Farrell
970c86a5f2 Thrift-1607:Incorrect file modes for several source files
Client: build
Patch: Andrew Cox

File modes of some non-script text files (e.g. .xml, .java, .cc) in the source tree include execute permissions (because these files have the svn:executable property).



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 05:41:09 +00:00
Roger Meier
f666d07289 THRIFT-1514 Callbacks with newer jQuery versions don't work
Patch: Andrew Grumet

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332619 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 11:20:12 +00:00
Roger Meier
b661e83fab THRIFT-1277 Node.js serializes false booleans as null
Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1326371 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 15:58:43 +00:00
Roger Meier
c8d5d4d911 THRIFT-1486 Javascript manual testserver not returning content types
Patch: Andrew Grumet

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1228717 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 20:32:24 +00:00
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
Roger Meier
4f8a523fa0 THRIFT-1238 Thrift JS client cannot read map of structures
Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1167032 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:17:02 +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
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
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
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
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
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
2079bfe712 THRIFT-1214 JavaScript constructor does not accept object properties
Patch: Henrique Mendonca


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1138013 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 14:09:13 +00:00
Roger Meier
9d8e8f87ed THRIFT-1202 Malformed JSON for map<string,type> services parameters
Patch: Henrique Mendonca


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1135763 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:38:27 +00:00
Roger Meier
5860f8850e THRIFT-1176 Thrift compiler global leakage js
Patch: Dan Di Spaltro

includes updated test.html to get qunit.js with correct mime-type(IE9 complains)
Fixed by Roger Meier


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1125892 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 09:59:34 +00:00
Jake Farrell
ad6426cfd0 Thrift-1133: Java and JavaScript tutorial is broken since we have Java maven deployment
patch: jfarrell
client: js

Fixing build.xml for the js test cases to use ant-tasks.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1095454 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 16:35:20 +00:00
Roger Meier
08b309997f THRIFT-1087 Nonblocking asynchronous JS services
Patch: Henrique Mendonca


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1089637 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 21:30:53 +00:00