[Lazarus] Compiling error

2012-09-26 Thread Kjow
Hi all, I can't recompile r38824M Lazarus version. This is the log: ... Compiling lazutilsstrconsts.pas Writing Resource String Table file: lazutilsstrconsts.rst C:\Develop\lazarus\components\lazutils\fileutil.inc(1494,22) Error: Identifier not found TFileStreamUTF8

Re: [Lazarus] Compiling error

2012-09-26 Thread Mattias Gaertner
Kjow antispamm...@gmail.com hat am 26. September 2012 um 08:55 geschrieben: Hi all, I can't recompile r38824M Lazarus version. The M means you have local modifications. Please revert them. It compiles here. Have compiled clean? This is the log: ... Compiling lazutilsstrconsts.pas Writing

Re: [Lazarus] Compiling error

2012-09-26 Thread Vincent Snijders
2012/9/26 Mattias Gaertner nc-gaert...@netcologne.de: This is the log: ... Compiling lazutilsstrconsts.pas Writing Resource String Table file: lazutilsstrconsts.rst C:\Develop\lazarus\components\lazutils\fileutil.inc(1494,22) Error: Identifier not found TFileStreamUTF8 There is no

Re: [Lazarus] Compiling error

2012-09-26 Thread Kjow
2012/9/26 Vincent Snijders vincent.snijd...@gmail.com: 2012/9/26 Mattias Gaertner nc-gaert...@netcologne.de: This is the log: ... Compiling lazutilsstrconsts.pas Writing Resource String Table file: lazutilsstrconsts.rst C:\Develop\lazarus\components\lazutils\fileutil.inc(1494,22) Error:

Re: [Lazarus] Compiling error

2012-09-26 Thread Vincent Snijders
2012/9/26 Kjow antispamm...@gmail.com: 2012/9/26 Vincent Snijders vincent.snijd...@gmail.com: 2012/9/26 Mattias Gaertner nc-gaert...@netcologne.de: Vincent Oops, sorry I forgot to write that I'm using: http://svn.freepascal.org/svn/lazarus/branches/fixes_1_0 Fixed. Vincent --

Re: [Lazarus] Compiling error

2012-09-26 Thread Kjow
2012/9/26 Vincent Snijders vincent.snijd...@gmail.com: 2012/9/26 Kjow antispamm...@gmail.com: 2012/9/26 Vincent Snijders vincent.snijd...@gmail.com: 2012/9/26 Mattias Gaertner nc-gaert...@netcologne.de: Vincent Oops, sorry I forgot to write that I'm using:

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread Graeme Geldenhuys
Anybody have a hint as to where I should look to fix this issue in the IDE. Isn't the editor popup window simply a TListBox with maybe some custom painting for each line? If so, when why is the scrollbar affected? Anyway, this really bugs me, and the issue existed since the start of LCL-GTK2.

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread Graeme Geldenhuys
On 2012-09-26 11:36, Martin wrote: SO it is probably TScrollBar that needs looking after? That you very much for the pointers. I'll take a look, thanks. My code editor has a black background, so the bug is very visible. Maybe if standard white background is used, the bug is less visible.

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread Mattias Gaertner
Martin laza...@mfriebe.de hat am 26. September 2012 um 12:36 geschrieben: On 26/09/2012 11:29, Graeme Geldenhuys wrote: Anybody have a hint as to where I should look to fix this issue in the IDE. Isn't the editor popup window simply a TListBox with maybe some custom painting for each line?

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread Graeme Geldenhuys
On 2012-09-26 12:22, Mattias Gaertner wrote: The TSynBaseCompletionForm paints on the form, the whole area. But the TScrollBar is not opaque, so syncompletion paints into the scrollbar. I fixed the background of items. Why is the TScrollBar not opaque? Is this a setting only for synedit, or

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread zeljko
On Wednesday 26 of September 2012 13:34:34 Graeme Geldenhuys wrote: On 2012-09-26 12:22, Mattias Gaertner wrote: The TSynBaseCompletionForm paints on the form, the whole area. But the TScrollBar is not opaque, so syncompletion paints into the scrollbar. I fixed the background of items.

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread Graeme Geldenhuys
On 2012-09-26 11:36, Martin wrote: SO it is probably TScrollBar that needs looking after? It seems you are right, and it looks like a TScrollBar bug. Very easy to reproduce. Simply place one vertical and one horizontal scrollbar on a Form. Set the Form.Color to clBlack. Poof, your

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread Mattias Gaertner
zeljko zel...@holobit.net hat am 26. September 2012 um 14:10 geschrieben: On Wednesday 26 of September 2012 13:34:34 Graeme Geldenhuys wrote: On 2012-09-26 12:22, Mattias Gaertner wrote: The TSynBaseCompletionForm paints on the form, the whole area. But the TScrollBar is not opaque, so

