Re: QNetworkAccessManager and KDE's KIO

2012-03-22 Thread Weng Xuetian
On Fri, Mar 23, 2012 at 6:53 AM, Albert Astals Cid wrote: > El Dimarts, 20 de març de 2012, a les 12:26:05, Weng Xuetian va escriure: >> Hi, > > Hi > >> I'm currently implementing a library that require network access, and I need >> some custom url such as "myapp://" to do oauth callback, so I cre

Re: QNetworkAccessManager and KDE's KIO

2012-03-22 Thread Albert Astals Cid
El Dimarts, 20 de març de 2012, a les 12:26:05, Weng Xuetian va escriure: > Hi, Hi > I'm currently implementing a library that require network access, and I need > some custom url such as "myapp://" to do oauth callback, so I create a > class inherits QNetworkAccessManager. > > But I found if an

Re: kioslave implementation help

2012-03-22 Thread Albert Astals Cid
El Dijous, 22 de març de 2012, a les 17:38:52, fluca1...@infinito.it va escriure: > > Do you have the listing entry in your .protocol file? > > The following is my protocol file: > > [Protocol] > DocPath=kioslave/kio_rolefs.html > exec=kio_rolefs > input=none > output=filesystem > protocol=rolef

Re: unit testing a freeze

2012-03-22 Thread Dominik Haumann
On Thursday, 22. March 2012 15:50:34 Milian Wolff wrote: > On Thursday 22 March 2012 11:08:35 Dominik Haumann wrote: > > On Thursday, March 22, 2012 10:47:18 Milian Wolff wrote: > > > Why not Zoidberg? Uhm I mean: ctest --timeout > > > > That would do the trick. Is it possible to set this timeout

Re: kioslave implementation help

2012-03-22 Thread fluca1978
> Do you have the listing entry in your .protocol file? The following is my protocol file: [Protocol] DocPath=kioslave/kio_rolefs.html exec=kio_rolefs input=none output=filesystem protocol=rolefs reading=true Icon=folder listing=Name,Type so I guess the listing entry is right. I've tried to cha

Re: unit testing a freeze

2012-03-22 Thread Dario Freddi
Il 22 marzo 2012 15:50, Milian Wolff ha scritto: > On Thursday 22 March 2012 11:08:35 Dominik Haumann wrote: >> On Thursday, March 22, 2012 10:47:18 Milian Wolff wrote: >> > Why not Zoidberg? Uhm I mean: ctest --timeout >> >> That would do the trick. Is it possible to set this timeout for a singl

Re: Uploading .diff files on reviewboard

2012-03-22 Thread Stephan Diestelhorst
On 26 February 2012 21:48, Thomas Lübking wrote: > Am 26.02.2012, 20:30 Uhr, schrieb Rahul Sharma : > > >> Hi, >> I am trying to upload my .diff file on the reviewboard through the web UI >> for reviewboard, but I am getting error. >> It always says that the file I uploaded is not .diff file even

Re: unit testing a freeze

2012-03-22 Thread Milian Wolff
On Thursday 22 March 2012 11:08:35 Dominik Haumann wrote: > On Thursday, March 22, 2012 10:47:18 Milian Wolff wrote: > > Why not Zoidberg? Uhm I mean: ctest --timeout > > That would do the trick. Is it possible to set this timeout for a single > test in CMakeLists.txt? yes: http://www.cmake.org

Re: unit testing a freeze

2012-03-22 Thread Dominik Haumann
On Thursday, March 22, 2012 10:47:18 Milian Wolff wrote: > Why not Zoidberg? Uhm I mean: ctest --timeout That would do the trick. Is it possible to set this timeout for a single test in CMakeLists.txt? On Thursday, March 22, 2012 10:33:49 Alex Fiestas wrote: > Execute the process with K/QProce

Re: unit testing a freeze

2012-03-22 Thread Milian Wolff
On Wednesday 21 March 2012 22:29:53 Dominik Haumann wrote: > Moin, > > is there a simple way to unit test a freeze? > Like if the test needs more than 5 seconds, fail? > > One way would be to create a thread, start the freeze unit test, and if the > thread does not finish in some time period, kil

Re: Re: unit testing a freeze

2012-03-22 Thread Alex Fiestas
Execute the process with K/QProcess, then try to send a unix signal to it, that might work as well though it depends on unix signals which are crappy. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: unit testing a freeze

2012-03-22 Thread Dominik Haumann
On Thursday, March 22, 2012 01:11:53 Dario Freddi wrote: > Il 21 marzo 2012 22:29, Dominik Haumann ha scritto: > > Moin, > > > > is there a simple way to unit test a freeze? > > Like if the test needs more than 5 seconds, fail? > > There's no straightforward way to check afaik and I don't really

Re: unit testing a freeze

2012-03-22 Thread Dario Freddi
Il 22 marzo 2012 07:00, Frank Reininghaus ha scritto: > Hi, > > Am 22. März 2012 01:11 schrieb Dario Freddi: >> Il 21 marzo 2012 22:29, Dominik Haumann ha scritto: >>> Moin, >>> >>> is there a simple way to unit test a freeze? >>> Like if the test needs more than 5 seconds, fail? >> >> There's no