Re: [Lazarus] Fuzzy translations ignored

2014-09-20 Thread Giuliano Colla
Il 19/09/2014 22:30, Bart ha scritto: I refactored the GraphStat form using a TListView and a TImageList. See r46256. I open a new thread, with pochecker subject because this one is becoming uncomfortably lengthy. See my comments there. Giuliano --

[Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-20 Thread Giuliano Colla
Il 19/09/2014 22:30, Bart ha scritto: I refactored the GraphStat form using a TListView and a TImageList. See r46256. Bad news! On Windows it looks fine, it would just require some ironing (next hints shows only if you click on an empty area before) but on Linux it doesn't work. Windows:

[Lazarus] Codetools vs compiler

2014-09-20 Thread patspiper
Hi, While trying to fix bug http://bugs.freepascal.org/view.php?id=26651 (for WinCE), the compiler complained with: Identifier not found GetProcessAffinityMask (in utf8process.pp). However, codetools' find declaration locates the function in fpc/rtl/win/wininc/redef.inc. Where's the catch?

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread FreeMan
On 20-09-2014 13:42, patspiper wrote: While trying to fix bug http://bugs.freepascal.org/view.php?id=26651 (for WinCE), the compiler complained with: Identifier not found GetProcessAffinityMask (in utf8process.pp). If you wanna get quick and without problem, my solution is, on

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread patspiper
On 20/09/14 14:50, FreeMan wrote: On 20-09-2014 13:42, patspiper wrote: While trying to fix bug http://bugs.freepascal.org/view.php?id=26651 (for WinCE), the compiler complained with: Identifier not found GetProcessAffinityMask (in utf8process.pp). If you wanna get quick and without problem,

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread FreeMan
On 20-09-2014 15:05, patspiper wrote: I build the WinCE cross compiler without any issue. The issue occurs only when compiling a WinCE project with lazarus svn. Do you use lazarus svn or a stable version? I wrote my system detail in my bugtracker, fpc and lazarus svn (last update)on kubuntu

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-20 Thread Felipe Monteiro de Carvalho
The Qt seams to be working fine, it just puts all icons in a very long line instead of spreading them out in the area. ListView is the hardest control to implement always =) because it has multiple styles and so many details... Felipe Monteiro On Sat, Sep 20, 2014 at 10:57 AM, Giuliano Colla

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread Mattias Gaertner
On Sat, 20 Sep 2014 13:42:44 +0300 patspiper patspi...@gmail.com wrote: Hi, While trying to fix bug http://bugs.freepascal.org/view.php?id=26651 (for WinCE), the compiler complained with: Identifier not found GetProcessAffinityMask (in utf8process.pp). However, codetools' find

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread patspiper
On 20/09/14 16:29, patspiper wrote: On 20/09/14 15:44, Mattias Gaertner wrote: On Sat, 20 Sep 2014 13:42:44 +0300 patspiper patspi...@gmail.com wrote: Hi, While trying to fix bug http://bugs.freepascal.org/view.php?id=26651 (for WinCE), the compiler complained with: Identifier not found

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-20 Thread Bart
On 9/20/14, Giuliano Colla giuliano.co...@fastwebnet.it wrote: Bad news! On Windows it looks fine, it would just require some ironing (next hints shows only if you click on an empty area before) For me this part behaves as expected (Win7). but on Linux it doesn't work. ... It would appear

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-20 Thread Bart
The restricted tab in OI only mentions Color, Columns, Font and HideSelection as possible restricted properties If this component is as broken (on non-windows) as it seems to be, ther should be far more restrictions mentioned in OI. Bart -- ___

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-20 Thread Bart
On 9/20/14, Giuliano Colla giuliano.co...@fastwebnet.it wrote: ... but on Linux it doesn't work. I moved the calling of DrawGraphs to the formś OnActivate, and now the Icons are there. Please test with r46266. Bart -- ___ Lazarus mailing list

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread patspiper
On 20/09/14 17:11, patspiper wrote: On 20/09/14 16:29, patspiper wrote: On 20/09/14 15:44, Mattias Gaertner wrote: On Sat, 20 Sep 2014 13:42:44 +0300 patspiper patspi...@gmail.com wrote: Hi, While trying to fix bug http://bugs.freepascal.org/view.php?id=26651 (for WinCE), the compiler

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread Mattias Gaertner
On Sat, 20 Sep 2014 17:11:56 +0300 patspiper patspi...@gmail.com wrote: [...] I noted as well the use of compiler directives such as {$IF defined(windows)} instead of {$IFDEF WINDOWS} in lazarus/components/lazutils/utf8process.pp. Could this be the cause? No. They are the same. Mattias

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread Mattias Gaertner
On Sat, 20 Sep 2014 19:14:31 +0300 patspiper patspi...@gmail.com wrote: [...] I guess I found the cause. The problem is 2 fold: 1- The function GetProcessAffinityMask is not defined for WinCE, as it is not defined in fpc/rtl/wince/wininc/redef.inc (as opposed to

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread patspiper
On 20/09/14 20:01, Mattias Gaertner wrote: On Sat, 20 Sep 2014 19:14:31 +0300 patspiper patspi...@gmail.com wrote: [...] I guess I found the cause. The problem is 2 fold: 1- The function GetProcessAffinityMask is not defined for WinCE, as it is not defined in fpc/rtl/wince/wininc/redef.inc

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-20 Thread Giuliano Colla
Il 20/09/2014 17:51, Bart ha scritto: On 9/20/14, Giuliano Colla giuliano.co...@fastwebnet.it wrote: ... but on Linux it doesn't work. I moved the calling of DrawGraphs to the formś OnActivate, and now the Icons are there. Please test with r46266. Now on Linux Gtk2 there's a significant

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread Mattias Gaertner
On Sat, 20 Sep 2014 20:18:19 +0300 patspiper patspi...@gmail.com wrote: [...] 1- The function GetProcessAffinityMask is not defined for WinCE, as it is not defined in fpc/rtl/wince/wininc/redef.inc (as opposed to fpc/rtl/win/wininc/redef.inc which includes GetProcessAffinityMask). Hence

[Lazarus] Hint as text over TAChart

2014-09-20 Thread Leonardo M. Ramé
Hi, I want to display the value of the point below the mouse cursor as text over the chart. The way I'm trying to implement this is by first add a TChartToolSet and DataPointHintTool, with an onHintPosition event handler to determine the point value, for example: procedure

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread patspiper
On 20/09/14 21:38, Mattias Gaertner wrote: [...] Thanks for the hint. I added the include path rtl/TargetOS/wininc for Windows targets. Although find declaration now rightly fails to locate GetProcessAffinityMask for WinCE, I am not sure how adding rtl/TargetOS/wininc without removing

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-20 Thread Giuliano Colla
Il 20/09/2014 14:44, Felipe Monteiro de Carvalho ha scritto: The Qt seams to be working fine, it just puts all icons in a very long line instead of spreading them out in the area. If it weren't that the purpose would be to show in a compact way the situation of as many translations as

[Lazarus] Hint as text over TAChart

2014-09-20 Thread Werner Pamler
Using the TDataPointHintTool is correct. It is just a little bit awkward to use... In particular you are not picking the correct event. Here's a step-by-step instruction. Code shown will be based on the financial demo which I added to TAChart recently: * Add a TChartToolset to the form *

Re: [Lazarus] Codetools vs compiler

2014-09-20 Thread Mattias Gaertner
On Sat, 20 Sep 2014 22:16:55 +0300 patspiper patspi...@gmail.com wrote: On 20/09/14 21:38, Mattias Gaertner wrote: [...] Thanks for the hint. I added the include path rtl/TargetOS/wininc for Windows targets. Although find declaration now rightly fails to locate GetProcessAffinityMask

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-20 Thread Bart
On 9/20/14, Giuliano Colla giuliano.co...@fastwebnet.it wrote: Now on Linux Gtk2 there's a significant improvement. Fine! However there's still an issue: when there are many files, and you must scroll the window, the hint shown is not related to the proper icon, but to the one which would

Re: [Lazarus] Hint as text over TAChart

2014-09-20 Thread Leonardo M. Ramé
On 20/09/14 17:08, Werner Pamler wrote: Using the TDataPointHintTool is correct. It is just a little bit awkward to use... In particular you are not picking the correct event. Here's a step-by-step instruction. Code shown will be based on the financial demo which I added to TAChart recently:

[Lazarus] TAchart frame left and top values

2014-09-20 Thread Leonardo M. Ramé
I need to draw text just at the top left corner of a chart, is there a property to allow me to know the top, left (and of course right and bottom) points of the frame containing the chart?. I attached a screenshot showing what I'm looking for. -- Leonardo M. Ramé