Re: [Lazarus] Error Compiling Lazarus: tageometry

2014-05-22 Thread Sergei Gorelkin
22.05.2014 5:44, Daniel Gaspary пишет: Hi, I am trying to compile lazarus trunk with fpc 2.7.1(Rev 27809), but the error bellow is being raised: tageometry.pas(374,85) Error: Asm: [sqrtsd mem128,xmmreg] invalid combination of opcode and operands My OS is Linux(Kubuntu 14.04), 64 bits.

Re: [Lazarus] Error Compiling Lazarus: tageometry

2014-05-22 Thread Sergei Gorelkin
22.05.2014 10:46, Sergei Gorelkin пишет: 22.05.2014 5:44, Daniel Gaspary пишет: Hi, I am trying to compile lazarus trunk with fpc 2.7.1(Rev 27809), but the error bellow is being raised: tageometry.pas(374,85) Error: Asm: [sqrtsd mem128,xmmreg] invalid combination of opcode and operands

[Lazarus] [BUG?] Re: Form in tab on Windows=Failed to create win32 control, error: 0

2014-05-22 Thread Reinier Olislagers
On 21/05/2014 15:26, Reinier Olislagers wrote: Error message: Failed to create win32 control, error: 0 : The operation completed succesfully I found that removing AlphaBlend = True in the offending form's .lfm file solves the problem. Is this expected behaviour or a Lazarus bug connected

Re: [Lazarus] How to color a field in a LazReport ?

2014-05-22 Thread Koenraad Lelong
op 10-03-14 15:33, Koenraad Lelong schreef: Hi, I'm trying to make the background of dbfield in a LazReport different. Hi, Just found out how to do this : In the report-editor there is a button 'Highlight Attributes'. I found this by chance by having my mouse stay over it for some time.

Re: [Lazarus] How to program with time in milliseconds?

2014-05-22 Thread Michael Schnell
On 05/21/2014 07:46 PM, Graeme Geldenhuys wrote: ... (This was no FUD, as the _officially_released_ (ZIP) distribution really suffers from the restriction I described. Don't be angry on me pointing this out. No pun to the good work done.) As I said, EpicTimer doesn't have a GUI dependency

Re: [Lazarus] TCoolBar improvements

2014-05-22 Thread Vojtěch Čihák
Hello,   BiDi mode for TCoolBar is on myToDo. I can also look for some optimalization, CalculateAndAlign is the most time consuming method, so I'll check if it's not called redundantly. I already started work on TControlBar but it will be pretty tricky to (almost) fully mimic Delphi behaviour.

Re: [Lazarus] How to color a field in a LazReport ?

2014-05-22 Thread Reinier Olislagers
On 22/05/2014 10:23, Koenraad Lelong wrote: op 10-03-14 15:33, Koenraad Lelong schreef: Hi, I'm trying to make the background of dbfield in a LazReport different. Just found out how to do this : In the report-editor there is a button 'Highlight Attributes'. I found this by chance by

Re: [Lazarus] TCoolBar improvements

2014-05-22 Thread Juha Manninen
On Thu, May 22, 2014 at 12:50 PM, Vojtěch Čihák vojtech.ci...@atlas.cz wrote: How can I do it? Simply by editing the wiki? I thought only Laz. developers can decide what will come to branch. Yes, there is the Submitted by others section. The wiki history shows who has added the lines. You are

Re: [Lazarus] TCoolBar improvements

2014-05-22 Thread Juha Manninen
On Thu, May 22, 2014 at 12:50 PM, Vojtěch Čihák vojtech.ci...@atlas.cz wrote: I can also look for some optimalization, CalculateAndAlign is the most time consuming method, so I'll check if it's not called redundantly. I don't think it is called redundantly but the calls to Invalidate and

Re: [Lazarus] TCoolBar improvements

2014-05-22 Thread Vojtěch Čihák
I've got one objection to AlignControls() method. It's implementation in LCL differs from Delphi. While in Delphi it comes with parameter AControl: TControl - currently aligned control, in LCL is this parameter always nil but method is triggered many times (as many controls container has).

Re: [Lazarus] [BUG?] Re: Form in tab on Windows=Failed to create win32 control, error: 0

2014-05-22 Thread Reinier Olislagers
On 22/05/2014 09:57, Reinier Olislagers wrote: On 21/05/2014 15:26, Reinier Olislagers wrote: Is this expected behaviour or a Lazarus bug connected with tabsheets? Reported with test case: http://bugs.freepascal.org/view.php?id=26206 Thanks, Reinier --

Re: [Lazarus] TCoolBar improvements

2014-05-22 Thread Mattias Gaertner
On Thu, 22 May 2014 12:36:20 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz wrote: I've got one objection to AlignControls() method. It's implementation in LCL differs from Delphi. While in Delphi it comes with parameter AControl: TControl - currently aligned control, in LCL is this parameter

Re: [Lazarus] TCoolBar improvements

2014-05-22 Thread Vojtěch Čihák
Thanks.   It maybe help in TCoolBar but I guess it will be even more useful for TControlBar.    I already edited the wiki (Merge requests / Submitted by others).   Vojtěch  __ Od: Mattias Gaertner nc-gaert...@netcologne.de Komu:

Re: [Lazarus] Error Compiling Lazarus: tageometry

2014-05-22 Thread Daniel Gaspary
On Thu, May 22, 2014 at 4:24 AM, Sergei Gorelkin sergei_gorel...@mail.ru wrote: Should be fixed in r27810. Fixed. Thank You, Sergei. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] [ANN] Brook 3.0.0 release!

2014-05-22 Thread Leonardo M . Ramé
On 2014-05-18 23:45:23 -0300, silvioprog wrote: 2014-05-15 8:45 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: On 2014-05-13 20:10:20 -0300, silvioprog wrote: The Brook team is glad to announce the release 3.0.0. This version was compiled and tested successfully with Free Pascal

[Lazarus] TFPHTTPServer and POST method with JSON content

2014-05-22 Thread JB
Hi guys, I'm trying to implement a simple server that responds to calls JSON (JSON RPC). I'm using this tutorial http://www.freepascal.org/~michael/articles/webserver1/webserver1.pdf Works well, but does not recognize POST methods sent as JSON, only recognizes when sending HTTP forms. When I

Re: [Lazarus] TFPHTTPServer and POST method with JSON content

2014-05-22 Thread JB
Hi, it seems that the bug is on Chrome and Firefox with ajax POST request http://bugs.jquery.com/ticket/13758 but as I will use with components in lazarus is working. Thanks José Benedito JBS Soluções Consulting Systems Development c josebened...@gmail.comont...@jbsolucoes.net