Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-23 Thread Jy V
Hello Silvio,

Are you considering to use TurboPower HTTP components to implements HPACK
and HTTP/2 ?

On Sat, Jan 23, 2016 at 5:39 AM, silvioprog  wrote:

> Hello,
>
> Issue ID: #29483. [1]
>
> This patch implements the HTTP support in the TurboPower IPro component.
>
> Thank you!
>
> [1] http://bugs.freepascal.org/view.php?id=29483
>
> --
> Silvio Clécio
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Can't build fpvectorialpkg on latest SVN revision

2016-01-23 Thread Krzysztof
Revision 51386. Yesteray I could
fpvectorial.pas(3842,35) Error: Call by var for arg no. 3 has to match
exactly: Got "Double" expected "Extended";
fpvectorial.pas(3846,37) Error: Call by var for arg no. 3 has to match
exactly: Got "Double" expected "Extended"
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Raspberry PI, minor glitch.

2016-01-23 Thread Donald Ziesig

Hi Anthony (and everyone else):

I ran into a minor glitch (I saw this before, but it went away with your 
latest fix).  I don't know exactly why it went from working to not 
working, but I found out what it was doing wrong.


Lazarus was working fine through multiple re-boots, running as root and 
debugging code using h2wiringPi.  The entire system hung when I went to 
do something on the Main Menu (the Raspbian one) so I had to power down 
(pull the plug) and reboot.  When it came back this time, I started 
Lazarus and it complained about not being able to access *ppcarm* 
because it couldn't find *system.ppu* and please check*fpc.cfg*.  When 
this happened before, I found *system.ppu* where it belonged and 
*fpc.cfg* hadn't changed either).  After a bit of debugging (hacking, 
really), I found that it had changed to using*fpc-2.6.4*.  I don't know 
why but *which ppcarm* showed */usr/bin/ppcarm* which was linked to 
*2.6.4* (as was*/usr/bin/fpc*).  I changed the links to point to 
*/home//Development/FreePascal/fpc/bin/ppcarm* and Lazarus 
started working correctly again.


I had uninstalled *2.6.4* using *apt-get remove,* but that doesn't seem 
to have finished the job (manual *rm -rf* killed it for good).


I don't know what caused it to change to */usr/bin/fpc* and 
*/usr/bin/ppcarm*, but now that they are linked to the Development 
version (and *2.6.4 *is totally gone) everything is working again.


Don Ziesig
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Can't build fpvectorialpkg on latest SVN revision

2016-01-23 Thread Werner Pamler

Fixed in r51389

Am 23.01.2016 um 17:46 schrieb Krzysztof:

Revision 51386. Yesteray I could
fpvectorial.pas(3842,35) Error: Call by var for arg no. 3 has to match 
exactly: Got "Double" expected "Extended";
fpvectorial.pas(3846,37) Error: Call by var for arg no. 3 has to match 
exactly: Got "Double" expected "Extended"



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Is there tool for testing class methods speed?

2016-01-23 Thread Krzysztof
Thanks Graeme! FPProfiler, that is it!
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Can't build fpvectorialpkg on latest SVN revision

2016-01-23 Thread Krzysztof
Thanks
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Zero-byte lpi files

2016-01-23 Thread Werner Pamler
For some time now, I've been experiencing the problem that Lazarus 
sporadically writes 0-byte lpi files. Unfortunately I cannot reproduce 
this to give detailed instructions for a bug report.


I open an existing project, modify something, save, compile, modify 
again etc. Then I close Lazarus. When I come back some time later and 
try to re-open the same project, the IDE complains that "the file ... 
does not look like a lpi file". In the Windows explorer, the project's 
lpi file has a length of zero bytes. Fortunately, the backup file is 
still there which I can rename back to lpi to restore the project. But 
this is really annoying. Sometimes it also happens with new projects 
after the first save - and then there is no backup file yet...


Yesterday I had the case that almost every second save destroyed the 
lpi, today it's better.

I am using Laz trunk/fpc 3.0 on Win7.

Has anybody else seen this issue? Or is there anything which I do wrong?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Zero-byte lpi files

2016-01-23 Thread Ondrej Pokorny

On 23.01.2016 22:07, Werner Pamler wrote:
For some time now, I've been experiencing the problem that Lazarus 
sporadically writes 0-byte lpi files. Unfortunately I cannot reproduce 
this to give detailed instructions for a bug report.


I open an existing project, modify something, save, compile, modify 
again etc. Then I close Lazarus. When I come back some time later and 
try to re-open the same project, the IDE complains that "the file ... 
does not look like a lpi file". In the Windows explorer, the project's 
lpi file has a length of zero bytes. Fortunately, the backup file is 
still there which I can rename back to lpi to restore the project. But 
this is really annoying. Sometimes it also happens with new projects 
after the first save - and then there is no backup file yet...


Yesterday I had the case that almost every second save destroyed the 
lpi, today it's better.

I am using Laz trunk/fpc 3.0 on Win7.

Has anybody else seen this issue? Or is there anything which I do wrong?


It should be fixed in trunk: http://bugs.freepascal.org/view.php?id=29462

Ondrej

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Raspberry PI, minor glitch.

2016-01-23 Thread Anthony Walter
In "Tools > Options" check that "Environment > Compiler Executable" points
to the full fpc path. Also make sure you launch Lazarus using
"lazarus.desktop" file and you're not just double clicking on the lazarus
executable file in the lazarus folder. Use "ls" in a terminal to see the
actual file names like "lazarus.desktop". Desktop files in Gnome are
somewhat equivalent to Windows shortcut files. Use "cat" to view them or
"nano" to edit them from the command line (they're ini file like).
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus