[jira] [Updated] (THRIFT-1597) TJSONProtocol.php is missing from Makefile.am

2012-05-07 Thread Andrew Grumet (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grumet updated THRIFT-1597:
--

Attachment: THRIFT-1597.patch

> TJSONProtocol.php is missing from Makefile.am
> -
>
> Key: THRIFT-1597
> URL: https://issues.apache.org/jira/browse/THRIFT-1597
> Project: Thrift
>  Issue Type: Bug
>  Components: PHP - Library
>Affects Versions: 0.8
>Reporter: Andrew Grumet
> Fix For: 0.9
>
> Attachments: THRIFT-1597.patch
>
>
> TJSONProtocol.php, added in THRIFT-1478, doesn't get installed with the rest 
> of the library files on a make install.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (THRIFT-1597) TJSONProtocol.php is missing from Makefile.am

2012-05-07 Thread Andrew Grumet (JIRA)
Andrew Grumet created THRIFT-1597:
-

 Summary: TJSONProtocol.php is missing from Makefile.am
 Key: THRIFT-1597
 URL: https://issues.apache.org/jira/browse/THRIFT-1597
 Project: Thrift
  Issue Type: Bug
  Components: PHP - Library
Affects Versions: 0.8
Reporter: Andrew Grumet
 Fix For: 0.9


TJSONProtocol.php, added in THRIFT-1478, doesn't get installed with the rest of 
the library files on a make install.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Build failed in Jenkins: Thrift-Debian-Packages #224

2012-05-07 Thread Apache Jenkins Server
See 

Changes:

[cpiro] fix TApplicationException not imported in Python gencode

used unconditionally in the generated code. "from thrift.Thrift import *" 
included it before r1169492 but not since.

Reviewed By: dreiss

--
[...truncated 848 lines...]
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TimerManager.lo -MD -MP -MF 
.deps/TimerManager.Tpo -c src/thrift/concurrency/TimerManager.cpp  -fPIC -DPIC 
-o .libs/TimerManager.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TimerManager.lo -MD -MP -MF 
.deps/TimerManager.Tpo -c src/thrift/concurrency/TimerManager.cpp -o 
TimerManager.o >/dev/null 2>&1
mv -f .deps/TimerManager.Tpo .deps/TimerManager.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..  -I/include/boost-0 -I./src -I./src/thrift  -Wall -g -O2 -MT Util.lo 
-MD -MP -MF .deps/Util.Tpo -c -o Util.lo `test -f 
'src/thrift/concurrency/Util.cpp' || echo './'`src/thrift/concurrency/Util.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT Util.lo -MD -MP -MF .deps/Util.Tpo -c 
src/thrift/concurrency/Util.cpp  -fPIC -DPIC -o .libs/Util.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT Util.lo -MD -MP -MF .deps/Util.Tpo -c 
src/thrift/concurrency/Util.cpp -o Util.o >/dev/null 2>&1
mv -f .deps/Util.Tpo .deps/Util.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..  -I/include/boost-0 -I./src -I./src/thrift  -Wall -g -O2 -MT 
TDebugProtocol.lo -MD -MP -MF .deps/TDebugProtocol.Tpo -c -o TDebugProtocol.lo 
`test -f 'src/thrift/protocol/TDebugProtocol.cpp' || echo 
'./'`src/thrift/protocol/TDebugProtocol.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TDebugProtocol.lo -MD -MP -MF 
.deps/TDebugProtocol.Tpo -c src/thrift/protocol/TDebugProtocol.cpp  -fPIC -DPIC 
-o .libs/TDebugProtocol.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TDebugProtocol.lo -MD -MP -MF 
.deps/TDebugProtocol.Tpo -c src/thrift/protocol/TDebugProtocol.cpp -o 
TDebugProtocol.o >/dev/null 2>&1
mv -f .deps/TDebugProtocol.Tpo .deps/TDebugProtocol.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..  -I/include/boost-0 -I./src -I./src/thrift  -Wall -g -O2 -MT 
TDenseProtocol.lo -MD -MP -MF .deps/TDenseProtocol.Tpo -c -o TDenseProtocol.lo 
`test -f 'src/thrift/protocol/TDenseProtocol.cpp' || echo 
'./'`src/thrift/protocol/TDenseProtocol.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TDenseProtocol.lo -MD -MP -MF 
.deps/TDenseProtocol.Tpo -c src/thrift/protocol/TDenseProtocol.cpp  -fPIC -DPIC 
-o .libs/TDenseProtocol.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TDenseProtocol.lo -MD -MP -MF 
.deps/TDenseProtocol.Tpo -c src/thrift/protocol/TDenseProtocol.cpp -o 
TDenseProtocol.o >/dev/null 2>&1
mv -f .deps/TDenseProtocol.Tpo .deps/TDenseProtocol.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..  -I/include/boost-0 -I./src -I./src/thrift  -Wall -g -O2 -MT 
TJSONProtocol.lo -MD -MP -MF .deps/TJSONProtocol.Tpo -c -o TJSONProtocol.lo 
`test -f 'src/thrift/protocol/TJSONProtocol.cpp' || echo 
'./'`src/thrift/protocol/TJSONProtocol.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TJSONProtocol.lo -MD -MP -MF 
.deps/TJSONProtocol.Tpo -c src/thrift/protocol/TJSONProtocol.cpp  -fPIC -DPIC 
-o .libs/TJSONProtocol.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TJSONProtocol.lo -MD -MP -MF 
.deps/TJSONProtocol.Tpo -c src/thrift/protocol/TJSONProtocol.cpp -o 
TJSONProtocol.o >/dev/null 2>&1
mv -f .deps/TJSONProtocol.Tpo .deps/TJSONProtocol.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..  -I/include/boost-0 -I./src -I./src/thrift  -Wall -g -O2 -MT 
TBase64Utils.lo -MD -MP -MF .deps/TBase64Utils.Tpo -c -o TBase64Utils.lo `test 
-f 'src/thrift/protocol/TBase64Utils.cpp' || echo 
'./'`src/thrift/protocol/TBase64Utils.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TBase64Utils.lo -MD -MP -MF 
.deps/TBase64Utils.Tpo -c src/thrift/protocol/TBase64Utils.cpp  -fPIC -DPIC -o 
.libs/TBase64Utils.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/include/boost-0 -I./src 
-I./src/thrift -Wall -g -O2 -MT TBase64Utils.lo -MD -MP -MF 
.deps/TBase64Utils.Tpo -c src/thri

Build failed in Jenkins: Thrift #457

2012-05-07 Thread Apache Jenkins Server
See 

Changes:

[cpiro] fix TApplicationException not imported in Python gencode

used unconditionally in the generated code. "from thrift.Thrift import *" 
included it before r1169492 but not since.

Reviewed By: dreiss

--
[...truncated 3656 lines...]
testNestedMixedx2 (__main__.AcceleratedBinaryTest) ... ok
testBools (__main__.CompactProtocolTest) ... ok
testSerializeV1 (__main__.AcceleratedBinaryTest) ... ok
testSerializeV2 (__main__.AcceleratedBinaryTest) ... ok
testCompactStruct (__main__.CompactProtocolTest) ... ok
testBackwards (__main__.CompactProtocolTest) ... ok
testBools (__main__.CompactProtocolTest) ... ok
testCompactStruct (__main__.CompactProtocolTest) ... ok
testForwards (__main__.CompactProtocolTest) ... ok
testLargeDeltas (__main__.CompactProtocolTest) ... ok
testForwards (__main__.CompactProtocolTest) ... ok
testLargeDeltas (__main__.CompactProtocolTest) ... ok
testListBonks (__main__.CompactProtocolTest) ... ok
testNestedListsBonk (__main__.CompactProtocolTest) ... ok
testNestedListsI32x2 (__main__.CompactProtocolTest) ... ok
testListBonks (__main__.CompactProtocolTest) ... ok
testNestedListsI32x3 (__main__.CompactProtocolTest) ... ok
testNestedListsBonk (__main__.CompactProtocolTest) ... ok
testNestedMixedx2 (__main__.CompactProtocolTest) ... ok
testNestedListsI32x2 (__main__.CompactProtocolTest) ... ok
testNestedListsI32x3 (__main__.CompactProtocolTest) ... ok
testNestedMixedx2 (__main__.CompactProtocolTest) ... ok
testSerializeV1 (__main__.CompactProtocolTest) ... ok
testSerializeV2 (__main__.CompactProtocolTest) ... ok
Test FramedTransport and BinaryProtocolAccelerated ... ok
testSerializeThenDeserialize (__main__.SerializersTest) ... ok
testSerializeV1 (__main__.CompactProtocolTest) ... ok
testSerializeV2 (__main__.CompactProtocolTest) ... ok
Test FramedTransport and BinaryProtocolAccelerated ... ok
testSerializeThenDeserialize (__main__.SerializersTest) ... ok

--
Ran 38 tests in 0.020s

OK
ok

--
Ran 38 tests in 0.020s

OK
Test that TBinaryProtocolAccelerated throws an EOFError when it reaches the end 
of the stream ... ok
Test that TBinaryProtocol throws an EOFError when it reaches the end of the 
stream ... Test that TBinaryProtocolAccelerated throws an EOFError when it 
reaches the end of the stream ... ok
Test that TCompactProtocol throws an EOFError when it reaches the end of the 
stream ... ok
Test that TBinaryProtocol throws an EOFError when it reaches the end of the 
stream ... ok
Test that readAll on any type of transport throws an EOFError ... ok

--
Ran 4 tests in 0.003s

OK
ok
Test that TCompactProtocol throws an EOFError when it reaches the end of the 
stream ... ok
Test that readAll on any type of transport throws an EOFError ... ok

--
Ran 4 tests in 0.003s

OK
testConnectTimeout (__main__.TimeoutTest) ... testConnectTimeout 
(__main__.TimeoutTest) ... ok
testWriteTimeout (__main__.TimeoutTest) ... ok
testWriteTimeout (__main__.TimeoutTest) ... ok

--
Ran 2 tests in 0.033s

OK
ok

--
Ran 2 tests in 0.033s

OK
E.
==
ERROR: testByte (__main__.AcceleratedBinaryTest)
--
Traceback (most recent call last):
  File "./TestClient.py", line 84, in setUp
self.transport.open()
  File 
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line 
149, in open
return self.__trans.open()
  File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py", 
line 99, in open
message=message)
TTransportException: Could not connect to localhost:9090