Re: [Lazarus] Lazarus and Ubuntu 12.10

2012-09-26 Thread Kostas Michalopoulos
It is the desktop. Lubuntu is lightweight. On Tue, Sep 25, 2012 at 7:11 PM, brian br...@meadows.pair.com wrote: On 09/25/2012 09:07 AM, Andrew Brunner wrote: Ubuntu is the high-end linux distro - as it compares to OSX and Windows 7. Meaning graphics, video performance, and bloat-ware

[Lazarus] Converting an Integer of pence into pounds

2012-09-26 Thread Richard Mace
Hi All, I am having a bit of a mind block! What would be the code to convert an Integer of pence e.g. 650 into a value of pounds e.g. 6.50 and then convert to a string value of 6.50? Thanks in advance Richard -- ___ Lazarus mailing list

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread Graeme Geldenhuys
On 2012-09-26 13:17, Mattias Gaertner wrote: Or exclude the clip rect or add csOpaque to the scrollbar controlstyle. It seems we found a bug here. TScrollbar is Opaque, but LCL-GTK2 seems to ignore that ControlStyle setting. The code from TCustomScrollbar.Create() ControlStyle :=

Re: [Lazarus] Converting an Integer of pence into pounds

2012-09-26 Thread Alexsander Rosa
You mean: *var *pence: integer; pounds: currency; strval: string; *begin* pence := 650; pounds := pence / 100.0; strval := currtostr(pounds); 2012/9/26 Richard Mace richard.m...@gmail.com Hi All, I am having a bit of a mind block! What would be the code to convert an Integer of pence e.g.

Re: [Lazarus] Converting an Integer of pence into pounds

2012-09-26 Thread Richard Mace
Alex, Thanks, that's exactly what I was trying to do! I was using pounds := pence Div 100 Cheers On 26 September 2012 13:37, Alexsander Rosa alexsander.r...@gmail.comwrote: You mean: *var *pence: integer; pounds: currency; strval: string; *begin* pence := 650; pounds := pence / 100.0;

Re: [Lazarus] Incorrect scrollbar theme in editor popup windows

2012-09-26 Thread Mattias Gaertner
Graeme Geldenhuys gra...@geldenhuys.co.uk hat am 26. September 2012 um 14:33 geschrieben: On 2012-09-26 13:17, Mattias Gaertner wrote: Or exclude the clip rect or add csOpaque to the scrollbar controlstyle. It seems we found a bug here. TScrollbar is Opaque, but LCL-GTK2 seems to ignore

Re: [Lazarus] Converting an Integer of pence into pounds

2012-09-26 Thread wildfire
- Original Message - From: Richard Mace To: Lazarus mailing list Sent: Wednesday, September 26, 2012 1:45 PM Subject: Re: [Lazarus] Converting an Integer of pence into pounds Alex, Thanks, that's exactly what I was trying to do! I was using pounds := pence Div 100

Re: [Lazarus] Cannot load libpq.so

2012-09-26 Thread Leonardo M . Ramé
On 2012-09-26 07:42:29 +0200, zeljko wrote: On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command

Re: [Lazarus] Cannot load libpq.so

2012-09-26 Thread Leonardo M . Ramé
On 2012-09-26 11:52:49 -0300, Leonardo M. Ramé wrote: On 2012-09-26 07:42:29 +0200, zeljko wrote: On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know

Re: [Lazarus] Switching projects causes Access Violation

2012-09-26 Thread Mattias Gaertner
On Tue, 25 Sep 2012 14:23:22 +0100 Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: Hi, I'm using Lazarus 1.1 LCL-GTK2 64-bit under Linux. Lazarus 1.1 r38729 FPC 2.6.0 x86_64-linux-gtk 2 Every now and again, if I switch between projects, then Lazarus IDE throws and Access

Re: [Lazarus] Defeating a screen saver

2012-09-26 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Graeme Geldenhuys wrote: On 2012-09-25 17:57, Mark Morgan Lloyd wrote: suggestion of looking at the VLC sources I see they use it which has to be a recommendation. Interesting... I was wondering what they did. :) I'll see what I can work in, but particularly

Re: [Lazarus] Switching projects causes Access Violation

2012-09-26 Thread Graeme Geldenhuys
On 2012-09-26 18:02, Mattias Gaertner wrote: Can you see a pattern? It seems to be related to Anchor Docking. After I uninstalled the two anchor docking packages (runtime designtime) the problem has not occurred again. Regards, - Graeme - --