==
ERROR: testDouble (__main__.AcceleratedBinaryTest)
--
Traceback (most recent call last):
  File "./TestClient.py", line 84, in setUp
self.transport.open()
  File 
"../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TTransport.py", line 
149, in open
return self.__trans.open()
  File "../../lib/py/build/lib.linux-x86_64-2.6/thrift/transport/TSocket.py", 
line 99, in open
message=message)
TTransportException: Could not connect to localhost:9090

==
ERROR: testEnum (__main__.AcceleratedBinaryTest)
--
Traceback (most recent call last):
  File "./TestClient.py", line 84, in setU

[jira] [Commented] (THRIFT-1574) Apache project branding requirements: DOAP file [PATCH]

2012-05-07 Thread Jake Farrell (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270099#comment-13270099
 ] 

Jake Farrell commented on THRIFT-1574:
--

I think this should be moved into the website dir as a template for automation 
so we do not have to manage the version section by hand 

> Apache project branding requirements: DOAP file [PATCH]
> ---
>
> Key: THRIFT-1574
> URL: https://issues.apache.org/jira/browse/THRIFT-1574
> Project: Thrift
>  Issue Type: Improvement
>Reporter: Shane Curcuru
>Assignee: Roger Meier
>  Labels: branding
> Attachments: doap_thrift.rdf
>
>
> Attached.  Re: http://www.apache.org/foundation/marks/pmcs
> See Also: http://projects.apache.org/create.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




thrift pull request: Trunk

2012-05-07 Thread Git at Apache
GitHub user izuk opened a pull request:

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

Trunk

Modernising the Haskell library a bit:

* Use unordered-containers instead of basic Set/Map.
* Use Text instead of String.
* Use Vector instead of [].

This could probably use some critical review.  I'm not a Haskell expert.

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

$ git pull https://github.com/izuk/thrift trunk

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

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


commit d5a6961b2ab896fe44ad85ee9c320af9758ef8c5
Author: Itai Zukerman 
Date:   2012-04-26T11:23:33-07:00

Add Hashable instances for all types.
* Hashable for Data.Map.Map and Data.Set.Set.
* Hashable for enums.
* Hashable for structs.

commit 84beb11822b5e3a43110e9e9cdb3b2badd69eaf5
Author: Itai Zukerman 
Date:   2012-04-26T11:59:19-07:00

Replace Map, Set with HashMap, HashSet.

commit 31508faf4839d47489e7df040e348e538777333c
Author: Itai Zukerman 
Date:   2012-04-25T17:28:09-07:00

Use Vector instead of plain [].

commit 8700fa0c8b652ab36544ed763832ca3500c6e516
Author: Itai Zukerman 
Date:   2012-04-25T16:00:17-07:00

Switch from String to Text in the Haskell library.
* readString, writeString now operate on Text.
* Fixed UTF8 bug (readString . writeString != id).
* Exceptions still have String messages.

commit 37527b8cdf78cb35729f42c0063cdf319fd630cf
Author: Itai Zukerman 
Date:   2012-04-26T12:13:02-07:00

Compile Haskell library with -O2 -W.
* Add Ghc-Options to cabal.
* Silence some warnings.

commit cb3cfecb3f5e5d0886a9fea22c01195d1f24f3d2
Author: Itai Zukerman 
Date:   2012-04-26T14:24:19-07:00

Add Hashable instance for Vector.

commit cfc159231b9b6398383d5a56d7879f3390e16f38
Author: Itai Zukerman 
Date:   2012-05-07T13:03:08-07:00

Switch to strict maps.
* Use Data.HashMap.Strict.
* Update README.





[jira] [Commented] (THRIFT-1514) Callbacks with newer jQuery versions don't work

2012-05-07 Thread Henrique Mendonca (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269579#comment-13269579
 ] 

Henrique Mendonca commented on THRIFT-1514:
---

hm... this is not back compatible with the legacy code (i.e. 
error(function(xhr,status,e)..., sucess(result, [call_arguments])), which is 
kind of a shame... However, it's a good simplification of the code.
Does it bother anyone else?

> Callbacks with newer jQuery versions don't work
> ---
>
> Key: THRIFT-1514
> URL: https://issues.apache.org/jira/browse/THRIFT-1514
> Project: Thrift
>  Issue Type: Bug
>  Components: JavaScript - Library
>Affects Versions: 0.9
>Reporter: Kenny
>Assignee: Andrew Grumet
>Priority: Minor
> Attachments: THRIFT-1514.patch
>
>
> When using jQuery 1.7.1 callbacks don't work. The following error is returned:
> TypeError: Object function ( selector, context ) { // The jQuery object is 
> actually just the init constructor 'enhanced' return new jQuery.fn.init( 
> selector, context, rootjQuery ); } has no method '_Deferred'
> It seems _Deferred no longer exists.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira